1270 Commits

Author SHA1 Message Date
rjc%netscape.com
8934664f7b Fix bug # 125158: force focus on Mac OS X sheets. code from saari, r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:42:24 +00:00
danm%netscape.com
fb1b4319a0 window scrollbar chrome attribute is no longer cached locally. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114617 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:16:00 +00:00
danm%netscape.com
09bc815c72 reimplement window scrollbar chrome attribute. bug 111524 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@114615 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:15:52 +00:00
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +00:00
danm%netscape.com
137e3b76bc reorder parent activation on destroy to fix stacked dialog focus regression. bug 122765 r=bryner,hyatt
git-svn-id: svn://10.0.0.236/trunk@114336 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:55:54 +00:00
rjc%netscape.com
88dc687deb Fix bug # 12459: nsWindowMediator optimizations (put it on a diet). r=tingley, verbal sr=ben
git-svn-id: svn://10.0.0.236/trunk@114322 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:48:44 +00:00
timeless%mac.com
67f8bc3ace Bug 124698 don't CallQueryInterface(mDocShell = 0, &mWebShell)
r=bzbarsky,adamlock sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114240 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:45:22 +00:00
endico%mozilla.org
e6ccf8ec15 re-applying danm's changes after finding out they weren't cause for startup time regression. bug 124570. (patches originally from bugs 107937 and 77020)
git-svn-id: svn://10.0.0.236/trunk@114162 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 07:12:16 +00:00
endico%mozilla.org
7d044e2718 backing out danm's feb8 14:34 checkin to track down Ts regression. bug 124570
git-svn-id: svn://10.0.0.236/trunk@114156 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 01:29:46 +00:00
blakeross%telocity.com
7466c7e2ec Backing out to see if performance regression is fixed. a=endico
git-svn-id: svn://10.0.0.236/trunk@114154 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 00:00:06 +00:00
dp%netscape.com
fb32d75884 bug 123728 & bug 123729 heap compaction and resident size trimming
sr=brendan@mozilla.org, r=blythe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114141 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 07:01:11 +00:00
danm%netscape.com
a9d7b04b1e generally give windows a 'minimize' widget. bug 77020 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114096 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:10:05 +00:00
danm%netscape.com
6d9d31210f persist sizemode more often, and particularly after a size change. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:34:15 +00:00
locka%iol.ie
a12f04ff44 Fix Linux crash on nsnull pointer as part of blocker 123572 r=danm a=radha sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@113723 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:26:51 +00:00
locka%iol.ie
8e370dc046 Remove GetContentShellById from nsIWebShellWindow & impl as it's already defined in nsIXULWindow. b=122861 r=timeless@mac.com sr=jag@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113699 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 12:41:47 +00:00
timeless%mac.com
030e9d615b Bug 122809ÿMismatched allocator/deallocator ToNewCString & delete[]
r=bzbarsky@mit.edu sr=jag


