31 Commits

Author SHA1 Message Date
chanial%noos.fr
33b8c832d0 Don't show deleted folders in the add bookmark drop down.
IsBookmarkedResource was only checking the parent of the resource to tell if it's in the bookmarks root hierarchy.


git-svn-id: svn://10.0.0.236/trunk@150316 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 07:26:55 +00:00
chanial%noos.fr
dafa79e7c7 Never include the bookmarks top root in the add bookmark dropdown menulist.
git-svn-id: svn://10.0.0.236/trunk@150304 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 00:26:20 +00:00
chanial%noos.fr
8a5713403e Always show the Bookmarks Root and the Bookmarks Toolbar folder in the drop down menu. Their position in the dropdown are still determined by their LastModifiedDate, it's only when they don't make the short list that they are put at the bottom of the drop down.
git-svn-id: svn://10.0.0.236/trunk@150297 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-14 22:55:15 +00:00
chanial%noos.fr
f8dae32f1d Add two methods to the bookmarks service:
- getParent: returns the (first) parent of a resource.
- getParentChain: returns a nsIArray of containers from NC:BookmarksTopRoot down to the parent of the resource.


git-svn-id: svn://10.0.0.236/trunk@150289 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-14 10:41:58 +00:00
chanial%noos.fr
2ac867e980 Landing new add bookmark dialog (bug 214527).
Featuring an expandable tree and a dropdown menu containing the last used folders.
The 'new folder' functionality has not been included, yet.
Thanks to bz for the help on nsCOMArrays.


git-svn-id: svn://10.0.0.236/trunk@150142 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-08 16:30:28 +00:00
ben%bengoodger.com
48081d808b Let's leave this off for just now.
git-svn-id: svn://10.0.0.236/trunk@150067 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-05 00:02:39 +00:00
ben%bengoodger.com
00287c091d moz-bookmark URL support. preliminary.
git-svn-id: svn://10.0.0.236/trunk@150066 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 23:58:52 +00:00
varga%nixcorp.com
4743f00758 Changing my email address.
git-svn-id: svn://10.0.0.236/trunk@148204 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 15:35:57 +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
chanial%noos.fr
d58dde0628 - code level cleaning up of bookmarksProperties.js
- fixing a potential crash in nsBookmarksService::GetTarget (when the RDF resource is null)
- remove unused function isChildOfContainer and GetResource in bookmarks.js though we may need later the latter.


git-svn-id: svn://10.0.0.236/trunk@147460 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 16:16:56 +00:00
chanial%noos.fr
d9972c787c fixing bustage by putting back placeholders for AddBookmarkImmediately and IsBookmarked since they are used in nsInternetSearchResult.cpp.
I'll fix later these useless callers.


git-svn-id: svn://10.0.0.236/trunk@147459 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 15:56:16 +00:00
chanial%noos.fr
2c309d455c - adding bookmark/separator in the bookmark manager now calls the property dialog for consistency with the folders.
- fix the use of the immutable bookmarks.
- remove unused methods: GetLastCharset and AddBookmarkImmediately
- porting several small fixes mainly from Jan's work
- more prototyping for BookmarkTransaction


git-svn-id: svn://10.0.0.236/trunk@147445 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 21:43:11 +00:00
bryner%brianryner.com
260b09f147 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146613 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:37:51 +00:00
chanial%noos.fr
a709ad371b porting fixes from seamonkey:
bug 201381/205129: Auto-importing IE favorites with directory entries may take a very long time, CPU usage 100% (by ssu)
bug 179084: Bookmark Export uses Unix carriage returns on all platforms (by Frank Wein, mcsmurf@gmx.net)
bug 210541: Bookmarks now crash if nsIProfile impl is not present. (by ccarlen)
bug 203992: Bookmark's Notify/schedule fail to prompt user when change has occured (by varga)


git-svn-id: svn://10.0.0.236/trunk@146075 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:24:23 +00:00
hyatt%mozilla.org
f22850a13d Impl the webpanels property in the bookmarks service. Remove the bogo text from the bookmark properties dialog.
git-svn-id: svn://10.0.0.236/trunk@145497 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 20:12:35 +00:00
mkaply%us.ibm.com
87a5ad436c fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143595 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 19:31:48 +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
ben%netscape.com
2e153994a8 Wiping hyatt's ass. Back out web panels for MF0.6 :-)
git-svn-id: svn://10.0.0.236/trunk@142553 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 19:22:12 +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
401b35e3b4 bug 202879: importing and exporting bookmarks are broken + code clean up
git-svn-id: svn://10.0.0.236/trunk@141693 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 14:10:49 +00:00
chanial%noos.fr
4d7f23496b syncing the bookmarks service (bug 199872 and bug 202477)
git-svn-id: svn://10.0.0.236/trunk@141510 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 08:24:17 +00:00
bryner%netscape.com
683b2a309c Hopefully the final fix for phoenix bustage. Phoenix bookmarks are now
have MODULE=bookmarks, headers in dist/include/bookmarks.  Make sure
makefiles are generated and directories are traversed in the right order.
Miscellaneous cleanup.  Affects phoenix build only.


git-svn-id: svn://10.0.0.236/trunk@141161 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 04:21:24 +00:00
hyatt%mozilla.org
75856b87b6 Forking bookmarks for Phoenix.
git-svn-id: svn://10.0.0.236/trunk@141076 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 00:44:02 +00:00
ben%netscape.com
4f805aabac fix web panels folder
git-svn-id: svn://10.0.0.236/trunk@141065 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 12:54:16 +00:00
hyatt%mozilla.org
66bf212012 Updating.
git-svn-id: svn://10.0.0.236/trunk@141061 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 08:04:53 +00:00
hyatt%mozilla.org
b3dd222670 Adding forked bookmarks. NOt used yet.
git-svn-id: svn://10.0.0.236/trunk@141060 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 07:31:02 +00:00
blakeross%telocity.com
27f51c9cff *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@126288 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-04 02:06:16 +00:00
ben%netscape.com
98b283cef6 Better attempt at initial checkin. Sensible directory names!
git-svn-id: svn://10.0.0.236/trunk@117918 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 10:34:47 +00:00