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

325 Коммитов

Автор SHA1 Сообщение Дата
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 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 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
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 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 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 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
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 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
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
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 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
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 8236111517 Adding the Appearance prefs panel to the list of panels, fixing the prefs panel base class to use UTF-8 for prefs, and adding a changeFont handler on the window's controller that can forward changeFont() messages back to the current prefs pane (used by the Appearance pane). 2002-07-16 17:45:48 +00:00
bryner%netscape.com 2e0bb3cf96 Remove non-functional help menu item, add an Info menu item that goes to the download page. 2002-07-12 04:53:12 +00:00
pinkerton%netscape.com bc15179347 Teach url dispatch about the referrer field so opening links in a new
tab/window works correctly in all cases (bug 156732)
2002-07-10 21:53:29 +00:00
pinkerton%netscape.com 0f38e1d6a7 When the sidebar button is removed from the toolbar, nil out our ref so
we don't later crash trying to access it (bug 156485)
2002-07-10 14:38:54 +00:00
bryner%netscape.com 30adb7d35d Add Asian Unicode converters to the static build. 2002-07-08 20:03:17 +00:00
pinkerton%netscape.com 6a0e78131b Use CFBundleName string key wherever we refer to the app name in strings. 2002-07-08 19:20:33 +00:00
pinkerton%netscape.com 7231f8b7b5 Fix "can't launch 2 copies" strings so the branding can be swapped out 2002-07-08 18:56:57 +00:00
pinkerton%netscape.com 6c88873741 Patch so auto-downloads at least start and complete, though there
is currently no visible progress. (bug 150984)
2002-07-08 18:25:17 +00:00
sfraser%netscape.com b49a1a66a6 Fixing bugs 154906 and 149670, and lots of other drag and drop bugs. Drags from the proxy icon are now droppable in the Finder, in the content area, and on tabs, and do the right thing. Single bookmarks are also draggable to the Finder. Page links can also now be dragged onto tabs. 2002-07-06 06:44:14 +00:00
sfraser%netscape.com 0f348e6b25 Fix for bug 154735; removing unused method, patch from David Haas. 2002-07-06 00:24:11 +00:00
sfraser%netscape.com becd776e28 Fix for bug 155617: make sure we show the location dialog if the user removed the location field from their toolbar. Patch from David Haas. 2002-07-06 00:00:50 +00:00
sfraser%netscape.com 27c5a43c45 We have to manually update items on the Bookmarks menu and its submenus, because we turn auto-enabling of items off for this menu (presumably, for performance with lots of bookmarks). 2002-07-05 23:50:08 +00:00
sfraser%netscape.com ba0c6d5341 We have to manually update items on the Bookmarks menu and its submenus, because we turn auto-enabling of items off for this menu (persumably, for performance with lots of bookmarks). 2002-07-05 23:48:36 +00:00
sfraser%netscape.com c204e152f3 Just cleaning up some cruft left over from my import bookmarks changes (unused #define, comment) 2002-07-05 23:47:33 +00:00
sfraser%netscape.com bd7b605a06 Fix bug 148841: make sure the url autocomplete widget doesn't cover menus by putting it in the floating window layer, rather than the popup layer. 2002-07-05 01:54:18 +00:00
sfraser%netscape.com 5aad030ea4 Changing printfs to NSLog, and #ifdeffing many of them to be DEBUG only. bug 147615. 2002-07-05 01:32:00 +00:00
sfraser%netscape.com a8072eaf9e Fixing bug 152622: moving Close Window and Close Tab to the File menu, and making Command-W close tabs then windows, as appropriate. Also giving MainController members more concrete types, rather than 'id'. 2002-07-05 01:10:13 +00:00
sfraser%netscape.com bffd49b90f Fixing bug 152622: moving Close Window and Close Tab to the File menu, and making Command-W close tabs, then windows, as appropriate. 2002-07-05 01:08:42 +00:00
bryner%netscape.com 2b75871880 Add a feedback link to the help menu. r=smfr. 2002-07-04 00:51:44 +00:00
pinkerton%netscape.com 6be192d273 Make autocomplete behave like mozilla in that it won't fill in the textfield
unless you select something from the list and tab tabs into the list. This
is preffed in the defaults system so you can go back to the old way.
2002-07-03 20:04:30 +00:00
pinkerton%netscape.com 6d6001ac89 Return correct values from Confirm[Check]Ex (int, not bool) and fix up
the buttons for the unknown cert in accordance with new constants for the
buttons (bug 155287)
2002-07-03 14:42:18 +00:00
sfraser%netscape.com afb901e71b Changing the home page behaviour. Now, if no user pref is set, we get the default home page from a .strings file, and set this in the user pref. Also using values from CHUserDefaults.h 2002-07-03 06:22:15 +00:00
sfraser%netscape.com f94048cccf Using values from CHUserDefaults.h 2002-07-03 06:20:42 +00:00
sfraser%netscape.com e821b187dd New file containing #defines for various NSUserDefaults entries. Documents which entries we use, and their formats. 2002-07-03 06:19:39 +00:00
sfraser%netscape.com af1a4e0b75 Put profile directories in ~/Library/Application Support now 2002-07-03 00:46:59 +00:00
sfraser%netscape.com a01c6063b7 Use the 'mozProfileDirName' key from the Info.plist to decide the name of the profile directory. 2002-07-03 00:46:07 +00:00
sfraser%netscape.com 6eb9e15116 Localizing the 'OK' button in bookmarks import warning dialogs, and detabbing. 2002-07-03 00:41:05 +00:00
sfraser%netscape.com 8739da1dee Check in an interim fix for bug 154442: warn before deleting bookmarks. 2002-07-03 00:38:37 +00:00
pinkerton%netscape.com cbebcfcea3 Fix updating of stop menu item and a crash when a popup with the personal
toolbar hidden was the frontmost and the menubar was clicked. Fixed some
warnings as well (bug 155461)
2002-07-02 22:48:04 +00:00
bryner%netscape.com ff3df6116b Bug 152482 - fix handling of script popup windows by not loading about:blank or the user homepage when they are opened, since we'll race with gecko's document loading. Also, localized the "Loading" and "Untitled" strings. r=pinkerton, sr=sfraser. 2002-07-02 21:45:09 +00:00
pinkerton%netscape.com 4364bb25f9 Wait for the all-stop from Necko before closing down the controller on
a cancelled download. Prevents a crash where we'd continue to get left-over
progress events after the controller had gone away (bug 154913)
2002-07-02 20:24:29 +00:00
pinkerton%netscape.com b3860439fd Use string table for website defaults rather than moz prefs 2002-07-02 18:08:12 +00:00
pinkerton%netscape.com c4f1a8dec4 Use a string table for throbber, search, and home pages rather than
hardcoding them into the app
2002-07-02 17:31:32 +00:00
pinkerton%netscape.com e03edb10ed use a plist for toolbar defaults instead of hardcoding. make throbber do
something when clicked than just spin.
2002-07-02 16:13:38 +00:00
bryner%netscape.com a86faa5356 Don't choke if the directory name has spaces in it. 2002-07-02 06:32:37 +00:00
sfraser%netscape.com eed7024b67 Checking in patch from David Haas in bug 155048, with modifications to improve the 'is there a browser window' logic. This also fixes bug 152026 (2 windows when launched with a GetURL AE), and my changes fix bugs 155309 (dragging multiple files onto the icon works now) and 155147 ("browser.always_reuse_window" always works for GetURL events now). 2002-07-02 06:08:51 +00:00
sfraser%netscape.com b84a6e9902 Fixing signage of the chromeMask flag, and putting an unused function inside the QUICKTIME_THROBBER #ifdef 2002-07-02 05:58:38 +00:00
pinkerton%netscape.com 6daecf9f2a updated corporate branded toolbar defaults 2002-07-01 21:56:08 +00:00
pinkerton%netscape.com 8f96000cf9 fix a warning 2002-07-01 20:08:59 +00:00
bryner%netscape.com 6e19380b4f Hook up "Bookmark this link" context menu item (bug 154856). r=pinkerton. 2002-07-01 19:10:14 +00:00
bryner%netscape.com 2a46d6537d Add command-line URL handling via the switch -url (bug 148887). r=pinkerton. 2002-07-01 19:07:16 +00:00