538 Commits

Author SHA1 Message Date
waterson%netscape.com
531e932346 Bug 102534. Serialize default namespace properly on typed nodes. Patch submitted by tingley@sundell.net, r=shaver, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104336 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:54:04 +00:00
sspitzer%netscape.com
797b156425 more changes for #102037. use GetValueConst() instead of GetValue() where possible to avoid
strdups().

r=waterson, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104334 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:53:14 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
sspitzer%netscape.com
fa20057019 fix for #102037. use GetValueConst() instead of GetValue() to avoid strdups.
r,sr=waterson, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104167 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:01:58 +00:00
harishd%netscape.com
1c4e4c74ec 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.


git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
3f8ee6abf7 Bug 97775. Modify serializer to emit typed nodes when appropriate; patch courtesy tingley@sundell.net, r=shaver, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@103639 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:31:05 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
rjesup%wgate.com
23c9a74723 Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@102805 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
mkaply%us.ibm.com
17e9e184bf #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102738 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:50:35 +00:00
dp%netscape.com
ec2d360be6 Bug 94366 Reducing url object creations by not converting urls schemes
that done need conversion to absolute. r,sr=waterson


git-svn-id: svn://10.0.0.236/trunk@101537 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 20:09:20 +00:00
cls%seawood.org
3b8b92a2e8 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
waterson%netscape.com
b1ab07b415 Bug 90972. Add missing |scriptable| attributes.
git-svn-id: svn://10.0.0.236/trunk@99817 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 21:09:09 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
vidur%netscape.com
599c0d0fe9 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
scc%mozilla.org
a3c9c27d84 bug #85271: avoid regressions by re-creating the old behavior near |nsCRT::strdup|, see bug #86316
git-svn-id: svn://10.0.0.236/trunk@97312 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 03:50:12 +00:00
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
jband%netscape.com
b5cd98ffd1 fix part of bug 83367 by fixing the crazy 'delete this' case after making a call out which could result in a reference being added. sr=vidur r=waterson,dbradley a=drivers
git-svn-id: svn://10.0.0.236/trunk@96381 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:51:29 +00:00
waterson%netscape.com
807c132ce3 Be sure to use .get() when passing nsXPIDLCString to PR_LOG().
git-svn-id: svn://10.0.0.236/trunk@95027 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 20:00:29 +00:00
waterson%netscape.com
48ef30f41f Bug 35816. Minimize size of serialized RDF/XML and improve its quality. Break parser and serializer into XPConnect-addressable components. r=hyatt, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@95026 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 19:56:28 +00:00
waterson%netscape.com
57ea6c20ad Bug 35816. Add new interfaces, not yet part of the build. r=hyatt, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@95015 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 18:48:17 +00:00
mcafee%netscape.com
aa4207c7d1 Backing out waterson to fix (78718), chrome restart blocker. Thanks to sspitzer for finding this. r=sspitzer,waterson
git-svn-id: svn://10.0.0.236/trunk@93836 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 21:11:45 +00:00
waterson%netscape.com
af2250c00e Bug 78013. Remove nsFileSpec usage. r=dougt, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@93719 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 00:03:39 +00:00
waterson%netscape.com
bb4d25ff95 Bug 74448. Fix acceptable URI schemes using table-driven implementation. r=dmose, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@93349 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:12:10 +00:00
mkaply%us.ibm.com
e6a66fd152 Don't need to make this change if pref isn't in
git-svn-id: svn://10.0.0.236/trunk@92829 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com
67e6695988 OS/2 TB bustage
OS/2 only change needed with the OS/2 change to nsCom.h


git-svn-id: svn://10.0.0.236/trunk@92789 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 03:45:19 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
waterson%netscape.com
5a0c204b43 Another wild stab at fixing ports bustage.
git-svn-id: svn://10.0.0.236/trunk@91281 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 09:09:58 +00:00
waterson%netscape.com
1ef6e620b4 Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
git-svn-id: svn://10.0.0.236/trunk@91251 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:00:08 +00:00
waterson%netscape.com
e8c59a53f6 Bug 71530. Put the wraps on the RDF outliner for now. Implement 'natural order' sorting. Also, fix off-by-one in the enumerator. r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90695 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:42:49 +00:00
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
waterson%netscape.com
b73433a6f5 Bug 15586. Call nsIRDFXMLSinkObservers on synchronous load, too. r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87430 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 03:31:24 +00:00
waterson%netscape.com
14c9594720 Add logging instructions.
git-svn-id: svn://10.0.0.236/trunk@87226 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:34:30 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
waterson%netscape.com
488d76f2ec Bug 57360. Handle non-ASCII characters as IDs and for document URLs. r=rjc, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83148 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:45:56 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00