Commit Graph

1590 Commits

Author SHA1 Message Date
Piro / SHIMODA Hiroshi
7aed5e240a don't update _notifyBackgroundTab twice 2011-01-22 13:43:43 +09:00
Piro / SHIMODA Hiroshi
b665a8ca11 don't update advanceSelectedTab twice 2011-01-22 13:38:08 +09:00
Piro / SHIMODA Hiroshi
b7794809f2 always apply custom XBL to tab containers 2011-01-22 13:22:00 +09:00
Piro / SHIMODA Hiroshi
68cc97b38b rearrange methods 2011-01-22 13:21:39 +09:00
Piro / SHIMODA Hiroshi
54eaa6aa78 split and rearrange methods 2011-01-22 13:06:59 +09:00
Piro / SHIMODA Hiroshi
dbbdc42aca reduce event listener methods 2011-01-22 12:33:29 +09:00
Piro / SHIMODA Hiroshi
0b8a4070c5 split destroying/reinitializing process from event listener methods 2011-01-22 12:31:57 +09:00
Piro / SHIMODA Hiroshi
41084ec097 experimental: allow to move the tab bar from TabsToolbar to another toolbar 2011-01-22 02:15:04 +09:00
Piro / SHIMODA Hiroshi
6e676a29d6 allow to place tabbar not in #TabsToolbar 2011-01-22 00:01:19 +09:00
Piro / SHIMODA Hiroshi
6dc94591f9 initTabbar() should get both type of arguments: string and flag. 2011-01-21 23:21:39 +09:00
SHIMODA Hiroshi
665355599d don't save tree structure if the fast restoring is disabled 2011-01-20 12:08:25 +09:00
SHIMODA Hiroshi
19c22d2875 handle sessionstore-windows-restored 2011-01-20 12:04:49 +09:00
SHIMODA Hiroshi
9b00af1059 use default interval of session storing system 2011-01-20 11:58:36 +09:00
SHIMODA Hiroshi
f449db9a6f the pref was inverted 2011-01-20 11:57:03 +09:00
SHIMODA Hiroshi
568a1703bf restore tree structure on the startup (expedimental, disabled by extensions.treestyletab.restoreTreeOnStartup) 2011-01-20 11:55:49 +09:00
SHIMODA Hiroshi
00cebb1eda select existing text when I enter to the editing mode in a group tab 2011-01-19 19:02:58 +09:00
SHIMODA Hiroshi
3effb55cde update library 2011-01-17 11:04:43 +09:00
SHIMODA Hiroshi
eb17d17aba don't stretch tab contents if the binding is overridden (e.g. by Tab Mix Plus) 2011-01-17 10:17:56 +09:00
Piro / SHIMODA Hiroshi
4f3c5fda8e add a comment for the problem http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2820 2011-01-17 09:27:22 +09:00
Piro / SHIMODA Hiroshi
61df6c5c8a the tooltip on a tab was wrongly shown with the text for the twisty even if the event is fired not on the twisty 2011-01-14 00:05:28 +09:00
Piro / SHIMODA Hiroshi
12e8d4635d pinned tabs are wrongly positioned if "auto hide" is enabled. 2011-01-13 01:36:14 +09:00
Piro / SHIMODA Hiroshi
c9ca94c271 pinned tabs are wrongly positioned if updateAllTabsIndent() is called 2011-01-13 00:13:12 +09:00
Piro / SHIMODA Hiroshi
32283c415c regression: pinned tabs are wrongly posotioned 2011-01-12 23:37:31 +09:00
SHIMODA Hiroshi
7961570eb4 don't hide the tab bar when exiting auto hide mode 2011-01-12 17:25:41 +09:00
Piro / SHIMODA Hiroshi
87c3cc52a9 add comments "for TabView" 2011-01-12 09:05:04 +09:00
Piro / SHIMODA Hiroshi
eb729c1eff rearrange thumbnails even if TabView is visible 2011-01-12 04:19:32 +09:00
Piro / SHIMODA Hiroshi
3b3f904b77 rearrange thumbnails dynamically on TabMove 2011-01-12 04:16:35 +09:00
Piro / SHIMODA Hiroshi
33525e2989 make it safe 2011-01-12 04:06:46 +09:00
Piro / SHIMODA Hiroshi
99f5fcb077 always rearrange all groups 2011-01-12 04:06:10 +09:00
Piro / SHIMODA Hiroshi
a229524071 always reorder thumbnails if any tab was moved 2011-01-12 04:00:35 +09:00
Piro / SHIMODA Hiroshi
722d1aaed5 fix thumbnail order of Panorama automatically (fix for https://github.com/piroor/treestyletab/issues#issue/20 ?) 2011-01-12 03:58:55 +09:00
SHIMODA Hiroshi
0a3773c5a1 fire all custom events as DataContainerEvent 2011-01-11 19:29:14 +09:00
SHIMODA Hiroshi
e3adc1e93f use DataContainerEvent type 2011-01-11 13:29:21 +09:00
SHIMODA Hiroshi
543ca9330b use new API of Multiple Tab Handler 2011-01-11 13:27:43 +09:00
SHIMODA Hiroshi
136a61ac3e use DataContainerEvent type 2011-01-11 13:20:01 +09:00
SHIMODA Hiroshi
a2cbc32c8b send nsDOMTreeStyleTabTabbarPositionChanging and nsDOMTreeStyleTabTabbarPositionChanged events as UIEvents 2011-01-11 12:21:24 +09:00
Piro / SHIMODA Hiroshi
aeae03c58c reduce tabbox from the configuration dialog 2011-01-10 16:17:59 +09:00
Piro / SHIMODA Hiroshi
4eee5243f6 regression: on the startup, the tab bar was wrongly hidden. 2011-01-10 16:13:31 +09:00
Piro / SHIMODA Hiroshi
9635fc2154 2011 2011-01-10 16:02:15 +09:00
Piro / SHIMODA Hiroshi
51108f6900 add configuration UI for auto-hide feature in fullscreen mode 2011-01-10 16:00:00 +09:00
Piro / SHIMODA Hiroshi
d71eb160da disable needless controls by status of checkboxes 2011-01-10 15:09:51 +09:00
Piro / SHIMODA Hiroshi
0e6817b375 don't show toggler for mousemove if it is not handled by the user preference 2011-01-10 14:01:53 +09:00
Piro / SHIMODA Hiroshi
14a4e6a086 The tab bar losts its width after restarting, on Minefield. (fix for https://github.com/piroor/treestyletab/issues#issue/19 ) 2011-01-10 13:45:40 +09:00
Piro / SHIMODA Hiroshi
141e819498 [autohide] When the window is resized while the tab bar is expanded, hide it before updating width of the bar. (fix for https://github.com/piroor/treestyletab/issues#issue/18 ) 2011-01-10 12:27:02 +09:00
Piro / SHIMODA Hiroshi
bcfc9dc413 on Minefield, the tab bar was never shown by keyboard shortcuts. 2011-01-10 01:40:24 +09:00
Piro / SHIMODA Hiroshi
e24ee77e71 update the position of the floating tab bar without delay on the startup (fix for https://github.com/piroor/treestyletab/issues#issue/12 ) 2011-01-07 22:08:22 +09:00
SHIMODA Hiroshi
f48c5744bd new tabs opened by selection search from the context menu never became children of the current tab 2011-01-06 11:46:20 +09:00
SHIMODA Hiroshi
f3915ced9f extensions.treestyletab.autoAttachSearchResultAsChildren was ignored if it is 2 and shouldOpenSearchResultAsChild is called with no argument. 2011-01-06 11:15:56 +09:00
SHIMODA Hiroshi
d4781a8a6e add configuration UI for "extensions.treestyletab.bookmarkDroppedTabs.behavior" (see https://github.com/piroor/treestyletab/issues#issue/6 ) 2011-01-06 10:25:17 +09:00
SHIMODA Hiroshi
e285140555 update for Minefield (fix for https://github.com/piroor/treestyletab/issues#issue/9 ) 2011-01-05 10:35:11 +09:00
SHIMODA Hiroshi
9c789c9305 fix typo 2010-12-24 12:14:04 +09:00
SHIMODA Hiroshi
cc66a3723f event names are changed with "nsDOM" prefix ( update for ca4705f0a3 ) 2010-12-20 21:04:21 +09:00
SHIMODA Hiroshi
a60a734a04 fix invalid owner 2010-12-20 20:58:59 +09:00
SHIMODA Hiroshi
3bbe37ddfa add "nsDOM" prefix to custom event types (it is required to pass custom data. see: https://developer.mozilla.org/en/Creating_Custom_Events_That_Can_Pass_Data ) 2010-12-20 20:54:42 +09:00
SHIMODA Hiroshi
6d3fd864d6 add ability to control "how to bookmark dropped tree?" (fix for https://github.com/piroor/treestyletab/issues/issue/6 ) 2010-12-20 20:41:22 +09:00
SHIMODA Hiroshi
97f0875298 when a persona is applied, extra buttons in the toolbar was out of window 2010-12-20 14:42:58 +09:00
SHIMODA Hiroshi
9b7bae9a23 On Minefield, previewing of a persona broke appearance of the floating tab bar. (fix for https://github.com/piroor/treestyletab/issues#issue/5 ) 2010-12-20 13:22:13 +09:00
SHIMODA Hiroshi
64c7fb8b65 with Tab Mix Plus, I cannot drop multiple tabs (fix for https://github.com/piroor/multipletab/issues/closed#issue/2 ) 2010-12-15 12:05:29 +09:00
SHIMODA Hiroshi
99dba23763 update icon definition for Minefield 2010-12-13 15:13:17 +09:00
SHIMODA Hiroshi
1ac871e4e7 crete layers for additional elements 2010-12-11 03:59:28 +09:00
SHIMODA Hiroshi
c2f3cfaf17 can't do search from the web search bar in some webpages 2010-12-09 23:33:04 +09:00
SHIMODA Hiroshi
950ef92e8b tab overflow and other operations were unexpectedly blocked 2010-12-09 22:58:06 +09:00
SHIMODA Hiroshi
328e3df340 make extensions.treestyletab.autoAttachSearchResultAsChildren tribool 2010-12-09 20:13:04 +09:00
SHIMODA Hiroshi
7eb4224be8 a secret pref "extensions.treestyletab.autoAttachSearchResultAsChildren.always" to open search result as a child of the current tab always 2010-12-09 15:19:38 +09:00
SHIMODA Hiroshi
3cdf604b3c find selection in the current tab recursively 2010-12-09 15:18:37 +09:00
SHIMODA Hiroshi
58278779bb Open search result as a child of the current tab if the search term equals to the term selected in the current tab. 2010-12-09 15:05:46 +09:00
SHIMODA Hiroshi
3acb6a2bfc add "close other tabs except this tree" context menu item 2010-12-08 20:34:42 +09:00
SHIMODA Hiroshi
aa73026cb9 failed to load JS code modules (regression) 2010-12-08 19:21:06 +09:00
SHIMODA Hiroshi
cfae3e466d Domain Tab => DomainTab 2010-12-08 17:56:14 +09:00
SHIMODA Hiroshi
23f5bb1def add download URL of Domain Tab 2010-12-08 17:40:18 +09:00
SHIMODA Hiroshi
8bf532a604 support Domain Tab ( https://addons.mozilla.org/firefox/addon/13906/ ) 2010-12-08 17:39:36 +09:00
SHIMODA Hiroshi
f54f673b73 don't access to gBrowser before it is initialized 2010-12-08 16:38:00 +09:00
SHIMODA Hiroshi
65623f948e cosmetic 2010-12-08 10:38:25 +09:00
Piro / SHIMODA Hiroshi
60d15d1715 New tabs opened in a loop should be ordered by "opened order", even if I set new child is inserted at the first position of existing children. (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2812 ) 2010-12-08 01:28:23 +09:00
Piro / SHIMODA Hiroshi
cbcfc4e57b regression: didn't work on Firefox 3.x 2010-12-08 00:54:11 +09:00
SHIMODA Hiroshi
30608ffdf7 don't call positionPinnedTabs() too many times 2010-12-07 19:22:41 +09:00
SHIMODA Hiroshi
961460cb0d cosmetic 2010-12-07 19:19:13 +09:00
SHIMODA Hiroshi
ee4344164e less eval: don't overwrite _positionPinnedTabs() 2010-12-07 13:46:38 +09:00
Piro / SHIMODA Hiroshi
8381924314 Merge branch 'remove-old-codes' 2010-12-07 02:03:07 +09:00
Piro / SHIMODA Hiroshi
fe1cb0a837 _notifyBackgroundTab was not overridden on Firefox 3.6 and later 2010-12-07 02:02:38 +09:00
Piro / SHIMODA Hiroshi
928371f0a4 regression: tabs can be focused unexpectedly 2010-12-07 01:56:21 +09:00
Piro / SHIMODA Hiroshi
2820a2556e better handling for tab tooltip (without eval()) 2010-12-07 01:53:20 +09:00
Piro / SHIMODA Hiroshi
88aeaeab2f update _beginRemoveTab hack for Minefield 2010-12-07 01:38:46 +09:00
Piro / SHIMODA Hiroshi
0371c6cf1b remove codes to override key event handlers on the tabbar (because it doesn't work anymore on Firefox 3 and later) 2010-12-07 01:37:28 +09:00
Piro / SHIMODA Hiroshi
b3e5c9d86d regression: failed to restore tab attributes 2010-12-07 01:26:52 +09:00
Piro / SHIMODA Hiroshi
e9d2bc572a less eval 2010-12-07 01:21:17 +09:00
Piro / SHIMODA Hiroshi
403128f1ab less eval, and auto-update visibility of closeboxes in tabs for manual resizing of the tab bar 2010-12-07 01:11:34 +09:00
Piro / SHIMODA Hiroshi
cf058c1b18 block to select tab for clicking on the twisty, without eval() 2010-12-07 00:25:14 +09:00
Piro / SHIMODA Hiroshi
7ea751f9fb remove codes for Firefox 2 2010-12-07 00:16:53 +09:00
Piro / SHIMODA Hiroshi
811648a9e7 insert the splitter for the floating tab bar via DOM1 API instead of XUL overlay 2010-12-06 23:16:06 +09:00
Piro / SHIMODA Hiroshi
b488475bd8 move codes for autohide into JS code modules 2010-12-06 22:31:58 +09:00
Piro / SHIMODA Hiroshi
0713e54fda move codes for drag and drop into JS code modules 2010-12-06 21:04:52 +09:00
SHIMODA Hiroshi
9c8eaf6c39 Opening/closing of sidebar should always update the floating tab bar. (fix for https://github.com/piroor/treestyletab/issues#issue/3 ) 2010-12-06 16:20:08 +09:00
SHIMODA Hiroshi
6d5849b049 On Minefield, "Metal" theme was broken. (part2) 2010-12-06 15:53:26 +09:00
SHIMODA Hiroshi
3c16c0e23c On Minefield, "Metal" theme was broken. 2010-12-06 15:36:05 +09:00
Piro / SHIMODA Hiroshi
433bec4ade specify the reason of updating floating tab bar, to fix incorrect tab bar width problem on multiple windows ( https://github.com/piroor/treestyletab/issues#issue/2 ) 2010-12-03 23:50:42 +09:00
Piro / SHIMODA Hiroshi
d228191dc0 kEVENT_TYPE_FOCUS_NEXT_TAB didn't used! (tab focus was not controlled anymore) 2010-12-03 22:40:52 +09:00
SHIMODA Hiroshi
1206379c0a When the print preview is finished, restore the tab bar at first.
If there is All-in-One Sidebar, finishing process of print preview raises an exception and TST failed to restore the tab bar. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2797 , http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2803 )
2010-12-03 15:20:26 +09:00
SHIMODA Hiroshi
cc7a15d2ee Merge branch 'master' of github.com:piroor/treestyletab 2010-12-03 13:17:51 +09:00
SHIMODA Hiroshi
8e48a5e712 Sometimes closed popups are wrongly detected as opened. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2801 ) 2010-12-03 13:16:30 +09:00
Piro / SHIMODA Hiroshi
b63975376b in the print preview mode, AutoHide unexpectedly worked. 2010-12-03 02:54:59 +09:00
Piro / SHIMODA Hiroshi
d5afbebd8c Drag and drop actions from non-tab elements aren't handled by TST. As the result, Firefox's native handler handles the event, so default drop indicator is unexpectedly processed. ( http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2798 ) 2010-12-03 02:38:15 +09:00
SHIMODA Hiroshi
73195258bb move codes for dropping multiple tabs into bookmarks tree to the shared library 2010-12-02 18:08:31 +09:00
SHIMODA Hiroshi
457e5d50ac failed to get URI from to-be-restored tabs on Minefield 2010-12-02 17:30:58 +09:00
SHIMODA Hiroshi
edd09aa702 on windows, don't override cursor for multiple items dragging (workaround) 2010-12-02 11:08:22 +09:00
SHIMODA Hiroshi
4452d79ed1 update for https://bugzilla.mozilla.org/show_bug.cgi?id=547787 2010-12-02 10:42:45 +09:00
SHIMODA Hiroshi
7fff907980 undefined variable 2010-12-02 10:03:15 +09:00
Piro / SHIMODA Hiroshi
f9c965d1b1 getCurrentDragSession() => currentDragSession 2010-12-02 09:02:27 +09:00
Piro / SHIMODA Hiroshi
78dc5ef23c refactor codes for drag and drop 2010-12-02 09:00:39 +09:00
Piro / SHIMODA Hiroshi
f661405af0 careless miss 2010-12-02 08:40:26 +09:00
Piro / SHIMODA Hiroshi
d35d743e8e refactor codes to get selected tabs 2010-12-02 08:31:11 +09:00
Piro / SHIMODA Hiroshi
834050f820 refactor DND codes 2010-12-02 08:12:57 +09:00
Piro / SHIMODA Hiroshi
19926994d7 refactor drag and drop implementations 2010-12-02 00:15:40 +09:00
SHIMODA Hiroshi
fad08b3d1f update configuration UI 2010-12-01 18:17:35 +09:00
SHIMODA Hiroshi
79dc211f82 always collapse/expand tabs with animation, if animation effect is allowed 2010-12-01 18:09:07 +09:00
SHIMODA Hiroshi
31fb56fd03 on Minefield, expanding tabs now have correct transparency. 2010-12-01 17:59:07 +09:00
SHIMODA Hiroshi
974712c99c maxTreeLevel didn't saved if it is changed by spinbuttons 2010-12-01 17:48:00 +09:00
SHIMODA Hiroshi
fabd5f546d split methods and add a new API getAncestorTabs() 2010-12-01 17:40:18 +09:00
SHIMODA Hiroshi
34cd4244c1 define event types as constant properties 2010-12-01 17:16:26 +09:00
SHIMODA Hiroshi
0319f8f494 latest BarTab provides correct currentURI, so we don't have to do a dirty hack 2010-12-01 15:25:34 +09:00
SHIMODA Hiroshi
f3105942c4 fix typo 2010-12-01 10:23:54 +09:00
SHIMODA Hiroshi
53bbbbe4b3 simplify configuration UI 2010-12-01 10:22:53 +09:00
SHIMODA Hiroshi
bd796b1d9a update custom event type for Multiple Tab Handler 2010-12-01 09:51:10 +09:00
SHIMODA Hiroshi
98e5745217 define event types as constant properties 2010-12-01 09:36:22 +09:00
SHIMODA Hiroshi
23326d9ab3 define topic types as constant properties 2010-12-01 09:33:07 +09:00
SHIMODA Hiroshi
6a9321c52c add comment for addon developers 2010-12-01 09:26:12 +09:00
SHIMODA Hiroshi
619d47c77d support new API based on DOM Events 2010-11-30 19:05:00 +09:00
SHIMODA Hiroshi
e88f38f95d set initial state of tabs: subtree can be collapsed 2010-11-30 16:45:03 +09:00
SHIMODA Hiroshi
9b51543de5 cosmetic 2010-11-30 13:41:08 +09:00
SHIMODA Hiroshi
2932d89da7 support drag feedback image and multiple drag data for dragging of trees 2010-11-30 12:23:08 +09:00
SHIMODA Hiroshi
fedf1f4c5f allow multiple tabs dragging 2010-11-30 11:00:09 +09:00
SHIMODA Hiroshi
a71258a87a set drag data on dragstart of tabs 2010-11-30 10:42:36 +09:00
SHIMODA Hiroshi
9514371fc6 sort dragged tabs by their order 2010-11-30 10:20:03 +09:00
SHIMODA Hiroshi
e038977e76 fix undefined reference error 2010-11-30 09:48:44 +09:00
SHIMODA Hiroshi
7f32f5b88b remove codes for Firefox 3.0 2010-11-30 09:42:22 +09:00
SHIMODA Hiroshi
fce26a7fbc remove codes for Firefox 3.0 2010-11-30 09:24:04 +09:00
SHIMODA Hiroshi
17c7a08ec9 remove needless codes and images for Firefox 3.0 2010-11-30 09:22:12 +09:00
SHIMODA Hiroshi
b9db7c47a3 remove codes for Firefox 3.0 2010-11-30 09:12:22 +09:00
SHIMODA Hiroshi
cee97e82f0 switch configuration UI for maxTreeLevel by its value 2010-11-29 20:06:31 +09:00
SHIMODA Hiroshi
00c5f4b04f update configuration UI 2010-11-29 19:36:13 +09:00
SHIMODA Hiroshi
9b2b99674f enable tree separation on vertical tab bar if maxTreeLevel==0 2010-11-29 19:35:47 +09:00
SHIMODA Hiroshi
bf26359e06 allow to collapse tol-level tree if maxTreeLevel==0 2010-11-29 19:24:27 +09:00
SHIMODA Hiroshi
c56817c433 remove obsolete codes 2010-11-29 17:44:17 +09:00
SHIMODA Hiroshi
bce141d495 unify enableSubtreeIndent and maxTreeLevel prefs 2010-11-29 17:42:06 +09:00
SHIMODA Hiroshi
89732dc67b now we can set maximum level of nesting 2010-11-29 17:24:45 +09:00
SHIMODA Hiroshi
ee0ad57175 support dragging of multiple tabs by Tab Utilities and other addons which use HTML5 drag events. 2010-11-29 12:04:38 +09:00
SHIMODA Hiroshi
658d66381a on Minefield, tabs in the horizontal tab bar unexpectedly have "maxwidth" and "minwidth" attribute. 2010-11-26 14:03:09 +09:00
SHIMODA Hiroshi
fdf4ad2aaa on Minefield, tab drop indicator on a horizontal tab bar was not hidden automatically. 2010-11-25 16:22:36 +09:00
SHIMODA Hiroshi
e02ab66927 failed to close collapsed-stacked tabs 2010-11-25 10:37:44 +09:00
SHIMODA Hiroshi
82d3102b12 apply gradient mask for background stacked tabs 2010-11-25 10:30:27 +09:00