Commit Graph

416 Commits

Author SHA1 Message Date
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