Commit Graph

408 Commits

Author SHA1 Message Date
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
timeless@mozdev.org
bab6b1bac7 Bug 585420 Drop files from intl and restore nsCaseConversionImp2
r=smontagu a=bsmedberg
2010-08-18 13:17:12 +03:00
Joel Maher
adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Mitchell Field
f544d71a9d 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
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Chris Jones
388a3755d5 bug 489135: fix old PRMonitor leak, init debug var in mozilla::Monitor. r=smontagu 2009-04-21 00:33:12 +02:00
Chris Jones
18c52db5ae Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Rob Campbell
7e6730bd73 bug 485511, Firefox crashes in nsExtensibleStringBundle::FormatStringFromName, p=rcampbell, r=smontagu, sr=shaver 2009-04-02 14:12:38 -03:00
Ted Mielczarek
27616db76a Bug 421611 - Need to be able to run tests on arbitrary build - add packaging bits for xpcshell. r=bsmedberg
--HG--
rename : intl/strres/tests/397093.properties => intl/strres/tests/unit/397093.properties
rename : intl/strres/tests/strres.properties => intl/strres/tests/unit/strres.properties
2009-03-21 11:20:00 -04:00
Serge Gautherie
fb0b62f292 Bug 443672 - Fix a few nits in nsStringBundle.cpp, r=smontagu 2008-07-09 22:21:24 +02:00
smontagu@smontagu.org
103f51c598 Reject properties files with encoding errors. Bug 397093, r+sr=bsmedberg, a1.9=damons 2008-03-13 12:01:53 -07:00
nick.kreeger@park.edu
a5b7f050ea Fixing bug 384796, Call to |nsIStringBundleOverride| always beats the embedding calls. r=mento, sr=roc, 1.9approval=dsicore. Trunk only. 2007-08-28 12:48:47 -07:00
timeless@mozdev.org
761d1e775d Bug 384803 nsStringBundle::FormatStringFromID should return nsMemory allocated strings
patch by prasad@medhas.org r=timeless r=smontagu sr=biesi
2007-07-01 12:29:43 -07:00
smontagu@smontagu.org
7ed4343a42 Add unit test for bug 378839 and remove obsolete test programs 2007-05-09 21:58:59 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
gavin%gavinsharp.com
a756e7e2cf Bug 231403: fix reference to nonexistent xpcom.properties, patch by Ryan Jones <bugs@ryan-jones.com>, r=smontagu 2007-01-09 19:46:16 +00:00
smontagu%smontagu.org
c375754981 Remove source files for unused interface nsIAcceptLang. Bug 356135, r=jshin, sr=jag 2006-10-10 13:26:22 +00:00
cbiesinger%web.de
5b36f89cdb bug 353983 add --enable-application=netwerk option
r=bsmedberg sr=darin
2006-09-28 21:22:27 +00:00
darin%meer.net
fc4cf74f2f fixes bug 317615 "nsStringBundle is too noisy when given an invalid URL" r=bsmedberg 2006-06-24 00:02:21 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
benjamin%smedbergs.us
70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
gerv%gerv.net
a54a4e6372 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:10 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bsmedberg%covad.net
7127ddeee8 Bug 315089 - Convert intl tests to use the XPCOM glue, r=smontagu 2005-11-17 14:40:22 +00:00
scott%scott-macgregor.org
d002b1789c Bug #293023 --> Effects debug builds only. Quiet a noisy warning, many clients do ask for string resources that don't
exist.

