Commit Graph

74500 Commits

Author SHA1 Message Date
naving%netscape.com
61c439155f 45041 r=sspitzer sr=bienvenu. Display the alert message correctly. 2001-01-05 23:07:03 +00:00
blakeross%telocity.com
f7bc22e0b4 Fix 54963: mousewheel text sizing not bounded, and lower upper bound (to 2000%). patch by Jonas Sicking (sicking@bigfoot.com). r=bryner,blake a=ben 2001-01-05 23:06:09 +00:00
sspitzer%netscape.com
bd46b43cac comment out annoying debug dump(). sr=no one 2001-01-05 23:05:50 +00:00
mkaply%us.ibm.com
d2e8035eef #62858
r=javi,wtc, sr/a=brendan
OS/2 should follow some WIN32 paths in psm-glue
2001-01-05 23:05:03 +00:00
blakeross%telocity.com
b09dbc93b9 Fix 64171: some clean-up in the cookies panel (enabling/disabling, layout). patch by H�kan Waara (hwaara@chello.se). r=jag a=ben 2001-01-05 23:00:33 +00:00
mcgreer%netscape.com
dcf2480ab4 add support for AES
reduce compiler warnings
2001-01-05 22:38:50 +00:00
mcgreer%netscape.com
ec87616c36 widespread changes to reduce compiler warnings. liberal application of const. 2001-01-05 22:37:50 +00:00
wtc%netscape.com
af6f7dd1b8 Call NSS_Init() to initialize NSS. It's not necessary to call PR_Init()
because NSPR is implicitly initialized.
2001-01-05 21:14:47 +00:00
nboyd%atg.com
0298ab90eb For == use .equals after unwrapping. 2001-01-05 20:00:47 +00:00
nboyd%atg.com
07b81a65d3 Fix bug 64397. 2001-01-05 19:15:59 +00:00
kestes%staff.mail.com
55fe69eae0 stat fix for perl 5.6 from "John Turner" <jdturner@nc.rr.com> 2001-01-05 17:30:35 +00:00
mkaply%us.ibm.com
dafd1075c8 r=mkaply, a=blizzard
Code from Dmitry Kubov to fix building on new PGCC (NS_STATIC_CAST to NS_REINTERPRET_CAST)
2001-01-05 15:38:35 +00:00
morse%netscape.com
f038ec14c3 fix bustage (javascript error) introduced by last checkin (for bug 23095) 2001-01-05 09:47:28 +00:00
sspitzer%netscape.com
8528850bd2 fix for #64317. when reading news, if biff went off, the
mark toolbar button would change back to delete.
I was calling SetUpToolbar() in the wrong place.  sr=bienvenu
2001-01-05 08:34:29 +00:00
sspitzer%netscape.com
b79105d030 remove extra ".". sr=no one 2001-01-05 08:11:57 +00:00
morse%netscape.com
420ec383b4 patch 64211 con't: Form-manager fillin does not work for files on local disk, r=evaughan@netscape.com, sr=brendan@mozilla.org 2001-01-05 07:34:40 +00:00
bienvenu%netscape.com
a008c5a045 more work on newsgroup hdr purging sr=sspitzer 17217 2001-01-05 04:40:27 +00:00
sspitzer%netscape.com
1b225ed408 fix warnings in the d&d. bug #58561. r=jag, sr=bienvenu 2001-01-05 04:14:01 +00:00
morse%netscape.com
60471ce8e8 bug 64221, Form-manager fillin does not work for files on local diskk, r=evaughan@netscape.com, sr=ben@netscape.com 2001-01-05 03:48:57 +00:00
javi%netscape.com
c744ed4cbd Correct spelling mistake.
r=javi,scc,hwaara@chello.se sr=brendan

