Commit Graph

83 Commits

Author SHA1 Message Date
mattn 3f1814ce3a Move mrblib for Struct 2013-03-01 15:33:52 +09:00
mattn 878fe38b4c Gemify 2013-03-01 14:56:28 +09:00
mattn 138ecf4723 Pluggable Struct 2013-03-01 13:37:46 +09:00
Daniel Bovensiepen 81f96cb9af Move Math::TOLERANCE to mruby-math 2013-02-28 15:20:46 +00:00
Yukihiro Matz Matsumoto 12af04011f mv mrgems/mruby-math to mrbgems 2013-02-28 22:41:08 +09:00
Yuichiro MASUI f4485ee1eb s/mgem/mrbgem/ 2013-02-28 11:55:22 +09:00
Yuichiro MASUI 7c469c0b9d Rebuild CRuby based building script without Makefile
Tested CRuby 1.8.6 and 1.9.3

You can see building configuration in build_config.rb
2013-01-03 02:24:15 +09:00
mattn b1832da2db replace all slash to backslash in cd /path/to/folder for windows. 2012-12-26 12:25:32 +09:00
MATSUMOTO Ryosuke c0f46d98a7 Support GEM_LIBS_LIST in Makefile4gem 2012-12-24 00:13:38 +09:00
Yukihiro "Matz" Matsumoto b42d17adb3 Merge pull request #668 from matsumoto-r/support_gem_flags_list
Support MakefileGemList for MRUBY_CFLAGS and MRUBY_LDFLAGS
2012-12-22 07:40:51 -08:00
MATSUMOTO Ryosuke b6c39975ab Support MakefileGemList for MRUBY_CFLAGS and MRUBY_LDFLAGS
Other apps using mruby like mod_mruby easy to link mrbgems dynamically by MakefileGemList
2012-12-22 23:30:37 +09:00
Yuichiro MASUI a2ae2a3923 Added MRUBY_LIBS to mrbgems Makefile 2012-12-22 21:53:42 +09:00
Yuichiro MASUI dee0b2283c Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems 2012-12-22 01:38:06 +09:00
Yukihiro "Matz" Matsumoto e7112424ec Merge pull request #639 from mattn/fix_build
fix build
2012-12-18 04:59:02 -08:00
Akira Yumiyama 335ec2ae2b "#{MRUBY_ROOT}/mrbgems/g" add to the default search path 2012-12-18 14:52:24 +09:00
mattn 28b78eb3d9 fix build: add LIBS flag. and fix quoted arguments on windows. 2012-12-18 14:13:14 +09:00
Yuichiro MASUI 8f9105d21a Moved some building script from GNU make to Ruby script
Added minirake what's Rake subset
2012-12-17 02:19:46 +09:00
Yuichiro MASUI 4b8959daff Merge branch 'master' into use_ruby_for_building 2012-12-16 01:58:51 +09:00
Yuichiro MASUI 06d242ae43 Moved some building script from GNU make to Ruby script
Added minirake what's Rake subset
2012-12-16 01:56:03 +09:00
Tomoyuki Sahara 4bfe1f4bf5 fgetc(3) returns int.
Note: "char" is actually "unsigned char" on some platforms including
NetBSD/arm.  Comparing char value with EOF(-1) always fails on the
platforms.
2012-12-14 09:45:58 +09:00
Yukihiro "Matz" Matsumoto 79ff1cab89 Merge pull request #621 from bovi/mrbgems-fixes
Mrbgems Dash Issue and better cleanup
2012-12-11 01:56:21 -08:00
Daniel Bovensiepen 5ed922442c Fixes the dash issue for pure Ruby GEMs 2012-12-11 13:19:51 +08:00
Yukihiro "Matz" Matsumoto b975bd233e Merge pull request #618 from iij/pr-generator-off-by-one
fix an off-by-one error in mrbgems generator.
2012-12-10 21:12:22 -08:00
Yukihiro "Matz" Matsumoto f25fbcf517 Merge pull request #617 from mattn/replace_dash
replace all '-' to '_' for mrbc.
2012-12-10 21:11:31 -08:00
Yukihiro "Matz" Matsumoto 31e01daf7a Merge pull request #616 from mattn/fix_generator
fix generator.
2012-12-10 21:10:35 -08:00
Daniel Bovensiepen 38abf3ba87 Improve cleanup target for mixed C and Ruby GEMs 2012-12-11 12:36:22 +08:00
Tomoyuki Sahara 913d68bbcd fix an off-by-one error. 2012-12-11 12:58:05 +09:00
mattn 7229c68eb2 replace all '-' to '_' for mrbc. 2012-12-11 12:33:45 +09:00
mattn 7befb3e77f clear variable. 2012-12-11 11:48:11 +09:00
mattn 56026c2d4d fclose if not null. 2012-12-11 11:46:30 +09:00
mattn 90bd737164 fix generator. 2012-12-11 11:44:09 +09:00
mattn e61b0290ac remove quote of "GEMS.active". On windows, quoted variable is passed to the command arguments with double quote. 2012-12-11 10:30:39 +09:00
Yuichiro MASUI dcdd893bed Added LDFLAGS to Makefiles 2012-12-09 19:18:40 +09:00
Daniel Bovensiepen 54ef99d8df mrbgems: recognize absolute path under WIN32 2012-12-08 17:49:08 +08:00
Daniel Bovensiepen 770974b53e mrbgems: GEMS.active can now contain relative path to GEMS. Relative from 'mrbgems/g' 2012-12-08 17:10:37 +08:00
Daniel Bovensiepen b68fa6f90f mrbgems: make calls to every GEM contain now also the include path to the header files of every GEM. 2012-12-08 15:30:34 +08:00
Daniel Bovensiepen e42a11339c Fix: A GEM with a Dash inside of the name doesn't work. 2012-12-07 23:02:40 +08:00
Daniel Bovensiepen bef73cc54f Integrate refactoring of commit f1ed143624 2012-12-07 16:19:52 +08:00
Daniel Bovensiepen bb6d42d987 Remove non C99 confirm headers and add function comments 2012-12-07 16:10:58 +08:00
Daniel Bovensiepen 712d6b8cd2 Change link-order for mrbgems as suggested by @sogabe to avoid linking-error 2012-11-26 12:09:06 +08:00
Daniel Bovensiepen cc382f9bac Add the usage of MRUBY_ROOT to the mrbgems build system, so that we can easily build everywhere 2012-11-23 22:49:21 +08:00
Daniel Bovensiepen e32077fed1 Respect dynamic GEMS.active file in mrbgems/generator.c 2012-11-23 19:42:29 +08:00
Daniel Bovensiepen 660eb545db Respect dynamic GEMS.active file in mrbgems/Makefile4gem 2012-11-23 19:42:10 +08:00
Daniel Bovensiepen 755938aa57 Respect dynamic GEMS.active file 2012-11-23 19:41:44 +08:00
Daniel Bovensiepen e8b9915532 Change build process to create meaningful Archive file instead of gem.a 2012-11-23 02:54:49 +08:00
Daniel Bovensiepen e162f6d20b Modify GEM build process to support external GEMs outside of the mruby tree 2012-11-23 02:07:20 +08:00
Daniel Bovensiepen 74121d624f Clean GEM Generator a bit more 2012-11-22 17:40:53 +08:00
Daniel Bovensiepen d1efcb4c85 Rename GEM init file 2012-11-22 16:52:07 +08:00
Daniel Bovensiepen 953cbff65c Make GEM build choosable. Respect GEMS.active file for choices of which GEM to build 2012-11-22 16:13:16 +08:00
Daniel Bovensiepen a9df6f85e6 Improve Generator by handling Ruby and C Extensions in the same way 2012-11-21 15:56:59 +08:00