204 Commits

Author SHA1 Message Date
smfr%smfr.org
ffde60f96b Fix bug 306084: avoid crashes when closing the last tab (or trying to move it to a new window), and disable the menu items as appropriate.
git-svn-id: svn://10.0.0.236/trunk@179123 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 03:43:23 +00:00
smfr%smfr.org
d4b4a80f53 Fix bug 174427: if hitting Return in an empty url bar, keep focus in the url bar. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@179007 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 22:48:31 +00:00
pinkerton%aol.net
24bc8fca4c dbl-click on tab bg creates a new fg tab.
git-svn-id: svn://10.0.0.236/trunk@178700 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 16:50:13 +00:00
pinkerton%aol.net
987f48de94 change window stagger to the height of the titlebar to match HIG (bug 288390)
git-svn-id: svn://10.0.0.236/trunk@177296 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 22:03:10 +00:00
pinkerton%aol.net
e6ee9e3981 reduce click-hold delay on back/fwd buttons to 0.45 (bug 296596)
git-svn-id: svn://10.0.0.236/trunk@177294 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 20:28:07 +00:00
smfr%smfr.org
e5fd666f67 Fix bug 160008: make autocomplete work in the Location sheet.
git-svn-id: svn://10.0.0.236/trunk@177016 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:28:45 +00:00
pinkerton%aol.net
1911232793 add toolbar button to show history (bug 229957)
git-svn-id: svn://10.0.0.236/trunk@176914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 01:03:10 +00:00
smfr%smfr.org
b7342a473c Fix bug 302732: favicon can remain in tab when going back/forward; fixed by swapping favicons even if there is no new network load (which happens wiht bfcache).
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
2005-07-31 22:36:56 +00:00
joshmoz%gmail.com
e6d51687a6 fix bad access of protected variable. b=302264 r=mento
git-svn-id: svn://10.0.0.236/trunk@176649 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 22:46:47 +00:00
smfr%smfr.org
44397e0be9 NSWindowController releases the nib items for you, so we don't have to, so these extra retains are wrong.
git-svn-id: svn://10.0.0.236/trunk@176522 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 15:59:12 +00:00
smfr%smfr.org
37c025b139 Fix bug 176421: even if window.open() hides parts of the chrome with chrome flags, make sure the user can show the toolbar and bookmarks toolbar.
git-svn-id: svn://10.0.0.236/trunk@176508 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 01:00:37 +00:00
smfr%smfr.org
5945faf6e1 Make sure we release top-level nib items to reduce leaking.
git-svn-id: svn://10.0.0.236/trunk@176501 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 22:56:16 +00:00
smfr%smfr.org
7e17199091 Finish off bug 294019: when opening a set of urls in tabs, select the first tab that we changed.
git-svn-id: svn://10.0.0.236/trunk@176414 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 22:30:13 +00:00
smfr%smfr.org
63178370b6 Fix bug 294019: when opening files, open them in the current and later tabs, rather than the first tab (patch by Nick Kreeger).
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
2005-07-20 19:01:36 +00:00
smfr%smfr.org
9e28f48109 Fix bug 298320: when showing a prompt via nsIPromptService, make sure that the tab from which the prompt originates is brought to the front. r=josh
git-svn-id: svn://10.0.0.236/trunk@175274 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 01:25:35 +00:00
smfr%smfr.org
2ab51e7eab Fix bug 279270: remove unused code adding nsICommandParams to cmd_copyImageContents. Also fix warning relating to calling closeTab on a tab view item.
git-svn-id: svn://10.0.0.236/trunk@175201 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 04:24:16 +00:00
joshmoz%gmail.com
f1eb0b2e88 get rid of blue globe/lock icon in status bar for UI cleanliness reasons. what did the blue globe mean anyway? b=297138 r=armen sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@174367 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 18:09:57 +00:00
smfr%smfr.org
8efc99418e Add site icons to the history outliner and history menus.
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
2005-05-23 03:36:08 +00:00
pinkerton%aol.net
ed37a67244 add toolbar item for form fill
git-svn-id: svn://10.0.0.236/trunk@172990 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 14:49:57 +00:00
pinkerton%aol.net
336b5387c0 manual form fill
git-svn-id: svn://10.0.0.236/trunk@172932 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 17:59:45 +00:00
pinkerton%aol.net
3f9679fac3 if status bar or bookmark bar are turned off from JS flags, dont allow
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
2005-04-25 14:49:25 +00:00
pinkerton%aol.net
e1fb44ac0b pref to have tab bar always visible (bug 162241)
git-svn-id: svn://10.0.0.236/trunk@172650 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 21:09:04 +00:00
pinkerton%aol.net
e4c2e09b80 full history in Go menu
git-svn-id: svn://10.0.0.236/trunk@172536 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 05:40:38 +00:00
pinkerton%aol.net
1892bff1eb fix crash loading empty tab group as we'd try to do validation on non-existant
web browser (all tabs had been removed) (bug 290874)


git-svn-id: svn://10.0.0.236/trunk@172526 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 23:25:03 +00:00
pinkerton%aol.net
90e3434c64 ignore backspace if focus is in object, embed, and applets when handling
backspace to go back (bug 268887)