(I'm checking this in for original reporter of Bug 63122.)
2001-01-05 03:26:41 +00:00
waterson%netscape.com
cffe7fc993 Strip trailing ^M characters. 2001-01-05 02:58:17 +00:00
disttsc%bart.nl
d4913a6a24 Fix page cycling related timeouts on tinderboxen. 2001-01-05 02:54:16 +00:00
morse%netscape.com
3aa6e01f16 bug 64355, hide form toolbar by default, r=evaughn@netscape.com, sr=blizzard@mozilla.org 2001-01-05 02:50:13 +00:00
wtc%netscape.com
119735b937 Bugzilla bug #64261: moved certread.c from lib/certhigh to lib/pkcs7.
As a result of this move I have to export one more data symbol
(SECAnyTemplate) from libnss3.so. :(  Removed the temporary workaround
in coreconf/rules.mk.
Modified Files:
	coreconf/rules.mk nss/lib/certhigh/manifest.mn
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/pkcs7/manifest.mn
Added Files:
	nss/lib/pkcs7/certread.c
Removed Files:
	nss/lib/certhigh/certread.c
2001-01-05 02:18:55 +00:00
disttsc%bart.nl
7b9fa2386c Update REQUIRES in Makefile.in to fix senna Linux Dep build bustage. 2001-01-05 01:46:16 +00:00
sspitzer%netscape.com
c44615dbc9 fix for #64333 and #63992. sr=mscott 2001-01-05 01:45:30 +00:00
nelsonb%netscape.com
1311ab52d4 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.
2001-01-05 01:38:26 +00:00
disttsc%bart.nl
9e0aac3aba Refactor nsBrowserInstance's LoadInitialPage, add contract id for the command line service, move code from c++ to js, remove dead code. bug=46200, r=blizzard, a=
alecf.
2001-01-05 01:20:49 +00:00
nboyd%atg.com
0e1266c7d4 Email thread describing change:
Subject:
             Re: Rhino bug - Wrapper ??
        Date:
             Fri, 05 Jan 2001 03:46:11 +0530
       From:
             Mukund Balasubramanian <mukund@cs.stanford.edu>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng
  References:
             1 , 2 , 3 , 4 , 5 , 6




That works too,
    Should I assume that this would be a part of the next tip ? I agree with the
part about
overloading code too.

    Anyways, thanks a load for your help and just tell me if I could be of any
help in any other
respects of the rhino project.

ThanX,

Mukund Balasubaramanian

Norris Boyd wrote:

> Actually, I was considering removing the unwrapping code from
NativeJavaConstructor. I was
> suprised that it was there. The code dates from before we implemented proper
method and
> constructor overloading in Rhino. It's the overloading code that should have
the responsibility
> for unwrapping.
>
> Does this patch work for you:
>
> Index: NativeJavaObject.java
> ===================================================================
> RCS file:
/cvsroot/mozilla/js/rhino/org/mozilla/javascript/NativeJavaObject.java
> ,v
> retrieving revision 1.29
> diff -u -r1.29 NativeJavaObject.java
> --- NativeJavaObject.java       2000/11/13 22:10:32     1.29
> +++ NativeJavaObject.java       2001/01/04 21:33:55
> @@ -673,6 +673,12 @@
>
>                  return Result;
>              }
> +            else if (value instanceof Wrapper) {
> +                value = ((Wrapper)value).unwrap();
> +                if (type.isInstance(value))
> +                    return value;
> +                reportConversionError(value, type);
> +            }
>              else {
>                  reportConversionError(value, type);
>              }
>
> This handles the case where the object is both a Scriptable and a Wrapper.
>
> --N
>
> Mukund Balasubramanian wrote:
>
> > Yes they do implement Scriptable.
> >     From my preliminary inspection of the code, findFunction seems to be
preceediong the
> > coerceType call and I presume findFunction call is going to fail if the
arguments are
> > wrapped (bad types mismatching signature).
> >     The constructor case DOES go through an explicit unwrapping stage as
shown by the cut
> > and paste code. My question is whether the same preamble in NativeJavaMethod
is a valid bug
> > fix.
> >
> > ThanX,
> >
> > Mukund Balasubramanian
> >
> > Norris Boyd wrote:
> >
> > > Do your objects that implement Wrapper also implement Scriptable? From
simple inspection
> > > of the code I'd think that both the constructor and method cases would go
through
> > > NativeJavaMethod.coerceType, which should unwrap. However, Scriptable
objects are picked
> > > off and handled before any unwrapping is considered.
> > >
> > > --N
> > >
> > > Mukund Balasubramanian wrote:
> > >
> > > > Yup,
> > > >     Here it is - Line numbers 173-178 are cut and paste from
> > > > NativeJavaConstructor.java inside NativeJavaMethod.java
> > > >
> > > > /*** Call in NativeJavaMethod.java
> > > >     public Object call(Context cx, Scriptable scope, Scriptable thisObj,
> > > >                        Object[] args)
> > > >         throws JavaScriptException
> > > >     {
> > > >         // Eliminate useless args[0] and unwrap if required
> > > >         for (int i = 0; i < args.length; i++) {
> > > >             if (args[i] instanceof Wrapper) {
> > > >                 args[i] = ((Wrapper)args[i]).unwrap();
> > > >             }
> > > >         }
> > > >
> > > >   // Find a method that matches the types given.
> > > >         if (methods.length == 0) {
> > > > ****/
> > > >
> > > > Is this correct ? I presume it is because of the fact that the
constructor
> > > > does this.
> > > >
> > > > Any luck with my other question regarding generalizing the WrapHandler
to all
> > > > objects (including those returned by scriptable) and not only those
returned
> > > > through nativeJava***
> > > >
> > > > ThanX,
> > > >
> > > > Mukund Balasubramanian
> > > >
> > > > Norris Boyd wrote:
> > > >
> > > > > Could you post your proposed patch?
> > > > >
> > > > > Thanks,
> > > > > Norris
> > > > >
> > > > > Mukund Balasubramanian wrote:
> > > > >
> > > > > > Hi all,
> > > > > >     I am trying to play around with writing a custom WrapHandler for
my
> > > > > > Java objects in Rhino. I found WrapHandler very useful.
> > > > > >     Now I am stuck at a point where, even though my wrappers
implement
> > > > > > "Wrapper", they get unwrapped only on calles to Constructors using
> > > > > > Liveconnect. Normal methods dont seem to be doing any unwrapping.
> > > > > > Managed to build rhino with a bug fix (cut and paste code from
> > > > > > NativeJavaConstructor to NativeJavamethod), and it works.
> > > > > >     Just wanted to verify if it is a known bug (while I wait for
> > > > > > bugzilla to mail me a passwd).
> > > > > >
> > > > > > BTW, also found something interesting, WrapHandler gets called only
when
> > > > > > the object is returned from NativeJava***, not ANY Object. Is that
the
> > > > > > way it is supposed to work ??
> > > > > >
> > > > > > ThanX for any help,
> > > > > >
> > > > > > Mukund Balasubramanian
2001-01-05 01:17:51 +00:00
sspitzer%netscape.com
59d59bd7b0 fix build bustage. I suck. 2001-01-05 01:14:41 +00:00
ducarroz%netscape.com
1c70a6bb78 Fix for bug 63577. Add style rule to autocomplete popup menu to remove the default max-width. R=sspitzer, SR=bienvenu 2001-01-05 00:49:30 +00:00
pchen%netscape.com
5cd2c54979 Fix #62939. r=pinkerton, sr=sfraser. Return error when no match in IC database. Fixes DL of QT5 beta from apple.com (where they had a warning not to use Netscape 6) 2001-01-05 00:44:16 +00:00
blakeross%telocity.com
21221e35e3 Fix 63647: an element (button or textfield) should have focus by default in common dialogs, and other cleanup. r=timeless sr=alecf 2001-01-05 00:37:30 +00:00
sspitzer%netscape.com
b6c8802ef2 fix for #61642. patch from sun, r=sspitzer, sr=bienvenu 2001-01-05 00:35:35 +00:00
heikki%netscape.com
0c4e47bf44 Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur. 2001-01-05 00:35:20 +00:00
valeski%netscape.com
1ccaa1a2e2 r=bryner, sr=alecf. 62748. adding prefs files which include default font names for use, and adding strres which is required by prefs for prefs processing (string bundles are used in prefs) 2001-01-04 23:56:22 +00:00
cls%seawood.org
e84cc06cfd Added BSDI logic from BSD_OS.mk 2001-01-04 23:37:29 +00:00
mkaply%us.ibm.com
7edcbb834e r=mkaply, a=blizzard
Code from Dmitry Kubov to fix building on new PGCC (NS_STATIC_CAST to NS_REINTERPRET_CAST)
2001-01-04 23:09:24 +00:00
radha%netscape.com
2ef37b8eac Fix for bug #60678. General cleanup of urlbar history. r=Bill Law, ducarroz 2001-01-04 23:06:00 +00:00
heikki%netscape.com
587a668271 Bug 34168, report error instead of crashing if we encounter a parameter entity containing double percent sign. Fix from James Clark. r=nisheeth, a=vidur. 2001-01-04 23:03:32 +00:00
pinkerton%netscape.com
edf2a98b13 stupid typo slipped in during last patch, extra semi on the end of a for loop. thanks to roc for catching. r=pinkerton,sr=sfraser. bug 64211. 2001-01-04 22:29:48 +00:00
bryner%uiuc.edu
d1f174bb11 Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor. 2001-01-04 22:24:07 +00:00
bnesse%netscape.com
a5bac85212 Added build support for the Default Plug-in. b=56761, r=jj, sr=sfraser. 2001-01-04 22:18:03 +00:00
harishd%netscape.com
cffc9ba629 56070 - Rewrote the handling of misplaced content inside TABLE to also be effective when document
is provided in multipel buffers.
62954 - DD is not a legal child of SELECT.

r=heikki
sr=vidur
2001-01-04 22:15:06 +00:00
nhotta%netscape.com
8de62518a5 Added override field to db to support folder level charset override, bug 39756, r=sspitzer, sr=bienvenu. 2001-01-04 22:13:56 +00:00
colin%theblakes.com
40cacd662e Provide some X11R5 equivalent code for platforms which don't yet support R6.
b=57135 r=pavlov sr=blizzard
2001-01-04 22:13:00 +00:00
blizzard%redhat.com
6ae44692a4 Fix bug #64031. This should get the apphelper dialog working when mozilla is embedded. r=pavlov, sr=alecf 2001-01-04 22:11:31 +00:00
wtc%netscape.com
4e87e7fbbf Bugzilla bug #64261: moved pkcs7 from libnss3.so back to libsmime3.so.
coreconf/rules.mk has a temporary workaround for the dependency of
certread.c on some PKCS7 symbols.
Modified Files:
	coreconf/rules.mk nss/lib/manifest.mn nss/lib/nss/config.mk
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/smime/config.mk nss/lib/smime/mapfile
	nss/lib/smime/smime.def
2001-01-04 21:33:06 +00:00
rods%netscape.com
edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
wtc%netscape.com
71a2d8ca02 Include secder.h for the declaration of the DER_UTCDayToAscii functions. 2001-01-04 19:14:45 +00:00