Piro / YUKI Hiroshi
ff2d3caed5
Don't redefine gBrowserInit._delayedStartup() with eval() to avoid errors from mismatched variable scopes.
...
I don't know why but redefined function with eval() has a variable scope different from its original one, and fails to access gSessionHistoryObserver defined in Firefox's script with "const" statement. So I gave up to use eval() hack.
2015-10-10 19:19:11 +09:00
YUKI Hiroshi
4a6901d499
Hide needless gray box for hidden pinned tabs
2015-10-05 16:27:18 +09:00
YUKI Hiroshi
f30652bef7
Hide pinned tabs in collapsed tab bar
2015-10-05 16:23:44 +09:00
YUKI Hiroshi
20ada7e5d8
Don't show gray rect of pinned tabs on full screen videos
...
See also: #950
2015-10-02 16:26:00 +09:00
Piro / YUKI Hiroshi
dd6a01532d
Add credit
2015-09-29 06:18:14 +09:00
Piro / YUKI Hiroshi
2018b2063e
Apply new size of the tab bar specified at the configuration dialog, for all windows
2015-09-29 04:50:16 +09:00
Piro / YUKI Hiroshi
b1b886d27d
Suppress error on window closing
2015-09-29 03:47:29 +09:00
YUKI Hiroshi
3a9e922175
Re-introduce configuration UI to change fixed/unfixed and the size of the tab bar #940
2015-09-28 21:32:06 +09:00
YUKI Hiroshi
064578b3e0
Open child tab correctly with middle click on "view image" in the context menu
2015-09-03 16:24:28 +09:00
YUKI Hiroshi
84d73d7471
Fix indent
2015-08-28 18:27:03 +09:00
YUKI Hiroshi
7831a6b6cc
Remove codes for old Firefox
2015-08-28 18:26:30 +09:00
YUKI Hiroshi
e1198f1ef3
Remove debug print
2015-08-28 18:23:08 +09:00
YUKI Hiroshi
e2b143b372
Fix indent
2015-08-28 18:22:44 +09:00
YUKI Hiroshi
01dab35627
Open new tabs from the about:sync-tabs page as children correctly on lately Firefox
2015-08-28 18:22:19 +09:00
YUKI Hiroshi
bea74f32ba
Call renamed methods correctly
2015-08-28 17:39:58 +09:00
YUKI Hiroshi
15666abfcb
Call renamed methods correctly
2015-08-28 17:39:04 +09:00
Piro / YUKI Hiroshi
5380304aa8
Simplify #887
2015-08-19 01:24:54 +09:00
Piro / YUKI Hiroshi
dd2f17dd53
Show/hide UI to manage parent tab correctly on Firefox 40 and later #887
2015-08-19 01:12:07 +09:00
Piro / YUKI Hiroshi
289057ce55
Fix indent #887
2015-08-19 01:03:01 +09:00
Piro / YUKI Hiroshi
4abc4413e9
Initialize "edit" UI of a bookmark correctly for Firefox 40 and later #887
2015-08-19 00:59:16 +09:00
Piro / YUKI Hiroshi
c3adaabacf
Fix mismatched method call on quitEditMode #887
2015-08-19 00:27:45 +09:00
Piro / YUKI Hiroshi
80938e8858
Replace functions entirely instead of partial patching.
...
This should fix #887 partially. However, when I click the star button twice, there still be another error like:
~~~
treestyletab: doPatching: gEditItemOverlay._showHideRows is missing! utils.js:319:0
treestyletab: Failed to patch to gEditItemOverlay.initPanel: function initPanel(aInfo) {
if (typeof(aInfo) != "object" || aInfo === null)
throw new Error("aInfo must be an object.");
// For sanity ensure that the implementer has uninited the panel before
// trying to init it again, or we could end up leaking due to observers.
if (this.initialized)
this.uninitPanel(false);
let { itemId, itemGuid, isItem,
isURI, uri, title,
isBookmark, bulkTagging, uris,
visibleRows } = this._setPaneInfo(aInfo);
let showOrCollapse =
(rowId, isAppropriateForInput, nameInHiddenRows = null) => {
let visible = isAppropriateForInput;
if (visible && "hiddenRows" in aInfo && nameInHiddenRows)
visible &= aInfo.hiddenRows.indexOf(nameInHiddenRows) == -1;
if (visible)
visibleRows.add(rowId);
return !(this._element(rowId).collapsed = !visible);
};
if (showOrCollapse("nameRow", !bulkTagging, "name")) {
this._initNamePicker();
this._namePicker.readOnly = this.readOnly;
}
// In some cases we want to hide the location field, since it's not
// human-readable, but we still want to initialize it.
showOrCollapse("locationRow", isURI, "location");
if (isURI) {
this._initLocationField();
this._locationField.readOnly = this.readOnly;
}
// hide the description field for
if (showOrCollapse("descriptionRow", isItem && !this.readOnly,
"description")) {
this._initDescriptionField();
this._descriptionField.readOnly = this.readOnly;
}
if (showOrCollapse("keywordRow", isBookmark, "keyword")) {
this._initKeywordField();
this._keywordField.readOnly = this.readOnly;
}
// Collapse the tag selector if the item does not accept tags.
if (showOrCollapse("tagsRow", isURI || bulkTagging, "tags"))
this._initTagsField().catch(Components.utils.reportError);
else if (!this._element("tagsSelectorRow").collapsed)
this.toggleTagsSelector().catch(Components.utils.reportError);
// Load in sidebar.
if (showOrCollapse("loadInSidebarCheckbox", isBookmark, "loadInSidebar")) {
this._initLoadInSidebar();
}
// Folder picker.
// Technically we should check that the item is not moveable, but that's
// not cheap (we don't always have the parent), and there's no use case for
// this (it's only the Star UI that shows the folderPicker)
if (showOrCollapse("folderRow", isItem, "folderPicker")) {
let containerId = PlacesUtils.bookmarks.getFolderIdForItem(itemId);
this._initFolderMenuList(containerId);
}
// Selection count.
if (showOrCollapse("selectionCount", bulkTagging)) {
this._element("itemsCountText").value =
PlacesUIUtils.getPluralString("detailsPane.itemsCountLabel",
uris.length,
[uris.length]);
}
// Observe changes.
if (!this._observersAdded) {
PlacesUtils.bookmarks.addObserver(this, false);
window.addEventListener("unload", this, false);
this._observersAdded = true;
}
}
~~~
2015-08-19 00:25:47 +09:00
Xidorn Quan
1e8a1bc324
Fix Fullscreen API issue for Firefox 41+.
...
This is a change from bug 1161802 which makes the "fullscreen" event be
triggered after window.fullScreen value flips.
2015-08-18 12:11:23 +10:00
Xidorn Quan
075487b836
Fix sidebar in fullscreen mode for Firefox 40+.
...
This is a change from bug 947854 where FullScreen.mouseoverToggle is
replaced with FullScreen.{show,hide}NavToolbox. This fix detects this
and do patching accordingly.
2015-08-18 12:10:08 +10:00
Piro / YUKI Hiroshi
3eaae4cbcf
Unregister event listener for SSWindowStateBusy correctly
2015-06-11 03:08:54 +09:00
YUKI Hiroshi
94428a1b2d
Fix typo: handle DOMContentLoaded events correctly
2015-05-11 18:48:27 +09:00
YUKI Hiroshi
a22337abde
Scroll to opened tab group after expanding animation is finished
2015-03-19 11:46:48 +09:00
YUKI Hiroshi
a8d490f468
Scroll to pened tab group with delay to avoid canceling by other triggers
2015-03-19 11:24:41 +09:00
YUKI Hiroshi
2e484f9026
Don't scroll to group tabs opened in the background
2015-03-19 10:55:06 +09:00
YUKI Hiroshi
609400e19a
Scroll to opened tab group even if TMP is not installed
2015-03-19 10:47:49 +09:00
YUKI Hiroshi
65007f64e6
Scroll to tabs opened from a bookmark folder
2015-03-19 10:25:25 +09:00
Piro / YUKI Hiroshi
9f59a6ebe7
Don't do smooth scroll if it is expressly forbidden
2015-03-18 02:33:41 +09:00
YUKI Hiroshi
283a79e56c
Always override ensureElementIsVisible() if animation effect is active
2015-03-17 17:59:20 +09:00
YUKI Hiroshi
784f3d875a
Fix indent
2015-03-17 17:52:26 +09:00
YUKI Hiroshi
f639cf2145
Don't update ensureElementIsVisible() twice
2015-03-17 17:52:08 +09:00
YUKI Hiroshi
0d1973ced9
Update Firefox's ensureElementIsVisible() of the tab bar without eval()
2015-03-17 17:48:36 +09:00
Piro / YUKI Hiroshi
f5682bef76
Patch for gBrowserInit._delayedStartup more surely
2015-03-05 23:35:09 +09:00
Piro / YUKI Hiroshi
1cc22a7460
Open child tabs correctly from the search bar on Firefox 36 and later
2015-03-04 02:39:05 +09:00
Piro / YUKI Hiroshi
c93270dff6
Better compatibility with Duplicate in Tab Context Menu addon #835
...
https://addons.mozilla.org/firefox/duplicate-in-tab-context-menu/
2015-03-02 01:53:24 +09:00
YUKI Hiroshi
9463bb8062
Use rest parameters instead of "arguments".
...
Because "arguments"-specific features are not used here.
2015-02-27 10:57:43 +09:00
YUKI Hiroshi
5c323d143b
Update appearance after the sidebar is shown/hidden at Firefxo 39 and later #849
2015-02-27 10:49:39 +09:00
YUKI Hiroshi
42c24c1628
Patch to toggleSidebar only when possible.
...
The function will be removed in the future by changes introduced at https://bugzilla.mozilla.org/show_bug.cgi?id=1123517
2015-02-27 10:24:18 +09:00
Piro / YUKI Hiroshi
9e51001b51
Fix too deep indent
2015-02-27 00:56:15 +09:00
Piro / YUKI Hiroshi
2ea151b856
Remove deprecated JS1.7's let blocks
2015-02-27 00:55:36 +09:00
YUKI Hiroshi
c769438610
Update code for removed nsIPopupBoxObject interface.
...
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=979835
2015-02-26 19:35:29 +09:00
LordJZ
cdc37508f6
Update click hook for Bug 1108555 changes
...
Commit that broke compatibility:
3db60dbec7 (diff-1)
Should be backwards compatible.
2014-12-25 01:10:20 +03:00
YUKI Hiroshi
ddb87ab83a
Follow to changes introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=1058116
2014-11-19 12:25:22 +09:00
Piro / YUKI Hiroshi
6c709c6a61
Save chosen parent tab by bookmarks property dialog correctly
2014-11-13 02:25:05 +09:00
Piro / YUKI Hiroshi
3de030ce48
Report errors if TST fails to apply patch to Firefox's functions
2014-11-13 02:13:23 +09:00
Piro / YUKI Hiroshi
1e8bad6e2e
Save changed "parent tab" setting in the bookmarks properties dialog correctly.
...
The feature was broken by patches introduced by the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=575955
2014-11-13 00:41:41 +09:00
YUKI Hiroshi
652b9e2303
Fix typo: missing "S"
2014-11-12 12:11:37 +09:00
Piro / YUKI Hiroshi
2e6c885ba3
Restore closed tabs at once correctly, even if e10s is activated.
2014-11-12 03:58:09 +09:00
YUKI Hiroshi
97a87d0b1a
Remove obsolete "stopRendering" module
2014-11-11 18:58:31 +09:00
YUKI Hiroshi
06c89a80c2
Check existence of plugin area in the current tab asynchronously with e10s
2014-11-11 18:42:30 +09:00
YUKI Hiroshi
02bcfe5d8b
Handle mouse events for auto hide feature by a frame script, for e10s
2014-11-11 17:45:12 +09:00
YUKI Hiroshi
b871d1ab4e
Fix broken drag and drop of bookmarks on Firefox 35 and later
2014-10-22 14:51:02 +09:00
Piro / YUKI Hiroshi
e62cd87bff
Open new tabs from target="_blank" links as children of the current tab, when e10s is enabled.
2014-10-02 02:51:43 +09:00
YUKI Hiroshi
eb42092e49
Use DOM constructor instead of XPCOM interface to detect DOM element
2014-09-30 21:19:33 +09:00
YUKI Hiroshi
2b4be0cdfc
Update library
2014-09-30 21:11:12 +09:00
YUKI Hiroshi
09f43c8f84
Use LF instead of CRLF
2014-09-30 20:09:27 +09:00
YUKI Hiroshi
c595c8ba22
Restore tree structure with multiple trees from bookmarks correctly, even if the dummy tab is disabled. ( #662 )
2014-09-30 19:59:15 +09:00
YUKI Hiroshi
5e498bd0ac
Use LF instead of CRLF
2014-09-30 19:48:58 +09:00
YUKI Hiroshi
af6e5d0ba7
Don't open new tab from Ctrl-T as a new tab from content link
2014-09-30 15:12:29 +09:00
YUKI Hiroshi
19d2ded9d1
Stringify saved value
2014-09-30 14:42:28 +09:00
John Schoenick
0cc0714723
Fix click hook for nesting new tabs in e10s mode
2014-08-27 16:17:00 -07:00
John Schoenick
8fa1d76281
Fix click->open link handler for bug 1050447/Fx 34
2014-08-27 16:17:00 -07:00
Piro / YUKI Hiroshi
503803c076
Drop support for Firefox 30 or older versions.
...
Because Firefox 31 becomes new ESR.
2014-07-27 02:44:23 +09:00
Piro / YUKI Hiroshi
a1ced64bfb
Don't reassign a global variable. ( fix #741 )
...
With the preference "dom.compartment_per_addon"="true", updated gBrowserInit._delayedStartup cannot reassign a global variable defined by Firefox itself.
Accessing it as a property of the global object is not forbidden for now.
2014-06-30 01:48:51 +09:00
YUKI Hiroshi
10c32959b2
Fix broken ternary operation
2014-05-14 11:57:36 +09:00
Piro / YUKI Hiroshi
275d0bb4db
Add reason why we use white screen
2014-05-10 19:22:24 +09:00
Vlastimil Ovčáčík
2a865e5549
Fixes piroor/treestyletab/#710.
...
Changes background color of dummy almost transparent element spread over
Firefox content area from black to white. The near transparent element may
change website tone with inverse color. Therefore white dummy element will
affect only black websites since this commit.
2014-05-08 12:59:13 +02:00
Piro / YUKI Hiroshi
9cce7b81ca
Open new tabs from Tile Tabs as next sibling tab
2014-05-06 00:53:15 +09:00
Piro / YUKI Hiroshi
dd45a2a080
Open new tab by Tile Tabs as a child of the current tab
2014-05-06 00:45:04 +09:00
Piro / YUKI Hiroshi
5d53c82533
Improve compatibility with TabsInTitlebar module
2014-05-05 17:37:43 +09:00
Piro / YUKI Hiroshi
cb33e92629
Hide pinned tabs completely on dom-fullscreen-mode ( #692 )
2014-05-01 01:03:26 +09:00
Piro / YUKI Hiroshi
392107c238
Override the function handleLinkClick on DOMContentLoaded event,before NoScript replaces the function ( #687 )
2014-04-29 17:50:12 +09:00
YUKI Hiroshi
d72b5924e7
Override z-index of the #tabbrowser-tabs specified by Firefox itself ( #686 )
2014-04-23 12:14:30 +09:00
YUKI Hiroshi
8db6b008ae
Follow to changes introduced by the bug 971630 ( fix #685 )
...
Changes introduced by this diff break TST.
http://hg.mozilla.org/mozilla-central/diff/6aef8ef7d775/browser/base/content/tabbrowser.xml
2014-04-17 20:05:05 +09:00
YUKI Hiroshi
1c7dc63075
Fix typo ( #683 )
...
"Add Dictionaries" context menu item didn't work.
2014-04-10 13:18:44 +09:00
Piro / YUKI Hiroshi
45bc798e2a
Fix syntax error
2014-04-03 00:29:16 +09:00
YUKI Hiroshi
5d5e77a110
Update library
2014-04-02 19:32:31 +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
35c5e99d30
Update library
2014-03-12 01:34:33 +09:00
YUKI Hiroshi
c05c58347b
Remove needless blank line
2014-03-11 11:29:02 +09:00
YUKI Hiroshi
6c2ec01c51
Split checkbox for splitted two prefs
2014-03-11 11:21:59 +09:00
Piro / YUKI Hiroshi
2f51f15265
Open tabs as children, from the "search by" in the context menu. ( #655 )
...
It worked in old versions, but killed by changes of Firefox itself.
2014-02-08 17:56:43 +09:00
YUKI Hiroshi
c91ffcac54
Remove codes for outdated versions of Firefox
2014-01-30 12:36:36 +09:00
Piro / YUKI Hiroshi
61a06e4a74
Apply TST's custom biding for the tab bar even if there is no "tabsontop=true" attribute.
...
An existing profile can have tabsontop=true attribute in the localstore.rdf but a new profile doesn't.
2014-01-30 02:19:59 +09:00
Piro / YUKI Hiroshi
728f16434a
Fix indent
2014-01-29 02:29:49 +09:00
Piro / YUKI Hiroshi
658a48a4f8
Open bookmark folder as a tree correctly, even if the user don't want to open a dummy grouping tab.
2014-01-29 02:27:35 +09:00
Piro / YUKI Hiroshi
6ab9607264
Re-align
2014-01-29 02:04:24 +09:00
Piro / YUKI Hiroshi
412279af1a
Remove obsolete code
2014-01-29 02:03:43 +09:00
Piro / YUKI Hiroshi
c82e735bb0
Better compatibility with [Tab Control]( https://addons.mozilla.org/firefox/addon/tab-control ) #636
2014-01-29 01:53:58 +09:00
Piro / YUKI Hiroshi
7f3fdb1ab1
Remove codes for "replace current one tab".
...
Because it was removed on Firefox 8. These codes are already expired.
2014-01-29 01:35:13 +09:00
Piro / YUKI Hiroshi
5587ca68c6
Handle sizemode change by MutationObserver
2013-12-01 01:09:05 +09:00
Piro / YUKI Hiroshi
cb50e1cecf
Open tabs from GM_openInTab as children of the tab #614
2013-11-29 02:35:58 +09:00
Piro / YUKI Hiroshi
e66b5949bc
Override binding of the tab bar and other toolbars correctly on both Australis and non-Australis environments
2013-11-29 02:02:53 +09:00
Piro / YUKI Hiroshi
fcd1b04aa2
Remove legacy codes before "beforecustomization" and "aftercustomization" are landed
2013-11-29 01:43:43 +09:00
Piro / YUKI Hiroshi
dce660e49d
Show fullscreen window control (closebox, etc.) in the navigation bar when TST is activated. #613
2013-11-29 01:18:37 +09:00
Piro / YUKI Hiroshi
8a4a8a996f
Apply TST's binding to the tabs toolbar even if lightweight theme is applied
2013-11-29 01:01:54 +09:00
Piro / YUKI Hiroshi
02afd56637
Open search results from Context Search as a child tab of the current tab ( #616 )
...
http://www.cusser.net/extensions/contextsearch/
2013-11-28 03:53:22 +09:00
Piro / YUKI Hiroshi
2bfa8d7f4a
Revert "Use SessionStore.jsm only."
...
This reverts commit 97637256a8
.
This fixes a breakage of session restoration behaviors. The public symbol "SessionStore" doesn't have "TabRestoreStates", it is not exported.
2013-11-13 02:15:55 +09:00
Piro / YUKI Hiroshi
10817a04d0
Bump revision of tabsDragUtils.js
...
8467790918
2013-11-06 23:07:01 +09:00
Tetsuharu OHZEKI
97637256a8
Use SessionStore.jsm only.
2013-11-06 22:46:25 +09:00
Piro / YUKI Hiroshi
037ed95977
Process iterator by a common utility
2013-10-30 02:11:31 +09:00
Piro / YUKI Hiroshi
c10e126000
Build menulist items for sibling bookmarks in the folder progressively.
...
I think this can become a workaround for #398 .
2013-10-30 01:55:46 +09:00
Piro / YUKI Hiroshi
63114ca99f
Don't activate UI to manage tree relations for bookmarks in the "unsorted bookmarks" folder.
...
We often store very large number of items into the folder, however we'll never open them as a group of bookmarks via middle click on the folder. On the other hand, if there are too many sibling bookmarks, TST can freeze to initialize the list of siblings. So I decided to disable the UI for bookmarks in the "unsorted bookmarks" folder. This decision is related to the issue #398 .
2013-10-30 01:40:20 +09:00
YUKI Hiroshi
163df63f04
Hide vertical tab bar in the DOM-fullscreen mode (ex. YouTube) ( #564 )
2013-10-01 10:20:02 +09:00
YUKI Hiroshi
dd1a76fd64
Don't hide browser UI for builtin "about:*" pages with the vertical tab bar
2013-09-13 19:33:26 +09:00
Piro / YUKI Hiroshi
6bce4e5e19
Inherit width, height, and others via xbl:inherits ( #550 )
...
The inner box of the tab bar should inherit width, height, and other attributes given via setTabbrowserAttribute(), from the parent element. However, if the binding is re-assigned again and again, then it can happen infinitely loop when the inheritance is done by xbl:constructor.
2013-08-28 02:25:49 +09:00
Piro / YUKI Hiroshi
45f5df5b45
Initialize list of sibling bookmark items progressively ( #478 )
2013-08-22 00:15:11 +09:00
YUKI Hiroshi
23b1a043ef
Add customizability for newly opened temporary groups ( #537 )
2013-08-21 17:34:07 +09:00
YUKI Hiroshi
c9b3bcd5d0
Add "temporary group" checkbox
2013-08-21 13:51:03 +09:00
YUKI Hiroshi
c22c03186f
Open temporary group tabs with "temporary=true" parameter
2013-08-21 13:35:26 +09:00
Piro / YUKI Hiroshi
a870d718da
Update size of inner box of the tab bar after the binding was lost ( #538 )
...
By some reasons, the XBL binding can be removed and re-assigned unexpectedly by UI changes (ex. show/hide toolbars).
Then I have to update the size of the inner box immediately.
2013-08-21 02:06:42 +09:00
Piro / YUKI Hiroshi
9aebf2838f
Open new tab from DragIt ( https://addons.mozilla.org/firefox/addon/dragit-formerly-drag-de-go/ ) as a child of the current tab. #523
2013-07-27 04:17:42 +09:00
YUKI Hiroshi
9999d7f135
Show favicon for about:treestyletab-group tab correctly on Firefox 22 and later ( #521 )
...
Because URIs like "chrome://treestyletab/skin/group/group-icon#-moz-resolution=16,16" doesn't work, if the chrome URL is defined by "override" directive.
2013-07-02 17:25:28 +09:00
YUKI Hiroshi
90ca9e36ec
Update tabsdragutils
2013-05-28 16:19:36 +09:00
YUKI Hiroshi
a7c9d2b80a
Fix wrong use of RestoringTabsData.get()
2013-05-07 16:25:07 +09:00
YUKI Hiroshi
e75ec2c289
Update tabsDragUtils.js
2013-05-07 16:19:48 +09:00
Drugoy
c19fc3a7bd
Fix issue 463
...
This is a final fix for issue 463
2013-04-30 16:31:07 +04:00
saneyuki_s
e691e6759e
Fix js strict-mode error: avoid prohibits function statements not at the top level of a script or function.
2013-03-28 19:10:27 +09:00
Piro / YUKI Hiroshi
26928e2dfa
Update original URL of the library bookmark-multiple-tabs
2013-03-06 23:17:32 +09:00
Piro / YUKI Hiroshi
5954e76c02
Add new secret option "extensions.treestyletab.autoAttach.fromCurrent" to control new tab position from the current tab ( #452 )
2013-03-06 02:37:21 +09:00
Piro / YUKI Hiroshi
414a73c3ff
Load "PlacesUIUtils.jsm" correctly.
...
The path was changed on 2010-04-18 ( http://hg.mozilla.org/mozilla-central/rev/f60133d3febe , https://bugzilla.mozilla.org/show_bug.cgi?id=556739 ) but worked until recent versions. Why??
2013-03-06 01:42:37 +09:00
Piro / YUKI Hiroshi
7985a98620
Move all tabs in the dragged tree to a newly opened window correctly on Firefox 19 and later ( #472 )
2013-03-06 00:58:51 +09:00
Piro / YUKI Hiroshi
e180b42d61
Use latest fxaddonlib-tabs-drag-utils
2013-03-06 00:36:38 +09:00
Piro / YUKI Hiroshi
a260a439fd
Expand the drop area to drop dragged tabs to a tab itself
2013-03-02 22:31:08 +09:00
Piro / YUKI Hiroshi
adbebdef7e
Reduce use of arguments.callee because it doesn't work on the strict mode
2013-03-02 21:29:41 +09:00
Piro / YUKI Hiroshi
4487c1881e
Don't set margin to indicate grouped tabs for parent tabs next to hidden tabs ( #463 )
2013-02-27 04:06:50 +09:00
YUKI Hiroshi
15a7581ab6
Fix missing "TreeStyleTabUtils" symbol for modified functions
2013-01-08 21:22:02 +09:00
Piro / YUKI Hiroshi
72d38659d8
TreeStyleTabBase should not inherit "prefs"
2013-01-06 11:47:50 +09:00
Piro / YUKI Hiroshi
251674258d
Move tree forward correctly by gBrowser.moveTabForward()
2013-01-04 03:56:47 +09:00
Piro / YUKI Hiroshi
318ad0ee52
Update hacks about moveTabForward/moveTabBackward for Firefox 20
2013-01-04 02:03:01 +09:00
YUKI "Piro" Hiroshi
f914c5cc72
Merge pull request #435 from saneyuki/string
...
Move string bundles to TreeStyleTabUtils
2013-01-03 08:24:27 -08:00
saneyuki_s
a7fc238e4e
Move string bundles to TreeStyleTabUtils.
2013-01-03 11:08:25 +09:00
saneyuki_s
9cc3f04f14
Load UninstallationListener.js as JS code modules.
2013-01-03 09:56:57 +09:00
saneyuki_s
fe3cff6bb6
Update UninstallationListener.js.
2013-01-03 09:52:19 +09:00
YUKI Hiroshi
3f59db7448
Update tabsDragUtils to the latest revision
2012-12-28 12:17:17 +09:00
YUKI Hiroshi
6030fc690d
Don't eat the click event by the "invisible popup" for the autohide.
...
popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME) have to be called on poupshown, not on popupshowing.
2012-12-05 11:46:52 +09:00
YUKI Hiroshi
5718fef495
Collapse/hide the tab bar automatically even if the webpage includes any plugin area
...
Logic A) Tab bar autohide is intentionally blocked by opened popup because the tab bar should not be hidden while you open a context menu on the tab bar.
Logic B) On the other hand, TST shows hidden popup on the content area if the webpage includes any plugin area, because Firefox cannot receive mousemove events on plugin areas.
As the result, the hidden popup unexpectedly blocked to hide the tab bar... The popup for the logic B must be ignored by the logic A.
2012-12-05 11:35:37 +09:00
YUKI Hiroshi
fdff43f59c
Better animation effect for multirow pinned tabs
2012-12-04 12:02:24 +09:00
YUKI Hiroshi
49f85829f7
Rename oriental properties
2012-12-04 11:07:13 +09:00
Piro / YUKI Hiroshi
a9b74110e3
WIP: pinned tabs in the vertical tab bar can be moved to other rows
2012-12-04 02:49:52 +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
2fdf574251
Automatically hide the tab bar by wheel scrolling on the content area
2012-12-03 20:21:01 +09:00
YUKI Hiroshi
2f21433115
Update tabsDragUtils
2012-11-30 03:36:16 +09:00
YUKI Hiroshi
da462ef098
Fix behaviors around dragging of multiple tabs
2012-11-30 03:03:59 +09:00
YUKI Hiroshi
ec582b537d
Shorten codes
2012-11-30 01:00:36 +09:00
YUKI Hiroshi
9f8662bf87
Simplify dynamically inserted codes
2012-11-29 19:34:20 +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
5f59ddb19d
Unify extensions.treestyletab.animation.enabled to browser.tabs.animate
2012-11-28 03:34:57 +09:00
Piro / YUKI Hiroshi
a40f24eb74
Fix dynamic patch for QuickDrag (old patch doesn't work on Firefox 19 and later, fix #413 )
2012-11-26 01:58:37 +09:00
Piro / YUKI Hiroshi
2a134467de
All animation effect was unexpectedly stopped after the configuration dialog is opened (regression)
2012-11-12 03:31:30 +09:00
Piro / YUKI Hiroshi
af1975d073
Tabs from other computers are correctly opened as child tabs of the about:sync tab
2012-11-11 23:13:13 +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
Piro / YUKI Hiroshi
52a87ec878
Update tabsDragUtils library
2012-10-13 20:32:34 +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
d66b7083d2
Add line breaks for dynamic patches
2012-10-13 02:24:02 +09:00
Piro / YUKI Hiroshi
c66f32e4ab
Allow to drop a tab to another more easily
2012-10-13 01:00:57 +09:00
Piro / YUKI Hiroshi
4d19cd75c6
Process animation effect for dragged tabs correctly
2012-10-13 00:37:03 +09:00
YUKI Hiroshi
1ce3e62b13
Fix syntax error
2012-10-12 17:06:37 +09:00
YUKI Hiroshi
59281101a4
Fix minor syntax errors
2012-10-12 16:56:16 +09:00
YUKI Hiroshi
83626af553
Reduce use of <![CDATA[ ... ]]>
2012-10-12 16:46:37 +09:00
YUKI Hiroshi
4a3f96c945
Reduce use of e4x <![CDATA[ ... ]]>
2012-10-12 16:28:46 +09:00
YUKI Hiroshi
8affaa2939
Reduce use of <![CDATA[ ... ]]> for Firefox 17 and later
2012-10-12 11:34:13 +09:00
YUKI Hiroshi
3042dec27e
Update Multiple Tabs Drag and Drop Utilities
2012-10-11 21:55:24 +09:00
YUKI Hiroshi
37f7d04096
Update Multiple Tabs Drag and Drop Utilities
2012-10-11 21:29:16 +09:00
YUKI Hiroshi
d71a063db5
Update Multiple Tabs Drag and Drop Utilities
2012-10-11 20:03:40 +09:00
saneyuki_s
a18738be8f
Remove TreeStyleTabUtils.PromptService.
2012-09-23 18:39:34 +09:00
Piro / YUKI Hiroshi
d623daa205
Fix XML syntax error
2012-09-23 16:12:15 +09:00
Piro / YUKI Hiroshi
3b692b4de4
Reduce usecases of evaluateXPath()
2012-09-23 16:11:03 +09:00
Piro / YUKI Hiroshi
a6792a2b4b
Reduce usecases of evaluateXPath()
2012-09-23 15:43:49 +09:00
Piro / YUKI Hiroshi
f106546809
Uncheck the disabled checkbox about animation effects if browser.tabs.animate is disabled
2012-09-23 15:10:44 +09:00
Piro / YUKI Hiroshi
c9a3d28c72
Open duplicated tabs from back/forward buttons as children of the current tab
2012-09-23 14:57:29 +09:00
saneyuki_s
dd3a9e97f5
Remove currently needless code from content/treestyletab/config.js.
2012-09-18 02:19:55 +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
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
saneyuki_s
3378f7ae8a
Use Service.jsm in content/treestyletab/config.js.
2012-08-13 14:53:36 +09:00
SHIMODA Hiroshi
6c5deb973f
Update library (handle drag and drop of multiple tabs to the bookmarks sidebar correctly on Firefox 17, #328 )
2012-08-08 21:39:43 +09:00
Piro / SHIMODA Hiroshi
6c64656446
Fix "possible missing variable" problem
2012-08-04 02:46:20 +09:00
Piro / SHIMODA Hiroshi
74a75f93aa
Save nested tree as nested bookmark folders correctly when a nested tree of tabs is droppend to bookmarks
2012-08-03 02:02:43 +09:00
Piro / SHIMODA Hiroshi
4f73a9861d
Open bookmarks as tabs correctly when a bookmark folder is dropped to the tab bar even if the folder includes any subfolder.
2012-08-03 01:55:06 +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
803286bbbb
Create a bookmark folder from dragged tree correctly on Firefox 13 and later #316
2012-07-29 00:58:28 +09:00
Piro / SHIMODA Hiroshi
5769d05897
Initialize correctly on Firefox 15 and olders
2012-05-25 23:54:29 +09:00
Piro / SHIMODA Hiroshi
da657f8950
Update initialization process for changes introduced by https://bugzilla.mozilla.org/show_bug.cgi?id=731926
2012-05-17 09:32:52 +09:00
SHIMODA Hiroshi
a17733656e
Handle new tabs from the "new tab" button correctly on Firefox 11 and later
2012-05-02 20:41:49 +09:00
Piro / SHIMODA Hiroshi
64199668cf
Show the floating menu bar (and title bar) with Hide Caption Titlebar Plus ( https://addons.mozilla.org/firefox/addon/hide-caption-titlebar-plus-sma/ ) correctly #283
2012-05-02 05:38:22 +09:00
SHIMODA Hiroshi
aea0595898
Support border-radius and other CSS3 properties (without -moz-prefix)
2012-02-28 15:11:24 +09:00
SHIMODA Hiroshi
c9038bc86e
in horizontal tab bar, no need to put place holder margin for the twisty about tabs without children
2012-02-10 15:41:23 +09:00
Piro / SHIMODA Hiroshi
b796513d4b
Favicon of collapsed tabs in the horizontal tree were not hidden. (regression) ( https://github.com/piroor/treestyletab/issues/233 )
2012-02-10 02:44:35 +09:00
Piro / SHIMODA Hiroshi
5d1ebb9867
With Tab Mix Plus, failed to save session data. (regression)
2012-02-10 01:59:37 +09:00