git-svn-id: svn://10.0.0.236/trunk@113602 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 14:37:01 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
danm%netscape.com
1bc8d80e04 deactivate root focus controller as well as your own while deactivating yourself. bug 122462 / bugscape 11864 code=saari,myself r=bryner,hyatt
git-svn-id: svn://10.0.0.236/trunk@113151 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:42:07 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
mscott%netscape.com
2711b450ef Fix smoketest blocker: 122228 by adding a null ptr check in GetHiddenDOMWindow
git-svn-id: svn://10.0.0.236/trunk@113046 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 18:52:24 +00:00
hyatt%netscape.com
46b8706d18 Fix cocoa bustage in makefile.in, r=cls, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@112791 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:53:38 +00:00
danm%netscape.com
9037da04af in Destroy(), call appshellservice->Unregister a little earlier. bug 119549 r=ben,hyatt,law
git-svn-id: svn://10.0.0.236/trunk@112767 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:39:00 +00:00
danm%netscape.com
a9a981e9b3 center on parent window falls back to centering on the screen if the parent window is being torn down. (crash) bug 120430 r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@112747 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:30:39 +00:00
pinkerton%netscape.com
435ba291f1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496
git-svn-id: svn://10.0.0.236/trunk@112696 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 15:11:18 +00:00
darin%netscape.com
7e7e2926f3 fixes mach-o bustage r=rjc,cls
git-svn-id: svn://10.0.0.236/trunk@112679 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:24:01 +00:00
danm%netscape.com
e63bd2182b removing unused ShowModally method. code=mbosch@lorentz.leidenuniv.nl r=me
git-svn-id: svn://10.0.0.236/trunk@112646 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 03:54:49 +00:00
rjc%netscape.com
7ac4a84b92 Fix build bustage. (Missing #ifdef)
git-svn-id: svn://10.0.0.236/trunk@112625 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:08:30 +00:00
rjc%netscape.com
b821e260fb Fix bug # 83643: Mac OS X sheets. r=pinkerton sr=ben
git-svn-id: svn://10.0.0.236/trunk@112602 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:17:48 +00:00
law%netscape.com
d4c9402114 Bug 88123 (and 85860): re-use command line handling code in nsAppRunner when starting a second time on Win32; r=sgehani, sr=blake
git-svn-id: svn://10.0.0.236/trunk@112326 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 06:48:14 +00:00
timeless%mac.com
553441aa4a Bug 118105 [Xlib] XPFE code does not treat Xlib toolkit like GTK+ toolkit
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@112314 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:30:26 +00:00
bryner%netscape.com
805c50bab2 Fix for focus crash bugs 107844, 104297, and 109645. Make sure the window doesn't get deleted out from under us. r=saari, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@112292 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:36:50 +00:00
danm%netscape.com
acb5339665 support nsIEmbeddingSiteWindow and gut nsIESW::SetFocus. bug 57841 r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@112239 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:11:29 +00:00
danm%netscape.com
115169208a support nsIEmbeddingSiteWindow. bug 57841 r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@112238 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:11:06 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
danm%netscape.com
95158582d6 constrain windows centered on a parent window to be onscreen. bug 119332 r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@111917 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:53:23 +00:00
danm%netscape.com
fde611be88 restore persistent (maximized) size state after position and size are restored. bug 119006 r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@111909 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:08:49 +00:00
mkaply%us.ibm.com
2a9bbedb17 Use PR_FALSE not false
git-svn-id: svn://10.0.0.236/trunk@111729 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:21:02 +00:00
rjc%netscape.com
09a05b6179 Bug # 118212: window mediator RDF changes to support keyboard. r=tingley sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:06:23 +00:00
danm%netscape.com
c1bc619e9b position dependent windows relative to their parent. bug 113283 r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111617 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:31:24 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
pinkerton%netscape.com
27311e50b1 Change unsigned char* param to ConstStr255Param to make mach-o happier
r=sdagley/sr=blake. bug 118197.


git-svn-id: svn://10.0.0.236/trunk@111493 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:44:08 +00:00
pinkerton%netscape.com
cee1c73b9c stop using PR_PutEnv and use PR_SetEnv instead. r=sdagley/sr=blake. bug 118187
git-svn-id: svn://10.0.0.236/trunk@111492 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:42:08 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
danm%netscape.com
432bf17b0a implement/support nsIEmbeddingSiteWindow2 (and its blur method). bug 57841 r=bryner,rpotts
git-svn-id: svn://10.0.0.236/trunk@111398 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:22:45 +00:00
danm%netscape.com
63af87aec1 refuse to spawn new windows if you're currently being destroyed. bug 115969 r=jaggernaut,jst
git-svn-id: svn://10.0.0.236/trunk@111342 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 02:34:02 +00:00
seawood%netscape.com
11b13e95fe nsRect's win32 signature requires libraries need to link against libgkgfx for debug builds.
Added support for processing .rc to win32 gmake build.
Bug #58981


git-svn-id: svn://10.0.0.236/trunk@111203 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 00:03:57 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00