57 Commits

Author SHA1 Message Date
gavin%gavinsharp.com
4eec525557 Bug 247116: fix infinite resize loop that causes the UI to jitter when the bookmarks toolbar is empty, patch by Dave Townsend <mossop.bugzilla@blueprintit.co.uk>, r=me
git-svn-id: svn://10.0.0.236/trunk@222054 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 01:14:26 +00:00
gavin%gavinsharp.com
7ea655ee66 Bug 305910: change "Open in tabs" to "Open All in Tabs", patch by Mike Beltzner <beltzner@mozilla.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@201178 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 01:19:18 +00:00
bugzilla%standard8.demon.co.uk
ee4a03f422 Bug 232795 In bookmarksMenu.js, Error: aDragSession.sourceNode has no properties. (Bv1b-TK) p=Serge GAUTHERIE <gautheri@noos.fr>,r=mconnor
git-svn-id: svn://10.0.0.236/trunk@198744 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 16:21:16 +00:00
Olli.Pettay%helsinki.fi
ed6f59a4d7 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 22:03:49 +00:00
timeless%mozdev.org
517099ad86 Bug 243078 - Native Theme Rendering for Windows XP Menus, toolbars
patch by silver@warwickcompsoc.co.uk r=dougt sr=neil


git-svn-id: svn://10.0.0.236/trunk@181743 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 00:31:36 +00:00
mozilla.mano%sent.com
8c93225db7 Bug 246158 - context menu of bookmarks doesn't work if the bookmarks toolbar is removed. patch from Martijn Wargers <martijn.martijn@gmail.com>, r=me.
git-svn-id: svn://10.0.0.236/trunk@180482 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 00:10:39 +00:00
mconnor%steelgryphon.com
ad4d403c10 bug 246158 - bookmarks context menu broken with bookmarks toolbar folder removed from toolbars, r=vlad
git-svn-id: svn://10.0.0.236/trunk@180121 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 18:19:47 +00:00
vladimir%pobox.com
df47ee1776 b=268553, can't add new folder on bookmarks toolbar after having deleted a folder, r=mano
git-svn-id: svn://10.0.0.236/trunk@179251 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 22:23:49 +00:00
mconnor%steelgryphon.com
9ca5e7e574 bug 304705 - Add Bookmark dialog: Bookmarks Toolbar generates error, also fix bogus contextmenu on Bookmark All Tabs menuitem r=vlad
git-svn-id: svn://10.0.0.236/trunk@178916 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:43:46 +00:00
gavin%gavinsharp.com
8c01e3705a Bug 301519: Personal Bookmarks disappear from Bookmarks Toolbar, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=vlad, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176781 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:23:53 +00:00
mozilla.mano%sent.com
db258f53a1 Bug 178120 - Chevron box not updated when renamed bookmarks exceed/under-run the Bookmark Toolbar. patch from Henrik Skupin <hskupin@gmail.com>, r=vladimir, a=asa.
git-svn-id: svn://10.0.0.236/trunk@176033 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:54:26 +00:00
mozilla.mano%sent.com
49700d3c6c Bug 298134 - strict warning in bookmarksMenu.js: undefined property event.type. patch from Henrik Skupin <hskupin@gmail.com>, r+a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@175630 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-05 19:46:02 +00:00
mozilla.mano%sent.com
7319f54a67 Bug 291371 - avascript strict warnings in bookmarksMenu.js. patch from Jason Barnabe <jason_barnabe@fastmail.fm>, r=benjamin, a=asa
git-svn-id: svn://10.0.0.236/trunk@174243 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 21:39:17 +00:00
mozilla.mano%sent.com
2d9acdd5a4 Bug 266737 - Bookmarks Toolbar is empty (only showing chevron) after being resized while minimized. patch from Martijn Wargers <martijn.martijn@gmail.com>, r=mconnor, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173884 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 12:50:38 +00:00
mozilla.mano%sent.com
0993d71f04 Bug 290714 - Don't use reserved const names in bookmarks/content. r=mconnor, a=asa
git-svn-id: svn://10.0.0.236/trunk@172434 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 15:17:04 +00:00
gerv%gerv.net
c9c6bdd186 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168642 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 17:36:54 +00:00
ben%bengoodger.com
634116d6c6 Landing the Aviary Branch (browser section only).
git-svn-id: svn://10.0.0.236/trunk@165934 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 08:23:02 +00:00
p_ch%verizon.net
0f9a885f79 Bug 235243 followup: menuseparator should be handled in the menupopup case.
git-svn-id: svn://10.0.0.236/trunk@161287 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 23:10:24 +00:00
p_ch%verizon.net
c30703c9a5 Bug 235243: Need drag and drop feedback for toolbar bookmarks (and menuitem bookmarks for gtk2).
In addition to the DND feedback, this patch:
- introduces a new var 'BookmarksInsertion' that 'encapsulates' DND feedback
display.
- rewrite the rtl handling related to DND. BookmarksInsertion deals with this
subtleties and the "public" feedback orientation ("before"|"on"|"after")
returned by BookmarksInsertion.getOrientation refers now to the DOM.
- paste and copy commands on the menus now insert after the rclicked element.
The hack that appended everything at the end of the container has been removed
or more accurately replaced by another one that is at least invisible to the
user and we already used for DND. The problem is due a problem with the content
building of containers with siblings (open in tabs stuff) not generated by the
bookmarks template.
- usual small glitch fixing.


