Commit Graph

1238 Commits

Author SHA1 Message Date
smfr%smfr.org
5fa4122533 Make sure that we redraw the tab bar background when dropping on it after a drag. 2005-12-10 05:16:39 +00:00
smfr%smfr.org
b201b0d87e Fixing:
Bug 288979: can't resize bookmarks info (you can now), and tidied up the view impl.
Bug 319516: bookmark info panel is blank if you Get Info in bookmarks before selecting anything.
Bug 315338: bookmark info panel should not disappear if you unselect a bookmark. Now we just clear it instead.
Bug 311838: we save bookmark keyword changesnow when you close the panel.
Also fix various other cases where changes to the description would be lost, and changes to the other keyword or description would not show in the bookmarks right away.

Also fixing a misspelling in the download code.
2005-12-08 07:24:59 +00:00
smfr%smfr.org
76d3a4fe15 Fix bug 319349: fix scrolling new downloads into view (offset math was broken by my view changes). 2005-12-08 05:21:30 +00:00
smfr%smfr.org
b5e2e01de8 Fix bug 315759: crash when accessing Brother printer via Bonjour. Use the new Tiger -TXTRecordData stuff if we can, and protect against null -protocolSpecificInformations. 2005-12-07 05:53:41 +00:00
smfr%smfr.org
082e6d08af Fix bug 319257: make sure we bring the browser window to the front when creating new tabs from external apps, if another window (like Downloads) is frontmost. 2005-12-07 04:54:48 +00:00
smfr%smfr.org
5ba33026e8 Fix bug 319131: eliminate blank area at the bottom of the downloads list by making sure that the CHFlippedShinkWrapView that wraps the CHStackView doesn't add any extra padding. 2005-12-07 04:30:36 +00:00
smfr%smfr.org
e9a37d6927 Make the drag feedback on the bookmarks toolbar prettier. 2005-12-07 04:15:29 +00:00
smfr%smfr.org
cb87184320 Prettify the drag feedback for tabs and the tab bar background, and add a (non-visible) title to the tab close button for accessibility. 2005-12-05 06:38:11 +00:00
smfr%smfr.org
b130104534 Fix bug 295858: reuse the frontmost tab for some URL loads if it's empty. Patch by Chris Lawson, r=me 2005-12-05 04:07:54 +00:00
smfr%smfr.org
731e7c2fc1 Fix bug 292878; support Tiger .webloc files. Patch by Wevah, r=me. 2005-12-05 03:51:59 +00:00
smfr%smfr.org
8c11ddb186 Standardize terminology in Send Link/Email Page Location strings. Bug 315877. 2005-12-05 03:02:51 +00:00
smfr%smfr.org
386c93c9c3 Fix bug 318884: crash when closing last window if built with 10.4u SDK. Don't release menus in the nib. 2005-12-03 18:54:31 +00:00
smfr%smfr.org
bc54af2e50 Fix build bustage. 2005-12-02 06:59:22 +00:00
smfr%smfr.org
8639bf0c77 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. 2005-12-02 05:20:36 +00:00
mark%moxienet.com
c8557a86f3 Bug 308627, Camino should not set the default FTP client. Change suggested by Wevah <mozilla@derailer.org>. Camino-only-npotdb. r=me 2005-12-01 22:47:41 +00:00
mark%moxienet.com
d9d0acce6c Bug 316965, importing bookmarks from the fox brings apostrophes in as &#39;. Seek and destroy, or find and replace. Patch by Chris Lawson <bugzilla@chrislawson.net>. Camino-only-npotdb. r=pink 2005-12-01 22:18:24 +00:00
mark%moxienet.com
389ab1d43b Bug 309008, menu spacer imported as editable bookmark with url of ". Don't do that. Patch by Chris Lawson <bugzilla@chrislawson.net>. Camino-only-npotdb. r=pink sr=smfr 2005-12-01 22:16:04 +00:00
mark%moxienet.com
3fc4b708c6 Bug 317439, make "del" key remove items from the download window in additon to "backspace". Patch by Chris Lawson <bugzilla@chrislawson.net>. Camino-only-npotdb. r=kreeger sr=smfr 2005-12-01 16:58:28 +00:00
mark%moxienet.com
79a730a160 Bug 312244, +[NSURL urlFromWebloc:] uses an FSSpec when it doesn't need to. Perform FSSpec-otomy. Patch by Wevah <mozilla@derailer.org>. Camino-only-npotdb. r=smfr 2005-12-01 16:48:01 +00:00
mark%moxienet.com
fada42bd48 Bug 315697, UI hangs when "are you sure you want to quit?" download sheet is displayed and the pref to close the download window is set. Be careful about putting the sheet up and closing the window. Patch by Nick Kreeger <nick.kreeger@park.edu>. Camion-only-npotdb. r=smfr 2005-12-01 16:28:20 +00:00
smfr%smfr.org
c33ea46121 Fix memory leak. 2005-12-01 06:09:42 +00:00
smfr%smfr.org
75d978b137 Fix a stupid, but potentially dangerous typo. 2005-12-01 06:06:11 +00:00
mark%moxienet.com
537e3c4829 Bug 317926, Bookmark manager's localized title is not displayed properly. Throw strings around in UTF-8. Original patch by <waveridervsnrz@yahoo.co.jp>, thanks also to Torben and biesi. Camino-only, npotdb. r=smfr 2005-11-29 15:59:41 +00:00
bzbarsky%mit.edu
8f6437f05a Fix camino build bustage (bug 316794). 2005-11-29 05:59:38 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
joshmoz%gmail.com
e089d93a53 remove nsSupportsArray usage from nsSimpleGlobalHistory. b=317035 sr=smfr 2005-11-22 05:29:16 +00:00
mark%moxienet.com
92b60c4eea Bug 314602, Bookmark toolbar doesn't match unified title bar and toolbar on Tiger. When the unified appearance is in effect, draw a matching background for the bookmark toolbar: a vertical gradient with a light top and a darker bottom. Also moves OS feature-check utilities from MainController to NSWorkspace. Camino-only, npotdb. r=smfr 2005-11-20 23:03:37 +00:00
smfr%smfr.org
344ef84341 Fix bug 316937: store favicons in a separate cache on disk so that you don't lose them on crash. 2005-11-18 05:57:55 +00:00
mark%moxienet.com
708422deb4 Bug 316888, Camino builds failing in PreferenceManager.mm, Xcode 2.2 and SDK >= 10.3.9. Work around SDK #define changes. Camino-only, npotdb. r=smfr 2005-11-18 02:59:45 +00:00
smfr%smfr.org
7ded299f27 Fix bug 235848: make sure the focus ring around search text fields is correctly redrawn when a window gains and loses focus. 2005-11-16 04:27:15 +00:00
mark%moxienet.com
af3d4a5b01 Backing out previous MAX_ALLOWED/MIN_REQUIRED change in this file only - seems like Apple's confused over this in the headers too. Mentioned in bug 316412. Camino-only, npotdb. 2005-11-15 04:09:14 +00:00
mark%moxienet.com
4b2d089e03 Bug 316412, Camino build fails, gcc 4.0.1/xcode 2.2. Remove unused code. Camino-only, npotdb. 2005-11-15 04:06:24 +00:00
mark%moxienet.com
aa4d70aff2 Bug 316421, Camino static build fails during link. After bug 312760, two modules in the static components list need to be replaced with "necko". r=pink 2005-11-14 21:00:02 +00:00
pinkerton%aol.net
235d2e3e00 correct use of MAC_OS_X_VERSION_MAX_ALLOWED 2005-11-14 15:32:52 +00:00
pinkerton%aol.net
0f70f8d3f8 look at tiger url property first, then fall back to old one (bug 313884) 2005-11-14 14:13:06 +00:00
smfr%smfr.org
e0b8a9f915 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. 2005-11-14 04:56:05 +00:00
smfr%smfr.org
7b8bd59427 Fix bug 313776: add ".p7b" and ".pkcs7" to the list of file extensions allowed when importing certificate files. 2005-11-14 04:44:27 +00:00
smfr%smfr.org
8ddb355871 Add a check for a file size > 0 when saving bookmarks, and add some logging to try to catch the losing bookmarks problem. 2005-11-14 04:31:58 +00:00
pinkerton%aol.net
42633dff62 use different property on Tiger for homepage, apple depricated the one we
were using (bug 313884)
2005-11-13 17:45:44 +00:00
smfr%smfr.org
6a7695c6de Commenting out additional stat on bookmarks file to measure startup perf impact. 2005-11-13 04:56:22 +00:00
smfr%smfr.org
924ce23fb5 [NSArray lastObject] is already defined; no need for our own version. 2005-11-13 04:48:33 +00:00
smfr%smfr.org
b711a5bc3a Fix bug 307753. Use a file system notification callback to detect when downloaded files are moved or deleted, and update UI accordingly. Also fix a couple of leaks, a double-load of the progress view nib file, and tidy up a bunch of code. Parts of patch by Nick Kreeger. 2005-11-13 04:45:19 +00:00
smfr%smfr.org
f9f813df5d Add a bunch of NSLogs to the bookmarks saving code, and a test for a zero-length bookmarks file, to try to catch bookmarks lossage issues. 2005-11-13 00:16:44 +00:00
smfr%smfr.org
815e7115a9 New class to cache site icons outside of the Necko cache (which gets nuked too often). 2005-11-13 00:07:27 +00:00
smfr%smfr.org
c381b66551 New util category on NSFileManager. 2005-11-13 00:04:08 +00:00
smfr%smfr.org
f5bbcae624 Fix bug 313961: don't create history items for hidden url loads (like this for iframes).
Fix bug 315667: allow nsIHistoryObserver removal during the "history closing" notification, which fixes history data source cleanup on quit, avoiding a rebuild of the history data source on expiring entries.
2005-11-12 19:31:28 +00:00
smfr%smfr.org
071d13fb14 Replace a hardcoded char code constant with a value from the Cocoa headers. 2005-11-12 19:27:04 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
joshmoz%gmail.com
4c62b66761 fix bug in which the pause button disappears when customizing the toolbar. b=315578 sr=smfr 2005-11-09 08:01:36 +00:00
smfr%smfr.org
3e0a267468 Fix bug 314803: if saving HTML Complete to a non-writable dir, we'd bail when creating the associated "Files" directory but never cancel the download. This patch fixes that by calling OnStateChanged on the download in the failure case. I also fixed some variables names and comments to make the header sniffing stuff clearer. 2005-11-06 21:42:04 +00:00
smfr%smfr.org
384d5692d1 Fix bug 314803: fix crash on download failure, caused by DownloadDone() getting called twice. Added error reporting for common downloading errors (no permissions in destination dir, and disk full) via a sheet on the downloads window.
Implemented nsIInterfaceRequestor on nsDownloadListener and nsHeaderSniffer because I was seeing assertions about this, and to avoid possible uninitialized value usage (bug 315246).
2005-11-06 06:40:36 +00:00
smfr%smfr.org
9c1e8afd11 Add NSString category for methods that get a couple of useful path-related strings (volume name, and file/folder display name).
Also fix memory leak in [NSView removeAllSubviews].
2005-11-06 06:32:18 +00:00
smfr%smfr.org
1feae017d2 Fix bug 313961: avoid making history items in the UI for "hidden" global history entries, such as those for subframes. 2005-11-05 07:08:22 +00:00
mark%moxienet.com
c350cce538 Bug 314612, Autocomplete broken in location bar. Include libxpautocomplete. 2005-11-03 19:59:44 +00:00
pinkerton%aol.net
0590ff9b85 remove libtransformiix as it no longer exists outside of layout 2005-11-02 20:23:12 +00:00
pinkerton%aol.net
9148b13f59 don't rebuild views after each download is removed, wait until all work is
done then rebuild them (bug 308680)
2005-11-02 17:32:33 +00:00
pinkerton%aol.net
acfaaa65bd replace &apos; with apostrophe (bug 308998) 2005-11-02 15:54:29 +00:00
pinkerton%aol.net
35c56b3a2c .url files must have CRLF newlines to load properly; otherwise you get a ``loading'' that never finishes. (bug 313308) 2005-11-01 21:02:28 +00:00
smfr%smfr.org
902349f9ad Fix bug 314616: icon disappears for paused downloads. Patch by Nick Kreeger, r=me. 2005-11-01 17:53:52 +00:00
smfr%smfr.org
5a931e3390 Fix bug 314376: occasional crash when editing trust settings for a newly-added cert, because we were messing with the view hierarchy for a destroyed window. Fixed by setting the certificate view's certificate to nil in -windowWillClose:
Also fix some other bugs in the certificate view that caused the checkbox states to be incorrect, and fail to stick.
Also fix possible exception on quit when quitting with the certificates window frontmost.
2005-11-01 07:30:54 +00:00
smfr%smfr.org
3b51288592 Fix bug 311110: dragging onto empty tab bar area should create new tabs, not replace existing ones. Patch partially by Chris Lawson. 2005-11-01 03:16:11 +00:00
mark%moxienet.com
481c43da3a Bug 314226, "Unrequested Popup Detected" title should be localizable. The new key name is PopupBlockTitle. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>. Camino-only. r=smfr 2005-10-31 20:21:15 +00:00
smfr%smfr.org
39aa785d02 Fix camino bug 314374: delete is enabled when no certificates are selected. 2005-10-30 18:46:32 +00:00
smfr%smfr.org
7b5b6b8a46 Combine the two "Warn when closing/quitting" prefs into one. Bug 196359 2005-10-26 04:02:37 +00:00
smfr%smfr.org
3be0ea8957 Tweak the button spacing of programmatically created dialogs to better match the HIG. 2005-10-26 03:56:28 +00:00
smfr%smfr.org
f9c440fff6 Fix bug 313025: if quitting via the Dock menu while Camino is hidden, activate it before showing the quit warning dialog. 2005-10-20 03:28:20 +00:00
smfr%smfr.org
d5f665a95b Fix bug 313015: when adjusting the Command-W close window command, look at the key window, rather than the main window. This allows Command-W to close the Find window, as it should. 2005-10-20 03:25:17 +00:00
smfr%smfr.org
4eb2bc0e97 Fix bug 313015: when adjusting the Command-W close window command, look at the key window, rather than the main window. This allows Command-W to close the Find window, as it should. 2005-10-20 03:12:16 +00:00
smfr%smfr.org
f32f41c0e6 Change the Camino pref pane identifiers to contain "org.mozilla.camino" rather than "org.mozilla.chimera", and fix the text encoding of many of the pref panel Localized.strings files. 2005-10-20 02:31:36 +00:00
smfr%smfr.org
75a33b8fbf Camino part of fix for bug 306245: focussing an element in a background tab steals focus from frontmost tab. Fix by making our nsIEmbeddingSiteWindow::GetVisibility() impl return PR_FALSE for background tabs (see bug 124750). r=mento 2005-10-20 02:16:30 +00:00
smfr%smfr.org
d99cf2fe48 Fix bug 312959: avoid hang showing tooltip on a newly added bookmark toolbar item by ensuring that the bookmark has its title and url before notifications are fired for it, and avoiding "\n\n" tooltip strings. r=mento. 2005-10-20 02:03:20 +00:00
smfr%smfr.org
20c9bb65cb Fix bug 175863: Add a "reload all tabs" item to the tab context menu. Patch by Chris Lawson. 2005-10-18 17:44:41 +00:00
smfr%smfr.org
a0e7cd8c30 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. 2005-10-18 04:06:55 +00:00
smfr%smfr.org
90300c5a7f Avoid recreating the BookmarksManager (and hence PreferencesManager) on quit if we haven't created one yet; this could happen when launching with another copy of Camino running. 2005-10-17 16:36:16 +00:00
smfr%smfr.org
be553a1f91 Fix bug 181649: make sure that site icons are not loaded if the (hidden) "browser.chrome.favicons" pref is set to false. 2005-10-13 02:23:05 +00:00
smfr%smfr.org
528a1b5887 Fix camino bug 311683. The earlier fix for bug 297343 introduced a short delay before the dispatch of focus/activate events on window activation. It turns out that this was bad, as you could end up with two windows which continually each come to the front ("duelling windows"). This patch makes things synchronous again, but fixes the original bug by exposing a category on NSWindow in the widget code that allows the embedder to know if a SetFocus() call is coming as a result of window activation. r=mento 2005-10-12 17:38:29 +00:00
smfr%smfr.org
ed4388d562 Continuation fix for bug 311106: expire history entries on the pref changed callback for the expire time, so that the history view and the menus update live as you change the pref. 2005-10-12 01:03:38 +00:00
smfr%smfr.org
fe809e3335 Fix bug 311793, patch by Ulrik Sverdrup: don't create history date folders for more days that you're saving history for. r=me 2005-10-12 00:58:48 +00:00
smfr%smfr.org
a3022e7290 Add NSString category methods to init an NSString using various Gecko strings, for use when we don't want to have to create an autoreleased item, and use it for history items (to reduce autorelease load). 2005-10-12 00:54:10 +00:00
smfr%smfr.org
fa0a4705a7 Rename the -[PreferenceManager homePage:] method to -[PreferenceManager homePageUsingStartPage:].
Also add the ability to map Gecko pref changed callbacks into NSNotifications, via the PreferenceManager.
2005-10-12 00:48:34 +00:00
smfr%smfr.org
e495e7cb61 Fix bug 299807: make sure warning triangle favicon displays when the error page loads. 2005-10-12 00:40:25 +00:00
smfr%smfr.org
cbf43f3ea9 Add CHISupportsOwner, a simple Objective-C class that just holds a reference to an XPCOM object (via an nsISupports*). 2005-10-12 00:32:53 +00:00
smfr%smfr.org
542361f8a8 Fix bug 311793: getIntPref:withSuccess: sometimes fails to set 'outSuccess'. Patch partiallyl by Ulrik Sverdrup. 2005-10-09 17:57:45 +00:00
smfr%smfr.org
48c4228001 Fix bug 299030: ensure that we correctly update the Close Window menu shortcut when closing a multi-tabbed window with another simple window behind it. 2005-10-09 00:24:30 +00:00
smfr%smfr.org
29d8331d93 Fix bug 264085: don't spuriously go into cell edit mode when clicking the twisty in the bookmarks outliner. 2005-10-08 23:12:03 +00:00
smfr%smfr.org
d1b0778bd9 Code cleanup, no real changes. 2005-10-08 22:54:25 +00:00
smfr%smfr.org
8f59caf52d Fix bug 311453: make the tooltips on bookmark buttons show the title and url separated by a newline. r=pinkerton 2005-10-08 00:13:16 +00:00
smfr%smfr.org
1127e8ff2c Fix gcc 4 build. 2005-10-07 16:55:55 +00:00
smfr%smfr.org
7c83ac8847 Fix bug 303909: remove ellipsis from the "Create New Folder" context menu item on the bookmark bar. Patch partly by Nick Kreeger. 2005-10-07 04:35:35 +00:00
smfr%smfr.org
c4e497cd9f Fix bug 235850: popup displays at wrong location when it's near the bottom of the screen. Fixed by making a little NSView the size of the frame to host the popup cell, rather than using the window's contentView.
Fix bug 239335: select with position:fixed displays at wrong offset: use GetPrimaryFrameFor() to get the frame for the select, and use that to get the popup location (via screen coords).
r=pinkerton on both
2005-10-07 02:14:49 +00:00
smfr%smfr.org
6a86f6a32e Fix bug 311442: exception because of bad string offsets in compare when changing text in the url bar. 2005-10-07 01:33:15 +00:00
smfr%smfr.org
5abadfb213 Fixes for Camino bugs:
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.
2005-10-05 20:24:03 +00:00
smfr%smfr.org
cf8cebe217 Avoid rebuilding the history data source on shutdown (because of an end-batch coming out of entry expiration); this makes quitting faster if you have a big history DB. 2005-10-04 23:09:26 +00:00
smfr%smfr.org
ac9420277b Fix bug 286115: display separators in the bookmarks toolbar. Patch by Bruce Davidson, r=me. 2005-10-04 18:27:30 +00:00
smfr%smfr.org
a98df28e0a Fix bug 299758: ensure that "Add to Address Book" string is localizable. Patch by Smokey Ardisson. 2005-09-30 04:17:22 +00:00
smfr%smfr.org
c3a4817fe8 Camino part of fix for bug 297343: avoid re-entrant -[NSWindow makeKeyAndOrderFront:] calls by postponing the focus and activate calls into Gecko so that they get called the next time through the event loop, when window visibility and key status are correct. This allows embedder code that implements to nsIEmbeddingWindow::SetFocus() to check those and avoid re-entrant/redundant makeKeyAndOrderFront: calls. r=mento. Only affects Camino. 2005-09-30 00:55:05 +00:00
smfr%smfr.org
1a56a2fde4 Fix bug 308700: hang when generating certificates on some sites, because the "completion" PLEvent wasn't getting handled promptly. Fix is to push a new event queue while keygen is in progress. Also wired up the "Cancel" button in the nib. 2005-09-20 16:51:14 +00:00
smfr%smfr.org
2f5d487548 Fix bug 308356: fix saving keychain info by making sure we map return codes correctly. r=pinkerton 2005-09-13 19:55:22 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
smfr%smfr.org
6068140ae1 Optimize the tab bar drawing by using [NSColor colorWithPatternImage:] to do tiling. 2005-09-12 23:08:39 +00:00
smfr%smfr.org
40f64a79c2 Avoid redundant autocomplete popup resizing when it's not visible.
Also make a bunch of internal methods private.
2005-09-12 22:57:08 +00:00
smfr%smfr.org
a72e7f47b2 Fix bug 308219: don't load the throbber images if we don't have to. 2005-09-12 20:09:00 +00:00
mozilla.mano%sent.com
dbc3c993a1 Removing workaround to set the default browser on the pawn tinderbox 2005-09-11 21:44:41 +00:00
mozilla.mano%sent.com
f65e420ad3 Bug 305312 - Export Bookmarks save dialog doesn't expose 'Hide Extension' UI. rs=smfr. 2005-09-11 21:26:12 +00:00
smfr%smfr.org
524307e362 Temporarily force Camino as the default browser to fix tinderbox. 2005-09-11 19:01:11 +00:00
smfr%smfr.org
3d2e377a9f Change the default browser prompt to use "Yes" and "No" for button titles, and fix up nsAlertController methods to return standard cocoa button values. 2005-09-10 23:39:19 +00:00
smfr%smfr.org
b917f6b7c5 New NSWorkspace category for default browser functions 2005-09-10 22:28:55 +00:00
smfr%smfr.org
340ef9e085 Added a dialog on launch to allow the user to set Camino as their default browser (with a "Don't ask again" checkbox), and code to silently update default browser from org.mozilla.navigator to org.mozilla.camino if necessary.
Added a checkbox to the prefs to turn the default browser checking on and off.
Moved all the default browser code into an NSWorkspace category, so it can be called from the app and pref panels.
Compressed some of the pref panel tiff images.
2005-09-10 22:27:20 +00:00
smfr%smfr.org
bdf4e95461 Fix bug 230340: support dragging multiple items from the history view. 2005-09-10 22:16:04 +00:00
mark%moxienet.com
73564e919f Bug 244678, change bundle identifier to org.mozilla.camino and creator to MOZC. r=smfr 2005-09-10 05:43:09 +00:00
smfr%smfr.org
e39466d47c Fix bug 307837: Choose sensible window bounds if no bounds are saved in user defaults. r=mark. 2005-09-10 05:27:23 +00:00
smfr%smfr.org
ffbe1b19b6 Tweak the position of the favicon so that it lines up with the text field better. 2005-09-10 03:48:13 +00:00
smfr%smfr.org
c5f8195267 Fix bug 306327: can't drag favicon for local files. Fix by Nick Kreeger, r=me. 2005-09-10 03:41:53 +00:00
smfr%smfr.org
0033b94c79 Add new small images for the bookmarks search field, and ensure that the SearchFieldCell correctly responds to setControlSize:. 2005-09-10 03:30:47 +00:00
smfr%smfr.org
6bc62006b7 Fix the drag image font and spacing for Wevah. 2005-09-10 03:25:23 +00:00
smfr%smfr.org
dcc939c750 Fix bug 307775: when running a 2nd copy of camino, dimissing the dialog would cause it to just come up again, because the ProgressDlgController would instantiate another copy of the PreferencesManager on quit. r=kreeger. 2005-09-10 00:22:31 +00:00
smfr%smfr.org
b8d0775c65 Fix bug 160008: make keyword lookups happen from the location sheet. patch by Ulrik Sverdrup, r=me, sr=pinkerton. 2005-09-09 17:54:24 +00:00
mark%moxienet.com
772ae6f9bc Bug 187619, Download manager should display downloads from previous sessions. Save and restore downloads from a plist. Patch by Nick Kreeger <nick.kreeger@gmail.com>. r=pink sr=smfr 2005-09-08 22:57:04 +00:00
smfr%smfr.org
cb8e7b3f1f Fix up the certificate view some more, and remove a bogus display of the key escrow dialog that was left in from testing. 2005-09-08 20:27:09 +00:00
smfr%smfr.org
cbb887f552 Fix bug 307499: bad drawing in the certificate view, caused by missing return value. 2005-09-08 16:17:08 +00:00
smfr%smfr.org
d890e73a43 Fix bug 307446: failure to return a value causes messed-up security dialogs. patch by mento, r=me. 2005-09-08 06:41:21 +00:00
smfr%smfr.org
d083e06765 Fix some refcounting issues seen when building on 10.4. 2005-09-08 01:50:00 +00:00
smfr%smfr.org
b8576d7ce2 Fix bug 272606 and dependents: implement security in UI that allows you to trust new CAs, generate certificates, pick certs when a site asks for one, and a new certificate manager window accessible from prefs. Fixes bugs 151656 170355 267414 272591. r/sr=me. 2005-09-08 00:26:43 +00:00
mark%moxienet.com
842bfa1258 Bug 305314, Save as plain text sometimes fails to use correct extension. Append correct extension. Patch by Nick Kreeger <nick.kreeger@gmail.com>. Camino-only. r=pinkerton 2005-08-29 20:06:55 +00:00
smfr%smfr.org
9168e67f0b 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 2005-08-29 17:55:07 +00:00
smfr%smfr.org
459daf10ff Add some error dialogs for various fatal errors that can happen during launch of Camino. Addresses bug 201506. 2005-08-28 21:27:04 +00:00
smfr%smfr.org
09e330f07a Fix bug 156886: show a file icon for the site icon for file:// urls. 2005-08-28 04:57:36 +00:00
smfr%smfr.org
8d8f30a12c Fix bug 304006: fix the restoration of folder expanded states when clicking between collections, by ensuring that we restore them after -reloadData. 2005-08-28 00:50:54 +00:00
smfr%smfr.org
788b8f67ea Fix bug 303359: when pasting a bookmark into the Bookmark Bar collection with nothing selected, put the bookmark at the end of the bookmark bar, rather than the end of the menu. 2005-08-28 00:37:12 +00:00
smfr%smfr.org
5ea46db741 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. 2005-08-27 03:38:49 +00:00
smfr%smfr.org
4d6274fdd5 Fix bug 167245: when opening tabs for GetURL events, or various Help menu items, always open the new tab in the front irrespective of the "load in background" pref. r=pinkerton 2005-08-25 22:53:50 +00:00
smfr%smfr.org
29b3392c82 Fix bug 174427: if hitting Return in an empty url bar, keep focus in the url bar. r=pinkerton 2005-08-25 22:48:17 +00:00
smfr%smfr.org
f8776f4089 Fix bug 279982: remove "Use system homepage" and associated Internet Config code, other than the code to fetch the downloads folder. r=pinkerton 2005-08-25 22:23:48 +00:00
roc+%cs.cmu.edu
329c6cc865 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
pinkerton%aol.net
a05d699816 dbl-click on tab bg creates a new fg tab. 2005-08-23 16:50:08 +00:00
smfr%smfr.org
473548d78f Fix bug 231736: get the Proxy Auto-Config settings from the OS if possible. Added a new hidden pref "camino.use_system_proxy_settings" which can be used to turn off the automatic reading of proxy info from the OS, if you want to specify it yourself.
Also turned off the dumping of JS/CSS errors to the console. r=pinkerton
2005-08-19 19:20:22 +00:00
smfr%smfr.org
d59c0d22f8 Fix bug 305010: change the ad blocking pref to use nsIStyleSheetService to load the file, rather than copying it into userContent.css, so that we can load and unload the file dynamically, and not clobber the user's userContent.css.
The first time you run a build with this change, it will move any existing userContent.css to userContent_unused.css. r=pinkerton
2005-08-19 17:28:12 +00:00
smfr%smfr.org
11e658247d Fix bug 259903: allow the user to show file extensions when saving web pages, and correctly fix up the file extension when they swap formats. 2005-08-17 18:30:12 +00:00
smfr%smfr.org
61f0a9a04f Fix bug 304565: bookmark descriptions all getting the same value. Make sure we make a copy of [NSTextView string] before setting the bookmark description, and clean up other minor NSString usage. 2005-08-16 04:51:10 +00:00
smfr%smfr.org
081674901c Final merge of changes from roc's landing; deal with null aResult in FindRow(). 2005-08-10 22:54:34 +00:00
smfr%smfr.org
de81fd6373 Fix FindRow() to deal with null argument. 2005-08-10 22:15:30 +00:00
smfr%smfr.org
08e85c3495 Fixing build bustage from roc's checkin. 2005-08-10 22:09:34 +00:00
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
pinkerton%aol.net
6c4bf40715 implement "use selection for find" and move more of the find code into
the CHBrowserView and change it to using the firstResponder. (bug 157051)
2005-08-08 02:59:20 +00:00
pinkerton%aol.net
20e13b89b5 make text field scroll instead of wrap so it's obvious there's more text
in the field (bug 215991)
2005-08-07 23:32:28 +00:00
pinkerton%aol.net
4c02e4a2a0 change window stagger to the height of the titlebar to match HIG (bug 288390) 2005-08-07 22:03:10 +00:00
pinkerton%aol.net
491875a237 reduce click-hold delay on back/fwd buttons to 0.45 (bug 296596) 2005-08-07 20:28:07 +00:00
smfr%smfr.org
0b33aa4221 Make sure we save the print settings after printing, otherwise they don't get saved at all. 2005-08-06 22:46:55 +00:00
smfr%smfr.org
700f885ac8 Optimize the performance of bookmarks loading in Camino so that we launch must faster with large bookmarks files. Changes include:
* Change from having every bookmark register for page and favicon load notifications to having the BookmarksManger watch for loads, and then notify the relevant bookmarks. Requires the BookmarksManager to maintain two maps, one of page url -> bookmark, and another of favicon url -> bookmark.
* Now we build the bookmarks menus lazily on display: BookmarkMenu is now an NSMenu subclass.
* The writing of Spotlight Metadata for bookmarks now happens on a thread, after we've set up the rest of the bookmarks.
* We no longer save some empty keys for bookmarks and folders to the bookmarks plist file, which reduces its size (and saving cost). Also changed some bookmarks members from being object types (NSNumber) to primitive types.
* Delay the loading of bookmark icons until requested (rather than when the bookmarks url is set on bookmark loading).
* Bookmark changed notifications now go out with a set of change flags, so we know what changed and can avoid saving bookmarks for trivial changes.
* We no longer save the bookmarks when you tab between fields in the Info panel, if you didn't change anything.
* Sundry bookmarks code cleanup for readability and leg-cocking.
* We now save custom (i.e. <link>-based) favicon URLS with bookmarks, which allows us to avoid hitting the Necko cache for every bookmark up-front as we try to figure out the favicon url for a bookmark.
* The site icon provider code now provides info in the "loaded" notification about whether the load came from the network.

