Commit Graph

8614 Commits

Author SHA1 Message Date
Makoto Kato
152810b974 Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg 2009-07-24 19:11:23 +09:00
Shawn Wilsher
4c6bbe05cc Bug 494828 - Stop using our own mutexes and use SQLite's where possible.
Part 1: Create helper objects to make using sqlite3_mutex safer and easier.
r=cjones
2009-07-22 15:18:33 -07:00
Benjamin Smedberg
44af176a7d Bug 505857 - Fix up locking in the category manager, r=timeless 2009-07-23 10:29:00 -04:00
Chris Jones
0c29675086 bug 490072: upgrade XPCOM unit tests to new thread sync API. drop nsAutoLock test. r=bsmedberg 2009-07-22 22:55:02 -05:00
Chris Jones
e79c9a7275 Bug 505586: use the right String::Find() function from external API code. r=bsmedberg 2009-07-22 15:47:14 -05:00
Neil Rashbrook
dba2472e83 Bug 504660 Make sEmptyBuffer non-const so EnsureMutable can safely use it for an empty string r=bsmedberg 2009-07-20 21:04:44 +01:00
L. David Baron
53e2566c2b Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
Vladimir Vukicevic
ae8e80df5e b=499863; XREDirProvider gives wrong APPDATA dir on Windows CE; r=rs 2009-07-17 16:04:56 -07:00
Benjamin Smedberg
5788d00d13 Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted 2009-07-17 10:41:26 -04:00
Makoto Kato
162e47bde4 Bug 504519 - XPIDL command for Symbian native should not build. r=bsmedberg 2009-07-17 18:46:50 +09:00
Blake Kaplan
02bda8a1b2 Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. r=dbaron 2009-07-16 13:06:48 -07:00
Blake Kaplan
49d335d38c Bug 501840 - Avoid a warning when a cycle collection participant doesn't use tmp. r+sr=peterv 2009-07-16 13:06:26 -07:00
Mark Finkle
76c184332c Bug 500324: 'Open' button in download manager doesn't correctly launch the file in it's viewer, r=bsmedberg, blassey 2009-07-16 15:40:28 -04:00
Benjamin Smedberg
4a8ae27612 Bug 501657 - Put local python modules at the beginning of the python path, not the end, tested by Jory Pratt 2009-07-13 12:28:59 -04:00
Josh Aas
963d1ed020 Comment cleanup and macro rename for Mac OS X nsIFile impl. No bug. r=bsmedberg 2009-07-12 16:04:25 -04:00
L. David Baron
dfd2b373c7 Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
L. David Baron
caf9fffbee Expose the cycle collector language runtimes so that other code can do cycle collection traversal. (Bug 500317) r+sr=peterv 2009-07-08 18:10:29 -07:00
Hiroyuki Ikezoe
fbd4abc9d8 Bug 489500 - Implement nsLocalFile::ResolveShortcut for WinCE. r=dougt, sr=vlad 2009-07-08 10:51:38 -07:00
Josh Aas
06262a54a5 Use the same path comparison behavior for nsIFile::Equals on all platforms. b=491245 sr=bsmedberg 2009-07-08 11:26:07 -04:00
Wolfgang Rosenauer
fe4a2db0d9 Bug 496708 - non biarch system plugin location (added missing Makefile magic); r+=joshmoz 2009-07-08 09:59:01 +02:00
Doug Turner
984a6df7a5 Bug 136936 - TestInterfaceInfo is out of date - nsIServiceManager; r=benjamin 2009-07-06 22:09:39 +02:00
Serge Gautherie
5ea9f32798 Bug 430112 - <nsAutoLock.cpp>: 2 "warning: unused variable status"; (Bv1) Split the init to 2 instructions; r=benjamin 2009-07-06 22:01:37 +02:00
Peter Van der Beken
88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Josh Aas
37cd80d19c Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc 2009-07-05 02:39:04 -04:00
Benjamin Smedberg
798e13a64f Bug 500660 - Don't load XPT files from plugin directories any more r=josh sr=jst 2009-07-01 09:34:31 -04:00
Benjamin Smedberg
2e69e705e9 Bug 501176 - Move nsXULAppAPI.h to tier-xpcom, r+sr=bz
--HG--
rename : toolkit/xre/nsXULAppAPI.h => xpcom/build/nsXULAppAPI.h
rename : toolkit/xre/xrecore.h => xpcom/build/xrecore.h
2009-07-01 09:32:33 -04:00
Hiroyuki Ikezoe
13b4c00db7 Bug 494412 – Make error message more clear when we can't load xpcom due to lack of memory; (XPCOM part); r=benjamin 2009-06-26 09:46:09 +09:00
Wolfgang Rosenauer
79b00e401a Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc 2009-06-24 09:21:43 +02:00
Josh Aas
a887393a34 Use POSIX to get/set file permissions on Mac OS X. b=499875 sr=roc 2009-06-23 08:55:59 -04:00
Dave Townsend
99b44d9574 Test arguments with spaces and quotes in nsIProcess. r=robstrong 2009-06-23 11:33:41 +01:00
Serge Gautherie
8bcedbbb62 Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Bv2a) Fix and extend test_crashreporter.js; r=ted.mielczarek 2009-06-22 23:43:19 +02:00
Josh Aas
8286b5c500 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Stuart Parmenter
a5497d4815 bug 492114. Deal with the fact that CE doesn't have . or .. files and will give different behavior for empty directories. r=bsmedberg 2009-06-22 10:00:52 -07:00
ben turner
abb2a26ac0 Bug 498010 - Threads should release their observers when they are shut down; r=benjamin 2009-06-22 15:08:04 +02:00
Peter Van der Beken
75552f6810 Fix for bug 492324 ("ASSERTION: wrong entry" during cycle collection (nsXBLDocumentInfo)). r=dbaron, sr=jst.
--HG--
extra : rebase_source : ea5eb556d1fe86b42ede4a0515e0c4c06544117b
2009-06-01 21:22:18 +02:00
Hiroyuki Ikezoe
41c0f38748 bug 491972 - error building SimpleTypeLib.c due to perror() call r=bsmedberg 2009-06-18 07:31:12 -04:00
Chris Jones
0f279f0c8c bug 491977: fix "leak" of deadlock detector statics. r=bsmedberg 2009-06-16 12:36:44 -07:00
Arpad Borsos
9c8455122d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
2c52e03fad Back out 7d502207183d (Bug 493701), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 1c08b3767508bc359d395560b08248fcaa71f511
2009-06-16 14:37:35 +02:00
Arpad Borsos
451e5accfb Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz 2009-06-11 11:03:40 +02:00
Arpad Borsos
21896afffc Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Hiroyuki Ikezoe
177d91f354 Bug 487694 - "unable to build ssltunnel and some xpcom/test files due to CxxFrameHandler linkage" (Patch for nsIFileEnumerator.exe) [r=benjamin] 2009-06-14 01:51:12 -07:00
Shailen
45187f5935 Bug 497838 - "AIX Compilation error for 3.6a1pre source xpcom/io/nsWildCard.cpp", line 215.28: 1540-0274 (S) The name lookup for "_shexp_match" did not find a declaration" [r=benjamin] 2009-06-14 01:41:19 -07:00
palo misik
cab2e26320 Bug 490587 - "Warning in mozilla/xpcom/glue/nsGenericFactory.cpp" [r=benjamin] 2009-06-14 01:37:38 -07:00
Arpad Borsos
118ee75268 Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
990fceee6e Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Doug Turner
a282e85375 Bug 488862 - crash while geolocation is retrieving data [@ nsGeolocation::RemoveRequest]. r=dbaron, sr=smaug, r=ctalbert on tests 2009-06-11 17:46:46 -07:00
Serge Gautherie
4fb8bff0fa Bug 306840 - Improve PR_GetEnv() usages; (Cv1a) <XpCom/nsAtomTable.cpp> (= sync'ed Bv2); r=timeless sr=neil 2009-06-11 19:47:33 +02:00
Boris Zbarsky
dbd6d652d5 Bug 497028. Make sure to have mRunningEvent still incremented when we call the runnable's destructor, since that can also do work. r=bsmedberg 2009-06-11 13:09:35 -04:00
Arpad Borsos
a56370e043 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Ginn Chen
15183dceab Bug 489299 TestSynchronization.cpp failed to compile with Sun Studio r=benjamin, jones.chris.g 2009-06-11 14:46:13 +08:00
Josh Aas
ca207c2111 Make Mac OS X local file code aware of symlinks instead of old-school aliases. Also moves more things to POSIX functions instead of inefficient Carbon calls. b=484297,491074,491145 r=mstange sr=roc 2009-06-10 22:23:57 -07:00
Dave Townsend
71630ca251 Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong 2009-06-10 13:40:29 +01:00
Jesse Ruderman
13ce09dcd1 Change tabs to spaces (followup to the checkin bz just made) 2009-06-09 21:13:36 -07:00
Boris Zbarsky
3a023164e4 Adding test for nsTObserverArray 2009-06-09 22:57:41 -04:00
Benjamin Smedberg
2dbc3fb170 Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg
438f21ae8d Bug 489273 - debug+libxul build broken on Windows, r=ted 2009-05-22 11:13:53 -04:00
L. David Baron
22e6981f6c Correct comments to reflect that bug 460695 landed on 1.9.1.
--HG--
extra : transplant_source : %DBPU%C0M%FF%AEP%3Ae%0A%7DW%23%5E%D5%A9r%A6%1A
2009-05-20 16:04:39 -04:00
Benjamin Smedberg
cbf3863732 Bug 492948 - Windows XULRunner stub can't discover the GRE anymore, due to using NS_ConvertUTF8toUTF16 before having loaded XPCOM, r=blassey 2009-05-20 17:00:45 -04:00
Josh Aas
60db8ee1d2 Make Objective-C exceptions non-fatal by default on Mac OS X. b=486574 r=roc sr=bz 2009-05-20 11:53:24 -04:00
Dave Townsend
dd2848c629 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
6a70c37113 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Benjamin Smedberg
8655b73917 Fix trace-malloc build bustage from bug 488175... tracemalloc/nsTraceMalloc.h is no longer 2009-05-18 14:32:00 -04:00
Benjamin Smedberg
6df221580d Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Hiroyuki Ikezoe
c27b02e4cb Bug 483819. iostream is not needed or wanted in WinCE build. r=bsmedberg 2009-05-18 10:29:54 +12:00
Peter Van der Beken
8443f4d14c Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken
1dfd758d21 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
1278a8efe2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Peter Van der Beken
0c43ed75e7 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Boris Zbarsky
612e9ad4e4 Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00
Shawn Wilsher
50382009bc Bug 489705 - nsRefPtr should be able to forget a base class to a pure virtual interface it inherits from
r=bsmedberg
sr=dbaron
2009-05-07 15:13:18 -04:00
Chris Jones
98311e5904 bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg 2009-05-14 13:07:30 -07:00
Hiroyuki Ikezoe
21cff4e6ad Bug 490275 - Memory leak in xpcom/glue/standalone/nsGlueLinkingWin.cpp; r=benjamin 2009-05-14 16:17:53 +02:00
Peter Annema
fcfab89833 Bug 487192 follow-up: fix build bustage by adding dummy calls to dlldeps.cpp 2009-05-13 22:38:13 -07:00
Peter Annema
e3cae8f8b5 Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Clean up white space.
2009-05-13 20:22:54 -07:00
Peter Annema
8c8313039e Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Move nsWildCard.{h,cpp} into xpcom/io.

--HG--
rename : modules/libjar/nsWildCard.cpp => xpcom/io/nsWildCard.cpp
rename : modules/libjar/nsWildCard.h => xpcom/io/nsWildCard.h
2009-05-13 20:22:54 -07:00
Hiroyuki Ikezoe
61cc6728cf Bug 488157. Use UTF8 instead of native codepages during startup. r=bsmedberg
--HG--
extra : rebase_source : 22bea59e453f953f3efd43d6d945d9d9fee70ce5
2009-05-13 22:16:45 +12:00
Jeremy Huddleston
afee5e32cd Bug 485827. Use FS_LAYOUT instead of OS to make bundling decisions. r=benjamin
--HG--
extra : rebase_source : 9df1bd2a0101b9a8359a5af22ad51aa0620a1165
2009-05-13 22:11:58 +12:00
Phil Ringnalda
fcdc4de2b2 Bug 115334 - Remove long long dead StringFactoring tests, and the last .mcp in mozilla-central in the bargain, r=bsmedberg 2009-05-12 19:50:35 -07:00
Josh Aas
9a0ce06c15 Port xptcall to x86-64 Mac OS X. Patch by Josh Aas and Jason Allum. b=485049 r=bsmedberg
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp
2009-05-06 16:57:37 -04:00
L. David Baron
368b7f1ed8 Make cycle collector's purple buffer consist of entries that the objects in the purple buffer can point to, and remove the notion of scan delay (which was previously set to 0). (Bug 490695) r+sr=peterv r=bsmedberg 2009-05-06 13:46:04 -07:00
L. David Baron
4c05a08fb9 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Benjamin Smedberg
c71b7fc5e0 Bug 491550 - Fix TestDeadlockDetector on debug+libxul configurations r=bustage fix 2009-05-06 10:33:58 -04:00
Serge Gautherie
325564e9cb Bug 482942 - Implement NS_LOCALFILE_DELETE_ON_CLOSE flag for nsILocalFile::OpenNSPRFileDesc; (Cv1) TestHarness.h: s/PRBool/PRUint32/; r=benjamin 2009-05-06 01:11:16 +02:00
Chris Jones
24b939e504 Bug 456272: deadlock detector improvements 2009-05-04 21:57:15 -07:00
Chris Jones
6fa9921e11 Backed out changeset 3deeb3c83c77 2009-05-02 21:13:57 -07:00
Chris Jones
47a7c89e54 Bug 456272: deadlock detector improvements r=brendan 2009-05-02 20:54:05 -07:00
Josh Aas
bfcfe1db27 Backed out changeset 294eaf175b7b 2009-05-02 15:14:47 -07:00
Josh Aas
62c4bceb6c Improve nsIFile's IsFile on Mac OS X, stop using FSGetCatalogInfo. b=491074 r=mstange sr=roc 2009-05-02 12:54:08 -07:00
Josh Aas
cffeb5a089 Remove setFileTypeAndCreatorFromMIMEType and setFileTypeAndCreatorFromExtension from nsILocalFileMac. b=491099 sr=roc 2009-05-02 11:01:25 -07:00
Josh Aas
d891d9195e Improve nsIFile's GetFileSize on Mac OS X, stop using FSGetCatalogInfo. b=491050 r=mstange sr=roc 2009-05-01 21:52:21 -07:00
Josh Aas
2c8d1f19c7 Make nsIFile ::Exists on Mac OS X more efficient, stop using FSRef. b=490870 r=mstange sr=roc 2009-05-01 18:32:38 -07:00
Josh Aas
db53a3cbed Remove workaround for pre-10.2 systems in nsLocalFileOSX, no need to look for CFStringNormalize. b=490959 r=mstange sr=roc 2009-05-01 09:59:33 -07:00
Josh Aas
8c02298ffe Backed out changeset cb8262ea787f 2009-04-30 17:01:06 -07:00
Josh Aas
db4f825cfb Improve Mac OS X local file equality testing, stop comparing FSRefs. b=490372 r=mstange sr=roc 2009-04-30 10:08:35 -07:00
Josh Aas
d9da49eca0 Improve nsILocalFile GetDiskSpaceAvailable on Mac OS X, stop using old Carbon APIs. b=490171 r=mstange sr=roc 2009-04-29 23:53:43 -07:00
L. David Baron
ea744a614b Use the purple buffer in ExplainLiveExpectedGarbage. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
f8d4d33136 Reverse the meaning of suspectCurrentCount and rename it to expectedGarbageCount. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron
ef078cfca9 When we print warnings about objects that should have been collected, see if they're in the purple buffer and print different warnings if they are. (Bug 488603) r+sr=peterv 2009-04-24 15:45:34 -07:00
Chris Jones
e8322d6258 bug 486793: add programmatic control of profiler to xpcom unit tests. r=bsmedberg 2009-04-24 14:47:45 -07:00