Commit Graph

140 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
5bd57741df Accept drop of non-tab objects onto the tab bar correctly 2012-10-14 03:47:34 +09:00
Piro / YUKI Hiroshi
9182259ab5 Update credit 2012-10-14 03:31:06 +09:00
Piro / YUKI Hiroshi
153f271479 Use Services.jsm 2012-10-13 04:18:59 +09:00
YUKI "Piro" Hiroshi
c5bb7ec8ad Merge pull request #349 from Infocatcher/patch-11
Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()
2012-10-12 12:16:41 -07:00
Piro / YUKI Hiroshi
49810b0f31 Restore opacity of dragged tabs correctly (again) 2012-10-13 03:16:08 +09:00
Piro / YUKI Hiroshi
c1770fe9f0 Restore opacity of dragged tabs correctly 2012-10-13 03:05:48 +09:00
Piro / YUKI Hiroshi
5dec3a90ce Make transparent dragged tabs when they are going to be dropped onto a tab 2012-10-13 02:56:02 +09:00
Piro / YUKI Hiroshi
0db8f5f765 Handle hidden/collapsed tabs while tab dragging correctly 2012-10-13 02:43:34 +09:00
Piro / YUKI Hiroshi
a314e75bdb Update visual effects for tab dragging animation correctly, for trees expanded while dragging 2012-10-13 02:18:16 +09:00
Piro / YUKI Hiroshi
b2a90224d6 Calculate drop position based on visual positions of tabs 2012-10-13 02:09:34 +09:00
Piro / YUKI Hiroshi
4d19cd75c6 Process animation effect for dragged tabs correctly 2012-10-13 00:37:03 +09:00
YUKI Hiroshi
d71a063db5 Update Multiple Tabs Drag and Drop Utilities 2012-10-11 20:03:40 +09:00
Piro / YUKI Hiroshi
a6792a2b4b Reduce usecases of evaluateXPath() 2012-09-23 15:43:49 +09:00
saneyuki_s
ee71d841c4 Call Services.io directly in modules/tabbarDNDObserver.js. 2012-09-18 01:18:05 +09:00
Infocatcher
790d3dfee0 Ignore wrong URIs in securityCheck()
Example: view-source:chrome://browser/content/tabbrowser.xml
2012-09-01 17:16:19 +04:00
Infocatcher
bc6912fe03 Inherit built-in dragDropSecurityCheck() behavior
See chrome://global/content/nsDragAndDrop.js
2012-09-01 17:01:38 +04:00
Piro / YUKI Hiroshi
baaede95a8 Fix wrong live preview of moving tabs after auto-expansion while dragging 2012-08-30 09:43:23 +09:00
Piro / YUKI Hiroshi
6393abb4c9 Show the dragged tab transparently if the tab is going to be dropped onto another tab 2012-08-30 06:25:59 +09:00
Piro / YUKI Hiroshi
11f725eb0b Handle automatically expanded trees correctly 2012-08-30 06:10:47 +09:00
Piro / YUKI Hiroshi
714d4a3771 Automatic expansion of collapsed trees while dragging works correctly 2012-08-30 06:04:01 +09:00
Piro / YUKI Hiroshi
4a8dd74cfb Don't set drop position marker for the dragged tab itself 2012-08-30 06:02:37 +09:00
Piro / YUKI Hiroshi
267ab40a9b Clear dragging status correctly for cross-window tab drag and drop 2012-08-30 05:48:28 +09:00
Piro / YUKI Hiroshi
929dbce943 Support live preview of tab dragging, for dragging on a tab to attach 2012-08-30 05:41:25 +09: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
13eee1e594 Skip missing nsIDragSession.sourceDocument
See https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIDragSession#Attributes
2012-08-29 18:29:04 +04:00
Infocatcher
5e39c1b25b Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()
Because checkLoadURIStr() are missing in Nightly
2012-08-29 14:23:05 +04:00
YUKI "Piro" Hiroshi
5a08ebf666 Merge pull request #345 from Infocatcher/patch-8
Optimize setAttribute/removeAttribute usage during DragOver (v.2)
2012-08-29 02:58:04 -07:00
Infocatcher
1c4409d85c Fix missing aEvent in securityCheck() 2012-08-29 13:16:42 +04:00
Infocatcher
03f41d9db4 Optimize setAttribute/removeAttribute usage during DragOver (v.2)
Should fix #331
2012-08-28 17:11:06 +04:00
Infocatcher
bc6015919a Convert from Shift-JIS to UTF-8 2012-08-28 16:52:13 +04:00
saneyuki_s
54a5d46758 Use Service.jsm in modules/ (exclude modules/lib/). 2012-08-13 14:58:40 +09:00
Piro / SHIMODA Hiroshi
ce6b3b95db Tree can be broken when the last child tab is moved to the upper level by drag and drop #297 2012-08-04 02:35:44 +09:00
Piro / SHIMODA Hiroshi
4e9e6100f2 Move the dragged pinned tab to the dropped position correctly when the drop target is also pinned. 2012-08-03 02:41:47 +09:00
SHIMODA Hiroshi
3fe6641839 Open new tabs at the dropped position for drag and drop of bookmark folders #316 2012-07-29 11:11:41 +09:00
SHIMODA Hiroshi
b64dbbda9f Open bookmark group as a tree if a bookmark folder is dropped to the tab bar (but not moved to the dropped position yet) #316 2012-07-29 04:08:57 +09:00
SHIMODA Hiroshi
4b34d12c74 Add codes to retrieve URLs from dropped bookmark folder on Firefox 13 and later (related to #316 ) 2012-07-29 02:32:57 +09:00
Piro / SHIMODA Hiroshi
5bec33ba6f Move the dragged tab to the correct position even if the drop target tab has no child. 2012-05-02 03:27:30 +09:00
Piro / SHIMODA Hiroshi
c3d5c3f296 Move tab to the upper level if it is dropped on the bottom area of its parent tab (fix for #249) 2012-02-29 01:50:24 +09:00
Piro / SHIMODA Hiroshi
1471fbd8da a link dropped onto the last parent tab was wrongly opened as the first child tab even if it should be opened as the last child. 2012-02-10 04:47:59 +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
59444c68a6 use Iterator instead of forEach (for performance optimization) 2012-02-05 03:15:38 +09:00
Piro / SHIMODA Hiroshi
4d816760b5 reduce obsolete version-specific logic and comments 2012-01-14 01:30:06 +09:00
Piro / SHIMODA Hiroshi
23e3457530 update version specific comments 2012-01-14 01:15:12 +09:00
SHIMODA Hiroshi
bcb8615f47 drop Firefox 3.6 support 2012-01-13 17:38:12 +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
Piro / SHIMODA Hiroshi
bcca67868e Fix broken behavior about tabs dropped on indented area (fix for https://github.com/piroor/treestyletab/issues/175 ) 2011-11-05 19:50:30 +09:00
Piro / SHIMODA Hiroshi
a3d1651ca7 update mail address 2011-11-02 02:43:39 +09:00
Piro / SHIMODA Hiroshi
24775182de failed to import/duplicate/move windows 2011-06-17 01:59:57 +09:00
Piro / SHIMODA Hiroshi
d6ccafc958 forgot to fix for new name 2011-06-16 00:31:26 +09:00
SHIMODA Hiroshi
f9e9e4efd4 new API, importTabs() (and moveTabs()) 2011-06-15 18:13:23 +09:00
SHIMODA Hiroshi
c39d55061a refactoring around performDrop() 2011-06-15 17:38:14 +09:00
SHIMODA Hiroshi
213aa81361 Merge branch 'master' of github.com:piroor/treestyletab 2011-06-15 15:44:15 +09:00
SHIMODA Hiroshi
a57bd32d1c split methods and define new utility API "collectRootTabs()" 2011-06-15 13:32:39 +09:00
Piro / SHIMODA Hiroshi
511348dd66 forgot to initialize as an empty array 2011-06-15 00:34:08 +09:00
Piro / SHIMODA Hiroshi
bb77306af2 dragging of multiple URIs causes error. 2011-06-15 00:29:36 +09:00
Piro / SHIMODA Hiroshi
75dc1da17d while dragging, auto-hidden tab bar should be expanded automatically 2011-06-13 02:03:50 +09:00
Piro / SHIMODA Hiroshi
dfcb7f14f3 don't cancel dragstart events from Multiple Tab Handler (fix for https://github.com/piroor/treestyletab/issues/118 ) 2011-06-02 09:27:18 +09:00
Piro / SHIMODA Hiroshi
7b7c7ba5e8 simplify 2011-05-28 09:18:44 +09:00
Piro / SHIMODA Hiroshi
cf8d2072a4 drag and drop of tabs between windows was broken (regression) 2011-05-28 06:21:48 +09:00
Piro / SHIMODA Hiroshi
dc5eda4278 extensions.treestyletab.tabbar.scrollToNewTab.mode didn't work for new tabs opened in the background (fix for http://piro.sakura.ne.jp/cgi-bin/bbs.cgi?2903 ) 2011-05-27 02:31:44 +09:00
SHIMODA Hiroshi
82abedc946 fix error on drag and drop on the tab bar 2011-05-26 12:17:48 +09:00
SHIMODA Hiroshi
e18da85c38 On Firefox 3.6, multiple tabs selected by Multiple Tab Handler couldn't be attached by drag and drop. (regression, fix for https://github.com/piroor/treestyletab/issues/110 ) 2011-05-24 18:41:18 +09:00
SHIMODA Hiroshi
e6aafebcc7 When collapsed tree is moved (not attached to another existing tab), tree was unexpectedly expanded. (fix for https://github.com/piroor/treestyletab/issues/106 ) 2011-05-17 09:24:19 +09:00
Piro / SHIMODA Hiroshi
4b8eb2cf6b when the last visible tab is collapsed, drop indicator wasn't shown. 2011-05-17 02:23:38 +09:00
Piro / SHIMODA Hiroshi
86d59ed306 don't drag whole tree if there is any selection 2011-04-27 02:44:19 +09:00
SHIMODA Hiroshi
9ad3ab64ff simplify 2011-04-08 12:20:25 +09:00
SHIMODA Hiroshi
0a0bf642a5 when selected tabs are dragged and there is any partially selected tree, only selected tabs should be moved. (not selected members in trees are ignored.) 2011-04-08 12:15:42 +09:00
SHIMODA Hiroshi
a3514bdd9a The drop indicator bar were unexpectedly shown on the vertical tab bar with some theme 2011-03-30 16:18:23 +09:00
Piro / SHIMODA Hiroshi
894198e0fc while tab dragging on tabs, collapsed tree weren't expanded automatically. 2011-03-24 03:30:01 +09:00
Piro / SHIMODA Hiroshi
9f89599dc4 Drag and drop of tabs to pinned tabs breaks tree of tabs. (Pinned tabs must not accept dropping of tabs ON it.) 2011-03-19 05:14:17 +09:00
Piro / SHIMODA Hiroshi
d0bf81b511 ignore drag and drop while toolbar customization (better compatibility with TotalToolbar http://totaltoolbar.mozdev.org/ ) 2011-02-19 20:27:30 +09:00
SHIMODA Hiroshi
3c38f43d5d Merge branch 'master' of github.com:piroor/treestyletab 2011-02-10 08:58:50 +09:00
SHIMODA Hiroshi
8e36e02926 add comment 2011-02-10 08:58:28 +09:00
Piro / SHIMODA Hiroshi
68e4690da8 failed to tear off selected tabs if the multiple tab handler is installed 2011-02-09 03:13:04 +09:00
Piro / SHIMODA Hiroshi
6d13730c64 when a tab is dropped out of windows, two windows were wrongly opened. 2011-02-09 02:56:33 +09:00
SHIMODA Hiroshi
4fab352cce fix compatibility issue with Multiple Tab Handler about drag and drop of multiple tabs between windows 2011-02-07 12:09:12 +09:00
SHIMODA Hiroshi
33044b454e drag and drop of text like "www.example.com" (without schema) is unexpectedly rejected by the security check. (fix for https://github.com/piroor/treestyletab/issues#issue/37 ) 2011-02-07 10:45:59 +09:00
SHIMODA Hiroshi
f3292d295d referred undefined constant 2011-01-24 13:27:41 +09:00
Piro / SHIMODA Hiroshi
9bb9f05685 when a collapsed tree was moved, children unexpectedly stayed open. (fix for https://github.com/piroor/treestyletab/issues#issue/31 ) 2011-01-24 09:13:23 +09:00
Piro / SHIMODA Hiroshi
be197178b5 allow to change the tab bar position without changing the preference 2011-01-23 00:46:29 +09:00
Piro / SHIMODA Hiroshi
5ba83972c4 the orient of the tab bar was wrongly recognized when sycnReinitiTabbar. 2011-01-22 23:43:55 +09:00
Piro / SHIMODA Hiroshi
bd0e8b39e5 remove needless codes 2011-01-20 01:31:22 +09:00
SHIMODA Hiroshi
c117ad1ccf drop indicator of the tab bar is shown wrongly for vertical tab bar. 2011-01-19 19:03:40 +09:00
SHIMODA Hiroshi
efca844cf5 don't select dragged tabs 2010-12-20 16:24:47 +09:00
SHIMODA Hiroshi
a1b73fb9a2 to feedback actual behavior, select dragged tabs automatically if MTH is installed 2010-12-20 15:46:38 +09:00
SHIMODA Hiroshi
b2a72cdc8d fix error on dragging the tab bar if there are only pinned tabs 2010-12-07 12:40:41 +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