Commit Graph

224219 Commits

Author SHA1 Message Date
Ian Gilman
bf54a8a660 + added "all tabs" button back to the tab bar (restore defaults to see) 2010-07-06 14:10:55 -07:00
Raymond Lee
0d9685bdf3 Show the tabcandy button at the right end of tabstrip 2010-07-05 12:18:12 +08:00
Michael Yoshitaka Erlewine
e95d453522 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
0e7c75543a - 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
d5381b1eee quick bugfix to an assert in Drag 2010-07-03 21:01:57 -04:00
Michael Yoshitaka Erlewine
a67cbf3b21 fixed a bug in delayInit 2010-07-03 21:00:43 -04:00
Michael Yoshitaka Erlewine
7bf7952b3a Group.isEmpty 2010-07-03 17:55:19 -04:00
Michael Yoshitaka Erlewine
e41c23897b + 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
3eaf0547a0 createGroupOnDrag now snaps with trenches! 2010-07-03 15:44:35 -04:00
Raymond Lee
df2ef04b09 Fixed Bug 576393 - Tabs.onFocus() isn't working reliably 2010-07-02 17:28:53 +08:00
Ian Gilman
5420ee8d1b + merge 2010-07-02 16:36:26 -07:00
Ian Gilman
946b7587c0 + refactored Raymond's fix to Bug 576424 2010-07-02 16:33:33 -07:00
Aza Raskin
3079520b79 + Not understanding why I had to merge when Mardak claims I shouldn't have to. 2010-07-02 16:17:55 -07:00
Aza Raskin
43c7f3136f + Changed the styling of the snap guides to be a little more architectural and a lot more subdued. 2010-07-02 16:16:16 -07:00
Raymond Lee
e9a223ccbd Fix Bug 576424 - We need to know when sessionstore is available 2010-07-02 13:27:49 +08:00
Ian Gilman
d2e5ab946e + 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
ce235a0cf6 + merge 2010-06-30 11:49:31 -07:00
Ian Gilman
a22d6f6a96 + Just a little documentation update 2010-06-30 11:05:01 -07:00
Aza Raskin
f3f62e0939 Change the style of the guide lines to feel lighter and more in-style.
--HG--
extra : rebase_source : c767971fc6c64e76201266fd52d1f52c2513c176
2010-06-30 10:30:55 -07:00
Michael Yoshitaka Erlewine
f047b0120c 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
41fc519159 changing pageBounds and default guide ranges so that the extend animation looks better 2010-06-30 01:06:36 -04:00
Michael Yoshitaka Erlewine
3dfd5085de 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
f1df140b2f 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
0509152a81 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
Michael Yoshitaka Erlewine
c5a2519830 updating styling of guide trenches
--HG--
extra : rebase_source : be6b4093122a9853879c835f04a93aa6b85a57b3
2010-06-29 19:37:52 -04:00
Aza Raskin
ac40e7a873 + Merge 2010-06-29 17:08:36 -07:00
Edward Lee
d2124e7441 Remove full-stop for tooltip. 2010-06-29 16:41:51 -07:00
Aza Raskin
0229c91fe4 + Trivial change 2010-06-29 16:39:48 -07:00
Ian Gilman
7dccaca304 + 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
e46ce11140 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
9470533a4d Bug 574188 - Add UI hooks to trigger tab candy 2010-06-29 01:04:22 -07:00
Edward Lee
e30e7f9427 Merge updates to tabcandy to mozilla-central. 2010-06-28 16:18:47 -07:00
Raymond Lee
a5bcf4381e 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
1345ea6499 + 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
a71e6207a7 + 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
3fc87452a5 + 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
d8c19dac06 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
611187d87b + merge 2010-06-25 16:10:52 -07:00
Ian Gilman
442793c33a + 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
4381ad18ee + Added a minimum size for groups. 2010-06-25 15:47:34 -07:00
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
Raymond Lee
05507b3c3e 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
3f0cdced0a Merge tabcandy to mozilla-central. 2010-06-28 15:47:09 -07:00
Ehsan Akhgari
f9c93e65d8 Merge backout of changeset d1cbe16de6bf 2010-06-28 15:29:45 -04:00
Ehsan Akhgari
c06468921a Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Ehsan Akhgari
6d9e9cffba Merge backout of changeset c9b9f32a152b 2010-06-28 15:29:00 -04:00
Ehsan Akhgari
e3768a07c3 Backed out changeset c9b9f32a152b to fix oranges 2010-06-28 15:28:45 -04:00
Shawn Wilsher
f871937b41 Bug 574811 - Rename IDBCursorRequest to IDBCursor
Updating interface names per recent specification changes.
r=bent

--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-28 11:51:06 -07:00