Граф коммитов

478 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com a80768613a Pull in universal charset decoder in dylib build. update include paths for
navigation pref panel for cache. (bug 162851)
2002-08-15 21:51:55 +00:00
sfraser%netscape.com a506ef7e18 Fix some site icons not displaying properly. 2002-08-15 21:13:27 +00:00
pinkerton%netscape.com 08686b0c43 fix problem where we were ignoring the return value reading home page pref 2002-08-15 20:52:13 +00:00
pinkerton%netscape.com 24ab1e26ff Remove a hack used to workaround having gecko views in the sidebar. fixes
cmdkeys working when opening the sidebar (bug 152612)
2002-08-15 20:32:06 +00:00
sfraser%netscape.com 38ed722467 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. 2002-08-15 19:39:14 +00:00
pinkerton%netscape.com 02c62b89e1 Remove pause/resume button from d/l progress dialog and ui strings (bug 157826) 2002-08-15 19:15:24 +00:00
pinkerton%netscape.com 3065f52caa updated icon from ugo 2002-08-15 19:05:52 +00:00
sfraser%netscape.com 8664c2b72c 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 637cc27766 Fix build warning by adding an include. 2002-08-15 18:58:41 +00:00
pinkerton%netscape.com 4137cd86f3 updated icons from ugo 2002-08-15 18:55:54 +00:00
pinkerton%netscape.com 691171dbdd Untitled -> untitled per aqua guidelines 2002-08-15 18:21:13 +00:00
sfraser%netscape.com 43b1fd2379 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 879dbad54a 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 2b8a7eabcb Nib changes for bug 160725: hook up mProxyIcon on the BrowserWindowController. 2002-08-15 18:03:38 +00:00
pinkerton%netscape.com 640d1ca539 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 536a42646f 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 e37cd5e245 Fix padding issues and a memory leak (bug 162205) 2002-08-14 19:37:40 +00:00
pinkerton%netscape.com 137261f190 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 5ab61284c6 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 364efe8141 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 64fa90e043 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 74f9930289 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 b0dfca74aa Fix warnings; some CHTooltip left. 2002-08-09 00:39:10 +00:00
pinkerton%netscape.com 16620e0f06 use a constant 2002-08-08 19:40:40 +00:00
pinkerton%netscape.com df260ca839 Adding tooltip support for TITLE in html (bug 149635) 2002-08-08 19:36:13 +00:00
pinkerton%netscape.com dadd886a85 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 dee8dd79ef 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 bba7bb2bd7 Patch from Max Horn to optimize 'stringByTruncatingTo'. 2002-08-06 20:04:07 +00:00
pinkerton%netscape.com 5ba24c811f 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 0a404136f8 Always use setTitle to set the window title (bug 152626) 2002-08-06 15:00:30 +00:00
pinkerton%netscape.com 6113656ea6 adding max horn 2002-08-06 02:32:34 +00:00
pinkerton%netscape.com e680bd72a2 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 e3791121af 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 e81eb50a28 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 3c7f281420 Turn off fade-in of splashscreen 2002-08-06 00:51:47 +00:00
pinkerton%netscape.com f68298b099 remove an unused outlet (location toolbar item)) 2002-08-06 00:42:49 +00:00
pinkerton%netscape.com 33773380f2 ignore some stuff 2002-08-06 00:27:19 +00:00
pinkerton%netscape.com f8095b6801 make dealloc call super class' 2002-08-06 00:17:31 +00:00
pinkerton%netscape.com 0a3c48e1b9 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 d707ebb163 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 92d3202cb3 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 abd1b91830 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 1a685e5562 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 b5d820d2c9 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 91634c3b1f 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 5df846cc5a 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 f8304d9717 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 6736f2619e fix bustage 2002-08-01 18:09:53 +00:00
pinkerton%netscape.com 7dd70040ee Keep XPCOM from being shut down while this window is open (bug 160241) 2002-08-01 18:00:50 +00:00
pinkerton%netscape.com 43a24b5038 update tooltip code, but leave it off (bug 149653). i hate cocoa. 2002-08-01 18:00:02 +00:00
pinkerton%netscape.com 1e0d73c152 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 10c0a84d64 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 73dad95ce0 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 c640562437 Keep Navigator.scriptTerminology in sync with Navigator.scriptSuite. 2002-07-30 16:53:09 +00:00
pinkerton%netscape.com 0949187dc6 Sherlock uses the spyglass suite (bug 160130). 2002-07-30 16:02:38 +00:00
pinkerton%netscape.com 54c3ef5a62 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 28b2fd6d95 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 a4d6db1b95 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 e8fe3482d1 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 9d92b27bdc Fix some build warnings that showed up after my string whackage. 2002-07-29 22:35:52 +00:00
sfraser%netscape.com 685fce57b2 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 b7ffac66f0 Fix to use new category on NSString for going to and from nsAStrings 2002-07-29 19:52:09 +00:00
sfraser%netscape.com 9c7daf5e57 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 128246c814 Don't show about:blank to users. 2002-07-29 19:19:43 +00:00
pinkerton%netscape.com a023eac2c8 Set the next key view when showing/hiding text fields (bug 159275) 2002-07-29 18:53:43 +00:00
pinkerton%netscape.com d57ab9b904 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 1f5bb58831 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 02efe44163 correcting comment spelling so mcafee can test tinderbox updating. 2002-07-27 07:16:35 +00:00
sfraser%netscape.com f9196b4175 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 1731d6c88b Added NSString+Utils.mm/.h 2002-07-27 01:22:32 +00:00
sfraser%netscape.com 5a28ea6cc6 New files adding a category on NSString with some useful cleanup functions. 2002-07-27 01:21:59 +00:00
sfraser%netscape.com f0ceb47b89 Cleanup some NSLogs and comments from last checkin. 2002-07-26 23:37:11 +00:00
sfraser%netscape.com b244a25789 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 42ada52952 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 89ea7e2965 Minor tidyup of saveFrameUsingName/setFrameUsingName. 2002-07-26 23:26:30 +00:00
pinkerton%netscape.com d3d1c4cef4 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 3e601834c0 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 4c909e8480 Removing file, changed to .mm 2002-07-25 21:58:32 +00:00
pinkerton%netscape.com 2fc9fe54fe Move the pref controller to be a .mm file 2002-07-25 21:57:53 +00:00
pinkerton%netscape.com 67b89023ce 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 0d7e39c675 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 38b27b0e31 Change ShortVersion to be just the version number, not including the product name. 2002-07-25 19:05:56 +00:00
sfraser%netscape.com dd3f6d57bd 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 e578686e0a 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 a86b22b9ed 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 0ee96c6a38 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 4328d6c73d 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 fe26729757 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 a3f93d4371 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 5458ab3cd6 Changed "Save Link As..." in context menus to "Download Link Target..." (bug 159201) 2002-07-24 22:00:11 +00:00
pinkerton%netscape.com a022433519 localize d/l progress dialog and put strings in localizable.strings (bug 143093) 2002-07-24 21:48:08 +00:00
pinkerton%netscape.com df3417f20a fix phantom checkbox and password field in prompt dialog (bug 156561) 2002-07-24 20:41:30 +00:00
pinkerton%netscape.com c26faf2d1d Add aqua-like broken image icon 2002-07-24 17:48:48 +00:00
pinkerton%netscape.com 9ea5a2d5b3 aqua-looking broken image icon 2002-07-24 17:47:34 +00:00
bryner%netscape.com ad297ed42e 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 eaff371e3b 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 047cac1b22 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 e7616a4de5 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 741ad74e04 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 bd22004b31 Making the Colors and Links tab the default (bug 158152). 2002-07-19 02:26:53 +00:00