47 Commits

Author SHA1 Message Date
sspitzer%netscape.com
a9ac48d020 fix for 15483. return an error when we are about to return the default value for a pref that hasn't been initialized. r=putterman. mail sent to netscape.public.mozilla.xpfe and to various XUL / JS authors who may be affected by this change.
git-svn-id: svn://10.0.0.236/trunk@55786 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:49:19 +00:00
alecf%netscape.com
5eb28b95bc add new unicode-friendly pref accessors
(prefs will be stored in UTF8)
preparation for #20405, r=nhotta


git-svn-id: svn://10.0.0.236/trunk@54988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:18:24 +00:00
pinkerton%netscape.com
54aadbcdf0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@54637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:12:08 +00:00
dp%netscape.com
5aaa3eaf10 Adding pref classname
git-svn-id: svn://10.0.0.236/trunk@54055 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:33:09 +00:00
norris%netscape.com
01fb538344 * Modify nsIPref to support security policy work.
r=neeti@netscape.com
* Close security holes by tightening prefs.
r=mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@53308 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:50:18 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
alecf%netscape.com
9475f372be define the PROGID and declare the enums in IDL
git-svn-id: svn://10.0.0.236/trunk@47273 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:09:28 +00:00
briano%netscape.com
1be96e2703 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47265 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 02:51:42 +00:00
neeti%netscape.com
09e423faf4 implemented ResetPrefs feature
git-svn-id: svn://10.0.0.236/trunk@44980 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 05:19:29 +00:00
vidur%netscape.com
cb989d08ff Added nsIPref::GetPrefType.
git-svn-id: svn://10.0.0.236/trunk@44756 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:05:04 +00:00
mccabe%netscape.com
91543218bc First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.


git-svn-id: svn://10.0.0.236/trunk@43988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:54:47 +00:00
mccabe%netscape.com
1999447bdb Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.


git-svn-id: svn://10.0.0.236/trunk@42960 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 12:18:01 +00:00
mcmullen%netscape.com
f5e5ff2fe2 Use nsIFileSpec. Also added ReadUserPrefs() method.
git-svn-id: svn://10.0.0.236/trunk@35361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:55 +00:00
mcmullen%netscape.com
ead627bdd4 Has been idlized
git-svn-id: svn://10.0.0.236/trunk@34834 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:48:21 +00:00
ducarroz%netscape.com
0cc1cdced0 remove nsIPref.h as it know generated and installed by xpidl.
git-svn-id: svn://10.0.0.236/trunk@33592 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:35:41 +00:00
chuang%netscape.com
4a147a3a33 Port PREF_CreateChildList and PREF_NextChild into nsIpref.
git-svn-id: svn://10.0.0.236/trunk@33590 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:25:25 +00:00
sspitzer%netscape.com
862fc98636 cast to remove compiler warnings. use PL_strlen() instead of strlen()
rename index to indx to prevent shadow warnings on Linux.


git-svn-id: svn://10.0.0.236/trunk@33566 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:15:38 +00:00
mcmullen%netscape.com
40e8a964a4 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp)
git-svn-id: svn://10.0.0.236/trunk@33533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:15:53 +00:00
mcmullen%netscape.com
79b29b038e Implemented XP default prefs
git-svn-id: svn://10.0.0.236/trunk@33443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:34:20 +00:00
mcmullen%netscape.com
58f92b73a7 Removed some "obsolete" functions.
git-svn-id: svn://10.0.0.236/trunk@33441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:30:21 +00:00
bruce%cybersight.com
fd958b07e4 The include guard name changed with the conversion of nsIPref to xpidl. This file needed to be updated for that. Should fix the OSF/1 build.
git-svn-id: svn://10.0.0.236/trunk@33268 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 18:48:56 +00:00
alecf%netscape.com
2510376d81 I forgot to make this interface scriptable
git-svn-id: svn://10.0.0.236/trunk@33187 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:04:19 +00:00
alecf%netscape.com
71447ceef1 turn on XPConnect for nsIPref
git-svn-id: svn://10.0.0.236/trunk@33162 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:03:40 +00:00
alecf%netscape.com
38f7a21ce8 make nsIPref scriptable, and turn on XPIDL compiling on unix
(windows is on the way)


