27 Commits

Author SHA1 Message Date
bryner%netscape.com
60ce998c9f fixing orange -- need to initialize gtk from viewer's main now, too.
git-svn-id: svn://10.0.0.236/trunk@138793 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 09:47:09 +00:00
timeless%mac.com
800cde8566 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@128704 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 14:51:05 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
bryner%netscape.com
b47f7c7214 Bug 66036 - Make viewer use nsIFilePicker instead of nsIFileWidget.
This required several fixes to make viewer able to display Linux's XUL
filepicker correctly, including making modal dialogs work, delaying the
showing of chrome windows until the document has fully loaded, and fixing
the problem on gtk where space was reserved for a menubar even if the
window doesn't have one.

r=jag, sr=shaver.


git-svn-id: svn://10.0.0.236/trunk@101003 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 05:21:54 +00:00
pavlov%netscape.com
460155a537 fixing bug 78690. removing old imagelib. r=jst sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00
waterson%netscape.com
9269648bfe Add --trace-malloc hook.
git-svn-id: svn://10.0.0.236/trunk@71252 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:21:12 +00:00
dbaron%fas.harvard.edu
ceb51c6540 Revise workaround for bug 28557 so we neither crash nor leak. r=waqar@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63110 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:16:53 +00:00
bruce%cybersight.com
447b42f657 I think this was my fix for viewer coredumping at exit on Unix.
git-svn-id: svn://10.0.0.236/trunk@62246 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 22:30:30 +00:00
edburns%acm.org
1af32fc433 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
neeti%netscape.com
61d74e4fc7 fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp
git-svn-id: svn://10.0.0.236/trunk@54368 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 03:41:48 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dp%netscape.com
ab8b41ac6e Fixing viewer starup assert on SetMainThread() happening twice.
git-svn-id: svn://10.0.0.236/trunk@52332 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 17:17:12 +00:00
ramiro%fateware.com
ced5d07b70 Fix #ifdef DEBUG_ramiro build bustage.
git-svn-id: svn://10.0.0.236/trunk@51381 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 19:30:29 +00:00
waterson%netscape.com
035b04b87b Change nsTraceRefcnt::WalkTheStack() to accept stream.
git-svn-id: svn://10.0.0.236/trunk@51353 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 03:45:12 +00:00
kipp%netscape.com
49f795c9c9 Make necko work with the viewer again
git-svn-id: svn://10.0.0.236/trunk@50681 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:43:59 +00:00
kipp%netscape.com
5b712622da Enable NS_FreeImageManager now that the call is part of the tip
git-svn-id: svn://10.0.0.236/trunk@50242 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:49 +00:00
mgleeson1%netscape.com
9d0be77836 r=kipp removed unnecessary include for dlfcn.h
git-svn-id: svn://10.0.0.236/trunk@49985 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:53:41 +00:00
kipp%netscape.com
2359272160 Disabled leak cleanup until other reviews come in
git-svn-id: svn://10.0.0.236/trunk@49773 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:26:14 +00:00
kipp%netscape.com
a3570edb7f r=dp; tidy up exit logic to release more global junk (space team work)
git-svn-id: svn://10.0.0.236/trunk@49744 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:41:53 +00:00
kipp%netscape.com
252518efc9 Close up a memory leak
git-svn-id: svn://10.0.0.236/trunk@49489 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:38:56 +00:00
kipp%netscape.com
de3f3202f5 shutdown xpcom and the image library to help leak anlaysis
git-svn-id: svn://10.0.0.236/trunk@49066 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:10:59 +00:00
ramiro%netscape.com
8b505706d5 Make the stack output more useful.
git-svn-id: svn://10.0.0.236/trunk@47690 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:22:01 +00:00
ramiro%netscape.com
4febbebf59 Add CRAWL_STACK_ON_SIGSEGV to crawl and dump the stack on SIGSEGV and
workaround the totally losing linux development experience.


git-svn-id: svn://10.0.0.236/trunk@47344 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 13:54:46 +00:00
ramiro%netscape.com
1147046fc6 Fix for bug 12878. Hack the viewer menubar into submission.
git-svn-id: svn://10.0.0.236/trunk@45466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 10:48:28 +00:00
ramiro%netscape.com
cb08a002e9 Remove the depenency on the toolkit service.
git-svn-id: svn://10.0.0.236/trunk@44767 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:21:43 +00:00
ramiro%netscape.com
91b1f6bc36 Finish support for building more than one toolkit at once.
git-svn-id: svn://10.0.0.236/trunk@44063 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 14:06:52 +00:00