[svn:parrot] r36073 - in trunk: compilers/imcc t/oo t/pmc

2009-01-27 Thread chromatic
Author: chromatic Date: Tue Jan 27 16:23:19 2009 New Revision: 36073 Modified: trunk/compilers/imcc/imcc.y trunk/compilers/imcc/imcparser.c trunk/compilers/imcc/pcc.c trunk/compilers/imcc/symreg.h trunk/t/oo/vtableoverride.t trunk/t/pmc/namespace.t trunk/t/pmc/parrotobject.t

[svn:parrot] r36018 - in trunk/src: . pmc

2009-01-25 Thread chromatic
Author: chromatic Date: Sun Jan 25 22:52:36 2009 New Revision: 36018 Modified: trunk/src/list.c trunk/src/pmc/array.pmc Log: [src] Removed unused variables from list_new_init(), as well as documentation which incorrectly referred to this function. There's more to cut here, but

[svn:parrot] r35977 - trunk/lib/Parrot/Pmc2c

2009-01-24 Thread chromatic
Author: chromatic Date: Sat Jan 24 15:17:30 2009 New Revision: 35977 Modified: trunk/lib/Parrot/Pmc2c/Dumper.pm trunk/lib/Parrot/Pmc2c/Pmc2cMain.pm Log: [lib] Renamed package in Parrot::Pmc2c::Dumper to just that and exported dump_pmc() so that the real Parrot::Pmc2c::Dumper can use it

[svn:parrot] r35975 - in trunk: . editor examples/benchmarks include/parrot runtime/parrot/include runtime/parrot/library runtime/parrot/library/SDL src/pmc t/benchmark t/pmc

2009-01-24 Thread chromatic
Author: chromatic Date: Sat Jan 24 14:55:37 2009 New Revision: 35975 Removed: trunk/src/pmc/sarray.pmc trunk/t/pmc/sarray.t Modified: trunk/DEPRECATED.pod trunk/MANIFEST trunk/editor/pir-mode.el trunk/examples/benchmarks/array_access.pir trunk/examples/benchmarks/stress3.pasm

[svn:parrot] r35973 - trunk/src

2009-01-24 Thread chromatic
Author: chromatic Date: Sat Jan 24 14:43:52 2009 New Revision: 35973 Modified: trunk/src/global_setup.c Log: [src] Removed the other use of the deprecated SArray PMC. Modified: trunk/src/global_setup.c == --- trunk

[svn:parrot] r35972 - in trunk: include/parrot src

2009-01-24 Thread chromatic
Author: chromatic Date: Sat Jan 24 14:38:29 2009 New Revision: 35972 Modified: trunk/include/parrot/list.h trunk/src/list.c Log: [src] Removed one use of deprecated SArray PMC. All tests pass. Modified: trunk/include/parrot/list.h

[svn:parrot] r35903 - trunk/src/io

2009-01-22 Thread chromatic
Author: chromatic Date: Thu Jan 22 18:02:44 2009 New Revision: 35903 Modified: trunk/src/io/buffer.c Log: [IO] Removed a no-op setting the start of a buffer to itself when writing from an IO buffer. All Parrot and Rakudo tests still pass. Modified: trunk/src/io/buffer.c

[svn:parrot] r35902 - trunk/src

2009-01-22 Thread chromatic
Author: chromatic Date: Thu Jan 22 16:54:18 2009 New Revision: 35902 Modified: trunk/src/hash.c Log: [src] Removed some useless code from parrot_hash_size() as the hash parameter is a NOTNULL parameter. Modified: trunk/src/hash.c

[svn:parrot] r35901 - trunk/src

2009-01-22 Thread chromatic
Author: chromatic Date: Thu Jan 22 16:09:50 2009 New Revision: 35901 Modified: trunk/src/hash.c Log: [src] Tidied src/hash.c and improved its documentation; no functional changes (though it does pass one more codingstd test now). Modified: trunk/src/hash.c

[svn:parrot] r35856 - tags/RELEASE_0_9_0

2009-01-21 Thread chromatic
Author: chromatic Date: Wed Jan 21 00:19:40 2009 New Revision: 35856 Added: tags/RELEASE_0_9_0/ (props changed) - copied from r35855, /trunk/ Log: Tagged release 0.9.0

[svn:parrot] r35855 - trunk/src

2009-01-21 Thread chromatic
Author: chromatic Date: Wed Jan 21 00:18:39 2009 New Revision: 35855 Modified: trunk/src/sub.c Log: [GC] Worked around a spurious segfault-inducing problem in the GC where STRINGs sometimes get the "Hey, I'm a PMC!" flag set. Somehow r35847 didn't quite do the trick. Thi

[svn:parrot] r35854 - in trunk: . docs docs/project t/native_pbc tools/util

2009-01-21 Thread chromatic
Author: chromatic Date: Wed Jan 21 00:08:42 2009 New Revision: 35854 Modified: trunk/ChangeLog trunk/DEPRECATED.pod trunk/MANIFEST.generated trunk/META.yml trunk/NEWS trunk/README trunk/VERSION trunk/docs/parrothist.pod trunk/docs/project/release_manager_guide.pod