r=sfraser
sr=darin
a=asa
2005-06-20 18:38:46 +00:00
bsmedberg%covad.net
573eebab2a Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 12:36:03 +00:00
smfr%smfr.org
b07445985d When a a string bundle lookup fails, print a message with useful info. rs=darin, no bug. 2005-03-21 06:06:55 +00:00
gandalf%firefox.pl
dcdddc53d6 Bug 279768: Move locales from ./docshell and ./intl to ./dom/locales ; r=bsmedberg 2005-02-20 18:10:15 +00:00
bzbarsky%mit.edu
e8f296cd4a Fix various code errors in nsStringBundle. Bug 267073, patch by Daniel Kraft
<domob@daniel-kraft.net>, r=smontagu, sr=bzbarsky
2005-01-30 18:09:34 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
smontagu%smontagu.org
93a5fddaa3 Change NS_ENSURE_ARG_POINTER to NS_ASSERTION. Bug 269893, rs=neil.parkwaycc.co.uk@myrealbox.com 2004-12-04 21:10:36 +00:00
smontagu%smontagu.org
3837ec61c8 Add null check to params in nsStringBundle::GetStringFromName() and nsStringBundle::FormatStringFromName(). Bug 268832, r=jshin, sr=neil. 2004-11-10 21:36:38 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bsmedberg%covad.net
255960bb10 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz 2004-03-09 19:59:09 +00:00
timeless%mozdev.org
5c9e816695 Bug 236240 strres-test.js references chrome:/navigator/content/ which is bad
r=neil
not part of the build
2004-03-03 15:41:06 +00:00
tor%cs.brown.edu
bbf2ef596f Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron
2004-02-07 02:41:10 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jshin%mailaps.org
6ece9f55bf bug 195093 : modernize nsILocale (r=smontagu, sr=darin) 2003-10-30 05:04:45 +00:00
cbiesinger%web.de
0955b41b29 Bug 218645
string bundles: use setcontenttype after ::open
r=bz sr=darin
2003-09-13 21:20:35 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org
58164df36e Move chrome files from xpcom to intl.
Bug #214690 r=dougt sr=darin a=asa
2003-08-14 21:25:18 +00:00
jaggernaut%netscape.com
bc1e297cd9 Missed some stuff 2003-07-20 08:39:31 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
d64d467c07 Bug 212114: FormatStatusMessage broken for aStatusArg with more than two args. r=darin, sr=dbaron 2003-07-09 05:08:25 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
seawood%netscape.com
fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
bzbarsky%mit.edu
784c37bc14 That last checkin was bug 192522, r=alecf, sr=darin 2003-02-22 19:09:58 +00:00
bzbarsky%mit.edu
e45b3bba03 Just set the MIME type on the stringbundle channel after calling Open(). We
don't need necko to sniff the type.
2003-02-22 19:09:04 +00:00
dbaron%dbaron.org
3ea0dc57d4 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
alecf%netscape.com
6149e533ed oops, fix warning caused by last checkin, by just reordering the initializers 2002-11-05 07:03:47 +00:00
alecf%netscape.com
8949dcdc59 fix for bug 177990, r=tao, sr=sfraser, a=blizzard
fix string override enumeration, so that embeddors can override strings which are accessed via getSimpleEnumerator()
2002-11-05 07:02:07 +00:00
alecf%netscape.com
ddd2411b69 fix for bug 172004 - provide a mechanism for embeddors to override specific strings in any string bundle with a single "string manifest" file.
r=tao, sr=sfraser, a=asa
2002-10-14 19:06:27 +00:00
alecf%netscape.com
31f48ac541 bug 169498 - combine i18n libraries into one. sr=bryner, r=ftang 2002-09-24 21:50:05 +00:00
alecf%netscape.com
8fa8387ee0 final not-part-of-build changes for bug 169498
add final constructors and fix the combined module to cover all 5 modules
2002-09-18 20:44:38 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
alecf%netscape.com
2dded12ab7 fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
seawood%netscape.com
3cc9c5e53c Removing old unused module prefix files.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls
2002-08-14 23:09:28 +00:00
seawood%netscape.com
8e930f4610 Use shared prefix files instead of old module specific ones.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls
2002-08-14 23:07:41 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
darin%netscape.com
42b95e93bf fixes bug 159583 - simple string bundle optimization
r=yokoyama sr=alecf a=asa
2002-07-27 00:46:21 +00:00
alecf%netscape.com
5f2d1b47c1 final fix for bug 125617 - make the charset detectors use the category manager rather than the registry
and make extensible bundles use the category manager as well
r=dougt, sr=dveditz
2002-07-09 00:07:09 +00:00
seawood%netscape.com
c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
dbaron%fas.harvard.edu
241f60a176 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dbaron%fas.harvard.edu
59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
ccarlen%netscape.com
f07bc3f6b9 Bug 96525 - Delay loading of strres dll when setting profile. r=tao@netscape.com/sr=alecf@betscape.com 2002-02-07 14:41:36 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com
28b3772942 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
2002-01-30 06:04:29 +00:00
dougt%netscape.com
c50ca402ad 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
2002-01-29 21:22:13 +00:00
dougt%netscape.com
849d297364 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
2001-12-19 00:12:41 +00:00
jaggernaut%netscape.com
e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
ccarlen%netscape.com
58b83da07b Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:35:08 +00:00
ccarlen%netscape.com
b564bb181b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
leaf%mozilla.org
8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
dp%netscape.com
febdeb1293 Adding function timer. Only for timeline 2001-11-26 22:26:39 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com
55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
tao%netscape.com
648538ee00 report ui language and country code in test program (not part of client). 2001-11-09 22:57:30 +00:00
alecf%netscape.com
cecb3a7e32 fix for bug 108314 - fix crash in nsStringBundle::GetSimpleEnumeration by loading the string bundle before starting the enumeration
sr=blake
(simple fix, no r= because I wanted to get this in before the smoktests monday)
2001-11-05 02:33:16 +00:00
jaggernaut%netscape.com
3f00f5a8dc Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-11-03 05:46:51 +00:00