Commit Graph

571 Commits

Author SHA1 Message Date
SHIMODA Hiroshi
ff6bfb3473 Merge branch 'master' of github.com:piroor/treestyletab 2012-02-08 10:22:58 +09:00
Piro / SHIMODA Hiroshi
a00e0bcb0d update library 2012-02-08 03:23:10 +09:00
SHIMODA Hiroshi
f0333d5a32 hide temporary states if Tab Mix Plus or Informational Tab are available 2012-02-07 11:46:14 +09:00
Piro / SHIMODA Hiroshi
89cecd0fe2 fix missing "this" 2012-02-07 02:15:15 +09:00
Piro / SHIMODA Hiroshi
c844906cb1 handle errors in deferred tasks 2012-02-07 02:13:46 +09:00
Piro / SHIMODA Hiroshi
d6f0e5e6b3 on Nightly 13.0a1, drag and drop of the last tree from another window broke tab animations (tab animations shouldn't be processed while the window is destroying) 2012-02-05 08:24:26 +09:00
Piro / SHIMODA Hiroshi
5cbbd36fea dragging out of tree wrongly duplicated the dragged tree. now they should be duplicated if Ctrl or Command key is pressed. (but it doesn't work currently, because modifier keys are ignored on dragend event.) 2012-02-05 07:50:26 +09:00
Piro / SHIMODA Hiroshi
16f6cd7dd9 optimize: reduce use of Iterator 2012-02-05 06:31:03 +09:00
Piro / SHIMODA Hiroshi
f9daab2ae0 with Tab Mix Plus, appearance of tabs is broken on the startup 2012-02-05 04:15:21 +09:00
Piro / SHIMODA Hiroshi
d02eb93c8a use Iterator instead of forEach (for performance optimization) 2012-02-05 04:03:28 +09:00
Piro / SHIMODA Hiroshi
59444c68a6 use Iterator instead of forEach (for performance optimization) 2012-02-05 03:15:38 +09:00
Piro / SHIMODA Hiroshi
35d1bfce99 don't touch vertical containers 2012-02-05 01:02:02 +09:00
Piro / SHIMODA Hiroshi
6ab0543a32 support tab contents modified by Tab Mix Plus 2012-02-04 20:28:30 +09:00
Piro / SHIMODA Hiroshi
3aaf8bc8d7 fix drop marker in sidebar style 2012-02-04 04:36:26 +09:00
Piro / SHIMODA Hiroshi
f744f51802 * remove custom drop marker in tabs
* initTabContents always update the order of tab contents
2012-02-04 02:33:49 +09:00
SHIMODA Hiroshi
968155edb7 the sensitive area was wrongly expanded to the width of the shown tab bar 2012-02-03 19:11:56 +09:00
SHIMODA Hiroshi
dd275b4e24 Merge branch 'master' of github.com:piroor/treestyletab 2012-02-03 12:22:04 +09:00
Piro / SHIMODA Hiroshi
5ef4c9f795 don't reset position of thumbnail container inserted by informational tab 2012-02-03 05:59:32 +09:00
Piro / SHIMODA Hiroshi
6c43a67836 don't apply custom binding to tabs anymore 2012-02-03 05:27:57 +09:00
SHIMODA Hiroshi
2f1f69a16f autoscroll didn't work when the first tab was hidden. 2012-01-31 15:06:32 +09:00
Piro / SHIMODA Hiroshi
bf9f48dfdb In some cases, "Tabs on Top" was wrongly enabled when a popup window is opened. 2012-01-31 03:38:41 +09:00
Piro / SHIMODA Hiroshi
80679b2893 failed to update the size of the floating tab bar in some cases (ex. Firebug's panel) 2012-01-31 03:15:00 +09:00
Piro / SHIMODA Hiroshi
00d6ef7609 support about:newtab (update for changes introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=455553 ) 2012-01-30 23:42:40 +09:00
Piro / SHIMODA Hiroshi
ed46793caa When new tab is opened in the background, it should be notified by an animation effect. 2012-01-29 19:54:02 +09:00
Piro / SHIMODA Hiroshi
10f25fe0ef when a tree is expanded, the parent tab could be scrolled out unexpectedly. 2012-01-29 06:43:43 +09:00
Piro / SHIMODA Hiroshi
7511b03b8e failed to scroll to the expanded tree when a collapsed tree was selected 2012-01-29 06:22:04 +09:00
Piro / SHIMODA Hiroshi
95b6e0a5b9 update comment 2012-01-28 04:49:12 +09:00
Piro / SHIMODA Hiroshi
ddf539ae5f add comment 2012-01-28 04:48:21 +09:00
Piro / SHIMODA Hiroshi
43b22f1e22 When the system is too slow on TabOpen event (by Informational Tab or some addons), the tab bar failed to be scrolled to the newly opened tab. 2012-01-28 04:33:02 +09:00
Piro / SHIMODA Hiroshi
9608f76989 TreeStyleTabService.restoringTree was wrongly true if there is any to-be-restored tabs in background groups. 2012-01-28 03:57:48 +09:00
SHIMODA Hiroshi
8e1188d9be fix wrong method name 2012-01-24 10:15:25 +09:00
Piro / SHIMODA Hiroshi
f077af1317 ignore events after destruction 2012-01-24 04:07:56 +09:00
Piro / SHIMODA Hiroshi
6bab97a38f * we couldn't resize shrunken tab bar by mouse drag
* now we can prevent auto-show/hide of the tab bar by pressing shift key
2012-01-24 03:35:48 +09:00
Piro / SHIMODA Hiroshi
7a83c1ef67 don't hide doorhangar even if the tab is restored after the doorhangar is shown 2012-01-21 00:35:53 +09:00
Piro / SHIMODA Hiroshi
1166dc4849 image size was not applied correctly 2012-01-21 00:33:19 +09:00
Piro / SHIMODA Hiroshi
b2c3e44ce6 update library 2012-01-21 00:13:27 +09:00
Piro / SHIMODA Hiroshi
2fa9659480 update library 2012-01-21 00:10:57 +09:00
Piro / SHIMODA Hiroshi
0f894471a2 update library 2012-01-20 23:58:22 +09:00
Piro / SHIMODA Hiroshi
ed2b234977 update library 2012-01-19 03:23:06 +09:00
Piro / SHIMODA Hiroshi
f0b6f6e040 update library 2012-01-19 02:56:55 +09:00
SHIMODA Hiroshi
32c45ab150 use doorhangar instead of notification bar 2012-01-18 13:56:50 +09:00
SHIMODA Hiroshi
ca830a8f53 revert changes on 4636f201bc (in the horizontal tab bar, tabs should be stacked always) 2012-01-18 11:58:12 +09:00
Piro / SHIMODA Hiroshi
c604a72eec Firefox can remove "overflow" property wrongly, by horizontal overflow/underflow on a vertical tab bar. 2012-01-15 03:42:51 +09:00
Piro / SHIMODA Hiroshi
17c7280d05 switch the role of the counter in tabs for vertical and horizontal tab bar 2012-01-14 01:45:51 +09:00
Piro / SHIMODA Hiroshi
4d816760b5 reduce obsolete version-specific logic and comments 2012-01-14 01:30:06 +09:00
Piro / SHIMODA Hiroshi
9fc01781a1 remove module for optimization 2012-01-14 01:20:43 +09:00
Piro / SHIMODA Hiroshi
23e3457530 update version specific comments 2012-01-14 01:15:12 +09:00
SHIMODA Hiroshi
7d23e2b9b3 remove obsolete codes 2012-01-13 20:17:16 +09:00
SHIMODA Hiroshi
b44c9b20f9 remove regacy codes 2012-01-13 18:06:40 +09:00
SHIMODA Hiroshi
bcb8615f47 drop Firefox 3.6 support 2012-01-13 17:38:12 +09:00
SHIMODA Hiroshi
4636f201bc in the horizontal tab bar, tabs should be stacked always 2012-01-13 17:12:25 +09:00
SHIMODA Hiroshi
07b0e15aaa suppress unexpected jumping of the tab bar more intelligently 2012-01-13 12:28:13 +09:00
SHIMODA Hiroshi
585ab07c48 suppress unexpected jumping on the tab bar after new child tabs are opened 2012-01-13 12:16:35 +09:00
SHIMODA Hiroshi
d45ec4a947 when the browser is too slow, manual scrollings on the tab bar can be canceled by smooth scroll animations of TST 2012-01-06 19:38:38 +09:00
Piro / SHIMODA Hiroshi
d512dbbfa4 failed to create tree for the tab initially selected in a background group ( some tabs restored in background group cannot be found by getTabById() ) 2012-01-04 00:13:35 +09:00
Piro / SHIMODA Hiroshi
08aa9a3459 failed to restore closed tree 2012-01-03 22:03:51 +09:00
Piro / SHIMODA Hiroshi
1b50b890c4 tab bar should not be hidden by keyboard input if it is expanded by mouse 2012-01-03 06:00:04 +09:00
Piro / SHIMODA Hiroshi
afca500dbe With Tab Mix Plus, failed to restore secondary or later pinned tabs if there is no normal tab 2012-01-03 05:50:38 +09:00
Piro / SHIMODA Hiroshi
7ed52bca37 failed to store edited title of group tab (regression) 2012-01-03 05:16:50 +09:00
Piro / SHIMODA Hiroshi
3cf6b76fee F2 key didn't work on group tab (regression) 2012-01-03 05:13:39 +09:00
Piro / SHIMODA Hiroshi
6c2eacc16a tree of tabs cannot be restored (regression) 2012-01-02 19:52:51 +09:00
Piro / SHIMODA Hiroshi
e8f092b7b1 By ctrl-shift-` and ctrl-shift-~ tab groups (Panorama) were broken unexpectedly. 2012-01-02 05:18:14 +09:00
SHIMODA Hiroshi
60af382b89 manually expanded tree should not collapsed automatically (like Windows Explorer) 2011-12-27 13:21:23 +09:00
SHIMODA Hiroshi
d0664b4552 "fast restore" didn't work for secondary (and later) window 2011-12-19 19:20:14 +09:00
SHIMODA Hiroshi
8e0159712a when the current tab includes <embed>, drag and drop feature ottally broken after you tried to drag the tab bar itself. 2011-12-19 18:58:25 +09:00
SHIMODA Hiroshi
d447107fbe shrink sensitive area based on the size of clickable element 2011-12-19 17:29:37 +09:00
SHIMODA Hiroshi
6a9f32235c we should not expand tab bar automatically if the pointer is over the twisty 2011-12-19 16:49:23 +09:00
SHIMODA Hiroshi
3870310023 generalize 2011-12-19 16:43:18 +09:00
SHIMODA Hiroshi
b5f3f4abd3 don't shrink sensitive area if there is no closebox near the pointer 2011-12-19 16:37:48 +09:00
Piro / SHIMODA Hiroshi
058d27612b event listener for initialization was not unregistered 2011-12-17 00:50:30 +09:00
SHIMODA Hiroshi
668a4f667e we should save data to TMP's session manager always 2011-12-15 14:28:40 +09:00
SHIMODA Hiroshi
7832e7a2e6 fast restore should work with TMP if TMP session managemnt is disabled 2011-12-15 14:12:41 +09:00
SHIMODA Hiroshi
527acb44f8 when a tab was moved into an existing tree, it was not become a new member of the tree. (regression) 2011-12-15 13:32:17 +09:00
Piro / SHIMODA Hiroshi
5f771740db don't do fast restore if TMP's session management is activated 2011-12-14 23:51:56 +09:00
SHIMODA Hiroshi
35e8280451 tree structure of hidden tabs in background groups should not be restored on the startup. 2011-12-14 18:05:32 +09:00
SHIMODA Hiroshi
737320ef7d tab bar was wrongly shrunken for fullscreen window on the starutp 2011-12-14 15:33:25 +09:00
SHIMODA Hiroshi
e6f29af997 isMaximized => maximized 2011-12-14 15:28:47 +09:00
SHIMODA Hiroshi
55854683a0 tab bar was wrongly shrunken on the startup (fix for https://github.com/piroor/treestyletab/issues/177 ) 2011-12-14 15:26:58 +09:00
SHIMODA Hiroshi
4b36391e66 failed to save tab id (regression) 2011-12-14 13:41:26 +09:00
SHIMODA Hiroshi
fdf03c5f35 * fast restore can be disabled
* no need to observe sessionstore topics
2011-12-14 13:30:29 +09:00
Piro / SHIMODA Hiroshi
a3af97ef98 rearrange methods 2011-12-13 23:21:31 +09:00
Piro / SHIMODA Hiroshi
f6fddbdadc output stack trace 2011-12-13 23:00:44 +09:00
Piro / SHIMODA Hiroshi
594abe6e54 simplify 2011-12-13 22:59:45 +09:00
SHIMODA Hiroshi
cf4b3bd1f1 don't restore already restored tabs 2011-12-13 20:41:42 +09:00
SHIMODA Hiroshi
476ffb70d5 refactoring 2011-12-13 20:18:32 +09:00
SHIMODA Hiroshi
e3b7f7adf4 relation of the selected tab was unexpectedly lost 2011-12-13 18:03:16 +09:00
SHIMODA Hiroshi
e21c0f4d01 if we can restore tree more quickly, do it 2011-12-13 16:32:42 +09:00
SHIMODA Hiroshi
4c51a856b1 better handling of duplicated tabs 2011-12-13 16:10:49 +09:00
Piro / SHIMODA Hiroshi
8d981a7d13 always restore all tree 2011-12-13 03:54:43 +09:00
SHIMODA Hiroshi
b8fd343863 unity fastRestoreTreeStructure to onWindowStateRestored 2011-12-12 18:39:46 +09:00
SHIMODA Hiroshi
67ff3b111f items in "all tabs" popup were not indented on Nightly. 2011-12-12 18:27:11 +09:00
SHIMODA Hiroshi
1bc3146759 activate "fast restore" for any window restoration (ex. Private Browsing, Session Manager, etc.) 2011-12-12 16:44:10 +09:00
SHIMODA Hiroshi
fa4d4e1648 now we can apply "fast restore" for tabs in background groups 2011-12-12 15:04:29 +09:00
SHIMODA Hiroshi
726a4ae03f tabs were unexpectedly rearranged after you exited from Panorama. 2011-12-12 14:48:51 +09:00
SHIMODA Hiroshi
5d9c5f3a74 don't collapse a existing tree automatically if it is in a background group 2011-12-12 11:51:48 +09:00
Piro / SHIMODA Hiroshi
55dc28600b move codes for group tabs to a JS code module 2011-12-11 23:09:53 +09:00
Piro / SHIMODA Hiroshi
80b64709c7 "event." is required 2011-12-10 02:36:08 +09:00
Piro / SHIMODA Hiroshi
3e4cbe02c7 now tabs can be closed from full tooltips 2011-12-10 02:35:19 +09:00
Piro / SHIMODA Hiroshi
9259ecad17 middle click on tab link should close the tab 2011-12-10 02:05:08 +09:00
SHIMODA Hiroshi
1e8daf3ded draw links in the "dummy" tab 2011-12-09 20:10:04 +09:00
SHIMODA Hiroshi
39234833fc on Linux + GNOME3, "narrow scroll bar" was not narrow. 2011-12-09 17:55:15 +09:00
SHIMODA Hiroshi
7b41779a0b failed to restore subtree-collapsed state for restored tabs (by undo close tab command) 2011-12-09 11:12:27 +09:00
SHIMODA Hiroshi
491ec519a7 rename methods for handling events 2011-12-09 11:11:53 +09:00
Piro / SHIMODA Hiroshi
90e4852836 confirmation message should be shown immediately, and it should not be closed by page loadings 2011-12-09 02:58:36 +09:00
Piro / SHIMODA Hiroshi
7d891dd32c "undo closed set" feature didn't work (part 2) 2011-12-09 01:40:43 +09:00
Piro / SHIMODA Hiroshi
7035a53d4f "undo closed set" feature didn't work 2011-12-09 01:39:55 +09:00
Piro / SHIMODA Hiroshi
2d54b402c0 call updateInsertionPositionInfo only for "fast restor"ed tabs 2011-12-08 05:17:06 +09:00
Piro / SHIMODA Hiroshi
5193c60a3b "fast restore" should restore collapsed/expand state based on user pref 2011-12-08 05:12:33 +09:00
Piro / SHIMODA Hiroshi
acefddccb7 set position of child tabs 2011-12-08 04:43:51 +09:00
Piro / SHIMODA Hiroshi
7d3f967b1a add codes for failsafe 2011-12-08 04:40:26 +09:00
Piro / SHIMODA Hiroshi
87c0b4ad27 "fast restore" didn't work as I expected for tabs without children. 2011-12-08 01:40:33 +09:00
Piro / SHIMODA Hiroshi
46326d4997 fix typo 2011-12-07 21:33:57 +09:00
SHIMODA Hiroshi
828e6e48f9 simplify implementation of "fast restore" 2011-12-07 15:14:02 +09:00
SHIMODA Hiroshi
9b5c3c594d tree structure was not restored correctly 2011-12-07 12:06:05 +09:00
SHIMODA Hiroshi
ff5a299316 part => detach 2011-12-07 10:20:14 +09:00
SHIMODA Hiroshi
ca0b1fe073 partTab() => detachTab() (API is renamed) 2011-12-07 10:18:05 +09:00
SHIMODA Hiroshi
87352e22e6 add a comment about restoreTreeStructure() on Firefox 3.6 2011-12-06 18:06:59 +09:00
SHIMODA Hiroshi
db286777de tree structure should be restored even if there are any extra tab 2011-12-05 20:19:32 +09:00
SHIMODA Hiroshi
f500a66092 refactoring 2011-12-05 19:51:38 +09:00
SHIMODA Hiroshi
a706c81340 brush up codes 2011-12-05 19:42:08 +09:00
SHIMODA Hiroshi
3de7d79b67 brush up restoreOnStartup 2011-12-05 19:31:12 +09:00
SHIMODA Hiroshi
a64ff91010 getNextSiblingTab() failed for broken "children" list 2011-12-05 17:21:19 +09:00
SHIMODA Hiroshi
af9bc6257b don't show content area screen if it is not required 2011-12-05 17:10:16 +09:00
SHIMODA Hiroshi
8018a3ca8d fix typo 2011-12-05 16:41:13 +09:00
SHIMODA Hiroshi
00be6a4f00 don't show content area screen if the window is not active 2011-12-05 16:27:33 +09:00
SHIMODA Hiroshi
04c9515d24 restore indent levels at first 2011-12-05 12:19:50 +09:00
SHIMODA Hiroshi
8578d23548 improve fast restora of tree structure 2011-12-05 11:54:07 +09:00
SHIMODA Hiroshi
f524c96c79 no need to restore tab attributes (revert the last commit) 2011-12-05 10:26:23 +09:00
Piro / SHIMODA Hiroshi
7be4a42f0e store TST attributes 2011-12-05 09:47:16 +09:00
Piro / SHIMODA Hiroshi
776cfbc5c7 full tooltip was shown on wrong position if the window is not in the primary display (part 2) 2011-12-05 03:48:54 +09:00
Piro / SHIMODA Hiroshi
e27c117343 full tooltip was shown on wrong position if the window is not in the primary display 2011-12-05 03:46:40 +09:00
Piro / SHIMODA Hiroshi
d4ca094600 if the shrunken tab bar was too narrow, we couldn't expand tab bar automatically by mouseover. 2011-12-05 02:44:49 +09:00
Piro / SHIMODA Hiroshi
e1ba70474b "Autohide tab bar" feature should work for PDF documents and other contents drawn by plugins. (To disable this hack, you have to turn "extensions.treestyletab.tabbar.autoHide.contentAreaScreen.enabled" to "false".) 2011-12-05 02:27:30 +09:00
Piro / SHIMODA Hiroshi
1bba301260 emulate behaviors of folder trees, for arrow keys on focused tabs (but not wrapped on Windows and Linux - this is designed behavior of Firefox itself!) 2011-12-03 05:01:38 +09:00
Piro / SHIMODA Hiroshi
44af0c7f83 set minimum size too 2011-12-01 03:02:03 +09:00
Piro / SHIMODA Hiroshi
dcac8b1a6b load full tooltip manager on demand 2011-12-01 02:59:46 +09:00
Piro / SHIMODA Hiroshi
03c677e522 MozBeforePaint is no longer available on Firefox 11 2011-12-01 02:22:15 +09:00
Piro / SHIMODA Hiroshi
69efc14044 on Firefox 11, mozRequestAnimationFrame() requires the callback anyway 2011-12-01 01:54:18 +09:00
Piro / SHIMODA Hiroshi
e0d949b99e shrunken tab bar couldn't be resized by drag and drop because the tab bar was unexpectedly expanded near the resizer. 2011-11-30 23:22:16 +09:00
Piro / SHIMODA Hiroshi
e3b5a236d8 arrowscrollbox in tooltip should be re-created 2011-11-30 20:32:57 +09:00
Piro / SHIMODA Hiroshi
cf49041b8c animation effect for full tooltip 2011-11-30 20:22:19 +09:00
Piro / SHIMODA Hiroshi
8f8e96da16 full tooltip should be hidden after the pointer goes out from it 2011-11-30 19:33:12 +09:00
SHIMODA Hiroshi
867bd4d5f9 didn't work on Firefox 3.6 2011-11-30 10:14:17 +09:00
Piro / SHIMODA Hiroshi
0cb0cb92a4 simplify calculation of size of pinned tabs from integer to boolean (simply faviconized or not) 2011-11-30 05:33:47 +09:00
Piro / SHIMODA Hiroshi
5d379c12c3 optimize 2011-11-30 05:01:56 +09:00
Piro / SHIMODA Hiroshi
1ffd3fbb71 emulate behavior of tooltip 2011-11-30 04:27:08 +09:00
Piro / SHIMODA Hiroshi
15da5d1e9b fix some minor bugs 2011-11-30 03:52:47 +09:00
Piro / SHIMODA Hiroshi
71d517d51b split implementation of full tooltip 2011-11-30 03:40:11 +09:00
Piro / SHIMODA Hiroshi
617cf38a1f When a child tab is selected and the tree is collapsed, the parent tab is automatically selected and the tree was collapsed but re-expanded after a delay unexpectedly. 2011-11-30 02:21:33 +09:00
Piro / SHIMODA Hiroshi
ff1cd2ebe5 implement "full tooltip" for too many children 2011-11-30 02:09:32 +09:00