Raymond Lee
0cb80921f3
Another fix for Bug 576424
2010-07-03 12:33:33 +08:00
Raymond Lee
22a24b4fb6
Partial fix for Bug 576427
2010-07-04 00:08:34 +08:00
Ian Gilman
2d3ecbef1b
+ merge
2010-07-06 14:14:01 -07:00
Ian Gilman
ad3ed778dd
+ added "all tabs" button back to the tab bar (restore defaults to see)
2010-07-06 14:10:55 -07:00
Michael Yoshitaka Erlewine
157598362d
+ xDensity and yDensity computation for Group's
2010-07-06 11:42:23 -07:00
Raymond Lee
2705814563
Show the tabcandy button at the right end of tabstrip
2010-07-05 12:18:12 +08:00
Michael Yoshitaka Erlewine
d1c290c236
UIClass.resize now triggers Item.snap on each resized item. But in general, UIClass.resize/Item.squish/unsquish logic is crazy, should be rewritten.
2010-07-03 21:41:31 -04:00
Michael Yoshitaka Erlewine
aa9e3d4ae4
- moved Trench.radius to be a getter and always reflect Trenches.defaultRadius.
...
- moved Group._getBoundingBox to Groups.getBoundingBox; now a better algorithm which is order-independent.
- modified "drag tab onto another tab" action's phantom group computation using getBoundingBox: now a touch more realistic.
+ Item.snap, which is used to instantaneously resituate oneself into a more trench-inspired position, using wider radius trenches.
- Group constructor now runs Item.snap, so all new groups are marginally better positioned.
- correcting my foolish ways: replacing some tabs with spaces.
2010-07-03 21:13:31 -04:00
Michael Yoshitaka Erlewine
341b61b6a2
quick bugfix to an assert in Drag
2010-07-03 21:01:57 -04:00
Michael Yoshitaka Erlewine
4fa62b5156
fixed a bug in delayInit
2010-07-03 21:00:43 -04:00
Michael Yoshitaka Erlewine
b52289b78b
Group.isEmpty
2010-07-03 17:55:19 -04:00
Michael Yoshitaka Erlewine
1927ab2f59
+ the notion of stationaryCorner to the Trench logic. this value specifies which corner of a bound must remain stationary while resizing. Normally this is the topleft, but in the case of dragging out new tab groups, it actually could be another corner, which means the snapping computation is different. Fixes a couple minor resizing bugs.
2010-07-03 16:55:54 -04:00
Michael Yoshitaka Erlewine
0b67b35c37
createGroupOnDrag now snaps with trenches!
2010-07-03 15:44:35 -04:00
Raymond Lee
93e563c3c7
Fixed Bug 576393 - Tabs.onFocus() isn't working reliably
2010-07-02 17:28:53 +08:00
Ian Gilman
dbd70f1265
+ refactored Raymond's fix to Bug 576424
2010-07-02 16:33:33 -07:00
Raymond Lee
e33aa7ca0a
Fix Bug 576424 - We need to know when sessionstore is available
2010-07-02 13:27:49 +08:00
Ian Gilman
540981fd54
+ 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
Ian Gilman
79cedb9ca3
+ merge
2010-06-30 11:49:31 -07:00
Ian Gilman
3edfaf4202
+ Just a little documentation update
2010-06-30 11:05:01 -07:00
Michael Yoshitaka Erlewine
9c5149bab4
pulling out extending guide trenches as per Aza's feedback. revert to 787f64274830 to try them again. keeping some bugfixes which were made during extending guide trench dev, though.
2010-06-30 11:32:17 -04:00
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
Ian Gilman
b36a491ea7
+ Fixed: Bug 575675 - FindChildWithRules aRelevantLinkVisited assertion when loading tabcandy page
...
+ The "code docs" item on the dev menu now opens the documentation from the repository into a new tab (used to open the local documentation, which doesn't exist in this new context, and replace the tab candy tab)
+ Removed the "tests" item from the dev menu, as they don't apply to this new context
+ Fixed an accidental comma in tabcandy.css (was disabling the pointer cursor for tabs)
2010-06-29 14:39:37 -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