git-svn-id: svn://10.0.0.236/trunk@161271 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 20:24:14 +00:00
vladimir%pobox.com
c19ada0428 b=243720, bookmark can't move into sub-folder in personal toolbar (drag and drop), patch from roc/aku, r=me,a=asa
git-svn-id: svn://10.0.0.236/trunk@160126 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 07:22:16 +00:00
vladimir%pobox.com
63de84a60f bookmarks fixes merged from aviary branch:
192624 - empty bookmark folder should show "(Empty)"
202798 - customizing toolbar in fullscreen mode breaks menus (bandaid)
221482 - bookmarks toolbar temporarily cleared when clicking restore default set in customize
232089 - bookmarks 'create in' shouldn't persist
234089 - bookmarks toolbar folder shouldn't be deletable with C-x (crasher)
238661 - moving a bookmark folder to itself deletes the folder
250179 - bookmarks toolbar wonky after customization
250820 - toolbar icon state/context menu/etc. broken after returning from fullscreen mode
251988 - livemark menu doesn't work after going to page without livemark and clicking
251335 - bookmarks toolbar folder has different context menu from other bookmark folders
251802 - refresh livemark doesn't work from toolbar/menu
252053 - make bookmarks use SafeOutputStream (dwitte)
252133 - new bookmarks items should be added below selected items, not above
252792 - livemark context menu contains active new folder menu item
252870 - context menu of empty personal toolbar folder has inconsistent items
252875 - bookmarks root name not localizable