[svn:parrot] r35853 - in trunk: . compilers/pct/src/PAST languages/PIR/src/pasm src/ops

2009-01-21 Thread chromatic
Author: chromatic Date: Wed Jan 21 00:02:35 2009 New Revision: 35853 Modified: trunk/PBC_COMPAT trunk/compilers/pct/src/PAST/Compiler.pir trunk/languages/PIR/src/pasm/pasm_instr.pg trunk/languages/PIR/src/pasm/pasm_io.pg trunk/src/ops/math.ops trunk/src/ops/ops.num Log: [ops

[svn:parrot] r35852 - trunk

2009-01-21 Thread chromatic
Author: chromatic Date: Tue Jan 20 23:59:57 2009 New Revision: 35852 Modified: trunk/NEWS Log: [distro] Updated NEWS for 0.9.0 release. Modified: trunk/NEWS == --- trunk/NEWS (original) +++ trunk/NEWS Tue Jan 20 23

[svn:parrot] r35849 - in trunk/config: gen/makefiles inter

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 17:07:25 2009 New Revision: 35849 Modified: trunk/config/gen/makefiles/root.in trunk/config/inter/libparrot.pm Log: [install] Added linker magic so that installable binaries get the correct rpath to work with the installed libparrot (Andy Dougherty

[svn:parrot] r35848 - trunk/src/io

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 16:48:20 2009 New Revision: 35848 Modified: trunk/src/io/buffer.c Log: [IO] Changed some memcpy() calls to memmove(), as the latter is more robust if memory regions can possibly overlap. Why doesn't the C standard provide a single function which always

[svn:parrot] r35847 - trunk/src

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 16:25:58 2009 New Revision: 35847 Modified: trunk/src/sub.c Log: [GC] Worked around an intermitted GC bug where contents of STRING registers sometimes have the "Hey, I'm a PMC!" flag set. Hilarity ensues, in the form of crashy crashy. I

[svn:parrot] r35845 - trunk/lib/Parrot/OpTrans

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 15:48:32 2009 New Revision: 35845 Modified: trunk/lib/Parrot/OpTrans/CSwitch.pm Log: [ops] Fixed switch core for dynoplibs too; don't hardcode an inappropriate function name. Quick hack--. Modified: trunk/lib/Parrot/OpTrans/CSwit

[svn:parrot] r35844 - in trunk/languages: lua/src/pmc perl6/src/classes

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 15:32:09 2009 New Revision: 35844 Modified: trunk/languages/lua/src/pmc/luafunction.pmc trunk/languages/perl6/src/classes/Junction.pir trunk/languages/perl6/src/classes/Protoobject.pir Log: [languages] Fixed POD formatting errors. Modified: trunk

[svn:parrot] r35841 - trunk/lib/Parrot/OpTrans

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 14:59:52 2009 New Revision: 35841 Modified: trunk/lib/Parrot/OpTrans/CSwitch.pm Log: [runcore] Fixed the Switch core (-S) by initializing the op function table element of the core struct before Parrot attempts to dereference it. Don't ask me when this

[svn:parrot] r35835 - trunk/t/op

2009-01-20 Thread chromatic
Author: chromatic Date: Tue Jan 20 10:55:37 2009 New Revision: 35835 Modified: trunk/t/op/trans.t Log: [t] Made the weird atan JIT NAN test a TODO test for the JIT core (TT #201). Modified: trunk/t/op/trans.t

[svn:parrot] r35788 - in trunk: . compilers/imcc docs/pdds languages/lua/src/pmc src src/pmc t/pmc tools/dev

2009-01-19 Thread chromatic
Author: chromatic Date: Mon Jan 19 21:19:27 2009 New Revision: 35788 Modified: trunk/DEPRECATED.pod trunk/compilers/imcc/pbc.c trunk/languages/lua/src/pmc/luaboolean.pmc trunk/languages/lua/src/pmc/luanil.pmc trunk/languages/lua/src/pmc/luanumber.pmc trunk/languages/lua/src/pmc

[svn:parrot] r35772 - in trunk: src t/op

2009-01-19 Thread chromatic
Author: chromatic Date: Mon Jan 19 13:11:03 2009 New Revision: 35772 Modified: trunk/src/string.c trunk/src/string_primitives.c trunk/t/op/stringu.t Log: [src] Added a test for TT #24, where \xab escapes in literal PIR don't work correctly for iso-8859-1 encoding. Modified: trun

[svn:parrot] r35502 - trunk/src/jit/i386

2009-01-13 Thread chromatic
Author: chromatic Date: Tue Jan 13 12:01:09 2009 New Revision: 35502 Modified: trunk/src/jit/i386/exec_dep.c trunk/src/jit/i386/jit_defs.c Log: [JIT] Turned a magic number representing the cpu_ret opcode into PARROT_OP_cpu_ret, which is somewhat more clear. Modified: trunk/src/jit/i386

[svn:parrot] r35453 - trunk/src

2009-01-12 Thread chromatic
Author: chromatic Date: Mon Jan 12 11:44:27 2009 New Revision: 35453 Modified: trunk/src/inter_call.c Log: [src] Removed some PMC DOD registration from invoke code. If PObjs are getting collected while they're only available from the stack, we have a problem. If weird errors occur, th

[svn:parrot] r35452 - trunk/examples/nci

2009-01-12 Thread chromatic
Author: chromatic Date: Mon Jan 12 11:42:29 2009 New Revision: 35452 Modified: trunk/examples/nci/ls.pir Log: [examples] Fixed NCI ls example not to rely on the POSIXly-correct behavior of dlopen NULL to get a handle to the current process image. Only sane operating systems support this

[svn:parrot] r35451 - in trunk: . ext/Parrot-Embed/t

2009-01-12 Thread chromatic
Author: chromatic Date: Mon Jan 12 11:38:58 2009 New Revision: 35451 Added: trunk/ext/Parrot-Embed/t/languages.t (contents, props changed) Modified: trunk/MANIFEST trunk/ext/Parrot-Embed/t/pipp.t Log: [Parrot::Embed] Added a test file for using multiple languages from Parrot::Embed

[svn:parrot] r35366 - in branches/pdd09gc_part2: . config/gen/makefiles docs include/parrot src src/gc

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 15:01:10 2009 New Revision: 35366 Added: branches/pdd09gc_part2/include/parrot/gc_pools.h (contents, props changed) - copied, changed from r35364, /branches/pdd09gc_part2/include/parrot/headers.h branches/pdd09gc_part2/src/gc/pools.c (contents

[svn:parrot] r35364 - in branches/pdd09gc_part2: include/parrot src src/charset src/gc

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 14:40:45 2009 New Revision: 35364 Modified: branches/pdd09gc_part2/include/parrot/gc_api.h branches/pdd09gc_part2/include/parrot/gc_mark_sweep.h branches/pdd09gc_part2/include/parrot/headers.h branches/pdd09gc_part2/src/charset/binary.c branches

[svn:parrot] r35361 - in branches/pdd09gc_part2: include/parrot src src/pmc src/stm

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 14:05:52 2009 New Revision: 35361 Modified: branches/pdd09gc_part2/include/parrot/headers.h branches/pdd09gc_part2/src/headers.c branches/pdd09gc_part2/src/pmc/array.pmc branches/pdd09gc_part2/src/stacks.c branches/pdd09gc_part2/src/stm/backend.c

[svn:parrot] r35357 - in branches/pdd09gc_part2: include/parrot src

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 14:00:16 2009 New Revision: 35357 Modified: branches/pdd09gc_part2/include/parrot/headers.h branches/pdd09gc_part2/src/headers.c Log: [src] Removed doomed get_bufferlike_pool() function, which could cause memory corruption from innocent-looking use. What

[svn:parrot] r35356 - branches/pdd09gc_part2/src

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 13:45:34 2009 New Revision: 35356 Modified: branches/pdd09gc_part2/src/headers.c Log: [src] Fixed some typos. Improved some documentation. Tidied some code. Switched the one use of get_bufferlike_pool() over to make_bufferlike_pool(), as the former makes

[svn:parrot] r35352 - branches/pdd09gc_part2/src/pmc

2009-01-10 Thread chromatic
Author: chromatic Date: Sat Jan 10 13:04:15 2009 New Revision: 35352 Modified: branches/pdd09gc_part2/src/pmc/integer.pmc Log: [PMC] Made instantiate vtable entry for Integer PMC use the new_pmc() wrapper, instead of manipulating a PMC header directly. Modified: branches/pdd09gc_part2/src

[svn:parrot] r35082 - trunk/ext/Parrot-Embed

2009-01-06 Thread chromatic
Author: chromatic Date: Tue Jan 6 13:54:31 2009 New Revision: 35082 Modified: trunk/ext/Parrot-Embed/Build.PL Log: [Parrot::Embed] Improved dynamic library path detection (reported by Gabor Szabo). Modified: trunk/ext/Parrot-Embed/Build.PL

[svn:parrot] r34845 - in branches/pdd09gc_part2: . config/gen/makefiles docs include/parrot lib/Parrot/Docs/Section src/gc

2009-01-02 Thread chromatic
Author: chromatic Date: Fri Jan 2 18:56:40 2009 New Revision: 34845 Added: branches/pdd09gc_part2/include/parrot/gc_mark_sweep.h (contents, props changed) - copied, changed from r34827, /branches/pdd09gc_part2/include/parrot/smallobject.h branches/pdd09gc_part2/src/gc

[svn:parrot] r34844 - in branches/pdd09gc_part2: include/parrot src src/gc

2009-01-02 Thread chromatic
Author: chromatic Date: Fri Jan 2 18:03:48 2009 New Revision: 34844 Modified: branches/pdd09gc_part2/include/parrot/gc_api.h branches/pdd09gc_part2/src/gc/api.c branches/pdd09gc_part2/src/pmc.c Log: [GC] Renamed Parrot_free_pmc_ext() to Parrot_gc_free_pmc_ext(). Modified: branches

[svn:parrot] r34843 - in branches/pdd09gc_part2: include/parrot src/gc

2009-01-02 Thread chromatic
Author: chromatic Date: Fri Jan 2 17:47:44 2009 New Revision: 34843 Modified: branches/pdd09gc_part2/include/parrot/gc_api.h branches/pdd09gc_part2/src/gc/api.c branches/pdd09gc_part2/src/gc/incremental_ms.c Log: [GC] Created an enum for Parrot_gc_trace_root() to select which of the

[svn:parrot] r34796 - in branches/pdd09gc_part2: . config/gen/makefiles include/parrot src/gc

2009-01-01 Thread chromatic
Author: chromatic Date: Thu Jan 1 23:51:00 2009 New Revision: 34796 Added: branches/pdd09gc_part2/src/gc/incremental_ms.c (contents, props changed) - copied, changed from r34775, /branches/pdd09gc_part2/src/gc/gc_ims.c Removed: branches/pdd09gc_part2/src/gc/gc_ims.c Modified

[svn:parrot] r34795 - in branches/pdd09gc_part2: . config/gen/makefiles include/parrot src/gc

2009-01-01 Thread chromatic
Author: chromatic Date: Thu Jan 1 23:47:43 2009 New Revision: 34795 Added: branches/pdd09gc_part2/src/gc/generational_ms.c (contents, props changed) - copied, changed from r34775, /branches/pdd09gc_part2/src/gc/gc_gms.c Removed: branches/pdd09gc_part2/src/gc/gc_gms.c Modified

[svn:parrot] r34775 - in branches/pdd09gc_part2: docs/pdds include/parrot src src/gc

2009-01-01 Thread chromatic
Author: chromatic Date: Thu Jan 1 16:22:06 2009 New Revision: 34775 Modified: branches/pdd09gc_part2/docs/pdds/pdd09_gc.pod branches/pdd09gc_part2/include/parrot/gc_api.h branches/pdd09gc_part2/src/gc/api.c branches/pdd09gc_part2/src/gc/gc_gms.c branches/pdd09gc_part2/src/gc

[svn:parrot] r34774 - in branches/pdd09gc_part2: . config/gen/makefiles docs docs/pdds include/parrot src src/gc src/pmc

2009-01-01 Thread chromatic
Author: chromatic Date: Thu Jan 1 16:06:32 2009 New Revision: 34774 Added: branches/pdd09gc_part2/include/parrot/gc_api.h (props changed) - copied unchanged from r34770, /branches/pdd09gc_part2/include/parrot/dod.h branches/pdd09gc_part2/src/gc/api.c (contents, props changed

[svn:parrot] r34767 - trunk/src

2009-01-01 Thread chromatic
Author: chromatic Date: Thu Jan 1 14:02:23 2009 New Revision: 34767 Modified: trunk/src/multidispatch.c Log: [MMD] Removed dod_register_pmc()/dod_unregister_pmc() pair from Parrot_mmd_multi_dispatch_from_c_args(), as stack scanning during mark phase of GC should keep the CallSignature PMC

[svn:parrot] r34729 - trunk/t/op

2008-12-31 Thread chromatic
Author: chromatic Date: Wed Dec 31 17:29:32 2008 New Revision: 34729 Modified: trunk/t/op/time.t Log: [t] Fixed year (and copyright date) in test which fails at the end of a year (reported by Geraud CONTINSOUZAS and Mark Glines). Modified: trunk/t/op/time.t

[svn:parrot] r34677 - in trunk: . languages/PIR/src/pasm src/ops t/pmc

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 14:23:26 2008 New Revision: 34677 Modified: trunk/DEPRECATED.pod trunk/PBC_COMPAT trunk/languages/PIR/src/pasm/pasm_instr.pg trunk/languages/PIR/src/pasm/pasm_pmc.pg trunk/src/ops/ops.num trunk/src/ops/pmc.ops trunk/t/pmc/resizablepmcarray.t

[svn:parrot] r34676 - trunk/src/pmc

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 14:19:44 2008 New Revision: 34676 Modified: trunk/src/pmc/default.pmc trunk/src/pmc/stringhandle.pmc Log: [PMC] Added "mro" as an inspectable attribute of PMCs (inherited from default PMC now; overriders may need to work on this). See

[svn:parrot] r34674 - trunk/src

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 13:22:15 2008 New Revision: 34674 Modified: trunk/src/multidispatch.c Log: [MMD] Removed deprecated static functions no longer used within this file and not visible externally (so that they need no public deprecation cycle). Modified: trunk/src

[svn:parrot] r34670 - in trunk: compilers/imcc src

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 13:04:44 2008 New Revision: 34670 Modified: trunk/compilers/imcc/pbc.c trunk/src/multidispatch.c Log: [MMD] [IMCC] Optimized MMD signature generation where dispatch types are known at compile time. Modified: trunk/compilers/imcc/pbc.c

[svn:parrot] r34666 - in trunk: compilers/imcc compilers/pirc/new src

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 12:46:56 2008 New Revision: 34666 Modified: trunk/compilers/imcc/pbc.c trunk/compilers/pirc/new/bcgen.c trunk/src/multidispatch.c Log: [IMCC] [PIRC] [MMD] Fixed generation of multi signatures with no arguments, removing a nasty hack in the process (RT

[svn:parrot] r34665 - trunk/compilers/imcc

2008-12-30 Thread chromatic
Author: chromatic Date: Tue Dec 30 12:38:41 2008 New Revision: 34665 Modified: trunk/compilers/imcc/symreg.h Log: [IMCC] Rearranged some struct members (hopefully to minimize their size due to padding and alignment). Modified: trunk/compilers/imcc/symreg.h

[svn:parrot] r34593 - trunk/src/ops

2008-12-29 Thread chromatic
Author: chromatic Date: Mon Dec 29 14:02:33 2008 New Revision: 34593 Modified: trunk/src/ops/io.ops Log: [ops] Removed trailing whitespace. Modified: trunk/src/ops/io.ops == --- trunk/src/ops/io.ops(original

[svn:parrot] r34591 - trunk/languages/perl6/src/builtins

2008-12-29 Thread chromatic
Author: chromatic Date: Mon Dec 29 12:29:17 2008 New Revision: 34591 Modified: trunk/languages/perl6/src/builtins/io.pir Log: [Rakudo] Fixed IO open modes; all spectests pass again. Modified: trunk/languages/perl6/src/builtins/io.pir

[svn:parrot] r34560 - in trunk: docs/book examples/io examples/library examples/pasm examples/pir examples/tge/branch languages/Zcode languages/befunge languages/bf languages/lazy-k languages/m4/src l

2008-12-29 Thread chromatic
Author: chromatic Date: Mon Dec 29 00:07:39 2008 New Revision: 34560 Modified: trunk/docs/book/ch05_pasm.pod trunk/docs/book/ch13_reference.pod trunk/examples/io/httpd.pir trunk/examples/library/ncurses_life.pir trunk/examples/pasm/xml_parser.pasm trunk/examples/pir/pirric.pir

[svn:parrot] r34559 - in trunk/src: . gc io stm

2008-12-29 Thread chromatic
Author: chromatic Date: Mon Dec 29 00:01:42 2008 New Revision: 34559 Modified: trunk/src/gc/resources.c trunk/src/inter_call.c trunk/src/io/buffer.c trunk/src/stm/waitlist.c Log: [src] Tidied some source code; no functional changes. Modified: trunk/src/gc/resources.c

[svn:parrot] r34399 - trunk/src

2008-12-26 Thread chromatic
Author: chromatic Date: Fri Dec 26 12:15:09 2008 New Revision: 34399 Modified: trunk/src/io.c Log: [IO] When extending a STRING's buffer in Parrot_io_make_string(), use Parrot_reallocate_string() instead of Parrot_allocate_string(), so as not to lose existing contents of the buffer. S

[svn:parrot] r34392 - in trunk/src: . io

2008-12-26 Thread chromatic
Author: chromatic Date: Fri Dec 26 10:02:20 2008 New Revision: 34392 Modified: trunk/src/io.c trunk/src/io/portable.c Log: [IO] Tidied some code and added missing documentation; no functional changes. Modified: trunk/src/io.c

[svn:parrot] r34391 - trunk/src/io

2008-12-26 Thread chromatic
Author: chromatic Date: Fri Dec 26 10:00:05 2008 New Revision: 34391 Modified: trunk/src/io/buffer.c Log: [IO] Made peeking on an unbuffered IO PMC promote the PMC to a buffered PMC. See RT #61290 (François Perrad). Modified: trunk/src/io/buffer.c

[svn:parrot] r34389 - trunk/t/pmc

2008-12-26 Thread chromatic
Author: chromatic Date: Fri Dec 26 09:58:51 2008 New Revision: 34389 Modified: trunk/t/pmc/freeze.t Log: [t] Replaced an implicit vtable declaration with leading double-underscores with the modern :vtable attribute. Modified: trunk/t/pmc/freeze.t

[svn:parrot] r34343 - trunk/src

2008-12-24 Thread chromatic
Author: chromatic Date: Wed Dec 24 14:32:26 2008 New Revision: 34343 Modified: trunk/src/string.c Log: [src] Only reallocate destination STRING buffer in string_append() when the resulting size exceeds (not merely equals) the current buffer size. This produces a 12.32% performance

[svn:parrot] r34341 - trunk/src

2008-12-24 Thread chromatic
Author: chromatic Date: Wed Dec 24 13:41:55 2008 New Revision: 34341 Modified: trunk/src/string.c Log: [src] Removed an un-COW from string_chopn_inplace(). It's unnecessary, as the STRING's length is stored in the header. We can modify that in place without copying the string.

[svn:parrot] r34340 - trunk/languages/perl6/src/pmc

2008-12-24 Thread chromatic
Author: chromatic Date: Wed Dec 24 13:37:58 2008 New Revision: 34340 Modified: trunk/languages/perl6/src/pmc/perl6multisub.pmc Log: [Rakudo] Fixed some compilation warnings in MultiSub PMC. Modified: trunk/languages/perl6/src/pmc/perl6multisub.pmc

[svn:parrot] r34312 - trunk/compilers/imcc

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 18:01:33 2008 New Revision: 34312 Modified: trunk/compilers/imcc/instructions.c Log: [IMCC] Added a check for the return value from a system call. Modified: trunk/compilers/imcc/instructions.c

[svn:parrot] r34311 - trunk/compilers/imcc

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 17:49:30 2008 New Revision: 34311 Modified: trunk/compilers/imcc/optimizer.c trunk/compilers/imcc/pbc.c Log: [IMCC] Cleaned up some compilation warnings, making sure never to use an uninitialized variable. Modified: trunk/compilers/imcc/optimizer.c

[svn:parrot] r34310 - trunk/compilers/imcc

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 17:38:08 2008 New Revision: 34310 Modified: trunk/compilers/imcc/debug.c trunk/compilers/imcc/imc.h trunk/compilers/imcc/parser_util.c Log: [IMCC] Made imcc_vfprintf() a thin wrapper around Parrot_vsprintf_c(). This removes yet another sprintf

[svn:parrot] r34300 - trunk/src

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 15:57:36 2008 New Revision: 34300 Modified: trunk/src/exec_save.c Log: [src] Switched some bzero() system calls to use memset(), as the former is deprecated. While doing so, cleaned up some potential memory overflows thanks to the wrong type used in a macro

[svn:parrot] r34299 - trunk/include/parrot

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 15:30:26 2008 New Revision: 34299 Modified: trunk/include/parrot/sub.h Log: [include] Removed a trailing comma in an enum, which picky C compilers hate (reported by Jarkko). Modified: trunk/include/parrot/sub.h

[svn:parrot] r34297 - trunk/t/src

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 14:15:07 2008 New Revision: 34297 Modified: trunk/t/src/compiler.t Log: [t] Removed a test of imcc_compile_pir() as Parrot_compile_string() does a much better job and we already expose that anyway. See RT #61154 for the motivation. Modified: trunk/t/src

[svn:parrot] r34295 - in trunk: include/parrot src

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 13:43:14 2008 New Revision: 34295 Modified: trunk/include/parrot/encoding.h trunk/src/encoding.c Log: [src] Fixed function decorations on unimplemented encoding functions to demonstrate that they really do not return now. Modified: trunk/include/parrot

[svn:parrot] r34293 - trunk/src

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 13:27:48 2008 New Revision: 34293 Modified: trunk/src/dynext.c Log: [src] Improved casts of functions loaded through Parrot_dlsym(). See RT #61038 (reported by Jarkko Hietaniemi). Modified: trunk/src/dynext.c

[svn:parrot] r34290 - trunk/src

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 13:18:42 2008 New Revision: 34290 Modified: trunk/src/dynext.c trunk/src/jit_debug.c Log: [JIT] Added checks for the return values of some system calls when writing stabs files. Modified: trunk/src/dynext.c

[svn:parrot] r34288 - trunk/config/auto

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 13:03:04 2008 New Revision: 34288 Modified: trunk/config/auto/warnings.pm Log: [config] Added -funit-at-a-time to GCC flag detection to avoid inlining warnings on GCC 4.3.x. Modified: trunk/config/auto/warnings.pm

[svn:parrot] r34287 - in trunk: . examples/io runtime/parrot/library/HTTP src/ops

2008-12-23 Thread chromatic
Author: chromatic Date: Tue Dec 23 13:01:55 2008 New Revision: 34287 Modified: trunk/DEPRECATED.pod trunk/examples/io/async_select.pir trunk/runtime/parrot/library/HTTP/Daemon.pir trunk/src/ops/experimental.ops Log: [ops] Removed deprecated add_io_event opcode. Modified: trunk

[svn:parrot] r34179 - trunk/languages/perl6/src/pmc

2008-12-20 Thread chromatic
Author: chromatic Date: Sat Dec 20 20:27:56 2008 New Revision: 34179 Modified: trunk/languages/perl6/src/pmc/perl6str.pmc Log: [Rakudo] Turned a C++-style comment into a C-style comment so as not to confuse old, broken, vendor-supplied compilers stuck in the twentieth century. Modified

[svn:parrot] r34098 - trunk/src/ops

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 18:40:06 2008 New Revision: 34098 Modified: trunk/src/ops/cmp.ops Log: [ops] Made some temporary PMCs used in comparison opcodes *real* temporary PMCs. Modified: trunk/src/ops/cmp.ops

[svn:parrot] r34095 - trunk/tools/build

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 18:05:03 2008 New Revision: 34095 Modified: trunk/tools/build/c2str.pl Log: [tools] Added an exception to c2str.pl when a CONST_STRING macro occurs after a linebreak. The regex to detect this may need tweaking in the future, but this should prevent weird

[svn:parrot] r34094 - in trunk/src: . pmc

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 17:57:06 2008 New Revision: 34094 Modified: trunk/src/dynext.c trunk/src/events.c trunk/src/global.c trunk/src/multidispatch.c trunk/src/oo.c trunk/src/pmc/default.pmc trunk/src/pmc/eventhandler.pmc trunk/src/pmc/exception.pmc trunk

[svn:parrot] r34087 - in trunk: . include/parrot src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 14:04:36 2008 New Revision: 34087 Modified: trunk/DEPRECATED.pod trunk/include/parrot/multidispatch.h trunk/src/multidispatch.c Log: [MMD] Removed deprecated Parrot_MMD_search_default_infix() and Parrot_mmd_search_default() functions. Modified: trunk

[svn:parrot] r34085 - in trunk: . include/parrot src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 13:56:17 2008 New Revision: 34085 Modified: trunk/DEPRECATED.pod trunk/include/parrot/multidispatch.h trunk/src/inter_create.c trunk/src/multidispatch.c Log: [MMD] Removed deprecated mmd_destroy() function. Modified: trunk/DEPRECATED.pod

[svn:parrot] r34084 - in trunk: . include/parrot src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 13:52:05 2008 New Revision: 34084 Modified: trunk/DEPRECATED.pod trunk/include/parrot/multidispatch.h trunk/src/multidispatch.c Log: [MMD] Removed deprecated mmd_expand_x(), mmd_expand_y(), Parrot_mmd_register(), and Parrot_mmd_register_sub() functions

[svn:parrot] r34082 - trunk/src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 13:43:04 2008 New Revision: 34082 Modified: trunk/src/pic.c Log: [PIC] Removed the only reference to deprecated old MMD functions in src/pic.c. There are no consumers of this PIC function anyway. Let the chainsaw continue. Modified: trunk/src/pic.c

[svn:parrot] r34080 - in trunk: . include/parrot src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 13:13:23 2008 New Revision: 34080 Modified: trunk/DEPRECATED.pod trunk/include/parrot/multidispatch.h trunk/src/inter_create.c trunk/src/multidispatch.c Log: [MMD] Removed deprecated Parrot_mmd_add_function(). Modified: trunk/DEPRECATED.pod

[svn:parrot] r34079 - trunk/src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 12:53:28 2008 New Revision: 34079 Modified: trunk/src/multidispatch.c Log: [MMD] Tidied code; no functional changes. Modified: trunk/src/multidispatch.c == --- trunk/src

[svn:parrot] r34077 - trunk/config/gen/makefiles

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 12:16:16 2008 New Revision: 34077 Modified: trunk/config/gen/makefiles/root.in Log: [config] Added a missing dependency for src/inter_create.c on its strings file. Modified: trunk/config/gen/makefiles/root.in

[svn:parrot] r34076 - trunk/src

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 12:09:21 2008 New Revision: 34076 Modified: trunk/src/multidispatch.c Log: [MMD] Removed two unnecessary clone operations on MultiSubs. As currently the candidate list doesn't get sorted in place, there's no reason to clone it. Modified:

[svn:parrot] r34064 - trunk/src/pmc

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 01:19:52 2008 New Revision: 34064 Modified: trunk/src/pmc/multisub.pmc Log: [PMC] Reverting r34063 temporarily, as it slows down Rakudo tremendously and breaks Pheme. This patch needs a branch (and probably freeze/thaw). Modified: trunk/src/pmc

[svn:parrot] r34063 - trunk/src/pmc

2008-12-18 Thread chromatic
Author: chromatic Date: Thu Dec 18 00:25:51 2008 New Revision: 34063 Modified: trunk/src/pmc/multisub.pmc Log: [PMC] Modified MultiSub PMC to use PMC ATTRs for storage and not to subclass ResizablePMCArray. This should allow us to add cache attribute as well as to enable better subclassing

[svn:parrot] r34051 - trunk/src/pmc

2008-12-17 Thread chromatic
Author: chromatic Date: Wed Dec 17 14:26:07 2008 New Revision: 34051 Modified: trunk/src/pmc/orderedhash.pmc Log: [PMC] Fixed OrderedHash PMC's clone() vtable entry not to walk off the end of the available hash buckets. Much of this PMC's code should move into src/hash.c. Modif

[svn:parrot] r34001 - trunk/t/compilers/imcc/syn

2008-12-16 Thread chromatic
Author: chromatic Date: Tue Dec 16 16:24:31 2008 New Revision: 34001 Modified: trunk/t/compilers/imcc/syn/macro.t Log: [t] Marked RT #60926 known-failing IMCC macro test as TODO on Darwin platforms. Modified: trunk/t/compilers/imcc/syn/macro.t

[svn:parrot] r34000 - trunk

2008-12-16 Thread chromatic
Author: chromatic Date: Tue Dec 16 16:21:08 2008 New Revision: 34000 Modified: trunk/NEWS Log: [distro] Updated NEWS. Modified: trunk/NEWS == --- trunk/NEWS (original) +++ trunk/NEWS Tue Dec 16 16:21:08 2008

[svn:parrot] r33931 - in trunk: src/pmc t/pmc

2008-12-15 Thread chromatic
Author: chromatic Date: Mon Dec 15 11:41:16 2008 New Revision: 33931 Modified: trunk/src/pmc/namespace.pmc trunk/t/pmc/key.t Log: [PMC] Worked around TT #10 temporarily by skipping deep Sub-like introspection when using a PIR-level subclass of Sub. The right solution is making Sub&#

[svn:parrot] r33928 - trunk/src

2008-12-15 Thread chromatic
Author: chromatic Date: Mon Dec 15 11:28:25 2008 New Revision: 33928 Modified: trunk/src/string.c Log: [src] Delayed a string copy until absolutely necessary during an inplace chop. Modified: trunk/src/string.c

[svn:parrot] r33924 - trunk/t/perl

2008-12-15 Thread chromatic
Author: chromatic Date: Mon Dec 15 11:09:43 2008 New Revision: 33924 Modified: trunk/t/perl/Parrot_Test.t Log: [t] Fixed an uninitialized value warning in test for Parrot::Test. Modified: trunk/t/perl/Parrot_Test.t

[svn:parrot] r33791 - trunk/languages/perl6/src/builtins

2008-12-10 Thread chromatic
Author: chromatic Date: Wed Dec 10 20:53:19 2008 New Revision: 33791 Modified: trunk/languages/perl6/src/builtins/control.pir Log: [Rakudo] PDX.pm added a basic implementation of warn to Rakudo. This will need revision when HLLCompiler and/or Rakudo supports a top-level exception handler

[svn:parrot] r33790 - trunk/languages/perl6/src/builtins

2008-12-10 Thread chromatic
Author: chromatic Date: Wed Dec 10 20:15:22 2008 New Revision: 33790 Modified: trunk/languages/perl6/src/builtins/op.pir Log: [Rakudo] Fixed a typo in an exception message. Modified: trunk/languages/perl6/src/builtins/op.pir

[svn:parrot] r33634 - trunk/examples/benchmarks

2008-12-07 Thread chromatic
Author: chromatic Date: Sun Dec 7 12:54:46 2008 New Revision: 33634 Modified: trunk/examples/benchmarks/primes2.pir Log: [examples] Reverted an accidental change I made to this file in r33325; I decreased the number of iterations for profiling. Thanks to Andreas Koenig for noticing

[svn:parrot] r33633 - trunk/src/pmc

2008-12-07 Thread chromatic
Author: chromatic Date: Sun Dec 7 12:53:19 2008 New Revision: 33633 Modified: trunk/src/pmc/class.pmc Log: [PMC] Revised Class PMC's isa_pmc() entry, which is a huge hotspot for Rakudo. Most of the changes are to use string_free() on temporary strings, with some additional refactori

[svn:parrot] r33631 - in trunk: include/parrot src

2008-12-07 Thread chromatic
Author: chromatic Date: Sun Dec 7 12:40:26 2008 New Revision: 33631 Modified: trunk/include/parrot/string_funcs.h trunk/src/string.c Log: [src] Added string_free(), along the lines of temporary_pmc_free() and with similar caveats. This function lets you recycle a STRING header you *know

[svn:parrot] r33596 - in trunk: include/parrot include/parrot/atomic src src/atomic src/gc src/jit/i386

2008-12-07 Thread chromatic
Author: chromatic Date: Sun Dec 7 00:21:36 2008 New Revision: 33596 Modified: trunk/include/parrot/atomic/gcc_x86.h trunk/include/parrot/misc.h trunk/include/parrot/pmc.h trunk/include/parrot/register.h trunk/include/parrot/string_funcs.h trunk/src/atomic/gcc_x86.c trunk/src

[svn:parrot] r33595 - in trunk: compilers/imcc include/parrot src

2008-12-07 Thread chromatic
Author: chromatic Date: Sun Dec 7 00:05:09 2008 New Revision: 33595 Modified: trunk/compilers/imcc/pbc.c trunk/include/parrot/hash.h trunk/include/parrot/multidispatch.h trunk/include/parrot/sub.h trunk/src/multidispatch.c trunk/src/string_primitives.c trunk/src/sub.c Log

[svn:parrot] r33594 - trunk/compilers/imcc

2008-12-06 Thread chromatic
Author: chromatic Date: Sat Dec 6 23:48:09 2008 New Revision: 33594 Modified: trunk/compilers/imcc/parser_util.c trunk/compilers/imcc/pbc.c trunk/compilers/imcc/pbc.h trunk/compilers/imcc/symreg.c Log: [IMCC] Re-headerized IMCC, decorating function arguments appropriately. Modified

[svn:parrot] r33593 - trunk/src

2008-12-06 Thread chromatic
Author: chromatic Date: Sat Dec 6 23:44:42 2008 New Revision: 33593 Modified: trunk/src/global.c Log: [src] Refactored internal namespace lookup and creation functions. There are more functions now, but they're saner, because they don't have to keep checking whether they're

  1   2   3   4   5   6   7   8   9   10   >