Fixes bug 279994, bug 236373.
2005-08-06 20:14:30 +00:00
pinkerton%aol.net
3abe7d0aa8 disable destructive buttons when window isn't key so they can't be clicked
through (bug 192223)
2005-08-05 18:15:22 +00:00
pinkerton%aol.net
99b46a5719 add pause/resume to download manager (bug 187483) 2005-08-02 22:53:43 +00:00
smfr%smfr.org
57e1fe973a Fix bug 160008: make autocomplete work in the Location sheet. 2005-08-02 20:28:45 +00:00
smfr%smfr.org
805ec54fce Use history icon for about:history bookmarks (bug 284829).
Change the bookmarks view splitter defaults key so that we ignore the bogus value set by earlier .9 builds.
2005-08-02 20:23:08 +00:00
smfr%smfr.org
3ebaddeadd Fix bug 303042: make sure we init the parent folder index hint for new bookmarks. 2005-08-02 17:48:12 +00:00
pinkerton%aol.net
8177f4942f clear the cancel button when the value is set to an empty string (bug 286441) 2005-08-01 02:45:47 +00:00
pinkerton%aol.net
7be81771d5 add toolbar button to show history (bug 229957) 2005-08-01 01:03:10 +00:00
pinkerton%aol.net
23e9c55950 outlet and code for camino support help menu item 2005-07-31 23:27:55 +00:00
smfr%smfr.org
9a808abe79 Fix bug 243840: don't resize columsn in the bookmarks/history when expanding items. 2005-07-31 23:25:31 +00:00
smfr%smfr.org
6451ec6adf Fix bug 224525: make sure we call setNeedsDisplay:YES on the browser content view after resizing it when the bookmarks toolbar height changes. 2005-07-31 22:58:55 +00:00
smfr%smfr.org
10450416d0 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.
2005-07-31 22:36:56 +00:00
pinkerton%aol.net
6a4bd92b2f support dropping text on the field which triggers the target/action (bug 207845) 2005-07-31 22:24:23 +00:00
pinkerton%aol.net
0a3bfa997f only init blank html string object when called upon, not at startup 2005-07-31 20:14:23 +00:00
pinkerton%aol.net
739d94a139 allow bookmarks title to be localized (bug 294731) 2005-07-31 20:09:41 +00:00
smfr%smfr.org
a84d110e68 Fix gcc 4 error. 2005-07-30 03:20:10 +00:00
smfr%smfr.org
adf344646d When creating folders in the bookmarks view, create the new folder after the currently selected item by deafult. 2005-07-30 02:43:33 +00:00
smfr%smfr.org
913d33657d Fix bug 169801: allow downloads to udpate even when the mouse is tracking a control by adding the timer to the event loop tracking runloop mode. 2005-07-27 04:57:13 +00:00
smfr%smfr.org
961d882b8a Avoid redrawing the strings in the download view if they haven't changed (since we redraw them every second); helps with bug 293995. 2005-07-27 04:45:17 +00:00
smfr%smfr.org
f3dc0bc953 Hopefully fix bug 302195: add null check on the nsIDOMWindow so that when showing a cookie for an image, we don't crash. 2005-07-27 02:16:47 +00:00
joshmoz%gmail.com
5394cc2cad fix bad access of protected variable. b=302264 r=mento 2005-07-26 22:46:47 +00:00
smfr%smfr.org
591c4f3481 NSWindowController releases the nib items for you, so we don't have to, so these extra retains are wrong. 2005-07-25 15:59:12 +00:00
smfr%smfr.org
cd65212cd7 Fix bug 248716: don't leave odd gap in bookmarks toolbar when trying to delete an undeletable folder (like the dock menu folder). 2005-07-25 02:09:02 +00:00
smfr%smfr.org
603a449703 Fix bug 232765: hide scrollbars when a popup is opened without the scrollbar flag. 2005-07-25 01:56:41 +00:00
smfr%smfr.org
ec9670296d 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. 2005-07-25 01:00:37 +00:00
smfr%smfr.org
3cc537641c Fix bug 166746: if the bookmark title for a linked image is empty, use the url. 2005-07-24 23:14:48 +00:00
smfr%smfr.org
1014ec3c49 Add an NSAutoreleasePool on the StreamLoaderContext callback, because autoreleased items under this method don't seem to get reaped otherwise. 2005-07-24 23:05:00 +00:00
smfr%smfr.org
1f5909b527 Add a comment about ref cycles. 2005-07-24 23:03:59 +00:00
smfr%smfr.org
f8001d0e49 Turn off threaded animation on the download progress indicators, as it appears to cause a leak. Bug 143303. 2005-07-24 23:03:25 +00:00
smfr%smfr.org
257b5a01bf New file of C++ utilities, including stack-based autorelease pool creator. 2005-07-24 23:02:55 +00:00
smfr%smfr.org
964540df23 Make sure we release top-level nib items to reduce leaking. 2005-07-24 22:56:16 +00:00
smfr%smfr.org
d020054e7a Fix bug 280982: updates for several disjoint areas would get coalesced because the CHBrowserView, which is the opaque ancestor view for all the ChildViews, used a suboptimal drawing path that redraw the union of the dirty rects. r=mento.
Fix bug 301432: in +browserViewFromDOMWindow:, make sure we use the top nsIDOMWindow of the tree so that we get a CHBrowserView for nsIDOMWindows of subframes. Fixes JS alerts on framed pages (like gmail).
2005-07-22 03:56:12 +00:00
smfr%smfr.org
6f91479228 Fix bug 298821: do the right thing with autocomplete whether or not the user types the protocol part of the URL. 2005-07-22 00:26:38 +00:00
smfr%smfr.org
f98cf3f7dc Finish off bug 294019: when opening a set of urls in tabs, select the first tab that we changed. 2005-07-21 22:30:13 +00:00
bsmedberg%covad.net
5fba1c6aea Bug 296561 - rework static component loading so that nsIXULAppInfo/Runtime/etc are available during autoregistration/xpcom-startup notification (and make static component loading saner in general) - r=shaver+dougt, a=asa 2005-07-21 13:33:43 +00:00
smfr%smfr.org
02c6bceb49 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.
2005-07-20 19:01:36 +00:00
mark%moxienet.com
7c4a41b97b Bug 300995, crash when dragging bookmark buttons to (re)move when built against SDK >= 10.3. Retain disappearing object. r=pink sr=smfr 2005-07-18 19:20:00 +00:00
smfr%smfr.org
7063c50734 Fix bug 299839: prevent 'reset camino' from deleting downloaded files by preventing -cancel: from doing anything on completed downloads. r=me, sr=pinkerton. 2005-07-17 04:51:20 +00:00
smfr%smfr.org
69d3cdb7c1 Fix bug 196235: if a copy of Camino is already running, clicking on the Dock icon of the second copy will put a dialog for each click. Fixed by checking for an existing prefs manager. 2005-07-17 04:46:23 +00:00
smfr%smfr.org
696cc43473 Fix bug 287866: let the escape key cancel IME input if there is marked text. Patch by waverider (waveridervsnrz@yahoo.co.jp). 2005-07-17 02:14:48 +00:00
smfr%smfr.org
46ffd47447 Fix bug 299807: only change the favicon if the location change has an associated nsIRequest, indicating that it's a new page. This allows the yellow error icon to persist even when we load the error document. 2005-07-17 02:01:30 +00:00
bzbarsky%mit.edu
9aa3066a02 More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
2005-07-15 21:41:47 +00:00
mark%moxienet.com
008dbe7697 Bug 299356, image blocking not working in static/release builds. Adjust Camino's static nsStaticComponents.cpp. Camino only. r=smfr 2005-07-15 16:22:36 +00:00
smfr%smfr.org
f5bda25551 New NSThread category with -isMainThread method. 2005-07-14 05:27:23 +00:00
smfr%smfr.org
9208793aa8 Fix bug 294127: when Camino is launched with a file, or as a result of a GetURL event, we could start making windows and loading URLs before we've finishing initting Gecko in -applicationDidFinishLaunching. These changes make sure that gecko init is complete earlier if necessary. 2005-07-14 04:09:24 +00:00
smfr%smfr.org
a6f6ee26b2 Fix a possible quit crash caused by the last checkin, if AppKit closes the toolkit window for us on quit. Also rename mPanel to mTooltipWindow. 2005-07-14 03:38:38 +00:00
smfr%smfr.org
34d2fa2c1d Fix bug 300152: switching to another app would hide the browser window. Fixed by making tooltips NSWindows rather than NSPanels. 2005-07-14 01:28:29 +00:00
joshmoz%gmail.com
19773ab391 make dates in "Go" menu localizable. b=299757 r=wevah sr=smfr 2005-07-09 07:52:23 +00:00
cbiesinger%web.de
858e142426 fixing camino bustage 2005-07-07 00:40:50 +00:00
cbiesinger%web.de
69dc249cbd Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver
2005-07-06 23:12:22 +00:00
pinkerton%aol.net
16ddd1d469 remove addressBookManager framework/bundle from inclusion as it isn't needed
now that we're 10.2+ (bug 298173)
2005-07-06 20:18:33 +00:00
smfr%smfr.org
344e87775b Fix bug 248304: turn off the universal charset detector by default, but allow users to turn it back on via an item at the bottom of the Text Encodings menu. Also add a new item for GB 18030. r=pinkerton. 2005-07-05 20:11:34 +00:00
smfr%smfr.org
9749527c5e Fix warnings. 2005-07-01 01:40:12 +00:00
smfr%smfr.org
f9dec1e158 Fix alignment, no code changes. 2005-07-01 01:39:59 +00:00
smfr%smfr.org
28c0e14fe4 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 2005-06-29 01:25:35 +00:00
smfr%smfr.org
734a842fd9 Remove unused context menu outlet (we create the menu dynamically now). 2005-06-29 01:22:14 +00:00
smfr%smfr.org
ce1d1ac7b8 Fix bug 279270: remove unused code adding nsICommandParams to cmd_copyImageContents. Also fix warning relating to calling closeTab on a tab view item. 2005-06-28 04:24:16 +00:00
smfr%smfr.org
c443c4f90a Fix warnings relating to the embedding container protocols. 2005-06-28 04:06:42 +00:00
smfr%smfr.org
c2f8aae684 Fix a warning. 2005-06-28 04:03:41 +00:00
smfr%smfr.org
e9a4488b23 Fix bug 298291: url bar not updated after navigating to relative anchor. Remove over-zealous null check on the nsIRequest, which is null in this case. 2005-06-28 03:43:09 +00:00
smfr%smfr.org
de261ea6ba Fix bug 165015: hook up Command-Shift-R for reload (patch by Wevah, mozilla@derailer.org). 2005-06-27 17:33:28 +00:00
smfr%smfr.org
69c3307072 Fix bug 245019: make tooltips child windows, so that they don't show up in Expos�. 2005-06-26 03:41:33 +00:00
smfr%smfr.org
af8f94b76a Fix bug 296340: make the autocomplete dropdown a child window of the browser window, so that we can keep it up while the window is moved, resized, minimized or hidden. r=pinkerton. 2005-06-26 03:37:00 +00:00
smfr%smfr.org
8fa9b149b7 Fix bug 293147: when copying a bookmarks folder, don't propagate the dock menu flag. Patch by englabenny@macnytt.com. 2005-06-24 02:30:03 +00:00
smfr%smfr.org
f50615aecb Fix bug 298629: clear search results when switching between history and bookmarks. Also fix the action menu when history is visible to use the dynamically created context menu. 2005-06-24 02:23:43 +00:00
smfr%smfr.org
8a2199f912 Fix bug 298547: if dragging a url as text onto the bookmarks bar, use the url as the bookmark title (since it's the only thing we have). 2005-06-24 02:00:30 +00:00
smfr%smfr.org
51ea877c29 Add the ability to open multiple bookmarks or history items in new tabs/windows from the context menu, and with command-double-click (bug 285182). 2005-06-23 18:10:56 +00:00
smfr%smfr.org
e646de80cd Disable "New Tab" if a non-browser window is the main window. Bug 181560. 2005-06-23 03:38:55 +00:00
smfr%smfr.org
34915d0bac Fix bug 181560: allow New Tab to be available when no window is open; it will open a new window, following the pref for what to load in a new tab. 2005-06-18 18:44:31 +00:00
smfr%smfr.org
85dce405d3 Fix bug 290375: if option key is down when a download completes, and you have the dl manager set to auto-hide, then all windows get closed. Fixed by using -close rather than -performClose: (and moving the code where it belongs). 2005-06-17 00:26:21 +00:00
joshmoz%gmail.com
9718f8cb16 gcc 4 build fixes for Camino. Patch by Mark Mentovai. b=297688 r=josh sr=smfr a=asa 2005-06-15 16:39:40 +00:00
pinkerton%aol.net
0e1f096534 handle secondary subtags between 2 and 8 characters long, as
per RFC 3066 et al. when setting accept-lang header (bug 293327)
2005-06-10 17:23:17 +00:00
joshmoz%gmail.com
577588f69c 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 2005-06-09 18:09:57 +00:00
joshmoz%gmail.com
2b94cdd1cf Get rid of "Document: Done" from status bar. b=246112 r=josh sr=smfr 2005-06-09 07:59:05 +00:00
smfr%smfr.org
8008358659 Fix bug 296001: crash when deleting quicksearch results in history, because we were calling a method on a deleted object. 2005-06-02 02:17:46 +00:00
pinkerton%aol.net
a662f88884 fallback to the pasteboard string if we can't get the title string from the
core pasteboard url drag flavor. (bug 294001)
2005-05-29 18:12:57 +00:00
pinkerton%aol.net
47608aa319 make description a text view so that return works inside it. also lets
spellchecking work on 10.3. (bug 292613)
2005-05-29 17:28:35 +00:00
pinkerton%aol.net
2bf728bfb8 truncate items at 50 chars (bug 294226) 2005-05-29 17:10:04 +00:00
smfr%smfr.org
73d789466d Tweak tooltip sizing to fix a bunch of edge cases. Finally fixes bug 248488. 2005-05-28 06:47:57 +00:00
smfr%smfr.org
ee241f698b Fix bug 295752: crash when going to show history by site. Fixed init method signatures for the history tree builders. 2005-05-28 01:10:24 +00:00
smfr%smfr.org
8c57ae4ac0 Fix bug 295522: when inserting autocomplete results into the url bar, skip the protocol when trying to figure out where the match is. r=pink. 2005-05-26 16:28:05 +00:00
smfr%smfr.org
0d50f72a04 Fix bug 295429: when seeing a failure code on the nsIRequest on OnLocationChange, set the site icon to a little warning triangle, rather than the site icon. 2005-05-26 04:32:26 +00:00
smfr%smfr.org
2355887ab7 Fix bug 295375 (random Camino crash on page load). Be sure to remove HistoryDataSources from the notification center. 2005-05-25 01:56:05 +00:00
smfr%smfr.org
161e295483 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).
2005-05-23 03:36:08 +00:00
joshmoz%gmail.com
0838386323 check in the rest of unified toolbar files, also fix for 185985. sr=pink 2005-05-21 08:48:58 +00:00
smfr%smfr.org
c8f6c80e45 Fix bug 292694 (Go menu missing history on Tiger) and improving history menu display performance (bug 291414). Fix both by not relying on [NSMenu update] to rebuild the menu, but by using a Carbon Event which fires on menu display. 2005-05-17 16:47:22 +00:00
smfr%smfr.org
c89819224a Put global history on the Go menu, implemented using the HistoryDataSource this time. Bugs 179676 and 291414. 2005-05-14 05:30:47 +00:00
pinkerton%aol.net
6f9bc5473a fix issue where we'd leave off if the selected row was 0 because we were
converting from NSNumber to int too early. Remove hack to workaround it
(ifdef'd out) as well. (bug 283615)
2005-05-09 15:56:02 +00:00
pinkerton%aol.net
280de8615d delay setting up notifications for bookmark changes until after smart folders
load. also don't write bookmarks or metadata when bookmarks are added to
or changed in smart folders.
2005-05-07 18:48:48 +00:00
pinkerton%aol.net
8e1c9583d6 write bookmarks in two stages in case the write fails for some reason.
hopefully this will solve the cases where we appear to eat bookmarks.
2005-05-07 00:07:44 +00:00
pinkerton%aol.net
945905491e don't update metadata for bookmark additions/deletions in smart folders 2005-05-06 23:49:15 +00:00
pinkerton%aol.net
8abbb03ea2 fix regression of not being able to drag-reorder bookmarks on toolbar
(bug 292508)
2005-05-06 23:13:43 +00:00
pinkerton%aol.net
d1c2a725ff fix regressions regarding dragging multiple weblocs from Finder. Move
webloc/IEweblocs to a separate NSURL extension (bug 155484)
2005-05-06 23:07:16 +00:00
pinkerton%aol.net
0b3e7427a6 use GetPrePath() to replace a bunch of code that did the same thing (bug 292671) 2005-05-06 17:46:58 +00:00
pinkerton%aol.net
41dd9b7425 only write out metadata if OS supports spotlight. cache if we're on Tiger so
we only do the work once.
2005-05-06 13:22:48 +00:00
pinkerton%aol.net
78c114c9f4 update metadata when an item changes, and make changes to the url trigger an
item update notification.
2005-05-06 08:03:33 +00:00
pinkerton%aol.net
8f6f8cf984 fill in home page (bug 292698) 2005-05-06 07:31:17 +00:00
pinkerton%aol.net
b82f76205c don't pitch/rewrite entire metadata store every time, only once at startup
and then make changes incrementally with adds/deletes
2005-05-06 07:23:53 +00:00
pinkerton%aol.net
d013c5816e put cache in ~/Library/Caches/Camino and delete the one in the profile dir
at startup
2005-05-06 03:46:06 +00:00
pinkerton%aol.net
f8a4ed286b write out bookmark items into a metadata folder so they can be parsed by
spotlight on 10.4
2005-05-06 02:54:10 +00:00
bryner%brianryner.com
586444bf13 sync'ing camino and embedding code - null check for bug 274784. 2005-05-04 20:55:24 +00:00
pinkerton%aol.net
a9bc6ae307 add toolbar item for form fill 2005-05-03 14:49:57 +00:00
pinkerton%aol.net
25c533cf24 make sure the text field has focus after find (bug 284948) 2005-05-02 17:45:55 +00:00
joshmoz%gmail.com
9d101967d3 add myself to credits... I recall writing this a while back. Nice job on autofill pink! 2005-05-02 01:54:46 +00:00
pinkerton%aol.net
bebbf3cada manual form fill 2005-05-01 17:59:45 +00:00
pinkerton%aol.net
7bafeaa0cc first pass at form fill 2005-05-01 17:55:11 +00:00
pinkerton%aol.net
17cc947322 workaround tiger view hookup ordering changes with user defaults pref to
go back to panther behavior (bug 291355)
2005-04-26 20:57:33 +00:00
pinkerton%aol.net
0ba4408929 disable close button on single tab when 'always show tab bar' is on
(bug 291758)
2005-04-26 02:52:04 +00:00
pinkerton%aol.net
c1820e50ac check if open is allowed before opening on double-click (bug 291852) 2005-04-25 20:30:14 +00:00
pinkerton%aol.net
40798c41c1 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)
2005-04-25 14:49:25 +00:00
pinkerton%aol.net
f07414746a first stab at improved multi-line tooltips (bug 248488) 2005-04-25 01:52:12 +00:00
pinkerton%aol.net
36cf72f1b5 allow the outline view to ask the data source if the column has an icon
(rather than just assuming) when determining if an inline edit should start
2005-04-25 00:10:40 +00:00
cbiesinger%web.de
9bae1490fc fixing camino bustage 2005-04-24 21:42:37 +00:00
pinkerton%aol.net
4c7013314e adding divider line for new tabbed widget (bug 271621) 2005-04-24 21:28:33 +00:00
cbiesinger%web.de
aa12c468cf Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa
2005-04-24 21:16:28 +00:00
pinkerton%aol.net
ab7a66ddc5 make the search field in the cookie sheets the first responder. also put
the search fields into the key loop for full keyboard access. put the hack
for tabbing with search fields on toolbars into code that's more restrictive
to the search bar only being on a toolbar so it works more normally when
used in situations such as this in a normal key loop (bug 281031)
2005-04-24 20:27:29 +00:00
pinkerton%aol.net
f46a4c67fd add "looking glass" to search fields that don't have a popup (bug 282540) 2005-04-24 19:46:32 +00:00
pinkerton%aol.net
fb5a647e17 dbl-click item in d/l manager to open it 2005-04-24 18:28:24 +00:00
pinkerton%aol.net
32452e08f8 pref to have tab bar always visible (bug 162241) 2005-04-23 21:09:04 +00:00
pinkerton%aol.net
9b279dff1c separate 64bit progress api from 32bit because of possible compiler bug
passing long long params between c++ and objc (bug 291406)
2005-04-23 19:20:41 +00:00
pinkerton%aol.net
852bda6497 ifdef back the old session history until global history is fast enough 2005-04-22 13:53:58 +00:00
pinkerton%aol.net
07e3915225 full history in Go menu 2005-04-21 05:40:38 +00:00
pinkerton%aol.net
fafe1e7c3a use long long for download file size progress (bug 288585) 2005-04-21 01:25:42 +00:00
pinkerton%aol.net
70aec90aa6 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)
2005-04-20 23:25:03 +00:00
pinkerton%aol.net
35a916c518 ignore backspace if focus is in object, embed, and applets when handling
backspace to go back (bug 268887)
2005-04-20 22:42:24 +00:00
cbiesinger%web.de
33e7cc8025 Bug 289842 Make nsIHelperAppLauncher inherit from nsICancelable
r=bz sr=darin a=asa
2005-04-15 19:41:07 +00:00
smfr%smfr.org
e09be71caa Fix for bug 290241 (exception thrown dragging links onto the tab bar). Patch by #camino, r=me. 2005-04-14 02:59:24 +00:00
smfr%smfr.org
1e0471db7e Landing changes by Bruce Davidson <Bruce.Davidson@iplbath.com> to get Cut/Copy/Paste to work for bookmarks (bug 155484), and to fix the pasteboard string identifiers in the code (bug 287118). I made three changes to the patch:
Change CHBrowserView to no longer accept bookmark types (kCaminoBookmarkListPBoardType, kWebURLsWithTitlesPboardType), because gecko can't handle them. Instead, a parent view will now handle the drop (and correctly load tabs etc).

