42 Commits

Author SHA1 Message Date
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
pavlov%netscape.com
981c4fe060 fix small problem with derefing null nscomptr... the compiler should know what I mean, not what I type!
git-svn-id: svn://10.0.0.236/trunk@63740 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 11:08:36 +00:00
pavlov%netscape.com
347f4d138c add comment
git-svn-id: svn://10.0.0.236/trunk@63737 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:28:26 +00:00
pavlov%netscape.com
6033bb3d25 make it go on windows
git-svn-id: svn://10.0.0.236/trunk@63736 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:26:22 +00:00
pavlov%netscape.com
517bb6bb0f build nsFilePicker on windows
git-svn-id: svn://10.0.0.236/trunk@63735 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 10:19:48 +00:00
pavlov%netscape.com
8269026170 file picker for the new file picker interface (not built yet)
git-svn-id: svn://10.0.0.236/trunk@63726 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 07:43:43 +00:00