Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: 5dd8c543ab
compare: rurban/asctime_r-gh858
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Aug 10, 2012
@Whiteknight Whiteknight Add a packfile api function Parrot_pf_all_tags_list function, to retu…
…rn an RSA of all tags in the packfile. Expose this through the all_tags() method on the PackfileView PMC. Add some missing docs. benabik++ for the suggestion
@Whiteknight Whiteknight Move the logic from PackfileView.all_subs() to a new pf api routine P…
…arrot_pf_all_subs, to try and keep all logic in the api and out of the pmc
@Whiteknight Whiteknight Add a new pf api function Parrot_pf_all_tagged_pmcs. This returns a h…
…ash of tag->pmcs, for all tagged pmcs in the packfile. Expose this through the PackfileView.all_tagged_pmcs.
@Whiteknight Whiteknight Remove rurban++ from the list of upcoming release managers. his relea…
…se is already done.
@Whiteknight Whiteknight add mention of new PackfileView methods to ChangeLog 74d8fbf
@Whiteknight Whiteknight A few small cleanups and doc improvements for PackfileView PMC 5dab665
@Whiteknight Whiteknight document the Packfile.view method 92d8d2b
@jkeenan jkeenan [codingstd] Conform to linelength, C parens, C args asserts, etc. 81ed05e
Commits on Aug 11, 2012
@Whiteknight Whiteknight Fix macro name for windows build 6ea7fc1
@Whiteknight Whiteknight On second thought, remove this dang macro all together. 494ae0d
@Whiteknight Whiteknight Don't mix declarations and code to fix c++ build eabb359
Commits on Aug 12, 2012
@rurban rurban test comment t/dynpmc/select.t
No functional changes.
@rurban rurban Merge branch 'master' of 0214774
Commits on Aug 14, 2012
@rurban rurban [GH #805] Fix lndir builddir failures: t/src/checkdepend.t
File::Spec->abs2rel refuses to resolve ../ dirs because one of the dirs may be symlinked.
Our dir structure does not contain such symlinks, so we resolve ../ dirs manually, when
the target file is a symlink, which is the case with lndir builddirs.
@rurban rurban Revert "[GH #797] TODO: solaris fails to set buffer_size() in branch …

This reverts commit 05ee209.
Fixed with dd4ce1b
@rurban rurban TODO t/pmc/filehandle_28.pir GH #811 Write error
Write error: No space left on device is specific to swap filesystem, which
we dont want to test here. Fails on solaris and certain macs
Commits on Aug 15, 2012
@jkeenan jkeenan [codingstd] Conform to cuddled-else and no-hard-tabs standards. f2fb998
@Whiteknight Whiteknight Merge branch 'master' into whiteknight/io_cleanup1 4671258
@rurban rurban fix t/pmc/filehandle_12.pir: open the filehandle
multiple chars record_separator should work IMHO, but do not yet.
@rurban rurban [GH #812] Test to support io multi-char record_seperator 34e880a
@rurban rurban [GH #812] fix t/pmc/filehandle_12.pir b694441
@rurban rurban [GH #812] use record_separator in fallback io.ops readline method also 8812d14
@rurban rurban [GH #812] Makefile add pmc/pmc_handle.h dependency to src/io/api.o
[CAGE] fixes t/src/checkdepends.t
Commits on Aug 16, 2012
@Whiteknight Whiteknight CONST_STRING expects a string literal, not a char literal. Whoopsies.…
… kid51++ for the catch
@petdance petdance get rid of the warning about C90 not supporting "long long" da9adfa
Commits on Aug 18, 2012
@Whiteknight Whiteknight Fix several build warnings in src/io/*. Several comparisons with olde…
…r datatypes expect to be non-negative so cast things to size_t explicitly. Mark a few parameters unused
@Whiteknight Whiteknight silence several errors received with g++, mostly involving IO_VTABLE …
…initialization where we play a little bit loose with const qualifiers.
Commits on Aug 19, 2012
@rurban rurban Merge branch 'master' of 97c7041
Commits on Aug 22, 2012
@Whiteknight Whiteknight Parrot release 4.7.0, 'Hispaniolan' 9df0b60
@Whiteknight Whiteknight fix ftp path f93ef0f
@fperrad fperrad Merge branch 'master' of de32502
@Whiteknight Whiteknight Clean up some docs for Handle PMC cdd13f8
@Whiteknight Whiteknight Merge branch 'master' into whiteknight/io_cleanup1 a767d76
@Whiteknight Whiteknight Allow null strings in Parrot_io_reencode_string_for_handle, since we …
…may be attempting to reencode a record_separator which hasn't been initialized yet. This fixes an issue exposed by Rosella
Commits on Aug 23, 2012
@rurban rurban docs/dev/profiling.pod: fix typo 1c6de9c
@rurban rurban ChangeLog todo for 4.8.0
gh816 and vms
@bdw bdw [GH #816] Check if you're dying by interp->final_exception
In a branch of mod_parrot designed to ease the writing of
exception handlers, I noted that the API cannot catch exceptions twice.
On throwing an exception and the interpreter 'dies', it returns to the
api call via longjmp(), and sets some values upon the interpreter object.
Based upon these values, the api call returns 0, upon which the exception
is retrieved and inspected. Best example: show_last_error_and_exit.

We should just check for the last_exception being PMCNULL; if so you can
jump out (we are already dying) and if not set already_dying.
@bdw bdw [GH #816] Added test case for dying twice 2d0fc71
@rurban rurban [codingstd] t/src/embed/api.t trailing whitespace
and copyright.
@fperrad fperrad Merge branch 'master' of a511b38
@fperrad fperrad [win32/inno] follow rakudo d20f712
@rurban rurban [GH #765] do not destroy --leak-test interp with pending exceptions 2162db6
@rurban rurban [GH 803] fix installed rpath_lib
When building installables in the builddir, rpath_blib contains
cruft (-Wl:/usr/local/lib) and rpath_lib only is valid.
This disallows testing installables without LD_LIBRARY_PATH.
Commits on Aug 24, 2012
@leto leto Add get_pointer vtables to the Integer and Float PMCs, #819 880cbed
Commits on Aug 25, 2012
@leto leto Fix get_pointer for Integer and Float and add a currently failing test 1c498be
@Whiteknight Whiteknight Try to change around fill logic so that socket.readline won't hang by…
… trying to recv too often.
@Whiteknight Whiteknight When doing a read ith PIO_READ_SIZE_ANY, just dump the current conten…
…ts of the buffer. Only fill the buffer if it's empty or contains less than a single codepoint.
Commits on Aug 26, 2012
@Whiteknight Whiteknight Merge branch 'whiteknight/io_cleanup1' f0f61e4
@Whiteknight Whiteknight Comments and small cleanups to .h files. No functional changes 1cf4aa9
@Whiteknight Whiteknight Merge branch 'whiteknight/io_cleanup1' fe64ca2
@Whiteknight Whiteknight As far as the readline engine is concerned, the buffer is effectively…
… empty if (1) there are zero bytes in the buffer, (2) there are fewer bytes in the buffer than are in the delimiter string or (3) there are fewer bytes in the buffer than the maximum number of bytes per codepoint for the given encoding. In any of these three cases (#3 was missing), we need to make sure we fill the buffer to avoid missing characters spread across buffers. rurban++ for pointing out the issue, which has recently been exposed)
Commits on Aug 27, 2012
@Whiteknight Whiteknight Merge branch 'whiteknight/io_cleanup1' e429be7
@Whiteknight Whiteknight Update ChangeLog for the io_cleanup1 merge 9e5cc1a
Commits on Aug 28, 2012
@Whiteknight Whiteknight The first parameter to Handle.read_bytes can be omitted. If not used,…
… it defaults to a lazier mode where it just reads and returns whatever is available, sizing the buffer accordingly. mortiz++ for the request.
@Whiteknight Whiteknight Fix codestd error 6e2b6ba
@Whiteknight Whiteknight Fix comment error, found by benabik++ dd1a286
@jkeenan jkeenan Remove unused import of 'return_statement'. 29796c6
@leto leto Add extend_vtable tests to verify that get_pointer on Integer/Float P…
…MCs work correctly
@leto leto Fix a bug in the get_pointer test 374de7e
@fperrad fperrad [TAP] fix after merge branch 'whiteknight/io_cleanup1'
$ ./parrot-prove -v t/op/string_cs.t
t/op/string_cs.t .. Malformed UTF-8 string

current instr.: 'parrot;TAP;Parser;file' pc 2101 (runtime/parrot/library/TAP/Parser.pir:914)
called from Sub 'parrot;TAP;Harness;aggregate_tests' pc 330 (runtime/parrot/library/TAP/Harness.pir:132)
called from Sub 'parrot;TAP;Harness;runtests' pc 235 (runtime/parrot/library/TAP/Harness.pir:107)
called from Sub 'do' pc 225 (runtime/parrot/bin/prove.pir:147)
@rurban rurban win32 io: fix open append
t/pmc/io.t test 10 failed on win32 because PIO_F_APPEND was never checked.
@leto leto Remove incorrect get_pointer test
The get_pointer vtable is not available from PIR.
@leto leto Merge branch 'leto/get_pointer' 67d6238
@leto leto Add a note to ChangeLog about get_pointer on Integer/Float PMCs 202802e
Commits on Aug 29, 2012
@rurban rurban [GH #820] win32 stat() mtime problems
Try to use Win32::UTCFileTime, but it did not help.
Compare stat mtimes to each other, not against the system-time.
The tests still fail.
Commits on Sep 01, 2012
@rurban rurban [GH #822] Fix config hints for GNU/Hurd
See Debian bug #686266.
@rurban rurban vms: fix and test multi-dot filenames
t/codingstd/filenames.t missed generated and violating filenames.
.travis.yml still violates vms: todo, but low prio
@rurban rurban Change user-facing copyright year from 2011 to 2012 7e264fa
@rurban rurban vms: fix hints
Use the new test_$$ names.
LINK default exe is okay for vms.
@rurban rurban vms: ignore wrong -I and -c in Configure steps
Also fix /Define= switches for the vms compiler.
@rurban rurban vms: .tmp => _tmp for multi-dot filenames aea60ba
@mvorl mvorl vms: port update almost finished
The remaining vms build failure is auto:snprintf.
vms does not provide this API.
@rurban rurban ChangeLog updates: Hurd, win32 io append and vms 9eab02c
@rurban rurban [GH #823] windows has_mt: check for mt.exe and use it
I could not test mt_output because I have no mt.exe
Commits on Sep 02, 2012
@rurban rurban Fix mt.exe config probe to /? gerdr++ e98217e
@rurban rurban [GH #823] Silence failing mt.exe config probe 664431a
@rurban rurban Fix configure test cc_args broken in vms merge
$cc_args .= " -I./include -c" auto::va_ptr e.g. failed
@rurban rurban Merge branch 'gh823_has_mt' eb00374
@rurban rurban Add ChangeLog entry for GH #823 56bd941
@rurban rurban fix failing t/library/nciutils.t on windows
ncifunc(null_pmc, atoi, it) apparently does not find atoi
in the windows c library. SKIP tests then.
@rurban rurban t/pmc/nci.t func = cleanup
For the first dlfunc function calls use the more readable
assignment form. The other form is tested later also.
@rurban rurban [codingstd] remove hard tabs in latest code 5ef5144
Commits on Sep 03, 2012
@rurban rurban win32 skip t/dynpmc/os.t os.readdir
This test not only fails on MSVC, also with mingw gcc and all others.
@rurban rurban Makefile pmc dependency cleanup
Remove the unneeded suffix rule.

Remove duplicate lib/Parrot/Pmc2c/ dep.

Fix vtable.dump deps.

default.dump is still created on every make invocation, only make -t fixes that.
@rurban rurban t/codingstd/pccmethod_deps.t: bogus dependency detection
There is a special test to check if every .dump contains as dependency,
but every .dump contains $(PMC2C_FILES) which includes
@rurban rurban warnings cleanup
Remove already by -Wall and -Wextra implied gcc/clang warnings,
for a shorter cc cmdline.
@tadzik tadzik Cry when is given a relative path. Probably works for Un…
…ixes only
@jkeenan jkeenan Let's try using a File::Spec function for testing for absoluteness. A…
…dd a regression test for invalid value to '--prefix'.
@rurban rurban move os.pmc from dynpmc back to static pmc
Manually cleaned up pull request 778 by bdw.

Rationale whiteknight:
It's my belief that making OS PMC a dynpmc in the
first place was a mistake.  It is the only real way to access some pretty
fundamental filesystem and other functionality from the user level.
Further, all the real logic is implemented inside libparrot already, but
without OS PMC it isn't exposed to the user at all.

dynpmcs should be used for cases when we want to add new logic to the VM,
not when we already have that logic but want to be stingy about when we
expose it.

All our major users rely on OS pmc also. Winxed, Rakudo, NQP and Rosella all
make some use of it.  It's important and necessary, and it should be in
@rurban rurban PBC_COMPAT 12.1 9e45571
@rurban rurban fix mk_native_pbc
In order to update the native pbcs for 12.1, the creation script needed to be fixed.
@rurban rurban native_pbc for i386 updated eaca4f2
@rurban rurban native_pbc i386 type 2 (long double) updated 9eaa77a
@rurban rurban Provide dummy loadlib "os" for backwards compat d76bef8
@jkeenan jkeenan Update MANIFEST and SKIP to reflect one new, one renamed file. 352010e
Commits on Sep 04, 2012
Andy Dougherty [GH 811] fix seek() sign-conversion error
Nicholas Clark correctly analyzed it by studying strace.
Andy Dougherty came with the patch. Confirmed by rurban.
@rurban rurban pbc_dump: enable option -h --header-only
Broken since the packfile API redesign
Commits on Sep 13, 2012
@rurban rurban dynpmc/os: actually build this dummy pmc for loadlib "os" backcompat b6584ae
@rurban rurban dynpmc/os: and now actually install it
@rurban rurban [CAGE] remove duplicate os.bundle in MANIFEST.generated 216ce80
Commits on Sep 15, 2012
@rurban rurban skip outdated extend tests with old embed API [GH #829]
I also tried to convert extend_15 to the new API but failed to understand Parrot_runcode()
@rurban rurban [cage] Makefile cover-clean. Make less noise and use echo
make -s clean listed all dirs to be cleaned up for gcov-generated files.
Print only one line
@rurban rurban fix bogus t/src/checkdepend.t warnings
PARROT_HAS_(CORE|EXTRA)_NCI_THUNKS is in %PConfig, not %PConfig_Temp.

Skip warning for src/gc/malloc.c /usr/include/malloc.h when

Skip warning for src/glut_nci_thunks.c glut_nci_thunks.str at all.
@rurban rurban Enable VALGRIND tests with c_output test functions
E.g. POSTMORTEM=1 VALGRIND=tsan perl t/src/embed.t
or VALGRIND=valgrind perl t/src/extend.t
@rurban rurban Enable VALGRIND tests with more test functions
Now also pir. E.g. VALGRIND=tsan prove `find t/src -name \*.t`
Commits on Sep 16, 2012
@Benabik Benabik dynpmc/Rules: Revert OS build rules to pre 97aa16a
The rule to build os.str seems to be unnecessary and breaks nmake.
@Benabik Benabik os.pmc actually needs os.str
I find this somewhat bizzare, given that it's basically empty, but
don't know how to fix that.  Instead of using the old nmake-breaking
rule, let the suffix rule in the main Makefile handle it.
@rurban rurban dynpmc/os: nmake fix, $< invalid for os.str
$< is only valid for suffix rules, and also then not for nmake
@rurban rurban Fixed dynpmc/os windows reveiled duplicate names
Fixed several bugs in the dummy dynpmc os:
The dynpmc/os was a static pmc. msvc could not link duplicate names.
I had to change the pmc to dynpmc, and had to rename the os to osdummy,
which is installed as Tested ok on msvc.
Commits on Sep 17, 2012
@rurban rurban [GH #832] TODO t/op/sprintf.t 217 on mingw (%+u prints +) c65d63a
@rurban rurban [GH #832] skip t/op/string.t 196,197 on mingw (%+u prints +) 00f8868
@rurban rurban [codingstd] t/perl/Parrot_IO.t copyright year 169598d
@rurban rurban [GH #833] preload configure steps
Term::ReadLine does not work on my mingw, debugging configure steps is a pain.
E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when

I added a preloading of all steps into early so that breakpoints
can easily be set. The old handling is not changed.
@rurban rurban .travis.yml: smoke threads branch also 710de59
@rurban rurban .travis.yml: smoke more branches with less configurations
Add smoke-me branches and threads, but reduce the configurations a bit. Shuffle optimize and g++ a bit.
1-2 * 9 vs. now 3-4 * 5
@rurban rurban Fix solaris gcc build: int3 trap not supported
Apparently the solaris 10 gcc assembler does not define the
int3 (0xCC) opcode. Disable it for solaris, i.e defined(sun).
gcc (GCC) 4.5.2 SunOS solaris 5.11 11.0 i86pc i386 i86pc

        "<stdin>", line 127437 : Illegal mnemonic
        Near line: "    int3"
        "<stdin>", line 127437 : Syntax error
        Near line: "    int3"
Commits on Sep 18, 2012
@rurban rurban ChangeLog: note improved VALGRIND env ad9a8e3
@rurban rurban [GH #833] preload only when debugging perl via -d
As per jkeenans comment #833 (comment)
@rurban rurban ChangeLog: Add int3 trap fix on Solaris with gcc [GH #583] b6cf2d1
@rurban rurban [GH #836] Improve parsing pmc2c UNUSED arguments
UNUSED(arg) amcros are now detected in pmc bodies and change the argument declaration
to SHIM().
Empty bodies with return 1; are now detected and the two args are SHIMed.
UNUSED(interp) cause a new warning to be replaced by UNUSED(INTERP).
@rurban rurban warnings: Improve clang support
clang requires warnings overrides for -Wno-parentheses-equality
and adds -Wno-unused-result to src/ops/core_ops.c.
(used in 2958219 [GH #828] Optimize print_n/i and say_n/i)
@rurban rurban Add ccwarn::src/ops/core_ops.c SUFFIX OVERRIDE for using (void)Parrot…

Added with 2958219
@rurban rurban Add more UNUSED() declarations to key.pmc and core.ops ef4b571
@ayardley ayardley The 4.8.0 Release 7847e55
Commits on Sep 19, 2012
@ayardley ayardley Minor doc corrections. cc5687f
@leto leto [t] Add some failing tests for #837 reported by pmichaud++ 5d7aa2d
Commits on Sep 20, 2012
@leto leto [t] Move concat tests for #837 to a more appropriate file b9fc29b
@leto leto Revert "[t] Add some failing tests for #837 reported by pmichaud++"
This reverts commit 5d7aa2d.
@leto leto Remove mentions of -d/-O/-v from --help output and docs/running.pod #838
@leto leto Remove more references to options that no longer exist #838 bf60df5
@rurban rurban [GH #837] Honor encoding in imcc optimizer
Context registers unfortunately do not store type information,
just the values. We would need at least type 'U" here.
So recreate an proper const'ed encoding string from the register
Commits on Sep 21, 2012
@rurban rurban [cage] Remove windowism from
use /usr/bin/perl code
@rurban rurban Add bytebuffer resize tests for [GH #835]
As it turns out adding the failing test to t/pmc/bytebuffer.t
does not reveil any problem, but if called seperately as main it does.
Add t/pmc/bytebuffer2.t to MANIFEST
@rurban rurban [GH #835] Fix set ByteBuffer from string
set_string_native() did not reset char* content, only the STRING *source.
@rurban rurban [GH #837] ChangeLog line for imcc optimizer bug 93179fc
@rurban rurban [GH #837] Add benchmark to test encoding slowdown
stress_stringsu.pir tests encoding via sprintf and concat.
The fixed version is only a bit slower then the old broken version.
13.666s (broken) vs 13.506s (fixed) vs 3.022s (without encoding).

So fixing the encoding representation as STRING* in SREG and consts 'U'
is a worthwile goal.
@rurban rurban [GH #837] New comparison benchmark against stress_stringsu.pir
Bad news:
There is almost no measurable speed advantage from ascii strings to encoded strings.
With the fix and without the fix, as sprintf handling slows down the test 4x times.

So converting a SREG and const to encoded STRING* will not gain much performance.
@rurban rurban Merge branch 'gh837_concat'
Fixes [GH #837], a imcc optimizer problem with SREG's and const
not holding STRING*, thus no good encoding information.
@rurban rurban Merge 'rurban/bytebuffer-resize-gh835'
Fixed conflict in ChangeLog
@rurban rurban [GH #835] Rewrite ByteBuffer.set_string_native
Check for all needed content allocation cases. The previous version
failed when realloc'ing the content, Now use a fresh copy when needed.
@rurban rurban [GH #835] adjust the test plan number 47c73c6
@rurban rurban [codingstd] t/pmc/bytebuffer2.t whitespace 43b35f7
@leto leto [doc] Sign up to release Parrot 5.0.0 49948fa
Commits on Sep 22, 2012
@rurban rurban Merge branch 'master' of 6f3c284
@rurban rurban Revert "[cage] Remove windowism from"
This reverts commit e923aa3.

Not a windowism, rather policy.
@rurban rurban [doc] Sign up to release Parrot 4.10.0 67dfaf7
Commits on Sep 23, 2012
@Whiteknight Whiteknight In ByteBuffer.set_string_native make sure to use an unsigned char* in…
…stead of a regular char* to make g++ happy. Also, remove a superfluous GET_ATTR and const a local variable to make the optimizer slightly happier. Fixes #840. dukeleto++ for reporting the issue, kid51++ for alerting me about it.
@jkeenan jkeenan When pkg-config not detected, set to 0.
For consistency with other header detectors, set HAS_LIBFFI to 0 rather than undef.

For #840.
@rurban rurban [GH #824] strip install_config.fpmc
install_fpmc and all installables contain unneccessary
config hash entries, relevant only while building parrot,
but not for running or building languages.

This saves 6360 bytes from install_config.fpmc
@rurban rurban [codingstd] hard tabs f690d21
@rurban rurban [GH #843] warnings: Improve clang support
clang requires warnings overrides for -Wno-parentheses-equality
and adds -Wno-unused-result to src/ops/core_ops.c.
(used in 2958219 [GH #828] Optimize print_n/i and say_n/i)
@rurban rurban [GH #843] Add ccwarn::src/ops/core_ops.c SUFFIX OVERRIDE
For using (void)Parrot_io_write_b
added (but not yet merged) with 2958219
@rurban rurban Add .c.i: suffix rule for convenience
.i files as in perl5 are preprocessed files.
@rurban rurban [GH #843] Simplify clang warnings
Add support for clang++ C++ with .c source deprecation warning.
Add support for multiple override warnings in the same file.
We do not need a clang special case now.
@rurban rurban Merge branch 'rurban/preload-config-steps-gh833' into rurban/clang++-…
@rurban rurban [GH #844] Add clang++ support, new auto::alignof step
clang++ does not allow struct definitions inside a type specifier,
offsetof() in datatypes.h
Thus probe for clang++ only for all ALIGNOF values in a
new auto::alignof step. This is normally skipped. Add the
definitions to feature.h.
@jkeenan jkeenan Eliminate cpu_type.c warning in g++ builds
In g++ builds, we were getting this warning:

src/platform/generic/cpu_type.c: In function 'STRING* Parrot_get_cpu_type(parrot_interp_t*)':
src/platform/generic/cpu_type.c:48: warning: deprecated conversion from string constant to 'char*'

Not initializing with empty string avoids warning and appears to do no harm.
@rurban rurban [codingstd] linelength, function pod, cpu proc_arch init
Fix various condig std issues.
Parrot_get_cpu_type() needs to be properly initialized in case of
@rurban rurban Merge branch 'rurban/preload-config-steps-gh833' d85def3
@rurban rurban Add merged branches to ChangeLog, fix tabs f2f6feb
Commits on Sep 24, 2012
@rurban rurban [GH #826] fix t/library/mime_base64.t
split lines at 76 chars
@rurban rurban [GH #826] Split mime base64 lines at 76 chars
Theoretically. The tests still fails
@rurban rurban [GH #826] Fixed wrong mime_base64.t linebreaks
Added proper \n
@rurban rurban [codingstd] tabs in Configure.PL 9f58d2f
@rurban rurban ChangeLog for rurban/clang-warnings-gh843 c80ba80
@rurban rurban merge rurban/clang-warnings-gh843 into master
Fix conflict in ChangeLog
@rurban rurban ChangeLog for Branches: threads (progress update) c2c09cf
@rurban rurban merge master into rurban/pmc2c-unused-gh836
Fix conflict in config/auto/
@rurban rurban fixup wrong config/auto/ merge 1d37b98
@rurban rurban [GH #836] Allow UNUSED(word); the semicolon 562f9ab
@rurban rurban [GH #836] default thaw: SELF.init uses INTERP f4a63d5
@rurban rurban pmc2c: use the current libs not the installed
pmc2c favored installed Parrot::Pmc2c libs over the current ones, which
made debugging Parrot::Pmc2c methods hard.
@rurban rurban [GH #836] Cleaned wrong UNUSED(arg) macros in all pmc's
Due to an improved pmc2c compiler, which SHIMs all UNUSED args,
a lot of wrong and/or badly placed UNUSED macros have been fixed.
@rurban rurban [codingstd] GH #836 fix hard tabs 7913e25
@rurban rurban merge rurban/mime-base64-linesplit-gh826 into master
Fix ChangeLog conflict
@rurban rurban [codingsstd] hard tabs in config/auto/ 1bbf333
@rurban rurban [GH #843] fix unknown -Wno-unused-result
Also check overrides for valid warnings.
Use -Wno-parentheses-equality only for clang
Commits on Sep 25, 2012
@rurban rurban Avoid TODO in t/dynpmc/select.t on known passes 57382f8
@rurban rurban [cage] Fix 4 asynch typos in tests 64fd80f
@rurban rurban [GH #844] Make gziphandle C++ safe
Wrap #include <zlib.h> into PMC_HEADER_PREAMBLE to be able to use
ATTR gzFile file. This is now C++ safe and clang++ compiles fine.
@rurban rurban Merge branch 'rurban/pmc2c-unused-gh836'
Fixed conflict:
fixes already in master
@rurban rurban [GH #836] Catch also Scheduler.destroy and empty Undef bodies ac0b135
@rurban rurban Merge branch 'rurban/pmc2c-unused-gh836' ce2c408
@rurban rurban Merge remote-tracking branch 'origin/master' into gh838_cmdline_cleanup eaa1466
@rurban rurban [GH #838] bootstrap-prt0, ChangeLog
Remind to call bootstrap-prt0 in Makefile when prt0.winxed is changed.
Called bootstrap-prt0
Added ChangeLog line, and whitespace fixes
@rurban rurban [codingstd] hard tabs a5bb6bf
@rurban rurban [codingstd] podcheck parrot.pod
Fixed various non-conformant pod: empty =item, =over for bodies
@rurban rurban Merge branch 'master' into rurban/clang++-gh844 5b1e564
Commits on Sep 26, 2012
@rurban rurban [GH #844] fix clang++ attributes, set -x c++ in cc
clang++ prints always a warning on c sources.
Move -x c++ from warnings upfront to cc, probed in auto::gcc
to be able to correctly probe for warnings and attributes.
This fixed almost all clang++ warnings, only dynoplibs
-Wno-parentheses-equality is missing for those.
@rurban rurban [GH #844] add missing auto::alignof files
Add files to MANIFEST
Use auto::alignof as last auto step
@rurban rurban [GH #844] Probe for valid offsetof in structs (clang++)
Before we hardcoded clang++ as only compiler which does not compile
struct definitions inside a type specifier, offsetof() in datatypes.h.
Probe now for this behavior, and set HAS_COMPILER_OFFSETOF_ALIGNOF.
1 if allowed at compile-time, and undef if not and various
PARROT_ALIGN_<type> definitions are precomputed.

Also fix parrot/datatypes.h codingstd.
@rurban rurban [GH #844] use $conf->data->{cc} for clang++ as it has -x c++ added
This enables proper clang++ warnings.
@rurban rurban [GH #844] Improve makefile rules
Add clang suffix overrides or dynoplibs (-Wno-parentheses-equality)
Improve the DYNOPLIBS defines.
@rurban rurban [GH #844] Add ChangeLog entry
And improve a couple of others.
Commits on Sep 27, 2012
@rurban rurban [GH #846] Harmonize generic/cpu_type.c: "unknown"
Harmonize with win32 version:
Return "unknown" not ""
Fix description
@rurban rurban [GH #847] flush STDOUT in readline 1fe3b78
Commits on Sep 28, 2012
@leto leto [doc] Add copyright line back 959499b
@leto leto [travis] Add our coding standard and manifest tests 2c8d7e2
@leto leto [t] Update manifest to make manifest tests happy c2c9597
@Whiteknight Whiteknight Undo a prospective fix from rurban++. We don't want to flush stdout e…
…very time we read from any filehandle.
@Whiteknight Whiteknight On second read through, it doesn't appear that the old IO system had …
…a write buffer on stdout. Take that away in the new system to try and fix some rakudo issues reported by pmichaud++
Commits on Sep 30, 2012
@rurban rurban [tools] Support more encodings
Also fix a python gdb strlen error. The number of char is needed, not the number of codepoints.
@rurban rurban Revise [tools] Support more encodings
Use native endianness
@bubaflub bubaflub remove hard tabs cd225ca
Commits on Oct 01, 2012
@rurban rurban [cage] fix auto::inline for g++
add missing return type to function
error: ISO C++ forbids declaration of ‘f’ with no type [-fpermissive]
@rurban rurban [cage] Improve llvm detection
Probe for llvm-config-3.0 llvm-config-2.9 llvm-config-2.8 which do exist on debian,
where llvm-config does not exist.

Print found version, like "yes, 3.0" as with gcc and other libs.
If not requested, print "not requested" instead of "no" to give a hint,
that --with-llvm is wanted.

Add llvm and inline probes to ChangeLog
@rurban rurban [codingstd] hard tabs in config/auto/ a38db3c
@rurban rurban [tools] better string output for multi-byte
Use errors=replace instead of strict. See
Prepend encoding when not ascii and not latin1, add strlen and bufused fields.
@rurban rurban Add gdb pretty-printing to ChangeLog bd6851e
@leto leto Add a failing test for #813 reported by @donaldxs 0b4417c
@leto leto Improve and refactor failing #813 enc_sub test 07d53a0
@rurban rurban [GH #813 + #814] Fix MIME/Base64.pir for encoded strings
Use bytebuffer representations of the encoded string, not the encoded ord value.
Now the implementation is correct, but some encoded tests not.
@rurban rurban Add special mime-base64 utf8 test and examples 2eeefe4
@rurban rurban t/library/mime_base64.t: decode result to same encoding ee7d8a5
@rurban rurban [codingstd] add code, pod and copyrights to new examples 92f4de4
@rurban rurban Add unicode tests to data_json. Document chr op 9fdc9c0
@leto leto [t] Update manifest to make manifest tests happy 2cd9f8e
@Whiteknight Whiteknight Undo a prospective fix from rurban++. We don't want to flush stdout e…
…very time we read from any filehandle.
@Whiteknight Whiteknight On second read through, it doesn't appear that the old IO system had …
…a write buffer on stdout. Take that away in the new system to try and fix some rakudo issues reported by pmichaud++
@rurban rurban [tools] Support more encodings
Also fix a python gdb strlen error. The number of char is needed, not the number of codepoints.
@rurban rurban Revise [tools] Support more encodings
Use native endianness
@bubaflub bubaflub remove hard tabs 9511781
@rurban rurban [cage] fix auto::inline for g++
add missing return type to function
error: ISO C++ forbids declaration of ‘f’ with no type [-fpermissive]
@rurban rurban [cage] Improve llvm detection
Probe for llvm-config-3.0 llvm-config-2.9 llvm-config-2.8 which do exist on debian,
where llvm-config does not exist.

Print found version, like "yes, 3.0" as with gcc and other libs.
If not requested, print "not requested" instead of "no" to give a hint,
that --with-llvm is wanted.

Add llvm and inline probes to ChangeLog
@rurban rurban [codingstd] hard tabs in config/auto/ 8c85134
@rurban rurban [tools] better string output for multi-byte
Use errors=replace instead of strict. See
Prepend encoding when not ascii and not latin1, add strlen and bufused fields.
@rurban rurban Add gdb pretty-printing to ChangeLog 5a51d80
@rurban rurban [GH #813 #814] [codingstd] Improve new mime_base64 examples c1c30c6
@rurban rurban [GH #813 #814] Move new mime_base64 examples to examples/library/ 072156a
@rurban rurban Simplify tools/dev/ a bit 00d8e4d
@rurban rurban [GH #852] Avoid unneeded libparrot already exists with rpath b6fcac4
@rurban rurban [GH #813 + #814] Use Bytebuffer for MIME::Base64, add 2nd enc arg to …

Use bytebuffer representations of the encoded string, not the encoded ord value.
Also fix the tests to match this conformant behaviour.

The problem is now that base64 encoded files are endian dependent, and the multibyte
tests need to be skipped on big-endian.
Commits on Oct 02, 2012
@jkeenan jkeenan '1' added to result message is superfluous; revert.
The second argument passed to auto::llvm::_handle_result() is merely a Boolean
used to determine whether the result message displayed as part of's output should be set to 'yes' or 'no'.  Consequently, a result
of 'yes, 1' conveys nothing above or beyond 'yes'.  Reverting the modification
(which was also causing failures in t/steps/auto/llvm-01.t).
@jkeenan jkeenan Add minimal tests for auto::alignof.
Configuration step auto::alignof was added to master without a corresponding
test file under t/steps.  Add that file; update MANIFEST.  Make indentation in
config/auto/ consistent.

Note: Running the newly added steps test shows that internal subroutine
test_if_needed throws a warning, at least when we are not trying to compile
with clang.  The warning is:

  value for '@TEMP_type@' in config/auto/alignof/ is undef at
    lib/Parrot/Configure/ line 584, <$in> line 55.

This indicates a possible problem with config/auto/alignof/
@rurban rurban Merge branch 'master' of f3e4193
@rurban rurban Fix t/steps/auto/alignof-01.t warning
Thanks to jkeenan++ for adding the test.
@rurban rurban Merge branch 'master' into rurban/mime-base64-utf8-gh813+gh814
Fixed merge conflicts:
@rurban rurban Revised [GH #813 + #814] ChangeLog 220ab0a
@rurban rurban [GH #813, #814] Fix tests for big-endian
Also check for has_icu to check with composed unicode strings
@rurban rurban Revised [GH #813 + #814] ChangeLog - titlecasing 87ac5ce
Commits on Oct 03, 2012
Martin Vorländer Fix a bug that causes parrot to fail on platforms where size_t is an …
…unsigned type.

Signed-off-by: Reini Urban <>
@rurban rurban Merge branch 'vms-usize_t-gh854' 174ce54
@rurban rurban [GH #854] ChangeLog line 29ec1b0
@rurban rurban [GH #855] utf8 comparison problem 48a9db2
@rurban rurban [cage] silence @noinline@ warning on unknown compilers
e.g. solaris cc
Commits on Oct 04, 2012
@jjuran jjuran config/auto/thread: Correct "has thread" grammar 5f6ffbc
Commits on Oct 05, 2012
@jkeenan jkeenan Merge pull request #857 from jjuran/has-thread
config/auto/thread:  Correct "has thread" grammar
@rurban rurban [cage] Fix .c.i rule for solaris cc
With solaris cc -c overrides -E.
cc: Warning: "-c" redefines goal from "preprocessed source (file)" to "object file"
@rurban rurban [GH #858] Fix solaris asctime_r with _POSIX_PTHREAD_SEMANTICS/_POSIX_…
Commits on Oct 31, 2012
@rurban rurban [cage] reword solaris/time.c asctime_r comment 51c5acd