Commit Graph

71 Commits

Author SHA1 Message Date
Raymond Lee
e67fb325f5 Bug 597399 - Panorama: Typing in a digit when the search box isn't displayed produces letter in the box [r=ian, a=blocking2.0]
--HG--
extra : rebase_source : eedb975c38bf3adf82f5329d7f69bee5b233238e
2010-11-17 18:49:59 +08:00
Edward Lee
c28f521216 Bug 594152 - Give function names to tabview.js objects [r=dietrich a=dietrich]
Give function names as object_func for various object prototypes and singletons. Also cleans up some var Name = function() patterns into just function Name.
2010-09-08 10:02:08 -07:00
Ian Gilman
2d9735e96a Bug 586834 - Reinstate the Tab Candy bounce [r=dolske a=dolske]
--HG--
extra : rebase_source : c855277103725aa905c4adba18b1f0b6cc65e2ad
2010-08-12 17:37:22 -07:00
Edward Lee
861720eb07 Backout changesets a8b5109c2a6c to 6281bc7f1bbf. 2010-08-13 21:51:48 -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
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
Ian Gilman
e82d451659 + addressing dao's comments in iQ
--HG--
extra : rebase_source : 9fd229f468514fb08326fe292434de45e6167bfb
2010-08-10 16:31:12 -07: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
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
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
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
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
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
4d059c1a7b Remove trailing spaces/tabs from tabcandy files. 2010-07-20 10:17:29 -07:00
Ian Gilman
b804f44e13 + Filled out iQ.js comments 2010-07-19 15:27:19 -07:00
Michael Yoshitaka Erlewine
226027a6be rm trailing whitespace 2010-07-18 11:58:10 -04:00
Ian Gilman
d936a625ad + Fixed a typo in iQ.each that was breaking everything
+ Rearranged the UIClass initialization sequence a little, to make sure everything happens in the right sequence
2010-07-14 11:21:07 -07:00
Michael Yoshitaka Erlewine
5d1dca9ba4 Bug 577387: cleanup of the new iQ(...).each 2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
b9bfb1304b Bug 577387: iQ.each is gone! iQ(...).each still exists, and its callback must now explicitly take the element as its argument 2010-07-14 00:03:47 -04:00
Michael Yoshitaka Erlewine
f2a8ac2cbc iQ cleanup: of course we're Gecko > 1.9.2 so we have classList! use it in .{add,remove,has}Class 2010-07-13 22:17:35 -04:00
Michael Yoshitaka Erlewine
8bc50f5562 iQ cleanup: rm unused regexps and other constants; rm iQ.toArray, iQ.pushStack, iQ.slice, iQ.trim 2010-07-13 22:02:11 -04:00
Michael Yoshitaka Erlewine
c472a09334 cleanup: iQ.each: never used with args, so that code is removed 2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
39a1f66dc2 cleanup: rm iQ.grep; using .filter instead. 2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
b261f72a79 cleanup: rm iQ.inArray 2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
ce70751467 cleanup: rm various instances of iQ.each where it's an array, so we can use .forEach
--HG--
extra : rebase_source : f41f088641f71aba6796092766b0645fca925ad1
2010-07-13 19:38:51 -04:00
Michael Yoshitaka Erlewine
8e181c230e cleanup: rm iQ.makeArray 2010-07-13 17:39:46 -04:00
Michael Yoshitaka Erlewine
f11f97f9db bug 577968: control words like if, switch, etc. should have a space after them 2010-07-11 20:54:42 -04:00
Michael Yoshitaka Erlewine
7ecfb07c00 bug 577968: removing elses preceded by returns; replacing tabs 2010-07-11 19:48:05 -04:00
Ian Gilman
e970534171 + Removed icons that exist elsewhere in the browser; now using them instead
+ Our toolbar button now uses the standard toolbar button styling; we just apply a glyph to it
+ Went through the code with http://caja.appspot.com/tools/index and fixed a number of minor issues it found
+ Added "refresh" to the dev menu (since you won't be able to just refresh the tabcandy page once it's in the xul:deck)
2010-06-25 16:00:51 -07:00
Ian Gilman
33f1e545e4 + In the quest to abolish reloadBounds(), I've rewritten draggable, droppable and resizable to operate on an item's bounds rather than directly on the div. I've also removed those routines from iQ, and integrated them into Item. Additional related cleanup and documentation.
+ Removed a little bit of aza debug code
+ Added size and position routines to Rect
2010-06-22 16:42:06 -07:00
Aza Raskin
0389be08a6 + Opacity was effected, so backed out my iQ change. 2010-06-21 18:05:46 -07:00
Aza Raskin
9af8ecdef1 +merge 2010-06-21 17:34:52 -07:00
Aza Raskin
32751045e2 + Fixed a bug in iQ whereby unadorend numbers in animations wouldn't get a "px" suffix.
+ This fixes the title's strange placement.
2010-06-21 17:34:34 -07:00
Ian Gilman
27094a5d62 + Added attr to iQ, plus a unit test for it
+ Fixed click handler for expand button (it was allowing drag, and also it was on mousedown)
+ Added Ehsan and Raymond to the install.rdf contributors list
2010-06-21 17:27:12 -07:00
Aza Raskin
7c687aab87 -- Stacked Group Behavior --
+ Removed the command-click quasimode for showing the tray version of stacked groups.
+ Added a new expand icon for showing the tray version of stacked groups
+ Refactored the Group.js code so that we now have both group.collapse() and group.expand()

-- Website Behavior --
+ Updated the website to pull the documentation section from the Etherpad
+ Some general DRY-based cleanup

-- Install.rdf --
+ Fiddled with the min/max version
2010-06-19 18:46:39 -07:00
Ian Gilman
9d8648e238 + updated/added license blocks to all JavaScript files 2010-06-16 17:19:11 -07:00
Ian Gilman
feff0a9435 + Cleaned up TabItem bounds getting and setting (the translation between our coordinates and the div style needs to be done carefully, in particular due to the padding in the tab style), and added a unit test for it 2010-06-15 15:55:47 -07:00
Ian Gilman
76e48ebb74 + mitcho's first pass at group snapping 2010-06-15 11:53:53 -07:00
Aza Raskin
be2bb6f0de + Added code for making zoom-in faster too
+ Made the code for the speed-ups on zoom-in/zoom-out more general
2010-06-11 17:57:02 -07:00
Ian Gilman
1b54801963 + merge 2010-06-11 13:39:57 -07:00
Aza Raskin
7c01f5d8b2 + A work-around for supporting transitions to and from 'auto' values of left, top, width, height, etc.
+ For more details see: https://bugzilla.mozilla.org/show_bug.cgi?id=571344
2010-06-10 14:35:15 -07:00