Commit Graph

470 Commits

Author SHA1 Message Date
sfraser%netscape.com
968f0a7c85 Fixing alignment of proxy icon so that site icons don't clip the text border. 2002-08-15 19:01:51 +00:00
sfraser%netscape.com
1f7c9b6421 Fix build warning by adding an include. 2002-08-15 18:58:41 +00:00
pinkerton%netscape.com
24e42c97ed updated icons from ugo 2002-08-15 18:55:54 +00:00
pinkerton%netscape.com
fca39d7f23 Untitled -> untitled per aqua guidelines 2002-08-15 18:21:13 +00:00
sfraser%netscape.com
3e9dcd40e5 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.
2002-08-15 18:08:12 +00:00
sfraser%netscape.com
c6fde33f13 Project changes for bug 160725: add RemoteDataProvider.mm/h, SiteIconProvider.mm/h, and include paths into dist/include/nkcache. 2002-08-15 18:04:24 +00:00
sfraser%netscape.com
c6b62b7efa Nib changes for bug 160725: hook up mProxyIcon on the BrowserWindowController. 2002-08-15 18:03:38 +00:00
pinkerton%netscape.com
ef17840fcd Register for undo/redo notifications so we can hide the suggestions
list. Fixes the urlbar font size. (bug 159606)
2002-08-14 22:11:02 +00:00
pinkerton%netscape.com
219073bec5 Stop the throbber from animating when it's been removed from the toolbar
(bug 155869)
2002-08-14 21:46:01 +00:00
pinkerton%netscape.com
0b69c36802 Fix padding issues and a memory leak (bug 162205) 2002-08-14 19:37:40 +00:00
pinkerton%netscape.com
b949efccbd remove hack for unsupported protocols now that necko correctly
dispatches them for us (bug 145807)
2002-08-14 19:10:26 +00:00
pinkerton%netscape.com
77c7cd9bd1 a double-click to dismiss a menu on a folder would cause us to popup
the menu again. check for that case (bug 162367)
2002-08-14 14:20:09 +00:00
pinkerton%netscape.com
652e63fada 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).
2002-08-13 16:23:42 +00:00
pinkerton%netscape.com
9edd0cca56 make all new tabs appear on the right. comes from usability tests (bug 154468) 2002-08-12 19:06:37 +00:00
pinkerton%netscape.com
2a1aeeb20f use a new window subclass that lies about it being the key window so the
scrollbar of the autocomplete popup is always enabled. also fixes a
memory leak where we'd leak the autocomplete popup in every window (bug 157637)
2002-08-09 15:33:29 +00:00
sfraser%netscape.com
640e8b9c49 Fix warnings; some CHTooltip left. 2002-08-09 00:39:10 +00:00
pinkerton%netscape.com
5d4cc7c30c use a constant 2002-08-08 19:40:40 +00:00
pinkerton%netscape.com
55477057ee Adding tooltip support for TITLE in html (bug 149635) 2002-08-08 19:36:13 +00:00
pinkerton%netscape.com
5e11837346 When quitting, the d/l progress window and controller are shut down
before the d/l listener. add some code to separate the two and a
kung-fu death grip around the timer code to clean up this case (bug 161218)
2002-08-07 21:32:02 +00:00
sfraser%netscape.com
6a80f9e551 Fix for bug 152975. Add a Show/Hide Sidebar menu item with key shortcut Command-/. Patch from Prachi Guariar. 2002-08-06 20:42:25 +00:00
sfraser%netscape.com
5b35359398 Patch from Max Horn to optimize 'stringByTruncatingTo'. 2002-08-06 20:04:07 +00:00
pinkerton%netscape.com
93d6fa9aad Fix problem where hiding the status bar in a popup would cause the content
area to extend below the window and scrolling would be messed up and the
horizontal scrollbar would be hidden. (bug 153116).
2002-08-06 19:20:28 +00:00
pinkerton%netscape.com
ce4d7712a3 Always use setTitle to set the window title (bug 152626) 2002-08-06 15:00:30 +00:00
pinkerton%netscape.com
28ed28c83e adding max horn 2002-08-06 02:32:34 +00:00
pinkerton%netscape.com
efdc8c89f6 Add tooltips to bookmark outliner. allow context-click to set the
selection, not rely on what's already selected (bug 150186)
2002-08-06 02:25:46 +00:00
sfraser%netscape.com
39fd231516 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. 2002-08-06 01:53:37 +00:00
pinkerton%netscape.com
3ab9812ebf Somehow we lost the connections on the ok/cancel buttons in the password
dialog. hook those up and finiah changing all setEnabled's to setTransparent's
(bug 160758)
2002-08-06 01:10:29 +00:00
pinkerton%netscape.com
73014b6bdc Turn off fade-in of splashscreen 2002-08-06 00:51:47 +00:00
pinkerton%netscape.com
a5b61ee54c remove an unused outlet (location toolbar item)) 2002-08-06 00:42:49 +00:00
pinkerton%netscape.com
ad8afd923a make dealloc call super class' 2002-08-06 00:17:31 +00:00
pinkerton%netscape.com
3f2b280aed Fix customize dialog with location bar NSTextView. Adds support for NSCoder
to support it and fixes some odd bugs we think might be in the OS. (bug 159781)
2002-08-06 00:13:04 +00:00
pinkerton%netscape.com
db61e2f300 Call super dealloc all the time and make sure we only do it at the end of
dealloc (bug 160790)
2002-08-05 22:50:33 +00:00
sfraser%netscape.com
55bdd23be2 Fix for bug 160312: avoid crashes when dragging bookmark folders from the sidebar onto themselves in the bookmarks toolbar. 2002-08-03 02:18:33 +00:00
sfraser%netscape.com
6890a432e8 Fix bug 160799: we don't need to have anything selected in the bookmarks before we drag. 2002-08-03 01:09:00 +00:00
bryner%netscape.com
2b67bc0a6c Ensure that we don't try to set initial focus on Gecko too early -- wait for the page to load. Also fixed a few build warnings. Bug 151039, r=sfraser. 2002-08-02 23:45:24 +00:00
sfraser%netscape.com
a9dbc78af5 Fix bug 160168; option-click to save link broken. We were throwing an exception when calling fileSystemRepresentation on an empty string. Also change a bunch of places in the code to assume UTF-8, not ASCII, for url strings. 2002-08-02 23:40:29 +00:00
sfraser%netscape.com
62a037a4ce Don't rebuild the entire history data source (and leak it) every time the sidebar is opened, which makes sidebar opening animate more smoothly. Also put in some #ifdefs to it's easier to play with the browser window positioning code on sidebar open. 2002-08-02 23:12:00 +00:00
sfraser%netscape.com
8c9a99193f Fix potential crash by calling [super dealloc] _after_ cleaning ourselves up. Found with MallocDebug. 2002-08-02 22:25:47 +00:00
sfraser%netscape.com
dd5f5f9830 Fix for bug 155920: added string truncation utility on our NSString category, and used it to truncat strings that are put into menu items in the UI and window titles. 2002-08-02 21:08:24 +00:00
pinkerton%netscape.com
de49539d8d fix bustage 2002-08-01 18:09:53 +00:00
pinkerton%netscape.com
3f53046bea Keep XPCOM from being shut down while this window is open (bug 160241) 2002-08-01 18:00:50 +00:00
pinkerton%netscape.com
9796b09a1c update tooltip code, but leave it off (bug 149653). i hate cocoa. 2002-08-01 18:00:02 +00:00
pinkerton%netscape.com
893dacac39 A little more hackery on the tooltip code (still commented out). Tips are
now correctly positioned, but they still block mousemove.
2002-08-01 17:25:48 +00:00
sfraser%netscape.com
b1f6fec604 Fixing various drag and drop bugs: 160215 -- dragging link into bookmarks sidebar panel, and into the personal toolbar now works.
Bug 157520 -- dragging a bookmark into a tab no longer leaves things in a bad state. Bug 154906 -- dragging links onto tabs works now.
Changes include adding the bookmarks outline, and the boomarks toolbar as recipients of NSStringPboardType data, and replacing calls to [NSPasteboard propertyListForType], which tries to parse a url string into a property list, with [NSPasteboard stringForType].
2002-07-31 02:39:11 +00:00
sfraser%netscape.com
1413a497ff Fixing key shortcuts for Previous/Next tab, and reordering those menu items so that Previous comes before Next. 2002-07-30 21:06:49 +00:00
sfraser%netscape.com
79978ddf8c Keep Navigator.scriptTerminology in sync with Navigator.scriptSuite. 2002-07-30 16:53:09 +00:00
pinkerton%netscape.com
95b16271dc Sherlock uses the spyglass suite (bug 160130). 2002-07-30 16:02:38 +00:00
pinkerton%netscape.com
31dbd7e584 Ensure gecko knows the drag left the window and shuts down the drag
session (bug 160041)
2002-07-30 15:20:28 +00:00
sfraser%netscape.com
96749bf2d1 Adding a 'Search Page' item to the Go menu (bug 160056). Made it and the Home item always enabled. 2002-07-30 05:09:44 +00:00
sfraser%netscape.com
5c46c062fc Fix for bug 160037; remove the SearchPageDefault key so that we go to IC for the default search page. 2002-07-30 05:00:14 +00:00
sfraser%netscape.com
9fabd5e4e5 Ensure that category methods do the right thing when called on NSMutableStrings by using 'self'. 2002-07-29 23:22:32 +00:00
sfraser%netscape.com
cdc1bcdfa6 Fix some build warnings that showed up after my string whackage. 2002-07-29 22:35:52 +00:00
sfraser%netscape.com
22d2e7ef3c Whack string usage. Converted category on NSString to use references, added PRUnichar* method, and changed all uses to use these new methods. 2002-07-29 21:40:53 +00:00
sfraser%netscape.com
ec389d9ad1 Fix to use new category on NSString for going to and from nsAStrings 2002-07-29 19:52:09 +00:00
sfraser%netscape.com
c859c39244 Add category methods on NSString to assist with going back and forth between nsAStrings and NSStrings. 2002-07-29 19:47:00 +00:00
pinkerton%netscape.com
94fef24808 Don't show about:blank to users. 2002-07-29 19:19:43 +00:00
pinkerton%netscape.com
9e9d67678b Set the next key view when showing/hiding text fields (bug 159275) 2002-07-29 18:53:43 +00:00
pinkerton%netscape.com
14e18a04ad Remember the window title even if we don't have a window controller. (bug 157283) 2002-07-29 18:16:07 +00:00
pinkerton%netscape.com
d458aca990 Fix cases where the bookmarks info window would remember the last selection,
even after it had been deleted. Also changes focus when losing key status so
the field editor gets properly released. We seem to have lost the outlets
in the bm sidebar for the info and edit buttons, re-add and re-attach them
and ensure that they are disabled when there is no selection (bug 159655).
2002-07-29 15:13:49 +00:00
bryner%netscape.com
433b0e504b correcting comment spelling so mcafee can test tinderbox updating. 2002-07-27 07:16:35 +00:00
sfraser%netscape.com
217b99dddb Fixing bug 156893: strip control characters out of strings which are to become bookmark titles, to avoid saving corrupt XML. 2002-07-27 01:24:42 +00:00
sfraser%netscape.com
a4fc30822e Added NSString+Utils.mm/.h 2002-07-27 01:22:32 +00:00
sfraser%netscape.com
4c8e9b145e New files adding a category on NSString with some useful cleanup functions. 2002-07-27 01:21:59 +00:00
sfraser%netscape.com
b3de7ad81f Cleanup some NSLogs and comments from last checkin. 2002-07-26 23:37:11 +00:00
sfraser%netscape.com
15f49491af Fix bug 159461: make the progress window remember its position, and (bug 159460) have it appear in the Windows menu, with a useful name. 2002-07-26 23:37:10 +00:00
sfraser%netscape.com
3474459036 Fix assumptions all over the code about the main window being a browser window; it can be a progress window, or the About window (and others in future). Ensure that the menu items that are enabled when a non-browser window is frontmost work as expected (e.g. Mange Bookmarks, opening a bookmark). 2002-07-26 23:29:49 +00:00
sfraser%netscape.com
2054cd33be Minor tidyup of saveFrameUsingName/setFrameUsingName. 2002-07-26 23:26:30 +00:00
pinkerton%netscape.com
f1e552a3ff Separating the personal toolbar from the sidebar selection. Bookmarks info
controller is now a singleton that lives forever. Personal toolbar context
menus do the right thing. (bug 148932).
2002-07-26 20:28:45 +00:00
pinkerton%netscape.com
dd96debaf5 Fixes crash when selecting text during URL load, adds undo/redo to url bar,
reduces the number of times we load about:blank to 1 per window, fixes
unicode characters in bookmarks. (bug 149198, 153263, 155710)
2002-07-26 18:50:01 +00:00
pinkerton%netscape.com
04b69c904a Removing file, changed to .mm 2002-07-25 21:58:32 +00:00
pinkerton%netscape.com
6a1cd0fd88 Move the pref controller to be a .mm file 2002-07-25 21:57:53 +00:00
pinkerton%netscape.com
3711fd870a Changing to be a .mm file so we can use c++ for writing out prefs 2002-07-25 21:56:33 +00:00
bryner%netscape.com
8285e099f1 Factor the nsIPromptService implementation out of CocoaBrowserService, and move it to using a generic factory. Clean up some #includes. Change AppComponents.cpp to a .mm file since it needs to include some cocoa headers. r=pinkerton. 2002-07-25 21:28:23 +00:00
bryner%netscape.com
6fd5dc94f3 Change ShortVersion to be just the version number, not including the product name. 2002-07-25 19:05:56 +00:00
sfraser%netscape.com
644ce7913f Changing the 'Wrap' checkbox keyboard shortcut from Command-W to Command-R, to avoid conflict with Command-W closing the window. 2002-07-25 05:59:33 +00:00
sfraser%netscape.com
643d59bc2c Fix for bug 159296 -- put the build ID in the about window. Also tweaked the scrolling text timer to fire much less fequently (and scroll more each time, but still remain smooth). Added dist/include to the include paths in the project (for nsBuildID.h), and fixed some file access paths to stuff in widget/src/cocoa. 2002-07-25 05:47:16 +00:00
sfraser%netscape.com
d6e26e143a Fix for bug 158378: fix the bookmark info panel to behave correctly, support Undo, and not crash. Patch from David Hass, hacked on by me. 2002-07-25 02:07:43 +00:00
sfraser%netscape.com
b27788591d Fix for bug 154895: fix Next/Previous tab to just cycle round through all tabs if you hit the start or end. That way, they are always enabled (when tabs are visible). 2002-07-25 01:16:36 +00:00
bryner%netscape.com
cb8f54007c Factor out security dialogs from CocoaBrowserService, and provide a mechanism for using generic factories for application-provided XPCOM components (bug 158801). r=pinkerton, sfraser. 2002-07-25 00:57:27 +00:00
sfraser%netscape.com
3c7c72001f Fix bug 157950: make sure that Find Again is disabled if there is no search string stored. Also changed the Find dialog behaviour to stay up when you hit Find (as it should, since it's a panel), to default to 'wrap' and 'ignore case' being on, and added key shortcuts for the checkboxes. 2002-07-25 00:42:53 +00:00
sfraser%netscape.com
41894e801f Fix for bug 159170; when doing a Save, don't show the 'Leave open' button in the download progress window, and make sure that the window always closes at the end of the saving. r=pinkeron
Also fixed a refounting boo-boo with the downloader factor.
2002-07-25 00:00:51 +00:00
pinkerton%netscape.com
4b6757e3e9 Changed "Save Link As..." in context menus to "Download Link Target..." (bug 159201) 2002-07-24 22:00:11 +00:00
pinkerton%netscape.com
fb7ebd6592 localize d/l progress dialog and put strings in localizable.strings (bug 143093) 2002-07-24 21:48:08 +00:00
pinkerton%netscape.com
829445ae98 fix phantom checkbox and password field in prompt dialog (bug 156561) 2002-07-24 20:41:30 +00:00
pinkerton%netscape.com
1a99a307b8 Add aqua-like broken image icon 2002-07-24 17:48:48 +00:00
pinkerton%netscape.com
0de0b31244 aqua-looking broken image icon 2002-07-24 17:47:34 +00:00
bryner%netscape.com
ac9fa347e0 Fixing static build bustage from sfraser's checkin for bug 145800:
- add all new source files to static build target
 - rename nsDownloader to CHDownloader to avoid symbol name conflicts with necko.
2002-07-24 08:23:52 +00:00
sfraser%netscape.com
929b16498c Fix bug 145800 -- implement downlod progress UI in chimera. These changes allow us to reuse the nsDownloadListener and progress dialog for both Saving (with an nsIWebBrowserPersist) and downloading (where necko creates an nsIDownload, which we implement). They are also factored so that other cocoa apps could reuse the downloading backend with their own progress dialog. r=pinkerton/bryner/ccarlen. 2002-07-24 05:53:14 +00:00
pinkerton%netscape.com
a4081b480c Change bookmark sidebar panel buttons to be "momentary change" to get
rid of icky border when depressed.
2002-07-23 20:42:39 +00:00
sfraser%netscape.com
18c43300c6 Fixing bug 155334 -- zombie progress dialog left after doing a File | Save As in plain text format. We were checking the STATE_IS_NETWORK flag to decide when the download has finished, but this flag is not included for plain text saves (nsWebBrowserPersist doesn't give it to us). So we look at the start flags, and make sure the end flag matches on this bit. Also detabbed the file. 2002-07-20 03:22:36 +00:00
sfraser%netscape.com
94582bb1d3 Fix bug 155664 -- make URLs opened from the Services menu in another app behave like those opened via Apple Events etc, obeying the prefs to load in new tabs/windows, possibly in the background. 2002-07-19 21:08:25 +00:00
sfraser%netscape.com
5b31283cd5 Making the Colors and Links tab the default (bug 158152). 2002-07-19 02:26:53 +00:00
sfraser%netscape.com
f4ace98fc8 Fix for bug 155560 -- renaming bookmark does not update menu/toolbar. Also fixes crash when deleting a toolbar bookmark (bug 157229). Patch from David Hass. 2002-07-19 02:20:30 +00:00
sfraser%netscape.com
d84960153b Fix bug 154904-- fixing [BookmarkItem url] to return the url instead of the name. 2002-07-19 01:47:15 +00:00
sfraser%netscape.com
14d3a7e5dd Adding code to make stdout and stderr unbuffered, depending on the MOZ_UNBUFFERED_STDIO environment variable. This is needed for tests to run correctly. 2002-07-18 00:26:49 +00:00
sfraser%netscape.com
439e675d01 Adding the Appearance.prefPane to the static target build settings. 2002-07-17 17:37:44 +00:00
bryner%netscape.com
13138bb7e8 We don't need pippki.xpt either. 2002-07-17 08:52:43 +00:00
bryner%netscape.com
534f4d6282 Remove libpippki. This is only needed for the XUL implementation of the security dialogs. 2002-07-17 06:22:42 +00:00
bryner%netscape.com
ffb06f8e7f Implement activate and deactivate events for chimera (bug 157648). r=sfraser. 2002-07-16 22:55:36 +00:00
sfraser%netscape.com
b3b5242abc Adding files for the Appearance prefs panel, and adding this panel to the static build target. 2002-07-16 17:47:23 +00:00