80 Commits

Author SHA1 Message Date
smfr%smfr.org
17ed09b145 Fix bug 159048: implement Page Info for camino. This uses a new set of views that have size-to-fix behavior, which are also used now for the certificate view, and the downloads window.
git-svn-id: svn://10.0.0.236/trunk@185563 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 05:20:36 +00:00
smfr%smfr.org
ae0564cff6 Fix bug 315810: allow shift modifier key to reverse the sense of the "load in background" pref when loading a url with Command-Return. Patch by Chris Lawson.
git-svn-id: svn://10.0.0.236/trunk@184565 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 04:56:05 +00:00
smfr%smfr.org
2b8bd9c844 Fix bug 175863: Add a "reload all tabs" item to the tab context menu. Patch by Chris Lawson.
git-svn-id: svn://10.0.0.236/trunk@182464 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 17:44:41 +00:00
smfr%smfr.org
45f6edada1 Fix bug 196359: show an optional warning when closing a window with multiple tabs, or quitting when multiple windows or tabs are open. Patch partially by Nathaniel Madura.
git-svn-id: svn://10.0.0.236/trunk@182439 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 04:06:55 +00:00
smfr%smfr.org
dd58b7a7ad Fix bug 242906 and bug 181158: wrong context menu and possible crash when context-clicking on embeds. We were keeping stale, non-owned pointers to DOM nodes in the BrowserWindowController. Fixed by clearing out those pointers when we get back to the main event loop (making use of the autorelease of a little dummy object). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@179214 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 17:55:07 +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
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
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
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
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
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
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
b23296c528 fix bug 248720 - tabs do not change properly to reflect a new tab set. sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@165539 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-20 09:47:12 +00:00
joshmoz%gmail.com
2b38f6ece7 clean up nastily constructed method - follow-up for bug 245710 sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@165127 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-08 18:39:04 +00:00
pinkerton%aol.net
d0c01e3e54 handle cmd-enter in urlbar and search field to open new tab or new window
depending on pref. refactors load logic a little better (bug 247238)


git-svn-id: svn://10.0.0.236/trunk@162896 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 21:05:58 +00:00
pinkerton%aol.net
154ac291c1 fix a large number of context menu and bookmark info bugs and cleanup the
code. see http://bugzilla.mozilla.org/show_bug.cgi?id=245710#c11 for a
comprehensive list (bug 245710)


git-svn-id: svn://10.0.0.236/trunk@157945 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-16 06:09:47 +00:00
pinkerton%aol.net
d15e2b5b52 add click-hold shared history to back/fwd buttons (bug 163274)
git-svn-id: svn://10.0.0.236/trunk@157803 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 22:18:58 +00:00
pinkerton%aol.net
35cc1fd3ae fix bookmark manager context menu so they are more consistent. don't show info
for folders. deselect when clicking an area where there is no row. (bug
223701)


git-svn-id: svn://10.0.0.236/trunk@156278 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 01:58:37 +00:00
pinkerton%aol.net
6daebb95b1 cleanup problems with bookmark toolbar and bookmark manager when launched
from odoc or gurl appleEvents. lazily setup bookmark manager to improve
new window open times. (bug 232092)


git-svn-id: svn://10.0.0.236/trunk@151967 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 19:54:53 +00:00
pinkerton%aol.net
4751b1984f set the title of the window to "bookmark manager" when managing bookmarks and
return to the previous title when going back to web page (bug 199790)


git-svn-id: svn://10.0.0.236/trunk@151258 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 20:33:10 +00:00
pinkerton%aol.net
ed8bc58846 always use the selection in the bm manager as the default for "add bookmark"
sheet. remove apis that had that choice as a parameter. (bug 184993)


git-svn-id: svn://10.0.0.236/trunk@150696 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 20:15:30 +00:00
pinkerton%netscape.com
ce254174b7 bookmark system rewrite. thanks to dave haas and simon woodside (bug 212630)
git-svn-id: svn://10.0.0.236/trunk@148247 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 01:08:55 +00:00
bryner%netscape.com
df6a4e9f2a Fix crash when a new page loads while the previous page's context menu is active, and Customize is in the toolbar (bug 168051). r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@144366 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 00:13:40 +00:00
pinkerton%netscape.com
3724671e82 add indicator of blocked popup and a popdown menu to quickly unblock sites
git-svn-id: svn://10.0.0.236/trunk@142419 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-14 03:45:06 +00:00
bryner%netscape.com
e05da957fa more #include cleanup.
git-svn-id: svn://10.0.0.236/trunk@141875 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-27 08:41:02 +00:00
pinkerton%netscape.com
9349893a8d adding google search bar, from pgauria@uark.edu (bug 158246)
git-svn-id: svn://10.0.0.236/trunk@140958 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 03:48:41 +00:00
pinkerton%netscape.com
e4a52a055c new in-window bookmark manager.
git-svn-id: svn://10.0.0.236/trunk@140125 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 02:10:08 +00:00
pinkerton%netscape.com
7263093602 bookmarks load when clicked in manager, switching to manager stops all
page loads. back button responds appropriately if manager is frontmost.


