Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
nboyd%atg.com 7c030bfefb Patch from Igor:
Currently omj/TokenStream and omj/optimizer/Optimizer.java both contain
code to convert number value to a wrapper object of smallest size. The
attached patch moves this wrapping to Node constructor to avoid code
duplication and eliminate special treatment of exact integers in
Optimizer.java.


The constant folding code in omj/optimizer/Optimizer.java currently always
replaces x * 1, x - 0 by simply x which does not force the toNumber convertion,
which is visible, for example, via typeof. For example, when running at
optimization level 2, the following

function f() {
    return "0" * 1;
}

print(typeof(f()));

prints "string" instead of expected "number".

The const_fold.patch fixes this via replacing x*1 by (+x) to force number convertion.

It assumes that the patch with number wrapping changes is in place.
2001-09-25 14:09:22 +00:00
accessible Fixing myotonic bustage (add "timer" and "uriloader" to REQUIRES) 2001-09-25 10:46:39 +00:00
apache/gzip/src
build License changes, take 2. Bug 98089. mozilla/config/, mozilla/caps/, mozilla/build/. 2001-09-25 01:03:58 +00:00
calendar
caps License changes, take 2. Bug 98089. mozilla/config/, mozilla/caps/, mozilla/build/. 2001-09-25 01:03:58 +00:00
cck Fix for bug 96744: File path given for Addt'l Components can't be removed 2001-09-25 01:12:36 +00:00
chrome fixes bug 99410 "further res protocol cleanup" r=dougt, sr=mscott 2001-09-20 01:32:16 +00:00
cmd
config License changes, take 2. Bug 98089. mozilla/config/, mozilla/caps/, mozilla/build/. 2001-09-25 01:03:58 +00:00
content Removed setting page height to 5 pages when printing a document "AsIs" 2001-09-25 13:00:04 +00:00
db License changes, take 2. Bug 98089. mozilla/db/, mozilla/dbm/. 2001-09-25 01:25:13 +00:00
dbm License changes, take 2. Bug 98089. mozilla/db/, mozilla/dbm/. 2001-09-25 01:25:13 +00:00
directory Bug 91248: LDAP referrals hangs browser. r=dmose, sr=bienvenu, patch=leif. 2001-09-22 05:13:05 +00:00
docshell Fix for bug 92824. Update index in SH after onStartLoad() is called for the page. r=adamlock sr=rpotts 2001-09-22 00:12:41 +00:00
dom patch from bug 99838 - Changes to remove xpconnects dependency on DOM r=jband, sr=jst 2001-09-24 22:57:47 +00:00
editor Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build 2001-09-25 00:45:54 +00:00
ef
embedding latest testembed update 2001-09-24 19:40:00 +00:00
expat Oops. 2001-09-20 00:02:59 +00:00
extensions Fix for bug 100732 (content_xsl.xpt missing in packaged bits). r=heikki, sr=jst. 2001-09-24 12:03:02 +00:00
gc/boehm Oops. 2001-09-20 00:02:59 +00:00
gconfig
gfx Clean up REQUIRES, r=cls 2001-09-25 02:56:54 +00:00
gfx2 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
grendel Checking in Brian Duff's ui mods (looks great!). --talisman 2001-06-23 19:23:33 +00:00
htmlparser Making view source load its stylesheet even when highlighting is off -- 2001-09-24 22:34:47 +00:00
include Copy DIR struct definition from dbm/include/winfile.h for win32 to remove questionable dependency upon dbm. 2001-09-23 22:23:10 +00:00
intl Update REQUIRES for MOZ_MATHML & MOZ_SVG builds. 2001-09-22 13:34:38 +00:00
java Changes to make it work on Linux. 2001-09-20 18:57:35 +00:00
jpeg Oops. 2001-09-20 00:02:59 +00:00
js Patch from Igor: 2001-09-25 14:09:22 +00:00
js2 Renamed local-variable to variable 2001-09-25 03:51:24 +00:00
l10n Unused cruft removal. r=cls, sr=sspitzer 2001-09-23 02:26:16 +00:00
layout Removed setting page height to 5 pages when printing a document "AsIs" 2001-09-25 13:00:04 +00:00
lib Fix for bugscape bug 8740 (nsISound does not work on Mac OS X). Have to call EnterMovies() on Mac OS X, so just moving it out of the TARGET_CARBON #ifdef. r=beard, pinkerton. sr=jst 2001-09-21 04:27:04 +00:00
mailnews Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37:13 +00:00
modules 100706. Tabbrowser stuff. r=jag, sr=blake 2001-09-24 04:38:41 +00:00
mozilla new project started 2001-04-03 22:13:38 +00:00
msgsdk
mstone Fix OS_ARCH detection for IRIX64. 2001-07-20 00:26:49 +00:00
netwerk Clean up REQUIRES, r=cls 2001-09-25 02:56:54 +00:00
nsprpub Remove commented out references to mozilla xp_*.h files. 2001-09-22 01:42:42 +00:00
nunet
parser Making view source load its stylesheet even when highlighting is off -- 2001-09-24 22:34:47 +00:00
plugin/oji [not part of build] OJI plugin for Mac OS X. 2001-09-22 02:12:57 +00:00
privacy
profile Updating profile acct dependencies. 2001-09-19 00:08:30 +00:00
rdf Bug 97775. Modify serializer to emit typed nodes when appropriate; patch courtesy tingley@sundell.net, r=shaver, sr=waterson. 2001-09-24 22:31:05 +00:00
README Adding newline, testing 2000-12-14 15:53:14 +00:00
security added log information for tinderbox 2001-09-25 01:27:59 +00:00
silentdl
string Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37:13 +00:00
suite
sun-java fix potential win32 bustage (thanks dbaron!) 2001-09-10 23:02:53 +00:00
themes Fix for 101389. 2001-09-24 19:39:18 +00:00
timer
tools Adding check for Time::HiRes for gettimeofday(), this perl package can give us 1ms resolution instead of default of 1s resolution. tbox instances will need to symlink in gettime.pl. 2001-09-25 01:36:11 +00:00
tripledb
uriloader Fix linux topcrash bug 97970. Make AddMimeInfoToCache do some more 2001-09-24 22:39:17 +00:00
view One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
wallet
webshell Export the viewer samples from the toplevel webshell makefile so that we have them in release builds. 2001-09-22 03:02:01 +00:00
webtools Fix for bug 93388: Full name should be trimmed of whitespace before going 2001-09-23 17:20:50 +00:00
widget Bug 100498. Active accessibility: Clear, consistent events for page load busy states. r=jgaunt, sr=waterson. 2001-09-25 08:34:42 +00:00
xpcom Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc 2001-09-25 09:37:13 +00:00
xpfc
xpfe Bug 100116: remove window mediator's public dependency on rdf. 2001-09-25 10:58:11 +00:00
xpinstall xpinstall packaging changes (not built by tinderbox) for registering mozldap chrome package correctly (bug 79935). r=ssu@netscape.com; sr=shaver@mozilla.org 2001-09-25 06:01:43 +00:00
.cvsignore new project started 2001-04-03 22:13:38 +00:00
aclocal.m4 Add basic infastructure for gtk2 work. Bug #92034. r=cls 2001-07-24 23:30:00 +00:00
allmakefiles.sh Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan 2001-09-08 18:29:24 +00:00
client.mak Pull using the NSPRPUB_PRE_4_2_CLIENT_BRANCH instead of the static tag. 2001-08-17 11:17:02 +00:00
client.mk Oops. 2001-09-20 00:02:59 +00:00
configure Automated update 2001-09-23 23:28:34 +00:00
configure.in Remove unnecessary toplevel check for shm_open() as it's only used by NSPR. 2001-09-23 23:17:01 +00:00
embed.mak NOT PART OF BUILD. Fixed recent breakage and merged export/install dirs into single list. b=68668 2001-02-23 12:54:24 +00:00
embed.mk NOT PART OF BUILD. Updated Unix/Linux embedding makefile to work once more. Changed target modules for recent layout/content split. b=68668 2001-02-21 12:27:11 +00:00
LEGAL
LICENSE
Makefile.in Create active header list for each module during the export phase. 2001-09-12 06:42:26 +00:00
makefile.win Purge old headers when building with MOZ_TRACK_MODULE_DEPS set. 2001-09-23 03:44:12 +00:00
mozilla.kdevprj new project started 2001-04-03 22:13:38 +00:00
mozilla.lsm new project started 2001-04-03 22:13:38 +00:00
nglayout.mac
nglayout.mk
trex.mak
trex.mk