YUKI Hiroshi
a5d2fac9f1
Allow to disable "shrink others while dragging" feature
2016-09-13 12:42:34 +09:00
Piro / YUKI Hiroshi
787304666e
Remove obsolete codes
2016-09-05 01:17:10 +09:00
YUKI Hiroshi
3484e5c554
Fix indent
2016-08-26 20:02:07 +09:00
YUKI Hiroshi
40d47c2a8a
Attach duplicated tabs to the specified parent after they are completely duplicated
2016-08-26 20:01:42 +09:00
Piro / YUKI Hiroshi
b067c7e7a7
Handle dropped URLs onto the tab bar correctly on Firefox 48(49?) and later
2016-08-19 00:54:55 +09:00
YUKI Hiroshi
4583c22c26
Enlarge the droppable area for each tab.
...
Now, a half height of each tab becomes droppable area for the tab ifself. Fig:
+--------------------------+
|(drop area for "before") |
+--------------------------+
|+-+(drop area for the tab |
|+-+ itself) |
+--------------------------+
|(drop area for "after") |
+--------------------------+
2016-07-05 13:54:27 +09:00
YUKI Hiroshi
df4c1cfdad
Use more meaningful name
2016-07-05 13:54:27 +09:00
Piro / YUKI Hiroshi
479e6c5137
Accept text including whitespaces for drag and drop on the tab bar #633
...
Now such dropped text will be searched by the default search engine.
2016-02-20 16:10:59 +09:00
Piro / YUKI Hiroshi
833b1c924e
Search dragged text by dropping on the tab bar #634
2016-02-20 16:02:28 +09:00
YUKI Hiroshi
c955acefd2
Don't leave needless group tab after a tree is detached #1071
2016-02-18 20:13:41 +09:00
YUKI Hiroshi
af093118b4
Output more logs
2016-02-18 20:13:28 +09:00
YUKI Hiroshi
a82d5adac8
Output more debug log
2016-02-18 19:32:22 +09:00
YUKI Hiroshi
334fcbcf41
Output more debug logs
2016-02-18 19:29:41 +09:00
Piro / YUKI Hiroshi
573f1d179d
Move some utilities from TSTBase to TSTUtils
2016-02-13 01:01:44 +09:00
YUKI Hiroshi
e531d8cd93
Output debug log to the browser console also
2016-02-10 19:10:46 +09:00
YUKI Hiroshi
fe7cf571f5
Move XPath related utilities from TSTBase to TSTUtils
2016-02-10 17:42:37 +09:00
YUKI Hiroshi
fdc472441b
Move codes to override behaviors around bookmarks to a JS code module.
...
Moreover, it reduces use of eval.
2016-01-21 18:23:11 +09:00
Piro / YUKI Hiroshi
3fa5aec658
Add reference counter implementation to detect memory leak
2015-11-10 03:00:43 +09:00
Piro / YUKI Hiroshi
8cd426101a
Open bookmarks in a folder as tabs when a folder is dragged and dropped onto the tab bar.
...
The feature did not work on lately Firefox, like Firefox 45.0a1.
2015-11-07 17:00:23 +09:00
Piro / YUKI Hiroshi
c710ecc0b2
Add TODO comment
2015-11-07 15:53:56 +09:00
Piro / YUKI Hiroshi
55002c5b50
Fix indent
2015-11-07 15:48:38 +09:00
Piro / YUKI Hiroshi
dbd94d4b62
Use getShortcutOrURIAndPostData() directly
2015-11-07 15:48:11 +09:00
Piro / YUKI Hiroshi
852587b0cd
Allow to open new tab from dropped link again
2015-11-07 15:33:03 +09:00
YUKI Hiroshi
1029b40e09
Follow to changes introduced by the bug 1207594.
...
The method "_setEffectAllowedForDataTransfer" was renamed to "_getDropEffectForTabDrag".
2015-11-04 11:43:54 +09:00
YUKI Hiroshi
5bd7112a24
Control more debug prints by preferences
2015-10-26 16:37:28 +09:00
YUKI Hiroshi
de777e7ff2
Control debug prints via preferences
2015-10-26 16:32:31 +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
YUKI Hiroshi
cbf0cbd47e
Open new dummy tab when a blank bookmark folder is droppend to the tab bar (inspired from #923 )
2015-08-31 18:55:54 +09:00
Piro / YUKI Hiroshi
6352d57858
Remove deprecated JS1.7's let blocks
2015-02-27 00:59:31 +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
482bab417b
Use String#trim() instead of String#replace()
2014-03-31 15:10:51 +09:00
Piro / YUKI Hiroshi
8a2989c03e
Don't start dragging operation of the tab bar itself from a button which have its own popup menu ( #656 )
2014-02-09 01:06:35 +09:00
Piro / YUKI Hiroshi
905100500f
Accept drag and drop of the tab bar itself, on the blank area around pinned tabs
2014-02-09 01:00:04 +09:00
YUKI Hiroshi
c91ffcac54
Remove codes for outdated versions of Firefox
2014-01-30 12:36:36 +09:00
Piro / YUKI Hiroshi
e7afa3b86d
Allow to move pinned tabs by dragging correctly ( #585 )
2013-11-28 04:42:44 +09:00
Piro / YUKI Hiroshi
1198defd82
Detect drop position on pinned tabs correctly ( #585 )
...
This is partial fix.
2013-11-28 04:30:10 +09:00
Piro / YUKI Hiroshi
969372adea
Remove non-ASCII comment
2013-11-28 04:17:17 +09:00
Piro / YUKI Hiroshi
461a8aca98
Update credit
2013-11-10 04:28:07 +09:00
Piro / YUKI Hiroshi
c2fee561d1
Respect the behaviour of "Disable detach and tear off tab" ( #540 )
...
The addon provides ability to disable tearing off of dragged tab:
https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t/
but TST killed the feature...
2013-08-21 02:18:30 +09:00
Piro / YUKI Hiroshi
032d36d28c
Support getShortcutOrURIAndPostData() on Firefox 25 and later.
...
See also:
https://github.com/piroor/treestyletab/issues/524
https://bugzilla.mozilla.org/show_bug.cgi?id=846635
2013-07-27 03:47:53 +09:00
Piro / YUKI Hiroshi
a18af8638f
Deactivate debugging flag
2013-07-27 01:35:22 +09:00
Piro / YUKI Hiroshi
df8ccdd54d
Find "insert before" reference tab and move the dragged tab to the upper level correctly, even if the parent tab has no next sibling.
...
This should work for cases like #297 .
2013-07-27 00:19:47 +09:00
Piro / YUKI Hiroshi
873a810eb0
Suppress error while the last tabs is dragged over the tab itself
2013-07-26 23:42:11 +09:00
Piro / YUKI Hiroshi
6fe9401c39
Suppress errors while dragging the tab bar itself
2013-03-06 01:51:24 +09:00
Piro / YUKI Hiroshi
948883c891
Find pseudo drop target tab from the drop position for dragging on the bottom of the tab bar correctly ( #461 )
2013-03-06 00:26:23 +09:00
YUKI Hiroshi
cd858d12f3
Find pseudo drop target tab from the drop position for dragging on the top or bottom of the tab bar ( #461 )
2013-03-05 18:48:49 +09:00
Piro / YUKI Hiroshi
acd1d744f5
Move dragged tab to the correct position, even if there are hidden tabs.
2013-03-03 03:48:24 +09:00
Piro / YUKI Hiroshi
0140ae8a49
Make dragging tabs transparently always, to see the drop position marker
2013-03-02 22:22:50 +09:00