Commit Graph

388 Commits

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