Commit Graph

103 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
72d38659d8 TreeStyleTabBase should not inherit "prefs" 2013-01-06 11:47:50 +09:00
YUKI Hiroshi
4797ddfb6b Don't raise error while dragging of non-tab objects over the tab bar 2012-12-21 13:56:46 +09:00
Piro / YUKI Hiroshi
196bb1e93c Calculate drop position correctly (fix https://github.com/piroor/treestyletab/issues/399#issuecomment-10961365) 2012-12-04 02:04:06 +09:00
Piro / YUKI Hiroshi
5e09e88bb2 Operate drag and drop of pinned tabs more correctly 2012-12-04 01:40:31 +09:00
Piro / YUKI Hiroshi
8e37edc535 find tab from screen coordinates more quickly 2012-12-04 01:16:20 +09:00
Piro / YUKI Hiroshi
8511c0e9ce Operate dragging of pinned tabs (not faviconized) correctly 2012-12-04 00:28:23 +09:00
YUKI Hiroshi
b38c6f8066 Optimize to collect "not dragged" tabs 2012-11-30 03:21:56 +09:00
YUKI Hiroshi
da462ef098 Fix behaviors around dragging of multiple tabs 2012-11-30 03:03:59 +09:00
YUKI Hiroshi
18d4fec990 Fix wrong dragging animations of pinned tabs in the vertical tab bar 2012-11-28 18:49:03 +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
147d38aef3 Accept drop of non-tab objects onto the tab bar correctly on Firefox 16 and olders 2012-10-14 03:54:46 +09:00
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