Commit Graph

40678 Commits

Author SHA1 Message Date
sspitzer%netscape.com
167e2ad607 clean up a bunch of code by using nsCOMPtrs and the almighty NS_WITH_SERVICE macro. 1999-09-13 07:37:05 +00:00
sspitzer%netscape.com
8675ea5ec8 if GetDirFromPref() failed, we use the old profile directory path to determine the old directory. save that in the premigrated version of the pref, because we will need that during actual pref migration. if we don't do this, premigrated.foo is left blank, because foo was not set. 1999-09-13 07:21:36 +00:00
rpotts%netscape.com
111c42ebe0 Remove the socket transport from the list of active transports if an error occurs while writing the request out to the server... 1999-09-13 06:59:20 +00:00
sspitzer%netscape.com
bf5525797b fix warnings for dbragg 1999-09-13 06:26:18 +00:00
pollmann%netscape.com
d8d1504d60 Fix for bug 10013 - Call the JS onclick event handlers when the DOM click method is invoked on an input element. 1999-09-13 06:22:40 +00:00
pollmann%netscape.com
13244b3237 Leak fix. 1999-09-13 06:18:09 +00:00
cls%seawood.org
ea33748c0d Add -D_BSD_SOURCE to defines for linux until prinet.h includes __STRICT_ANSI__ patch 1999-09-13 06:10:18 +00:00
sspitzer%netscape.com
8ee819b718 added files: mozilla/profile/pref-migrator/public/nsIPrefMigration.idl 1999-09-13 05:52:26 +00:00
sspitzer%netscape.com
073edb9cac XPIDL-ify nsIPrefMigration, and the necessary changes that go along with that. 1999-09-13 05:52:18 +00:00
cls%seawood.org
fd901c54d0 Must put .c source files in CSRCS. 1999-09-13 05:49:20 +00:00
bienvenu%netscape.com
c838ec9958 one more try to create imap parent directories 1999-09-13 05:27:20 +00:00
cls%seawood.org
9403bee785 Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h> 1999-09-13 05:09:53 +00:00
troy%netscape.com
0cb7fe2f83 Eliminated compiler warning 1999-09-13 04:45:43 +00:00
sspitzer%netscape.com
5a12798f0f new files resulting from XPIDL-ifying nsIPrefMigration.
NOT PART OF THE BUILD YET.
1999-09-13 04:23:31 +00:00
pavlov%netscape.com
aba82a000c remove debugging code 1999-09-13 04:22:43 +00:00
pavlov%netscape.com
a364af92cc fix for bug 9828 1999-09-13 04:21:02 +00:00
pavlov%netscape.com
8d83bdd6f4 CopyClipRegion code for other platforms 1999-09-13 03:53:47 +00:00
pavlov%netscape.com
66e73b18eb make things use NS_GET_IID macros and DECL_ISUPPORTS1 macro. added a CopyClipRegion method 1999-09-13 03:42:37 +00:00
pavlov%netscape.com
3ea05ab63b remove warning 1999-09-13 03:40:34 +00:00
beard%netscape.com
066b7b0cfe using generic factory for nsViewManager creation, removed extraneous calls to AddRef/Release of created views. 1999-09-13 03:34:56 +00:00
troy%netscape.com
19fc1e01af Added support for incremental table painting 1999-09-13 03:19:39 +00:00
buster%netscape.com
d94b3e63a0 fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.
1999-09-13 03:15:23 +00:00
beard%netscape.com
a74068ad1e switched to NS_DEFINE_STATIC_IID_ACCESSOR 1999-09-13 03:04:17 +00:00
beard%netscape.com
8fb6ba40fc switched to NS_DEFINE_STATIC_IID_ACCESSOR, removed extraneous AddRef, Release declarations. 1999-09-13 03:03:42 +00:00
pavlov%netscape.com
9cd324db7c new file. not built. work in progress. 1999-09-13 02:23:47 +00:00
jfrancis%netscape.com
c2e69d3f1c temp build fix - bienvenu needs to fix this for real 1999-09-13 01:24:09 +00:00
sspitzer%netscape.com
dd8d913ed5 use #defines where possible to clean up the code, reduce the risk of errors,
and make the code more portable.
create directories with 00700 permissions, not PR_RDWR.  On UNIX, PR_RDWR would
create directories with d______r__. 00700 gives us drwx______ which is want we
want.  change the signature of ProcessPrefs() so that we just return the result,instead of
setting an out parameter.  remove ComputeMailPath(), it is unused.
instead of doing PR_MALLOC in the beginning, set char *'s to nsnull, and use
PR_smprintf() and CopyCharPref() to allocate the memory.  (the PR_FREEIF()s
are still correct, though.)
use NS_SUCCEEDED() and NS_FAILED() instead of comparing against NS_OK directly.
don't execute the GetSizes(), GetDriveName() and CheckForSpace() methods
on UNIX, as they are not UNIX friendly.  hold onto the nsIFileSpec that points
to the prefs file, so we can save it when we are done using SavePrefFileAs()
Change the signature of GetDirFromPref() and GetDriveName().  The out parameters
were char *'s.  they need to be char **'s for them to work.
Change GetDirFromPref() to also take the oldProfilePathStr and the new directory leaf name.
These are used on UNIX, where we to do some magic because in
4.x the directory structure on UNIX was much different that on Mac and Windows
fix leak in GetDriveName().  we were leaking *driveName in the loop.
initialize variables.
add some printfs to remind me that there is more todo.
fix various comments to reflect the new signatures to methods.
check parameters of GetDirFromPref() and GetDriveName()
1999-09-13 00:10:13 +00:00
davidm%netscape.com
a532bc65a5 fixes to get the select dialog working 1999-09-12 23:51:51 +00:00
davidm%netscape.com
dfd7942c3a fix some wrong labels. 1999-09-12 23:49:13 +00:00
sspitzer%netscape.com
6a0c45dcdd on UNIX, try to use the premigration.news.directory first when looking for .newsrc files. this is needed for migration to work on UNIX. right now, -installer will not copy your .newsrc files into your <profile>/News directory (like the other platforms.) so if you've run -installer, premigration.news.directory will be set and will point to your .newsrc files. if you haven't run it, and are just copying a prefs.js file, it will use news.directory, which is correct too. 1999-09-12 23:38:53 +00:00
bienvenu%netscape.com
8f3a014420 fix mac build bustage 1999-09-12 22:58:43 +00:00
ftang%netscape.com
d076091d3a add unicode to langbox arabic font encoding converter incomplete 1999-09-12 22:43:49 +00:00
bienvenu%netscape.com
4f5af29de4 return error from writing out folder cache if any, add code to turn off rdf notifications 1999-09-12 21:36:51 +00:00
bienvenu%netscape.com
a58a7b9307 create parent directories if they don't exist 1999-09-12 21:35:30 +00:00
bienvenu%netscape.com
254d9aff06 fix solaris build bustage 1999-09-12 18:34:26 +00:00
bienvenu%netscape.com
41e8dfb284 pass uid of message read to finish message loading notification 1999-09-12 18:27:19 +00:00
bienvenu%netscape.com
d9762ab44c move message sink to idl 1999-09-12 17:49:08 +00:00
bienvenu%netscape.com
741212ca90 remove 1999-09-12 17:47:25 +00:00
bienvenu%netscape.com
1e341e3364 add nsIImapMessageSink 1999-09-12 17:46:36 +00:00
bienvenu%netscape.com
aaf522307b added files: mozilla/mailnews/imap/public/nsIImapMessageSink.idl 1999-09-12 17:45:42 +00:00
bienvenu%netscape.com
c462c7fc46 add idl for message sink not part of ubild yet 1999-09-12 17:31:23 +00:00
cls%seawood.org
a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
bruce%cybersight.com
3d6a5579ca Add newline to end of file to fix HPUX bustage. 1999-09-12 16:34:14 +00:00
cls%seawood.org
10e2bde3db I don't see the bustage that the tinderbox does but this should fix it. 1999-09-12 15:54:18 +00:00
cls%seawood.org
df864f92e9 Argh. Our dependencies are screwed so make .o depend upon Makefile.in temporarily 1999-09-12 15:15:52 +00:00
cls%seawood.org
526990149a Ooops. Who remove the config.mk include? 1999-09-12 14:53:56 +00:00
briano%netscape.com
3c9ad8d901 Automated update 1999-09-12 14:31:04 +00:00
cls%seawood.org
adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
cls%seawood.org
3d00d0c683 Oops. C++ comments in a C progam is not allowed. 1999-09-12 14:07:51 +00:00