-----
The patch changes NativeCall to use IdScriptable. This is done mostly
for uniformity with other Native* classes plus it would allow to call
NativeCall.init directly and make NativeCall package private.
-----
The patch changes NativeScript to use id-based properties. Due to
inheritance from NativeFunction, id support requires to take into
account the fact that there are instance ids available from
BaseFunction. This is the reason to use "int prototypeIdShift" instead
of "boolean prototypeFlag" so it can store instance id offset.
The patch updates ScriptRuntime.callOrNewSpecial to check against
IdFunction and not FunctionObject for the Script exec method where it
also add finally clause to make sure that Context.exit would always be
called after Context.enter in the evalScript method.
-----
After converting NativeScript and NativeFunction to use IdScriptable,
they get scope argument directly as a parameter of execMethod call, so
cx.ctorScope is not used any more. The patch removes code to set/unset
cx.ctorScope.
-----
[This patch depends on conversion of NativeScript and NativeCall to use
IdScriptable and the patch to remove access of ctorScope from
FunctionObject]
The patch changes Context.initStandardObjects to call NativeCall.init
and NativeScript.init directly plus it unrolls the lazily initialization
loop. Due to rather poor support of an array initialization in Java byte
code, it actually decreases code size while eliminating are creation of
array object. The patch also removes ctorScope field as unused.
-----
The patch makes sure that ids used by NativeGlobal are visible only in
the object instance that initializes global scope and removes some junk
white space at line ends.
-----
To use the idswitch tool to generate map for strings that can not be
part of Id_ Java identifier like $*, I added code to the tool to look
for "// #string=...#" in the id definition line. The attached README
file also contains some documentation about the tool and should go to
idswitch directory.
The patch was made from toolsrc/org/mozilla/javascript/tools via:
cvs diff -u > idswitch_patch
git-svn-id: svn://10.0.0.236/trunk@95908 18797224-902f-48f8-a5cc-f745e15eee43
Fix for bug #81078 (UMR: nsTextFrame::GetPosition() when selecting text.)
Subtract mContentOffset from the index returned by the ip[] array, and
make sure this index is <= textLength.
r=mjudge sr=sfraser a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95907 18797224-902f-48f8-a5cc-f745e15eee43
the combobox when embedded.
Also, makes Windows calls to determine the sensitivity of mouse moves instead of using
a hard coded value of 5 pixels (Bug 79037)
Bug 81416 & 79037
r=kmcclusk@netscape.com sr=hyatt a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95904 18797224-902f-48f8-a5cc-f745e15eee43
Bug 82355: outliner filepicker shows no items in current directory
r=Fabian Guisset <hidday@geocities.com>, sr=ben, a=blizzard
Bug 82426: sorting doesn't work in xp filepicker
r=bryner, sr=ben, a=blizzard
Bug 82433: xp filepicker: sort on date changes dates to seconds since epoch
r=Fabian Guisset <hidday@geocities.com>, sr=ben, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95902 18797224-902f-48f8-a5cc-f745e15eee43
to grows, shrinks, and compresses. This helps JS_DHashTableOperate callers
who hold returned entry pointers to validate those pointers and avoid having
to re-lookup an entry by its key.
- Balance that addition by removing JSDHashTable.sizeMask, which is induced by
JSDHashTable.sizeLog2 at the cost of two typically single-cycle instructions.
- Use JSDHashTable.generation in jsobj.c to avoid unsafely dereferencing an
entry pointer held across calls to JSClass.resolve from js_LookupProperty,
which may recur and add entries to cx->resolving, growing that table and
invalidating entry pointers held by earlier js_LookupProperty activations.
(bug 78121, r=jst@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@95896 18797224-902f-48f8-a5cc-f745e15eee43
author=ashuk
r=idk
This fix enables BlackConnect to build on Solaris using Sun's
Forte compilers. It checks for the CC compiler and links in
an additional iostream library.
git-svn-id: svn://10.0.0.236/trunk@95886 18797224-902f-48f8-a5cc-f745e15eee43
author=ashuk
r=edburns
Files modified
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/stubs
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/ProfileManager.java
A mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
A mozilla/java/webclient/config/rules.mk
A mozilla/java/webclient/config/rules.mak
A mozilla/java/webclient/import
A mozilla/java/webclient/import/Makefile.in
A mozilla/java/webclient/import/Makefile.win
A mozilla/java/webclient/import/chPackage.pl
M mozilla/java/webclient/Makefile.in
M mozilla/java/webclient/Makefile.win
M mozilla/java/webclient/classes_spec/Makefile.in
M mozilla/java/webclient/classes_spec/Makefile.win
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlImpl.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/WrapperFactoryImpl.java
M mozilla/java/webclient/src_share/runem.pl
This fix adds the new ProfileManager interface in the Webclient API.
This is also the first integration of BlackConnect in Webclient.
Webclient uses this ProfileManager interface to provide an interface
to the nsIProfile api in Mozilla for profile management. It uses
BlackConnect for this.
git-svn-id: svn://10.0.0.236/trunk@95879 18797224-902f-48f8-a5cc-f745e15eee43
Changes to support new gfx2 and image libs.
Bug fixes for drawing speed and code cleanup
git-svn-id: svn://10.0.0.236/trunk@95871 18797224-902f-48f8-a5cc-f745e15eee43
----
The patch changes Notification to extend from BaseFunction and adjusts
Context, FunctionObject and NativeScript accordingly.
----
The patch changes BaseFunction.jsConstructor to use the scope argument
passed to execMethod instead of using cx.ctorScope. This argument is
null in this case because when calling execMethod IdFunction.construct
does not set cx.ctorScope because scope is passed to execMethod as argument.
git-svn-id: svn://10.0.0.236/trunk@95869 18797224-902f-48f8-a5cc-f745e15eee43
Added some comments to various user-related files.
Factored out some code that started becoming common when inserting fields in Service/User.pm.
Added code to deal with adding new contact details.
Added code to support removing fields from a user.
git-svn-id: svn://10.0.0.236/trunk@95862 18797224-902f-48f8-a5cc-f745e15eee43
in a page which have bidi/table/image
proposed by yokoyama r=ftang/mjudge/attinasi sr=kin a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95849 18797224-902f-48f8-a5cc-f745e15eee43
r=ftang/pavlov sr/a=blizzard
change the key event init code so we can handle the keysym correctly for
non ASCII keys
git-svn-id: svn://10.0.0.236/trunk@95848 18797224-902f-48f8-a5cc-f745e15eee43