286 Commits

Author SHA1 Message Date
dbaron%dbaron.org
9b5780673f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136003 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:44:25 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
jgmyers%netscape.com
3061809442 fix include guard: bug 168343 r=ftang sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@131186 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:28:14 +00:00
alecf%netscape.com
d79e513119 removing files no longer part of build due to bug 169498
git-svn-id: svn://10.0.0.236/trunk@130378 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 22:09:32 +00:00
alecf%netscape.com
1f0bf33276 bug 169498 - combine i18n libraries into one. sr=bryner, r=ftang
git-svn-id: svn://10.0.0.236/trunk@130374 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 21:50:05 +00:00
shanjian%netscape.com
1e59843352 #169858 Browser--Can not login CMB website.
Suppress autodetection notification when charset source is higher.
r=jkeiser, jebak, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@130138 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 09:23:02 +00:00
alecf%netscape.com
3227a4f750 further work on bug 169498 - combine chardet, unicharutil and lwbrk into one dll
also add ns<Foo>Constructors.h to make the constructors/etc more modular
not part of build


git-svn-id: svn://10.0.0.236/trunk@129948 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 20:03:11 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
shanjian%netscape.com
5d1c227024 #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.


git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
seawood%netscape.com
5d1bcea3f4 Removing old unused module prefix files.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls


git-svn-id: svn://10.0.0.236/trunk@127296 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 23:09:28 +00:00
seawood%netscape.com
f05c312d73 Use shared prefix files instead of old module specific ones.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls


git-svn-id: svn://10.0.0.236/trunk@127295 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 23:07:41 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
alecf%netscape.com
3f0f919e44 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


git-svn-id: svn://10.0.0.236/trunk@124779 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:07:09 +00:00
shanjian%netscape.com
e920908386 #149417 Auto-detect Chinese doesn't work
Eliminate gb18030 when considering apply frequence analysis.
r=ftang, sr=jst


git-svn-id: svn://10.0.0.236/trunk@124065 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 02:10:15 +00:00
jaggernaut%netscape.com
f3e6ac1869 Bug 147720: M1RC3 crash in nsMetaCharsetObserver.cpp. r=dbaron, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@123764 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 04:12:29 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
shanjian%netscape.com
5ba5e9d53a #140234 Japanese auto-detection marks ISO-8859-15 page as Windows-1252
Don't update chatset for document if existing one is of higher priority.
r=yokoyama, sr=jst


git-svn-id: svn://10.0.0.236/trunk@122584 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:09:22 +00:00
shanjian%netscape.com
7119419d47 #132006 Traditional Chinese is detected as Simplified Chinese
This is an addition patch to deal with gb18030 broadness. If there are
only 2 verifiers left, and one of them is gb18030, we drop gb18030
and return the other one.
r=ftang, sr=scc


git-svn-id: svn://10.0.0.236/trunk@119746 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:22:07 +00:00
shanjian%netscape.com
b5f70013eb #138002 nsParser should be accept charset notification coming from low priority source
check charset source before updating parser's charset.
r=ftang, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119323 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:21:50 +00:00
harishd%netscape.com
c996b9fb65 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +00:00
shanjian%netscape.com
f4874eb280 #132006 Traditional Chinese is detected as Simplified Chinese
correct a mistake in gb18030 machine, class number is incorrect.
r=ftang, sr=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@119168 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:48:06 +00:00
dbaron%fas.harvard.edu
8a6d46ad56 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:42:00 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
shanjian%netscape.com
e37c8ef903 #125628 Auto-detect can not detect the gb18030 page above properly
This patch added a state machine for gb18030 verification. The data of
the state machine is created based on GB18030 standard, and the code was
generated by a perl script which is almost identical to rest of the perl
script that generated other header files. Rest of the code is just
adding this state machine to some charset detectors.
r=ftang, sr=shaver, a=asa


git-svn-id: svn://10.0.0.236/trunk@116509 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:47:05 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
dbaron%fas.harvard.edu
ac6b721449 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
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
harishd%netscape.com
d4204329ee ** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114537 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:28 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
shanjian%netscape.com
3356940ad2 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
bryner%netscape.com
542f74e6f9 Backing out alecf's checkin for bug 115152 as it's causing a crash on exit on optimized builds (and keeping tinderbox orange).
git-svn-id: svn://10.0.0.236/trunk@110698 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 07:09:40 +00:00
alecf%netscape.com
410ae285d6 fix for bug 115152, lots of service-manager warnings on exit. r=nhotta, sr=darin
git-svn-id: svn://10.0.0.236/trunk@110642 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:24:25 +00:00
ccarlen%netscape.com
745e58b9e6 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110224 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
6d33fa025c Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110170 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:25:12 +00:00
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
shanjian%netscape.com
5a91a5ddfc #62929 psm charset detector should tolerate char '\0'
r=yokoyama sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108651 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 00:58:48 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
dbaron%fas.harvard.edu
52bea38360 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +00:00
alecf%netscape.com
86a7f7d224 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@107076 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 06:30:34 +00:00
sfraser%netscape.com
457115228d Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106429 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:34:53 +00:00
alecf%netscape.com
91e99a93f5 Added files:
mozilla/intl/unicharutils/util/nsUnicharUtils.cpp


git-svn-id: svn://10.0.0.236/trunk@106322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:37:38 +00:00
alecf%netscape.com
6dc7d8d1e8 final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon
git-svn-id: svn://10.0.0.236/trunk@106320 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:18:09 +00:00
jaggernaut%netscape.com
56e20f9b60 Replace goto with if.
git-svn-id: svn://10.0.0.236/trunk@106159 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:29:54 +00:00
jaggernaut%netscape.com
94c710fdc4 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106158 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:22:08 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00