[see] / see / releases / see-3.0 / libsee Repository:
ViewVC logotype

Log of /see/releases/see-3.0/libsee

View Directory Listing Directory Listing


Sticky Revision:

Revision 1374 - Directory Listing
Modified Sun Feb 10 10:19:45 2008 UTC (2 years, 6 months ago) by d
Copy SEE's trunk to releases/see-3.0

Revision 1373 - Directory Listing
Modified Sun Feb 10 10:18:27 2008 UTC (2 years, 6 months ago) by d
Original Path: see/trunk/libsee
correct some comments in libsee/code.h

Revision 1371 - Directory Listing
Modified Sun Feb 10 04:59:09 2008 UTC (2 years, 6 months ago) by d
Original Path: see/trunk/libsee
Allow constant folding independent of bytecode/AST eval.
Added --enable-ast-eval (default no). The AST is still generated during
parse but constant folding is now implemented using code execution, instead
of node evaluation. This removed redundant evaluation code.

Revision 1370 - Directory Listing
Modified Sat Feb 9 12:54:24 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Allocate the right amount of space for int->str conversion.

Revision 1366 - Directory Listing
Modified Sat Feb 9 10:26:02 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 118: Programs with only function decls had no effect in bytecode mode

Revision 1365 - Directory Listing
Modified Fri Feb 8 14:54:14 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
quieten some parser debug messages

Revision 1364 - Directory Listing
Modified Fri Feb 8 14:45:49 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Remove some compiler warnings
since we now use integers instead of pointers for branch targets.

Revision 1363 - Directory Listing
Modified Fri Feb 8 14:24:55 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Simplify Boehm GC tests to just '#if WITH_BOEHM_GC'
The Boehm GC is found in a more portable way, that works on win32 as well now.
Also removed GC_PTR which isn't in Boehm GC 7.0.
Also fixed -lpcre to go in SEE_LIBS.

Revision 1362 - Directory Listing
Modified Fri Feb 8 14:22:52 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
The variable for linking libs with SEE is SEE_LIBS, not SEE_LDADD.
Also, cause t-File test to be skipped if shared libraries were disabled.

Revision 1361 - Directory Listing
Modified Fri Feb 8 12:36:20 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Correctly initialize SEE_native.lru to NULL
  (because the allocator may not return zeroed memory)

Revision 1360 - Directory Listing
Modified Fri Feb 8 12:30:41 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add missing header, and correct a compiler warning, for win32 platform support

Revision 1357 - Directory Listing
Modified Fri Feb 8 10:30:47 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
oops simple_finalize typo

Revision 1353 - Directory Listing
Modified Fri Feb 8 10:09:20 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Correct the length property of Function.prototype.apply

Revision 1352 - Directory Listing
Modified Fri Feb 8 09:59:49 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add a simple lookup cache for native object property access.
  - added new field to SEE_native called 'lru' 
    (lru = Last Recently Used.. yes, a silly name)
  - lru is check on most accessor methods. 
    Tracing (with -dn) shows that lru hits are quite frequent.
  - Changed the hashing function to ignore the lower 7 bits
    Strings within 128 bytes of each other may have the same hash.

Revision 1351 - Directory Listing
Modified Fri Feb 8 09:56:22 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Intern'd strings now allocate the minimum storage they really need
 - New function _SEE_string_dup_fix()
 - Also, SEE_string_free now ignores some obviously static strings.

Revision 1350 - Directory Listing
Modified Fri Feb 8 09:53:55 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Improve allocation debugging and reduce typical memory footprint.

- Changed signature of SEE_system.malloc and friends; they now take the
  filename:line of the original caller, so as to allow allocation debugging.
- Changed GROW_INITIAL_SIZE from 1k to 64; this the reduces memory footprint
- Changed attribute modifier _SEE_malloc to _SEE__malloc.
- Removed 'arg' argument from the _SEE_malloc_*debug() functions
- Defined GC_DEBUG when --enable-developer is given
- simple_malloc's finalizer now runs all finalizers via atexit().

Revision 1349 - Directory Listing
Modified Fri Feb 8 09:45:33 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Avoid a compiler warning by using plain old int to carry a boolean result.

Revision 1348 - Directory Listing
Modified Fri Feb 8 09:44:22 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add a forward structure declaration to avoid a minor compiler warning.

Revision 1347 - Directory Listing
Modified Thu Feb 7 12:13:15 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
hide non-public symbol (input_string_class)

Revision 1346 - Directory Listing
Modified Tue Feb 5 15:27:38 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
missing semicolon

Revision 1342 - Directory Listing
Modified Tue Feb 5 15:10:29 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 88: Add host_data field to SEE_object

Revision 1339 - Directory Listing
Modified Tue Feb 5 13:34:58 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Update test to be exactly that from the docs. i.e. add SEE_init() call.

Revision 1338 - Directory Listing
Modified Tue Feb 5 13:34:35 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Ignore multiple invocations of SEE_init()

Revision 1335 - Directory Listing
Modified Tue Feb 5 11:13:39 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Change libsee version in preparation for 2.1 release

Revision 1334 - Directory Listing
Modified Sun Feb 3 00:16:39 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 117: Function expression property had wrong attributes (bytecode only)

Revision 1333 - Directory Listing
Modified Sat Feb 2 13:52:55 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Make branch targets work with bytecode generator.
Branch (break/continue) targets are now identified by integers.
Labels have been separated from labelsets.
Minor fixes to code generator:
    - B_TRUE instruction calls ToBoolean()
    - some string internalising
    - fix an assertion check to handle NULL filenames

Revision 1328 - Directory Listing
Modified Sun Jan 20 12:40:14 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
[Get], [Put], [CanPut], [HasProperty] and [Delete] assume intern'd properties.

This is an important API change for users. You should review all places
where you use the SEE_OBJECT_GET/PUT/CANPUT/etc macros and wrap the property
argument with SEE_intern(interp, ...) as required.

The SEE_OBJECT_GET/PUT/etc macros now contain an assertion check to detect
when non-internalised properties have been passed. This should make it pretty
easy to find where non-interned properties are being used.
The assertion check is disabled by defining NDEBUG, or when --disable-debug 
is provided during configure.

Revision 1327 - Directory Listing
Modified Sun Jan 20 12:15:59 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
remove compiler warning

Revision 1326 - Directory Listing
Modified Sun Jan 20 09:34:48 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Fix the isatty() code that activates coloured test labels

Revision 1324 - Directory Listing
Modified Sun Jan 20 08:56:14 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
SEE_STRING_FLAG_STATIC is deprecated

Revision 1322 - Directory Listing
Modified Sun Jan 20 08:52:52 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add SEE_string_fix() function to create interpreter-less strings
that are safe for sharing between interpreters.

Revision 1321 - Directory Listing
Modified Sun Jan 20 08:49:40 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 115: Object.prototype.isPrototypeOf() didn't follow prototype chain

Revision 1320 - Directory Listing
Modified Tue Jan 15 11:47:21 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 113: add SEE_interpreter_save_state()
This API extension is for Hermecz who is using multiple threads per interpreter

Revision 1319 - Directory Listing
Modified Tue Jan 15 11:44:36 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
remove compiler warning about prototypes

Revision 1317 - Directory Listing
Modified Sun Jan 13 06:10:19 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add tests for bug 104.

Note: Includes is a commented-out test for finalizers with cycles.

Revision 1316 - Directory Listing
Modified Sun Jan 13 02:21:42 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 102: fix traceback chains.

This commit reworks how the try/catch/finally handlers work, and adds
a test suite for try-finally-catch under different circumstances.

Also, the general test framework was overhauled so that specific
exceptions can be tested for.
And new macro, SEE_RETHROW() is introduced.

Revision 1315 - Directory Listing
Modified Sat Jan 12 04:36:20 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 112: /)/ and other disallowed regular expressions are now detected

Revision 1314 - Directory Listing
Modified Sat Jan 12 00:28:09 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 110: /[]/ is a legal regular expression, and should not throw SyntaxError

Revision 1313 - Directory Listing
Modified Sat Jan 12 00:21:04 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 109: detect illegal unicode escapes within identifiers (s7.6:3)

Revision 1312 - Directory Listing
Modified Fri Jan 11 23:57:44 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
Bug 108: Number.toString(undefined) should behave like Number.toString()