git-svn-id: svn://10.0.0.236/trunk@139078 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 03:58:24 +00:00
pinkerton%netscape.com
12f1230fcb More changes for in-window bookmarks. bookmarks display and can be edited,
buttons hooked up. Still off by default.


git-svn-id: svn://10.0.0.236/trunk@139075 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 03:06:47 +00:00
pinkerton%netscape.com
99bd076da3 beginnings of new bookmark manager, off by default
git-svn-id: svn://10.0.0.236/trunk@139033 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:04:15 +00:00
bryner%netscape.com
2d15102e1c Landing changes from CHIMERA_M1_0_1_BRANCH. (I know I'm breaking the static build, I'll fix it later). Code depending on other Mozilla changes is #ifdef'd BRANCH_CHANGES_NEED_MERGED.
git-svn-id: svn://10.0.0.236/trunk@137752 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 10:26:09 +00:00
bryner%netscape.com
eeab335d51 Merging changes from CHIMERA_M1_0_1_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@135978 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 06:33:05 +00:00
bryner%netscape.com
8623469023 Landing all changes from CHIMERA_M1_0_1_BRANCH onto the trunk, and adapting to trunk API changes. Not part of any normal build.
git-svn-id: svn://10.0.0.236/trunk@135168 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 11:55:38 +00:00
sfraser%netscape.com
66df8f1416 Fix bug 161856 (news tabs cannot receive drags) and 162001 (put focus in the url bar for new blank tabs).
git-svn-id: svn://10.0.0.236/trunk@127841 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 06:03:44 +00:00
sfraser%netscape.com
1039b9d523 Updating files for the new class names ('CH' for Gecko-embedding wrapper, all other classes have no prefix).
git-svn-id: svn://10.0.0.236/trunk@127745 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 02:06:38 +00:00
sfraser%netscape.com
f3eb762c7a Create BrowserTabViewItems using the factory method on BrowserTabView, and add an accessor for the proxy icon view.
git-svn-id: svn://10.0.0.236/trunk@127587 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 03:51:32 +00:00
sfraser%netscape.com
6bfb6e7e72 Rename CHExtendedTabView to BrowserTabView (because that's what it is), and add a new subclass of CHIconTabViewItem, BrowserTabViewItem, for browser tabs.
git-svn-id: svn://10.0.0.236/trunk@127434 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 00:58:10 +00:00
sfraser%netscape.com
e291360967 Adding a Get Info item to the Edit menu, which, for now, only applies to the selected bookmark in the bookmarks sidebar. This is part of bug 155484.
git-svn-id: svn://10.0.0.236/trunk@127385 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 19:39:14 +00:00
sfraser%netscape.com
795a3f15e2 Changes for bug 160725: adding site icon support to the proxy icon, tabs, bookmarks (in sidebar, tolbar and menu). Site icons are fetched via the SiteIconProvider, which uses the more generic RemoteDataProvider under the hood. RemoteDataProvider talks to necko, getting the resulting data into an NSData. Notifications are used to indicate to listeners when the load is done.
Site icons that are loaded to into the necko cache. We also cache data for missing site icons, to avoid continual refetches.

Site icons are on by default, but can be turned off via the "browser.chrome.site_icons" pref.


git-svn-id: svn://10.0.0.236/trunk@127377 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 18:08:12 +00:00
pinkerton%netscape.com
9316f443f7 going back to a NSTextField with field editor for the url bar. fixes a lot
of hacks and crashes with the NSTextView, while still managing to provide
undo support (bug 161621).


git-svn-id: svn://10.0.0.236/trunk@127172 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 16:23:42 +00:00
sfraser%netscape.com
4a1b9b9184 Fix for bug 152975. Add a Show/Hide Sidebar menu item with key shortcut Command-/. Patch from Prachi Guariar.
git-svn-id: svn://10.0.0.236/trunk@126537 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 20:42:25 +00:00
sfraser%netscape.com
9841a537e9 Fix for bug 156607 (performance slow with large numbers of tabs open). These changes make all the tabs the same width, and put a cap of 16 on the number of tabs per browser window. When at this limit, commands that would open a new tab (e.g. view source) now open a new window. 'New tab' menu items should disable appropriately.
git-svn-id: svn://10.0.0.236/trunk@126410 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:53:37 +00:00