Commit Graph

201 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
1746dbbff6 Split a large method onTabClose() to small methods 2013-05-06 01:22:57 +09:00
Piro / YUKI Hiroshi
f999733b75 Add compatibility note for deprecated feature on Firefox 20 2013-03-06 23:44:24 +09:00
Piro / YUKI Hiroshi
adbebdef7e Reduce use of arguments.callee because it doesn't work on the strict mode 2013-03-02 21:29:41 +09:00
Piro / YUKI Hiroshi
b21590525d Don't insert needless margins between collapsed tabs. ( #466 )
Negative margins for collapsed tabs were unexpectedly inverted for tabs which have its "cannot be collapsed" parent tab. However, such tabs still can be collapsed if its root parent tab can be collapse its sub tree.
2013-02-27 04:38:20 +09:00
Piro / YUKI Hiroshi
72d38659d8 TreeStyleTabBase should not inherit "prefs" 2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
75fdc626b5 Remove codes for Firefox 9 and older versions 2013-01-04 15:17:22 +09:00
saneyuki_s
665cb5668f Move TreeStyleTabBase.evalInSandbox() to TreeStyleTabUtils. 2013-01-04 12:39:58 +09:00
saneyuki_s
a7fc238e4e Move string bundles to TreeStyleTabUtils. 2013-01-03 11:08:25 +09:00
YUKI Hiroshi
f97f25c9e6 Fallback to another method to find tabs by coordinates correctly 2012-12-04 12:32:40 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
YUKI Hiroshi
1d2566765d Define minimum width/height of the tab bar and restore it on the startup (so, if you accidentaly get too narrow tab bar, it will be fixed in the next startup: workaround for #380) 2012-12-03 21:41:12 +09:00
YUKI Hiroshi
fa893b9801 Change the algorythm to find tab from coordinate based on _animateTabMove 2012-11-30 00:58:47 +09:00
Piro / YUKI Hiroshi
5f59ddb19d Unify extensions.treestyletab.animation.enabled to browser.tabs.animate 2012-11-28 03:34:57 +09:00
Piro / YUKI Hiroshi
a1001d510f Fix typo 2012-11-19 23:27:43 +09:00
YUKI Hiroshi
04eff24408 Don't listen "mouseleave" event (because it increases CPU usage even if we ended to listen the event by removeEventListener) 2012-11-19 16:20:10 +09:00
YUKI Hiroshi
f2fb69e663 Hide tab bar for only one tab window correctly (fix #406) 2012-11-15 16:03:24 +09:00
YUKI Hiroshi
c326bdda44 Don't update indent of tabs for collapsed tab bar (fix #404) 2012-11-14 13:14:15 +09:00
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +09:00
Piro / YUKI Hiroshi
3577111d0b Don't hide closeboxes of other tabs when toolbars are shown/hidden (Update floating tab bar before calling of adjustTabstrip(), because floating tab bar is unexpectedly resized to smallest size on the time) 2012-11-08 20:07:03 +09:00
Piro / YUKI Hiroshi
af4fb9e426 Update reference for getTreePref 2012-10-31 23:03:50 +09:00
Piro / YUKI Hiroshi
66e2e268f5 .utils => .base 2012-10-30 03:11:39 +09:00
YUKI Hiroshi
c0e9280444 Shorten "TSTUtils" to "utils" (because they are already in the context) 2012-10-24 01:43:56 +09:00
saneyuki_s
3e658380c9 Move some pref methods from TSTBase to TSTUtils. 2012-10-19 23:20:08 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
d66b7083d2 Add line breaks for dynamic patches 2012-10-13 02:24:02 +09:00
YUKI Hiroshi
83626af553 Reduce use of <![CDATA[ ... ]]> 2012-10-12 16:46:37 +09:00
Piro / YUKI Hiroshi
bf068dfdab Fix broken tree which can appear after a tab is duplicated as a child of the original tab 2012-09-23 17:59:19 +09:00
Piro / YUKI Hiroshi
7ffe6709d2 Add failsafe for unexpectedly stored tab attribute "tabbrowser-id" 2012-09-23 17:19:09 +09:00
Piro / YUKI Hiroshi
6f157657bc Fix syntax error 2012-09-23 16:13:35 +09:00
Piro / YUKI Hiroshi
e5d4e509e3 Fix syntax error 2012-09-23 16:13:01 +09:00
Piro / YUKI Hiroshi
3b692b4de4 Reduce usecases of evaluateXPath() 2012-09-23 16:11:03 +09:00
Piro / YUKI Hiroshi
a6792a2b4b Reduce usecases of evaluateXPath() 2012-09-23 15:43:49 +09:00
saneyuki_s
3941b88b1f Remove TreeStyleTabUtils.ObserverService. 2012-09-18 00:31:48 +09:00
Piro / YUKI Hiroshi
d7121d9042 Simplify codes dynamically inserted by eval() 2012-09-15 12:09:15 +09:00
Piro / YUKI Hiroshi
1aa4f0e97a Rename preferences for vertical tab bar with the suffix ".vertical" 2012-08-31 03:48:00 +09:00
Infocatcher
9fc8f4a882 Add separate indent preferences for horizontal tabs
Note: I think, we should cache "this.isVertical"... Only TST itself can change tab bar position, so this looks simple to implement.
2012-08-30 21:51:21 +04:00
Piro / YUKI Hiroshi
c0ab92a24a Partially support live preview of tab dragging, introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=783282 (Not supported yet: dragging on a tab to attach) 2012-08-30 05:28:03 +09:00
Infocatcher
54b62268a9 Add handling of *.default preferences for tab bar size 2012-08-28 17:16:16 +04:00
Infocatcher
f6a534e4c5 Convert from Shift-JIS to UTF-8 2012-08-28 16:38:39 +04:00
Piro / YUKI Hiroshi
31a743ef25 Don't register the event handler twice 2012-08-25 00:22:29 +09:00
YUKI Hiroshi
d8c1a702f7 Don't update indent of tabs if the mouse pointer is still on the tab 2012-08-24 21:30:24 +09:00
YUKI Hiroshi
2639d2050a Update indent of tabs when a tab is moved to another group or the tab group is switched 2012-08-24 20:52:26 +09:00
YUKI Hiroshi
b6b766e9e9 Update indent size automatically when "too deeply nested" tabs are collapsed/expanded. This behavior can be disabled by the secret preference "extensions.treestyletab.indent.autoShrink.onlyForVisible". 2012-08-24 20:51:37 +09:00
SHIMODA Hiroshi
e5ffbf3bea Collapse a tree correctly even if a grandchild is focused (#330, regression) 2012-08-08 21:25:22 +09:00
Piro / SHIMODA Hiroshi
ceb4e7da77 Don't stop delayed smooth scroll by itself 2012-08-06 04:28:04 +09:00
Piro / SHIMODA Hiroshi
d2a6034f8a "Fast restore" didn't work if TST is initialized after blank tabs are opened for restoring tabs 2012-08-05 22:38:06 +09:00
Piro / SHIMODA Hiroshi
b33d012b44 Fix broken tree after session restoration 2012-08-05 07:08:04 +09:00
Piro / SHIMODA Hiroshi
d05be51412 Delete unused reference 2012-08-05 06:11:23 +09:00
Piro / SHIMODA Hiroshi
b82b985e19 Don't use xpath-less getTabById until the TreeStyleTabBrowser object is initialized 2012-08-05 06:03:34 +09:00
Piro / SHIMODA Hiroshi
26d060919e Fix missing "this" problem 2012-08-05 05:58:35 +09:00