Fix bug 324901: hide the checkbox in prompt dialogs when the checkMsg param is null or an empty string, to match FF behaviour. r=mento.
Disable the open menu commands when the window has a sheet on it.
git-svn-id: svn://10.0.0.236/trunk@188419 18797224-902f-48f8-a5cc-f745e15eee43
Fix bug 322809: bookmarks toolbar and menu folders should have localized names.
Other fixes:
Re-order the bookmarks and history context menus slightly to reduce the number of separators.
Fix the bookmarks toolbar to not respond to every bookmark update by looking for a button with the changed bookmark.
Fix the bookmarks toolbar to notice child re-orderings and update appropriately.
Clean up the key handling code in ExtendedOutlineView and ExtendedTableView, and make our outline and table views respond to the home and end keys by scrolling to top/bottom.
git-svn-id: svn://10.0.0.236/trunk@187660 18797224-902f-48f8-a5cc-f745e15eee43
Fix the "Reset Camino" warning string to remove the reference to saved passwords (re: bug 320208).
Improve some #include hygiene in AutoCompleteDataSource.h and fallout.
Fix it so that main windows don't have to all implement -autosaveWindowFrame.
Fix some ownership issues in AutoCompleteDataSource that could cause us to use potentially released images in the autocomplete popup.
Push the code for accessing page security information down into CHBrowserView, and change Page Info to use it. Also fix some spelling errors, and improve Page Info strings for mixed content.
Fix an nsIDOMWindow leak in Page Info, and use a already_AddRefed<> return value in CHBrowserView to make ref counting of nsIDOMWindows less prone to bugs.
Change some code to use pre-existing CHBrowserView.h constants.
No longer show the "trust" checkboxes in the certificate view if we can't read the trust settings (cert not in DB), unless we're accepting a CA cert.
When showing a cert from Page Info or the lock icon, show trust for SERVER_CERT usage, rather than CA_CERT usage.
Tweak ad blocking.
git-svn-id: svn://10.0.0.236/trunk@186569 18797224-902f-48f8-a5cc-f745e15eee43
Bug 319509: When doing Reset Camino, don't prompt about closing windows with multiple tabs open.
Bug 320208: Reset Camino should not clear out keychain passwords, since we don't know whether we created them.
Bug 319491: Reset Camino should clear the visit counts on the bookmarks, thus clearing the top 10 list.
Also changed -getFrontmostBrowserWindow and -browserWindows to not return windows that are not visible (e.g. those that are being created or destroyed), which fixing some odd cascading issues, and should prevent us from ever showing sheets on hidden windows.
git-svn-id: svn://10.0.0.236/trunk@186251 18797224-902f-48f8-a5cc-f745e15eee43
Also add the ability to map Gecko pref changed callbacks into NSNotifications, via the PreferenceManager.
git-svn-id: svn://10.0.0.236/trunk@182038 18797224-902f-48f8-a5cc-f745e15eee43
311049: fix focus issue in popup windows.
307743: export of bookmark keywords etc (patch by Chris Lawson).
293768: we now remember which container was selected in bookmarks.
Fixed HTML export by ensuring that the root folder has the appropriate special flag set.
Fixed "Redo" when moving a bookmark within a folder.
Fixed the first Undo after showing bookmarks (which used to throw an exception) by avoiding using the bookmarks undo manager for URL bar text operations.
Fixed drag and drop in the bookmarks to show the correct feedback when copying, and allow copying into the containers table again.
Fixed Undo in the url bar to not create undo items for no-op changes.
Fixed the context menu for empty rows in the bookmarks to enable the "New Folder" item.
Also cleaning up bookmarks reading and import code to deal better with corrupted bookmarks files, ensuring that we always end up with toolbar and menu containers. Fixed setting up the toolbar folder from a bookmarks.xml conversion. Allow us to read a Safari Bookmarks.plist file as the bookmarks file (rather than an import) in case a user copies it over. Break assumptions about the container ordering, so that if container folders get moved around in the bookmarks file, we'll still find them OK.
git-svn-id: svn://10.0.0.236/trunk@181674 18797224-902f-48f8-a5cc-f745e15eee43
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