Ian Gilman
f721908785
+ 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
b2e717a708
Bug 577387: cleanup of the new iQ(...).each
2010-07-14 00:08:45 -04:00
Michael Yoshitaka Erlewine
9a60acf905
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
091ba94b69
cleanup: rm unused functions, constants from Utils + Mirror
2010-07-13 22:48:55 -04:00
Michael Yoshitaka Erlewine
fe182c97dc
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
5b86879af2
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
2f32f45b95
cleanup: iQ.each: never used with args, so that code is removed
2010-07-13 20:28:36 -04:00
Michael Yoshitaka Erlewine
45ae6c43ea
cleanup: rm iQ.grep; using .filter instead.
2010-07-13 20:23:04 -04:00
Michael Yoshitaka Erlewine
66fbb972b6
cleanup: rm iQ.inArray
2010-07-13 20:10:53 -04:00
Michael Yoshitaka Erlewine
115a5ceee4
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
2518a2912d
cleanup: rm iQ.makeArray
2010-07-13 17:39:46 -04:00
Raymond Lee
d710dcfb46
Bug 576110: Open tab candy at startup if it was last open
2010-07-13 12:04:04 +08:00
Michael Yoshitaka Erlewine
12fea0e4df
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
7c68df1b19
bug 577968: removing elses preceded by returns; replacing tabs
2010-07-11 19:48:05 -04:00
Ian Gilman
f074bb3090
+ started work on the first run experience: everything goes into a single new group, and there is an info item as well
...
+ Added "reset" to the dev menu so we can test first run (since the reset button is currently AWOL)
+ Added Utils.assertThrow(), an assert that throws an exception
2010-07-07 17:04:01 -07:00
Ian Gilman
d1e2e54e22
+ refactored Raymond's fix to Bug 576424
2010-07-02 16:33:33 -07:00
Ian Gilman
4c5dd290a4
+ Removed placebo hack from Storage.wipe()
...
+ Removed TabItems.reconstitute(), which we haven't actually needed for a while, but now it's also causing trouble
+ Removed Utils.activeWindow, which doesn't seem to work, and replaced its use in Utils.activeTab (the only remaining place it was being used) with Utils.getCurrentWindow(), which does seem to work
+ Utils.assert() now dumps a trace
+ Fixed paths to the edit pencil and new tab button images; they should now show up properly
2010-07-01 17:05:46 -07:00
Raymond Lee
cb3ec79a4c
Bug 572889 - Move TabCandy out of a tab and into a per-window xul:deck [r=iangilman]
...
Update code for tabCandy in xul:deck to not assume it's living in a tab and update various events and callbacks.
--HG--
extra : rebase_source : 7007f13f4e9e3ebd0eb38f91d41bccfa68b3099d
2010-06-23 17:25:34 +08:00
Ian Gilman
59ca7177c1
+ 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
db039df3cc
+ If a dragged item overlaps more than one droppable, the largest intersection wins
...
+ Added intersection and area to Rect
+ Cleaned out a little debug code
2010-06-23 17:10:16 -07:00
Michael Yoshitaka Erlewine
4b8db5704f
just some comments to pushAway and related functions; rm legacy squishModes; pushAway now uses Trenches.gutter for margins, and respects safe window bounds
2010-06-22 19:50:37 -04:00
Ian Gilman
f27b76876b
+ 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
Michael Yoshitaka Erlewine
0449a02ad5
+ Range.overlaps; bugfix: border trenches unfortunately had an inappropriately large activeRange... fixed. This fixes the long-distance border-snapping which unfortunately shipped with 0.4
2010-06-21 22:32:07 -04:00
Aza Raskin
1ecd755252
+ Opacity was effected, so backed out my iQ change.
2010-06-21 18:05:46 -07:00
Aza Raskin
8527336f86
+merge
2010-06-21 17:34:52 -07:00
Aza Raskin
5a2c9050c0
+ 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
f3d7fae183
+ 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
34acdb793e
+ More merging
2010-06-19 18:53:21 -07:00
Aza Raskin
a225660495
+ Merge
2010-06-19 18:51:57 -07:00
Aza Raskin
0cb1b4b3bd
-- 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
Michael Yoshitaka Erlewine
70bb1f6e7a
Rect now computes its own xRange and yRange
2010-06-19 18:47:26 -04:00
Michael Yoshitaka Erlewine
7f4935a73c
Range update
2010-06-19 17:37:36 -04:00
Michael Yoshitaka Erlewine
f9f1a26791
class Range
2010-06-19 16:58:51 -04:00
Ian Gilman
42b6ab9a7e
+ Fixed: Bug 570089 - Dragging northwest in tabcandy area creates zero-area tab group
2010-06-18 14:42:06 -07:00
Ian Gilman
e0dc68f5f2
+ updated/added license blocks to all JavaScript files
2010-06-16 17:19:11 -07:00
Ian Gilman
6c31429006
+ removed unused code and reorged remainder
2010-06-16 15:46:05 -07:00
Ian Gilman
555ae49cad
+ 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
f5531e7c7b
+ mitcho's first pass at group snapping
2010-06-15 11:53:53 -07:00
Aza Raskin
1f42327eb9
+ 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
544e92d7fc
+ merge
2010-06-11 13:39:57 -07:00
Aza Raskin
5ba54d4fdf
+ 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
a0507cee74
+ Added iQ.timeout, which wraps setTimeout in try/catch. Everything uses this now
2010-06-10 12:04:39 -07:00
Ian Gilman
0ae6da1b15
+ Fixed z-index issue (and added a unit test for it)
...
+ Fixed some of the tab sizing issues (like when returning from a tab)
2010-06-09 17:30:02 -07:00
Ian Gilman
0d0b212d00
+ We are entirely jQuery-free in revision-a!
...
+ You can now drop tabs on tabs
+ Resize works once again, but with iQ
2010-06-09 14:45:48 -07:00
Ian Gilman
5c5eb39367
+ merge
2010-06-08 17:14:40 -07:00
Ian Gilman
ffc61066d5
+ All dragging is now done with iQ
...
+ You can drop tabs onto groups (but no tabs on tabs yet)
+ Disabled resize for now
+ Fixed a bug with groups looking like they were deleted but not really being
2010-06-08 17:13:19 -07:00
Aza Raskin
d45cf7f793
+ Tweaked the timing function to look prettier.
2010-06-08 13:42:27 -07:00
Ian Gilman
726d15b41d
+ documentation+ documentation+ documentation+ documentation+ documentation+ documentation+ documentation+ documentation+ documentation
2010-06-07 17:24:55 -07:00
Ian Gilman
74e39016c5
+ All event handlers sent into iQ.fn.bind and its aliases are now automatically wrapped in a try/catch (the catch simply does a Utils.log with the error)
...
+ Fixed a couple of issues found with the new event try/catch
+ Converted Group.newTab over to iQ (was the last jQuery bit besides drag/drop/resize)
2010-06-07 17:20:15 -07:00
Ian Gilman
266229c78d
+ We're no longer using a style sheet for our CSS transitions (doing it directly in JavaScript instead)
...
+ Changed the iQ.fn.animate call signature: it now takes two arguments, a CSS object and an options object (with possible parameters: duration, easing and complete)
+ iQ.fn.animate now reliably calls back the completion routine (this was causing all sorts of trouble)
+ Reenabled TabMirror.pausePainting
+ Added animate.html, a test bed for playing with CSS transitions
2010-06-07 16:16:55 -07:00