git-svn-id: svn://10.0.0.236/trunk@172520 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-20 22:42:24 +00:00
smfr%smfr.org
5ff308fb9b Converting users of nsIPrefBranch to use the PreferenceManager (no bug).
git-svn-id: svn://10.0.0.236/trunk@171547 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 01:52:35 +00:00
smfr%smfr.org
6affe3d3db Fix bug 281133 - Add Bookmark fails for page without a title. Test to see if we have a page title before adding to the dict.
git-svn-id: svn://10.0.0.236/trunk@171512 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 17:37:15 +00:00
smfr%smfr.org
a0b3f66dd2 Improved bookmarks menu item enabling. Rather than try to recreate the logic for automatic item enabling (which is non-trivial), use a dummy, auto-enabling bookmarks menu, loaded from the nib, to get correct enable states and item titles. This really fixes bug 287339.
git-svn-id: svn://10.0.0.236/trunk@171235 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-26 04:05:46 +00:00
smfr%smfr.org
80484796bd Fix bug 287339: correctly enable/disable bookmark items when tabs close, and windows change layers.
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
2005-03-25 18:23:31 +00:00
smfr%smfr.org
e0ae2d008a Fix spelling error in comment.
git-svn-id: svn://10.0.0.236/trunk@170947 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 16:18:46 +00:00
smfr%smfr.org
2cf8c229bd Fix bug 279270: when copying images, put only the image data on the clipboard so that applications that prefer text over image data don't just get the image location.
git-svn-id: svn://10.0.0.236/trunk@170934 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 02:54:56 +00:00
smfr%smfr.org
4d33a204aa Fix bug 285901: when adding a bookmark, be sure to use what the user entered. When bookmarking tabs, take the suggested title from the frontmost tab, not the first one, and when tabs are open but you just want to bookmark the current page, and it's not the first tab, make sure we bookmark the correct tab.
git-svn-id: svn://10.0.0.236/trunk@170605 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-13 04:01:56 +00:00
smfr%smfr.org
0fcc65209c Fix bug 285793 (broken Add Bookmark toolbar item) by fixing the selector name on the button.
git-svn-id: svn://10.0.0.236/trunk@170604 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-13 03:45:15 +00:00
smfr%smfr.org
ea69951a1e Rewrite the add bookmark code (no bug) so that we don't need a BookmarksViewController for this.
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
2005-03-10 18:10:23 +00:00
smfr%smfr.org
5291a61ac0 Fix the menu title and enabled state of the Show/Hide bookmarks item when toggling bookmarks. No bug.
git-svn-id: svn://10.0.0.236/trunk@170230 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-06 06:32:07 +00:00
joshmoz%gmail.com
1812036518 add "Send This Link..." contextual menu item. b=227803 r=joshmoz sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@170223 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-06 01:33:21 +00:00
joshmoz%gmail.com
cb2bacff2d allow for toggling of bookmark manager using bm manager toolbar button, no bug sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@170209 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 17:39:50 +00:00
smfr%smfr.org
a7daada784 Implement bookmarks in tabs, bug 215235. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@170166 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 17:32:15 +00:00
smfr%smfr.org
4745d28e0e Tidy up what I checked in by mistake, pertaining to bug 283419.
git-svn-id: svn://10.0.0.236/trunk@169760 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 06:58:07 +00:00
smfr%smfr.org
2e797f0ddb Fix warning by being explicit about return type of -setDisplaySecureIcon.
git-svn-id: svn://10.0.0.236/trunk@169756 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 06:41:06 +00:00
gerv%gerv.net
1e9360b711 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168733 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:20 +00:00
smfr%smfr.org
97066f49c9 Fix bug 279844: tabs loaded in the background don't scroll correctly to relative anchors. Fix by making sure that background tabs are sized correctly on creation and URL load, so that a later resize on show doesn't mess with the scroll position. r=pinkeron.
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
2005-01-30 05:02:56 +00:00
smfr%smfr.org
d6edc9f120 Fix bug 278949: make sure we have a bookmarks view controller when we need one for adding a new bookmark. Also fix a build warning (bad BOOL return value).
git-svn-id: svn://10.0.0.236/trunk@168002 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 18:33:01 +00:00
joshmoz%gmail.com
fef7078735 remove calls to newTabsAllowed. b=273228 sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@167998 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 18:00:30 +00:00
smfr%smfr.org
5563abe6ed Camino history rewrite, and associated changes:
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
2005-01-16 02:51:53 +00:00
pinkerton%aol.net
b25bbfd9dd add address book functionality for mailto: links in context menu (bug 166958)
git-svn-id: svn://10.0.0.236/trunk@167492 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-10 17:42:12 +00:00
pinkerton%aol.net
5623d0984c allow javascript: popups if they are bookmarks (bug 272389)
git-svn-id: svn://10.0.0.236/trunk@167338 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-06 14:36:32 +00:00
joshmoz%gmail.com
41c67f7580 clean out old bm drawer code, style fixups, no bug
git-svn-id: svn://10.0.0.236/trunk@167092 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 18:19:43 +00:00
joshmoz%gmail.com
28e46e0ab3 decode local file URLs before suggesting them in save panel. b=166694 sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@166992 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-23 18:22:42 +00:00
joshmoz%gmail.com
0c545d9923 fix bug 262815 - Closing tab while bookmarks view is shown can lead to crash [@ objc_msgSend]. sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@166096 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 21:21:24 +00:00