1087 Commits

Author SHA1 Message Date
pinkerton%netscape.com
684c7dab18 remove special-case activation code for hidden window, let the OS do it. punts hidden window offscreen on mac so it can be visible yet of non-zero width/height for osx. bugs 70355/70388. r=danm/sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@92013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:04:28 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
pinkerton%netscape.com
dafd939478 forgot to wrap something in !TARGET_CARBON. fixes bustage.
git-svn-id: svn://10.0.0.236/trunk@91376 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:58:35 +00:00
pinkerton%netscape.com
34f7b25727 remove mdef resource, no longer needed. r=saari/sr=sfraser bug# 61039
git-svn-id: svn://10.0.0.236/trunk@91339 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 21:45:51 +00:00
pinkerton%netscape.com
0ffe24b221 new borderless wdef to bring in line with win32 windows. clean up mdef code to be in line with wdef code. r=saari/sr=sfraser bug# 61039
git-svn-id: svn://10.0.0.236/trunk@91338 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 21:45:18 +00:00
pinkerton%netscape.com
87cf0f67a6 new borderless wdef to bring in line with win32 windows. clean up mdef code to be in line with wdef code.
git-svn-id: svn://10.0.0.236/trunk@91336 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 21:42:42 +00:00
pinkerton%netscape.com
d3cd048aeb extract some code used for our fake MDEF/WDEF. r=saari/sr=sfraser. bug 61039.
git-svn-id: svn://10.0.0.236/trunk@91335 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 21:42:16 +00:00
pchen%netscape.com
7f079b897f bug 73262, r=pinkerton, sr=sfraser/jst, add ptr for xul document
git-svn-id: svn://10.0.0.236/trunk@91241 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:41:34 +00:00
pchen%netscape.com
0b287ca0c8 bug 73262, r=pinkerton, sr=sfraser/jst, set weak ref to xul document after adding nsMenuBar as observer, then use that weak ref in destructor to remove ourself as observer, problem is that webshell is getting destroyed before nsMenuBar, so nsMenuBar can't get at the xul document, thus it can't remove itself as an observer.
git-svn-id: svn://10.0.0.236/trunk@91240 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:41:30 +00:00
brade%netscape.com
31e670fc9d use internet config to get colors for text and window background; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91045 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:27:28 +00:00
pinkerton%netscape.com
ccfecb4d51 switching mac to use NS_CONTEXTMENU event, click-hold context menus, switching embedding to use NS_CONTEXTMENU event. r=saari/sr=hyatt. bug# 36665, 18726
git-svn-id: svn://10.0.0.236/trunk@90828 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 04:45:40 +00:00
pinkerton%netscape.com
7567a54abf make ownership of phantomScrollbarData more explicit to help out the GC. r=beard/sr=sfraser bug# 73774.
git-svn-id: svn://10.0.0.236/trunk@90675 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:55:34 +00:00
pinkerton%netscape.com
b2ed0ffb1f to work around a bug in OSX, check first if we're already at the location we're trying to move a popup to and if so, don't call MoveWindow. r=danm/sr=sfraser. bug#58226.
git-svn-id: svn://10.0.0.236/trunk@90624 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 04:33:08 +00:00
pinkerton%netscape.com
4c712e1bb0 make sure we have a valid content node before calling methods on it. bug 73108. r=pav,sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90172 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:56:24 +00:00
pinkerton%netscape.com
6ab481a582 missed some changes in the carbon files.
git-svn-id: svn://10.0.0.236/trunk@90077 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:09:54 +00:00
pinkerton%netscape.com
b74db57a0f look in associated command object while building for attribute changes and dispatching. rewrite to use nsIContent and atoms instead of nsIDOMNode and strings. r=saari/sr=sfraser. bug 71470
git-svn-id: svn://10.0.0.236/trunk@90073 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:53:57 +00:00
blakeross%telocity.com
f2d2a6e526 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben
git-svn-id: svn://10.0.0.236/trunk@90042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:59:29 +00:00
pinkerton%netscape.com
6349cc13d8 fix a const warning.
git-svn-id: svn://10.0.0.236/trunk@89954 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:32:22 +00:00
pinkerton%netscape.com
75a29487aa turn off translucent dragging and make outline building code a little better. make drag/drop work on OSX. r=saari/sr=sfraser. bug#67407
git-svn-id: svn://10.0.0.236/trunk@89951 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:17:44 +00:00
brade%netscape.com
04f2a5fef2 ensure we actually have a file (bug #71856); sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89918 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:34:29 +00:00
brade%netscape.com
debba03ea8 change PutOnClipboard to pass in a PRInt32 rather than a short; bug #72537; sr=sfraser, r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@89916 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:27:29 +00:00
blizzard%redhat.com
b2e5c45110 Fix bug #72313. Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
dougt%netscape.com
21f01836f0 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
nhotta%netscape.com
439ade71df Enabled TSM for Carbon, bug 70720, r=ftang,pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89163 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:10:31 +00:00
danm%netscape.com
36261977ee it's another shot at being happy on multiple-monitor machines. man tweaks and various. bug 67523 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@89056 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:17:37 +00:00
pinkerton%netscape.com
d3ea22d104 don't break out of loop early unless we actually find the flavor on the clipboard when checking if flavor is present. r=brade/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89001 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:13:27 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
pinkerton%netscape.com
ba32268a60 don't process mouseMove events if the app is in the bg. r=saari/sr=sfraser. bug# 70518.
git-svn-id: svn://10.0.0.236/trunk@88729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:52:43 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
pinkerton%netscape.com
13f476bd27 fix for menus being unresponsive in classic build when no windows are available. commented out a bit added for fizzilla where the two platforms are at odds. sr=sfraser. bug# 68766
git-svn-id: svn://10.0.0.236/trunk@88126 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:35:46 +00:00
disttsc%bart.nl
f9b30197da Move "About Mozilla" from properties to dtd, fix up xul, js and mac menu c++ code. bug=70112, r=saari, a=ben
git-svn-id: svn://10.0.0.236/trunk@88076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 11:31:52 +00:00
beard%netscape.com
8fec369fc8 Fix carbon redraw non-existence. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@88011 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 21:21:54 +00:00
cltbld%netscape.com
6ccf6f3820 fix bustage TARGET_CARBON. r=sdagley
git-svn-id: svn://10.0.0.236/trunk@87775 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:11:57 +00:00
cltbld%netscape.com
ae2b05b5bc bug 65219, change nsAutoString::Recycle() to delete. r=scc
git-svn-id: svn://10.0.0.236/trunk@87774 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:10:38 +00:00
sdagley%netscape.com
3520fbb56e Fix #40101 - Remove inclusion of 68K secific header. Patch supplied by gordon@sunvalley.net, r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87632 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:22:27 +00:00
pinkerton%netscape.com
20ba9ade9f coalesce nearby rects into a single rect based on ratio of combined area in comparison to their bounding box area. r=saari/sr=sfraser. bug# 53657.
git-svn-id: svn://10.0.0.236/trunk@87236 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 22:58:56 +00:00
pinkerton%netscape.com
f3f2d2b54f actually use the mime mapping flavor when determining if a flavor is in a drag item, rather than relying on the defaults. r=saari,sr=sfraser. bug# 68828.
git-svn-id: svn://10.0.0.236/trunk@87140 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:08:39 +00:00
erik%netscape.com
3df144c1b0 better NS_IMPL_ISUPPORTS usage (to be consistent with others)
git-svn-id: svn://10.0.0.236/trunk@87059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 01:09:01 +00:00
ftang%netscape.com
f59f639c00 fix mac iid problem. r=erik
git-svn-id: svn://10.0.0.236/trunk@87050 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:11:29 +00:00
erik%netscape.com
3854878e8a bug 68739; r=kmcclusk; sr=erik; author=simon@softel.co.il (IBM bidi
project); new files for querying and setting bidi properties of the
keyboard


git-svn-id: svn://10.0.0.236/trunk@87042 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:13:07 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
pinkerton%netscape.com
7a02550a14 fix for 67406, re-instate the drag handlers for carbon, make them UPPs, make them per-window, not static. r=pchen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86860 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:39:50 +00:00
pinkerton%netscape.com
385f6f9294 fix 'about mozilla' item in apple menu. make sure we call HandleDOMEvent on the correct dom node ;) r=pchen/a=sfraser. bug 43935
git-svn-id: svn://10.0.0.236/trunk@86842 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:50:14 +00:00
pinkerton%netscape.com
5f0af57773 per the current universal headers, ::DrawGrowIcon() has been depricated since MacOS 8.0 (the wdef does it). removing the two places we call it. r=danm/sr=scc.
git-svn-id: svn://10.0.0.236/trunk@86505 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:51:21 +00:00
pinkerton%netscape.com
6ccbd64690 fix for 66823. we weren't correctly setting the port before calling LocalToGlobal, which would cause ::MoveWindow() to be skipped in some situations (2nd browser window). r=danm/sr=ben.
git-svn-id: svn://10.0.0.236/trunk@85661 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 02:12:58 +00:00
dbaron%fas.harvard.edu
4e968a6d22 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85640 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 17:50:41 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
pinkerton%netscape.com
211e3f47fd use new interfaces in nsIImageMac to convert image->PICT and put on clipboard for image copy. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85521 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:40:32 +00:00
pinkerton%netscape.com
ec054af628 prepare for image copying r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85333 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:48:53 +00:00
pinkerton%netscape.com
14c6ef323e refactoring some code, and preparing for image copying. r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:43:09 +00:00