Commit Graph

300 Commits

Author SHA1 Message Date
Aza Raskin
98e3c972d2 + Cleaned up the code which changes the styling of a tabitems fav icon.
- The bite still exist, it just gets smaller.
2010-06-25 15:15:51 -07:00
Aza Raskin
0976054f8a + Updated the spec
+ Modified the tabitem layout code so that favicons are more sensibly handled at smaller sizes.
2010-06-24 23:59:32 -07:00
Ian Gilman
0e1ecccb88 + 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
797662de01 much better tracking of exactly which trench did the snapping 2010-06-23 00:19:10 -04:00
Michael Yoshitaka Erlewine
4dc221167d previous fix to new tab tray allowed tabs to be *resized* into the new tab tray as well. fixed. 2010-06-22 23:52:40 -04:00
Michael Yoshitaka Erlewine
fe7085d194 some edges of TabItems were not projecting trenches on startup 2010-06-22 23:45:51 -04:00
Michael Yoshitaka Erlewine
bfb6038293 now can drag tabs onto new tab tray... now getSafeWindowBounds does *not* use getPageBounds at all. 2010-06-22 23:35:38 -04:00
Michael Yoshitaka Erlewine
e5c82716d2 first pass at drawing "guides" when you snap. In reality, they should only show up after you hold it in position for a half second or so, and the identification of which trench was actually used in snapping must be improved. Recommendation: do not ship this in this current iteration. 2010-06-22 23:18:40 -04:00
Michael Yoshitaka Erlewine
f31bd69cfd don't snap to anything (except edges) if you're on top of another group (fixes bug reported by Aza: snapping onto another group) 2010-06-22 23:16:49 -04:00
Michael Yoshitaka Erlewine
c641dffcb5 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
Michael Yoshitaka Erlewine
fa20da4bf9 moved close button outside of the title bar so that it doesn't jump around on squish. 2010-06-22 19:47:02 -04:00
Ian Gilman
5b982f6faf + merge 2010-06-22 16:43:44 -07:00
Ian Gilman
992d4aee21 + 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
5012dce24d don't snap if we're dragging over a drop-site. 2010-06-22 15:52:34 -04:00
Michael Yoshitaka Erlewine
c27f50120e + 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
4c5092822c + Opacity was effected, so backed out my iQ change. 2010-06-21 18:05:46 -07:00
Aza Raskin
5809f069f0 +merge 2010-06-21 17:34:52 -07:00
Aza Raskin
0a92eb80e6 + 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
5432146b86 + 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
Ian Gilman
d94d01e1a6 + Raymond's close button fix missed a couple cases: creating new tabs with command+click, and closing non-selected tabs with the close buttons in the tabbar. Fixed. 2010-06-21 16:35:29 -07:00
Ian Gilman
834fb8f54a + merge 2010-06-21 15:37:56 -07:00
Ian Gilman
0a9911358c + applied patch: Temp Fix: Bug 570565 - Background Tab Close buttons disappear 2010-06-21 15:17:23 -07:00
Aza Raskin
dca60ad651 + Fixed the minVersion of the XPI as per Mitcho's suggestion
+ Bumped XPI version to 0.4
+ Commented out the click-on-group to zoom into the last active tab
2010-06-21 14:49:38 -07:00
Michael Yoshitaka Erlewine
d26fdc995b deprecating iQ.fn.data isDragging flag... instead, using Item.isDragging flag 2010-06-21 16:38:33 -04:00
Aza Raskin
e1f3f4100b + More merging 2010-06-19 18:53:21 -07:00
Aza Raskin
0b3d691a90 + Merge 2010-06-19 18:51:57 -07:00
Aza Raskin
f94abd03ff + Removed the unused getChildrenBounds() method of a group. 2010-06-19 18:49:33 -07:00
Aza Raskin
1fd8a1da07 + Added documentation for the hide/show expand control functions. 2010-06-19 18:49:08 -07:00
Aza Raskin
5b4e553b4b -- 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
d92f289628 make sure to call Drag.stop at the end of resizing 2010-06-19 21:12:40 -04:00
Michael Yoshitaka Erlewine
37b142d943 moved shared resizeOptions core into Items; move edge-snapping code out into Drag.snapToEdge; make resizeOptions invoke Drag.snap so that it can take advantage of the advances in drag-snapping technology; made snapToEdge work with resizeable rects 2010-06-19 20:45:23 -04:00
Michael Yoshitaka Erlewine
bae3e99e7b fixed regression of improper resizing on movement 2010-06-19 19:05:23 -04:00
Michael Yoshitaka Erlewine
c037736878 Rect now computes its own xRange and yRange 2010-06-19 18:47:26 -04:00
Michael Yoshitaka Erlewine
32a8077071 trench.js docs 2010-06-19 18:39:55 -04:00
Michael Yoshitaka Erlewine
d06b8545ec trust the Rect and use .right and .bottom 2010-06-19 17:44:19 -04:00
Michael Yoshitaka Erlewine
fea72e24de some Trench docs; using Range 2010-06-19 17:40:14 -04:00
Michael Yoshitaka Erlewine
1d3b90b4d1 Range update 2010-06-19 17:37:36 -04:00
Michael Yoshitaka Erlewine
9fabd1adb8 class Range 2010-06-19 16:58:51 -04:00
Michael Yoshitaka Erlewine
dda8552088 snap to the edges of the window; don't snap if the meta (command) key is being held down 2010-06-19 16:18:30 -04:00
Michael Yoshitaka Erlewine
b200e6b13f move defaultGutter into Items; defaultRadius into Trenches; now items cannot escape the window when dragged (bug 572919) 2010-06-19 16:08:14 -04:00
Michael Yoshitaka Erlewine
7b37b6ed38 one more tweak for "Only snap to a trench when it is physically proximate" 2010-06-19 15:35:27 -04:00
Michael Yoshitaka Erlewine
724c3e2376 more tabs into spaces 2010-06-19 15:05:36 -04:00
Michael Yoshitaka Erlewine
c0ce758db8 turned tabs into spaces; "Only snap to a trench when it is physically proximate" (result: http://img.skitch.com/20100619-cp6pdsbrien3phhi9rbn85jr3t.jpg); added isDragging flag to item itself 2010-06-19 14:56:07 -04:00
Ian Gilman
c1b5505634 + Fixed: Bug 569846 - No hover help for "new tab" icons in tab group 2010-06-18 14:59:24 -07:00
Ian Gilman
924ae1e58b + merge 2010-06-18 14:42:51 -07:00
Ian Gilman
1e81ade79e + Fixed: Bug 570089 - Dragging northwest in tabcandy area creates zero-area tab group 2010-06-18 14:42:06 -07:00
Michael Yoshitaka Erlewine
ca40b95b47 fixed bug 572888: groups resizing when stuck in trench and moved slowly 2010-06-18 00:50:42 -04:00
Aza Raskin
1142fcad02 Fixed the incorrect timing of the tray when fanning out a stacked group. 2010-06-17 17:31:03 -07:00
Ian Gilman
a15dd94886 + Fixed Bug 568882 - TabCandy should not reorder tabs 2010-06-17 16:38:07 -07:00
Ian Gilman
d9ccf86c10 + groups.js is now fully documented (except for member variables) 2010-06-17 15:57:45 -07:00