Commit Graph

2823 Commits

Author SHA1 Message Date
Frank Yan
e1beba2680 Bug 581820 - Minimize/Maximize/Close buttons missing when Firefox is in TabView [r=dolske a=dolske]
Give some margin to show the buttons even when in TabView.
2010-08-13 19:36:47 -07:00
Ehsan Akhgari
25c4de9f77 Bug 587039 - Rename View > TabView And All Instances of Tab Sets to "Group my tabs..." [r=dolske a=dolske]
--HG--
extra : rebase_source : aeca423391f9edbb44c6bb9618657646576d06c0
2010-08-13 18:51:32 -07:00
Ian Gilman
54f8cd0989 Bug 587187 - test for window.TabView rather than just TabView [r=dolske a=dolske]
Check the global object for existence to avoid ReferenceError.

--HG--
extra : rebase_source : 2b5ddb6a8050a3d1407d94cc4381a90bec906a3a
2010-08-13 18:37:13 -07:00
Raymond Lee
c7fd4c4fd2 Bug 587029 - Tab Candy : closing last tab of a group leads to an isolated tab [r=dolske a=dolske]
--HG--
extra : rebase_source : eb46ebd833b5014bb8536c8570a9e727cf16ddbe
2010-08-14 03:58:25 +08:00
Edward Lee
2a8332a24d Bug 586777 - Restore ctrl-space activation for on windows/linux [r=dolske a=dolske]
Switch back to ctrl-space and check for certain nodes where we shouldn't handle it.

--HG--
extra : rebase_source : 4b27a80e90b3e3d9bbfd98150a977dcc853f2180
2010-08-12 15:00:39 -07:00
Ian Gilman
fb53102575 Bug 586834 - Reinstate the Tab Candy bounce [r=dolske a=dolske]
--HG--
extra : rebase_source : c7351eee04263119ea4ef692a2b89e1719c20da0
2010-08-12 17:37:22 -07:00
Ian Gilman
87045679b3 + partial fix for 586721: Kill dev menu [r=dolske a=dolske]
--HG--
extra : rebase_source : 484290df6e525072053f5cb7786908e90fe2e0a0
2010-08-12 17:28:45 -07:00
Michael Yoshitaka Erlewine
d4e1a50954 Bug 586685: All user-facing strings in JS are now localizable via stringbundle [r=dolske a=dolske]
NOT.
Everything but user facing strings being localized.
Random whitespace fixes.
Random styling changes.
Also has Bug 587158 - Update intro-video URL to CDN'ed version
And string changes.
And Bug 586814 - Unable to close Tab groups

