Commit Graph

68 Commits

Author SHA1 Message Date
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
cbiesinger%web.de
a5818a3a77 170852 patch by yokoyama@netscape.com r=shanjian sr=roc+moz Remove #ifdef MOZ_UNICODE and MOZ_AIMM (no makefile changes yet)
git-svn-id: svn://10.0.0.236/trunk@141447 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 12:20:18 +00:00
danm%netscape.com
69aa964c1b suppress blur events to parent widget. bug 68454 r=bryner,jst,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@138364 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 20:15:48 +00:00
timeless%mozdev.org
2c53ea663b Bug 80242 "Save As" doesn't check that the directory exists
patch by law r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@136674 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 15:19:45 +00:00
dbaron%dbaron.org
6ed727cbe8 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@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +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
yokoyama%netscape.com
5f5065be41 Bug 170969,104934,171228,170707
#ifdef MOZ_UNICODE fix
Affect in //widget/src/windows only
/r=shanjian;/sr=kin;/a=asa


git-svn-id: svn://10.0.0.236/trunk@132107 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 23:28:18 +00:00
sspitzer%netscape.com
ce63ba88d5 fix for bug #170993. MOZ_UNICODE got defined on me, so my fix for multiple
open mode needs to be ported for the unicode case.  r=yokoyama, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@130542 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:04:06 +00:00
sspitzer%netscape.com
338e973d44 supplimental fix for #43015 / #121122. wcyeh@zydas.com.tw points out that
certain directory names (like "1234") don't come with a trailing slash
where most others do.  r/sr=bienvenu a=asa.


git-svn-id: svn://10.0.0.236/trunk@129151 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 06:32:51 +00:00
yokoyama%netscape.com
140fc30607 Bug 162362
making unicode mozilla to run under Win9x OS.
Should have no impact on the current build
setting (only when #ifdef MOZ_UNICODE on)
and only gets compiled in Windows platform.
/r=shanjian, /sr=kin, /a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/trunk@129119 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-09 23:58:39 +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
sspitzer%netscape.com
cc4151498a fix for #121122 (nsIFilePicker should allow picking multiple files) and #43015 (Cannot add multiple attachment in Attach File dialog).
right now, only supported on windows.  bugs logged for mac, beos, cocoa, os/2, qnx
and the xpfilepicker (linux).

r=bz, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/trunk@129035 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:23:45 +00:00
ere%atp.fi
1ff85d2f1e Bug 80579, We call CommonFileDialog with spaces in the lpstrFilter parameter and use "*" instead of "*.*" for all files. r=timeless, sr=tor
git-svn-id: svn://10.0.0.236/trunk@128149 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:36:22 +00:00
bryner%netscape.com
9901b85357 Add the ability to filter on applications to nsIFilePicker (bug 97321). r=law, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@124737 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-07 07:21:45 +00:00
yokoyama%netscape.com
1731dce854 Bug 9449
Unicode API conversion for Windows Platforms
#ifdef MOZ_UNICODE'ed for now.
No impact unless environment variable
MOZ_UNICODE is defined.
/r=shanjian;/sr=kin


git-svn-id: svn://10.0.0.236/trunk@124569 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 00:55:47 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
jst%netscape.com
0604f64bed Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +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
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +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
ducarroz%netscape.com
8acba62b90 Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
law%netscape.com
f54f76debd Bug 120931; remember last used directory (for older versions of windows that don't do it automatically); r=cmanske, sr=ben
git-svn-id: svn://10.0.0.236/trunk@113464 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:58:55 +00:00
law%netscape.com
2013e60c16 Bug 94756; make file picker check for read-only files when saving; r=cmanske, sr=ben
git-svn-id: svn://10.0.0.236/trunk@113460 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:52:58 +00:00
ben%netscape.com
3aa22b2d35 Fix 116263, part of earlier patch reviewed by law & hewitt, but forgot to land as part of landing prior to .9.8 close.
Make the windows file picker use the specified file type index rather than hardcoded '1'.

a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@112482 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-19 07:52:23 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
ben%netscape.com
bee090c77e bug 11632 - save page with images, stylesheets, objects and applets.
r=hewitt, brade, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110356 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 04:17:26 +00:00
law%netscape.com
e8756b98a4 Bug 105151; check for ERROR_INVALID_PARAMATER and retry with empty file name (because we get that when the file name is too long); r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109910 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:26:59 +00:00
jaggernaut%netscape.com
640c7f02ab 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@106946 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 09:09:57 +00:00
law%netscape.com
da9a34a7a9 Fix for bug 100381; use OFN_NOCHANGEDIR to prevent saved-to directory from
being in-use (i.e., preventing rmdir); r=morse, sr=blake


git-svn-id: svn://10.0.0.236/trunk@105322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:32:37 +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
law%netscape.com
bb5f7810bd Fix for bug 57443; use PL_strncpyz instead of PL_strcpy to avoid buffer overrun when the default file name is really long; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@104176 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:20:39 +00:00
rjesup%wgate.com
0202c4da49 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102509 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:44:33 +00:00
rjesup%wgate.com
977fe6eac8 Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:38:20 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +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
dougt%netscape.com
5c5c39e4be Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.


git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
nhotta%netscape.com
cdf398806f Changed nsFilePicker::Show to set a larger buffer for the directory name string and make sure to free the memory returned by GetPath(),
bug 83345, r=law, sr=blizzard, a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@96453 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:30:17 +00:00
cmanske%netscape.com
3e3f14fabf Append '.html' extension when user doesn't, b=77474, r=law, sr=kin
git-svn-id: svn://10.0.0.236/trunk@94199 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 02:01:49 +00:00
dougt%netscape.com
21f01836f0 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
cmanske%netscape.com
d961d5b358 Fixed bug 66745 on Windows (saving over existing file). r=law, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85940 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 05:16:30 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
pinkerton%netscape.com
fe5e911825 restructure xp picker to better reuse filtering code. implement filtering on macOS for navServices < 2.0 (bug 43932)
git-svn-id: svn://10.0.0.236/trunk@77154 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:17:53 +00:00
ftang%netscape.com
871ddb275e fix bug 39902. check in for m_kato@ga2.so-net.ne.jp a=waterson r=ftang
git-svn-id: svn://10.0.0.236/trunk@73990 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:10:38 +00:00
law%netscape.com
545f2ef5f6 Fix for bug 43892; properly calculate unicode string length; r=matt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73272 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:30:23 +00:00
cmanske%netscape.com
2ba9df27e7 Added flag to be sure file exists when loading a file using Windows filepicker. part of fix for 43834, r&a=rods
git-svn-id: svn://10.0.0.236/trunk@73250 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:16:01 +00:00
law%netscape.com
69b71eb39d Fix for 42384; make sure to deallocate using right method; r=bryner
git-svn-id: svn://10.0.0.236/trunk@72986 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:17:03 +00:00
pavlov%netscape.com
724589f4d5 fix for unix file picker not handling null window parents bug 34328 r=brendan, slamm
fix for mailnews' file->save as dialog not saving files on unix in due to its handling of file extentions and filters.  this code now uses nsIFilePicker.  fixes nsbeta2+ bug 31096. r=mscott


git-svn-id: svn://10.0.0.236/trunk@70775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:44:10 +00:00
pavlov%netscape.com
c5dcb4d49c make defaultString a wstring instead of a string bug 39946
git-svn-id: svn://10.0.0.236/trunk@70623 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:19:00 +00:00