git-svn-id: svn://10.0.0.236/trunk@33161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:01:07 +00:00
mcmullen%netscape.com
1f9e08b3dd Prefs API changed to use filespecs instead of string paths. Added Get/SetFilePref. Cleaned up the API so that StartUp() does not need to be called.
git-svn-id: svn://10.0.0.236/trunk@28550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:04:35 +00:00
alecf%netscape.com
7f7ba9dfe8 oops, forgot to make this function pure virtual, broke mac
git-svn-id: svn://10.0.0.236/trunk@27049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:15:25 +00:00
alecf%netscape.com
eb4d499266 add ClearUserPref() to the nsIPref interface (needed for mail/news work)
git-svn-id: svn://10.0.0.236/trunk@27047 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:58:50 +00:00
mcmullen%netscape.com
ac2144507d I changed prefapi.h to use prtypes instead of the obsolete XP_ things.
git-svn-id: svn://10.0.0.236/trunk@26079 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:17 +00:00
mcmullen%netscape.com
51c1e27379 Added tree management methods, and also changed to use the NSPR types instead of obsolete XP_ types. Added some consts.
git-svn-id: svn://10.0.0.236/trunk@26075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:13 +00:00
hshaw%netscape.com
e0f00f3b97 use NS_DEFINE_STATIC_IID_ACCESSOR macro
git-svn-id: svn://10.0.0.236/trunk@24880 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:08:05 +00:00
hshaw%netscape.com
7791b67a3a Replace NS_DECLARE_CID with NS_DEFINE_IID for kIPrefIID and KPrefCID
git-svn-id: svn://10.0.0.236/trunk@23560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:33:18 +00:00
alecf%netscape.com
d259eb2aad don't use old XFE icon data-related functions
git-svn-id: svn://10.0.0.236/trunk@22165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:00:28 +00:00
hshaw%netscape.com
9c1144dc6e Conditionally compile PrefChangedFunc typedef (which temporarily needs to defined in two header files) so DEC compiler is happy
git-svn-id: svn://10.0.0.236/trunk@18897 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:51:22 +00:00
mcmullen%netscape.com
629f7e6755 These include fixes of crashing bugs that were in the Nova tree and made since the last merge point (April 98), along with some bug prevention efforts, such as unobfuscating the return types. For example, some JSBools were being simply cast to a return value of "int", reversing their sense (success = JS_TRUE = 1 != 0)! In a world where everybody returns "int", the hidden bug is king.
git-svn-id: svn://10.0.0.236/trunk@17640 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:32:09 +00:00
cyeh%netscape.com
79654fb86d Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@15084 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:34:32 +00:00
leaf%mozilla.org
281d42392a Landing the XPCOM_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@14474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:29:18 +00:00
cyeh%netscape.com
382fa764f3 checkin files with conflicts to fix
git-svn-id: svn://10.0.0.236/trunk@14087 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:50:06 +00:00
cyeh%netscape.com
4544703e9d flip #ifdef logic to allow for NSPR1.0 compatibility
git-svn-id: svn://10.0.0.236/trunk@13111 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 20:17:22 +00:00
cls%seawood.org
7904be8420 Removed the unused PREF_AlterSplashIcon(). This removes the xfe dependency from libpref. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@13087 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 08:31:54 +00:00
warren%netscape.com
7a2a400559 Adding for OJI (adapted from the raptor interface).
git-svn-id: svn://10.0.0.236/trunk@12765 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:08:31 +00:00
cyeh%netscape.com
24bc22fe14 removing obsolete files. use MANIFEST instead.
git-svn-id: svn://10.0.0.236/trunk@11913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:42:02 +00:00
cls%seawood.org
4288391d23 AUTOCONF_1_0 landing.
git-svn-id: svn://10.0.0.236/trunk@8198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:42:14 +00:00
spider
f7bedbedd5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:21:28 +00:00
scc
611382fedf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3268 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 22:51:07 +00:00
sfraser
4d3a73a6a0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2231 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:14:17 +00:00
sar
4292b1f9d5 change MOZ_SRC references to DEPTH
git-svn-id: svn://10.0.0.236/trunk@476 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-21 21:38:43 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00