Commit Graph

68 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
c42e2415d8 Calculate required size for a tree more smartly 2016-03-06 00:34:27 +09:00
Piro / YUKI Hiroshi
32d71fb1f1 Make column width configurable 2016-03-05 14:47:55 +09:00
Piro / YUKI Hiroshi
1624bc751c Remove needless blank line 2016-03-05 12:50:52 +09:00
Piro / YUKI Hiroshi
7bbfcbc594 Don't show scroll buttons if they are not required 2016-03-05 12:49:56 +09:00
Piro / YUKI Hiroshi
a4ea563639 Determine number of columns more smartly 2016-03-05 12:35:49 +09:00
Piro / YUKI Hiroshi
392b48ee88 Fix indent 2016-03-04 22:26:51 +09:00
Piro / YUKI Hiroshi
7710adbd9a Calculate number of columns by self only when it is needed 2016-03-04 22:26:26 +09:00
Piro / YUKI Hiroshi
c5dbe0627d Calculate size of the tooltip and reposition more correctly & smartly 2016-02-20 02:15:45 +09:00
YUKI Hiroshi
e07384795a Show whole tree correctly even if there is caption 2016-02-19 20:55:04 +09:00
YUKI Hiroshi
745c53ba24 Output stack trace why the tooltip is closed 2016-02-19 20:49:03 +09:00
YUKI Hiroshi
77a212e1b0 Reduce needless log 2016-02-19 20:48:52 +09:00
YUKI Hiroshi
13bf7d0fc0 Separate method to reposition tooltip 2016-02-19 20:48:39 +09:00
YUKI Hiroshi
f7f1ab7762 Ignore other events while tooltip resizing 2016-02-19 20:48:03 +09:00
YUKI Hiroshi
44c3c288aa Shrink column count automatically by pseudo tree builder itself 2016-02-19 20:19:52 +09:00
YUKI Hiroshi
a5f7dbe501 Show multi column tree more smartly 2016-02-19 20:16:41 +09:00
YUKI Hiroshi
bff7c1c776 Ignore transition for non-size properties 2016-02-19 20:16:09 +09:00
YUKI Hiroshi
56b4bfb716 Don't hide full tooltip while it is showing 2016-02-19 18:37:18 +09:00
YUKI Hiroshi
56186c4c28 Output more logs 2016-02-19 18:37:05 +09:00
YUKI Hiroshi
b879844bca Better positioning of full tooltip 2016-02-19 18:36:42 +09:00
YUKI Hiroshi
a6ea63feed Relabel 2016-02-19 17:46:13 +09:00
YUKI Hiroshi
1b0f1b1f50 Output more debug logs 2016-02-19 17:45:13 +09:00
Piro / YUKI Hiroshi
115cbc1e61 Rearrange methods by their executed order 2016-02-19 00:24:57 +09:00
Piro / YUKI Hiroshi
b040f2db20 Don't show the container larger than the tooltip itself 2016-02-19 00:14:04 +09:00
Piro / YUKI Hiroshi
a97c42c4d1 Clear fake tree when the tooltip is hidden 2016-02-19 00:08:09 +09:00
Piro / YUKI Hiroshi
409103c9ba Show full tooltip with correct size enough to show its contents 2016-02-18 23:59:44 +09:00
Piro / YUKI Hiroshi
961477b0ca Output more debug log for full tooltip 2016-02-18 23:12:24 +09:00
Piro / YUKI Hiroshi
45c0b300b8 Fix indent 2016-02-16 01:33:15 +09:00
Piro / YUKI Hiroshi
d1200d2264 Add secret preferences to disable multicolumn pseud tree
* extensions.treestyletab.groupTab.columnize
 * extensions.treestyletab.tooltip.columnize
2016-02-16 01:32:56 +09:00
Piro / YUKI Hiroshi
0d6e26585e Support multicolumn full tooltip 2016-02-16 01:24:36 +09:00
Piro / YUKI Hiroshi
7c2b939cab Don't show too large tooltip 2016-02-16 00:10:59 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
Piro / YUKI Hiroshi
8185bafaae Define global symbol which to be exported, by "var" instead of "const".
This should avoid the issue caused by new behavior of ES6 "const".
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-10-11 12:40:17 +09:00
Piro / YUKI Hiroshi
6352d57858 Remove deprecated JS1.7's let blocks 2015-02-27 00:59:31 +09:00
YUKI Hiroshi
901542a526 Update comment for future versions without nsIPopupBoxObject 2014-11-11 18:47:58 +09:00
YUKI Hiroshi
09f43c8f84 Use LF instead of CRLF 2014-09-30 20:09:27 +09:00
Piro / YUKI Hiroshi
66eb630cdf Revert "Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely."
This reverts commit f4fb6174d2.

This change breaks other features...
2014-07-02 04:44:43 +09:00
Piro / YUKI Hiroshi
f4fb6174d2 Read value of custom attributes of tabs via TSTBase.getTabAttribute() safely.
Tab's ID and other attributes saved via setTabValue is not available before the tab is completely restored.
As the result, TST sometimes fail to restore tab positions. (See: #676)
This issue doesn't happen on Firefox 24ESR, because recent Firefox (29 and later) uses message manager to restore tabs and it causes such "delay" of initializations about custom attributes.
2014-07-02 04:29:49 +09:00
YUKI Hiroshi
fd6c08937a Use Object.create to create subclasses 2014-04-02 19:25:51 +09:00
YUKI Hiroshi
482bab417b Use String#trim() instead of String#replace() 2014-03-31 15:10:51 +09:00
Piro / YUKI Hiroshi
8b3792b312 Use CustomEvent instead of DataContainerEvent.
DataContainerEvent is going to be deprecated.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=980134
2014-03-12 01:50:40 +09:00
Piro / YUKI Hiroshi
461a8aca98 Update credit 2013-11-10 04:28:07 +09:00
Piro / YUKI Hiroshi
d2ff4f545e Show the full tooltip near the original tooltip correctly, even if there are multiple screens. (#302) 2013-10-09 01:09:01 +09:00
saneyuki_s
a7fc238e4e Move string bundles to TreeStyleTabUtils. 2013-01-03 11:08:25 +09:00
YUKI Hiroshi
8a490b0f12 Update credits 2012-11-21 11:06:11 +09:00
Piro / YUKI Hiroshi
450fa34790 Simplify codes to load modules lazily 2012-11-11 22:48:42 +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
saneyuki_s
f4340866c0 Rename the file name to modules/base.js from modules/utils.js . 2012-09-27 15:46:51 +09:00
saneyuki_s
f27cfc745a Rename to 'TreeStyleTabBase' from 'TreeStyleTabUtils'. 2012-09-27 15:40:14 +09:00