Skip to content

Instantly share code, notes, and snippets.

@MrJaba
Created September 30, 2010 10:36
Show Gist options
  • Save MrJaba/604376 to your computer and use it in GitHub Desktop.
Save MrJaba/604376 to your computer and use it in GitHub Desktop.
Issues Fixed:
#505,#507,#504,#506,#502,#503,#500,#501,#490,#499,#498,#496,#492,#495,#476,#478,#481,#479,#469,#461,#464,#455,#462,#462,#454,#460,#460,#459,#459,#455,#457,#458
Commits:
e6934f6 Fixed pack to taint output for tainted directives string.
b822da5 Specs for unpack output tainted if directive is tainted.
75bdbc5 Added configure option to specify 'rake' command. The value can be set via --rake option to the configure script
or by setting the RAKE environment variable.
6834056 Fix for missing pthread functions on OpenBSD.
cb57edb Refactoring for pack, unpack. Fixes OpenBSD issues.
4126130 Remove tag for passing String#unpack spec
66b186a Fix String#split edge case. Fixes #505
6f22fcb Add additional String#split spec using single space pattern
e8e39dd Set __STDC_LIMIT_MACROS for proper C99 compat. Fixes #507
b4da31b Relock the GIL in readline. Fixes #504.
35b4fc2 Set eval introduced locals in the proper scope. Fixes #506.
b24f7ac Remove unused foot-gun primitive.
6e77e74 Some OpenBSD fixes from Jeremy Evans.
5865754 Ignore configure.log
8b273e8 Set the scope of masgn locals early. Fixes #502.
c49837f Use same wording/quoting as MRI. Fixes #503
94fe487 subclassing IO works properly for pipe/popen Subclasses of IO should return objects of the
subclass, not the core IO class.
Closes #500.
Signed-off-by: Brian Ford <bford@engineyard.com>
91253fd add specs for subclassed IO singleton methods The pipe and popen singleton methods fail to return objects
belonging to the subclass
Signed-off-by: Brian Ford <bford@engineyard.com>
03a04a5 Added logging to configure script.
634291b Updated README with better directions for accessing docs.
df791c5 Enable running docs site with bootstrap Ruby using 'rake docs'.
9239452 Updated rake spec doc.
fa3bcd7 Reorganize how the MRI backtrace is rendered. Fixes #501.
a5607f0 Add missing pop to fix stack effect. Fixes #490
425677c Don't depend on EISCONN
abf6792 Return the user's object, not the coerced one. Fixes #499.
494c2b2 Add Socket#connect_nonblock. Fixes #498.
b71e3b6 Add spec for Socket#connect_nonblock
c7ce30e Add rb_io_close
9167257 Add spec for rb_io_close
da36eae Add rb_memerror as a fatal condition. Fixes #496
2222580 Add -fPIC to rbconfig CCDLFLAGS like MRI. Closes #492.
adaf90d Don't allow meta classes to be allocated
d8c18ff Fixed error porting MRI uu_decode. Don't deref byte value.
b61c5e6 Preserve zero length captures. Fixes #495
a38ea37 Make the call to abort unambigious
f8de418 Keep g++ from complaining about used variables
37a9c76 Remove side-effects from assert statements
aee1b9b Fix building on Fedora 13.
69cedd4 Fix typo's
88cdffa Bump version number.
db8e377 Updated README.
b08c87f Remove doc references to sampling profiler.
e466a8b Move doc-src to doc. Update doc generation task.
d859591 Move remaining doc content to temp doc-src.
b66fbb2 Removed outdated doc content. Some of this content is still relevant but needs a significant amount
of work to sift through. This commit provides a convenient marker to
rewind to for extracting good content.
89b5a60 Converted more documentation.
6022e93 Support reading and writing callback type fields
809e6dd Quick rake task to generate doc site.
1e39ea5 Install the docs site.
634fd8e Some initial content for documentation site.
db5e8e8 Temporary location for new docs source.
77f92b4 Basic 'rbx docs' command support. This is preliminary and only supports automatic invocation of the
browser on Darwin and Linux. This can be extended to other platforms
very simply.
c92cb3d Add 'rbx report' and support for VM and ruby crashes
fa33f96 Fix a few more FFI incompat issues
7ea68ef Push config version forward
9c0e09c A TypeError can be raised by a bad .rbc file
8220783 Add configure check for std::tr1::hash definition.
c51927e Rails fix: Workaround ActiveModel::Naming#initialize
e1680b8 Add spec for using #replace against $LOADED_FEATURES
3221211 Rebuild the identity map on #replace
8ae7ab2 Fix debugger crash When the debugging_continue_interpreter was entered, the value from the
previous method call was not placed on the stack, causing the bytecode
in the interpreter to read off the top of the stack, crash it.
be8e5da Upgrade to RubyGems 1.3.7
f36415c Use the nested parent by name (follow FFI gem). Fixes #476
82f2b57 Handle control flow edge case in JIT. Fixes #478. See the crash test committed. The bug as because if the instruction
after a git/gif was a loop header, we wouldn't set the exception handler
of the loop body block.
96a6d91 A few simple fixups for stringscanner. Fixes #481.
dbedc65 Reset state inside a block properly. Fixes #479.
fd39612 Fix int width testing on 64bit
84ca88b Add CM::Script#eval_source
307519f Added pack, unpack w.
164dbf5 Added more Integer utility functions for pack.
f538fee Specs for pack, unpack w.
c23e438 Added support for pack, unpack comments.
3dc3ca6 Added specs for comments in pack, unpack directives.
28226b0 Added pack, unpack U.
9fa63be Specs for pack, unpack U.
f30b364 Added unpack Mmu.
5678ab1 Specs for String#unpack Mmu.
0dc41c1 Pass select a NULL rather than an uninitialized timeval
ad81994 Support rb_sys_fail being passed NULL
99a7cfb Add spec for rb_sys_fail(0)
8f0bb65 Add code to detect bad extensions. Recompile your extensions. Any extension compiled against rubinius before this commit will need to
be recompiled.
b36f986 Cleanup capi/string.cpp
999166b Don't force caching of a String thats not cached
c516d5a Add FFI::Struct#to_ptr
a5aff42 Verify that the ruby to build with is the one it was configured with
8b591e7 Use a #define alias, to make ruby-termios happy
9b8d290 Fixed Module#define_method to return a lambda Proc
a397548 Spec for the return value of Module#define_method
4df21b1 Fixed FFI.type_size to work with NativeFunction
3bf03a4 Style fix
5edeb03 Add missing file
7e39664 Call #to_ptr when converting to a Pointer in FFI
05d70d6 Add Kernel#type even though it's deprecated. Fixes #469.
555fbd7 Compute the FFI struct type_code properly
be7ea3e Remove tags for now passing Etc specs
c3b13a4 Move Etc::Passwd and Etc::Group to Struct
421e6c4 Don't find the type conditionally, since it's in a while loop now
12bbbb4 Remove old lib/etc.rb.in file
b182034 Remove tags for passing StringScanner specs
05dc603 Add no-op rubysig.h to make extensions happy
b8cd80c Add unblock support to rb_thread_blocking_region. Credit: kudo. Fixes #461.
35a35c9 Add rb_thread_blocking_region specs. Credit: kubo
308bf55 Add FFI::Library::LIBC
8d7beed Add unambigious int types and inline array struct support. Fixes #464.
26435c6 Refactor and cleanup StringScanner a bit
6ad90e3 Flesh out a bit more StringScanner specs
6d3ae29 Use @prev_pos properly in #pre_match
e3251c5 Add specs for how #pre_match is effected. Credit: mutle
10ab9a9 Add specs for rb_mem_clear and rb_str_hash
1b235d5 Add missing capi functions needed for hpricot
e6432f4 Implemented rb_struct_aset, _aref.
707d23f C-API specs for rb_struct_aset, _aref.
6b2af57 Add backtraces to remotely raised exceptions
218a9e3 Add a rb_thread_critical and a null SIGALRM handler. Added to build and run the SystemTimer gem.
7d84029 Flush/update CAPI handles better. Fixes #455. Previous to this, we were flushing all cached handles whenever a capi
function exited. We had a bug where we should have been updating all
capi handles when a capi function was entered. We now do 2 sets of
logic. The first is a faster, more simple logic of updating/flushing
handles seen by the current NativeFrame. This includes non-local handles
passed to R*(). This should deal with all reasonable extensions fine.
We also introduce -Xcapi.global_flush which when on will cause all
cached handles to be flushed/update on capi call boundaries.
1510997 Track the location of globals for rb_global_variable. Fixes #462.
402e61b Handle check EINTR in rb_thread_select properly. Fixes #462.
db013c4 Ignore inlined methods when considering what to JIT
311a35b Add a spec for how the ignore option interacts with errors
f79c179 Ignore an error when all input was read. Fixes #454.
a0c2643 C-API patch from kubo. Closes #460.
0cc191d C-API specs from kubo (#460).
53f8ebe Fixed vm tests for GCC 4.3.
4476330 C-API patch from kubo. Closes #459.
b5f4157 C-API specs from kubo (#459).
9a8f219 Temporary fix for perf regression in Array#include?.
65c5e4d Replaced IdentityMap. Notes:
* Moved IdentityMap from Array to Rubinius.
* IdentityMap now supports re-mapping (#redistribute) when the entries
exceed a certain threshhold. This happens automatically. The size is
never reduced, however, because this is not a realistic need for the
current use. Should this become necessary, it would be fairly simple
to add to the #delete method as #redistribute could grow or shrink
without any modification.
* The basic structure is a hybrid table of direct entries and rows mixed.
On collision, the entry in the main table is promoted to a row and the
colliding entry is added there.
* Deleting merely sets the entry for the item's hash value to nil. Under
highly mutable loads (ie many inserts and deletes), this could lead to
significant fragmentation. There are several ways this could be handled
but, again, that is not in the current use cases.
* There is a slightly higher cost for small structures due to this being
actually mutable rather than fixed. However, there is significantly
greater performance as the load grows due to not having the spill array.
Overall, this structure is much more robust.
ee60ddb Rubinius eagerly raises on frozen objects.
bd19a0c Rubinius consistently requires Array indexs be Fixnums.
90d2551 Rubyspec does not spec MRI warnings.
698e10d Removed Array::Iterator
48d000d Handle tuple index boundaries better
b54d804 Normalizing all access of Tuple and ByteArray.
1d0aa5f Update array handles the first time you see one. Fixes #455.
ea37bbe Add spec to show size vs RARRAY()->len sync'd up.
23a5f07 Fix docs and const-ness in capi. Fixes #457.
182e3e1 Dir.glob also takes an array or a null delim string. Fixes #458.
beaa97b Add more specs for Dir.glob/Dir.[]
d5723c7 Allow yield_stack to be used in an inlined block
f997d3f Increase restrictions on block inlining, enable it by default
a07bdb3 Add more docs for the Debugger and Debugger APIs
8fdb4a4 Cleanup some old breakpoint cruft
903d16d Merge branch 'jit_deopt'
7e97a1c Support switching a method from JIT to debugging interpreter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment