Граф коммитов

9445 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert d8c03cfc2a Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert 1fabb10c87 Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 7b7fa1a8bd Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 896cbb4622 Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 3596c0d738 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 008a7becb5 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
timeless@mozdev.org db1ec67578 Bug 562522 - comparison between signed and unsigned integer expressions in nsStringAPI.cpp, r=bsmedberg
--HG--
extra : rebase_source : 0568e744cc020fbc8a725ec595213f21fe52681b
2010-04-28 17:30:00 -07:00
timeless@mozdev.org 2064ff736f Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
timeless@mozdev.org 9c45c39bea Bug 562528 - comparison between signed and unsigned integer expressions in nsEscapeHTML2, r=bsmedberg
--HG--
extra : rebase_source : 995cb88bc3bdb692ea154be2ebee597b0f777e58
2010-04-28 17:58:00 -07:00
Paolo Amadini 88ee7e98ec Bug 551658 - [@ nsIFile::createUnique] crashes with long parent directory names. r=bsmedberg 2010-05-02 10:28:26 +02:00
timeless@mozdev.org ae38731a16 Bug 561709 Change the dash to an underscore in the status of nsIRecyclingAllocator, r=bsmedberg 2010-04-26 01:18:00 -07:00
timeless@mozdev.org 995de512e5 Bug 529820 - nsCategoryCache is slightly unsafe, r=biesi 2009-11-19 07:51:00 -08:00
Jonas Sicking 664f689a98 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Mitchell Field 3d1b2b634a Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mike Hommey aee189207e Test for bug 561971 [r=dtownsend]
--HG--
extra : rebase_source : 64b4940aaeb7b8e0591f7872f0b48b24e01f213a
2010-04-29 07:25:38 +00:00
Mike Hommey 6dfa925097 Bug 543441 - Avoid a race condition induced crash when trying to nsProcess::Kill() a terminated process [r=dtownsend]
--HG--
extra : rebase_source : eb04335b397772058c2c272736afb5604b09e0af
2010-04-29 07:24:32 +00:00
Ginn Chen 1a7b0d455a revert 43e12453336f, it was fixed by another changeset 2010-04-28 17:44:24 +08:00
Ginn Chen 541d95b4b7 Bug 560717 Linux FPE running make check r=bsmedberg 2010-04-28 17:40:03 +08:00
Ginn Chen 7b2fd95b73 Bug 561736 Add has_cpuid_bit support with Sun Studio compiler on Solaris r=dbaron 2010-04-28 17:39:12 +08:00
Mark Banner 9ce66a89ef NS_COM_GLUE shouldn't be defined on function definitions/inline functions. Fixing non-libxul bustage on Windows builds from bug 558498. r=bsmedberg over irc 2010-04-27 14:48:25 +01:00
Mark Banner f122435dd7 Try and fix Windows non-libxul bustage from bug 518881 due to NS_COM_GLUE being in the wrong place. 2010-04-27 13:52:42 +01:00
Chris Jones 784888920c Bug 518881: Make Send/Call*() methods for IPDL parent actors warn_unused_result. r=bent 2010-04-27 00:43:00 -05:00
Chris Jones 30361f401e Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Ben Newman a2d75cb968 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman 2f85d87cfe Support __stdcall nsRunnableMethods (part 2/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:32 -07:00
Ben Newman 5149e63e78 Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Vladimir Vukicevic 4610653595 b=560717; fix TimeStamp initialization in TimeStamp_posix; r=bsmedberg 2010-04-26 14:26:40 -07:00
Vladimir Vukicevic 03d4046479 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
timeless@mozdev.org df39cb6ad8 Bug 559804 - nsGetInterface::operator() doesn't consistently set *aInstancePtr, r=bsmedberg
--HG--
extra : rebase_source : be81640ea16edd00e0898dafeb4c04c7fc511b24
2010-04-16 06:03:00 -07:00
Neil Rashbrook 76f69dcca4 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Mike Hommey 788fd0adf4 Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin] 2010-04-24 09:39:53 +02:00
Daniel Holbert b5cbfb9447 Bug 552330: Remove NS_ARRAY_LENGTH redefinition in TestObserverArray.cpp to fix compile warning. r=dbaron a=dholbert_sheriff 2010-04-23 13:45:51 -07:00
Brian Hackett 170b671cef Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
Mike Hommey ca68bde7fa Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Neil Rashbrook 9c5f3969de Bug 560715 Trying harder to fix nonlibxul build bustage 2010-04-22 00:40:27 +01:00
Neil Rashbrook edb8778a23 Bug 560715 - "Windows trunk builds failing due to: storagecomps.dll : fatal error LNK1120: 2 unresolved externals" [r=bsmedberg] ok on a CLOSED TREE per sheriff 2010-04-21 01:08:00 -04:00
Vladimir Vukicevic a6debc0029 split out declarations to work around MSVC bug 2010-04-20 14:44:39 -07:00
Vladimir Vukicevic b8445307a8 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Chris Jones 0a2e06e4bb Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Mike Hommey 66bec4216b Bug 532198 - Reimplement xptcinvoke for arm/linux in C [r=Jacob.Bramley, r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 683a17a26c486d6f6bf376ff93fb8a0567a8ab47
2010-04-19 22:55:45 +02:00
Mike Hommey 65480f1f3f Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey 8a4e0d96e3 Bug 486681 - Support more HPPA CHOSTs on HPPA/Linux [r=timeless]
--HG--
extra : rebase_source : a16f362e62a05ba7eecfc985155b6fc61853e174
2010-04-19 10:08:35 +02:00
Dan Witte 089e7f47a5 Merge. 2010-04-17 12:26:30 -07:00
Brian Hackett 1200ff0de0 Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Ginn Chen 25e1ba8274 Bug 557470 make check in xpcom/tests/ is not portable on Solaris r=ted.mielczarek 2010-04-15 18:47:25 +08:00
Chris Jones 408cd19554 Bug 557383: Remove unused variable warning and add extra failure check. r=dholbert 2010-04-14 21:09:35 -05:00
Julian Seward 2bc1382cb9 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Taras Glek 8608d2611e Bug 516085 - C++ easy access for common global services r=bsmedberg 2010-04-02 11:38:25 -07:00
Jacek Caban 2c9fdf726a Bug 551254 - remove ENABLE_CXX_EXCEPTIONS from XPCOM tests. 2010-04-16 00:29:15 -05:00
L. David Baron 070184f791 Fix misspelling of implement. 2010-04-08 19:14:43 -07:00
Daniel Holbert 5cddfb69e9 Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg 2010-04-08 12:26:29 -07:00
Dave Townsend 4122df726a Bug 557539: Trying to set nsILocalFile.lastModifiedTime for a directory on windows throws NS_ERROR_ACCESS_DENIED. r=jimm 2010-04-08 12:12:19 -07:00
Chris Jones 02d4f4790c Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg 2010-04-08 13:05:02 -05:00
Ginn Chen ffc14831c5 Bug 550371 mozalloc failed to build on Solaris r=bsmedberg 2010-04-07 14:16:32 +08:00
Daniel Holbert a405616b48 Bug 557380: Add missing arg to printf in TestUnicodeArguments.cpp, to fix build warning. r=smontagu 2010-04-06 00:09:44 -07:00
Daniel Holbert ad4ba21fd5 Bug 556303: Fix unsigned/signed compiler warning in nsTArray.cpp. r=bsmedberg 2010-04-05 14:56:35 -07:00
L. David Baron eca80ee500 Fire assertions when guard objects are used as temporaries. (Bug 531460) r=cjones 2010-04-04 11:15:18 -07:00
Chris Jones d8d8519e40 Bug 551254: Simple (disabled) test that the STL wrappers work correctly. 2010-04-02 12:58:12 -05:00
Chris Jones a5d6b3adea Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones 81732c2bc2 Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones 0f1925a707 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Daniel Holbert 6da6360cec Bug 556559: Fix unsigned/signed comparison warnings in TestTArray.cpp. r=bsmedberg 2010-04-02 09:34:31 -07:00
Daniel Holbert addf7e62ea (no bug) Unset executable flag on a few .cpp & .h files in /xpcom/tests. (no review; just a "chmod -x") 2010-04-02 09:34:30 -07:00
Chris Pearce b9a7738dec Bug 556424 - mozilla::MonitorAutoEnter::NotifyAll() should notify all. r=cjones 2010-04-01 19:54:03 -07:00
Daniel Holbert 5344428bfb Bug 551298, patch A followup i: Add thread safety assertions to AddRef/Release implementations. r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert be65929920 Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 11:05:40 -07:00
Daniel Holbert 81429599a7 Backed out changeset fe801c8a2090 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:40:30 -07:00
Daniel Holbert 09a658db8a Bug 551298, patch A: Move THEBES_INLINE_DECL_REFCOUNTING to xpcom (with s/THEBES/NS/). r=bsmedberg 2010-04-01 08:07:23 -07:00
Josh Matthews cfbc247339 Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
L. David Baron f7e208ca96 Add mechanism for assertions that fire when a guard object is used as a temporary. (Bug 531460) r=bsmedberg 2010-03-26 10:12:39 -04:00
Chris Jones 354f579ec3 Bug 550425: Bump up the timeout for expensive deadlock tests and print more info on failures. r=bsmedberg,sdwilsh 2010-03-24 19:12:32 -05:00
Chris Jones 2e38d1fe43 Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Mike Hommey 45f7983658 Bug 543438 - TestBlockingProcess relies on stdin to "block". r=dtownsend 2010-03-24 10:19:14 +01:00
Karl Tomlinson a1e0ce7ffe b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones 2010-03-24 16:39:15 +13:00
Mike Hommey 2d0eb18e31 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
Daniel Holbert 106da9fe88 Bug 552798: fix 'suggest parentheses around comparison in operand of &' in TestAtoms.cpp. r=sicking 2010-03-22 11:57:40 -07:00
Dão Gottwald 53e5f98a71 Backed out changeset 7f301b0d3385 hg push 2010-03-22 17:48:45 +01:00
Mike Hommey 2db087f703 Bug 448658 - nsAutoTArray aligns buffer to 32 bits, causing SIGBUS when array entry type requires 64-bit alignment. r=dbaron 2010-03-22 15:16:44 +01:00
bjarne@runitsoft.com cc29db5ff7 Bug 529272 - Wrong loop in nsInputStreamTee, r=michal.novotny
--HG--
extra : rebase_source : d95b0280646c62c88354432c5920befeaf0424a4
2010-03-19 08:43:00 +01:00
Chris Jones b3ace4bc37 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones fed9cef751 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones b3ef4ccf41 Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05:00
Simon Montagu ca71e3c5c6 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Robert Strong 37d9a9836a Bug 552602 - Open Containing Folder button on about:support(Troubleshooting Information) page does not work. Fallout from bug 548426. r=dougt 2010-03-17 16:12:00 -07:00
Daniel Holbert a836d78ee8 Bug 552805: Fix warning "overflow in implicit constant conversion" in TestEncoding.cpp. r=waldo 2010-03-17 01:54:17 -07:00
Daniel Holbert 5eaa5410d9 Bug 552329: Fix compile warnings in xpcshell test TestOOM.cpp. r=dougt, test-only change on CLOSED TREE to see if tinderbox still wants to be red 2010-03-16 10:42:51 -07:00
Jonathan Watt 2f65a96d20 Bug 551299. Add a SetCount() method to nsCOMArray and nsVoidArray. r=bsmedberg.
--HG--
extra : rebase_source : 676b497a4fda08ec509c2ce9fdc7060af8be1663
2010-03-15 11:38:50 +00:00
Uli Link 7427827341 Bug 526457. Fix AIX compilation. r=bsmedberg 2010-03-15 14:43:16 +13:00
Brad Lassey 427a95c897 bug 551882 - Windows Mobile should use the the WINAPI process model r=bsmedberg 2010-03-12 20:56:06 -05:00
timeless@mozdev.org 221189ed70 Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg

--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01:00
Chris Jones 1a5eba7be7 Bug 550425: Don't close the subprocess's stdout/stderr pipes until after it exits. r=bsmedberg 2010-03-11 01:35:25 -06:00
Brad Lassey fa40636782 follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Serge Gautherie d50b06ef94 Bug 551153 - ###!!! ASSERTION: Not a UTF-8 string when running TestUTF and TestAtoms; (Bv1) Make it fully explicit that Malformed8Strings[] is not to be used in debug builds.
r=jonas.
2010-03-10 21:03:23 +01:00
Brad Lassey b64cf6455e bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jonas Sicking 641e63c61f Bug 551129: Move tests in TestPermanentAtoms.cpp into the new shiny TestAtoms.cpp. Disable tests with known intentional assertions in debug builds. r=jst 2010-03-09 16:30:06 -08:00
Brad Lassey ccd6998d62 bug 548426 - xpcom/tests/TestFile.exe fails for windows mobile r=bsmedberg 2010-03-09 11:40:16 -05:00
Mark Banner e0614de36f Follow up to bug 534136, fix TestStaticAtoms test failure. r=sicking 2010-03-09 09:51:43 +00:00
Jonas Sicking 518102c387 Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking 0f90def852 Bug 534136 Part 7: Add tests for atoms. r=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking 2419a95760 Bug 534136 Part 6: Properly handle invalid UTF8 string being passed to NS_NewAtom/do_GetAtom. r=jst 2010-03-08 07:45:00 -08:00