Fix bug 195169: when making bookmarks, we save the URL with relataive anchors now (before, we just used the page URL).
Fix bug 295731: when a favicon loads, make sure it's for the current page before showing it.
Fix bug 231039: we save the bookmarks splitter location now.
Fix bug 284829: about:bookmarks/about:history have a favicon now.
Fix bug 293768: we save the expanded state of bookmarks folders in the bookmarks outliner now (which requires us to save UUIDs to the bookmarks file)
Maybe help bug 289769: avoid using 'nil' as a premature argument to [NSDictionary dictionaryWithObjectsAndKeys], which may have contributed to lost bookmarks.
Fix bug 285097: show the correct (localizable) window title for bookmarks and history.
Code cleanup: removed [CHBrowserView getCurrentURLSpec] and replaced all calls with calls to [CHBrowserView getCurrentURI], which should return the same thing. Standardized wrapper methods to match.
git-svn-id: svn://10.0.0.236/trunk@176906 18797224-902f-48f8-a5cc-f745e15eee43
Clean up bookmarks loading code to be clearer about the threading model, and avoid the need for locking.
Removing the RunLoopMessenger stuff which we no longer need on 10.2 and later.
git-svn-id: svn://10.0.0.236/trunk@176348 18797224-902f-48f8-a5cc-f745e15eee43
Add support for site icons specified in link elements (bug 162893), part of patch by Ludovic Hirlimann.
Add a site icon image cache, so that we can get site icons without a round trip through necko, and avoid duplicate images (bug 294675).
Add a Clear History item to the end of the go menu (bug 294205).
Make the history menus no more than 100 items long, with a "Show More" item at the end, to avoid long delays when showing them (bug 291414).
git-svn-id: svn://10.0.0.236/trunk@173698 18797224-902f-48f8-a5cc-f745e15eee43
tab bar to always show if pref is on and don't register for the pref
changed notifications (bug 291786)
git-svn-id: svn://10.0.0.236/trunk@172688 18797224-902f-48f8-a5cc-f745e15eee43
Make the NSOpenPanel into a sheet when a window is up.
Allow opening multiple items in the open panel, opening them in tabs.
Remove [MainController pumpGeckoEventQueue] which is obsolete and unused.
Add NSResponder+Utils.h/m to the project.
Remove #ifdefs in AppComponents.mm now that we will be using nsSimpleGlobalHistory.
git-svn-id: svn://10.0.0.236/trunk@171213 18797224-902f-48f8-a5cc-f745e15eee43
Fix bug 285339 (progressive slowdown with more tabs) by releasing all the nib members of the BookmarksEditing nib when closing tabs.
Delay loading the bookmarks editing nib until bookmarks are shown, making new tab creation faster.
When creating a bookmark when bookmarks are showing, use the previous page as the bookmark by looking back in session history.
Save the state of the history folders for a given bookmarks view.
Fix bug 247543 (remember last used Add Bookmark folder across windows).
Change [BookmarkItem description] to [BookmarkItem itemDescription] because -description should be reserved.
When creating a new folder deep in bookmarks, expand all parent folders so that the new folder is visible.
Rename various "add bookmark" methods so that they are all consistent (allowing us to write to FirstResponder when appropriate).
git-svn-id: svn://10.0.0.236/trunk@170521 18797224-902f-48f8-a5cc-f745e15eee43
Fix bug 157995: tab title stays at "Loading..." sometimes. This happens when we don't get a setTitle: callback from gecko (e.g. for an FTP download), so always set the tab title back to the page title (or URL) in onLoadingComplete. r=pinkerton.
Other minor cleanup (const strings, mostly)
git-svn-id: svn://10.0.0.236/trunk@168521 18797224-902f-48f8-a5cc-f745e15eee43
1. Move bookmarks and history UI into their own nib file, BookmarksEditing.nib
2. Rewrite history in camino to no longer use RDF, but a simple new API on top of the mork DB, implemented in nsSimpleGlobalHistory, that lets you iterate history items. All the tree building is now done in Cocoa (bug 276733), which makes it much faster.
3. Implement quicksearch for bookmarks and history, removing the 'results' panel from the UI and just showing the results inline (bug 174899, bug 276734).
4. Sundry code cleanup and warning fixes.
r=pinkerton/josh.
git-svn-id: svn://10.0.0.236/trunk@167801 18797224-902f-48f8-a5cc-f745e15eee43