2673 Commits

Author SHA1 Message Date
rjc%netscape.com
ae8fb74c4c Disallow quotes in etag.
git-svn-id: svn://10.0.0.236/trunk@235604 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:49 +00:00
warren%netscape.com
1e3f923f15 Removed obsolete include.
git-svn-id: svn://10.0.0.236/trunk@235603 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:48 +00:00
rjc%netscape.com
7e3a69bb3a Add folder check.
git-svn-id: svn://10.0.0.236/trunk@235602 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:47 +00:00
rjc%netscape.com
70cd81c360 Fix bug # 13197: escape bookmark title as well as descriptions.
git-svn-id: svn://10.0.0.236/trunk@235601 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:46 +00:00
sfraser%netscape.com
01baef74b4 Convert some NS_ASSERTIONS into warnings, so that I can start up without debugger breaks.
git-svn-id: svn://10.0.0.236/trunk@235600 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:45 +00:00
danm%netscape.com
cbd66b08e1 open new browser window with nsIDOMWindow.Open
git-svn-id: svn://10.0.0.236/trunk@235599 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:44 +00:00
rjc%netscape.com
38ecb672e3 Fix silly warning.
git-svn-id: svn://10.0.0.236/trunk@235598 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:43 +00:00
rjc%netscape.com
e5e1170f3d Don't forget const.
git-svn-id: svn://10.0.0.236/trunk@235597 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:42 +00:00
rjc%netscape.com
a704d7ddbd Landing support for "bookmark schedules".
git-svn-id: svn://10.0.0.236/trunk@235596 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:41 +00:00
bruce%cybersight.com
5adc8c8c15 Use nsCRT::free() instead of delete[].
git-svn-id: svn://10.0.0.236/trunk@235595 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:40 +00:00
rjc%netscape.com
2b757a45e1 Only write out attributes that actually have a value.
git-svn-id: svn://10.0.0.236/trunk@235594 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:39 +00:00
mccabe%netscape.com
2ebc4f7820 Move uses xpfe/components interfaces to using NS_DECL_NSIFOO macro. Several interfaces in xpfe/components declared their own NS_DECL_IFOO macros; I moved those to generated NS_DECL_NSIFOO and will remove the definitions in a subsequent checkin to prevent any risk of mid-checkin skew.
git-svn-id: svn://10.0.0.236/trunk@235593 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:38 +00:00
slamm%netscape.com
8e2f6fc640 For debug-only, find default bookmarks file in its new home.
git-svn-id: svn://10.0.0.236/trunk@235592 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:37 +00:00
rjc%netscape.com
9f53d63108 Darn nsCOMPtr usage.
git-svn-id: svn://10.0.0.236/trunk@235591 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:36 +00:00
rjc%netscape.com
39c416b7bc Add support for changing a bookmark's URL.
git-svn-id: svn://10.0.0.236/trunk@235590 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:35 +00:00
bruce%cybersight.com
55f0c84eb6 ANSI C++ fix. Fixes HP-UX build with aCC. Use 'friend class nsFoo' rather than 'friend nsFoo'.
git-svn-id: svn://10.0.0.236/trunk@235589 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:34 +00:00
rickg%netscape.com
5bed632d3b replaced calls to deprecated string API
git-svn-id: svn://10.0.0.236/trunk@235588 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:33 +00:00
rjc%netscape.com
9a8e47ae9c Support importing of NetPositive bookmarks under the BeOS.
git-svn-id: svn://10.0.0.236/trunk@235587 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:32 +00:00
rjc%netscape.com
c7581df235 Const this!
git-svn-id: svn://10.0.0.236/trunk@235586 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:31 +00:00
rjc%netscape.com
906fba1bea Cleanup. Use GetValueConst() more, allow returning IE favorites URLs (on Mac), fix memory leak.
git-svn-id: svn://10.0.0.236/trunk@235585 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:30 +00:00
rjc%netscape.com
f92e45b419 Back out the code where, under Windows, try and munge imported IE Favorites names to not include a ".url". I'm going to put the code elsewhere.
git-svn-id: svn://10.0.0.236/trunk@235584 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:29 +00:00
rjc%netscape.com
e5526fcacf Under Windows, try and munge imported IE Favorites names to not include a ".url".
git-svn-id: svn://10.0.0.236/trunk@235583 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:28 +00:00
rjc%netscape.com
9fe9290b98 When looking for a bookmark file, first try PROFILE_DIR/bookmarks.html and if that doesn't exist, then try PROFILE_DIR/bookmark.htm
Do this because of differences in names on various platforms in older browser versions, when importing bookmarks into this version leaves us with naming differences.

We don't want to force the import process to change the bookmark filename, as that might break third party applications which mess with the bookmark file and expect the old name.


git-svn-id: svn://10.0.0.236/trunk@235582 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:27 +00:00
rjc%netscape.com
01f7c2d425 Get rid of warning by using PRUint32s instead of comparing signed and unsigned values.
git-svn-id: svn://10.0.0.236/trunk@235581 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:26 +00:00
rjc%netscape.com
916615dbe1 Fix.
git-svn-id: svn://10.0.0.236/trunk@235580 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:25 +00:00
rjc%netscape.com
7abb7b4796 More bookmark command support.
git-svn-id: svn://10.0.0.236/trunk@235579 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:24 +00:00
rjc%netscape.com
e5218294e5 Start implementing some bookmark commands (for context menus, UI, etc.)
git-svn-id: svn://10.0.0.236/trunk@235578 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:23 +00:00
rjc%netscape.com
3c8ab24089 Small command API cleanup.
git-svn-id: svn://10.0.0.236/trunk@235577 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:22 +00:00
rjc%netscape.com
e53bb22950 Add support for updating a bookmark's "Last Visited" date when its URL is loaded.
git-svn-id: svn://10.0.0.236/trunk@235576 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:21 +00:00
waterson%netscape.com
5a54b3cc05 Change bookmarks service progid slightly.
git-svn-id: svn://10.0.0.236/trunk@235575 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:20 +00:00
waterson%netscape.com
38cc29c192 Initial revision. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@235574 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:46:19 +00:00
rjc%netscape.com
173902363f As bookmark properties change, update the "Last Modified" attribute to the current date/time.
git-svn-id: svn://10.0.0.236/trunk@235573 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:28 +00:00
rjc%netscape.com
5ef27fd344 Use 64-bit LL_MUL instead of LL_MUL32
git-svn-id: svn://10.0.0.236/trunk@235572 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:27 +00:00
rjc%netscape.com
28e4e6c9ba Temporary fix for build bustage.
git-svn-id: svn://10.0.0.236/trunk@235571 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:26 +00:00
rjc%netscape.com
9aa2b43ff0 Add support for int and date Literals.
git-svn-id: svn://10.0.0.236/trunk@235570 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:25 +00:00
waterson%netscape.com
4c3af68d72 Bug 9431. Don't return failure if can't find bookmarks file.
git-svn-id: svn://10.0.0.236/trunk@235569 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:24 +00:00
waterson%netscape.com
758fe2ef76 Bug 9401. Don't include debug backstop bookmarks in a release build. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@235568 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:23 +00:00
waterson%netscape.com
02d5cf287f Duh. Write them to the correct place, as well.
git-svn-id: svn://10.0.0.236/trunk@235567 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:22 +00:00
waterson%netscape.com
e0b3059d8e Bug 7921. Look in profile directory _first_ before falling back to 'default' bookmarks file.
git-svn-id: svn://10.0.0.236/trunk@235566 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:21 +00:00
rjc%netscape.com
9885d4d83e Fix bug #9232.
git-svn-id: svn://10.0.0.236/trunk@235565 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:20 +00:00
waterson%netscape.com
ae0f1de75e Fix a bunch of whitespace as an experiment in pleasing RJC's broken editor. More importantly, fix 7144, 5221, 7921.
git-svn-id: svn://10.0.0.236/trunk@235564 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:19 +00:00
rjc%netscape.com
09e57d21ad Don't lose CRs in bookmark descriptions.
git-svn-id: svn://10.0.0.236/trunk@235563 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:18 +00:00
rjc%netscape.com
7d1cf3e25f Handle bookmark descriptions properly (including escaping text before writing out, and unescaping when reading back in.)
git-svn-id: svn://10.0.0.236/trunk@235562 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:17 +00:00
rjc%netscape.com
9f98e2ee23 Implement some commands for bookmarks.
git-svn-id: svn://10.0.0.236/trunk@235561 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:16 +00:00
rjc%netscape.com
0c89b30511 Return an empty command enumerator instead of throwing an assertion.
git-svn-id: svn://10.0.0.236/trunk@235560 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:15 +00:00
rjc%netscape.com
0587f00524 Added new method GetAllCmds() which uses a nsISimpleEnumerator instead of GetAllCommands() which uses a nsIEnumerator. Migration to GetAllCmds() can be done in the future.
git-svn-id: svn://10.0.0.236/trunk@235559 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:14 +00:00
sspitzer%netscape.com
52c751c1ff fix build bustage
git-svn-id: svn://10.0.0.236/trunk@235558 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:13 +00:00
waterson%netscape.com
3ff994e946 Expunge EqualsResource() and EqualsLiteral().
git-svn-id: svn://10.0.0.236/trunk@235557 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:12 +00:00
waterson%netscape.com
7772902812 Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers. Miscellaneous XPCOM fixage.
git-svn-id: svn://10.0.0.236/trunk@235556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:11 +00:00
rjc%netscape.com
c57cc247ca Be sure to write out bookmarks.html to the same place we read it in from! Bookmarks were moved from mozilla/rdf/ to mozilla/xpfe/components/bookmarks and bookmarks.html is now stored inside of $DIST/res/samples instead of the old $DIST/res/rdf
git-svn-id: svn://10.0.0.236/trunk@235555 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 17:41:10 +00:00