git-svn-id: svn://10.0.0.236/trunk@160122 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:25:41 +00:00
vladimir%pobox.com
544b331624 b=244078, live bookmarks merge from aviary branch.
git-svn-id: svn://10.0.0.236/trunk@160117 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 05:29:27 +00:00
mconnor%myrealbox.com
6bbb7f5931 bug 252077 - fix regression in DnD of bookmarks in RTL locales from bug 240485, patch by Asaf Romano (bugs.mano@mail-central.com), r=me
git-svn-id: svn://10.0.0.236/trunk@159481 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 16:43:25 +00:00
ben%bengoodger.com
2f47b4d90b 174390 - bookmarks toolbar overflow doesn't account for toolbar items to the right of the bookmarks toolbar. patch by dkoppenh@null.net, r=ben
git-svn-id: svn://10.0.0.236/trunk@159035 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-11 22:53:35 +00:00
jruderman%hmc.edu
12bdd7de6f Bug 247606 - Review Firefox JS for dangerous eval() use. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@158821 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 03:05:25 +00:00
mconnor%myrealbox.com
1fb16d16bb bug 240485 - Bookmarks Toolbar items go under the 'chevron' icon, when interface is RTL, original patch by Asaf Romano (bugs.mano@mail-central.com), rewritten by me, landing on trunk finally
git-svn-id: svn://10.0.0.236/trunk@158770 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 00:14:30 +00:00
jruderman%hmc.edu
addca61bba 246719 - Make link modifiers work consistently throughout Firefox. This fixes 202819, 214816, 224132, and 236864. Also makes middlemouse.contentLoadURL work on Windows by porting the fix for 217090. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@158389 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 22:54:12 +00:00
ben%bengoodger.com
e92185dff0 203556 - bookmark toolbar folders should behave like menus, patch by basic <basic@mozillanews.org> r=ben@mozilla.org...
git-svn-id: svn://10.0.0.236/trunk@156663 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 22:53:10 +00:00
chanial%noos.fr
adb53c5b8b Bug 234717, 234116, Context menu commands don't work in *subfolders* of bookmarks menu. Remove the last two children instead of using getElementsByAttributes. The latter is no more needed, since now, insertion of bookmarks with DND occurs at the correct location. YAW--.
git-svn-id: svn://10.0.0.236/trunk@154132 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-20 08:13:39 +00:00
chanial%noos.fr
2b7cd59558 Bug 229241: Bookmarks menu fails to collapse if bookmark is middle clicked.
YAW. Thanks to Mike for testing the patch.


git-svn-id: svn://10.0.0.236/trunk@151539 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-19 06:16:46 +00:00
chanial%noos.fr
f066ff9f36 Bug 230396: in the BT, new folders can only be created in menupopups with the context menu, clarifying comments.
initial patch by Gregor Larson <comm001@glarson.org>


git-svn-id: svn://10.0.0.236/trunk@151138 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 04:55:12 +00:00
chanial%noos.fr
965261c0ad fix regresion 228952: open in tabs broken
git-svn-id: svn://10.0.0.236/trunk@150522 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 19:14:15 +00:00
chanial%noos.fr
c4587976da more on bug 210910: menubar menus don't have an "open" attribute, and when a dialog opens, the child of the target of the context menu is not closed.
git-svn-id: svn://10.0.0.236/trunk@150482 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 06:04:25 +00:00
chanial%noos.fr
dafb60d70a the focus should be set to the content before executing a command that opens a modal dialog. When the dialog closes, focus automatically gets back to the focused element in the parent window. This fix will prevent the edit menu (undo, redo, delete...) to perform bm command.
Fix a harmless js error also.


git-svn-id: svn://10.0.0.236/trunk@150462 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 03:19:04 +00:00
chanial%noos.fr
5ca8b16963 Bug 228897: pasting inserts a menusepator. We had the same problem inserting a resource in a folder via DND.
Some cleanup, use of "class" instead of "id" for the "open in tabs" menuitem and menuseparator, because the latter are supposed to be unique in the document.


git-svn-id: svn://10.0.0.236/trunk@150459 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 02:01:53 +00:00
chanial%noos.fr
2852bee939 Bug 225921: Can't copy/paste bookmarks from personal toolbar
Bug 210910: Right-clicking a file within a bookmarks folder in the bookmarks menu or toolbar makes that folder inaccessible

I added the bm command controller to the menubar bookmark menu, to deal with hidden bookmarks toolbar.


git-svn-id: svn://10.0.0.236/trunk@150417 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-18 10:38:17 +00:00
chanial%noos.fr
29b34a142a removing comm.jar dependencies in the bookmarks component. Escape close the window and fix for bug 168412.
Also remove the bookmark edit command (ex: cmd_bm_paste) and use the edit ones instead (ex: cmd_paste)


