Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: a4412124d6
Fetching contributors…

Cannot retrieve contributors at this time

9407 lines (6162 sloc) 262.534 kB
#1 $Id$
2008.06.17 smash
* Released 0.6.3
See NEWS for more.
2008.05.20 chromatic
* Released 0.6.2
See NEWS for more.
2008.04.15 particle
* Released 0.6.1
See NEWS for more.
2008.03.18 bernhard
* Released 0.6.0
See NEWS for more.
2008.02.20 pmichaud
* Released 0.5.3
See NEWS for more.
2008.01.15 rgrjr
* Released 0.5.2
See NEWS for more.
2007.12.18 jonathan
* Released 0.5.1
See NEWS for more.
2007.11.20 chromatic
* Released 0.5.0
See NEWS for more.
2007.10.17 coke
* Released 0.4.17
See NEWS for more.
2007.09.18 particle
* Released 0.4.16
See NEWS for more.
2007.08.22 pmichaud
* Released 0.4.15
See NEWS for more.
2007.07.17 particle
* Released 0.4.14
See NEWS for more.
2007.06.19 allison
* Released 0.4.13
See NEWS for more.
2007.05.15 chromatic
* Released 0.4.12
See NEWS for more.
2007.04.17 mdiep
* Released 0.4.11
See NEWS for more.
2007.03.20 coke
* Released 0.4.10
See NEWS for more.
2007.3.10 coke
* removed parakeet
2007.02.22 pmichaud
* Released 0.4.9
See NEWS for more.
2007.01.17 chromatic
* changed 'name' method on namespaces to 'get_name' per pdd21
2007.01.16 particle
* Released 0.4.8
See NEWS for more.
2006.12.12 particle
* added C<isnull> opcode
2006.11.14 chip
* Released 0.4.7
See NEWS for more.
2006.11.07 tewk
* added :init pragma functionality to subs
2006.10.28 jonathan
* added :vtable pragma functionality to subs
2006.09.18 chromatic
* added Parrot::Embed under ext/Parrot-Embed
2006.08.18 leo
* remove the None PMC - if needed it can trivially be reimplemented
in languages from r14189
2006.08.16 creiss
Merged Software Transactional Memory branch into trunk, adds:
* several new opcodes whose names start with stm_
* read-only PMC support
* several new PMC types (whose names start with STM*)
* support for threads (again)
2006.08.08 chip
* Released 0.4.6
See NEWS for more.
2006.08.02 chip
* opcodes: "in PMC" is no longer a synonym for "invar PMC";
there are opcodes now that want the real "in PMC".
* namespace and global opcodes now accept name arrays again, as
well as keys; the corresponding namespace PMC methods are gone.
2006.07.21 leo
* Parrot_exit, Parrot_on_exit take now an Interp * argument
2006.07.25 chip
* add experimental op find_type_i_p
* fix longstanding bug that sometimes didn't encode pasm keys as
Key PMCs (specifically "[S0]" and "['stringliteral']").
2006.07.24 chip
further implementation of new pdd21:
* new opcodes {get,set}*global
(old {find,store}*global will be supported for a short while)
2006.07.20 audreyt
* --maintainer prerequesites are now bison 2.2+ and flex 2.5.3x
(or some such --leo)
(at the moment code is checking for 2.0 -- ambs)
2006.07.17 chip
partial implementation of new pdd21:
* old: "get_namespace KEY". new: "get_hll_namespace KEY"
* get_namespace and find_global opcodes no longer accept arrays
of strings. To use arrays, call namespace object methods.
2006.06.19 leo
* Released 0.4.5
See NEWS for more.
2006.06.03 leo
* I and N registers are never cleared to 0 / 0.0 on subroutine entry
2006.05.14 leo
* Released 0.4.4
See NEWS for more.
2006.04.30 bernhard
* Make the Perl PMCs dynamic and move them to src/dynpmc
2006.04.02 leo
* Released 0.4.3
See NEWS for more.
2006.03.06 leo
* Shifted argument type bits left by 2 according to r11754
change of docs/pdds/pdd03_calling_conventions.pod
* if you are creating PASM then code needs adjustment
2006.02.22 leo
* Released 0.4.2
See NEWS for more.
2006.01.16 bernhard
* rename src/dynclasses to src/dynpmc
* rename src/classes to src/pmc
2006.01.15 leo
* find_global and friends returns a .Null PMC instead of .Undef on
lookup failure, iff lookup exceptions are off
2006.01.08 leo
* Released 0.4.1
See NEWS for more.
2005.12.28 particle
* renamed all .imc files to .pir
* modified all doc references to .pir as well
2005.12.13 particle
* moved jit/ directory to src/jit/
2005.12.12 particle
* moved io/ directory to src/io/
* moved classes/ directory to src/classes/
* moved dynclasses/ directory to src/dynclasses/
2005.12.08 particle
* moved types/ directory to src/types/
* moved pf/ directory to src/packfile/
* moved ops/ directory to src/ops/
2005.12.08 particle
* moved charset/ directory to src/charset/
* moved encodings/ directory to src/encodings/
2005.12.07 particle
* moved imcc/ directory to compilers/imcc/
2005.12.06 particle
* moved util/ directory to tools/util/
* removed imcc/examples/ directory
* moved ast/ directory to compilers/ast/
2005.12.05 particle
* moved imcc/docs/ directory to docs/imcc/
* moved build_tools/ directory to tools/build/
* modified MANIFEST, MANIFEST.generated, and MANIFEST.SKIP
2005.12.04 leo
* Released 0.4.0
* See NEWS for changes
2005.11.06 leo
* Released 0.3.1
* See NEWS for changes
2005.10.01 leo
* Released 0.3.0
* See NEWS for changes
2005.08.05 leo
* Released 0.2.3
* See NEWS for changes
2005.07.03 leo
* Released 0.2.2
* See NEWS for changes
2005.06.04 leo
* Released 0.2.1
* allow short names for object attributes
* string encoding and charset can now be set independently
* experimental mmap IO layer for slurping files
* enable compile opcode support for compilers written in PASM/PIR
* improved HLL support with .HLL and n_operators pragmas
* simplified hash code
* more strength reduce optimizations
* distinct debug and trace flag settings
* glob support in PGE
* new character classification opcodes and interfaces
* numerous bug fixes and enhancements
2005-05-08 leo
* Released 0.2.0
* parrot repository is now under subversion
* MMD (Multi Method Dispatch) enhanced
* new unary and infix opcodes that return new result PMCs
* dynamic scalar PMCs inherit now almost all from Parrot core PMCs
* more unification of PMCs and ParrotObjects
* tailcalls for functions and methods
* PGE (Parrot Grammar Engine) reworked
* Pugs creates Parrot code and Pugs is a registered compiler now
* new languages/lisp
* the usual bug fixes and improvements
2005-03-06 leo
* Released 0.1.2
* big rewrite of string code, not yet finished but ...
* partial implementation of a generational garbage collector
* indirect register frame addressing
* .return(args) PIR syntax
* moved most of the Python code to dynclasses
* a lot more Python functionality
* precalculate opcodes with all constants
* PGE - Parrot Grammar Engine
* scalar classes refactoring
* much more tests and big test system cleanup
* improved documentation
* and as always a lot more
2004-10-09 leo
* Released 0.1.1
* Need Perl 5.6 now for building
* Basic AST support, PAST file parser, bits of code generation
* BigInt PMC using GMP
* Complex PMC
* Dynamic loading improved including bundles of PMC classes
* Experimental support for "make install"
* IA64 and hppa JIT support
* ICU unicode support
* IO layer handling code
* IO readline and buffered IO fixes
* Incremental GC
* Internal pythonic functions: filter, map, reduce, max, min ...
* Languages updates for m4, tcl, perl6, regex. New parakeet language.
* Library updates, Stream and SDL library
* MMD - multi method dispatch for binary vtable methods
* Many new array PMCs
* Method call syntax in PIR obj."meth"(...)
* More OS stuff: stat, exec, system, gmtime, piped read and write
* New Python PMCs like Enumerate, None
* Non-branching compare opcodes
* PIR support for += and friends
* Python language subdir
* Python types mapped to existing PMCs
* Slices and range support
* Tons of bug fixes, documentation updates, new tests
* Win32 COFF exec support
* ... and a lot more
2004-02-29 leo
* Released 0.1.0
* "Ladies and gentlemen, I give you... objects!"
* Huge documentation overhaul
* More supported platforms, s. PLATFORMS
* Basic thread support for pthread based architectures
* Basic event handling for timers and signals including:
* PASM callbacks for NCI (native C) functions.
* Improved platform configuration
* COW stacks now working, stacks code redone
* Structure handling vastly improved
* Random PMC and rand primitives
* Better subroutine call syntax in PIR
* Make PIR subroutines compliant with pdd03
* Improved profiling (DOD, GC timings)
* Hash code improvements, incl. random key order support
* Experimental freeze/thaw code for some PMC types
* IO improvements for buffered layer and Win32
* String iterators
* String bitwise vtables
* Many new opcodes
* Support for JIT, where malloced memory isn't executable
* Priority DOD scheme for objects that need timely destruction
* Improved bytecode loading (e.g. onLoad functions)
* Language updates: forth, Perl6/P6C, m4
* Libraries: Getopt_Long, SDL, Dumper, Sort
* new JAPH examples
* Unified imcc and parrot test handling
* Many new tests (make test reports 1386 tests)
* Numerous bug fixes
2003-10-31 leo
* Released 0.0.13
* Yep thirteen - haunted by the ghost of 0.0.12
* Build imcc as parrot
* Objects more finished
* Delegate vtable methods to byte code
* Binary multi-method dispatching
* Isa and does methods for PMCs
* Call byte code from C
* Start of extension interface
* Experimental struct handling
* Catch access to NULL PMCs
* Experimental network socket interface code and opcodes
* IO fixes and improvements
* Dynamic opcode libraries
* Fix-assigned opcode numbers
* Argument flattening for function calls
* More native call interface (NCI) signatures
* Ncurses, postgres, and pcre interface libraries
* Forth language is vastly improved
* BSD and Win32 build improvements
* Many new tests and fixes
2003-10-22 melvin
* imcc moved from parrot/languages/ to parrot/
2003-09-20 sfink
* updated the native_pbc test files (from Leo)
* built release tarball
2003-09-20 sfink
* Executable output
* Dynamic PMC registration
* Trial exception system
* Beginnings of object system
* Iterators
* Ordered hashes
* I/O system improvements
* References
* Documentation for basic PMC types
* IMCC support of Parrot Calling Conventions
* Runtime loading of chartypes (and other string improvements)
* Conditional breakpoints
* Dramatically accelerated sweeps for finalizable objects
* Small PMCs (PMCs split into core and extensions)
* Loadable bytecode packfiles
* Constant PMCs
* Sub variants that deal with the stack correctly
* Switched runops core
* Line numbers in warnings
* Environment access
* Many documentation cleanups
* Conversion to CPS style!
* BASIC debugger and many other wacky features
* Filename, line number parsing support in IMCC
2003-07-21 17:31 chromatic
* applied copyright patch from Josh Wilmes
2003-06-14 13:50 dan
* Moved the registers out of the context structure, since they
really aren't context
* Changed the register stack frames to hold only 16 registers
rather than 32, added half-set push and pop ops, and reworked
the full set push/pops to do two half-set push/pops. Should
speed up saving register data on calls, since we usually only
care about the top half of the registers anyway.
* Started committing some of the new class/object framework
* Remembered to finally start updating the Changelog
2003-03-18 03:50 ask
* Various files
Update Yet Another copyright statements to reflect the (no longer
so) shiny new year.
2003-03-11 22:06 chip
* print help on non-option command line args
2002-12-18 20:38 sfink: changes since 0.0.8
- Allow suppression of cgoto core to save memory during compile
* Native function calling interface
* Major rewrite of stack and list aggregates
- Scalar PMC added
* Scratchpads implemented
- Win32 libraries
- Internal memory subsystem documentation
* Preliminary DotGNU support
- Packfile fingerprinting
* Buffer/PMC unification (into PObjs)
* stabs debugging information support
* Major Jako overhaul, including:
- imcc integration
- native function calling
- Perl6 string interpolation
- languages/regex now targets IMCC
* Optional Lea memory allocator
* Full sprintf implementation
* Many, many new tests
* Miniparrot
- exchange ops
- runtime-controllable gc debugging
* PMC properties
- Crash info
* JIT: various improvements
- register usage tracking
- block register allocation
- optimizations
- more jitted ops
- restartable
- architecture abstraction layer
- debugging via GDB
* Beginning support for extensible packfiles
* Much better key support, generally
* splice()
* Restructured PMC hierarchy with better functionality inheritance
* IMCC: many, many improvements. See imcc/ChangeLog
* Perl6: index map grep join reverse defined
* Scheme with functions!
2002-03-19 22:54 nicholas
* docs/running.pod: Patch from Simon Glover <>:
We can now get usage information for test_parrot without having to
grep the source.
2002-03-19 22:53 simon
Parrot is called parrot.
2002-03-19 22:53 nicholas
* docs/tests.pod: Patch from Simon Glover <>:
1. There are tests in t/pmc as well as t/op now.
2. Adds a comment about Parrot::Test
2002-03-19 18:09 dan
*, examples/assembly/life.pasm: Toss a prompt that
messes up automated builds
Courtesy of "David M. Lloyd" <>
2002-03-19 00:33 mrjoltcola
* core.ops: Doc cleanup from Simon Glover.
2002-03-18 23:52 mrjoltcola
* io/io_unix.c: Typo fix for invalid lvalue caught by David Loyd.
2002-03-18 22:09 dan
* include/parrot/resources.h: Checked in old version
2002-03-18 20:17 dan
* include/parrot/resources.h: Forgot a prototype
2002-03-18 20:15 dan
* resources.c: D'oh! Thinko, fixed.
Courtesy of "Peter Gibbs" <>
2002-03-18 17:33 josh
* Lowering the bar a bit.
2002-03-18 17:33 sfink
* languages/regex/: MAINTAINER, Makefile, README,,, lib/, lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/, lib/Regex/Grammar.y,
lib/Regex/, lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/CodeGen/,
lib/Regex/CodeGen/, lib/Regex/Rewrite/,
lib/Regex/Rewrite/, lib/Regex/Rewrite/,
t/example.t: Whoops, wrong time to check this in.
2002-03-18 16:42 dan
* memory.c, resources.c: Partial fix for GC's memory trouncing. At
least we consider the PMC and Buffer free pools worth collecting,
and initialize the Buffer pool stuff. Still not 100% correct,
2002-03-18 15:35 simon
* packfile.c:
Fix format arg bug.
2002-03-18 07:45 brentdax
* Warn if you're using 64-bit ints on a 32-bit
2002-03-18 00:09 sfink
* languages/regex/: MAINTAINER, Makefile, README,,, lib/, lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/, lib/Regex/Grammar.y,
lib/Regex/, lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/,
lib/Regex/, lib/Regex/CodeGen/,
lib/Regex/CodeGen/, lib/Regex/Rewrite/,
lib/Regex/Rewrite/, lib/Regex/Rewrite/,
t/example.t: Buggy 1st version of regex compiler implementation.
Warning: the test code depends on features of the assembler that do
not yet exist.
2002-03-17 21:35 ajgough
* types/: bignum.c, Added a couple of quick routes
through addition and subtraction. Also added the ability to run
all the tests, including the ones which deal with overflow and
underflow. These fail, but that's expected. Soon they'll pass.
Then I'll show them. Yesssssss. Tessssssssts my precioussssss,
passsssssssings tesssstsssss.
2002-03-17 20:06 ajgough
* types/: bignum.c, bignum.h, Modified
check_(under|over)flow to test bignumbers, rather than values.
context now carries E_limit, from which max and min exp are found.
Added a default-context-creating function (although this isn't the
same as either of the default contexts defined in the eda).
2002-03-17 13:31 ajgough
* types/: bignum.c, bignum.h: Made BN_round and BN_iround so that
exported version matches prototypes of other public functions.
2002-03-17 06:44 josh
* chartype.c, encoding.c, memory.c, misc.c, packdump.c, packfile.c,
packout.c, resources.c, string.c, include/parrot/encoding.h: Some
last-minute re-indenting.
2002-03-17 05:07 mrjoltcola
* io/io_unix.c: Clear up unsigned compare caught by Solaris GCC.
2002-03-16 23:17 nicholas
* classes/default.pmc: Patch from Simon Glover <> to
remove warnings:
default.pmc: In function `Parrot_default_get_integer_keyed':
default.pmc:50: warning: control reaches end of non-void function
default.pmc: In function `Parrot_default_get_number_keyed':
default.pmc:58: warning: control reaches end of non-void function
default.pmc: In function `Parrot_default_get_string_keyed':
default.pmc:67: warning: control reaches end of non-void function
default.pmc: In function `Parrot_default_get_pmc_keyed':
default.pmc:87: warning: control reaches end of non-void function
2002-03-16 18:50 ajgough
* types/: bignum.c, bignum.h: Lots of prototypes changed in
readiness for nicely telling your caller about any oddness you've
caused in the persuit of flow.
2002-03-16 17:38 dan
* interpreter.c, resources.c, docs/pdds/pdd09_gc.pod,
include/parrot/interpreter.h, include/parrot/resources.h: Now we
can control the GC and DOD, to stop it when we don't really want
2002-03-16 16:58 dan
* resources.c, vtable.tbl, classes/default.pmc,
include/parrot/resources.h: Added the last code to let PMCs control
their marking at DOD time
2002-03-16 16:57 ajgough
* types/bignum.c: Ok, I worked out how to not have lots of tabs. I
feel a little more virtuous now. Really I do. You might not
believe me, but you should. perl -pne 's/\t/ /g', if you're
2002-03-16 16:57 josh
* packfile.c, packout.c: M-x untabify is my new friend.
2002-03-16 16:50 josh
* trace.c, resources.c: Minor whitespace tweak for the benefit of
2002-03-16 16:50 ajgough
* types/: bignum.c, bignum.h: More documentation, separate
functions into public and private sorts, some initial stuff to cope
with over and underflow correctly.
2002-03-16 16:49 josh
* resources.c: Re-indented (sorry bout the big diff)
2002-03-16 16:47 bdwheele
* examples/assembly/fact.pasm: This fixes fact.pasm so it will
assemble again, both with Simon's new assembler and with the old
2002-03-16 16:33 mrjoltcola
* io/TODO: Get the TODO up-to-date for 0.0.4.
2002-03-16 16:11 josh
* Patch from Nicholas Clark <>: stops
silly people (such as me) running Configure with
/usr/local/bin/perl (which is 5.004_05) and not realising their
mistake until the pmc subdirectory, where the first qr// is
Syntax error messages don't tell you what you did wrong. This does:
/usr/local/bin/perl Perl 5.00503 required--this is
only version 5.00405, stopped at line 10.
2002-03-16 14:38 ajgough
* Small fix to to keep Irix make happy
with commenting.
2002-03-16 11:45 simon
* MANIFEST, examples/assembly/xml_parser.pasm:
Added Clint Pierce's XML parser.
2002-03-15 22:24 simon
* packout.c:
Don't need that function.
2002-03-15 21:56 simon
*, include/parrot/packfile.h:
Rebuild packout.o, since it'll be used for the Packfile XS module
2002-03-15 19:45 dan
* include/parrot/: memory.h, pmc.h: Another add-in for GC
2002-03-14 19:48 dan
* core.ops: No string to int for some reason
2002-03-14 18:45 dan
* string.c, t/op/string.t: Fix 0-length substr problem
2002-03-14 14:46 dan
* core.ops, interpreter.c, resources.c, classes/array.pmc,
classes/perlarray.pmc, examples/assembly/life.pasm,
include/parrot/interpreter.h, include/parrot/resources.h: Added in
a counter for copied memory, with a display in life.pasm
2002-03-14 03:16 mrjoltcola
* MANIFEST: Update MANIFEST courtesy of Simon Glover.
2002-03-13 23:43 simon
* packfile.c:
2002-03-13 23:43 simon
* packfile.c:
Hangs head in shame.
2002-03-13 21:31 simon
FAQ moved.
2002-03-13 18:06 simon
* string.c:
Fix string_compare screw-up.
2002-03-13 18:02 brentdax
* docs/: parrot.pod, ParrotFAQ.htm, faq.pod: Move the FAQ into POD
and add a new question/answer pair.
2002-03-12 22:53 mrjoltcola
* io.ops: Quick and dirty read ops for PIO. No warranty provided.
2002-03-12 22:48 mrjoltcola
* examples/assembly/io2.pasm: Quick and dirty read ops for PIO. No
warranty provided.
2002-03-12 22:29 ajgough
* docs/pdds/pdd14_bignum.pod: Ooops, it is #14, really.
2002-03-12 22:24 ajgough
* docs/pdds/pdd14_bignum.pod: Creation of bignumber pdd, update to
version 1.1, Don't know if this is the correct number, but I don't
want this stuck on my harddrive where it will get lost, so 14 it is
2002-03-12 11:35 simon
* MANIFEST, packdump.c, packout.c:
Just so the functionality doesn't disappear.
2002-03-12 11:33 simon
*, chartype.c, encoding.c, packfile.c,
chartypes/unicode.c, chartypes/usascii.c, encodings/singlebyte.c,
encodings/utf16.c, encodings/utf32.c, encodings/utf8.c,
include/parrot/chartype.h, include/parrot/encoding.h,
Packfile axing.
2002-03-11 23:06 nicholas
* core.ops: Patch from Simon Glover <>:
Core.ops documentation nits
2002-03-11 23:05 nicholas
* t/pmc/pmc.t: Patch from Simon Glover <>:
Most of the PerlUndef tests in pmc.t appear to have been added
Enclosed patch removes the duplicates.
2002-03-10 23:40 nicholas
* t/pmc/perlstring.t: Patch from Simon Glover <>:
More tests for the PerlString test-suite.
2002-03-10 23:40 nicholas
* t/op/time.t: Patch from Simon Glover <>:
test for sleep with negative argument
2002-03-10 21:58 nicholas
* t/op/rx.t: Patch from Simon Glover <>:
Enclosed patch fixes up a few more holes in our test coverage.
2002-03-10 21:18 mrjoltcola
* classes/array.pmc, classes/default.pmc, classes/intqueue.pmc,
classes/parrotpointer.pmc, classes/perlarray.pmc,
classes/perlhash.pmc, classes/perlint.pmc, classes/perlnum.pmc,
classes/perlstring.pmc, classes/perlundef.pmc,
include/parrot/pmc.h, core.ops, pmc.c, vtable.tbl: Add size
argument to the init() vtable method so PMCs have the option to
know how to size themselves at creation. size could be N elements
or a byte count, depending on the PMC or it may simply be ignored.
Overloaded 'new' opcode for optional arg.
2002-03-10 21:15 mrjoltcola
* lib/Parrot/ Minor patch to the assembler for the
new_p_ic_ic opcode to work same as new_p_ic (looks up a named
Also added small hack for .sub directive (which simply translates
to a label, however we might eventually want to collect these to
validate bsr calls.
2002-03-10 15:09 ajgough
* types/: bignum.c, bignum.h,,
Added round_floor and round_ceiling. 3403 tests pass, none fail.
2002-03-10 03:56 ajgough
* types/: bignum.c, Added extended stuff to
divide, divide integer and remainder. All filled in functions now
have special values capability.
Much remains to be done though, and the pdd needs to catch up.
2002-03-10 01:36 ajgough
* types/bignum.c: Added extended stuff to _add, _subtract.
2002-03-10 00:14 nicholas
* t/op/: integer.t, number.t: Patch from Simon Glover
The enclosed patch fixes a few of the holes in our test coverage
uncovered by Josh Wilmes
2002-03-09 23:03 ajgough
* types/: bignum.c, bignum.h: Modified compare to work with
extended values. Made a couple of changes here and there to allow
BN_comp to take a context, so that an is_zero check doesn't clobber
negative zeros.
2002-03-09 22:19 ajgough
* types/: bignum.c, bignum.h,,
Unary plus now copes with special values.
2002-03-09 04:25 ajgough
* types/: bignum.c,, Exception
traps and flags are now enabled and tested for all the standard
tests for all the functions which are currently implemented. Test
harness faffed with to allow these to be tested.
2002-03-09 02:29 josh
* encodings/singlebyte.c, encodings/utf16.c, encodings/utf32.c,
encodings/utf8.c, chartypes/unicode.c, chartypes/usascii.c:
2002-03-09 02:22 josh
* tab-blastin'
2002-03-09 02:21 josh
* Play nicer with M-x compile- don't
bother giving line numbers for things you don't want to look at.
2002-03-09 02:10 josh
* examples/mops/mops.c: re-indented
2002-03-09 02:07 josh
* classes/ Use the usual header so that we can detect the
2002-03-09 02:05 josh
* Avoid accidental /* inside a comment, which generates a
compiler warning
2002-03-09 01:59 josh
* io/: io.c, io_stdio.c, io_unix.c, io_win32.c: Another large
patch- re-indent io/*.c.
2002-03-09 01:52 ajgough
* types/: bignum.c, bignum.h, Added handling of
special values to the string conversion functions, some other
functions now need context (to let -0 pass through really_zero)
which have also been added.
2002-03-09 01:47 josh
* test_main.c: Re-indented.
2002-03-09 01:41 josh
* rx.c: killed a stray tab
2002-03-09 01:38 josh
* rx.c: Re-indented.
2002-03-09 01:36 josh
* misc.c: Oops, some tabs remained- cleaned up.
2002-03-09 01:31 josh
* misc.c: Re-indented (major patch, sorry)
2002-03-09 00:59 josh
* embed.c: Re-indented.
2002-03-08 23:08 simon
* MANIFEST, docs/pdds/pdd10_embedding.pod,
docs/pdds/pdd11_extending.pod, docs/pdds/pdd12_assembly.pod,
Placeholder PDDs.
2002-03-08 21:12 ajgough
* include/parrot/string.h: Added private flags to string.h, mostly
so that other GCed stuff can also have its very own private flags.
2002-03-08 19:53 simon
Great PDD Renaming
2002-03-08 19:41 robert
* docs/pdds/: pdd0.pod, pdd1.pod, pdd2.pod, pdd4.pod, pdd5.pod,
pdd6.pod, pdd7.pod: Renamed...
2002-03-08 18:51 simon
* MANIFEST, docs/pdds/pdd08_keys.pod:
Add keys PDD.
2002-03-08 18:20 ajgough
* types/: bignum.c, bignum.h,,
Introduced exception handlers and exception flags to context, will
allow support of extended standard. Unified exception checking
mechanism (sort of) and made minimal changes to bulk of code to use
this. Tests pass, I'm happy, and further changes will happen more
2002-03-08 04:38 josh
* interpreter.c, string.c, More indenting
2002-03-08 04:37 josh
* platforms/: generic.c, generic.h, win32.c, win32.h: Re-indented
2002-03-08 04:24 josh
* embed.c: A bit more re-indenting
2002-03-08 04:20 josh
* embed.c: Indenting fixes
2002-03-08 04:14 josh
* jit.c: Re-indented (
2002-03-08 03:36 josh
* Fix the line numbers which get reported while compiling
2002-03-08 03:22 josh
* packfile.c: -1552 cc: WARNING File = packfile.c, Line = 1537
The variable "type" is set but never used.
opcode_t type;
2002-03-08 03:04 josh
* resources.c, stacks.c, string.c, io/io.c, io/io_stdio.c,
io/io_unix.c: Clean up unused and set-but-not-referenced variables
noticed by the sgi compiler.
2002-03-08 03:02 josh
* misc.c: Fixes this warning (SGI) cc-1188 cc: WARNING File =
misc.c, Line = 417 The indicated type qualifier is meaningless on
cast type.
(const char) 'f');
2002-03-08 02:55 josh
* Clean up one of the object files it was missing
2002-03-08 01:15 josh
* include/parrot/interpreter.h: Fixes the following error (tcc):
"./include/parrot/interpreter.h", line 27: Error: [Syntax]: Extra
comma at end of list.
2002-03-06 22:15 simon
* stacks.c:
Tidy up stack chunk allocation.
2002-03-06 21:00 simon
* interpreter.c:
Create strings only once we've got string register heads set up.
2002-03-06 20:31 simon
* classes/perlarray.pmc:
malloc(0) considered harmful.
2002-03-06 20:24 simon
* include/parrot/resources.h:
I like it when Parrot compiles.
2002-03-06 17:02 dan
* classes/array.pmc: Changed over to data pointing to a Buffer.
2002-03-06 15:45 dan
* core.ops, embed.c, exceptions.c, interpreter.c, memory.c,
packfile.c,, pdump.c, resources.c,
include/parrot/interpreter.h, include/parrot/memory.h,
include/parrot/resources.h, io/io.c: Three quick things: 1) INTVALs
and opcode_t > longs will now be even more suspect than what they
were beforehand. 2) Feel free to bicker with names. I don't think
we've come to *any* sort of agreement with these, although we
really, really, need to. 3) I forget the third thing. 4) But I
thought of a fourth. 5) I've now remembered the third thing: IIRC,
ANSI C states that enums will fit within the smallest type (int or
greater) that can hold the values. Is that actually correct, and
does it state whether unsigned is preferred to signed for
non-negative enums? 6) Since I'm no longer constrained by "three"
or "quick", I'm going size_t happy for a lot of memory-related
storage. (That's good. No sense wasting the size or performance
of an UINTVAL for strange values of UINTVAL.) I'm also using it in
a couple other internal things (like the GC stat counters, seen
here). Size and performance, again, and unpromotable to a bigint,
so we know that we (theoretically) will wrap. However, size_t
isn't the best choice for the type. (Not that there's anything
wrong with size_t, just that it shouldn't be called size_t.) Any
thoughts? I was thinking of just doing unsigned int, because,
IIRC, int is usually the natural word size, and will be most
efficient. Thoughts? 7) I forgot what the fourth thing I thought
of was while writing down the others. Sorry.
Courtesy of "Bryan C. Warnock" <>
2002-03-06 15:26 dan
* memory.c, resources.c, string.c, classes/perlarray.pmc,
include/parrot/resources.h: Now we allocate generic Buffers from
arenas too
2002-03-05 21:42 brentdax
* Minor cleanup and enhancements.
2002-03-05 21:25 dan
* resources.c: non-special GC now works with PMCs
2002-03-05 19:48 brentdax
*, DEVELOPING, MANIFEST,, test_main.c:
Parrot now "knows" if it's a development version or a release
version. See the instructions in the DEVELOPING file.
2002-03-05 18:05 brentdax
* MANIFEST: pasm.vim wasn't in the manifest.
2002-03-05 17:57 simon
Now, through much evilness, make distclean and make cvsclean work
2002-03-05 17:38 dan
* memory.c, resources.c, docs/pdds/pdd09_gc.pod,
include/parrot/interpreter.h, include/parrot/pmc.h,
include/parrot/resources.h: PMC tracing complete
2002-03-05 16:28 gregor
* languages/jako/
Changed -I ../../ to -I ../../lib when calling the assembler, since
the perl modules have moved.
2002-03-05 05:30 josh
* packfile.c, pdump.c, pmc.c, register.c, rxstacks.c, stacks.c,
string.c: More re-indenting via
2002-03-05 05:17 josh
* runops_cores.c, trace.c, warnings.c: Re-indented (via
2002-03-05 04:26 josh
* key.c, memory.c, test_gnuc.c, testparrotfuncptr.c: Re-indented
using and some minor tweaking.
2002-03-05 04:21 josh
* chartype.c, encoding.c, exceptions.c, global_setup.c,
interpreter.c: Re-indented using and some minor
2002-03-05 03:30 josh
* include/parrot/trace.h: These functions are no longer used (or
even implemented)
2002-03-04 18:21 josh
* include/parrot/trace.h: Fix a typo in the argument type.
Patch from <>
2002-03-04 03:39 josh
*, Add the "autogenerated file"
header to jit_struct.h so we don't try to check it for conformance.
(no way will it conform)
2002-03-04 03:38 josh
* include/parrot/: chartype.h, interpreter.h, io.h, rx.h, trace.h,
unicode.h, warnings.h: Remove some remaining tabs and split some of
the remaining long lines.
2002-03-04 03:17 josh
* include/parrot/: chartype.h, embed.h, encoding.h, exceptions.h,
global_setup.h, interpreter.h, io.h, jit.h, key.h, memory.h,
misc.h, op.h, oplib.h, packfile.h, parrot.h, pmc.h, register.h,
resources.h, runops_cores.h, rx.h, rxstacks.h, stacks.h, string.h,
string_funcs.h, trace.h, warnings.h: This is the first batch of
re-indenting. This patch is the result of running
on the header files and manually tweaking the results where errors
were noticed. This should get us closed, but some refinement may
2002-03-04 03:06 josh
* resources.c: Return without parens, as mentioned in PDD 7
2002-03-04 03:01 josh
* core.ops: POD fixes.
2002-03-04 02:58 josh
*,, classes/ More consistent headers
on autogenerated files- used by the
script (for now) to exempt autogenerated files from the checks.
2002-03-04 02:51 josh
* embed.c, key.c, pmc.c, resources.c, rx.c, testparrotfuncptr.c,
warnings.c: Added the editor "boilerplate" footer to a few files
which were missing it.
2002-03-04 02:34 josh
*, interpreter.c, jit.c, test_gnuc.c,
include/parrot/io.h, include/parrot/parrot.h, io/io_win32.c: Fixes
c preprocessor directive indentation to comply with pdd 7.
(also fixes the check for this indentation in
2002-03-04 02:32 josh
* lib/Parrot/ Fixes this error seen on perl 5.005_02 on
perl t/harness t/op/basic..........Use of uninitialized value at
lib/Parrot/ line 81. # Failed test (t/op/basic.t at
line 6) # got: undef # expected: ''
2002-03-04 02:30 josh
* MANIFEST,, docs/pdds/pdd07_codingstd.pod,
docs/pdds/pdd7.pod: Added documentation and code to invoke the GNU
"indent" program to enforce some of the code style standards
outlined in PDD 7.
Usage: ./ <file>
2002-03-03 19:04 simon
* examples/mops/mops.c:
Let's make it compile, huh?
2002-03-03 19:04 simon
* examples/mops/mops.cs:
2002-03-03 18:11 simon
* examples/mops/mops.cs, examples/mops/, MANIFEST:
Added C# and MS-IL versions of mops tester.
2002-03-03 14:52 simon
* core.ops:
Add a sub() op to make mops_p work.
2002-03-02 18:12 nicholas
* examples/mops/mops.c, include/parrot/embed.h,
include/parrot/interp_guts.h, include/parrot/jit.h,
include/parrot/misc.h, include/parrot/packfile.h,
include/parrot/rx.h, include/parrot/warnings.h,
platforms/generic.c, platforms/generic.h, platforms/win32.c,
platforms/win32.h, types/bignum.c, types/bignum.h: Patch from Josh
Wilmes to add the emacs and vim "ending boilerplate" that sets the
indent variables correctly.
2002-03-02 17:41 nicholas
* resources.c: Patch from Josh Wilmes <>: Little
patch to fix a compiler warning.
2002-03-01 22:35 dan
* memory.c, resources.c, include/parrot/pmc.h,
include/parrot/resources.h: PMCs now come out of arenas.
2002-03-01 06:15 dan
* string.c:
A non-existing buffer + a non-existing buffer should be a
non-existing buffer, not "", which is really '\0'.
Courtesy of "Bryan C. Warnock" <>
2002-03-01 06:02 dan
* classes/: array.pmc, perlarray.pmc, perlhash.pmc, perlstring.pmc:
TMTOWTDI, but strcmp is probably the worse.
Courtesy of "Bryan C. Warnock" <>
2002-03-01 02:32 brentdax
* embed.c: Debug mode now prints out the GC data.
2002-02-28 23:44 dan
* core.ops, resources.c, include/parrot/resources.h: Added collect
and sweep opcodes
2002-02-28 22:58 dan
* docs/pdds/: pdd06_pasm.pod, pdd6.pod: Add docs for interpinfo
2002-02-28 22:50 dan
* core.ops, interpreter.c, resources.c,
examples/assembly/life.pasm, include/parrot/interpreter.h,
include/parrot/resources.h: Add some stat gathering to the resource
allocation code.
Also add an interpreter info retrieval op, and teach it about the
different things it can retrieve.
Finally, add some stat info to life.pasm as an example
2002-02-28 21:27 dan
* editor/pasm.vim: VIM mode commands for parrot assembly files
Courtesy of Scott Beck <>
2002-02-28 19:20 dan
* examples/assembly/life.pasm: Fix a creeping string length leak.
Courtesy of "Bryan C. Warnock" <>
2002-02-28 18:26 dan
* string.c: When you clone a constant, it ain't constant no mo'.
Cocurtesy of "Bryan C. Warnock" <>
2002-02-28 00:51 dan
* MANIFEST: Add missing files
Courtesy of "Bryan C. Warnock" <>
2002-02-28 00:49 dan
* docs/pdds/: pdd0.pod, pdd00_pdd.pod: The pod version of PDD 0 in
CVS seems to have several chunks missing out of it, too. This
patch is simply an administrative patch, with the differences
between my last version, and the one currently in there. There
will be a forthcoming patch for some minor tweaking to the PDD, but
I wanted a common baseline before I make any (potential) semantic
There's only one semi-major change, which noone needs to worry
about just yet. That's a change from PDD Format 1 to PDD Format
6.0 - rationale can be found under 'Standard (Version #)' of the
STANDARDS TRACK infomation. Don't worry about this yet, because it
should be 6.0.0, and we need to discuss Perl versus Parrot with
Courtesy of "Bryan C. Warnock" <>
2002-02-28 00:27 dan
* packfile.c, resources.c, examples/assembly/life.pasm,
include/parrot/register.h, include/parrot/resources.h,
include/parrot/string.h: First pass of semi-full GC. (Strings only,
no PMCs yet)
This patch now implements a real copying collector. We trace from
our root set and compact the contents of Buffer structs.
*) It's very STRING-centric and doesn't handle memory stuffed in
Buffers. But, then, we don't have pool allocation for Buffers
either, and we need to have that soonish for this to work.
*) Doesn't trace PMCs, so if you trigger a collection and there's
memory or STRING structs only accessible from PMCs, you'll fail
horribly. That needs fixing too
*) Better algorithms for when to trace or collect vs when to just
go allocate more memory from the system. Should probably be more
cache friendly too.
2002-02-27 21:04 dan
* jit.c, memory.c, resources.c, string.c, docs/pdds/pdd09_gc.pod,
examples/assembly/life.pasm, include/parrot/resources.h,
include/parrot/string.h, include/parrot/string_funcs.h,
jit/i386/core.jit: Start of GC in
2002-02-26 16:41 dan
* jit/i386/string.jit: Fix a typo
Courtesy of Jonathan Stowe <>
2002-02-26 16:37 dan
* interpreter.c: Fix solaris test failures
Courtesy of Josh Wilmes <>
2002-02-26 16:36 dan
* include/parrot/: interp_guts.h, io.h, packfile.h, rx.h,
unicode.h, warnings.h: Fixes various warts in header files, such
as: * macros -added parens to prevent problems with operator
precedence -removed ; at end * removed SSIZE_MAX, since ssize_t
is no longer used * added some more INLINE definitions for MSVC and
C99 compilers
Courtesy of Brian Lee Ray <>
2002-02-26 16:20 dan
* Turns out we were using a warning flag which
doesn't exist on 2.7. Simple tweak though:
Courtesy of Josh Wilmes <>
2002-02-25 22:58 dan
* MANIFEST, docs/pdds/pdd09_gc.pod: Add docs of GC
2002-02-25 17:36 dan
* include/parrot/pmc.h: Fix the bits
2002-02-23 21:57 dan
* include/parrot/resources.h: Another 1.5% never hurts
2002-02-23 21:44 dan
* global_setup.c, memory.c, resources.c, string.c,
include/parrot/resources.h: Allocate STRING headers from an arena
with freelist rather than with the system malloc. First step in a
good (or even a bad) GC system.
2002-02-23 20:37 brentdax
* misc.c: lint has been doing Evil and Wrong things to misc.c.
2002-02-22 14:59 ajgough
* types/bignum.c: BN_multiply split into BN_multiply and
BN_imultiply, the internal version to be used by idivide so that
rounding isn't performed during intermediate stages of division.
following test scripts now all pass: divide divideint add multiply
subtract remainder compare rounding plus minus (these are all the
operations currently implemented, rescale and power must still be
written, so don't pass right now).
2002-02-22 13:13 ajgough
* types/ Test harness modified to understand
comments better, and be able to run unary (and rounding) tests.
Currently a few rounding tests fail, which are being investigated.
2002-02-22 01:41 dan
* key.c: Although there's more work being done on the key stuff and
this isn't the final fix, applying this patch does get parrot to
build with two more compilers, so it's probably worthwhile.
Courtesy of Josh Wilmes <>
2002-02-22 00:53 dan
*, misc.c, include/parrot/embed.h,
include/parrot/exceptions.h, include/parrot/interpreter.h,
include/parrot/io.h, include/parrot/parrot.h, include/parrot/pmc.h,
include/parrot/resources.h, include/parrot/rx.h,
include/parrot/string.h, include/parrot/unicode.h,
include/parrot/warnings.h, io/io_stdio.c, io/io_unix.c,
io/io_win32.c: Fixes the following (lcc) warnings:
- interpreter.c:470: warning: expression with no effect elided
(related to the way warnings flags were defined)
- misc.c:352: warning: unreachable code
misc.c:483: warning: unreachable code
(i introduced these with some overzealous de-linting)
- numerous warnings like this:
io/io_unix.c:383: warning: conversion from pointer to void' to
pointer to
pointer to struct _ParrotIO function(pointer to struct
to struct _ParrotIOLayer,pointer to const char,pointer to const
to pointer to void)' is compiler dependent
Fixes the following nits: - remove bad indenting (tabs) in the
Courtesy of Josh Wilmes <>
2002-02-21 21:12 ajgough
* types/: bignum.c, bignum.h: These might look like massive
changes, but really it's just he imposition of coding standards.
The file still isn't entirely compliant, but is now much more so.
Also changed:
o a few more comments
o BN_compare uses internal BN_comp to compare
o lost_digits behaviour is now correct (test harness modified to
All binary functions now pass all the tests in the basic standard.
Unary functions not yet tested, will be soon.
2002-02-21 18:20 dan
* lib/Parrot/OpTrans/ The "inline" bit of that patch
was no longer needed, and the ssize_t thing really shouldn't be
needed either.
Courtesy of Josh Wilmes <>
2002-02-21 18:15 dan
*, embed.c, pdump.c, hints/,
include/parrot/parrot.h: this patch adds support for the freely
available borland c++ 5.5.1 compiler
depends on: - josh's patch to remove ssize_t from -
working borland compiler (compiler must know where to find headers
and libs) - Perl's modified to use cc='bcc32.exe' not of
cc='cl.exe' - a working make utility (borland make doesn't work,
nmake does)
changes: - add bcc in hints/ - clean up for msvc++ in
hints/ - remove a space from (very very
important for bcc) - add a O_BINARY flag to open() in pdump.c,
embed.c (required by bcc) - define O_BINARY 0 when it's not defined
(win32 knows it, linux not)
and the why: - parrot is MUCH faster when compiled with borland c
(make test on p2-450, 320MB): * msvc++: 313 seconds * bcc: 251
Courtesy of "Ritz Daniel" <>
2002-02-21 18:09 dan
* jit.c, testparrotfuncptr.c, trace.c, classes/array.pmc, io/io.c,
io/io_stdio.c, io/io_unix.c, io/io_win32.c: This patch removes
cuddled elses, as required by PDD 7.
Courtesy of Josh Wilmes <>
2002-02-21 18:04 dan
* MANIFEST,, This patch adds
a new Makefile target called "check_source". This target scans all
the .c and .h files in the directory and checks for conformance to
a number of the standards outlined in PDD 7.
Courtesy of Josh Wilmes <>
2002-02-21 16:38 ajgough
* types/: bignum.c, bignum.h, Modifications to
allow arithmetic with numbers with a fixed fractional part, buffer
structures now more ready to be integrated into the parrot memory
allocation game, test harness modified to allow lost_digits
condition to be checked. Some more comments.
2002-02-21 15:53 simon
* io/io_unix.c:
Fix typo
Courtesy of: "David M. Lloyd" <>
2002-02-20 16:41 dan
* MANIFEST, docs/pdds/pdd_template.pod: Added in template PDD
2002-02-18 18:25 dan
* MANIFEST, Added in and MANIFEST change.
Courtesy of Josh Wilmes <>
2002-02-18 18:21 dan
* lib/Parrot/OpTrans/ this is a quick fix for to make to generated code compile with the MS
fixes: - ms compiler allows inline only for c++, for c there's
__inline - ms header files knows nothing about ssize_t
Courtesy of "Ritz Daniel" <>
2002-02-18 17:49 dan
* MANIFEST: Add the PDDs
2002-02-18 17:47 dan
* docs/pdds/: pdd07_codingstd.pod, pdd7.pod: Added in PDD 7, the
coding standards PDD.
2002-02-18 17:40 dan
* docs/pdds/: pdd06_pasm.pod, pdd6.pod: Updated to latest rev
2002-02-18 12:41 gregor
* test_main.c:
Remove warning about exit() not being declared.
2002-02-18 08:29 simon
* misc.c, warnings.c, include/parrot/misc.h,
This patch adds some missing const's to silence a number of gcc
Courtesy of: Josh Wilmes <>
2002-02-18 08:26 simon
*, core.ops, embed.c, interpreter.c, key.c, misc.c,, packfile.c, pdump.c, stacks.c, string.c,
classes/array.pmc, classes/perlarray.pmc, classes/perlhash.pmc,
include/parrot/parrot.h, include/parrot/rx.h,
include/parrot/stacks.h, io/io_stdio.c, io/io_unix.c,
- add makefile target and script to test for external libc
- fix return values in hash and array PMCs (returning 0 in a
void func)
- remove unnecessary data pointer <=> function pointer
outside of the JIT code.
- move the definition of the "INLINE" macro out of the rx header
and make
available for general use on C++ compilers and gcc.
- remove a few unused variables
Courtesy of: Josh Wilmes <>
2002-02-17 16:29 simon
* docs/pdds/: pdd0.pod, pdd00_pdd.pod, pdd01_overview.pod,
pdd02_vtables.pod, pdd04_datatypes.pod, pdd05_opfunc.pod,
pdd06_pasm.pod, pdd1.pod, pdd2.pod, pdd4.pod, pdd5.pod, pdd6.pod:
We're organised and responsible. Honest.
2002-02-17 02:46 sfink
* Remove $^ for nmake compatibility.
2002-02-16 09:20 brentdax
*, test_main.c, include/parrot/chartype.h,
include/parrot/embed.h, include/parrot/encoding.h,
include/parrot/string.h, include/parrot/string_funcs.h: Better
embedding exposure and hiding, part 1.
2002-02-16 04:38 dan
*, core.ops, interpreter.c,, pdump.c,
runops_cores.c, docs/running.pod, lib/Parrot/OpTrans/,
lib/Parrot/OpTrans/, lib/Parrot/OpTrans/
Anyway, here's a patch to repair, combined with removing
typecasts in various places throughout the code. It probably won't
work for Windows yet. The libparrot.a target might need to be
modified to at least prevent it from confusing make on Windows; I
don't know.
Preliminary instructions for using are in
docs/running.pod. I'll try to do better later.
Courtesy of Steve Fink <>
2002-02-16 04:15 dan
* exceptions.c, include/parrot/exceptions.h: Warnings cleaned up
Courtesy of Josh Wilmes <>
2002-02-16 00:03 simon
* classes/: perlarray.pmc, perlhash.pmc:
pmc is already defined!
2002-02-15 23:20 brentdax
*,, exceptions.c, pmc.c,
include/parrot/exceptions.h: Far more informative panic messages.
2002-02-15 03:24 dan
* lib/Parrot/:,, OpTrans/ Here's a
much more extensive patch that fixes it to work properly, and
deletes a bazillion casts as well. It also points to the question
"can we make the byte_code be an opcode_t* already?"
Oh, and it makes some of the formatting prettier, so it's gotta be
Courtesy of * Steve Fink <>
2002-02-15 02:30 dan
*, core.ops, embed.c, misc.c, packfile.c, rx.ops,
stacks.c: I've tweaked the "lint" target somewhat and fixed a few
of the things it finds. Attaching the patch as well as the current
lint output.
Courtesy of Josh Wilmes <>
2002-02-15 01:59 dan
* t/pmc/: array.t, perlhash.t: Disable non-functional bits for the
2002-02-15 01:48 dan
* t/pmc/perlarray.t: Skip tests for features that need twiddling
2002-02-15 01:40 dan
* t/op/rx.t: Skip a test that's waiting for us to rejig some array
2002-02-14 23:30 dan
* resources.c: Added comment for buffer tag routine. D'oh!
2002-02-14 23:28 dan
* resources.c, include/parrot/resources.h: Added buffer mark
routine for GC
2002-02-14 23:17 dan
* memory.c, classes/array.pmc, classes/perlarray.pmc,
include/parrot/memory.h, include/parrot/string.h, t/pmc/perlhash.t:
Rejigged memory system a bit. Now should be ready for the horror
that is garbage collection.
2002-02-14 19:33 gregor
*, include/parrot/oplib.h:
Added code to automatically generate a function within an oplib to
lookup opinfos given the op name. This will come in handy in future
when we want to twiddle opcode tables at run time and possibly at
startup time.
2002-02-14 19:25 gregor
* examples/assembly/queens.pasm:
Regenerated queens.pasm from queens.jako since the clone_* stuff
went away.
2002-02-14 17:12 dan
* resources.c, include/parrot/resources.h: Finished up the
interface for memory and tracked interpreter thingies.
2002-02-14 16:53 dan
* memory.c, include/parrot/memory.h: intercept free and realloc
2002-02-14 05:53 dan
* interpreter.c, runops_cores.c: The type changes in struct
Packfile break the pointer math used in a few places to calculate
the address of the end of the loaded byte code. This causes
segfaults in build_asm in jit.c when using -j. It also breaks the
bounds checking on opcode address in runops_slow_core.
The patch adds the necessary cast to correct the code_end
Courtesy of Jason Gloudon <>
2002-02-14 01:01 ajgough
* types/: bignum.c, bignum.h, Added support for
BigInt operations (I think), tests for normal operation continue to
pass. Also a shed load of comments.
2002-02-13 01:34 ajgough
* types/: bignum.c, bignum.h,, This
is a (mostly) working bignumber library. There remains much work
to do though, some functions are not yet implemented and headers
need to find their way to the correct place RSN. Also support for
bigints and a sensible error reporting mechanism are needed.
2002-02-12 18:51 dan
* misc.c: Fix some warnings
2002-02-12 17:10 dan
* misc.c: Run through indent -kr -nce so I can read it
2002-02-12 16:49 dan
* misc.c: Need standard header/footer comments
2002-02-11 20:32 simon
* classes/array.pmc:
get and set pmc methods.
2002-02-11 20:19 simon
* classes/array.pmc:
Maybe the keys aren't integer...
2002-02-11 20:03 simon
* core.ops, vtable.tbl, classes/default.pmc:
2002-02-11 19:07 simon
* vtable.tbl, classes/default.pmc:
Add set_pmc. Usee with caution.
2002-02-11 18:20 dan
* classes/: array.pmc, perlarray.pmc: Patch array classes to
2002-02-11 17:59 simon
* core.ops, embed.c, global_setup.c, key.c, rx.ops,
classes/perlarray.pmc, classes/perlhash.pmc:
Make it compile.
2002-02-11 17:57 simon
* packfile.c, include/parrot/packfile.h:
Reduce warnings
Courtesy of: Andy Dougherty <>
2002-02-11 17:55 dan
* docs/parrot_assembly.pod: Document some key ops
2002-02-11 09:20 brentdax
* pmc.c, include/parrot/exceptions.h: Adding a panic ought to be
disgustingly easy.
2002-02-11 00:34 simon
* core.ops, include/parrot/exceptions.h:
This is what keyed set ops look like. Remember, however, that for
keyed functions, all operands must be PMCs. set(PMC, PMC, INT)
means $1 = $2[$3], not $1[$2] = $3. set(PMC,PMC,PMC) is so
obviously ambiguous that you ought to use the 4-arg version
2002-02-10 23:12 jgoff
* classes/: array.pmc, perlarray.pmc: Properly allocate
SELF->data's array of PMC* data in array and perlarray.pmc. This
isn't tested yet, but should be fairly straightforward. PerlHash
needs to be finished before the system will compile again, and that
should be done in the next few days.
2002-02-09 04:46 jgoff
* classes/: array.pmc, default.pmc, intqueue.pmc,
parrotpointer.pmc, perlarray.pmc, perlhash.pmc, perlundef.pmc:
Added basic _keyed member functions. Unfortunately this still
doesn't fix the problems that are causing the build to break. It's
a start though. I'm not implementing the PMC add functions just
2002-02-08 15:59 simon
* classes/array.pmc:
Some more work on getting the array stuff up to date.
2002-02-08 12:23 simon
* classes/array.pmc, classes/perlhash.pmc, include/parrot/key.h,
Got array->get_integer_keyed doing what I think it ought to. One
down, all the rest to go.
2002-02-08 11:47 simon
* vtable.tbl:
Although I didn't intend it to be quite that broken...
2002-02-08 11:42 simon
* vtable.tbl, include/parrot/parrot.h, lib/Parrot/
Completely break Parrot, but at least we get the key stuff right
for now.
2002-02-08 06:25 dan
* hints/ Silences the warning about passing in
-flat_namespace to the compile. That's a link-only flag.
2002-02-08 04:52 jgoff
* classes/: array.pmc, default.pmc, intqueue.pmc,
parrotpointer.pmc, perlarray.pmc, perlhash.pmc, perlint.pmc,
perlnum.pmc, perlstring.pmc, perlundef.pmc: Filled in missing
return values in *.pmc, added some missing casts to the repeat_foo
members, and deleted the _index members from the perlscalar
classes. Basic cleanup, and getting ready for _keyed functions.
2002-02-07 04:49 mrjoltcola
* examples/assembly/bsr.pasm: Elaborated on the bsr/ret example,
added a nested subroutine call.
2002-02-07 04:32 jgoff
* vtable.tbl, lib/Parrot/ vtable.tbl got some minor
changes in order to give the whitespace rules a little workout, and
do a little bit more testing. No actual structural changes were
made. lib/Parrot/ got an interface change, and more
importantly should be ready to support the new '_keyed' attribute,
which will work roughly thus: PMC* src_value gets remapped to 'PMC*
src_value' followed by 'KEY* src_key'. This will be how the new
_keyed operators will function, and those should be written within
a few days.
2002-02-06 18:00 doughera
* misc.c: Change C++-style comments to C comments (again). Remove
unused perl5 code that was in #if 0/#endif.
2002-02-06 17:59 doughera
* warnings.c: Add trailing newline.
2002-02-06 04:14 mrjoltcola
* include/parrot/io.h, io/io.c: Minor cleanup.
2002-02-06 03:11 mrjoltcola
* examples/assembly/io1.pasm, io/io.c, io/io_win32.c: Tied up a
couple of loose end in win32 IO stuff. Open behaves now but needs
more work.
2002-02-05 21:02 brentdax
* classes/ Length on whoami init was always 7--a problem
which showed up in Purify builds.
2002-02-05 17:15 simon
* misc.c:
Warning fixes.
Courtesy of: Jonathan Stowe <>
2002-02-05 17:08 doughera
* misc.c: Avoid C++-style comments.
2002-02-05 17:07 doughera
* lib/Parrot/Jit/ Generated assembly programs were
not valid assembler for Sun's /usr/ccs/bin/as. Now they are,
thanks to Jason Gloudon <>.
2002-02-05 14:04 simon
* misc.c:
Make the problem different, perhaps even better.
2002-02-05 13:49 simon
* misc.c:
Possibly fix a `short int' is promoted to `int' when passed through
`...' scary error, possibly make things absolutely worse.
2002-02-05 13:15 simon
Placate Tru64.
2002-02-05 13:12 simon
* warnings.c:
Not going to get far without this one...
2002-02-05 11:41 simon
* string.c:
Don't barf when handed null pointers.
2002-02-05 10:04 simon
* misc.c, include/parrot/misc.h:
Fix some trivial bugs in warnings code.
2002-02-05 09:27 simon
* misc.c:
Oops, forgot this one; also added %P support.
2002-02-05 09:20 simon
* MANIFEST,, core.ops, embed.c, interpreter.c,
test_main.c, classes/perlundef.pmc, include/parrot/embed.h,
include/parrot/interpreter.h, include/parrot/misc.h,
include/parrot/parrot.h, include/parrot/warnings.h:
Warnings support.
Courtesy of: Brent Dax <>
2002-02-05 05:41 jgoff
* vtable.tbl, lib/Parrot/, t/pmc/perlstring.t: Changed the
format of vtable.tbl to get rid of the tab-dependence. The format
now looks roughly like this:
init() # 'void' and 'unique' are assumed INTVAL type ( ) # 'unique'
is assumed str void concatenate (PMC* value, PMC* dest) # Nothing
assumed here, but note the C-like prototyping. Also had to disable
one test that depended upon 'concat_p_p_s', which isn't necessary
anyway. will change again when the type '_keyed' is added,
because that requires remapping parameters slightly differently
again. Also, note that it assumes 'value' is the first parameter
in the list. This assumption will go away at the same time.
2002-02-04 16:57 ajgough
* core.ops, t/pmc/perlstring.t, t/pmc/pmc.t: More tests for pmc
functions. Thanks to Simon Glover.
2002-02-04 02:47 ajgough
* hints/ Removes a flag from the os/2 hints file that isn't
needed. I suspect that the entire hints file isn't really needed,
but there's no one to actually tell us this.
2002-02-02 15:45 ask
* docs/ParrotFAQ.htm: fix internal links
2002-02-02 04:06 jgoff
* classes/: array.pmc, intqueue.pmc, perlarray.pmc, perlhash.pmc:
Moving the internal KEY structure from the cache.struct_val member,
where it doesn't really belong, to the internal SELF->data member.
This frees up the cache/type members for other usage.
This is the first step in moving PMCs to the point where we can do
multidimensional PMC handles. The next step is to change the
assembler to accept the syntax of 'set P0["foo"],7'.
2002-02-02 00:13 nicholas
* include/parrot/global_setup.h: Patch from Jonathan Stowe to
prototype Parrot_Array_class_init
2002-02-02 00:13 nicholas
* embed.c: Casts to tidy up warnings from Jonathan Stowe Change
time to sum_time to avoid warning on FreeBSD about tracking a
global [No, this warning does not appear on Linux. Yes, it is real
2002-02-01 23:02 nicholas
* embed.c: Fix fprintf format warning in Parrot_runcode. From Simon
2002-02-01 20:20 nicholas
* t/pmc/pmc.t: Add end at end of asm in test (from Simon Glover)
2002-02-01 18:20 nicholas
* lib/Parrot/ on 5.005_03 doesn't do a use vars for
2002-02-01 13:22 nicholas
* MANIFEST: Add docs/embed.pod and t/op/ifunless.t
2002-02-01 12:19 simon
* core.ops, t/op/ifunless.t, t/op/integer.t:
Added "unless" op.
2002-02-01 12:11 simon
* lib/Parrot/
Remove a warning.
2002-02-01 01:38 nicholas
and a manitest target to that lets one test the
2002-02-01 00:03 dan
* core.ops, global_setup.c, include/parrot/pmc.h: More setup for
PMC dynaloading
2002-01-31 21:46 gregor
*,, hints/
A few more things are now configable, so we are closer to win32
shared library builds. Not there yet, but closer.
2002-01-31 21:00 dan
* global_setup.c, classes/, include/parrot/global_setup.h,
include/parrot/pmc.h: First step in dynamically loading PMC classes
2002-01-31 19:38 dan
* Dependencies in the Makefile are currently too broad
brush. I don't enjoy waiting for everything to recompile every
time I try to tweak the jit. The only file that #includes
jit_struct.h is jit.c, so I feel that the Makefile dependencies
should reflect this, and not cause a gratuitous recompile of
everything. There are probably other auto-generated header files
that world+dog should not depend on.
Courtesy of Nicholas Clark <>
2002-01-31 19:03 gregor
*, lib/Parrot/, t/harness:
Added two new make targets:
* testp: Like 'make test', but passes -P to t/harness, so you get
see how broken predereferencing is.
* testj: Like 'make test', but passes -j to t/harness, so you get
see how broken JIT is.
Now, anyone who wants to see how good all three ways of running are
can do so, at the cost of about 3x the time.
2002-01-31 17:09 brentdax
* embed.c, test_main.c: Implement the ARGV-in-P0 thing.
2002-01-31 03:41 grunblatt
* docs/jit.pod: Update jit.pod
2002-01-31 03:20 grunblatt
* jit/i386/core.jit: Hold this until we get an assemble tool,
because of the different objdump problems.
2002-01-31 03:13 grunblatt
*, lib/Parrot/Jit/,
lib/Parrot/Jit/ Use dis intead of objdump. Courtesy
of: Jason Gloudon <>
2002-01-31 02:22 grunblatt
* jit/i386/core.jit: Continue if the register is null
2002-01-30 23:50 grunblatt
* lib/Parrot/Jit/:,,,,,,, Move the AS and OBJDUMP constants to each os
specific file.
2002-01-30 23:35 mrjoltcola
* io/io_win32.c: Change implementation of isatty on win32,
suggested by Hong Zhang.
2002-01-30 23:19 sfink
*, lib/Parrot/, lib/Parrot/ Added
Op::may_jump boolean method.
Replaced jit2h's hardcoded pattern match to decide what ops might
change the control flow.
2002-01-30 22:13 dan
*, MANIFEST, testparrotfuncptr.c: This patch allows
parrot to mostly-build with tcc. It allows one to skip compiling
the JIT stuff (by specifying --define jitcapable=0), and it
introduces a test program which gives a friendlier error in this
case for compilers which are as picky as tcc is about function
pointer conversion.
If anyone figures out the proper way to cast these function
pointers this may not be necessary.
Courtesy of Josh Wilmes <>
2002-01-30 20:54 dan
* docs/running.pod, lib/Parrot/ I'm being anal again.
Here's an update to docs/running.pod to better reflect the current
state (both the test_parrot and improvements, plus
documentation of a few more things.) And also a speling fiks
I could also replace some "perl foo" calls with "./foo" if someone
wanted to set the executable flag in CVS on,, etc.
Courtesy of Steve Fink <>
2002-01-30 20:43 dan
* core.ops: find_global doesn't work, so stub out the wrong code
2002-01-30 19:08 dan
* lib/Parrot/ fixes the POD in Parrot::Assember so
that perldoc
can read it and just tidies it up generally. It also adds
for the constantize_integer and constantize_number functions.
Courtesy of Simon Glover <>
2002-01-30 18:02 dan
classes/, classes/,
languages/scheme/Scheme/ Many of the Perl scripts in the
distribution (including !)
can no longer find the Parrot::* modules. Enclosed patch fixes
it would be nice if there were an easier way to do this).
Courtesy of Simon Glover <>
2002-01-30 16:00 mrjoltcola
* io/io_win32.c: Correct function calls for win32_fdopen and arg
2002-01-30 15:50 mrjoltcola
* io/io_unix.c: Minor bug fix for fdopen flag arg type.
2002-01-30 15:42 grunblatt
*, examples/assembly/Makefile: Updates related to moving
files around
2002-01-30 15:38 grunblatt
* MANIFEST: Enclosed patch adds the new SPARC-based JIT files to
the manifest, and also puts it back into alphabetical order.
Courtesy of: Simon Glover <>
2002-01-30 14:41 nicholas
* embed.c: Patch from Simon Glover to clean up warnings where
prototype is () not (void)
2002-01-30 13:54 nicholas
* include/parrot/embed.h, test_main.c: Add void as an explicit
parameter in test_main.c's usage(), version(void) and embed.h's
Parrot_new() Without these gcc moans: include/parrot/embed.h:34:
warning: function declaration isn't a prototype
2002-01-30 12:08 simon
* lib/Parrot/.cvsignore:
Ignore generated Perl modules.
2002-01-30 12:07 simon
* t/harness:
Run the PMC tests as well.
2002-01-30 12:04 simon
Fix MANIFEST after recent t/pmc rejig.
2002-01-30 11:42 simon
* lib/Parrot/
Report non-zero exit codes.
Courtesy of: Michael G Schwern <>
2002-01-30 11:39 simon
* t/op/rx.t:
Skip final test, TODO doesn't work yet.
2002-01-30 09:54 brentdax
* docs/embed.pod: Leon Brocard was kind enough to explain to me how
predereferencing works.
2002-01-30 09:38 brentdax
* docs/: embed.pod, parrot.pod: Document this newfangled embedding
2002-01-30 09:37 brentdax
* include/parrot/embed.h: Fix a mistake, clear up a warning.
2002-01-30 09:37 brentdax
* Expose another flag for embedders.
2002-01-30 05:07 jgoff
*, t/harness: Both files didn't know of the new
location for Parrot/, and t/harness wasn't able to run the new
op/pmc tests. Both problems fixed, so I think I'm going to declare
the build suitable for public consumption.
2002-01-30 04:34 robert
* docs/ update for CVS movement
2002-01-30 04:32 robert
* Adjust for CVS reorganization. (This time, edit the
.in file, not the real Makefile)
2002-01-30 04:20 robert
*,,,,,, classes/, include/parrot/parrot.h: Updates
related to moving files around
2002-01-30 04:10 robert
* MANIFEST: Update MANIFEST to reflect CVS reorg.
2002-01-30 04:07 robert
* Add './lib' to our @INC because Parrot/* moved.
2002-01-30 03:56 robert
* Parrot/: .cvsignore,,,,,,,,,,, Jit/, Jit/,
Jit/, Jit/, Jit/,
Jit/, Jit/, Jit/,
Jit/, OpLib/.cvsignore, OpTrans/,
OpTrans/, OpTrans/, PackFile/,
PackFile/, PackFile/ Moved Parrot/* to
2002-01-30 03:46 robert
* languages/miniperl/miniperlc: renamed to mpc
2002-01-30 03:45 robert
* t/op/: pmc.t, pmc_array.t, pmc_perlarray.t, pmc_perlhash.t,
pmc_perlstring.t: Moved to t/op/pmc/
2002-01-30 03:40 robert
* include/parrot/register_funcs.h: Renamed to regfuncs.h
2002-01-30 03:14 jgoff
* classes/perlarray.pmc, t/op/pmc_perlarray.t, t/pmc/perlarray.t:
Fixed some problems with PerlArray and added tests. Previously,
only integers could be accessed by negative indices. After this
change, all basic types can be accessed by negative indices, and
they can also be set at negative indices.
2002-01-29 22:13 brentdax
* TODO: Just look at the stupid diff.
2002-01-29 21:53 simon
* TODO, docs/vtables.pod:
New TODO, and tiny addition to vtables.pod
2002-01-29 21:47 mrjoltcola
* include/parrot/io.h, io/io_unix.c: Minor bug fix in io_unix.
2002-01-29 21:38 mrjoltcola
* tweak for io depend.
2002-01-29 21:15 brentdax
* embed.c: Fix a segfault and some profiling formatting nits.
2002-01-29 20:54 brentdax
* pmc.c: Oops.
2002-01-29 20:50 brentdax
* pmc.c, include/parrot/exceptions.h: Exceptions are better than
2002-01-29 20:17 mrjoltcola
* interpreter.c, core.ops, io.ops: CVS missed this.
2002-01-29 20:17 mrjoltcola
* io/io.c: These should have gone in Sunday with the rest. CVS is
out to get me.
2002-01-29 18:39 brentdax
* platforms/win32.h: Fix Win32 whoops.
2002-01-29 18:29 brentdax
* embed.c, include/parrot/embed.h: A couple minor embedding fixes.
2002-01-29 17:51 simon
* MANIFEST,,, embed.c, test_main.c,
include/parrot/embed.h, include/parrot/parrot.h:
Embedding support. Cool.
Courtesy of: <>
2002-01-29 15:40 grunblatt
* Detect if we can use "objdump". Courtesy of: Jason
Gloudon <>
2002-01-29 14:42 simon
* include/parrot/parrot.h:
Platform stuff has to be included *after* system headers.
2002-01-29 14:05 grunblatt
* interpreter.c, jit.c, Parrot/Jit/,
Parrot/Jit/, lib/Parrot/Jit/,
lib/Parrot/Jit/, include/parrot/jit.h,
jit/sun4/core.jit, jit/sun4/lib.jit, jit/sun4/string.jit: Added
support for SPARC. Courtesy of: Jason Gloudon <>
2002-01-29 10:56 simon
* platforms/generic.h:
If we don't have a S_ISREG, produce something close to it.
2002-01-29 06:01 dan
* MANIFEST, README, LICENSES/Artistic: Finally added licenses
2002-01-29 04:38 jgoff
* classes/array.pmc: Forgot to remove some C++-isms from the
get_{foo}_index routines.
2002-01-29 04:26 jgoff
* MANIFEST,, global_setup.c, classes/,
classes/array.pmc, include/parrot/pmc.h, t/op/pmc_array.t,
t/pmc/array.t: Added array class that languages other than perl can
use for a basis. It has no features like preextension, and the
array index starts at 0.
MANIFEST - added classes/array.pmc and t/op/pmc_array.t
and classes/ - Added array.pmc to the makefile.
(Assuming rules like .pmc.o are portable (or even possible) I might
alter classes/ to autobuild the appropriate files.
2002-01-29 02:32 dan
* MANIFEST, Parrot/, lib/Parrot/,
lib/Test/, lib/Test/, lib/Test/,
lib/Test/, t/op/interp.t, t/op/macro.t, t/op/pmc.t,
t/op/rx.t, t/op/stacks.t, t/pmc/pmc.t:
Update to Test::More 0.41 which adds Test::Builder
Delete the vestigal Test::Utils
Change Parrot::Test so it uses Test::Builder instead of Evil
around Test::More
output_* now returns whether the test passes or fails
Parrot::Test no longer exports Test::More's functions. Instead
can simply be used together. The few tests which used
features (ie. skip) have 'use Test::More' added.
I ditched the export_to_level() crutch. Do we expect parrot to
work on
5.004? (literally 5.004, not 5.004_04)
Courtesy of Michael G Schwern <>
2002-01-28 21:04 dan
* docs/overview.pod: There is no opcodes.pod; I'm assuming the
pointer should actually be to
parrot_assembly.pod, as the canonical documentation.
Courtesy of Simon Glover <>
2002-01-28 20:21 dan
* languages/jako/jakoc, t/op/stacks.t: Toss the last traces of
2002-01-28 19:18 dan
* core.ops, register.c: clone[insp] is dead
2002-01-28 17:46 grunblatt
* Parrot/Jit/, lib/Parrot/Jit/,
jit/i386/core.jit: Fix to make the jit work in linux yet again.
2002-01-28 16:45 dan
* MANIFEST, README.OS_X: Added Mac OS X specific readme documenting
the requirement for fink at the moment.
2002-01-28 15:59 simon
* test_main.c:
People might try and run a directory file, with spectacular
results. We don't want that. No.
2002-01-28 14:58 doughera
* core.ops: Avoid C++-style comments.
2002-01-28 14:16 grunblatt
* jit.c, io/io.c: Changed jit.c to fit the way registers are
accessed. Readded the pio_(stdin|stdout|stderr) to make builds
work again.
2002-01-28 13:47 doughera
* include/parrot/register.h: Avoid C++-style comment.
2002-01-28 06:03 dan
* MANIFEST, core.ops, interpreter.c, key.c, register.c, trace.c,
Parrot/OpTrans/, Parrot/OpTrans/,
lib/Parrot/OpTrans/, lib/Parrot/OpTrans/,
docs/parrot_assembly.pod, include/parrot/interpreter.h,
include/parrot/parrot.h, include/parrot/regfuncs.h,
include/parrot/register.h, include/parrot/register_funcs.h,
include/parrot/string.h, include/parrot/string_funcs.h: Registers
are now stored in the interpreter structure itself, rather than
just a pointer to the top of the register structure. Pushes and
pops now involve memcpys, but register access has one fewer
Fails four of the register stack tests, though, so not perfect.
Needs fixing, but this is a good place to start.
2002-01-28 04:40 mrjoltcola
* test_main.c: cvs commit missed this. ??
2002-01-28 04:27 mrjoltcola
* examples/assembly/io1.pasm, include/parrot/exceptions.h,
include/parrot/interpreter.h, include/parrot/io.h, io/io.c,
io/io_stdio.c, io/io_unix.c, io/io_win32.c: ParrotIO local to each
interpreter now (at least in theory). IO handle array added. Misc
bug fixes in layer handling. Changed any IO_ constants to PIO_ so
we don't conflict with system libraries. Still have broken
stuff in win32 and stdio layer.
2002-01-28 04:01 mrjoltcola
* include/parrot/chartype.h: Typo in chartype.h include guard.
2002-01-28 03:41 mrjoltcola
* t/op/interp.t: Fix flag for interp so we don't get "info"
messages which break tests.
2002-01-28 01:54 dan
* include/parrot/string.h: A few more buffer/string flags
2002-01-27 11:33 nicholas
* chartypes/unicode.c: Cast unsigned argument to int in call to
isdigit to silence gcc warning.
2002-01-26 23:18 grunblatt
* Parrot/Jit/, lib/Parrot/Jit/ Turn
off that flag.
2002-01-26 23:17 grunblatt
* Parrot/Jit/, lib/Parrot/Jit/,
jit/i386/core.jit: [no log message]
2002-01-26 22:18 simon
* jit/i386/core.jit:
Jumping to 0x0 is a recipe for segfaults.
2002-01-26 18:35 simon
* t/harness:
Allow user to select which tests to harness
Courtesy of: Nicholas Clark <>
2002-01-26 17:20 grunblatt
* Parrot/Jit/, Parrot/Jit/,
lib/Parrot/Jit/, lib/Parrot/Jit/ Patch
to make the jit work in linux again.
2002-01-26 16:52 dan
*, hints/ Add -Wno-shadow, as Darwin's
headers can't cope with this. Darwin-only
2002-01-26 16:04 dan
* include/parrot/parrot.h: Quick note to remind folks that this
isn't the file they're looking for if they're writing extensions or
embedding parrot.
Courtesy of Andy Dougherty <>
2002-01-26 00:41 mrjoltcola
* MANIFEST: Oopsy.
2002-01-26 00:37 mrjoltcola
* docs/ParrotFAQ.htm: Parrot FAQ : Created and maintained by Adam
2002-01-25 01:31 grunblatt
* jit/alpha/core.jit: There is no neg or fneg.
2002-01-25 01:27 grunblatt
* core.ops, Parrot/Jit/, Parrot/Jit/,
lib/Parrot/Jit/, lib/Parrot/Jit/,
jit/alpha/core.jit, jit/i386/core.jit, t/op/integer.t,
t/op/number.t: Added Parrot_neg. Erase t.s
2002-01-24 23:26 dan
* interpreter.c: Best make sure unused elements are NULL
2002-01-24 23:24 dan
* interpreter.c: Fix stupid thinko
2002-01-24 18:37 doughera
* Add a few missing dollar signs in the lifetest
section so that ${exe} and the like get properly interpolated.
2002-01-24 18:15 mrjoltcola
* docs/: .cvsignore,, parrot.pod: Fix pod generation
for io.ops file. Add reference to it in parrot.pod. Courtesy of
Simon Glover <>
2002-01-24 06:43 mrjoltcola
* io/io_stdio.c: Oops.
2002-01-24 06:34 mrjoltcola
* include/parrot/io.h, io/TODO, io/io.c, io/io_stdio.c: Did a bit
of work on the buffering layer. Decided to use shared read/write
buffer (as do most implementations) for now since its the simplest
way to keep everything synced, (flush on seeks, flush read on
writes, etc.)
2002-01-24 03:38 mrjoltcola
* test_main.c: Cleaned up option handling code a bit for main().
2002-01-23 23:22 dan
* interpreter.c, include/parrot/interpreter.h,
include/parrot/resources.h: Now each interpreter gets its own hash
for globals.
2002-01-23 20:45 dan
* Fix a warning when there's no - in an architecture
2002-01-22 23:57 grunblatt
* docs/running.pod: [no log message]
2002-01-22 20:29 doughera
* KNOWN_ISSUES: long doubles don't work on SPARC either. It
appears to be a generic problem (if sizeof(long double) >
sizeof(double)), not an x86-specific one.
2002-01-22 16:57 doughera
* runops_cores.c: Change variable name from time to starttime to
avoid gcc warning about variable name shadowing.
2002-01-22 16:55 doughera
* classes/ Include class_init prototype too.
2002-01-22 16:01 doughera
* MANIFEST: [no log message]
2002-01-22 01:04 ajgough
* global_setup.c, classes/default.pmc, classes/intqueue.pmc,
classes/parrotpointer.pmc, classes/perlarray.pmc,
classes/perlhash.pmc, classes/perlint.pmc, classes/perlnum.pmc,
classes/perlstring.pmc, classes/perlundef.pmc, classes/,
include/parrot/global_setup.h: Patch from Nick Clark to quieten
warnings from pmc files. Message-ID:
2002-01-22 00:53 ajgough
* test_main.c: Clears up a couple of warnings in test_main.c.
Thanks to Nick Clark. Message-ID:
2002-01-22 00:47 ajgough
* string.c, chartypes/unicode.c, chartypes/usascii.c,
include/parrot/chartype.h: Cause all codepoints to be treated as
UNITVALS, and get_digit to return INTVAL, just in case. (Thanks to
Nick Clark, see also: Message-ID:
<> )
2002-01-22 00:24 dan
* key.c: We do mandate an ANSI conformant C compiler, don't we?
Appended patch cures these warnings:
key.c: In function `debug_key': key.c:29: warning: int format,
INTVAL arg (arg 3) key.c:33: warning: int format, INTVAL arg (arg
3) key.c:33: warning: int format, INTVAL arg (arg 4) key.c:36:
warning: int format, INTVAL arg (arg 3) key.c:36: warning: int
format, INTVAL arg (arg 4)
Courtesy of Nicholas Clark <>
2002-01-21 12:41 mrjoltcola
* MANIFEST, io.ops: For some reason cvs commit didn't get this, may
be clock skew.
2002-01-21 06:37 mrjoltcola
* io/io.c: Cleanup a warning
2002-01-21 06:28 mrjoltcola
* examples/assembly/io1.pasm, include/parrot/io.h, io/io.c,
io/io_stdio.c, io/io_unix.c, io/io_win32.c: Added 32/64 bit seek
ops. Various other IO twiddlings.
2002-01-21 03:25 grunblatt
* Use $jitcpuarch instead of $cpuarch. Thanks to
Melvin Smith for the catch up.
2002-01-20 23:13 sfink
* stacks.c: Fixed logic errors, need tests
2002-01-20 22:17 brentdax
* rx.c, rx.ops, include/parrot/rx.h, t/op/rx.t: Make /m work and
prepare for /i to work.
2002-01-20 20:52 grunblatt
*, MANIFEST,, interpreter.c, jit.c,, Parrot/Jit/, Parrot/Jit/,
Parrot/Jit/, Parrot/Jit/,
Parrot/Jit/, lib/Parrot/Jit/,
lib/Parrot/Jit/, lib/Parrot/Jit/,
lib/Parrot/Jit/, lib/Parrot/Jit/,
Parrot/Jit/, lib/Parrot/Jit/,
include/parrot/jit.h, jit/alpha/core.jit, jit/alpha/lib.jit,
- Added support for ALPHA, by now linux and bsd.
- Reduced execution time by precompiling the call to the
unimplemented op.
- Reduced the duplicated code in Parrot/Jit/*.pm by adding
- Changed the way to detect quads to what is written in "man
2002-01-20 17:23 brentdax
* rx.ops: There's no such thing as rx_allocateinfo.
2002-01-19 08:26 brentdax
* Stop this stupid "hard-code the new oplib" stuff.
2002-01-19 07:12 mrjoltcola
* MANIFEST, core.ops, io.ops, Separate pure ParrotIO ops
into io.ops, leave the STDIO wrappers in core.ops until they
disappear. Added debug op for switching on VM debug flag
2002-01-19 01:55 mrjoltcola
* include/parrot/io.h, io/TODO, io/io.c, io/io_stdio.c,
io/io_unix.c, io/io_win32.c: Added a few more Win32 layer calls
2002-01-19 00:55 brentdax
*, rx.c, rx.ops, rxstacks.c, include/parrot/rx.h,
include/parrot/rxstacks.h: Add regex-specific stacks for
2002-01-18 23:58 dan
* I think the optimal fix here is simply to remove
-ansi -pedantic. -ansi may well have some uses, but even the gcc
man pages say "There is no reason to use this option [-pedantic];
it exists only to satisfy pedants."
Courtesy of Andy Dougherty <>
2002-01-18 23:23 dan
* MANIFEST, docs/parrot.pod, docs/running.pod: This patch add
docs/running.pod, which lists the various executables Parrot
currently includes, examples of running them, and mentions of where
they fail to work. It's more of a cry for help than a useful
reference. :-) I've been having trouble recently when making
changes in figuring out whether I broke anything, because any
non-default way of running the system seems to be already broken. I
can't tell what brokenness is expected and what isn't.
Courtesy of Steve Fink <>
2002-01-15 22:13 brentdax
* include/parrot/rx.h, rx.c, rx.ops: Remove the last vestiges of
substring use and enhance performance.
2002-01-15 21:03 ajgough
* string.c: Fix problem with string_transcode, &dest not being
updated if src was already in desired encoding.
2002-01-15 16:54 brentdax
* rx.c, rx.ops, include/parrot/rx.h: Hunt down and destroy
warnings. Leaves only one warning, at rx.ops line 409, that I
can't manage to get rid of.
2002-01-15 16:50 dan
* Pointer arithmetic not quite right in the generated
code. Also patches to work with rx.ops.
Courtesy of Jason Gloudon <>
2002-01-15 16:15 dan
* classes/ All the C files in classes/ weren't being
compiled with an of the gcc warnings flags. With this patch they
are, and there are an awful lot of warnings, more than I could hope
to understand and clear up (within any sensible time period before
submitting a rash of patches, by which time everyone else would
have moved the code on)
Courtesy of Nicholas Clark <>
2002-01-15 16:10 dan
* core.ops,, Parrot/, Parrot/,
Parrot/, lib/Parrot/, lib/Parrot/,
lib/Parrot/, Parrot/OpTrans/,
Parrot/OpTrans/, Parrot/OpTrans/,
lib/Parrot/OpTrans/, lib/Parrot/OpTrans/,
lib/Parrot/OpTrans/, chartypes/unicode.c,
chartypes/usascii.c: This patch adds a few more macros for .ops
files to use. In addition to the existing
goto OFFSET(...)
goto ADDRESS(...)
goto POP()
goto NEXT()
it adds
expr OFFSET(...)
expr ADDRESS(...)
expr POP()
expr NEXT()
This is intended mainly for use in helper functions in .ops files,
but also for ops that need to eg push the address of the next
opcode onto a stack. The only place this currently happens (outside
of my private code) is in the bsr opcode, which previously
hardcoded the computation.
This patch also makes move the CUR_OPCODE #define a bit
higher in the generated file so that it can be used by static
functions in the preamble.
Finally, I ran into a parentheses matching problem -- should goto
OFFSET(...) rewrite \bgoto\s+OFFSET\((.*)\) or
It was done inconsistently for the different calculations, and of
course neither are correct because you really want matching
parentheses. But that seems like too much bother. (Currently,
there's only one place that uses anything other than $n in the
parentheses, and that's the enternative() op.) So I made them all
.*? but emulated recent POD by also allowing (( ... )) (that's two
parenthesis with a space padding the body.)
The generated core_ops.c and core_ops_prederef.c files after this
patch are identical except for the CUR_OPCODE and REL_PC macros
getting moved a little higher, and the bsr in the regular path (not
prederef) uses 'CUR_OPCODE' instead of the hardcoded 'cur_opcode'.
In summary, this is a big wad of meaningless changes for the
current code. But it will make adding some opcodes easier in the
future, and cleans up a small nit in the current bsr.
Courtesy of Steve Fink <>
2002-01-15 08:48 brentdax
* include/parrot/rx.h: Bitmaps can now include chars >255 (well,
sort of).
2002-01-15 08:45 brentdax
* rx.c, rx.ops: Bitmaps can now include chars >255 (well, sort of).
2002-01-15 05:00 brentdax
* rx.ops: Speed up rx_literal--roughly doubles benchmark
2002-01-14 20:18 dan
* vtable.tbl, Clean up a zillion warnings
Courtesy of Nicholas Clark <>
2002-01-14 20:03 dan
*, MANIFEST,, core.ops, exceptions.c,
global_setup.c, interpreter.c, key.c,, register.c,
runops_cores.c, rx.ops, stacks.c, string.c, test_main.c, trace.c,
chartypes/unicode.c, chartypes/usascii.c, classes/default.pmc,
classes/parrotpointer.pmc, classes/perlarray.pmc,
classes/perlhash.pmc, classes/perlint.pmc, classes/perlnum.pmc,
classes/perlstring.pmc, classes/perlundef.pmc,
encodings/singlebyte.c, encodings/utf16.c, encodings/utf32.c,
encodings/utf8.c, include/parrot/exceptions.h, include/parrot/io.h,
include/parrot/parrot.h, include/parrot/rx.h, io/io_stdio.c,
io/io_win32.c, platforms/win32.c, platforms/win32.h, t/op/pmc.t,
t/op/pmc_perlhash.t, t/op/rx.t, t/pmc/perlhash.t, t/pmc/pmc.t: This
patch cleans up most of the MSVC-warnings when using warning level
4 (the highest, one above the default level 3). It turns off two
level-4 warnings for 'unreferenced formal parameter' and 'named
type definition in parentheses', the latter of which was turning up
warnings in MS VC headers. Level 4 warnings also helped me find a
couple of other lurking bugs in the parrot code.
Replaces the various fprintf/exit combos with calls to
internal_exception, which uses var_args to emulate printf. Various
exception types were added as well. These are probably temporary
until a real exception system arrives.
Fixed some places in the IO code where wrong functions were being
called, or put into the vtable.
Courtesy of "Michel Lambert" <>
2002-01-14 19:00 dan
* MANIFEST: D'oh! Forgot a file.
Courtesy of Andy Dougherty <>
2002-01-14 18:44 brentdax
* rx.c, rx.ops, include/parrot/rx.h: Use bitmaps where it makes
sense (and a few other enhancements to regexes).
2002-01-14 07:07 brentdax
* interpreter.c, runops_cores.c, test_main.c,
include/parrot/interpreter.h: Make profiling a little more useful.
2002-01-13 19:44 dan
* Turn off unsed things warnings for now
2002-01-13 19:39 dan
* key.c, classes/perlarray.pmc: key.c: intialize KEY.keys
classes/perlarray.c: * get_string: is casting
SELF->cache.struct_val to a STRING*, while all other methods are
using it as a KEY*; don't know what a perlarray stringifies to,
so replacing with NULL * get_bool: the default behaviour does not
look right to me
Courtesy of "Mattia Barbon" <>
2002-01-13 19:37 dan
*, classes/ (Re)add ld_debug
flags to LDFLAGS, so that --debugging works with
classes/ make easier to add flags to all
pmc2c calls
Courtesy of "Mattia Barbon" <>
2002-01-13 19:36 dan
* io/io_win32.c: according to my MSVC docs, you should use
_tcslen only after
#including tchar.h
Courtesy of "Mattia Barbon" <>
2002-01-13 19:35 dan
* docs/intro.pod: Doc tweak.
Courtesy of Simon Glover <>
2002-01-13 19:34 dan
* t/: op/pmc_perlstring.t, pmc/perlstring.t: Enclosed test checks
if Px, ...
works with PerlString PMCs; these should be false if they are "",
0, or
are undefined, and true in every other case.
Courtesy of Simon Glover <>
2002-01-13 19:23 dan
*,, core.ops, classes/perlnum.pmc: Change
Courtesy of "David M. Lloyd" <>
2002-01-13 17:45 jgoff
*, global_setup.c, classes/,
classes/intqueue.pmc, include/parrot/pmc.h, t/op/pmc.t,
t/pmc/pmc.t: IntQueue is for an upcoming article on on
designing your own classes.
2002-01-13 08:47 simon
* interpreter.c, Parrot/OpTrans/,
Fix bsr in prederef mode.
Courtesy of: Jason Gloudon <>
2002-01-12 15:33 dan
* interpreter.c, key.c, packfile.c, register.c, resources.c,
string.c, encodings/singlebyte.c, encodings/utf32.c,
include/parrot/parrot.h, io/io.c, io/io_stdio.c, io/io_unix.c:
Silence most of the unused variable warnings.
Courtesy of Nicholas Clark <>
2002-01-12 15:18 dan
* rx.ops: This patch fixes a warning and also changes an 'int' to
an 'INTVAL'. All tests should pass on Solaris.
Courtesy of "David M. Lloyd" <>
2002-01-12 15:13 dan
* interpreter.c, string.c, test_main.c, classes/parrotpointer.pmc,
examples/assembly/life.pasm, include/parrot/interpreter.h,
include/parrot/io.h, io/io.c, io/io_stdio.c, io/io_unix.c,
io/io_win32.c: More IO work. (Plus some misc twiddles)
Courtesy of Melvin Smith <>
2002-01-12 01:14 dan
* include/parrot/string.h: fix a missing name
2002-01-12 00:39 grunblatt
* include/parrot/string.h: Few typos.
2002-01-12 00:16 grunblatt
* jit.c,, jit/i386/core.jit: Added support for opcodes
that change the program control flow.
2002-01-11 23:53 brentdax
* classes/parrotpointer.pmc: Tell the GC to keep its hands out of a
ParrotPointer's guts.
2002-01-11 23:03 dan
* include/parrot/string.h: flags for the buffers, for GC
2002-01-11 22:31 dan
* include/parrot/pmc.h: PMC flag docs. Those'd be good...
2002-01-11 22:21 dan
* include/parrot/pmc.h: Started with PMC flags
2002-01-11 19:33 dan
*, memory.c, resources.c, string.c,
include/parrot/resources.h: Beginnings of a memory allocation/gc
system. Without the GC part.
2002-01-11 18:05 dan
* core.ops: Make sure constant pushes are right on mixed 32/64 bit
Courtesy of "David M. Lloyd" <>
2002-01-11 17:50 dan
* core.ops,, Parrot/OpTrans/,
lib/Parrot/OpTrans/, include/parrot/interpreter.h: Here is
a patch that makes pbc2c generated code work with the bsr opcode.
It creates a new opcode 'enternative', and uses this to support a
mixed model of interpretation and execution of compiled C code.
Courtesy of Jason Gloudon <>
2002-01-11 17:48 dan
* Add life as a potential .exe target
2002-01-11 17:30 dan
* include/parrot/resources.h: Start of arena stuff for GC
2002-01-11 05:34 brentdax
* rx.ops: Docs modifications.
2002-01-11 04:19 brentdax
* rx.ops, include/parrot/rx.h: Remove unnecessary evilness from
regular expressions.
2002-01-11 03:44 grunblatt
* jit/i386/core.jit: off by one.
2002-01-11 02:25 dan
*, examples/assembly/life.pasm: Tweak to life benchmark
Courtesy of Steve Fink <>
2002-01-11 00:32 brentdax
* MANIFEST: Forgot to put parrotpointer.pmc in the MANIFEST.
2002-01-10 23:22 ajgough
* string.c, docs/strings.pod: Removed all the nul termination code,
as this is in general a bad idea. Note added to docs/strings.pod
to warn people away from assuming termination.
2002-01-10 23:14 dan
* core.ops, interpreter.c, jit.c, rx.c, rx.ops, stacks.c,, include/parrot/interpreter.h,
include/parrot/rx.h, include/parrot/stacks.h: Much nicer stack
Courtesy of Steve Fink <>
2002-01-10 22:48 dan
* core.ops: Fix 'basic' test 1 for sizeof(opcode_t) !=
Courtesy of "David M. Lloyd" <>
2002-01-10 22:46 dan
* key.c, classes/perlhash.pmc, t/op/pmc_perlhash.t,
t/pmc/perlhash.t: Well, actually two bugs.
The first is an off-by-one error in key.c than can cause parrot
to segfault if hash % NUM_BUCKETS happens to be zero.
The other is a bug in the PerlHash init() code that causes new
PMCs to start with the wrong size.
Both fixed below; also tests to prevent them recurring.
Courtesy of Simon Glover <>
2002-01-10 22:30 dan
* classes/default.pmc, classes/perlarray.pmc, t/op/pmc_perlarray.t,
t/pmc/perlarray.t: The enclosed patch allows one to use the if op
with a PerlArray,
Courtesy of Simon Glover <>
2002-01-10 21:31 dan
* examples/assembly/life.pasm: Tweaked to be a benchmarkable thing
2002-01-10 20:30 grunblatt
* jit.c,, Parrot/Jit/,
Parrot/Jit/, lib/Parrot/Jit/,
lib/Parrot/Jit/, jit/i386/core.jit, jit/i386/lib.jit:
All the op codes that doesn't change the program control flow now
work in the JIT by calling the code generated by the compiler when
the op is not in core.jit TODO: * Make all the ops that change
the program control flow (and are not on core.jit) work. *
Remove the dispatch payload.
2002-01-10 17:13 dan
* classes/parrotpointer.pmc: This patch fixes parrotpointer.pmc,
which tries to return 0 from a void function.
Courtesy of "David M. Lloyd" <>
2002-01-10 17:12 dan
* t/op/macro.t: Skip tests, don't comment them out.
Courtesy of Simon Glover <>
2002-01-10 17:10 dan
* rx.c: This fixes a couple of nits in rx.c:
1. There's no newline at the end, which makes gcc unhappy.
2. We should use NULL, not 0 or "", for creating null pointers.
Courtesy of Simon Glover <>
2002-01-10 17:09 dan
* MANIFEST: Adds rx.t, removes duplicated rx.c and puts everything
back in
alphabetical order.
Courtesy of Simon Glover <>
2002-01-10 16:54 ajgough
* resources.c: Made free_string check that there was a string to
free. In reponse to a bug spotted by Joshua Nye.
2002-01-09 22:44 dan
* global_setup.c: Forgot the setup
2002-01-09 22:35 dan
* rx.ops: Forgot this one
2002-01-09 22:35 dan
* MANIFEST,, rx.c, string.c, include/parrot/pmc.h,
include/parrot/rx.h, t/op/rx.t: Preliminary regex implementation.
Tests don't work, though.
Courtesy of "Brent Dax" <>
2002-01-09 21:48 dan
* t/: op/pmc_perlarray.t, pmc/perlarray.t: Whoops, forgot that
2002-01-09 21:22 dan
* classes/, classes/parrotpointer.pmc,
Generic pointer holder class
Courtesy of "Brent Dax" <>
2002-01-09 21:19 dan
* MANIFEST, classes/perlarray.pmc, t/op/pmc.t, t/pmc/pmc.t: Array
2002-01-09 19:54 dan
* io/io_unix.c: Whoops. Forgot one
2002-01-09 19:43 dan
* key.c, classes/perlhash.pmc, t/op/pmc_perlhash.t,
t/pmc/perlhash.t: Fix hash crash bugs
Courtesy of Simon Glover <>
2002-01-09 19:13 dan
* memory.c: Signedness whoops.
Courtesy of Simon Glover <>
2002-01-09 18:23 dan
* MANIFEST,, include/parrot/io.h, io/io.c, io/io_os.c,
io/io_stdio.c, io/io_win32.c: Changes:
-Minor layer cleanups -Win32 layer added (mostly stubs for now) but
will be using the Win32 API and company rather than the unix-ish
fake ones. -stdin/stdout/stderr Win32 specific code added. Rather
than use 0,1,2, Microsoft says use GetStdHandle(), etc. so that
stuff is there. Soon we should be able to start using these
rather than fprintf(stderr, ...) and remove stdio linkage.
Courtesy of <>
2002-01-09 17:26 dan
* test_main.c: Fixes bad code gen on x86.
Courtesy of Josh Wilmes <>
2002-01-09 17:24 dan
*,, core.ops, key.c, classes/perlint.pmc,
classes/perlnum.pmc: This patch adds macros to the config.h file
for INTVAL and NUMVAL printf formats.
Courtesy of "David M. Lloyd" <>
2002-01-08 22:55 ajgough
* docs/vtables.pod: Clarify what get_string should do.
2002-01-08 20:05 dan
* key.c: Keep comments in sync.
Courtesy of Simon Glover <>
2002-01-08 19:50 dan
* memory.c, include/parrot/memory.h: Need a realloc
2002-01-08 17:24 gregor
* .cvsignore,,
Added 'reconfig' make target and corresponding --reconfig option to, so its very easy to re-run with the last
(command-line) options you passed it.
2002-01-08 16:33 dan
* core.ops,, Parrot/,
lib/Parrot/ Add in, out, and inout parameters to teh ops
in core.ops. Potential help for optimizers and JITters.
Courtesy of
2002-01-08 16:32 dan
* key.c: Grab key length from the right spot
Courtesy of "Peter Gibbs" <>
2002-01-08 13:27 ajgough
* test_main.c: Fix slight thinko in realloc usage for reading from
2002-01-08 11:34 ajgough
* test_main.c: Allow test_parrot to read bytecode stream from
stdin, adds -f command line option, with "-f -" doing the stdin
2002-01-08 06:34 jgoff
* key.c, include/parrot/key.h: key.c - Added simple implementation
of buckets. include/parrot/key.h - Added enum_key_bucket type
2002-01-08 03:21 jgoff
* include/parrot/key.h: Added an undef type to the key structure,
so we can delete keys without confusion.
2002-01-07 22:09 dan
* key.c, packfile.c, string.c, include/parrot/key.h,
include/parrot/packfile.h, include/parrot/string.h: Fix whines
about index being redefined
Courtesy of Nick Clark
2002-01-07 21:15 dan
* Don't allow the same ops lib to be included twice.
Courtesy of Steve Fink <>
2002-01-07 20:48 dan
* Parrot/, lib/Parrot/ Report useful info for test
Courtesy of "Brent Dax" <>
2002-01-07 20:43 dan
* docs/intro.pod: Missing a comma
Courtesy of "coral" <>
2002-01-07 20:41 dan
* global_setup.c: Quiet a warning
Courtesy of Simon Glover <>
2002-01-07 18:58 gregor
* t/op/.cvsignore:
Ignore intermediate test files.
2002-01-07 17:01 gregor
Print a warning if an .ops file is mentioned more than once on the
command line.
2002-01-07 16:12 ajgough
* t/: op/pmc_perlhash.t, pmc/perlhash.t: A couple more hash tests,
these shouldn't fail.
2002-01-07 15:15 simon
* t/: op/pmc_perlhash.t, pmc/perlhash.t:
Stop segfaults.
2002-01-07 15:11 simon
* key.c:
Fix zero-termination bug in hash function.
2002-01-07 13:37 ajgough
* MANIFEST, t/op/pmc_perlhash.t, t/pmc/perlhash.t: Added
pmc_perlhash.t, one test currently fails, one passes, yin-yang fun.
2002-01-07 11:53 brentdax
* Fixes the + thing in prompts, plus adds a synonym
(:add{foo}) and a new deleting thing (:rem{foo})
2002-01-07 11:43 simon
Gobble the + before concatenating.
2002-01-07 03:53 dan
* Dependency fix for new ops setup.
2002-01-07 03:33 jgoff
* classes/perlarray.pmc: Add negative indices, and fix a small
allocation problem.
2002-01-06 23:54 ajgough
* hints/ Makes the hints file take account of ldflags and
ccflags being split. This hints file is still very specific to
builds with gnu tools, but a proper solution can wait. Thanks to
Nick Burch.
2002-01-06 22:12 dan
*,, Parrot/, lib/Parrot/
-changes Parrot::OpLib::core's dependencies to reflect the new
selectable ops files -allows some of the special forms of 'goto'
inside the PREAMBLE of an opcode file
Courtesy of "Brent Dax" <>
2002-01-06 19:59 simon
2002-01-06 18:19 dan
* classes/perlhash.pmc: Fix some type issues.
Courtesy of Josh Wilmes <>
2002-01-06 18:03 dan
*, It adds a prompt to Configure asking
for a list of opcode files to use. The default is everything
available except for obscure.ops.
In addition, it makes it so that if your answer to a question
starts with '+', it will concatenate it to the default. For
What C compiler do you want to use? [cl] +HAHAHA!!!
will result in $PConfig{cc} eq "cl HAHAHA!!!". While that example
is not terribly useful, it is quite useful with things like
command-line flags and the like.
Finally, it contains a couple tweaks so that my syntax-highlighting
editor recognizes some heredocs correctly. :^)
Courtesy of "Brent Dax" <>
2002-01-06 17:59 dan
Courtesy of "Bryan C. Warnock" <>
2002-01-06 17:58 dan
* MANIFEST: We're missing a couple of files from the MANIFEST.
Courtesy of Simon Glover <>
2002-01-06 17:57 dan
*, Parrot/, lib/Parrot/ 1.
Compiler directives, etc. in files other than core.ops will now
work. 2. Compiler warnings will now display the file and line
number of the opcode file.
Courtesy of "Brent Dax" <>
2002-01-06 17:52 dan
* languages/jako/jakoc: Fix breakage caused by iton/ntoi going away
Courtesy of Simon Glover <>
2002-01-06 17:36 dan
* docs/intro.pod: Lots of updates
Courtesy of Simon Glover <>
2002-01-06 02:34 gregor
* interpreter.c:
Add some internal documentation on the theory of operation of the
prederef code.
2002-01-06 02:17 gregor
* interpreter.c:
Removed unnecessary include.
2002-01-05 12:37 simon
* classes/.cvsignore:
Ignore generated .h files.
Courtesy of: Josh Wilmes <>
2002-01-05 12:37 simon
Make lcc happier by adding a dummy structure.
Courtesy of: Josh Wilmes <>
2002-01-05 12:35 simon
* global_setup.c, classes/perlundef.pmc, t/op/pmc.t, t/pmc/pmc.t:
Make perlundef work. (And coincidentally stop segfaults in the
tests :)
Courtesy of: Jason Gloudon <>
2002-01-05 04:59 dan
* t/: op/pmc.t, pmc/pmc.t: Undef tests added.
2002-01-05 04:55 jgoff
* classes/perlhash.pmc: Added perlhash class definition
2002-01-05 04:48 dan
* core.ops: Fix on 64 bit platforms with 32-bit opcode_t
Courtesy of "David M. Lloyd" <>
2002-01-05 03:57 jgoff
* MANIFEST,, core.ops, global_setup.c, key.c,
vtable.tbl, classes/, classes/default.pmc,
include/parrot/key.h, include/parrot/pmc.h, t/op/pmc.t,
t/pmc/pmc.t: Initial hash commit.
core.ops - Adding set({i,n,s},p,s) and set(p,{i,n,s},s) operations.
key.h - Adding NUM_BUCKETS classes/default.pmc - Adding
This does not yet do collision resolution, but will soon.
2002-01-05 02:54 dan
* interpreter.c: More unsigned fixes
Courtesy of "Bryan C. Warnock" <>
2002-01-04 22:13 dan
*, hints/ Makes config's building of the
test programs happier.
Courtesy of "Jason Diamond" <>
2002-01-04 19:00 dan
*,, hints/ Add link flags as
separate things
2002-01-04 18:27 dan
*,, classes/, hints/
Fixes to get things configuring and building on Win32 Native.
Courtesy of "Jason Diamond" <>
2002-01-04 17:39 dan
* hints/ debug cleanup
2002-01-04 16:53 dan
* docs/parrot.pod: The enclosed patch brings the list of
documentation in parrot.pod
up to date.
Courtesy of Simon Glover <>
2002-01-04 16:47 dan
* test_main.c, Parrot/Jit/,
lib/Parrot/Jit/ In an attempt to just keep knocking
off warnings..
Courtesy of Kevin Falcone <>
2002-01-04 16:44 dan
*, Fixed linking to use linker.
Courtesy of Josh Wilmes <>
2002-01-04 16:39 dan
* io/io_stdio.c: Added CVS tag info
2002-01-04 16:35 dan
* hints/ Time for this. We need a sane linker, and ld2
isn't it
2002-01-04 16:26 dan
* languages/miniperl/Miniperl/ Quiet a warning in the
Tokenizer test
Courtesy of Jonathan Stowe <>
2002-01-04 16:17 dan
* chartypes/unicode.c: Silence some warnings.
Courtesy of "David M. Lloyd" <>
2002-01-04 16:09 dan
* classes/:, perlarray.pmc, perlint.pmc, perlnum.pmc,
perlstring.pmc, perlundef.pmc: - attempts to put $Id$
into generated files
but the $Id$ string gets mangled when it's committed.
This patch fixes the existing .pmc files and fixes
- Makes capitalization in .pmc header match actual filenames
- The command for calling in vtables.pod is incorrect,
since it assumes you're running in classes/ but
it's being run from the main directory. I changed to
Courtesy of Steve Fink <>
2002-01-04 03:57 dan
* MANIFEST, io/TODO, io/io_stdio.c: No wonder things worked for
me--I *had* the files:wq!
2002-01-04 03:40 dan
* MANIFEST: Whoops--remove files not really there
2002-01-04 03:37 dan
* interpreter.c, stacks.c, include/parrot/stacks.h: The patch below
my sig adds a new_stack() function to take care of the allocation
and setup of "generic" stacks.
Courtesy of "Brent Dax" <>
2002-01-04 02:36 dan
* core.ops: The entry in core.ops for puts(s|sc) is missing a =cut
and so
writes a load of junk in core_ops.pod. Applied patch fixes.
Courtesy of Simon Glover <>
2002-01-04 02:35 dan
* classes/: perlint.pmc, perlnum.pmc, perlstring.pmc: The PerlInt
logical-or is using get_integer instead of get_bool for logical
operations. This patch corrects that.
Perlnum and perlstring have working get_bool's, so the default
logical_or and logical_and should be sufficient. The empty methods
are pointed to the default logical_or.
Courtesy of Jason Gloudon <>
2002-01-04 02:31 dan
* docs/Makefile should be removed by realclean, but
Courtesy of Kevin Falcone <>
2002-01-04 02:29 dan
* classes/:, PMC inheritance! Yay!
Courtesy of Steve Fink <>
2002-01-04 00:51 dan
* docs/vtables.pod: More docs
Courtesy of Steve Fink <>
2002-01-04 00:47 dan
* Updated 64-bit patch
Courtesy of "David M. Lloyd" <>
2002-01-04 00:43 dan
* 64-bit Fix.
Courtesy of "Bryan C. Warnock" <>
2002-01-03 22:37 dan
* MANIFEST,, interpreter.c, include/parrot/io.h,
io/io.c, io/io_os.c: Code cleanup, started STDIO layer, started
some buffering work. Additional work on other layers.
Courtesy of Melvin Smith <>
2002-01-03 19:41 gregor
*, obscure.ops, packfile.c,
Updated copyright messages on top-level files.
2002-01-03 04:23 robert
* Add author information. Bonsai test.
2002-01-03 04:02 dan
* io/io_os.c: Twig Bonsai
2002-01-03 03:45 dan
* io/: io_os.c, io_os.c: Twig Bonsai
2002-01-03 03:41 dan
* io/io_os.c: Twig Bonsai
2002-01-02 21:42 gregor
* packfile.c, include/parrot/packfile.h:
Get rid of warnings in packfile.[hc]
2002-01-02 20:39 gregor
Bracketed translated patterns with ^ and $.
2002-01-02 20:11 dan
* io/io_os.c: silence a warning
2002-01-02 19:52 grunblatt
* jit.c,, include/parrot/jit.h: Moved the definition of
op_assembly to jit_struct.h, so that we get the real number of ops.
Removed some warnings.
2002-01-02 19:31 tom
* string.c: Fix string transcoding so that it actually works.
Patch from Peter Gibbs <>
2002-01-02 19:20 gregor
A program to check the MANIFEST file, accounting for .cvsignore
2002-01-02 19:19 dan
* t/harness: twig bonsai
2002-01-02 19:13 dan
* t/harness: twig bonsai
2002-01-02 18:54 dan
* t/harness: Tweak to test Bonsai
2002-01-02 16:27 dan
* Allow 64-bit build of parrot on systems with a
mixed 32/64 bit perl
Courtesy of David M. Lloyd <>
2002-01-02 15:33 simon
* MANIFEST, docs/Makefile:
Fixed up MANIFEST. (And I removed the Makefile in docs/)
Courtesy of: Andy Dougherty <>
2002-01-02 13:51 simon
Die on broken manifest.
2002-01-02 13:48 simon
*, examples/assembly/mops.pasm:
Clear up JIT warnings.
Courtesy of: Nick Clark <>
2002-01-02 04:10 dan
* io/io.c, io/io_os.c, t/op/interp.t: IO stack now gets initialized
only once, so new interp creation works again
Courtesy of Melvin Smith <>
2002-01-02 03:32 dan
* t/op/interp.t: Stubbed the test out, since it's hanging at the
2002-01-02 00:55 dan
* MANIFEST,, core.ops, include/parrot/io.h, io/io.c,
io/io_os.c: Initial IO system patches
Courtesy of <>
2002-01-01 22:55 ajgough
* classes/default.pmc: On second thoughts, and some prodding, the
set_* methods now only set the appropriate part of the cache, and
do nothing else.
2002-01-01 22:29 ajgough
* classes/default.pmc: Wrote a whole host of default pmc methods.
set_* create appropriate Perl* result.
get_* simply grabs needed bit of cache.*_val
Other methods do the rightest thing I can think of, at the moment.
None yet cope with overflow, the modulus operation needs to be
checked as
I don't know quite which semantics we really want.
Not tested yet.
2002-01-01 20:23 dan
* docs/Makefile, encodings/singlebyte.c, encodings/utf16.c,
encodings/utf32.c, encodings/utf8.c, include/parrot/encoding.h: Got
rid of unneeded tmp var and eliminated const from encode prototype
since it does make changes to the string.
Courtesy of "David & Lisa Jacobs" <>
2002-01-01 20:11 dan
* Make clean now tosses pdump.o
Courtesy of "David & Lisa Jacobs" <>
2002-01-01 19:49 dan
* pdump.c, test_main.c: Warnings cleanup
Courtesy of Josh Wilmes <>
2002-01-01 19:45 dan
*,, docs/.cvsignore, docs/,
hints/, languages/jako/,
languages/scheme/ Makes cleanup better on non-Unix
Courtesy of "Jason Diamond" <>
2002-01-01 19:41 dan
* include/parrot/register.h: Clean up some warnings
Courtesy of Josh Wilmes <>
2002-01-01 19:10 simon
*, Parrot/, lib/Parrot/
Hack-around to enable compilation of code using vtable ops.
2002-01-01 18:43 dan
* encodings/: singlebyte.c, utf16.c, utf32.c, utf8.c: Toss <0
checks on unsigned things
Courtesy of "David & Lisa Jacobs" <>
2002-01-01 18:26 dan
* runops_cores.c: More warning silences.
Courtesy of Nicholas Clark <>
2002-01-01 18:25 dan
* trace.c: Shuts up a warning.
Courtesy of Nicholas Clark <>
2002-01-01 18:24 dan
* encodings/singlebyte.c: Clean up some warnings.
Courtesy of Nicholas Clark <>
2002-01-01 18:20 dan
* Hey, those PPros are really x86 systems! Who'dve
thunk it?
Courtesy of "Bryan C. Warnock" <>
2002-01-01 18:17 dan
* packfile.c: Warning cleanup
Courtesy of Nicholas Clark <>
2002-01-01 17:53 dan
* string.c: New string size should be based on output encoding's
size, not input encoding's size.
Courtesy of: "Peter Gibbs" <>
2002-01-01 17:22 dan
*, core.ops, interpreter.c, memory.c, runops_cores.c,
string.c, test_main.c, trace.c, include/parrot/exceptions.h,
include/parrot/interpreter.h, include/parrot/memory.h,
include/parrot/oplib.h, include/parrot/string.h, t/op/string.t:
Warnings fixups.
Courtesy of Chip Turner <>
2002-01-01 17:09 dan
* encodings/singlebyte.c, encodings/utf16.c, encodings/utf32.c,
encodings/utf8.c, include/parrot/encoding.h: Some signed things are
now unsigned, as is proper.
Courtesy of: "David & Lisa Jacobs" <>
Courtesy of: "Bryan C. Warnock" <>
2002-01-01 16:59 dan
* include/parrot/trace.h: Useless debugging prototype removed
Courtesy of: "Bryan C. Warnock" <>
2002-01-01 16:58 dan
* MANIFEST: We forgot a file.
Courtesy of "Bryan C. Warnock" <>
2002-01-01 03:53 dan
* Okay, I give. Removed some warnings because the
darned system headers were triggering them. Sloppy, sloppy
2002-01-01 03:48 dan
* Add in an unsigned INTVAL.
Courtesy of "David & Lisa Jacobs" <>
2002-01-01 03:46 dan
* global_setup.c: Clean up some compiler warnings.
Courtesy of "David & Lisa Jacobs" <>
2002-01-01 03:43 dan
*, Parrot/, Parrot/OpTrans/,
lib/Parrot/, lib/Parrot/OpTrans/,
include/parrot/op.h: Cleaned up some things to make the compiler
Courtesy of Nicholas Clark <>
2002-01-01 03:14 dan
* Quad updates.
Courtesy of Nicholas Clark <>
2001-12-31 22:53 dan
* include/parrot/op.h: Typedef had parameters backwards. Threw
core.ops for a big whiny warnings loop.
2001-12-31 22:37 dan
*, resources.c: Tweaks to try and get things to build
in the right order.
2001-12-31 21:58 dan
* Stupid thinko fix
2001-12-31 21:34 dan
*, hints/ Tweaks for Win32 builds
Courtesy of: "Jason Diamond" <>
2001-12-31 21:32 dan
* Fix for non-gcc systems
2001-12-31 20:22 dan
* interpreter.c: Tweak so we can build on non-JIT platforms
2001-12-31 20:11 dan
* Force the time on some copied files to be 'now' to
make the Win builds much less annoying.
Courtesy of "Jason Diamond" <>
2001-12-31 20:07 dan
* Nuke all object files in the parrot tree that
matter when configuring. Shouldn't be necessary with good
dependencies in the makefile, but we don't have those yet.
2001-12-31 20:00 gregor
* chartypes/unicode.c:
Silence unused variable warnings.
2001-12-31 19:40 dan
* Minor Win32 tweaks. Tossed -Wtraditional, too
2001-12-31 19:37 gregor
* interpreter.c, jit.c, include/parrot/jit.h:
Created a prototype for JIT functions and used it in interpreter.c.
2001-12-31 19:31 dan
*, test_gnuc.c: Better GCC detection (and version
detection) with really cranky warnings if we find we're using it.
Courtesy of: Nicholas Clark <>
2001-12-31 18:01 gregor
* interpreter.c, include/parrot/interpreter.h, include/parrot/op.h:
Fixed a few warnings wrt prototypes, etc.
2001-12-31 17:23 dan
* string.c: Silenced most of the compiler whines
2001-12-31 17:15 gregor
Get the ccname from either ccname or just cc config var.
2001-12-31 17:14 gregor
* Parrot/, lib/Parrot/
Another intermediate opbody notation. Could come in handy. Explicit
2001-12-31 17:05 dan
* string.c: Minor warnings update
2001-12-31 17:00 dan
* include/parrot/string.h: Warnings cleanup
2001-12-31 16:00 simon
* encodings/utf8.c, include/parrot/encoding.h:
Remove a couple more.
2001-12-31 15: