Commit Graph

2755 Commits

Author SHA1 Message Date
saneyuki_s
7db770368d Remove currently needless code. 2012-09-18 02:08:36 +09:00
YUKI "Piro" Hiroshi
b6ec11c81e Merge pull request #363 from saneyuki/io
Call Services.io directly.
2012-09-17 09:20:01 -07:00
saneyuki_s
ee71d841c4 Call Services.io directly in modules/tabbarDNDObserver.js. 2012-09-18 01:18:05 +09:00
saneyuki_s
c1c3faac5f Use Service.jsm in components/AboutGroup.js. 2012-09-18 01:18:05 +09:00
saneyuki_s
2cff8ebc48 Remove TreeStyleTabUtils.IOService. 2012-09-18 01:18:05 +09:00
YUKI "Piro" Hiroshi
37a21325a9 Merge pull request #362 from saneyuki/obs
Remove TreeStyleTabUtils.ObserverService.
2012-09-17 09:02:56 -07:00
YUKI "Piro" Hiroshi
3491a4cfd7 Merge pull request #361 from saneyuki/PseudoTreeBuilder
Define PseudoTreeBuilder without inheriting TreeStyleTabUtils
2012-09-17 08:47:06 -07:00
saneyuki_s
3941b88b1f Remove TreeStyleTabUtils.ObserverService. 2012-09-18 00:31:48 +09:00
saneyuki_s
6a5d12915e Use XPCOMUtils.defineLazyModuleGetter() to import |TreeStyleTabUtils| in modules/pseudoTreeBuilder.js. 2012-09-17 23:47:46 +09:00
saneyuki_s
a856ba112f Remove setting PseudoTreeBuilder.__proto__. Call TreeStyleTabUtils' methods directly. 2012-09-17 23:41:05 +09:00
Piro / YUKI Hiroshi
03723bd457 Fix typo (fix #359) 2012-09-15 21:53:22 +09:00
Piro / YUKI Hiroshi
18639ccbea Don't override BrowserReloadOrDuplicate, BrowserForward, BrowserBack, and gotoHistoryIndex anymore 2012-09-15 12:32:58 +09:00
Piro / YUKI Hiroshi
f4d43a5d93 Don't duplicate tab on reloading 2012-09-15 12:19:07 +09:00
Piro / YUKI Hiroshi
d7121d9042 Simplify codes dynamically inserted by eval() 2012-09-15 12:09:15 +09:00
YUKI Hiroshi
d1977a1695 Merge branch 'master' of github.com:piroor/treestyletab 2012-09-03 10:25:29 +09:00
YUKI Hiroshi
5825e5e9cc Replace "new Date.getTime()" with "Date.now()" 2012-09-03 10:25:08 +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
1aa4f0e97a Rename preferences for vertical tab bar with the suffix ".vertical" 2012-08-31 03:48:00 +09:00
YUKI "Piro" Hiroshi
5a430dd3a7 Merge pull request #351 from Infocatcher/patch-12
Add separate indent preferences for horizontal tabs
2012-08-30 11:42:26 -07: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
Infocatcher
5f29a2dc5f Add separate indent preferences for horizontal tabs
Note: original code doesn't handle "extensions.treestyletab.indent.min" change.
2012-08-30 21:46:50 +04:00
Infocatcher
47ab810c5e Add separate indent preferences for horizontal tabs 2012-08-30 21:42:56 +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
YUKI Hiroshi
0f72c2634f Update buildscript 2012-08-29 18:43:18 +09:00
YUKI "Piro" Hiroshi
c8df61797c Merge pull request #348 from Infocatcher/patch-10
Fix missing aEvent in securityCheck()
2012-08-29 02:34:27 -07:00
Infocatcher
1c4409d85c Fix missing aEvent in securityCheck() 2012-08-29 13:16:42 +04:00
YUKI "Piro" Hiroshi
a516ba3ce6 Merge pull request #346 from Infocatcher/patch-9
Add *.default preferences for tab bar size (v.2)
2012-08-28 06:54:23 -07:00
Infocatcher
ddeddd38ee Reset tab bar height only using left double click 2012-08-28 17:21:46 +04:00
Infocatcher
54b62268a9 Add handling of *.default preferences for tab bar size 2012-08-28 17:16:16 +04:00
Infocatcher
386328de35 Add *.default preferences for tab bar size 2012-08-28 17:14:15 +04:00
Infocatcher
03f41d9db4 Optimize setAttribute/removeAttribute usage during DragOver (v.2)
Should fix #331
2012-08-28 17:11:06 +04:00
YUKI "Piro" Hiroshi
99f76b267c Merge pull request #344 from Infocatcher/patch-7
Convert source from Shift-JIS to UTF-8
2012-08-28 05:59:08 -07:00
Infocatcher
76defb974a Convert from Shift-JIS to UTF-8 2012-08-28 16:53:25 +04:00
Infocatcher
bc6015919a Convert from Shift-JIS to UTF-8 2012-08-28 16:52:13 +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