NSPastboard+Utils
-containsURLData changed to test for a scheme on the NSURL. Otherwise, any random text would be accepted as url data.

BookmarkViewController:
-pasteBookmarks:intoFolder:index:copying fixed to keep an array of newly created bookmark items when copying, so we can correctly reveal those new items.
2005-04-13 05:35:27 +00:00
cbiesinger%web.de
f9beb62ec5 forgot to check in this part of the patch... fixing camino bustage 2005-04-05 23:55:39 +00:00
cbiesinger%web.de
f0b358248f 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.
2005-04-05 23:24:23 +00:00
smfr%smfr.org
1e9092c81f Converting users of nsIPrefBranch to use the PreferenceManager (no bug). 2005-04-04 01:52:35 +00:00
smfr%smfr.org
0e0f1c416b Fix signature of -isOpaque 2005-04-04 01:43:02 +00:00
smfr%smfr.org
6562c84def 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. 2005-04-02 17:37:15 +00:00
smfr%smfr.org
576ecd0feb Improve sorting of history categories and items, taking care to sort categories sensibly given the current sort order.
Also save the expanded state of the history view in user defaults, to preserve it across launches.
No bug.
2005-04-01 18:12:16 +00:00
joshmoz%gmail.com
5a7ec0baa2 remove some debug code I accidentally checked in, add a reminder comment 2005-03-31 20:37:32 +00:00
joshmoz%gmail.com
7eada907b5 don't crash in autocomplete code when a search is requested without a valid session. b=288124 r=smfr 2005-03-31 08:33:59 +00:00
smfr%smfr.org
6fd302c450 Make CHBrowserView opaque so that view updates don't propagate to its parent views, which should reduce the amount of view redrawing that takes place. Currently, ChildViews are not opaque (because opacity causes issues with NSQuickDrawViews, see bug 166932). 2005-03-30 06:32:18 +00:00
smfr%smfr.org
3cc8249940 Remove history logging code now that 280342 is fixed. 2005-03-29 04:27:41 +00:00
smfr%smfr.org
201ba8cd2f 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. 2005-03-26 04:05:46 +00:00
smfr%smfr.org
54f7f1bb87 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.
2005-03-25 18:23:31 +00:00
smfr%smfr.org
e19d8edaaa New category on NSResponder to find the responder for a given action, and find an item of a particular class in the responder chain.
Add method on NSMenu category to enable or disable all items (potentially recursing into submenus).
2005-03-25 06:36:29 +00:00
smfr%smfr.org
ba38c193f2 Fix bug 153836, patch by wevah. Map escape to Stop and allow unmodified '+' to enlarge the text size. r=me. 2005-03-25 01:13:59 +00:00
joshmoz%gmail.com
9f80fb0090 remove unnecessary override method from tab code. no bug. r=geoff sr=sfraser 2005-03-25 00:04:21 +00:00
smfr%smfr.org
c8cf2e47b4 Check in patch from bug 287083 (patch by <torben@despammed.com>). 2005-03-24 04:04:58 +00:00
joshmoz%gmail.com
833cfa1550 disable reload and some other menus when the bookmark manager is open. b=284831 sr=smfr 2005-03-23 22:56:01 +00:00
smfr%smfr.org
188f624249 Fix bug 286873 (patch by Wevah), r=josh, sr=pinkerton. 2005-03-23 21:44:34 +00:00
smfr%smfr.org
57320b57b0 Fix spelling error in comment. 2005-03-21 16:18:46 +00:00
smfr%smfr.org
5153cd8596 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. 2005-03-21 02:54:56 +00:00
smfr%smfr.org
68c673e895 Fix bug 285648: url from subframe load could show in Camino's url bar. Fix by ignoring OnLocationChange for windows other than the content window. 2005-03-21 02:37:29 +00:00
smfr%smfr.org
7759071e53 Fix bug 286157: the Description column was calling -description, rather than -itemDescription. 2005-03-15 06:35:40 +00:00
cbiesinger%web.de
850f3954ab Bug 285517 show better message in helper app dialog when the type was sniffed from text/plain
r=bz sr=darin
2005-03-13 17:03:44 +00:00