Commit Graph

420 Commits

Author SHA1 Message Date
slamm%netscape.com
bf503710b1 Landing of SIDEBAR_19991007_BRANCH. r=waterson 1999-10-18 19:21:52 +00:00
sspitzer%netscape.com
5344853105 remove unused variablable to fix a couple warnings. 1999-10-15 04:33:21 +00:00
neeti%netscape.com
a257a77a11 Converted to use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=sspitzer 1999-10-15 04:06:43 +00:00
sspitzer%netscape.com
cb3b669f7b fix for #14892, automatically migrate if we only have one 4.x profile and no 5.0 profiles.
r=mscott.
1999-10-15 01:38:54 +00:00
alecf%netscape.com
0fa5cd6df4 update new image names in all XUL, JS, and CSS 1999-10-13 04:26:01 +00:00
norris%netscape.com
e8f0b53250 Needed for 7254: Implement DOM security
reviewed by Ben Goodger <rgoodger@ihug.co.nz> and Seth Spitzer <sspitzer@netscape.com>

Scripts running from chrome are considered super privileged and can perform operations that
scripts from the web cannot. I differentiate chrome scripts from web
scripts by considering all scripts loaded from chrome: URIs to be
privileged.

The problem I'm running into is that the loading of relative urls in
this code ends up going to the file: protocol (which is what the chrome
protocol is converted to internally). This change makes sure we load
from the chrome protocol so that the scripts are privileged and don't
get access errors. It's probably a good idea to load from the chrome
protocol anyway since it may one day be resolved to extracting from a
JAR file rather than accessing a discrete file.
1999-10-12 22:47:36 +00:00
rjc%netscape.com
a0d87839ca [performance] When profile manager is being used, don't read in bookmarks twice... by deferring hiddenwindow.xul loading until after profile manager is done. Review: danm and sspitzer 1999-10-12 22:20:28 +00:00
waterson%netscape.com
8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
waterson%netscape.com
8861c4ceab Initial revision. Not in build. 1999-10-08 21:15:21 +00:00
sspitzer%netscape.com
f4e7706dc3 more clean up. #15402. 1999-10-08 07:58:54 +00:00
sspitzer%netscape.com
65686e242a temporary printfs to help me debug the elusive #15792 that only bijals is seeing 1999-10-08 07:12:21 +00:00
sspitzer%netscape.com
cd58bc6a1e just checking in comments. resizeToContent() makes the "Create Profile Wizard"
take up the whole screen.  (bug logged on danm already.)
1999-10-08 06:50:26 +00:00
sspitzer%netscape.com
da79f92455 when renaming a profile, and renaming the profile directory on disk,
don't do a copy and delete.  just rename the directory.
r=davidm, #15402
1999-10-08 05:41:40 +00:00
sspitzer%netscape.com
75a28423e0 fix build bustage on windows. 1999-10-08 05:14:48 +00:00
sspitzer%netscape.com
e6fa7cbcf2 more clean up of the profile code. #15402, r=davidm
make profileExists() part of the nsIProfile interface, so I can
get at it from JS.  startCommunicator is now startApprunner.
get RenameProfile() and DeleteProfile() to work better.
make the delete profile dialog size to content.
change the 2nd arg of DeleteProfile() to be a bool, and not a string.
use MakeUnique() to prevent undesired collisions of profiles on disk.
1999-10-08 04:58:32 +00:00
sspitzer%netscape.com
4954520feb don't specify the width and height, so the dialog resizes to content. 1999-10-08 00:17:22 +00:00
sspitzer%netscape.com
9c9c732de8 add new line to the end of the file. 1999-10-07 22:05:53 +00:00
sspitzer%netscape.com
b693e773fa more clean up for #15402. disable the rename, delete and start buttons
if no profile is selected, and enable them when a profile is selected.
turn dumps into alerts to tell the user why something failed.
1999-10-07 09:41:33 +00:00
sspitzer%netscape.com
cca4758400 last touches to finally get Cancel (from the Create Profile Wizard) and Exit
(from the Profile Manager) to work properly.
1999-10-07 09:15:25 +00:00
sspitzer%netscape.com
38f906b0c6 minor cleanup of the profile js. #15402 1999-10-07 09:03:07 +00:00
sspitzer%netscape.com
95dbb5ec69 add documentation and fixes from Ben Goodger <rgoodger@ihug.co.nz>
also add the mozilla license.  r=sspitzer.
1999-10-07 08:47:16 +00:00
sspitzer%netscape.com
ed4d98a30f more fixes for #15402, general cleanup of the profile code. Close button is now Exit. remove GetSingleProfile(), use GetFirstProfile() instead. Add ForgetCurrentProfile() for use in getting cancel to work properly. 1999-10-07 06:57:38 +00:00
sspitzer%netscape.com
275b4ab2b4 add an alert if there is no profile name. bug #15402 1999-10-07 00:55:51 +00:00
sspitzer%netscape.com
20bca0f146 workaround fix for #15728. r=alecf. prevent crashing when I click on the tab in the create profile wizard. 1999-10-07 00:24:44 +00:00
sspitzer%netscape.com
4404653cbb whoops, checked in dos formatted text files from a unix box. ran dos2unix on them to fix it. part of fix for #15402. these new files come from Ben Goodger <rgoodger@ihug.co.nz> r=sspitzer 1999-10-06 23:19:53 +00:00
sspitzer%netscape.com
1bed00905f remove references to xul.css, as it is no longer needed. 1999-10-06 22:07:29 +00:00
sspitzer%netscape.com
d883133813 remove unused code, now that CreateNewProfile() takes two arguments 1999-10-06 21:52:02 +00:00
sspitzer%netscape.com
5123dfc1be fix the create profile wizard ui.
this work was done by the almighty Ben Goodger <rgoodger@ihug.co.nz>
r=sspitzer
I did a little clean up, and made it so show the native file path
1999-10-06 21:36:59 +00:00
sspitzer%netscape.com
99b9fee060 fix for #15610, alert on failure to rename or delete a profile. r=mscott 1999-10-05 20:49:09 +00:00
sspitzer%netscape.com
2cef50a377 remove work around for #15458. that bug has been fixed.
gayatrib and I both tested it.
1999-10-05 20:47:41 +00:00
sspitzer%netscape.com
1ac6e0f8b1 fix for #15578, r=mscott, a=granrose
properly migrate the bookmarks file on windows.
1999-10-05 18:10:20 +00:00
sspitzer%netscape.com
65550b4fb1 added files: mozilla/profile/src/nsProfileFactory.cpp 1999-10-05 05:20:58 +00:00
sspitzer%netscape.com
be108fd1e8 fix for #15262, r=mscott
break apart the profile factory from nsProfile.cpp and put it into nsProfileFactory.cpp
also, apply dp's patch to use nsIModule.  r=sspitzer
1999-10-05 05:20:45 +00:00
sspitzer%netscape.com
e3cdd7da27 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
morse%netscape.com
da525ed2ee oops -- I carelessly left out a carriage return in my last checkin 1999-10-04 21:07:01 +00:00
morse%netscape.com
bca9fba5b6 fix profile-manager bustage in todays build, checked in by request of leaf 1999-10-04 20:59:16 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
sspitzer%netscape.com
fd592cb480 remove unused files 1999-09-29 04:10:16 +00:00
sspitzer%netscape.com
8eea950be5 ignore generated makefiles 1999-09-29 04:09:01 +00:00
sspitzer%netscape.com
9bd69cb663 fix resources for the profile migration dialog. 1999-09-29 04:07:12 +00:00
sspitzer%netscape.com
d05d75212c fix resources for the profile migration dialog. remove unused files. 1999-09-29 04:03:15 +00:00
sspitzer%netscape.com
172d571968 removing unused files, this directory is going away. 1999-09-29 03:11:05 +00:00
shaver%netscape.com
7a5b9d5e55 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
sspitzer%netscape.com
bc1ccb9b9a finish renaming and moving all the profile xul, js and dtd files.
fix regression with Rename and Delete.  (they work again.)
1999-09-28 22:50:50 +00:00
sspitzer%netscape.com
f56dd885dc adding new files. 1999-09-28 21:28:57 +00:00
gayatrib%netscape.com
8757bf2b58 profile ui dtd file 1999-09-28 20:37:16 +00:00
gayatrib%netscape.com
959d32bccc profileManager dtd file 1999-09-28 20:34:32 +00:00
gayatrib%netscape.com
e78dd7069d createProfileWizard dtd file 1999-09-28 20:33:45 +00:00
gayatrib%netscape.com
9936a0a3bf makefile 1999-09-28 19:20:50 +00:00