summaryrefslogtreecommitdiff
path: root/template
AgeCommit message (Collapse)Author
2024-11-20Set `target_os` for a7577dbfd3ea53cccf7aaf94208069784ad17791Nobuyoshi Nakada
2024-05-23merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6:Hiroshi SHIBATA
Alias init functions The extension library has each initialization function named "Init_" + basename. If multiple extensions have the same base name (such as cgi/escape and erb/escape), the same function will be registered for both names. To fix this conflict, rename the initialization functions under sub directories using using parent names, when statically linking. --- ext/extmk.rb | 16 +++++++++++++++- template/extinit.c.tmpl | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-)
2024-05-23[Bug #19751] Remove linemarkers in middleNobuyoshi Nakada
2023-10-17merge revision(s) ↵U.Nakamura
bcb3247072e6973d0f6b50ca5fed238d5824bd28,fe0225ff4d5af8b1f54009727b39d0d9b821eea3: [Backport #19778] [Bug #19778] Pass additional include options to INCFLAGS in common.mk --- common.mk | 2 +- configure.ac | 1 + template/Makefile.in | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) [Bug #19778] Add `-I` options for opt-dir to `$INCFLAGS` These options have been separated from `$CFLAGS` already in the other places. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-10-21merge revision(s) 518301883edee12218657c77ba977e2bde1b17d0:nagachika
Fix parallel build on MINGW When the build is running with a base ruby then generating `x64-ucrt-ruby320.rc` could fail due to a missing dependency to `x64-mingw-ucrt-fake.rb`. This commit adds this dependency. A failing build looks like so: ``` generating x64-mingw-ucrt-fake.rb generating x64-ucrt-ruby320.rc ../snapshot-master/win32/resource.rb:in `require': cannot load such file -- ./x64-mingw-ucrt-fake (LoadError) make: *** [GNUmakefile:57: x64-ucrt-ruby320.rc] Error 1 make: *** Waiting for unfinished jobs.... linking miniruby.exe x64-mingw-ucrt-fake.rb updated ``` --- cygwin/GNUmakefile.in | 4 ++-- template/Makefile.in | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
2022-10-21merge revision(s) 6f5305e0d2b4711b186ece8160716c7f9439ea8d:nagachika
Exclude LIBPATHENV wrapper from PREP --- common.mk | 4 ++-- configure.ac | 2 +- template/Makefile.in | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-)
2022-10-21merge revision(s) bc5b9be1ee44817614bc8311e671fc79ca730625:nagachika
Move duplicate dependencies --- common.mk | 2 ++ template/Makefile.in | 5 ----- win32/Makefile.sub | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-)
2022-10-21merge revision(s) cdfb0272131ed8ef078d371556c2cad40b31d2fb:nagachika
Run find in PATH [ci skip] --- template/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-10-21merge revision(s) 0114c72df0dd4c6df3766bc32f4cadd939b3b0f4:nagachika
Clean intermediate files for update-deps [ci skip] --- template/Makefile.in | 1 + 1 file changed, 1 insertion(+)
2022-10-21merge revision(s) 97ce030954dab3f219779e235bee53ba408fbaca:nagachika
Load fake.rb at `BTESTRUBY` So that `mkmf` checks work from `make run`, and also remove duplicate `$(MINIRUBYOPT)` which is used in `$(MINIRUBY)`. --- common.mk | 8 ++++---- template/Makefile.in | 3 +-- template/fake.rb.in | 2 ++ win32/Makefile.sub | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-)
2022-10-20merge revision(s) 2d57447ae80e0b0895d6d22d606391b48516ba93:nagachika
Fix missing replacement in 1f91dcdab3b --- template/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-10-19merge revision(s) 1f91dcdab3b530dde93fa29fba8bf60683cd8056:nagachika
Define BOOTSTRAPRUBY from HAVE_BASERUBY --- common.mk | 1 + configure.ac | 8 -------- template/Makefile.in | 7 +++++-- win32/Makefile.sub | 6 ++++-- 4 files changed, 10 insertions(+), 12 deletions(-)
2022-10-18merge revision(s) 7c67d0fd79a3cffe857587fa3cf576b611023840:nagachika
Make sources by BASERUBY if available instead of miniruby --- common.mk | 25 +++++++++++++++---------- configure.ac | 6 +++++- cygwin/GNUmakefile.in | 4 ++-- template/Makefile.in | 2 +- win32/Makefile.sub | 10 ++++++++-- 5 files changed, 31 insertions(+), 16 deletions(-)
2022-10-18merge revision(s) 26054c74619d36b2781e872fad15a1a0bfab1be1:nagachika
Fix paths of exts.mk to clean exts.mk files are one level under the top of extension directories. --- template/exts.mk.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-10-18merge revision(s) 77f3f8a1d4f45d06df6cfea2bac3a67867c19efb:nagachika
exts.mk.tmpl: propagate MINIRUBY to enc.mk even though invoking from exts.mk This is another attempt to fix out-of-src build with --with-static-linked-ext. The first attempt was 4f1888bda70981d9f5b1bf55ab692e0ce18e79f4 but reverted because it broke out-of-src build from pre-generated sources via `make dist`. This patch fixes the second trans C source gen, mentioned in the previous commit message, by passing MINIRUBY as well as when invoking from common.mk --- common.mk | 2 +- template/exts.mk.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2022-10-16merge revision(s) 32d1ce96e09773e809d575c17b916012d88d6ffc:nagachika
Fix race conditions when cleaning extensions Clean built directories by `make distclean`, and then clean leftover makefiles for skipped extensions. --- template/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+)
2022-10-16merge revision(s) 0c9803b0fdfd17981bd9f59767adab0207c3a74d:nagachika
The "gems" build directory was rename as ".bundle" --- common.mk | 12 ++++++------ template/Makefile.in | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-)
2022-10-16merge revision(s) 21f006f5f7c161fd3857f69186e810f1958bd7f0:nagachika
Retrieve previously configured macros also other than `extensions` --- template/exts.mk.tmpl | 1 - 1 file changed, 1 deletion(-)
2022-10-16merge revision(s) 17ce0b9b846a065065008b5fb2e9f8ad13058fa1:nagachika
Retrieve configured gems info --- template/configure-ext.mk.tmpl | 2 +- template/exts.mk.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
2022-10-16merge revision(s) db3d111c1d1e90b400f1e737ded6a4e4bdf2cec8:nagachika
Bundled gems are expanded under `.bundle/gems` now --- ext/extmk.rb | 13 +++++++------ template/exts.mk.tmpl | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-)
2021-12-13Prepare for removing RubyVM::JIT (#5262)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-12-13Rename --jit to --mjit (#5248)Takashi Kokubun
* Rename --jit to --mjit [Feature #18349] * Fix a few more --jit references * Fix MJIT Actions * More s/jit/mjit/ and re-introduce --disable-jit * Update NEWS.md * Fix test_bug_reporter_add Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-12-04Remove unversioned phony target for pkgconfig file [Bug #18374]Nobuyoshi Nakada
It results in a circular dependency when `--with-ruby-pc=ruby.pc` is given. [ci skip]
2021-11-17Update URL about DTrace static library glommed obj [ci skip]Naohisa Goto
The old URL http://mail.opensolaris.org/pipermail/dtrace-discuss/2005-August/000207.html pointed to the official archive of dtrace-discuss mailing list in opensolaris.org, disappeared in 2013. The new URL points to the MARC Mailing list ARChives.
2021-11-08[Feature #18290] Remove all usages of rb_gc_force_recyclePeter Zhu
This commit removes usages of rb_gc_force_recycle since it is a burden to maintain and makes changes to the GC difficult. Notes: Merged: https://github.com/ruby/ruby/pull/4363
2021-10-20Remove the scraperAaron Patterson
Now that we're using the jit function entry point, we don't need the scraper. Thank you for your service, scraper. ❤️
2021-10-20Remove some MicroJIT vestigesAaron Patterson
Just happened to run across this, so lets fix them
2021-10-20Yet Another Ruby JIT!Jose Narvaez
Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
2021-10-20Refactor uJIT code into more files for readabilityMaxime Chevalier-Boisvert
2021-10-20Refactor ujit_examples.h generator. Remove dwarfdump dependencyAlan Wu
2021-10-06Add the dependency of GNUmakefile itself [ci skip]Nobuyoshi Nakada
2021-10-05include/ruby/encoding.h: convert macros into inline functions卜部昌平
Less macros == huge win. Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-04Stop building extension gems for nowNobuyoshi Nakada
Extension gems will be installed by the installed standard libraries.
2021-09-21Ripper source on mswinNobuyoshi Nakada
* Get rid of command substitution for cmd.exe. * Separate RM1 command to remove single file sans directory.
2021-09-15template/Doxyfile.tmpl: modernise卜部昌平
applied doxygen -g for Doxygen 1.9.3. Notes: Merged: https://github.com/ruby/ruby/pull/4835
2021-09-10template/Doxyfile.tmpl: EXTRACT_ALL=NO卜部昌平
This prevents file-static functions/variables be listed in the CAPI documents. An entity shall be placed inside of a file that contains `@file` doxygen comment, in order for it to be documented. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: EXTRACT_STATIC: YES [Bugs #14037]sonots
I often feel that C API documents are lacked in C source codes, especially for static functions. I propose to turn EXTRACT_STATIC = YES flag of Doxygen to YES, and write document comments for static functions as much as possible. * template/Doxyfile.tmpl: EXTRACT_STATIC: YES [Bugs #14037] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: rethink about exclusions卜部昌平
I guess we don't want documents for C API of extension libraries? They are never intended to provide C APIs anyways. We could revisit this decision later. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10include/ruby/io.h: add doxyen卜部昌平
Must not be a bad idea to improve documents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10postscript about rb_mutex_sleep卜部昌平
Asked ko1 about the design. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10include/ruby/internal/fl_type.h: add doxygen卜部昌平
Must not be a bad idea to improve documents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10include/ruby/internal/rgengc.h: add dosygen卜部昌平
Must not be a bad idea to improve documents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10include/ruby/internal/value_type.h: add doxygen卜部昌平
Must not be a bad idea to improve documents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10include/ruby/internal/xmalloc.h: add doxygen卜部昌平
Must not be a bad idea to improve documents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: add alias卜部昌平
This enables me to write `@shyouhei` in C comments without complained by doxygen that @shyouhei is an unknown special command. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: use of += operator卜部昌平
It is easier to maintain (e.g. sort them). [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: quote spaces卜部昌平
The new Doxyfile.tmpl says: > # Values that contain spaces should be placed between quotes (\" \"). [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: increase DOT_GRAPH_MAX_NODES卜部昌平
`make capi` warned: > warning: Included by graph for 'dllexport.h' not generated, too many nodes (85) [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: delete commented-out settings卜部昌平
Let our VCS manage old contents. [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10template/Doxyfile.tmpl: modernize卜部昌平
Didn't question the current settings. This changeset just re-applied `doxygen -g` against: doxygen 1.9.0 (1e72202d8fa0e9d2b3f2a29c88ec4f5790a0a4e2) [ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4815