Commit Graph

2102 Commits

Author SHA1 Message Date
Piro / YUKI Hiroshi
49b0aa9f99 Allow to drop non-tab data correctly (regression) 2016-09-05 01:14:32 +09:00
Piro / YUKI Hiroshi
112edbf3cd Simplify 2016-09-05 01:06:36 +09:00
Piro / YUKI Hiroshi
23aeb5b243 Fix indent 2016-09-05 01:04:51 +09:00
Piro / YUKI Hiroshi
67d9ee869f Delete codes for obsolete version 2016-09-05 01:03:53 +09:00
Piro / YUKI Hiroshi
ceafd71dd3 Update library 2016-09-04 17:28:57 +09:00
Piro / YUKI Hiroshi
489966b1c9 Update library 2016-09-04 15:15:23 +09:00
Piro / YUKI Hiroshi
e72e49304f Update library 2016-09-04 14:28:02 +09:00
YUKI Hiroshi
9b5570006c Don't touch to CPOW objects 2016-08-30 17:16:57 +09:00
Piro / YUKI Hiroshi
d824402f3d Store only hashed version for selection text 2016-08-24 02:12:58 +09:00
Piro / YUKI Hiroshi
2f12218ce6 Extract utility to get hash from string 2016-08-24 02:11:34 +09:00
Piro / YUKI Hiroshi
40191c6082 Collect URIs from <base> tags as possible referrers.
The referrer of a new tab request from webpage can be modified by <base> tags.
To detect the opener tab from the referrer, we have to collect URIs defined by <base> tags also.
See also: https://dxr.mozilla.org/mozilla-central/rev/f97a056ae6235de7855fd8aaa04fb1c8d183bd06/dom/ipc/ContentParent.cpp#5069
2016-08-21 01:46:11 +09:00
Piro / YUKI Hiroshi
fee1428f54 Don't calculate same hash multiple times 2016-08-18 22:56:51 +09:00
Piro / YUKI Hiroshi
4e4ec57324 Return only unique URLs 2016-08-18 22:55:22 +09:00
Piro / YUKI Hiroshi
259bdf7c86 Collect and store all content URLs in the tab 2016-08-18 22:52:30 +09:00
asamuzaK (Kazz)
098eb8242e Pick up where the modification has not been applied 2016-08-06 19:43:04 +09:00
asamuzaK (Kazz)
2cc4ca66f7 Remove unprefixed CSS properties which are not in any spec
Plus fix nits
* Remove forgotten -moz-box-shadow
* Remove duplicated declaration
* Fix typo
2016-08-06 08:25:53 +09:00
YUKI Hiroshi
d7caa5ac59 Handle duplicated tabs totally 2016-07-05 14:52:43 +09:00
YUKI Hiroshi
c1103ee4c8 Update codes for new Multiple Tab Handler 2016-06-21 17:00:05 +09:00
YUKI Hiroshi
83a179495b Specify reference node only with XPath 2016-06-21 15:39:43 +09:00
Piro / YUKI Hiroshi
cb3e3f7ff2 Fix missing semicolon 2016-06-11 23:44:20 +09:00
Piro / YUKI Hiroshi
fdba3ee393 Always disable dragging of the tab bar (to drag the window itself) if it is not on top #1134 2016-06-11 16:22:31 +09:00
Piro / YUKI Hiroshi
313722256d Remove needless -moz-transition codes.
The prefix was already removed on Firefox 16.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions
2016-05-03 20:48:33 +09:00
Piro / YUKI Hiroshi
46f4964fd4 Simplify animation definitions 2016-05-03 20:39:19 +09:00
Piro / YUKI Hiroshi
75000446c4 Add per-file license blocks.
MPL requires per-file licenses but I didn't do it from my misunderstanding...
2016-05-03 11:34:11 +09:00
Piro / YUKI Hiroshi
30a78b1526 Remove needless blank line 2016-05-03 11:26:53 +09:00
oonuma ryouyu
09ed91797c use elegant proseccing on base-color.css. thus not have to change load css place 2016-05-03 10:49:43 +09:00
oonuma ryouyu
381e371657 fix devediton newtab-color.change css load place. 2016-05-03 02:48:49 +09:00
YUKI Hiroshi
3ea008482b Brush up hack for FireGestures based on latest codebase 2016-03-18 19:10:47 +09:00
YUKI Hiroshi
ff3aed674f Simplify 2016-03-18 18:57:47 +09:00
YUKI Hiroshi
fdb3183828 Apply configured max indent level for vertical tab bar correctly #1087 2016-03-10 17:28:15 +09:00
YUKI Hiroshi
8506d7e4d7 Implement pseudo tree only with XUL.
There is no need to use XHTML, just needed to apply "display:block"...
2016-03-04 11:35:12 +09:00
Piro / YUKI Hiroshi
fd29a0de80 Remove needless transitions 2016-02-19 00:01:56 +09:00
Piro / YUKI Hiroshi
409103c9ba Show full tooltip with correct size enough to show its contents 2016-02-18 23:59:44 +09:00
YUKI Hiroshi
423eab1499 Fix indent 2016-02-18 20:50:51 +09:00
YUKI Hiroshi
7bfb22b3e6 Don't open startup home pages as a tree #1063 2016-02-18 20:50:14 +09:00
YUKI Hiroshi
36d145155a Open home tabs as new tabs always (See #1063) 2016-02-18 20:29:51 +09:00
YUKI Hiroshi
172df772d3 Render narrow scrollbar more correctly, without any side effect like #1072 2016-02-18 12:59:29 +09:00
YUKI Hiroshi
48e4dd8740 Apply indentation always for the vertical tab bar #1070 2016-02-17 16:15:04 +09:00
YUKI Hiroshi
0099d7fd46 Remove configuration UI for "Allow to collapse/expand tree" #1070
% git grep allowSubtreeCollapseExpand | grep locale | \
        while read line; \
        do sed -r -e "/^.+config.allowSubtreeCollapseExpand/d" \
               -i "$(echo $line | cut -d ":" -f 1)"; done
2016-02-17 15:59:38 +09:00
YUKI Hiroshi
f0f62b89ae Add credit 2016-02-17 10:09:23 +09:00
YUKI Hiroshi
654d812f5c Use "aXXX" form for arguments 2016-02-17 10:09:19 +09:00
YUKI Hiroshi
557e69f42e Use "aXXX" form for arguments 2016-02-17 10:06:18 +09:00
J. Ryan Stinnett
97a0afea4c Repair tearing off a tree of multiple tabs 2016-02-16 17:37:32 -06:00
Piro / YUKI Hiroshi
9580dc574f Don' open new single tab from middle click on the Home button as a child of the current tab 2016-02-14 18:37:58 +09:00
Piro / YUKI Hiroshi
ea99c3cf71 Fix regression: open bookmarks as separate tabs for user preference #949 2016-02-13 04:40:16 +09:00
Piro / YUKI Hiroshi
b3ca718225 Bump copyright year to 2016 2016-02-12 22:40:32 +09:00
YUKI Hiroshi
c35a01035d Show animation for highlighted tab more slowly 2016-02-12 20:19:25 +09:00
YUKI Hiroshi
9eb445ce99 Highlight modified tab 2016-02-12 20:15:29 +09:00
YUKI Hiroshi
289181d28b Add GUI for the new choice 2016-02-12 19:45:34 +09:00
YUKI Hiroshi
7a579a7c2a Fix mismatched variable name 2016-02-10 19:13:15 +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
Piro / YUKI Hiroshi
d5b05b6017 Reduce eval hack 2016-01-22 00:13:56 +09:00
Piro / YUKI Hiroshi
42d33ca002 Load and initialize bookmark related features on the startup 2016-01-21 23:37:21 +09:00
YUKI Hiroshi
1bf54f5998 Don't override same function twice 2016-01-21 21:02:26 +09:00
YUKI Hiroshi
de50d19993 Output error 2016-01-21 20:57:55 +09:00
YUKI Hiroshi
3f59a46efe Suppress "too much recursion" error 2016-01-21 20:55:37 +09:00
YUKI Hiroshi
d594fdf36b Reduce use of eval 2016-01-21 20:18:01 +09:00
YUKI Hiroshi
eec6610169 Save modification of bookmarks correctly from properties dialog 2016-01-21 20:03:58 +09:00
YUKI Hiroshi
508fa70336 Reduce use of eval 2016-01-21 19:59:34 +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
YUKI Hiroshi
978bda448d Remove obsolete code 2016-01-21 15:14:16 +09:00
YUKI Hiroshi
5be6d36583 Make compatible with Open Bookmark in New Tab 2.x 2016-01-21 13:49:16 +09:00
YUKI Hiroshi
f26193f55f Open new tabs from window.open() in non-tab frames as independent tab 2016-01-20 19:41:07 +09:00
YUKI Hiroshi
7973071bd1 Open orphan tab from links if it is not related to the current tab 2016-01-20 11:58:25 +09:00
YUKI Hiroshi
28ba3b54ad Fixup tree structure after tab move correctly.
Keyboard shortcuts Ctrl-Shift-PageUp/PageDown sometimes broke the tree.
This commit fixes following cases:

case 1:
  * [-] A
    * A-1 <= Ctrl-Shift-PageDown at here
  * [+] B

  then they should be:

  * A
  * [+] B
  * A-1

  but actually:

  * [-] A
  * [+] B
  *   A-1 <= still a child of A!

case 2:

  * A
  * [-] B
    * [+] B-1 <= Ctrl-Shift-PageUp at here

  then they should be:

  * A
  * [+] B-1
  * B

  but actually:

  * A
  *  [+] B-1 <= still a child of B!
  * [-] B
2016-01-18 18:43:36 +09:00
YUKI Hiroshi
b214268d69 Activate/deactivate auto hide feature for fullscreen mode correctly 2015-12-25 16:21:28 +09:00
YUKI Hiroshi
ca63c220f9 Don't show thin glay bar for pinned tabs on fullscreen HTML5 video 2015-12-25 16:06:34 +09:00
YUKI Hiroshi
17526f7940 Don't use deprecated catch-if.
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1228841
2015-12-01 11:27:50 +09:00
YUKI Hiroshi
b5e217b359 Fix mismatched entity name 2015-11-27 19:20:04 +09:00
YUKI Hiroshi
9b856616f7 Use preferred label for "Auto hide tab bar" in the context menu for auto hide or auto shrink 2015-11-27 19:17:47 +09:00
YUKI Hiroshi
a780716043 Hide arrowscrollbox spacers for vertical tab bar.
See also #863
2015-11-27 18:21:56 +09:00
YUKI Hiroshi
92e03c52a9 Control "muted" status of descendant tabs if the tab has a subtree and they are collapsed 2015-11-19 20:20:15 +09:00
YUKI Hiroshi
03fb19d810 Hide virtual sound indicator for a parent tab when the subtree is expanded 2015-11-19 18:31:16 +09:00
YUKI Hiroshi
47876f780e Call original methods more safely 2015-11-19 15:01:02 +09:00
YUKI Hiroshi
e06d99d6ce Call original methods more safely.
Because "this" can be changed by other addons, like Speed Dial. See #994
2015-11-19 14:49:15 +09:00
YUKI "Piro" Hiroshi
0ed972459b Update library 2015-11-12 13:11:57 +09:00
xeonx1
eec2a051de Fix for piroor/treestyletab#982 and piroor/multipletab#101 where New Folder and Bookmark Properties dialogs appearing empty only both Tree Style Tabs and Multiple Tab Handler (and other extensions withbookmarkMultipleTabs_bookmarkPropertiesOverlay.xul) are enabled at the same time. 2015-11-11 19:40:08 -08:00
Piro / YUKI Hiroshi
3fa5aec658 Add reference counter implementation to detect memory leak 2015-11-10 03:00:43 +09:00
Piro / YUKI Hiroshi
89afb6f08d Update library: detect URI of pending tabs correctly on Firefox 35 and later 2015-11-09 23:10:44 +09:00
Piro / YUKI Hiroshi
d295128e4a Update library: Override function without eval() to avoid errors from mismatched variable scopes.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
2015-11-09 22:43:04 +09:00
Piro / YUKI Hiroshi
45767e473a Indicate target platforms 2015-11-08 22:51:02 +09:00
Piro / YUKI Hiroshi
6f90b666ee Apply "insertion position of new child tab" preference for tabs opened via GM_openInTab() #978 2015-11-08 21:57:00 +09:00
Piro / YUKI Hiroshi
732822175a Fix mismatched arguments for the original function #979 2015-11-08 17:31:11 +09:00
YUKI Hiroshi
b83a92bdb0 Open source tab as a child of the current 2015-11-06 15:13:45 +09:00
YUKI Hiroshi
2a8f980de5 Fix mismatched argumenit for overridden method 2015-11-06 15:07:51 +09:00
YUKI Hiroshi
51e473c777 Remove event listener correctly 2015-11-06 13:38:22 +09:00
YUKI Hiroshi
9f14f594de Fix indent 2015-11-06 13:37:36 +09:00
YUKI Hiroshi
7f82809997 Simplify 2015-11-06 13:37:22 +09:00
YUKI Hiroshi
e2dd6a2799 Fix indent 2015-11-06 13:34:19 +09:00
YUKI Hiroshi
c1a9cefa4b Don't override tabbar method again and again 2015-11-06 13:33:30 +09:00
Piro / YUKI Hiroshi
7da7a47db7 Read preferences correctly 2015-11-06 01:14:00 +09:00
Piro / YUKI Hiroshi
9516999af4 Read preferences correctly 2015-11-06 01:11:46 +09:00
Piro / YUKI Hiroshi
764cf0c8e1 Fix typo 2015-11-05 23:39:45 +09:00
YUKI Hiroshi
d3a5bd106b Fix indent 2015-11-05 19:45:59 +09:00
YUKI Hiroshi
2f1b3f3aed Remove needless comment 2015-11-05 19:45:47 +09:00
YUKI Hiroshi
daddf249e0 Reduce use of eval() 2015-11-05 19:44:59 +09:00
YUKI Hiroshi
66e2b5f5b1 Remove needless wrapper 2015-11-05 19:44:52 +09:00
YUKI Hiroshi
fad308b234 Reduce use of eval() 2015-11-05 19:40:35 +09:00
YUKI Hiroshi
4fc08ca1f4 Fix typo 2015-11-05 19:30:31 +09:00