Revision 1311 - Directory Listing
Modified Thu Jan 10 13:59:14 2008 UTC (2 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 107: support changing regex engines and add Shell.regex_engine().

Revision 1310 - Directory Listing
Modified Wed Jan 9 14:41:23 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Correct some problems found with 'make distcheck'

Revision 1309 - Directory Listing
Modified Wed Jan 9 11:50:18 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Generate a pkg-config output (lib/pkgconfig/see.pc) and implement --with-pcre

Revision 1308 - Directory Listing
Modified Wed Jan 9 11:48:04 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add support for PCRE (http://pcre.org/)

Note that PCRE is not wholly compatible with the ECMAScript definition of
regular epressions.

Revision 1307 - Directory Listing
Modified Wed Jan 9 09:44:02 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove compiler warning

Revision 1306 - Directory Listing
Modified Wed Jan 9 04:56:46 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 105: make SEE_intern() work between interpreters

Strings resulting from foreign interpreters can now be internalized
sensibly in other interpreters.

Revision 1305 - Directory Listing
Modified Wed Jan 9 04:55:16 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add SEE_string_cmp_ascii()

Developers should really use intern'd strings (pointer comparison).
It will be helpful for those who don't care too much about efficiency.
I added this function so I can test SEE_intern()!

Revision 1304 - Directory Listing
Modified Wed Jan 9 04:50:11 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Print a traceback by default when SEE_ABORT() is called.

Revision 1302 - Directory Listing
Modified Wed Jan 9 04:17:21 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add --with-longjmperror option, and correct the way --with-native-dtoa works

The longjmperror() handler may be defined by an application to override SEE's
but it may not be clear if that is desirable, so I've made it an option.

Also, when I cleaned up the arg enabling code, I noticed that the native-dtoa
code may never be enabled. So, now --enable-native-dtoa=yes doesn't check
for the presence of functions in libc: it simply assumes they're there.


Revision 1299 - Directory Listing
Modified Wed Jan 9 00:27:16 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 104: fix leaked finalized objects
Thanks to Hermecz Vajk

Revision 1298 - Directory Listing
Modified Wed Jan 9 00:20:43 2008 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 106: fix prematurely reclaimed objects.
Also, improve the bounds checking on extremely large allocations

Revision 1296 - Directory Listing
Modified Sun Dec 23 14:50:24 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add "throw" statements to the traceback, make SEE_Print*() more flexible.

Extended traceback helps when a throw occurs in the toplevel of a script.
Allows you to track down the statement that caused the exception.

The ctxt traceback field is now also zeroed during SEE_TRY() to avoid 
having garbage when printing a traceback.

Null FILEs can now be passed to the SEE_Print*() functions, and they
are converted to standard error output.  This is handy to know when
inside gdb.

Revision 1295 - Directory Listing
Modified Sun Dec 23 05:00:51 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 101: allow escaped LineTerminators in string literals for compat
Applies to JS1.1 compat mode (and above)

Revision 1293 - Directory Listing
Modified Tue Dec 11 12:23:58 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 80: Correct compat code to use _SEE_isfinite() instead of _SEE_finite().
Spotted by Hermecz Vajk.

Revision 1292 - Directory Listing
Modified Tue Dec 11 12:18:45 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 97: recognise CRLF line endings for line number reporting
Spotted by Hermecz Vajk

Revision 1291 - Directory Listing
Modified Tue Dec 11 12:05:49 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 96: newlines were not properly recognised with --disable-full-unicode
Thanks,	Hermecz Vajk

Revision 1290 - Directory Listing
Modified Tue Dec 11 11:00:18 2007 UTC (2 years, 8 months ago) by d
Original Path: see/trunk/libsee
Bug 94: string concatenation can end up with nuls
The moral of the story is: Don't free; leave it to the GC!

Revision 1289 - Directory Listing
Modified Mon Nov 19 15:00:28 2007 UTC (2 years, 9 months ago) by d
Original Path: see/trunk/libsee
add comment for bug 95, regarding [[DefaultValue]] treatment for Date objects.

Revision 1288 - Directory Listing
Modified Mon Nov 12 13:54:22 2007 UTC (2 years, 9 months ago) by d
Original Path: see/trunk/libsee
bug 93: seg fault when String.prototype.charAt/charCodeAt() called with no args
Thanks, Alexander Botero-Lowry

Revision 1287 - Directory Listing
Modified Wed Nov 7 12:10:05 2007 UTC (2 years, 10 months ago) by d
Original Path: see/trunk/libsee
Bug 92: add SEE_string_append_unicode()
(Inspired by Hermecz Vajk)

Revision 1286 - Directory Listing
Modified Thu Nov 1 11:03:34 2007 UTC (2 years, 10 months ago) by d
Original Path: see/trunk/libsee
Add SEE_init() for future use in API 3.0.
For now, this is a no-op.


Revision 1284 - Directory Listing
Modified Thu Nov 1 08:36:42 2007 UTC (2 years, 10 months ago) by d
Original Path: see/trunk/libsee
Bug 90: documnet that apps must call GC_INIT() when using Boehm GC

Revision 1283 - Directory Listing
Modified Thu Nov 1 07:43:45 2007 UTC (2 years, 10 months ago) by d
Original Path: see/trunk/libsee
bug 91: multiple function declarations inside conditional

Revision 1282 - Directory Listing
Modified Thu Sep 13 22:26:35 2007 UTC (2 years, 11 months ago) by d
Original Path: see/trunk/libsee
bug 89: Minor licensing change to conform to Open Source Initiative's text

The effective change is to change the wording of these clauses, from:

 > 3. Neither the name of Mr Leonard nor the names of the contributors
                          ----------
 > THIS SOFTWARE IS PROVIDED BY DAVID LEONARD AND CONTRIBUTORS ``AS IS''
                                -------------
 > IN NO EVENT SHALL DAVID LEONARD OR CONTRIBUTORS BE LIABLE
                     -------------

to:

 > 3. Neither the name of David Leonard nor the names of its contributors
                          -------------
 > THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
                                ---------------------
 >  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
                      -------------------

This makes SEE's license conform with the OSI's "New BSD License" template
at http://www.opensource.org/licenses/bsd-license.php

Revision 1281 - Directory Listing
Modified Thu Sep 13 15:09:54 2007 UTC (2 years, 11 months ago) by d
Original Path: see/trunk/libsee
bug 87: add new functions SEE_error_throw_va() and SEE_error_throw_sys_va()

Revision 1280 - Directory Listing
Modified Thu Sep 6 01:40:25 2007 UTC (3 years ago) by d
Original Path: see/trunk/libsee
correct a comment about cfunction prototypes

Revision 1276 - Directory Listing
Modified Wed Aug 15 10:20:06 2007 UTC (3 years ago) by d
Original Path: see/trunk/libsee
bug 82: make instanceof operator compatible with Javascript 1.4 and JScript

Revision 1274 - Directory Listing
Modified Wed Aug 15 06:44:05 2007 UTC (3 years ago) by d
Original Path: see/trunk/libsee
bug 85: Add SEE_system.object_construct hook

Revision 1273 - Directory Listing
Modified Wed Aug 15 06:39:01 2007 UTC (3 years ago) by d
Original Path: see/trunk/libsee
oops.. correction for revision 1272. (Committed the wrong file)

Revision 1272 - Directory Listing
Modified Wed Aug 15 06:33:23 2007 UTC (3 years ago) by d
Original Path: see/trunk/libsee
bug 84: EMA 262-3 errata compatibility

This commit adds a new compat flag (SEE_COMPAT_ERRATA) that provides
compatibiliy with the errata published at 
    http://www.mozilla.org/js/language/E262-3-errata.html

The only functional difference arises from this item:

    15.5.4.10
      Change the last sentence of the second bullet from:
        The value returned is an array with the length property set
        to n and properties 0 through nâ1 corresponding to the first
        elements of the results of all matching invocations of
        RegExp.prototype.exec.
      to:
        If n=0, then the value returned is null; otherwise, the
        value returned is an array with the length property set to
        n and properties 0 through nâ1 corresponding to the first
        elements of the results of all matching invocations of
        RegExp.prototype.exec.

Revision 1271 - Directory Listing
Modified Thu Aug 9 04:29:59 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
bug 81: oops missed this file in the previous commit

Revision 1270 - Directory Listing
Modified Wed Aug 8 12:42:58 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
bug 81: SEE_parse_args_va() and SEE_call_args_va()

Also added tests for bug 81 and fixed a couple of minor implementation bugs
that were revealed.
Improved libsee test driver. It's now verbose by default.

Revision 1269 - Directory Listing
Modified Wed Aug 8 00:10:57 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
bug 83: make function pretty printer handle numeric literals

Revision 1268 - Directory Listing
Modified Thu Aug 2 14:05:47 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
Remove stuff that shouldn't have been committed in revision 1267

Revision 1267 - Directory Listing
Modified Thu Aug 2 14:03:51 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
remove unused bits from libsee/test/Makefile.am

Revision 1266 - Directory Listing
Modified Thu Aug 2 13:56:59 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
Add the beginnings of a test suite to libsee. This is for testing the API.

Revision 1265 - Directory Listing
Modified Tue Jul 24 14:33:04 2007 UTC (3 years, 1 month ago) by d
Original Path: see/trunk/libsee
bug 73: Add SEE_eval()

Revision 1264 - Directory Listing
Modified Wed Jul 4 21:38:30 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
bug 79: treat '-->' at start of line like '//' in SGMLCOM compatibility mode

Revision 1261 - Directory Listing
Modified Thu Jun 28 15:08:54 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Correct stack calculation for functions consisting of just an empty statement.

Revision 1259 - Directory Listing
Modified Wed Jun 27 10:45:34 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
bug 78: fix crash when pretty-printing a switch with adjacent case clauses

Revision 1258 - Directory Listing
Modified Fri Jun 22 16:14:31 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Replace VAR and PUTVAR instructions with VREF.
Using VREF saves a LOOKUP call. Variable references are tracked in the parser.
The code interface was changed to allow communication of variable identifiers
to the backend. VREF simply builds a reference to a local variable.

Known problem: getting a spurious seg fault from see-shell.static.

Revision 1257 - Directory Listing
Modified Fri Jun 22 13:37:47 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Improve the code1 disassembler.
Prints function, literal and location information.
Also, literal syntax changes from "@n" to "LITERAL,n" which is more consistent.

Revision 1256 - Directory Listing
Modified Fri Jun 22 12:45:54 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Don't generate a statement-trace event at the implicit end of function bodies. It is just confusing to have the location jump back to the top of the file when the script exits.

Revision 1255 - Directory Listing
Modified Fri Jun 22 12:45:07 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Oops: the lexer should intern filenames so that CG_LOC can be fast

Revision 1254 - Directory Listing
Modified Fri Jun 22 12:38:40 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Code generator: implement LOC instruction and hook code1 into SEE_system.trace
Now the shell debugger work with codegen.

Revision 1251 - Directory Listing
Modified Wed Jun 20 00:17:25 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Various fixes for the code generator.
- Intern strings when generating string literals and regex flags for codegen
- Use NULL to indicate an empty function
- Don't generate 'empty' functions when it has var statements
  (because they may have side effects)
- Don't think that zero stack usage means an empty function.
- Calculate max stack correctly for arglist construction
- Use ASSERT instead of throw-Error for unexpected branches in case statements
  (because they are internal errors instead of syntax errors)
- Various whitespace changes
- Ensure the value on the stack is boolean for if() condition
- Support empty initialiser for 'for(;;)'
- Remove superfluous pop from 'for(var...)' codegen
- Attempt to make labels apply to iteration nodes.. (not working!)
- Disable function pretty-printing when codegen is in place.
- Remove an unused variable.

Only known problems remaining is that labels are not being transfered to 
iteration nodes properly.


Revision 1249 - Directory Listing
Modified Wed Jun 20 00:06:41 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
fix bug in ADD instruction where '1+,' would result in '1'

Revision 1248 - Directory Listing
Modified Tue Jun 19 23:57:24 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Improve debugging for the code backend.
Renamed SEE_code1_debug to SEE_code_debug; other backends will provide this sym.
Add -dc debug flag to see-shell to increment it.
Added assertions to code1 regarding interned string literals. +more debug info.

Revision 1247 - Directory Listing
Modified Tue Jun 19 23:18:13 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Make dprints() truncate long strings.
Strings longer than 1024 characters are printed as "foo\(...len=1234)"
This is useful for when corrupt strings are printed.

Revision 1246 - Directory Listing
Modified Mon Jun 18 05:15:06 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Deprecate SEE_no_enumerator(). Use NULL instead.

Revision 1245 - Directory Listing
Modified Tue Jun 12 13:31:33 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Make va_copy() work under Win32. This may not even be the right way to do it.
Found by TP/s.d.hammet.

Revision 1244 - Directory Listing
Modified Tue Jun 12 13:28:25 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
Don't crash when calling dprints(NULL). Instead, just print "(null)".

Revision 1243 - Directory Listing
Modified Tue Jun 12 13:22:58 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
bug 75: check that an object has an enumerator before enumerating it

Revision 1241 - Directory Listing
Modified Tue Jun 12 13:15:15 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
style: always follow commas with a space

Revision 1240 - Directory Listing
Modified Tue Jun 12 13:14:04 2007 UTC (3 years, 2 months ago) by d
Original Path: see/trunk/libsee
bug 77: move wrappers around isnan/finite/copysign into a compilation unit.
Also, deprecate SEE_NUMBER_ISINF.
This is to better support platforms that don't have these math functions
in an obvious place, and to avoid a further header file expansion.

Revision 1236 - Directory Listing
Modified Sun Jun 3 12:25:15 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
add missing include for SEE_ASSERT
also fix intern bug in experimental codegen INST_LOOKUP instruction

Revision 1234 - Directory Listing
Modified Sun Jun 3 12:22:54 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
SEE_ASSERT() now calls SEE_ABORT()

Revision 1233 - Directory Listing
Modified Fri Jun 1 13:19:36 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
Implement EQ and SEQ. Remove some in situ assignments.

Revision 1231 - Directory Listing
Modified Thu May 31 15:29:36 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
Implement try-catch and try-finally opcodes for code1.

Revision 1230 - Directory Listing
Modified Thu May 31 14:09:32 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
More bytecode work.
- fixes a bug in post inc/decrement where the stack use was underestimated.
- adds WITH and ENUM block support to code1

Revision 1228 - Directory Listing
Modified Wed May 30 16:40:51 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
More code generator work.

- Provided separate opcodes for <,>,<=,>= because I found the the semantics
  too hard to untangle when comparing NaNs!
- Added a FUNC instruction to bind a function object to a scope.
- Distinguished between Program bodies and Function bodies for evaluation.
  This makes returning undefined from functions easier to do during 
  eval/codegen. Added a test case.
- added a disassembler to code1
- renamed the code interface method 'eval' to 'exec'.

try/with/enum still not working in codegen.

Revision 1227 - Directory Listing
Modified Wed May 30 16:33:07 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
Fix ExpressionStatement evaluation - it did not call GetValue() when it should.

Refer to standard, section 12.4. 
This explains why when running see-shell, when the last command was an 
identifier, I'd get a SEE_REFERENCE.

Revision 1226 - Directory Listing
Modified Tue May 29 12:12:21 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
Continued work on the code generator.

Revision 1225 - Directory Listing
Modified Tue May 29 12:09:24 2007 UTC (3 years, 3 months ago) by d
Original Path: see/trunk/libsee
Add missing includes that cause compiler warnings.

Revision 1222 - Directory Listing
Modified Sat Apr 28 11:00:52 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 70: SEE_context_eval() should never return a reference value
(spotted by Dan Kennedy)

Revision 1220 - Directory Listing
Modified Wed Apr 25 13:14:19 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 69: fix segfaults when functions assume 'this' context, but thisobj is NULL

Revision 1219 - Directory Listing
Modified Wed Apr 25 12:35:13 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Correctly detect memcmp and add libsee/replace.h to dist.

Revision 1218 - Directory Listing
Modified Wed Apr 25 10:23:38 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Correct argument order of memmove. (I can't believe I got that wrong). Add const to memcmp() args

Revision 1217 - Directory Listing
Modified Wed Apr 25 07:46:55 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
correct return type of memmove()

Revision 1216 - Directory Listing
Modified Wed Apr 25 07:36:11 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Add memmove; and make memcmp and memmove replacements private to libsee.
The reason I am renaming memmove and memcmp to _SEE_memcmp and
_SEE_memmove is for the case the including application defines its own memmove
or memcmp. We don't want to conflict.

Revision 1215 - Directory Listing
Modified Wed Apr 25 07:29:41 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Clean up headers:
- Use consistent names for #ifndef-protection
- Place use of string.h and stdarg.h in properly protected places
- Forward declare some structures to keep some headers independent
- Remove some unnecessary includes

Revision 1212 - Directory Listing
Modified Sun Apr 22 13:59:35 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 47: Add Object.prototype.eval() for JS1.1 and JS1.2 compatibility

Revision 1210 - Directory Listing
Modified Sat Apr 21 04:00:53 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Fix some -Wall compiler warnings and protect #include <string.h> properly

Revision 1207 - Directory Listing
Modified Sat Apr 21 01:46:59 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Bug 68: fixes crash in growto; the wrong pointer was being freed.

Revision 1206 - Directory Listing
Modified Thu Apr 19 10:29:42 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
Add some type checks to SEE_ToBoolean, ToNumber, ToString, ToObject().

Revision 1205 - Directory Listing
Modified Tue Apr 17 13:56:22 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug64: define GC_PTR if gc.h can't be included.

Revision 1202 - Directory Listing
Modified Tue Apr 17 13:39:12 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
fix dev bug: growby doesn't set the length (growto does)

Revision 1200 - Directory Listing
Modified Tue Apr 17 13:32:33 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 20: use SEE_growable for regex data

Revision 1199 - Directory Listing
Modified Tue Apr 17 13:31:38 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
add missing header for NUMBER_fmod

Revision 1198 - Directory Listing
Modified Tue Apr 17 13:17:39 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 16: use floor() instead of rint()
Also, replace a bunch of math.h function calls with their NUMBER_xx
equivalents.

Revision 1197 - Directory Listing
Modified Tue Apr 17 12:48:51 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 16: Add support for string resource stores.

If STATIC_STRINGS is defined, then STR(x) references will be calculated at 
link time.  Otherwise, STR(x) is calculated at runtime as an index into an 
array at SEE_stringtab. Someone porting this library to a device where 
string storage is premium can make use of this. They'll need to modify
string.pl to generate a special resource file.

Revision 1196 - Directory Listing
Modified Tue Apr 17 10:07:53 2007 UTC (3 years, 4 months ago) by d
Original Path: see/trunk/libsee
bug 66: fix line number tracking when using '//' or '<!--'

Revision 1193 - Directory Listing
Modified Tue Apr 10 12:35:00 2007 UTC (3 years, 5 months ago) by d
Original Path: see/trunk/libsee
Add SEE_grow_to() for limited, growable memory regions.
Make internal simple strings use SEE_grow_to().

Revision 1192 - Directory Listing
Modified Mon Apr 9 10:37:42 2007 UTC (3 years, 5 months ago) by d
Original Path: see/trunk/libsee
eval() now uses the input name <eval> instead of <string>.
This makes error messages read better.

Revision 1190 - Directory Listing
Modified Mon Apr 9 05:46:46 2007 UTC (3 years, 5 months ago) by d
Original Path: see/trunk/libsee
missing semicolon

Revision 1186 - Directory Listing
Modified Tue Feb 6 22:34:08 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
correct call, add licence

Revision 1185 - Directory Listing
Modified Tue Feb 6 22:23:10 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
missed this file for --enable-native-dtoa

Revision 1184 - Directory Listing
Modified Tue Feb 6 22:22:44 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
Support cross compiling; new option --enable-native-dtoa

Revision 1183 - Directory Listing
Modified Tue Feb 6 22:21:42 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
Use #error instead of bad C syntax to force an error.

Revision 1182 - Directory Listing
Modified Fri Jan 19 13:05:19 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add assertion check to ASCII-only intern function

Revision 1181 - Directory Listing
Modified Fri Jan 19 10:24:05 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 62: fix calls to SEE_OBJECT_DELETE that don't intern the property.
Also, correct documentation to indicate that the property argument is
expected to be internalised.

Revision 1178 - Directory Listing
Modified Thu Jan 18 13:31:34 2007 UTC (3 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 61: assignment operator -= was raising spurious typerror exceptions
due to uninitialised variable not picked up because it was passed by addr.

Revision 1177 - Directory Listing
Modified Tue Dec 12 09:43:43 2006 UTC (3 years, 8 months ago) by d
Original Path: see/trunk/libsee
fix bug 60: problem decoding UTF-8 on systems where char is signed

Revision 1153 - Directory Listing
Modified Tue Sep 5 10:31:59 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
bug 49: change sign of value returned by _SEE_platform_dst; corrects daylight savings time calculation

Revision 1148 - Directory Listing
Modified Sun Aug 27 08:01:03 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
if system.malloc_string is NULL, use system.malloc instead

Revision 1146 - Directory Listing
Modified Sun Aug 27 07:25:55 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
bug 52: attach tracebacks to throw contexts
Tracebacks are now reset after handled exceptions.

Revision 1143 - Directory Listing
Modified Thu Aug 24 13:36:53 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
bug 49: use a signed integer for time_t differences

Revision 1142 - Directory Listing
Modified Thu Aug 24 09:17:24 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
bug 50: use !finite() instead of isinf()

Revision 1141 - Directory Listing
Modified Sat Aug 12 10:55:29 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
more codegen

Revision 1140 - Directory Listing
Modified Sat Aug 12 06:50:06 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
Beginnings of code generator support. Activated with --enable-parser-codegen during configure

Revision 1139 - Directory Listing
Modified Sat Aug 12 06:49:15 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
more [[Construct]]/thisobj deprecation

Revision 1138 - Directory Listing
Modified Sat Aug 12 06:45:59 2006 UTC (4 years ago) by d
Original Path: see/trunk/libsee
Pass NULL for the thisobj parameter when calling [[Construct]].

The signature of [[Construct]] really should have removed thisobj before
API 2.0 was released, but.. oh well :(


Revision 1136 - Directory Listing
Modified Thu Aug 10 12:49:54 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
new API: SEE_call_args()

Revision 1135 - Directory Listing
Modified Thu Aug 10 12:47:22 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
include platform_* in distributions

Revision 1134 - Directory Listing
Modified Thu Aug 10 12:46:16 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
fix compiler warning

Revision 1127 - Directory Listing
Modified Sun Aug 6 12:00:19 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
A couple of notes on the implementation approach

Revision 1126 - Directory Listing
Modified Sat Aug 5 12:48:25 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
remove EXT1 compat; move into JS11

Revision 1125 - Directory Listing
Modified Thu Aug 3 14:28:56 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
improve compatibility Number([1,2,3])==3 under js1.2

Revision 1124 - Directory Listing
Modified Wed Aug 2 16:40:07 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
remove some compiler warnings

Revision 1123 - Directory Listing
Modified Wed Aug 2 16:28:42 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
Add some comments to the string table

Revision 1119 - Directory Listing
Modified Wed Aug 2 15:15:47 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
Add missing error strings

Revision 1118 - Directory Listing
Modified Wed Aug 2 15:15:08 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
throw an error if SEE_parse_args converts a string with nuls to ASCII or UTF-8

Revision 1117 - Directory Listing
Modified Wed Aug 2 15:13:22 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
Protect against future use of %e/%f/%g

Revision 1112 - Directory Listing
Modified Tue Aug 1 15:04:56 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
make default transit_sec_domain explicit

Revision 1109 - Directory Listing
Modified Tue Aug 1 14:22:39 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
add -version-info to libsee

Revision 1108 - Directory Listing
Modified Tue Aug 1 14:22:09 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
security domains framework

Revision 1106 - Directory Listing
Modified Tue Aug 1 14:19:17 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
conditional ifs are a JS1.5 feature

Revision 1105 - Directory Listing
Modified Tue Aug 1 11:14:51 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
always optimize calls to empty functions

Revision 1102 - Directory Listing
Modified Mon Jul 31 13:06:06 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
relax requirement for malloc_finalize so that distcheck works

Revision 1099 - Directory Listing
Modified Fri Jul 28 15:24:51 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
Mark unconverted EXT1 features with "EXT:nnn" where nn is a number.
I plan to work on converting these to proper JS_COMPAT tests, as
soon as I figure out which versions of JS they apply to!

Revision 1098 - Directory Listing
Modified Fri Jul 28 15:20:53 2006 UTC (4 years, 1 month ago) by d
Original Path: see/trunk/libsee
New function SEE_parse_args() for helping convert arguments into C types.

Revision 1093 - Directory Listing
Modified Wed Jun 21 14:47:43 2006 UTC (4 years, 2 months ago) by d
Original Path: see/trunk/libsee
Make SEE_nstringtab and the STR() string content constant (part of bug 16)

Revision 1092 - Directory Listing
Modified Wed Jun 21 14:46:28 2006 UTC (4 years, 2 months ago) by d
Original Path: see/trunk/libsee
improve compatibility with netscape when printing object displays

Revision 1091 - Directory Listing
Modified Wed Jun 21 14:45:44 2006 UTC (4 years, 2 months ago) by d
Original Path: see/trunk/libsee
tighten constness of private hashing function

Revision 1083 - Directory Listing
Modified Sun May 7 08:24:13 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
fix bug 42: String.concat()

Revision 1081 - Directory Listing
Modified Sun May 7 05:58:32 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
improve comments; move debug messages out of critical areas

Revision 1080 - Directory Listing
Modified Sun May 7 05:57:19 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
Make SEE_string_concat() more efficient.  Improve comments in string.c

Previously, loops such as 
	for (var s = "", i = 1; i < 1000; i++) s = s + "x";
were very very inefficient because string catenation involved complete 
duplication of strings.

Now, SEE_string_concat(interp, a, b) uses data aliasing when the first
string is 'simple'. Exponential storage prediction previously only
available through the C interface is now implicitly available through
ECMAScript's "<String> + <String>" operator. One side effect of this 
change to concatenation is that the first string in the C API is marked 
ungrowable. Extra assertions about growability have been added.

Revision 1079 - Directory Listing
Modified Sun May 7 04:45:34 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
improve the simple GC so that it doesn't find malloc's own pointers

Revision 1078 - Directory Listing
Modified Sun May 7 04:43:54 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
Correct some compat logic to look for JS1.2 or above

Revision 1077 - Directory Listing
Modified Sat Apr 29 09:54:30 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
Improve comments, rename & prototype the target_matches function

Revision 1069 - Directory Listing
Modified Thu Apr 20 14:09:55 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
flush stderr and stdout before aborting

Revision 1068 - Directory Listing
Modified Thu Apr 20 12:44:07 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
add newline to libsee's non-release malloc warning; remove parenthetical recommendation

Revision 1065 - Directory Listing
Modified Wed Apr 19 14:29:27 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
Add SEE_gcollect() that tries to release all unreachable objects.
Change the shell's gc_gcollect() to be named gc() to match Mozilla.

Revision 1064 - Directory Listing
Modified Wed Apr 19 14:21:38 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
fix some compiler warnings in libsee/module.c

Revision 1062 - Directory Listing
Modified Tue Apr 18 13:47:32 2006 UTC (4 years, 4 months ago) by d
Original Path: see/trunk/libsee
remove use of UNDEFUNDEF from the parser (thanks, David Nicol)

Revision 1056 - Directory Listing
Modified Sat Mar 25 01:36:37 2006 UTC (4 years, 5 months ago) by d
Original Path: see/trunk/libsee
Handle case where chained module loading fails.

Revision 1054 - Directory Listing
Modified Sat Mar 25 01:33:09 2006 UTC (4 years, 5 months ago) by d
Original Path: see/trunk/libsee
tidy up; allow empty encoding labels to be the same as NULL.

Revision 1053 - Directory Listing
Modified Sat Feb 25 14:09:43 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
extra string defs needed for recent String.prototype compat additions

Revision 1051 - Directory Listing
Modified Sat Feb 25 14:08:27 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Add some extra JS compat functions to String.prototype

Revision 1050 - Directory Listing
Modified Sat Feb 25 13:18:13 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Compat (JS11): Regular expression instances now have a [[Call]] property, 
which behaves essentially the same as calling the .exec method.

Revision 1049 - Directory Listing
Modified Wed Feb 22 13:54:23 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
compat: for JS 1.2, the special case str.split(' ') will strip leading whitespace from str and then split on /\s+/.

Revision 1048 - Directory Listing
Modified Wed Feb 22 13:21:18 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
compat:  Array.prototype.toString() and Object.prototype.toString()
  will print re-parsable literals in JS12 mode. But only for JS12. It
  became ECMA-compliant again in JS13.

Revision 1040 - Directory Listing
Modified Mon Feb 20 12:01:04 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Compat: allow malformed \u and \x escapes in JS1.2

Revision 1033 - Directory Listing
Modified Sun Feb 19 14:00:19 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Add module loading support to the shell

Revision 1032 - Directory Listing
Modified Sun Feb 19 13:59:17 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Add support for modules

Revision 1031 - Directory Listing
Modified Sun Feb 19 13:55:19 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
add parentheses to avoid compiler warning

Revision 1030 - Directory Listing
Modified Sun Feb 19 13:53:25 2006 UTC (4 years, 6 months ago) by d
Original Path: see/trunk/libsee
Add SEE_string_utf8()

Revision 1024 - Directory Listing
Modified Wed Feb 8 15:42:56 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
JS1.2 compatibility: Array(3) <=> [3]

Revision 1022 - Directory Listing
Modified Wed Feb 8 15:41:00 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
compat: __proto__ was with JS1.2 [??

Revision 1021 - Directory Listing
Modified Wed Feb 8 15:40:35 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
compat: ToBoolean() on JS1.2 understands Boolean instances

Revision 1020 - Directory Listing
Modified Wed Feb 8 15:38:07 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
fix compat flags

Revision 1018 - Directory Listing
Modified Wed Feb 8 15:35:09 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
more corrections to the way that arguments and parameters are initialized to bring back in line with ECMA

Revision 1017 - Directory Listing
Modified Wed Feb 8 12:11:49 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
checks for too-long arrays

Revision 1013 - Directory Listing
Modified Tue Feb 7 15:35:37 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 36: arguments and activation objects now adhere to ecma

Revision 1012 - Directory Listing
Modified Tue Feb 7 15:33:19 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
add missing header to quell compiler warning

Revision 1011 - Directory Listing
Modified Tue Feb 7 15:32:35 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
compat: allow octal escapes in regex with EXT1

Revision 1010 - Directory Listing
Modified Tue Feb 7 15:13:06 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
clarify intern requirement on [[HasProperty]] etc; added assertion to check for if this is ever violated

Revision 1008 - Directory Listing
Modified Sun Feb 5 13:01:44 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add RegExp. and friends (EXT1)

Revision 1007 - Directory Listing
Modified Sun Feb 5 12:49:11 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 34: fix boolean comparison for === and !==

Revision 1006 - Directory Listing
Modified Sat Feb 4 12:03:06 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add conditional function declarations (from JS1.5)

Revision 1004 - Directory Listing
Modified Sat Feb 4 10:06:07 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 40: RegExp.prototype.test() was returning reversed answer

Revision 1003 - Directory Listing
Modified Sat Feb 4 08:35:16 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
change prefix from gc_ to sgc_; factor out machdep

Revision 999 - Directory Listing
Modified Fri Feb 3 10:18:31 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
remove compielr warning

Revision 998 - Directory Listing
Modified Fri Feb 3 10:18:12 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Add new libsee function SEE_string_append_ascii()

Revision 997 - Directory Listing
Modified Tue Jan 31 21:10:59 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 39: dtoa config support for ia64, and alpha (from Simun Mikecin)

Revision 993 - Directory Listing
Modified Tue Jan 31 15:07:25 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
API change: SEE_ALLOCA() takes arguments in different order.
New function SEE_STRING_ALLOCA() to provide hints to GC.
No need to provide an alloca.c any more.

Revision 992 - Directory Listing
Modified Tue Jan 31 15:04:16 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Improved API to use ASCII C strings in more places.
  SEE_intern_ascii()
  SEE_intern_global()
  SEE_OBJECT_GETA()
  SEE_OBJECT_PUTA()
  SEE_OBJECT_CANPUTA()
  SEE_OBJECT_HASPROPERTYA()
  SEE_OBJECT_DELETEA()
  SEE_CFUNCTION_PUTA()  - creates a cfunction and adds to object

Revision 991 - Directory Listing
Modified Tue Jan 31 01:53:46 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
use the right attributes for Error objects

Revision 990 - Directory Listing
Modified Tue Jan 31 01:53:06 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
correct comment text

Revision 989 - Directory Listing
Modified Tue Jan 31 01:52:50 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
correct bad macro definition of EVAL_DEBUG_LEAVE hit with -DNDEBUG

Revision 988 - Directory Listing
Modified Tue Jan 31 01:51:50 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
remove compiler warnings

Revision 972 - Directory Listing
Modified Thu Jan 26 13:34:07 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 35: labels on blocks. (Large changes made to the labelling code to get this to adhere to the standard)

Revision 971 - Directory Listing
Modified Thu Jan 26 12:56:33 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Compat: allow /[/]/ to be parsed as a regex literal in EXT1

Revision 969 - Directory Listing
Modified Mon Jan 23 13:06:20 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
mozilla compat: allow (/x*/ instanceof RegExp) to work with EXT1

Revision 967 - Directory Listing
Modified Mon Jan 23 12:39:07 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 34: some boolean true values did not compare equal

Revision 966 - Directory Listing
Modified Sun Jan 22 12:39:15 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
improve compatibility with mozilla date parsing/representation (EXT1 compat mode)

Revision 965 - Directory Listing
Modified Sun Jan 22 12:23:43 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
another strange mozilla compatibility: distinguish undefined argument to String.split

Revision 964 - Directory Listing
Modified Sun Jan 22 12:20:39 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
support %+ formats in SEE_vsprintf()

Revision 963 - Directory Listing
Modified Sun Jan 22 06:56:01 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
fix SEGV on unknown tokens

Revision 962 - Directory Listing
Modified Sun Jan 22 06:48:37 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
collect during exponential usage

Revision 960 - Directory Listing
Modified Sun Jan 22 06:13:33 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Make the lexer use correct unicode tables

Revision 959 - Directory Listing
Modified Sun Jan 22 05:43:10 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
make strings returned by SEE_string_sprintf() growable again

Revision 958 - Directory Listing
Modified Sun Jan 22 04:26:48 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug 33: String.prototype.indexOf() returned bad result when substring was longer than string

Revision 957 - Directory Listing
Modified Sat Jan 21 23:51:51 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
bug32: use activation class for activation objects so that this is propagated properly

Revision 952 - Directory Listing
Modified Sat Jan 21 14:11:32 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
include string.h to get memcpy

Revision 951 - Directory Listing
Modified Sat Jan 21 14:11:05 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
include interpeter.h from system.h to get enum SEE_trace event

Revision 950 - Directory Listing
Modified Sat Jan 21 14:10:01 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
remove reliance on snprintf

Revision 943 - Directory Listing
Modified Sat Jan 21 13:41:46 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Factor out platform-specific time functions and abort into platform files.
Rewrote the daylight savings time code.

Revision 942 - Directory Listing
Modified Sat Jan 21 13:33:22 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
use internal _SEE_vsprintf() for strings

Revision 941 - Directory Listing
Modified Sat Jan 21 13:13:42 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
a printf implementation for systems that don't have vsnprintf

Revision 939 - Directory Listing
Modified Sat Jan 21 08:26:30 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Return global's [[Class]] to 'Global' for mozilla compatibility

Revision 938 - Directory Listing
Modified Sat Jan 21 07:22:22 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Major API change: trace callback function now takes a SEE_trace_event type.

The parser now calls trace() a lot less frequently: only
during significant flow-of-control events.

The SEE_system structure now has a 'periodic' function pointer which is
called at the same time as trace(), and also during the regular
expression processing loop (bug 25).

The debugger has been improved (added a 'list' command) and uses the
trace event information rather than checking for location changes.

Revision 936 - Directory Listing
Modified Sat Jan 21 03:51:30 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
Major API change: Class field of SEE_objectclass is now a const char *.
This removes the need for STR() macros to be constant at compile time.

Revision 934 - Directory Listing
Modified Thu Jan 19 13:20:09 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
use header

Revision 933 - Directory Listing
Modified Thu Jan 19 13:18:43 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
a simple garabage collector implementation that may help other people

Revision 927 - Directory Listing
Modified Wed Jan 18 11:50:41 2006 UTC (4 years, 7 months ago) by d
Original Path: see/trunk/libsee
missing argument to SEE_ABORT

Revision 926 - Directory Listing
Modified Mon Jan 9 00:31:29 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
rename SEE_context_debug to SEE_scope_debug

Revision 925 - Directory Listing
Modified Sat Jan 7 11:32:09 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove some compiler warnings about signedness

Revision 924 - Directory Listing
Modified Sat Jan 7 11:31:36 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
fix typos in a comment

Revision 923 - Directory Listing
Modified Sat Jan 7 11:30:41 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
fast-free enumerator temporary data

Revision 922 - Directory Listing
Modified Sat Jan 7 11:26:02 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add finalization callback support

Revision 921 - Directory Listing
Modified Sat Jan 7 05:58:40 2006 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
fix some signed/unsigned warnings

Revision 919 - Directory Listing
Modified Sat Dec 24 10:30:21 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
style: keep lines under 79 columns where possible

Revision 918 - Directory Listing
Modified Fri Dec 23 16:35:57 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 26: use new memory api for alloca replacement

Revision 909 - Directory Listing
Modified Fri Dec 23 13:44:21 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
correct return type of simple_malloc

Revision 908 - Directory Listing
Modified Fri Dec 23 13:38:40 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
correct some dependencies

Revision 903 - Directory Listing
Modified Thu Dec 22 14:15:16 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
fix typeof from throwing ReferenceErrors

Revision 900 - Directory Listing
Modified Thu Dec 22 13:52:57 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
correct [[Prototype]] for function instances. It is now duplicated across the instance aliases and their common native

Revision 899 - Directory Listing
Modified Thu Dec 22 13:47:29 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
treat invalid quantifiers as literal in EXT1

Revision 898 - Directory Listing
Modified Wed Dec 21 14:51:00 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Moved a lot of global configuration vars into one structure, SEE_system.
SEE_free is trusted a bit more.
New function SEE_intern_and_free() used by lexer.
Memory allocator defaults to system malloc() instead of NULL (ie error).
Random number seed is factored out to a hookable function too.

Revision 896 - Directory Listing
Modified Wed Dec 21 10:46:11 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 24: lastIndexOf() boundary condition. carefully rewritten using spec

Revision 895 - Directory Listing
Modified Wed Dec 21 10:35:31 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
move MIN() and MAX() into nmath.h

Revision 894 - Directory Listing
Modified Wed Dec 21 07:26:06 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
redo the debug functions so there is less redundancy

Revision 893 - Directory Listing
Modified Wed Dec 21 04:38:29 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
regenerate prototypes

Revision 892 - Directory Listing
Modified Wed Dec 21 04:38:20 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
correctly handle promoted types

Revision 891 - Directory Listing
Modified Wed Dec 21 04:37:56 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
correct prototypes; fix some comments

Revision 887 - Directory Listing
Modified Tue Dec 20 11:56:39 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 4: unicode tables for single-char toUpperCase/toLowerCase using binary search. (No locale support, though)

Revision 886 - Directory Listing
Modified Tue Dec 20 11:55:17 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
change the way the string table is generated.

Revision 885 - Directory Listing
Modified Tue Dec 20 11:54:37 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove a unary +

Revision 883 - Directory Listing
Modified Tue Dec 20 05:44:43 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Remove lots of floating point cast warnings.
Factor the float/double variants from math.h to nmath.h.
Remove unary pluses where possible.

Revision 882 - Directory Listing
Modified Tue Dec 20 04:20:08 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove unused variable warning. (logically it is always used)

Revision 881 - Directory Listing
Modified Tue Dec 20 04:06:46 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove pedantic warnings about unary plus: +1 -> 1

Revision 879 - Directory Listing
Modified Tue Dec 20 03:57:24 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
make use of calculated interp pointer

Revision 878 - Directory Listing
Modified Tue Dec 20 03:55:44 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
[optimisation] when converting an integer to a string, allocate just the right amount of storage

Revision 877 - Directory Listing
Modified Tue Dec 20 03:54:07 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Add memory debugging, and a -dm switch to the shell

Revision 876 - Directory Listing
Modified Tue Dec 20 03:53:17 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
print out attributes when native debug is enabled

Revision 874 - Directory Listing
Modified Thu Dec 15 12:55:04 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 23: year problem with new Date() and Date.UTC()

Revision 873 - Directory Listing
Modified Wed Dec 14 21:29:57 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Use stringdef strings for common array indicies (0..9)

Revision 872 - Directory Listing
Modified Wed Dec 14 21:22:06 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Get rid of warning

Revision 869 - Directory Listing
Modified Wed Dec 14 14:31:02 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove obsolete 'f' suffix

Revision 867 - Directory Listing
Modified Wed Dec 14 13:27:39 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
improve readbility; stricter types

Revision 866 - Directory Listing
Modified Wed Dec 14 13:05:00 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
remove logicaly unnecessary if

Revision 865 - Directory Listing
Modified Wed Dec 14 12:37:02 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
from bug 14: correct #ifndef NDEBUG

Revision 864 - Directory Listing
Modified Tue Dec 13 13:08:36 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
style

Revision 862 - Directory Listing
Modified Tue Dec 13 12:51:48 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
fix warnings from gcc -pedantic. Also, enable SEE_free for bug 21

Revision 861 - Directory Listing
Modified Tue Dec 13 11:58:58 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
reorder some fields to avoid structure padding

Revision 860 - Directory Listing
Modified Tue Dec 13 11:00:17 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
use more const, less includes

Revision 859 - Directory Listing
Modified Tue Dec 13 10:58:59 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
oops; this was needed with r858

Revision 858 - Directory Listing
Modified Tue Dec 13 10:57:38 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
regex constructor now throws a SyntaxError when the flags are unknown (15.10.4.1)

Revision 857 - Directory Listing
Modified Tue Dec 13 10:22:59 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 15: do not return from void function

Revision 856 - Directory Listing
Modified Tue Dec 13 10:21:13 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 13: do not return from void function

Revision 855 - Directory Listing
Modified Mon Dec 12 13:03:21 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 11: grow strings carefully, and try to raise an exception before the allocator does

Revision 854 - Directory Listing
Modified Mon Dec 12 12:33:20 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 10: new derived type SEE_size_t for use by allocators

Revision 852 - Directory Listing
Modified Mon Dec 12 11:50:51 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
when recursion limit is hit and being handled, temporarily disable

Revision 850 - Directory Listing
Modified Sun Dec 11 15:16:38 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
include the use of reserved words as identifiers in EXT1 compatibility mode

Revision 849 - Directory Listing
Modified Sun Dec 11 15:00:04 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
RegExp special case fix (s15.10.4)

Revision 848 - Directory Listing
Modified Sun Dec 11 14:27:40 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 9: correct function's prototype.constructor

Revision 845 - Directory Listing
Modified Sun Dec 11 13:21:01 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Correct Date.setMilliseconds() which assumed UTC.
Correct incorrect timezone calculation.
Parsed dates now assume local timezone unless "GMT" at end of text.
Parsed Netscape dates are always assumed local timezone.
Date.toUTCString() appends "GMT" to its result.

Revision 844 - Directory Listing
Modified Sun Dec 11 13:16:59 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
Fix function prototype warings; more --disable-parser-print ifdefs

Revision 837 - Directory Listing
Modified Sun Dec 11 07:11:24 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 7: SEE_ALLOCA now takes an interpreter argument

Revision 836 - Directory Listing
Modified Sun Dec 11 06:53:07 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
gcc pedantic warning

Revision 835 - Directory Listing
Modified Sun Dec 11 06:51:15 2005 UTC (4 years, 8 months ago) by d
Original Path: see/trunk/libsee
bug 2: allocate strings so they are not scanned by the GC system

Revision 832 - Directory Listing
Modified Sat Dec 10 14:41:03 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
Add --disable-parser-print and --disable-parser-visit options

Revision 830 - Directory Listing
Modified Sat Dec 10 14:09:06 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
fix function name

Revision 829 - Directory Listing
Modified Sat Dec 10 13:44:19 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
variable rename; readability

Revision 828 - Directory Listing
Modified Sat Dec 10 13:43:43 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
oops; depend on unicode.inc

Revision 827 - Directory Listing
Modified Sat Dec 10 13:41:10 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
New option: --disable-full-unicode which omits unicode tables

Revision 826 - Directory Listing
Modified Sat Dec 10 05:19:44 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
Add SEE_version(), SEE_VERSION_API_MAJOR and _MINOR

Revision 825 - Directory Listing
Modified Fri Dec 9 12:58:25 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
compiler warning: cast int to SEE_number for pow()

Revision 824 - Directory Listing
Modified Fri Dec 9 12:47:21 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
Move all debug printing into a special dprint module, rather than assume stderr exists

Revision 823 - Directory Listing
Modified Fri Dec 9 11:55:10 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
spelling mistake

Revision 822 - Directory Listing
Modified Fri Dec 9 11:43:06 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
replace 'if(a=b)' with 'a=b;if(a)'

Revision 821 - Directory Listing
Modified Tue Dec 6 22:17:22 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
properly protect macro arguments

Revision 820 - Directory Listing
Modified Mon Dec 5 13:57:36 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
A starting attempt to remove warnings that come up with -traditional.
Some type information has been changed with obj_Date which needs
careful study.

Revision 816 - Directory Listing
Modified Mon Dec 5 11:27:09 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
remove warnings arising from gcc -Wall

Revision 815 - Directory Listing
Modified Mon Dec 5 10:57:24 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
remove unnecessary semicolon (jeff%activescript.com)

Revision 813 - Directory Listing
Modified Sat Dec 3 15:14:20 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
correct a few missing superclass dependencies. record the line number of the miscast class

Revision 812 - Directory Listing
Modified Sat Dec 3 14:59:21 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
Add a CAST_NODE() macro, and a 'superclass' field to the nodeclass structures.
This gets rid of the hundred or so 'initialization from incompatible pointer 
type' warnings, and allows for checked typecasting of AST nodes.


Revision 811 - Directory Listing
Modified Sat Dec 3 13:29:25 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
add missing visitor functions

Revision 808 - Directory Listing
Modified Fri Nov 25 12:44:25 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
Provide simplified SEE_context_eval() function

Revision 806 - Directory Listing
Modified Fri Nov 25 12:13:39 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
rename and hide private scope functions

Revision 805 - Directory Listing
Modified Fri Nov 25 11:58:44 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
rename context.c to scope.c

Revision 804 - Directory Listing
Modified Fri Nov 25 11:44:51 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
move context.h to public API

Revision 802 - Directory Listing
Modified Fri Nov 25 11:12:13 2005 UTC (4 years, 9 months ago) by d
Original Path: see/trunk/libsee
rename 'struct context' -> 'struct SEE_context' in preparation for exposing context information to external debuggers

Revision 797 - Directory Listing
Modified Sun Oct 30 06:44:05 2005 UTC (4 years, 10 months ago) by d
Original Path: see/trunk/libsee
improve on error messages

Revision 796 - Directory Listing
Modified Sun Oct 30 06:43:28 2005 UTC (4 years, 10 months ago) by d
Original Path: see/trunk/libsee
remove dead variables; correct bug where an illegal unicode char may access an uninitialised buffer

Revision 795 - Directory Listing
Modified Sat Oct 15 11:24:55 2005 UTC (4 years, 10 months ago) by d
Original Path: see/trunk/libsee
reorganise repository after cvs2svn

Revision 794 - Directory Listing
Modified Thu Sep 15 12:59:01 2005 UTC (4 years, 11 months ago) by d
Original Path: trunk/see/libsee
support for macos/x (cody@hpcs.com)

Revision 791 - Directory Listing
Modified Thu Jun 9 12:07:38 2005 UTC (5 years, 3 months ago) by d
Original Path: trunk/see/libsee
provide __FUNCTION__ for platforms without it. [gerry sweeney]

Revision 786 - Directory Listing
Modified Thu Jun 9 11:38:12 2005 UTC (5 years, 3 months ago) by d
Original Path: trunk/see/libsee
don't lose precision when multiplying time_t; thanks gerry.sweeney@hornbill.com

Revision 782 - Directory Listing
Modified Wed Apr 27 13:14:34 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
prototype everything; fix some type warnings

Revision 781 - Directory Listing
Modified Wed Apr 27 13:14:05 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
fix some type warnings and prototypes found by visual C++

Revision 777 - Directory Listing
Modified Tue Apr 26 13:42:47 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
tidy

Revision 776 - Directory Listing
Modified Tue Apr 26 13:40:02 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
fixes for local time != utc

Revision 773 - Directory Listing
Modified Tue Apr 26 11:42:18 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
SEE_intern_init -> _SEE_intern_init, because it's private

Revision 772 - Directory Listing
Modified Tue Apr 26 11:37:43 2005 UTC (5 years, 4 months ago) by d
Original Path: trunk/see/libsee
From: ��imun Mikeci <simun.mikecin@logos.hr>
[dtoa] doesn't work on amd64 (AMD x86-64 or Intel EM64T) because
__i386__ is not defined. [__amd64__ is defined]

Revision 762 - Directory Listing
Modified Sun Jan 30 09:11:38 2005 UTC (5 years, 7 months ago) by d
Original Path: trunk/see/libsee
fix ID tag

Revision 758 - Directory Listing
Modified Sun Jan 30 01:16:01 2005 UTC (5 years, 7 months ago) by d
Original Path: trunk/see/libsee
not everyone has rint (segura@nerim.net)

Revision 757 - Directory Listing
Modified Sun Jan 30 01:14:34 2005 UTC (5 years, 7 months ago) by d
Original Path: trunk/see/libsee
wrong include (segura@nerim.net)

Revision 752 - Directory Listing
Modified Thu Dec 2 12:37:59 2004 UTC (5 years, 9 months ago) by d
Original Path: trunk/see/libsee
fix some uninitialised memory. fault detected by andrew%terrainformatica.com

Revision 751 - Directory Listing
Modified Thu Dec 2 11:24:25 2004 UTC (5 years, 9 months ago) by d
Original Path: trunk/see/libsee
remove clause 3 from the licence, which means advertising material no longer needs to include my name

Revision 740 - Directory Listing
Modified Mon Nov 1 13:08:08 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix bug where configure vars are dependent on others

Revision 737 - Directory Listing
Modified Sun Oct 31 11:56:52 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix INFINITY being defined elsewhere. needs better fix

Revision 736 - Directory Listing
Modified Sun Oct 31 11:56:31 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix bug when compiling with NDEBUG

Revision 733 - Directory Listing
Modified Sun Oct 31 11:25:24 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
Support for rand() when rand_r() is not available. This is not
thread safe, and is pretty awful. It allows building under Windows though.

Revision 725 - Directory Listing
Modified Sun Oct 24 00:55:49 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
add ordered enumeration to the EXT1 compat mode

Revision 724 - Directory Listing
Modified Fri Oct 22 13:52:41 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
Import latest dtoa.c from http://www.netlib.org/fp/

Revision 721 - Directory Listing
Modified Wed Oct 20 12:35:49 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
make activation objects easier to test

Revision 720 - Directory Listing
Modified Wed Oct 20 12:35:21 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
Treat \x** and \u**** as simply x** and u**** when in EXT1 mode.
Also, backtrack and treat octal numbers as decimal when we hit a non-octal.

Revision 719 - Directory Listing
Modified Wed Oct 20 12:33:56 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix some boundary bugs with parseInt()

Revision 718 - Directory Listing
Modified Wed Oct 20 12:33:00 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix non-compliance in the following:
	exp(+Inf)
	exp(-Inf)
	pow(-0, -(2n))
	atan2(+0, -0)
	atan2(-0, -0)

Revision 717 - Directory Listing
Modified Wed Oct 20 12:30:22 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
treat the NULL object as the null value when converting to string

Revision 715 - Directory Listing
Modified Sun Oct 17 13:50:51 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
add const to the debug functions
add SEE_COMPAT_ARRAYJOIN1
SEE_throw_abort() now tries to show the value being thrown
Fixed octal parsing bug in parseInt
Fixed undefined arg bugs with escape, unescape, isNaN, isFinite
Fixed bug scanning /*/*/ as comment
Attempt at fixing the function 'f.prototype.constructor === f' bug
Allow interning of duplicate strings
Nicer error messages
Allow null to be assigned to __proto__
Dates now have a defaultvalue of strings as per 11.6.1

Revision 711 - Directory Listing
Modified Sun Oct 17 13:17:48 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix bug scanning "/*/*/"

Revision 710 - Directory Listing
Modified Sun Oct 17 13:11:32 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix some problems with undefined args

Revision 709 - Directory Listing
Modified Sun Oct 17 13:03:09 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
fix bug where parseInt treated leading 0 to indicate base 7 instead of 8

Revision 708 - Directory Listing
Modified Sun Oct 17 01:42:33 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
add SEE_VALUE_GET_TYPE

Revision 705 - Directory Listing
Modified Sat Oct 16 23:29:57 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
don't assume gc.h is available

Revision 703 - Directory Listing
Modified Sat Oct 16 23:28:28 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
better support for windows (untested)

Revision 699 - Directory Listing
Modified Sat Oct 16 11:45:07 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
Simplification of autoconf/automake
Made unicode.c a maintainer problem. (See README.cvs)
Added a libsee-config script
Renamed test to test-grammar
Put all IEEE-754 constants into static storage instead of macros
Removed optional libraries hardcoded into libsee build

Revision 698 - Directory Listing
Modified Sat Oct 16 09:27:05 2004 UTC (5 years, 10 months ago) by d
Original Path: trunk/see/libsee
Bump version to 1.2
Corrected embarrasing stringdefs build problem
Adhere more closely to GNU software standards (but still BSD licence)
Look for boehm gc in libdir, instead of prefix/lib
Removed enumerator 'reset' method (never used)
Removed see/config.h from install

Revision 684 - Directory Listing
Modified Tue May 18 06:25:55 2004 UTC (6 years, 3 months ago) by d
Original Path: trunk/see/libsee
put parentheses around expressions when printing; also remove a minor warning

Revision 682 - Directory Listing
Modified Mon Apr 26 07:35:55 2004 UTC (6 years, 4 months ago) by d
Original Path: trunk/see/libsee
change visitor_fn to visitor_fn_t; refactor IfStatement to make it simpler

Revision 681 - Directory Listing
Modified Mon Apr 26 06:15:27 2004 UTC (6 years, 4 months ago) by d
Original Path: trunk/see/libsee
typo detritis->detritus

Revision 680 - Directory Listing
Modified Mon Apr 26 06:07:48 2004 UTC (6 years, 4 months ago) by d
Original Path: trunk/see/libsee
- use the hex strings in value.c when printing labels.
- make a start on implementing a whole-tree visitor pattern
- also started implementing idempotent-constant folding

Revision 679 - Directory Listing
Modified Mon Apr 26 03:59:45 2004 UTC (6 years, 4 months ago) by d
Original Path: trunk/see/libsee
use copysign instead of home-grown ABS/SGN

Revision 678 - Directory Listing
Modified Mon Apr 26 03:59:02 2004 UTC (6 years, 4 months ago) by d
Original Path: trunk/see/libsee
new autoconf

Revision 674 - Directory Listing
Modified Tue Mar 30 13:03:41 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
compiler warning fixes

Revision 671 - Directory Listing
Modified Tue Mar 30 12:30:19 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
fix problem with error message

Revision 670 - Directory Listing
Modified Tue Mar 30 11:31:55 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
fix some error messages; better traceback info

Revision 668 - Directory Listing
Modified Tue Mar 30 11:30:27 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
add SEE_PrintTraceback()

Revision 666 - Directory Listing
Modified Tue Mar 30 09:04:02 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
better parser errors

Revision 665 - Directory Listing
Modified Tue Mar 30 08:59:44 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
initialisers

Revision 664 - Directory Listing
Modified Tue Mar 30 08:11:51 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
make EXT1 extension *disable* the empty-function bypass

Revision 662 - Directory Listing
Modified Mon Mar 29 21:11:43 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
consistent display of strings; avoid allocating extra storage when printing a string

Revision 660 - Directory Listing
Modified Mon Mar 29 20:54:51 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
tidy; add flag for empty functions

Revision 659 - Directory Listing
Modified Mon Mar 29 20:54:31 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
check for PrintString(NULL)

Revision 658 - Directory Listing
Modified Mon Mar 29 20:54:05 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
extra sources now

Revision 657 - Directory Listing
Modified Mon Mar 29 20:53:03 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
extra strings

Revision 656 - Directory Listing
Modified Mon Mar 29 20:52:46 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
tidy; doc; fix obscure bug

Revision 655 - Directory Listing
Modified Mon Mar 29 20:51:35 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
more debugging/trace code

Revision 654 - Directory Listing
Modified Mon Mar 29 20:51:09 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
recursion_limit; documentation

Revision 653 - Directory Listing
Modified Mon Mar 29 20:50:47 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
determine if a function is empty (for a speed hack)

Revision 652 - Directory Listing
Modified Mon Mar 29 20:50:20 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
context debugging; use SEE_SET_REFERENCE() macro

Revision 651 - Directory Listing
Modified Mon Mar 29 20:49:43 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
doc

Revision 650 - Directory Listing
Modified Mon Mar 29 20:49:11 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
use new numeric constants determined by autoconf instead of hex literals

Revision 649 - Directory Listing
Modified Mon Mar 29 20:48:29 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
rename SEE_hexstr to SEE_hexstr_lowercase

Revision 648 - Directory Listing
Modified Mon Mar 29 20:48:11 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
speed hack to optimise calling of empty functions

Revision 647 - Directory Listing
Modified Mon Mar 29 20:47:38 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
dont assume existence of gettimeofday()

Revision 646 - Directory Listing
Modified Mon Mar 29 20:46:34 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
tidy

Revision 643 - Directory Listing
Modified Mon Mar 29 20:43:37 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
IEEE-754 constants NaN,Inf,Max,Min; tidy

Revision 642 - Directory Listing
Modified Mon Mar 29 20:42:35 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
tidy, document

Revision 641 - Directory Listing
Modified Mon Mar 29 20:42:06 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
add a way of testing to see if a function body is empty

Revision 640 - Directory Listing
Modified Mon Mar 29 20:41:54 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
rename SEE_hexstr to SEE_hexstr_lowercase; add a way of testing to see if a function body is empty

Revision 638 - Directory Listing
Modified Mon Mar 29 20:33:48 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
add a recursion limit

Revision 635 - Directory Listing
Modified Mon Mar 29 20:21:54 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
document

Revision 634 - Directory Listing
Modified Mon Mar 29 20:21:27 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
make SEE_string_fputs() return the number of characters printed or EOF on error

Revision 632 - Directory Listing
Modified Mon Mar 29 20:14:01 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
better doc

Revision 631 - Directory Listing
Modified Mon Mar 29 20:13:45 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
typo

Revision 630 - Directory Listing
Modified Mon Mar 29 20:05:36 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
introduce a third level to the intern cache; for global constant strings

Revision 629 - Directory Listing
Modified Mon Mar 29 20:03:34 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
detect unsafe UTF-8 encoded chars by default, overridable with UTF_UNSAFE compat flag

Revision 628 - Directory Listing
Modified Mon Mar 29 20:00:48 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
add missing header

Revision 627 - Directory Listing
Modified Mon Mar 29 20:00:34 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
add SEE_PrintString() for niceness

Revision 626 - Directory Listing
Modified Mon Mar 29 19:59:46 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
support compilers without variadic macros

Revision 621 - Directory Listing
Modified Mon Mar 29 19:54:55 2004 UTC (6 years, 5 months ago) by d
Original Path: trunk/see/libsee
compatibility documentation now in USAGE.html

Revision 598 - Directory Listing
Modified Mon Mar 8 01:05:57 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
use SEE_SET_REFERENCE macro; add <string.h> to includes

Revision 597 - Directory Listing
Modified Sun Mar 7 23:28:42 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
ensure statement follows default (Emanuele Ruffaldi)

Revision 596 - Directory Listing
Modified Sun Mar 7 22:53:21 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
Dereference a char instead of void pointer. (Emanuele Ruffaldi)

Revision 595 - Directory Listing
Modified Sun Mar 7 22:51:03 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
Only recognise SGML start-comment literals ('<!--') in EXT1 compat mode.
Ensure an empty statement follows a label. (Emanuele Ruffaldi)

Revision 589 - Directory Listing
Modified Sun Feb 15 06:43:15 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
move initialiser signature declarations to init.h

Revision 587 - Directory Listing
Modified Wed Feb 11 07:18:29 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
better doc

Revision 586 - Directory Listing
Modified Wed Feb 11 07:18:16 2004 UTC (6 years, 6 months ago) by d
Original Path: trunk/see/libsee
add an UNDEFDEF compatibility flag that turns global var ReferenceErrors into undefined values

Revision 584 - Directory Listing
Modified Tue Feb 10 08:58:54 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
SEE_abort takes a message argument

Revision 583 - Directory Listing
Modified Tue Feb 10 08:58:36 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
document dodgy Canonicalize implementation better

Revision 582 - Directory Listing
Modified Tue Feb 10 08:58:17 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
fix comment (c&p)

Revision 581 - Directory Listing
Modified Tue Feb 10 08:58:06 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
SEE_abort takes a msg argument

Revision 580 - Directory Listing
Modified Tue Feb 10 08:57:42 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
give SEE_abort() a msg argument
better error messages
javadoc-style comments for future automatic manpage generation
initialise locale field

Revision 579 - Directory Listing
Modified Tue Feb 10 08:54:36 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
define and use DTOA_MODE_ defines for the mode argument to dtoa()

Revision 578 - Directory Listing
Modified Tue Feb 10 08:53:28 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
missing formal parameter name

Revision 572 - Directory Listing
Modified Tue Feb 10 08:21:55 2004 UTC (6 years, 7 months ago) by d
Original Path: trunk/see/libsee
Print numeric literals using ToString()
A new macro EXPECTX that takes optional description of tokens expected.
(This is useful for when one of many tokens are acceptable.)

Revision 568 - Directory Listing
Modified Sun Dec 21 12:04:30 2003 UTC (6 years, 8 months ago) by d
Original Path: trunk/see/libsee
better conformance with standard

Revision 567 - Directory Listing
Modified Sun Dec 21 11:34:12 2003 UTC (6 years, 8 months ago) by d
Original Path: trunk/see/libsee
Encode() always generates uppercase hexidecimal. See Encode() step 19 on page 80 of ecma262 (edition 3)

Revision 555 - Directory Listing
Modified Tue Dec 2 21:41:10 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
better compatibility interface and docs

Revision 554 - Directory Listing
Modified Tue Dec 2 21:27:36 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
conditionalise debugging; typo fixes

Revision 553 - Directory Listing
Modified Tue Dec 2 21:15:34 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
teach automake how to properly distribute and build the stringdefs.h file

Revision 551 - Directory Listing
Modified Tue Dec 2 13:13:35 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
minor fixes

Revision 546 - Directory Listing
Modified Tue Dec 2 10:02:18 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
include unicode.c test

Revision 537 - Directory Listing
Modified Mon Dec 1 21:32:17 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
off-by-one buffer botch

Revision 536 - Directory Listing
Modified Mon Dec 1 21:07:15 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
style

Revision 534 - Directory Listing
Modified Mon Dec 1 20:23:46 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
more cleanup and autoconf work

Revision 533 - Directory Listing
Modified Mon Dec 1 20:23:14 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
detect missing memory allocator

Revision 531 - Directory Listing
Modified Mon Dec 1 11:49:52 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
rely on garbage collector, rather than the nightmare that is C_ALLOCA

Revision 529 - Directory Listing
Modified Sun Nov 30 21:05:12 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
rename gc_malloc() to malloc_gc() to reduce confusion

Revision 528 - Directory Listing
Modified Sun Nov 30 21:04:39 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
see/types.h -> see/type.h

Revision 521 - Directory Listing
Modified Sun Nov 30 09:05:24 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
document interpreter_abort(NULL)

Revision 520 - Directory Listing
Modified Sun Nov 30 09:04:52 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
add a longjmperror() for catch longjmp botches

Revision 517 - Directory Listing
Modified Sun Nov 30 06:20:33 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
add autoconf conditionals

Revision 516 - Directory Listing
Modified Sun Nov 30 04:28:26 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
first cut at getting autoconf to work

Revision 514 - Directory Listing
Modified Sun Nov 30 04:16:58 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
move USAGE.html to the top level

Revision 510 - Directory Listing
Added Sat Nov 29 14:38:02 2003 UTC (6 years, 9 months ago) by d
Original Path: trunk/see/libsee
Initial revision

Sort log by:

David Leonard
ViewVC Help
Powered by ViewVC 1.0.9