--HG--
extra : rebase_source : bc46adb3b3acc2e4daee067e9209d049fe1a8970
2010-08-12 18:32:18 -05:00
Michael Yoshitaka Erlewine
9a992624e0 Bug 574875: First run experience: tabs are put together into a single group--now without unnecessary animation! [r=dolske a=dolske]
--HG--
extra : rebase_source : 4f06fbe6cd2e0a4463f33ba0d8f13f494126ec83
2010-08-12 16:20:59 -05:00
Marco Bonardo
49550d2b5c Bug 546253 - moz_openpages_temp table needs to describe pages that may not be in moz_places. r=sdwilsh a=blocking 2010-08-13 21:53:05 -04:00
Marco Bonardo
52aa8e345c Bug 586506 - unregisterOpenPage should not be called before registerOpenPage if removeTab is called immediately. r=dao a=dietrich 2010-08-13 21:52:30 -04:00
Robert Sayre
f80324a33f Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
Rob Campbell
23a1bafc4d Bug 584344 - Inspector Panels become top-most window.And Active application window is covered by Inspector Panels. r+a=dolkse 2010-08-13 14:36:05 -03:00
Robert Sayre
ff3fd8aeaf Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Chris Leary
e0ace5bc86 Bug 564953: Port YARR! Lands macroassembler. (r=gal) 2010-08-11 13:30:07 -07:00
Dão Gottwald
a81ecb4fab Back out bogus change from bug 574217. Can't have a window without tabs. 2010-08-13 16:22:31 +02:00
Edward Lee
7f341af8ce Bug 582116 - Provide a way to show certain tabs and get visible tabs [r=dao a=beltzner]
Add showOnlyTheseTabs and visibleTabs to tabbrowser and update various uses such as tab selection. Test that tabs get hidden/shown when using this API and tab selection only deal with visible tabs while making sure there's always a visible tab.
2010-07-29 16:39:57 -07:00
Dão Gottwald
ddbf1e4462 Bug 585361 - Handle requests for synchronously removing an already asynchronously closing tab. r=gavin
--HG--
extra : rebase_source : 6f9c8f691706b63e70c2fc0d91b115e8894d5e0a
2010-08-11 15:12:54 +02:00
Dão Gottwald
6852eaac62 Bug 585021 - Animate when opening the Home page in a new tab. r=gavin
--HG--
extra : rebase_source : 069d2f3763662312c50eebdeb918cd7a6134c06f
2010-08-11 15:12:41 +02:00
Edward Lee
f4ef76e19a Bug 582023 - Land TabCandy Utility Code (utils.jsm, iq.js) [r=dao a=npotb] 2010-08-11 10:28:06 -07:00
Michael Yoshitaka Erlewine
3fe70a6578 Bug 582023: making changes requested by Dao. Now iQ + Utils are ready for m-c with r=dao! 2010-08-11 13:06:49 -04:00
Benjamin Smedberg
e6153772f3 Back out all of dgottwald's push from Wed Aug 11 05:04:25 2010 PDT because the tree is in a state of chaos and the push was obviously against tree rules. 2010-08-11 09:00:33 -04:00
Dão Gottwald
cbeb7af05f Bug 585021 - Animate when opening the Home page in a new tab. r=gavin 2010-08-11 14:03:26 +02:00
Dão Gottwald
8dda9cce85 Bug 585361 - Handle requests for synchronously removing an already asynchronously closing tab. r=gavin 2010-08-11 14:02:49 +02:00
Ian Gilman
e82d451659 + addressing dao's comments in iQ
--HG--
extra : rebase_source : 9fd229f468514fb08326fe292434de45e6167bfb
2010-08-10 16:31:12 -07:00
Michael Yoshitaka Erlewine
c0b5771a75 Bug 582023 cleanup based on comments from Dao on things that are not iQ:
- typeof() is not a function
- formatting of && and || at the end of the line
- declaring variables more locally using let in Utils.extend
- the Initial Developer is the Mozilla Foundation

--HG--
extra : rebase_source : d1f9699fb0014c95e336c34d777ce354b141739a
2010-08-10 19:20:05 -04:00
Ian Gilman
100fa37a41 + reversed the argument order for Utils.assert and Utils.assertThrow, per Dao's review 2010-08-10 11:13:10 -07:00
Michael Yoshitaka Erlewine
a381156a26 Bug 582023: rm Utils.timeout 2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
1869016bed Bug 582023: move to use getBoundingClientRect instead of reading off the computed CSS for bounds; simplify getPropertyValue usage (based on comments from Dao) 2010-08-10 09:22:38 -04:00
Ian Gilman
c24275c13c + Made the Groups.killNewTabGroup test a little tighter (in case someone has made a group called "new tabs")
+ Worked around bug 575672 (CSS transition assert)

