Commit Graph

2264 Commits

Author SHA1 Message Date
Michael Yoshitaka Erlewine
51a6895e12 changing pageBounds and default guide ranges so that the extend animation looks better 2010-06-30 01:06:36 -04:00
Michael Yoshitaka Erlewine
8ffb32bd67 fixed a bug where showing a guide trench and then dragging over it slowly allows it to extend, even though it no longer is snapped to. 2010-06-30 00:49:30 -04:00
Michael Yoshitaka Erlewine
67871964e5 guide trenches now originally start at their minRange range and then extend after a second 2010-06-30 00:46:15 -04:00
Michael Yoshitaka Erlewine
b88167bb8b I was getting some errors about illegal values in arguments of getWindowValue; this seems to fix it. 2010-06-29 21:58:15 -04:00
Aza Raskin
138ce40654 + Trivial change 2010-06-29 16:39:48 -07:00
Edward Lee
77ed94ee3c Bug 574188 - Include individual js pieces into tabcandy.js and expose content and skin files with jar.mn
--HG--
rename : browser/base/content/tabcandy/tabcandy.xhtml => browser/base/content/tabcandy/tabcandy.html
2010-06-29 01:04:26 -07:00
Edward Lee
951edd39c8 Bug 574188 - Add UI hooks to trigger tab candy 2010-06-29 01:04:22 -07:00
Edward Lee
cdce020195 Merge updates to tabcandy to mozilla-central. 2010-06-28 16:18:47 -07:00
Raymond Lee
045cf1a746 Bug 572889 - Move TabCandy out of a tab and into a per-window xul:deck
Wrap the browser in a deck with an iframe for tabcandy.
2010-06-28 16:15:37 -07:00
Ian Gilman
68589ba178 + Items no longer have reloadBounds; once the item is set up, we never pull location data off of the div 2010-06-28 16:11:22 -07:00
Ian Gilman
76617fe78a + Cleaned up inelegant box shadows per fryn's suggestion
+ Made the snap guides a little more subtle
2010-06-28 14:56:20 -07:00
Ian Gilman
1e217dd346 + applying Raymond's fix for Bug 565968 - tab-switching keyboard shortcuts iterate over all tabs not just the active subset 2010-06-28 13:47:25 -07:00
Michael Yoshitaka Erlewine
2aeca5ec1f move trench styling into CSS; fix trenches so that, if in showDebug mode, the trenches will stay drawn 2010-06-28 02:55:26 -04:00
Ian Gilman
95b7cd38f1 + merge 2010-06-25 16:10:52 -07:00
Ian Gilman
d2bd3d9691 + 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
Aza Raskin
76fbf5a368 + Added a minimum size for groups. 2010-06-25 15:47:34 -07:00
Aza Raskin
d7e757ad96 + 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
0b70f644f5 + 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
922535a30a + 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
Raymond Lee
c12c95019c 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
Edward Lee
3f94e7a630 Merge tabcandy to mozilla-central. 2010-06-28 15:47:09 -07:00
Michael Yoshitaka Erlewine
3c78dad6c8 much better tracking of exactly which trench did the snapping 2010-06-23 00:19:10 -04:00
Michael Yoshitaka Erlewine
cef22ee195 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
d4ae73a50a some edges of TabItems were not projecting trenches on startup 2010-06-22 23:45:51 -04:00
Michael Yoshitaka Erlewine
4f0bcda9c4 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
a327ab3b58 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
d0875e4220 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
81aa471969 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
b6cecaceed 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
501a7c0e98 + merge 2010-06-22 16:43:44 -07:00
Ian Gilman
688afd22c9 + 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
d16ab92084 don't snap if we're dragging over a drop-site. 2010-06-22 15:52:34 -04:00
Michael Yoshitaka Erlewine
f894f8646f + 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
bfc003aaea + Opacity was effected, so backed out my iQ change. 2010-06-21 18:05:46 -07:00
Aza Raskin
040e3e38b2 +merge 2010-06-21 17:34:52 -07:00
Aza Raskin
32de3bb9dd + 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
fb396964b7 + 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
4031df8b62 + 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
b392d4b51f + merge 2010-06-21 15:37:56 -07:00
Ian Gilman
96a9536bd8 + applied patch: Temp Fix: Bug 570565 - Background Tab Close buttons disappear 2010-06-21 15:17:23 -07:00
Aza Raskin
fb5c0336c1 + 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
4752f94d2b deprecating iQ.fn.data isDragging flag... instead, using Item.isDragging flag 2010-06-21 16:38:33 -04:00
Aza Raskin
da01ed2bf8 + More merging 2010-06-19 18:53:21 -07:00
Aza Raskin
5a5d0efce8 + Merge 2010-06-19 18:51:57 -07:00
Aza Raskin
115cf08a6a + Removed the unused getChildrenBounds() method of a group. 2010-06-19 18:49:33 -07:00
Aza Raskin
8872ac2b18 + Added documentation for the hide/show expand control functions. 2010-06-19 18:49:08 -07:00
Aza Raskin
0168865d37 -- 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
d9518d92ca make sure to call Drag.stop at the end of resizing 2010-06-19 21:12:40 -04:00
Michael Yoshitaka Erlewine
400cd9dfac 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
3c30b91f84 fixed regression of improper resizing on movement 2010-06-19 19:05:23 -04:00