Commit Graph

4052 Commits

Author SHA1 Message Date
YUKI Hiroshi
80b77a1001 Fix typo 2016-02-10 19:12:03 +09:00
YUKI Hiroshi
e531d8cd93 Output debug log to the browser console also 2016-02-10 19:10:46 +09:00
YUKI Hiroshi
120dc6b522 Get parent tab correctly 2016-02-10 17:45:49 +09:00
YUKI Hiroshi
49a025a1da Move utility to find tab browser from tab related element from TSTBase to TSTUtils 2016-02-10 17:44:10 +09:00
YUKI Hiroshi
fe7cf571f5 Move XPath related utilities from TSTBase to TSTUtils 2016-02-10 17:42:37 +09:00
YUKI Hiroshi
bad68d5a9b Fix indent 2016-02-10 15:08:57 +09:00
YUKI Hiroshi
bb4a172308 Don't cancel new child tab action by default orphan tab action 2016-02-10 15:08:32 +09:00
Piro / YUKI Hiroshi
94e1b0d89d Open new tabs from histories as orphan tabs 2016-01-28 21:41:09 +09:00
YUKI Hiroshi
feaaade6e5 Add history topics 2016-01-26 15:20:00 +09:00
YUKI Hiroshi
cf6e1c4f1c Don't touch to tab's session history to determine the tab is a group tab or not.
For remote tabs, browser.sessionHistory raises exception. See #1028
2016-01-26 14:51:51 +09:00
YUKI Hiroshi
7fdc114ed6 Output more debug log 2016-01-25 17:28:59 +09:00
YUKI Hiroshi
84c0822592 Disallow to move a new tab by loadOneTab itself 2016-01-25 17:28:22 +09:00
YUKI Hiroshi
355b3f181b Simplify 2016-01-25 17:28:06 +09:00
YUKI Hiroshi
0dab3f30ec Store "internally moving" for individual tab for tab events about individual tab 2016-01-25 17:00:03 +09:00
Piro / YUKI Hiroshi
d5b05b6017 Reduce eval hack 2016-01-22 00:13:56 +09:00
Piro / YUKI Hiroshi
190d8cd71c Add new utility TST.doAndGetNewTabs(aFunction) to get newly opened by the function 2016-01-22 00:13:37 +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
e41d737fe2 Output more debug log 2016-01-20 20:39:46 +09:00
YUKI Hiroshi
3f8ff3f2b3 Update news topics 2016-01-20 19:47:40 +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
9ef9f0ec62 Open as orphan by default 2016-01-20 11:38:01 +09:00
YUKI Hiroshi
475798dcb6 Output more debug messages 2016-01-20 11:37:14 +09:00
YUKI Hiroshi
49f17f596d Fix typo 2016-01-20 11:15:22 +09:00
YUKI Hiroshi
1b8f61f778 Place newly opened tab to the correct position 2016-01-19 20:27:43 +09:00
YUKI Hiroshi
d49f911985 Add news topics 2016-01-19 19:07:38 +09:00
YUKI Hiroshi
4f920d49bc Remove needless default prefs 2016-01-19 18:57:25 +09:00
YUKI Hiroshi
97e1ae2eb9 Restore backuped preference correctly 2016-01-19 18:55:31 +09:00
YUKI Hiroshi
6dd37567c1 Open as orphan by default 2016-01-19 18:51:33 +09:00
YUKI Hiroshi
e2b8a24887 Add news topics 2016-01-19 18:31:58 +09:00
YUKI Hiroshi
e2c93cc59c Introduce new API to open orphan tab intentionally.
It is required to open a new tab with "relatedToCurrent" as orphaned.
This solves the problem https://github.com/piroor/treestyletab/issues/1013#issuecomment-172780573
2016-01-19 18:09:49 +09:00
YUKI Hiroshi
2ede365e18 Delete flags from the service object when they are expired 2016-01-19 18:04:29 +09:00
YUKI Hiroshi
f4fff387b1 Make new tabs opened with "relatedToCurrent:true" as a child of the current tab 2016-01-19 17:47:45 +09:00
YUKI Hiroshi
ef5d21b413 Give up to disable browser.tabs.insertRelatedAfterCurrent 2016-01-19 17:47:18 +09:00
YUKI Hiroshi
36bd40d8c8 Add news topic 2016-01-18 19:07:29 +09:00
YUKI Hiroshi
6ba7134d08 Don't hide/shrink the tab bar when the visibility of menu items is changed.
It unexpectedly reacted changes of the visibility of the menu item #menu_readerModeItem and others.
2016-01-18 19:01:07 +09:00
YUKI Hiroshi
ffc3058a99 Add news topics 2016-01-18 18:52:15 +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
1623bc43a9 Output more logs for debugging 2016-01-18 17:02:53 +09:00
Piro / YUKI Hiroshi
8065e377b0 Add news topics 2016-01-16 01:19:48 +09:00
YUKI Hiroshi
9507102bfa Fix mismatched variable name 2016-01-15 15:52:52 +09:00