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
pinkerton%netscape.com
5527c2f9b6
small fix for sting conversion. no need to convert from char* to nsCString
...
git-svn-id: svn://10.0.0.236/trunk@67424 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:14:08 +00:00
ftang%netscape.com
36700bd476
fix unicode conversion problem . Check in patch proposed by m_kato@ga2.so-net.ne.jp r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@67188 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:01:23 +00:00
mjudge%netscape.com
3cd9a051da
making string conversions explicit. scc
...
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
pavlov%netscape.com
8df6302299
fix for not being able to change profile directories on windows (bug #35821 )
...
git-svn-id: svn://10.0.0.236/trunk@66365 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:55:06 +00:00
ftang%netscape.com
34376d1ac5
fix bug 35240. Use nsCString to keep mFile for now.
...
git-svn-id: svn://10.0.0.236/trunk@66363 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:49:17 +00:00
pavlov%netscape.com
bfc6ce54f1
fix for 34651 r=sfraser a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@65569 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:08:19 +00:00
pavlov%netscape.com
4f7adf4a3d
Make nsIFileURL scriptable and QueryInterfaceable. fix bug #34335 and 34328 and 34470. Minor cleanups on unix file picker dialog
...
git-svn-id: svn://10.0.0.236/trunk@65213 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:50:41 +00:00
pavlov%netscape.com
602be1d796
file picker changes
...
git-svn-id: svn://10.0.0.236/trunk@64429 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:42:45 +00:00
pavlov%netscape.com
3a587b0994
change create to init
...
git-svn-id: svn://10.0.0.236/trunk@63840 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:56:57 +00:00
pavlov%netscape.com
c5f299bb17
change create to init
...
git-svn-id: svn://10.0.0.236/trunk@63839 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:52:28 +00:00
pavlov%netscape.com
4dc31dd004
update to use new interface
...
git-svn-id: svn://10.0.0.236/trunk@63838 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 07:41:17 +00:00
pavlov%netscape.com
987c64e883
updates for filtering
...
git-svn-id: svn://10.0.0.236/trunk@63804 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:11:34 +00:00
pavlov%netscape.com
7a0c84b0d7
fix interface.. apparently it is bad to have an negative size of an array so i have to use an unsigned size
...
git-svn-id: svn://10.0.0.236/trunk@63796 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:45:46 +00:00