git-svn-id: svn://10.0.0.236/trunk@147945 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 05:20:35 +00:00
chanial%noos.fr
fb4929d722 - fix regression 221118: Can't drag links into bookmark manager or bookmark sidebar.
- logic change: a transaction will not be performed when one of its item can not be acted on. Before, the only the valid items were processed. A LOT of simplifications have come up. I am slowly moving toward the resolution of bug 168411, by simplifying the interface that will be needed to move the transactions to the bookmarks service.
- fix bug 221550: the selection is not retained when performing an invalid transaction
- no need to restore the selection after an action that doesn't touch the datasource.
- during a batch, the bookmarks toolbar observer wasn't notified.
- much faster preUpdateTreeSelection
- various code cleanup
- DND bookmarks in tree is now significantly faster.
- still need to figure out what is the best BATCH_LIMIT value.


git-svn-id: svn://10.0.0.236/trunk@147752 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 09:01:48 +00:00
chanial%noos.fr
21d5f7a905 checking in back the fix for bug 172113.
an additional fix is included: if no ...#BookmarksToolbarFolder arc is found, then search for an (obsolete) resource "NC:PersonalToolbarFolder" (221410).
When none of them is found, then a new btf is created (only once!).


git-svn-id: svn://10.0.0.236/trunk@147747 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 08:17:23 +00:00
chanial%noos.fr
9ae0c6a598 For the next cycles: backing out the changes for bug 172113 to investigate perf because I landed them just after the tinderbox went down and also because large landings occurred before it went up.
git-svn-id: svn://10.0.0.236/trunk@147740 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 04:45:29 +00:00
chanial%noos.fr
25c51f48de - bug 172113: rewrite the way we handle the bookmarks toolbar folder. Now, there is no more 2 ways to characterize the BTF: by an arc to the resource "...#BookmarksToolbarFolder" that points to the literal "true". As a consequence, the resource NC:PersonalToolbarFolder and "...#folderType" are dead.
- remove unused functions. Note that RDF commands were already broken, so deleteBookmarkItem and insertBookmarkItem (that were not used) may come back, but in another form.
- remove the "New Bookmark Folder" and "New Search Folder"
- refactor the "html" serializer to avoid some duplicated code.
- remove the use of the profile name for the bookmarks root.
- enforce synthax "aArgument" in some random places.


git-svn-id: svn://10.0.0.236/trunk@147534 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 20:30:14 +00:00
blakeross%telocity.com
583f9b7c15 Hacky workaround for bug 210910 -- to be removed after 0.7.
git-svn-id: svn://10.0.0.236/trunk@146390 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 19:03:27 +00:00
hyatt%mozilla.org
539151a004 Fix Open in Tabs on Mac with a hacky JS workaround.
git-svn-id: svn://10.0.0.236/trunk@145829 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-10 01:50:05 +00:00
noririty%jcom.home.ne.jp
c2ada7156d Fix 213787 - Add an id for 'Open in Tabs' menuseparator. Patch by logan@dct.com.
git-svn-id: svn://10.0.0.236/trunk@145749 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 14:42:01 +00:00
hyatt%mozilla.org
be959c309a Slight simplifcation to the way open in tabs works.
git-svn-id: svn://10.0.0.236/trunk@145606 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 08:59:45 +00:00
noririty%jcom.home.ne.jp
c96af621ca Bug 180156 - fix overlap chevron, patch (mostly) by dkoppenh@null.net
git-svn-id: svn://10.0.0.236/trunk@145515 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-03 14:49:27 +00:00
varga%netscape.com
c1c2acd6b5 Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.


git-svn-id: svn://10.0.0.236/trunk@142814 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 12:03:40 +00:00
chanial%noos.fr
88582fb263 bug 200480: cut/paste doesn't work on folders and separators
git-svn-id: svn://10.0.0.236/trunk@141763 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 21:46:55 +00:00
chanial%noos.fr
eaf5d01d31 dropping folder group support
git-svn-id: svn://10.0.0.236/trunk@141695 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 15:05:10 +00:00
chanial%noos.fr
20126ee452 fixing middle click in menus
git-svn-id: svn://10.0.0.236/trunk@141630 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 23:12:25 +00:00