Commit Graph

40 Commits

Author SHA1 Message Date
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
b88a632571 Bug 577918 - mark DEBUG only variables as ifdef DEBUG in parser r=mrbkap a=jst 2010-07-11 15:55:52 +03:00
Ehsan Akhgari
e5cca420ee Bug 593758 - Part 2: unit tests for the plaintext serializer; r=bzbarsky a=blocking-betaN+ 2010-10-13 01:34:20 -04:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap@gmail.com
6d8d9d0d31 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
mrbkap@gmail.com
6d25fd2467 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst 2006-01-26 19:07:41 +00:00
darin@meer.net
41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
roc+@cs.cmu.edu
6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
peterv@propagandism.org
1ed76a83d6 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
timeless@mac.com
d5d544d503 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
dougt@netscape.com
00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
darin@netscape.com
9808f7ca98 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf@netscape.com
4bcfcad1ba bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
dougt@netscape.com
c3e0a303eb 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
dbaron@fas.harvard.edu
004cf1e6eb Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt@netscape.com
32ebf7f11f 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
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jaggernaut@netscape.com
a29a08f141 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
Peter.VanderBeken@pandora.be
4d06fc278c Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
akkana@netscape.com
ac6d223758 61757: fix a character type problem. Fix provided by Charles Hannum <mycroft@netbsd.org>, r=me, sr=sfraser 2001-02-14 01:23:23 +00:00
harishd@netscape.com
b4b63d2acb Made parser nodes arena allocated. Also, fixed a few potential leaks.
Note: Parser nodes could be heap allocated by enabling HEAP_ALLOCATED_NODES flag.
r=jst
sr=vidur
2001-01-25 19:37:23 +00:00
vidur@netscape.com
5d0ca658ca Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst 2000-12-12 21:58:14 +00:00
jst@netscape.com
ac4808dda8 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
mcafee@netscape.com
be3b174a80 Patch #2 to get solaris building (50876). code=harishd, r=jst,mcafee, a=heikki 2000-08-31 22:08:07 +00:00
mcafee@netscape.com
dc4c97490a Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee, a=leaf 2000-08-31 17:23:22 +00:00
cls@seawood.org
1ff76ec650 Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
mjudge@netscape.com
13abfd0646 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
akkana@netscape.com
568713bea6 More on 19428: fix the output tests on windows. r=cmanske, a=rickg. 2000-02-25 01:09:37 +00:00
akkana@netscape.com
caf9edb94f Add a printf to the failure case. Trivial change, and no one but me is running this anyway. 2000-01-19 00:24:46 +00:00
pinkerton@netscape.com
4d242c4fbc fixing bug 21414 the right way, reverting api's to their previous ways. 2000-01-10 23:04:24 +00:00
pinkerton@netscape.com
53037a7576 fixing bustage. 2000-01-08 02:15:33 +00:00
akkana@netscape.com
ac4447978f Contribution by Daniel Bratell <bratell@lysator.liu.se> to implement
format=flowed for mail plaintext output.  Restructures the plaintext
output wrapping code, wholly or partially fixes numerous bugs in plaintext
output (13278, 13442, 17823, 17824, 13753, 12551), makes the automated
tests work on Windows and adds some new automated tests. r=akkana.
1999-11-03 02:44:44 +00:00
dveditz@netscape.com
e4c61f2088 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
akkana@netscape.com
14ee4f46b4 Automated tests of output. Not part of apprunner, not built by default.
Fix Compare() function;
add lots of before and after files for testing various regressions;
add a TestOutSinks script which tests the known cases.
1999-10-01 20:55:01 +00:00
akkana@netscape.com
3a26a8c64d Many changes to make output test really useful. Fix Windows makefile. Add some sample test input files 1999-09-29 20:11:07 +00:00
akkana@netscape.com
d8c08c537b Pass formatted flag along in plaintext case 1999-09-20 21:06:29 +00:00
akkana@netscape.com
0aba5e7f9a Call the test program outtest instead of Convert; fix some of the debug prints 1999-09-17 20:09:42 +00:00
akkana@netscape.com
a0822b5969 The test builds and works now, with autoreg help from dp 1999-09-14 22:43:18 +00:00
akkana@netscape.com
b100790ce8 Standalone test of output sinks. Builds, but doesn't quite work yet because the charset service isn't registered 1999-08-27 20:58:57 +00:00