summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2023-08-28YARP: generated files using from templates depend on config.ymlNobuyoshi Nakada
2023-08-25Update depsKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8298
2023-08-25Remove config.h from targets necessary for YARPKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8298
2023-08-25Fix VPATH for yarp/version.hKevin Newton
2023-08-25Update sync script to handle yarp/version.hKevin Newton
2023-08-25Fix mutation visitor build for YARP templatingKevin Newton
2023-08-25Implement weak references in the GCPeter Zhu
[Feature #19783] This commit adds support for weak references in the GC through the function `rb_gc_mark_weak`. Unlike strong references, weak references does not mark the object, but rather lets the GC know that an object refers to another one. If the child object is freed, the pointer from the parent object is overwritten with `Qundef`. Co-Authored-By: Jean Boussier <byroot@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/8113
2023-08-24Resurrect srcs dependency for YARP templates (#8285)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-22Render YARP templates into the build directory (#8266)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-18Revert "Fix tool/update-deps for YARP files"Takashi Kokubun
This reverts commit 6fff5c5ba23a2790c9d189de82e157c9fa986f96. Revert "Use $(top_srcdir) entries for mswin (#8244)" This reverts commit e327bf32bdfa610a0f1834048bb1422de992c073. Revert "Update dependencies" This reverts commit aba26a88040c322a188292447fd18a2b9c76c713. Revert "Use {$(VPATH)} for OpenBSD" This reverts commit 2046e054bc811fd6a8e30c926aa6c9c4a5884262. --- None of those revisions actually worked for both mswin and OpenBSD at the same time. I need more time to build something that works for both.
2023-08-18Fix tool/update-deps for YARP filesTakashi Kokubun
2023-08-18Update dependenciesTakashi Kokubun
2023-08-18Use {$(VPATH)} for OpenBSDTakashi Kokubun
Scratch build on OpenBSD has been failing since 67b5f63e97. `make; make` works though. (`make` alone doesn't work) I have no idea what I'm doing, but I do know that this patch fixes scratch build on an OpenBSD machine. My best guess is that BSD make isn't capable of distinguishing foo.c vs ./foo.c in dependencies, and {$(VPATH)} becomes empty when it needs to be.
2023-08-17Include YARP templated files in snapshotsTakashi Kokubun
Those files should be part of CRuby distributions.
2023-08-17Move the dependency of node.rb and serialize.rbTakashi Kokubun
to `main`. This is what lib/ruby_vm/rjit/instruction.rb currently does. Letting .time depend on those files was just a workaround.
2023-08-17Render YARP templates in the build process (#8228)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-16Update dependenciesTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/8226
2023-08-14Fix test and precheck order for old GNU MakeNobuyoshi Nakada
2023-08-13Prefix `excludes` with a dot to prevent chkbuild from firing wronglyNobuyoshi Nakada
Chkbuild runs for each directories just under `test` directory when `test-all` failed. `test/excludes` itself should not be a target. Notes: Merged: https://github.com/ruby/ruby/pull/8214
2023-08-11Group test-syntax-suggest and leaked-globals [ci skip]Nobuyoshi Nakada
2023-08-11Fix test-bundler dependenciesNobuyoshi Nakada
2023-08-11Fix order of test-syntax-suggest-prepare for old GNU MakeNobuyoshi Nakada
2023-08-10Remove duplicate prerequisite [ci skip]Nobuyoshi Nakada
2023-08-10Explicitly require rspec/expectations tentativelyNobuyoshi Nakada
Maybe only with load-relative, recent changes to bunder/setup.rb seem affecting weirdly. It fails to load rspec/expectations.rb inside rspec-core.
2023-08-10Make PREPARE_SYNTAX_SUGGEST include TEST_RUNNABLE prefixNobuyoshi Nakada
So that `make PREPARE_SYNTAX_SUGGEST= test-syntax-suggest` works. Notes: Merged: https://github.com/ruby/ruby/pull/8199
2023-07-27Clean up OPT_STACK_CACHING (#8132)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-07-19[ruby/yarp] Resync YARP (#8098)Jemma Issroff
Notes: Merged-By: jemmaissroff
2023-07-17Implement Process.warmupJean Boussier
[Feature #18885] For now, the optimizations performed are: - Run a major GC - Compact the heap - Promote all surviving objects to oldgen Other optimizations may follow. Notes: Merged: https://github.com/ruby/ruby/pull/7662
2023-07-15Use functions defined by parser_st.c to reduce dependency on st.cyui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8057
2023-07-13[Feature #19730] Remove transient heapPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/7942
2023-07-10Serially update only the ripper source, even with old GNU makeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8049
2023-07-06Ensure the name given to Module#set_temporary_name is not a valid constant pathBenoit Daloze
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/8035
2023-07-05Fixed build scripts for YARPJemma Issroff
Notes: Merged: https://github.com/ruby/ruby/pull/8007
2023-07-02[DOC] Stop downloading Unicode data only for unicode_properties.rdocNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8011
2023-07-01[Bug #19728] Auto-generate unicode property docsJanosch Müller
https://bugs.ruby-lang.org/issues/19728 Notes: Merged: https://github.com/ruby/ruby/pull/7944 Merged-By: nobu <nobu@ruby-lang.org>
2023-06-29Fix broken wiki links (#8002)Jemma Issroff
Since [Misc #19679] migrated the wiki, these links should be updated to their new locations. Notes: Merged-By: jemmaissroff
2023-06-29Ripper sources are generated at onceNobuyoshi Nakada
2023-06-29More dependencies for ripperNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7999
2023-06-24De-duplicate parse_st.c code from st.cNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7956
2023-06-21[Feature #19741] Add yarp to buildsJemma Issroff
Add yarp to common.mk and windows builds to enable us to run yarp correctly with CI. Notes: Merged: https://github.com/ruby/ruby/pull/7964
2023-06-14Removed rake-compiler dependency for test-bundled-gemsHiroshi SHIBATA
It's needless with racc-1.7.1 Notes: Merged: https://github.com/ruby/ruby/pull/7943
2023-06-13rexml is also bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7937
2023-06-13Don't install bundled gems for test-bundled-gems and test-syntax-suggestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7937
2023-06-12[Feature #19719] Universal Parseryui-knk
Introduce Universal Parser mode for the parser. This commit includes these changes: * Introduce `UNIVERSAL_PARSER` macro. All of CRuby related functions are passed via `struct rb_parser_config_struct` when this macro is enabled. * Add CI task with 'cppflags=-DUNIVERSAL_PARSER' for ubuntu. Notes: Merged: https://github.com/ruby/ruby/pull/7927
2023-06-12Run test-unit test without rake task to avoid yard dependencyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7928
2023-06-12pry is not needed for test-bundled-gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7928
2023-06-08Added racc dependencyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7877
2023-06-01Hide the usage of `rb_io_t` where possible. (#7880)Samuel Williams
This retries the compatible parts of the previously reverted PR so we can continue to update related code without breaking backwards compatibility. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-06-01Revert "Hide most of the implementation of `struct rb_io`. (#6511)"NARUSE, Yui
This reverts commit 18e55fc1e1ec20e8f3166e3059e76c885fc9f8f2. fix [Bug #19704] https://bugs.ruby-lang.org/issues/19704 This breaks compatibility for extension libraries. Such changes need a discussion.
2023-05-30Hide most of the implementation of `struct rb_io`. (#6511)Samuel Williams
* Add rb_io_path and rb_io_open_descriptor. * Use rb_io_open_descriptor to create PTY objects * Rename FMODE_PREP -> FMODE_EXTERNAL and expose it FMODE_PREP I believe refers to the concept of a "pre-prepared" file, but FMODE_EXTERNAL is clearer about what the file descriptor represents and aligns with language in the IO::Buffer module. * Ensure that rb_io_open_descriptor closes the FD if it fails If FMODE_EXTERNAL is not set, then it's guaranteed that Ruby will be responsible for closing your file, eventually, if you pass it to rb_io_open_descriptor, even if it raises an exception. * Rename IS_EXTERNAL_FD -> RUBY_IO_EXTERNAL_P * Expose `rb_io_closed_p`. * Add `rb_io_mode` to get IO mode. --------- Co-authored-by: KJ Tsanaktsidis <ktsanaktsidis@zendesk.com> Notes: Merged-By: ioquatix <samuel@codeotaku.com>