Edward Lee
01d1bd8ecf
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
09c774a7e7
Bug 586834 - Reinstate the Tab Candy bounce [r=dolske a=dolske]
2010-08-12 17:37:22 -07:00
Edward Lee
00533ed8a3
Backout changesets a8b5109c2a6c to 6281bc7f1bbf.
2010-08-13 21:51:48 -07:00
Ian Gilman
b4e75fb574
Bug 586834 - Reinstate the Tab Candy bounce [r=dolske a=dolske]
2010-08-12 17:37:22 -07:00
Michael Yoshitaka Erlewine
4723a319ae
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
6774e96a8d
+ addressing dao's comments in iQ
2010-08-10 16:31:12 -07:00
Ian Gilman
6293c4a138
+ 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
76c3c39116
Bug 582023: rm Utils.timeout
2010-08-10 09:30:23 -04:00
Michael Yoshitaka Erlewine
ef62426129
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
763c4dcda9
+ 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)
2010-08-09 14:57:34 -07:00
Michael Yoshitaka Erlewine
954e56ad3b
Bug 584699: quick fix to -moz-transform rendering bug
2010-08-09 00:06:54 -04:00
Aza Raskin
6f33b076ab
+ 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
d6226d2f7e
Remove extra spaces inside () and add spacing for before { bracket
2010-07-30 17:54:30 +08:00
Ian Gilman
4f1e0bf4df
+ 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
157e2ebae4
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
b50eef6508
Bug 582023: rm iQ.get, as we were only using it in one way.
2010-07-28 23:02:26 -06:00
Edward Lee
48c4dc1b11
Clean up spaces around (), [], , in iq and utils for bug 577968.
2010-07-28 21:40:55 -07:00
Michael Yoshitaka Erlewine
dff3a21284
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
d14c7f00bb
Bug 582200: rm cross-browser code from iQ, follow Mozilla style better, r=mitcho
2010-07-27 10:07:17 -06:00
Edward Lee
e563e8c95b
Inline isFunction as typeof == function checks.
2010-07-23 19:29:32 -07:00
Michael Yoshitaka Erlewine
d6a5f98d75
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.
2010-07-23 17:33:02 -04:00
Edward Lee
65ed4cb175
Remove trailing spaces/tabs from tabcandy files.
2010-07-20 10:17:29 -07:00
Ian Gilman
4732ae27e1
+ Filled out iQ.js comments
2010-07-19 15:27:19 -07:00
Michael Yoshitaka Erlewine
2ce959817e
rm trailing whitespace
2010-07-18 11:58:10 -04:00
Ian Gilman
5a26d7be87
+ 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
4b1307fbeb
Bug 577387: cleanup of the new iQ(...).each
2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
6d69b4bebd
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
f8ba518cb4
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
6ef246ed50
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
fa6710ad88
cleanup: iQ.each: never used with args, so that code is removed
2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
3a482e71d9
cleanup: rm iQ.grep; using .filter instead.
2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
cffd568794
cleanup: rm iQ.inArray
2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
2e4c30c94e
cleanup: rm various instances of iQ.each where it's an array, so we can use .forEach
2010-07-13 19:38:51 -04:00
Michael Yoshitaka Erlewine
515c23d9e6
cleanup: rm iQ.makeArray
2010-07-13 17:39:46 -04:00
Michael Yoshitaka Erlewine
3f00362792
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
b3a9ff68e0
bug 577968: removing elses preceded by returns; replacing tabs
2010-07-11 19:48:05 -04:00
Ian Gilman
fcd9873207
+ 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
428904327b
+ 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
4d69628480
+ Opacity was effected, so backed out my iQ change.
2010-06-21 18:05:46 -07:00
Aza Raskin
471916e427
+merge
2010-06-21 17:34:52 -07:00
Aza Raskin
c461cfd492
+ 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
14a7e8220e
+ 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
7eba3dc8d1
-- 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
8806043064
+ updated/added license blocks to all JavaScript files
2010-06-16 17:19:11 -07:00
Ian Gilman
49ef3dcefd
+ 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
3e11f530b3
+ mitcho's first pass at group snapping
2010-06-15 11:53:53 -07:00
Aza Raskin
c25c0e962a
+ 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
34b70b78bc
+ merge
2010-06-11 13:39:57 -07:00
Aza Raskin
097a40a03d
+ 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
Ian Gilman
ef49f6c055
+ Added iQ.timeout, which wraps setTimeout in try/catch. Everything uses this now
2010-06-10 12:04:39 -07:00