--HG--
extra : rebase_source : 6f758e737c2092214ec3185be847f2c5da406be0
2010-08-09 14:57:34 -07:00
Michael Yoshitaka Erlewine
2c33d9a516 Bug 584699: quick fix to -moz-transform rendering bug
--HG--
extra : rebase_source : 89019c5a0acff884ab47f18b96503435c6a56e7e
2010-08-09 00:06:54 -04:00
Edward Lee
33f364fd3d Remove unnecessary try/catch wrapping around a timeout-ed call.
--HG--
extra : rebase_source : 3b608473ff899668acea4e0e6964734c9db4d01d
2010-08-06 17:16:28 -07:00
Aza Raskin
5eaa96c725 + Also includes the jQuery inclusion text with utils.js 2010-08-02 13:38:29 -07:00
Aza Raskin
c75b7f6613 + Updated the iQ license block as specified in https://bugzilla.mozilla.org/show_bug.cgi?id=582025 2010-08-02 13:29:46 -07:00
Raymond Lee
86b8a0caa3 Remove extra spaces inside () and add spacing for before { bracket 2010-07-30 17:54:30 +08:00
Ian Gilman
7ea1d9208c + Improved startup sequence: don't do anything until sessionstore is available, and then do only minimal work if we're not loading directly into the UI; most setup now happens when we first show the UI. Known issue: tabs aren't set up properly in the tab bar until after you go to the UI once.
+ fixed our use of undefined in iq.js
+ more tabItems cleanup, including removing a stray call to the now non-existent TabCanvas.detach()
+ "Group sites" no longer makes a "mixed" group if it would be empty
2010-07-29 17:23:49 -07:00
Edward Lee
372847d3c9 Just use instanceof Ci.nsIDOMElement for Utils.isDOMElement for bug 582023. 2010-07-29 13:15:21 -07:00
Edward Lee
af28fc4805 Simplify Utils.merge to use Array.forEach and Array.push for bug 582023. 2010-07-29 13:02:51 -07:00
Edward Lee
008bda58ad Bug 583044 - Rename code references of TabCandy to TabView
Move files and update references to tabview from tabcandy. Only remaining candy reference is the link to aza's webm video.
2010-07-29 12:37:25 -07:00
Edward Lee
56533364ab Move utils.js into a javascript module that exports Point, Rect, Range, Subscribable, and Utils for bug 582023.
--HG--
extra : rebase_source : 8fea0b5439bcc45464f029609ff125e284b74731
2010-07-28 22:21:34 -07:00
Michael Yoshitaka Erlewine
a11a1183cc Bug 582023: rm iQ.get, as we were only using it in one way. 2010-07-28 23:02:26 -06:00
Edward Lee
74886aae53 Move lazy gWindow, gBrowser, etc into tabcandy.js out of utils.js for bug 582023. 2010-07-28 21:56:31 -07:00
Edward Lee
19de9aa83c Clean up spaces around (), [], , in iq and utils for bug 577968. 2010-07-28 21:40:55 -07:00
Michael Yoshitaka Erlewine
fef600d3f8 Bug 582023: iQ changes based on comments from gavin
- let is the new var, no multiple declarations on the same line.
- renamed iQ.fn.init to be iQClass, iQ.fn to be iQClass.prototype, to look much more normal. iQ now just creates a new iQClass. No more brain hurt.
- no more (function(){...}) closure
- Array.prototype.xxx.call replaced by Array.xxx
- a couple other changes recommended by gavin.
- Utils: rm some comments, but haven't touched JSM, isDOMElement, or merge.
2010-07-28 21:33:43 -06:00
Frank Yan
f9af53a378 Bug 582200: rm cross-browser code from iQ, follow Mozilla style better, r=mitcho 2010-07-27 10:07:17 -06:00
Ian Gilman
76ec7ed3de + We now do no work while the script is loading; everything waits until the UI.init() call at the very bottom
--HG--
extra : rebase_source : 301788f78500bfe57512b0df396cb6be2ca8a02f
2010-07-26 17:15:19 -07:00
Edward Lee
17317f2e9e Switch to Array.isArray from Utils.isArray. 2010-07-26 11:02:52 -07:00
Edward Lee
d1da1e712c Inline isFunction as typeof == function checks. 2010-07-23 19:29:32 -07:00
Michael Yoshitaka Erlewine
9a7ccab778 Utils + iQ cleanup!
- utility functions in iQ have been moved to Utils: isFunction, isArray, isPlainObject, isEmptyObject, merge, extend, timeout
- iQ depends on Utils. Utils no longer depends on iQ.
- simplified Utils.extend. Deep copy is no longer supported, nor is extending iQ and iQ.fn using extend. They were not being used.

--HG--
extra : rebase_source : ab8f86e4e6a65cb747bc79ae0aa36cb39819421a
2010-07-23 17:33:02 -04:00
Edward Lee
74d4851978 Followup bug 580870 to rename gTabDeck/gTabFrame to gTabView*. 2010-07-22 22:41:58 -07:00