Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Anyolite/anyolite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.1
Choose a base ref
...
head repository: Anyolite/anyolite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Oct 5, 2024

  1. Fixed bug with pointers as regular arguments

    Hadeweka committed Oct 5, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a378298 View commit details
  2. Added points to roadmap for 1.1.2

    Hadeweka committed Oct 5, 2024
    Copy the full SHA
    192d70f View commit details
  3. Fixed broken documentation

    Hadeweka committed Oct 5, 2024
    Copy the full SHA
    744a866 View commit details
Showing with 14 additions and 3 deletions.
  1. +1 −1 .github/workflows/doc.yml
  2. +7 −0 README.md
  3. +3 −1 src/implementations/mruby/FormatString.cr
  4. +3 −1 src/implementations/mruby/RbCore.cr
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
with:
crystal: nightly
- name: Build documentation
run: crystal docs
run: ANYOLITE_DOCUMENTATION_MODE=1 crystal docs
- name: Deployment
uses: peaceiris/actions-gh-pages@v3
with:
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -140,6 +140,13 @@ The term 'anyoli' means 'green' in the Maasai language, thus naming 'anyolite'.

## Upcoming releases

### Version 1.1.2

#### Bugfixes

* [X] Fixed broken documentation
* [X] Fixed pointers not working as regular arguments

### Version 2.0.0

IMPORTANT: Version 2.0.0 will introduce breaking changes to improve the general user experience.
4 changes: 3 additions & 1 deletion src/implementations/mruby/FormatString.cr
Original file line number Diff line number Diff line change
@@ -38,7 +38,9 @@ module Anyolite
{% else %}
{% if arg.resolve <= Bool %}
"b"
{% elsif arg.resolve <= Int || arg.resolve <= Pointer %}
{% elsif arg.resolve <= Pointer %}
"o"
{% elsif arg.resolve <= Int %}
"i"
{% elsif arg.resolve <= Float || arg.resolve == Number %}
"f"
4 changes: 3 additions & 1 deletion src/implementations/mruby/RbCore.cr
Original file line number Diff line number Diff line change
@@ -35,7 +35,9 @@ module Anyolite
{% end %}
end

Anyolite.link_libraries
{% unless env("ANYOLITE_DOCUMENTATION_MODE") %}
Anyolite.link_libraries
{% end %}

lib RbCore
alias RbFunc = Proc(State*, RbValue, RbValue)