Commit Graph

992 Commits

Author SHA1 Message Date
timeless@mozdev.org
1a965c5ef0 Bug 505886 nsHashtable::Exists doesn't unlock mLock if !mHashtable.ops
r=bsmedberg
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
18ff2518cc Bug 504170 nsAStreamCopier::Process can use sourceCondition, sinkCondition uninitialized if someone cancels the copy early
r=dougt
2009-08-12 11:49:52 +02:00
timeless@mozdev.org
e2c82df69a Bug 485834 ObserverService shouldn't recurse infinitely for stupid consumers
r=dougt
2009-08-12 11:49:52 +02:00
Ted Mielczarek
2218ea81b0 fix a leak in nsINIParser::GetSections/GetKeys. r=bsmedberg (no bug)
--HG--
extra : rebase_source : 7ed4d2d3aca5eb90a08e506accc6a82e37fe200e
2009-08-18 11:52:23 -04:00
Nick Thomas
0a334199c2 Bug 503469, Support packaging WinCE Firefox builds as zip, complete.mar, r=ted.mielczarek 2009-08-11 15:50:32 +12:00
Serge Gautherie
2ee7edc8d1 Bug 508760 - Remove MSVC6 support from the tree; (Cv1a) xpcom/io/*.cpp; r=doug.turner 2009-08-11 00:37:37 +02:00
Serge Gautherie
28965346e8 Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
--HG--
extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
2009-08-09 00:45:46 +02:00
Hiroyuki Ikezoe
889e998826 Bug 502146 – On WinCE, GRE_GetPathFromRegKey fails even if GRE exists on device. r=blassey 2009-08-08 12:29:13 +09:00
Shawn Wilsher
782cbb5800 Bug 508605 - NetUtil.asyncCopy does not handle nsISafeOutputStreams correctly
This moves nsISafeOutputStream.idl into xpcom/io and makes nsAStreamCopier
handle nsISafeOutputStream correctly (calling finish instead of close).
r=bz
r=bsmedberg

--HG--
rename : netwerk/base/public/nsISafeOutputStream.idl => xpcom/io/nsISafeOutputStream.idl
2009-08-06 13:34:46 -07:00
Jeff Walden
7c31c3d568 Remove stray semicolon that Linux gcc hates, r=red 2009-08-06 12:48:58 -07:00
Jeff Walden
be745b92ab Bug 428465 - nsTArray should refuse to compile with T=nsAutoString (or work correctly). r=bsmedberg 2009-08-03 21:13:28 -07:00
Robert O'Callahan
a3ed732448 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin
ab00cb4b56 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Jeff Walden
984c42f069 Bug 507485 - Fix a potential character-range bug. r=nelsonb for a change only needed on trunk 2009-07-30 18:53:53 -07:00
Josh Aas
c363be995f Backed out changeset ad9a4a3a5409, bug 506812. CLOSED TREE 2009-07-31 16:49:48 -04:00
Josh Aas
f0f1c069ce Faster directory enum code for Mac OS X, don't use slow FSRefs. b=506812 r=vlad 2009-07-31 11:17:42 -04:00
Josh Aas
abcbf6312b Cache UTF-8 POSIX path in Mac OS X nsIFile impl. b=505792 r=mstange sr=bsmedberg 2009-07-30 00:47:06 -04:00
Jeff Walden
059af73b7d Bug 332173 - Followup followup fix for trunk-only necessary-for-templatization changes (not needed for any branches, that is).
--HG--
extra : rebase_source : 767c90867afbbe7bf52e29820c987e45c9e60d03
2009-07-29 21:27:46 -07:00
Mook
c8a38c8385 Bug 502188. Implement xptcall for mingw-Windows64. r=timeless
--HG--
extra : rebase_source : 2c03e2ae8d491059b9c3759e7e5082a20c1b715a
2009-07-30 15:41:03 +12:00
Nelson Bolyard
50022505cc Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). r=jwalden, a=ss 2009-07-29 14:07:45 -07:00
Jeff Walden
a18aaced58 Backed out changeset ab1686101bfb, pending orange investigation
--HG--
extra : rebase_source : ad872bd18b36237fcc450f5fdc61d6579b532518
2009-07-29 16:24:14 -07:00
Nelson Bolyard
bce220d64b Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). r=jwalden, a=ss 2009-07-29 14:07:45 -07:00
Benjamin Smedberg
f781ac7771 Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR. 2009-07-27 10:47:22 -04:00
Michael Kohler
0a56a892c8 Bug 106386 - Correct misspellings in source code (old); Part 3 v2; r=timeless 2009-07-27 10:47:05 +02:00
Makoto Kato
815f6cdd90 Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg 2009-07-24 19:11:23 +09:00
Shawn Wilsher
2d8562eff5 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
61ffa998af Bug 505857 - Fix up locking in the category manager, r=timeless 2009-07-23 10:29:00 -04:00
Chris Jones
e1f8c82efc 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
bfa66f0835 Bug 505586: use the right String::Find() function from external API code. r=bsmedberg 2009-07-22 15:47:14 -05:00
Neil Rashbrook
4eae832dfb 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
d71ea7085b 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
127485d199 b=499863; XREDirProvider gives wrong APPDATA dir on Windows CE; r=rs 2009-07-17 16:04:56 -07:00
Benjamin Smedberg
4965608501 Bug 483202 - Load chrome from the GRE directory in xpcshell, r=ted 2009-07-17 10:41:26 -04:00
Makoto Kato
06c821f73a Bug 504519 - XPIDL command for Symbian native should not build. r=bsmedberg 2009-07-17 18:46:50 +09:00
Blake Kaplan
c333b464ab Bug 502687 - GCGraphBuilder::AddNode crashes on OOM. r=dbaron 2009-07-16 13:06:48 -07:00
Blake Kaplan
96a04e8df6 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
bf922f33d2 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
350cc29383 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
adc1d1302a 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
9a8d97752d 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
7f0a460c49 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
e9b5c3edfc Bug 489500 - Implement nsLocalFile::ResolveShortcut for WinCE. r=dougt, sr=vlad 2009-07-08 10:51:38 -07:00
Josh Aas
4b26557c2d 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
a726181bc9 Bug 496708 - non biarch system plugin location (added missing Makefile magic); r+=joshmoz 2009-07-08 09:59:01 +02:00
Doug Turner
ba55c5e884 Bug 136936 - TestInterfaceInfo is out of date - nsIServiceManager; r=benjamin 2009-07-06 22:09:39 +02:00
Serge Gautherie
9f99b401d6 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
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Josh Aas
dbbc06a937 Rewrite SetFileSize for Mac OS X using POSIX API. b=501307 r/sr=roc 2009-07-05 02:39:04 -04:00
Benjamin Smedberg
812128ba6a 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
9ce06efb6a 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
7630621a0e 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
0af041e2b2 Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc 2009-06-24 09:21:43 +02:00
Josh Aas
19297b541b 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
169f18520e Test arguments with spaces and quotes in nsIProcess. r=robstrong 2009-06-23 11:33:41 +01:00
Serge Gautherie
7030d10b39 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
9c6646e6e1 Remove os2wrapper and associated files. b=499367 r=Peter Weilbacher 2009-06-22 17:25:07 -04:00
Stuart Parmenter
7355e671a2 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
9bf84de2e4 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
8291a79679 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
499c51791c bug 491972 - error building SimpleTypeLib.c due to perror() call r=bsmedberg 2009-06-18 07:31:12 -04:00
Chris Jones
1c0eb2d506 bug 491977: fix "leak" of deadlock detector statics. r=bsmedberg 2009-06-16 12:36:44 -07:00
Arpad Borsos
497b2e227d 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
ced6fd75da 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
3a5c755862 Bug 493701 - Use a macro to reduce redundancy in nsDocLoader.cpp; r=bz 2009-06-11 11:03:40 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Hiroyuki Ikezoe
a5f0088b65 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
b216db3469 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
d5531db087 Bug 490587 - "Warning in mozilla/xpcom/glue/nsGenericFactory.cpp" [r=benjamin] 2009-06-14 01:37:38 -07:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf 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
7e69536472 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
82a4092aee 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
ecd783a395 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
589f71c968 Bug 467948 - fix some deprecated conversion from string constant warnings; r=dbaron 2009-05-26 10:53:15 +02:00
Ginn Chen
baa0350fa6 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
e7a19f1220 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
f43c03af9e Bug 496733: Test that multiple arguments get passed by nsIProcess. r=robstrong 2009-06-10 13:40:29 +01:00
Jesse Ruderman
578eb1c209 Change tabs to spaces (followup to the checkin bz just made) 2009-06-09 21:13:36 -07:00
Boris Zbarsky
e2f2108d1c Adding test for nsTObserverArray 2009-06-09 22:57:41 -04:00
Benjamin Smedberg
e01f5a8eda Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg
c6d706191a Bug 489273 - debug+libxul build broken on Windows, r=ted 2009-05-22 11:13:53 -04:00
L. David Baron
9352e9341e 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
cef8a68e25 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
f6225a28af 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
99034adf24 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
584155ddb7 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Benjamin Smedberg
02d969acec Fix trace-malloc build bustage from bug 488175... tracemalloc/nsTraceMalloc.h is no longer 2009-05-18 14:32:00 -04:00
Benjamin Smedberg
bb1c33c4ea 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
49f6a07a97 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
e267b828d9 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
3c7951a396 Merge backout. 2009-05-16 16:17:50 +02:00
Peter Van der Beken
d7f8357ac2 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
b865be6ac9 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
cb4004dfeb 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
46166ad09a 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
ae05aca0b1 bug 491462: fix some typos and compiler warnings in deadlock detector. r=bsmedberg 2009-05-14 13:07:30 -07:00
Hiroyuki Ikezoe
2f26e53e88 Bug 490275 - Memory leak in xpcom/glue/standalone/nsGlueLinkingWin.cpp; r=benjamin 2009-05-14 16:17:53 +02:00
Peter Annema
cdddf40767 Bug 487192 follow-up: fix build bustage by adding dummy calls to dlldeps.cpp 2009-05-13 22:38:13 -07:00
Peter Annema
8fd7a3afff 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
36ce94740c 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