Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general syntax fixes #3319

Merged
merged 90 commits into from
Sep 17, 2023
Merged

general syntax fixes #3319

merged 90 commits into from
Sep 17, 2023

Commits on Aug 13, 2023

  1. Prettified a comment

    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    7f6239f View commit details
    Browse the repository at this point in the history
  2. fixed broken indentation caused by another commit.

    the commit renamed a bool to int and broke indentation: 233cf39
    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    feaaf95 View commit details
    Browse the repository at this point in the history
  3. Changed 0.001 and 0.00001 to EPSILON

    This commit is untested.
    I don't know what consequences this has.
    Since the commits that added these numbers were before epsilon was added,
    I have assumed that epsilon could replace them.
    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    03567d2 View commit details
    Browse the repository at this point in the history
  4. Prettied up indentation in a few places

    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    c21d7b7 View commit details
    Browse the repository at this point in the history
  5. removed spacing around *, standardizing it.

    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    f85f9d4 View commit details
    Browse the repository at this point in the history
  6. I may have gotten overboard with indentation

    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    10993c5 View commit details
    Browse the repository at this point in the history
  7. removed a few useless parenthesis

    Brian-E committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    7b4d83f View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Added fortran-raylib

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    35028b3 View commit details
    Browse the repository at this point in the history
  2. Fix examples/others/rlgl_standalone.c compilation issue (#3242)

    ubkp authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    92bf6e8 View commit details
    Browse the repository at this point in the history
  3. Update BINDINGS.md

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    45a099c View commit details
    Browse the repository at this point in the history
  4. Ignore unused return value of GetCodepointNext in GetCodepointCount (#…

    …3241)
    
    * Ignore unused return value of GetCodepointNext in GetCodepointCount
    
    Removes the last warning from non-external libraries when compiling with
    the default build configuration on x64 Linux.
    
    * Remove unnecessary void cast in GetCodepointCount
    ashn-dot-dev authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    565790e View commit details
    Browse the repository at this point in the history
  5. Fix #3246

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7e2c474 View commit details
    Browse the repository at this point in the history
  6. Revert "Fix #3246"

    This reverts commit e4dcbd5.
    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    90afcda View commit details
    Browse the repository at this point in the history
  7. Fix text_unicode.c example crashing (#3250)

    * Fix text_unicode.c example crashing
    
    * Adjust the text_unicode.c example crashing fix
    ubkp authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    d3ebf8c View commit details
    Browse the repository at this point in the history
  8. tweaks

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    934cd6f View commit details
    Browse the repository at this point in the history
  9. add build.zig options for individual modules (#3254)

    actondev authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    62c20df View commit details
    Browse the repository at this point in the history
  10. Add IsKeyPressedRepeat (desktop only) (#3245)

    Since the key pressed are handle by comparing current vs previous
    state (ie frame), a special way is needed to handle key repeats.
    actondev authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    952ebb5 View commit details
    Browse the repository at this point in the history
  11. Reviewed IsKeyPressedRepeat() #3248

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7190fac View commit details
    Browse the repository at this point in the history
  12. Update rcore.c (#3255)

    VitusVeit authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    acc4ecb View commit details
    Browse the repository at this point in the history
  13. Match CMakeOptions.txt options default values (#3258)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    87c9ed4 View commit details
    Browse the repository at this point in the history
  14. Fix SetClipboardText for web (#3257)

    ubkp authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    9760208 View commit details
    Browse the repository at this point in the history
  15. [Image] Validate that ImageDrawRectangleRec is drawing entirely insid…

    …e the image (#3264)
    
    * Add a function to clone a sound and share data with another sound.
    
    * rename items based on feedback
    
    * PR Feedback, use custom unload for sound alias, not variant of normal sound unloading
    
    * sound_multi example
    
    * Validate that image rect drawing is inside the image so we don't overflow a buffer
    
    * remove files that should not have been added.
    
    * remove changes that should not have been
    
    * revert
    
    * adsfasdfsdfsdf
    JeffM2501 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    81ec5f0 View commit details
    Browse the repository at this point in the history
  16. Add Vector3 Projecting and Rejection to Raymath (#3263)

    * Update raymath.h
    
    * formatting
    Dial0 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8744f45 View commit details
    Browse the repository at this point in the history
  17. [Feature] IsKey... safety checks and more (#3256)

    * [Feature] Add GetKeyRepeat
    
    * Update rcore.c
    
    * Simpler design, only one repeat per frame
    
    * Update config.h
    
    * Update rcore.c
    
    * Add KEYBOARD_KEYS_MASK
    
    * Update config.h
    
    * reversions
    
    * Update rcore.c
    
    * Update rcore.c
    
    * change docs
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update raylib.h
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    
    * Update rcore.c
    nickyMcDonald authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    2270798 View commit details
    Browse the repository at this point in the history
  18. Fix bug where default shaders was not linking. (#3261)

    branc116 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    1814fd6 View commit details
    Browse the repository at this point in the history
  19. Formating review

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    bfd9c4e View commit details
    Browse the repository at this point in the history
  20. Add missing cmake options (#3267)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    2931ba9 View commit details
    Browse the repository at this point in the history
  21. Fix CMake extraneous -lglfw (#3266)

    Closes #3265.
    
    The problem: LIBS_PRIVATE is a list of library names (used by pkg-config), but the shared library of the same name doesn't always exist.
    iacore authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    fb0184a View commit details
    Browse the repository at this point in the history
  22. Fix example/models/models_loading_gltf.c controls (#3268)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7ed0fdb View commit details
    Browse the repository at this point in the history
  23. Fix example/models/models_loading_m3d.c controls (#3269)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    1040852 View commit details
    Browse the repository at this point in the history
  24. Remove e from secondes (#3270)

    IrishBruse authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    c003815 View commit details
    Browse the repository at this point in the history
  25. Fix example/audio/audio_module_player.c help instructions and small b…

    …ug (#3272)
    
    * Fix example/audio/audio_module_player.c help instructions and small bug
    
    * Update example/audio/audio_module_player.png screenshot
    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7fd3a02 View commit details
    Browse the repository at this point in the history
  26. Use type name instead of valid specifier

    long long --> long long int
    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    daeb2cc View commit details
    Browse the repository at this point in the history
  27. REVIEWED: GetFileLength(), added comment #3262

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    c197cac View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5c51b0b View commit details
    Browse the repository at this point in the history
  29. Remove a duplicated screenshot and add missing one (#3275)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7cc7ab0 View commit details
    Browse the repository at this point in the history
  30. Add examples/shaders/shaders_lightmap.c to Makefiles (#3276)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f54a12d View commit details
    Browse the repository at this point in the history
  31. Fix examples/others/easings_testbed.c help instructions and small twe…

    …ak (#3277)
    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    3b84ec7 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f26cb1f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    5a6fbcf View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    bc39770 View commit details
    Browse the repository at this point in the history
  35. Fix uninitialized thread-locals in stbi #3282 (#3283)

    jbarthelmes authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    fc0c51d View commit details
    Browse the repository at this point in the history
  36. REVIEWED: Added SetTextLineSpacing() to multiline examples

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    650fbab View commit details
    Browse the repository at this point in the history
  37. REVIEWED: Data size type consistency between functions #3168

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    98a02e1 View commit details
    Browse the repository at this point in the history
  38. Some tweaks

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    b0986cb View commit details
    Browse the repository at this point in the history
  39. Use internal default allocators, instead of user-exposed ones

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    d79ec5c View commit details
    Browse the repository at this point in the history
  40. Added rudimentary SVG support. (#2738)

    * Added rudimentary SVG support. Added 2 functions ImageLoadSvg and ImageLoadSvgWithSize.
    
    * Added an example on how to use ImageLoadSvgWithSize and adjusted Makefiles accordingly.
    
    * Added actual correct example file.
    
    * Reviewed the code to keep the raylib coding conventions in mind.
    Moved the LoadImageSvg() code into LoadImage() guarded by SUPPORT_FILEFORMAT_SVG.
    Renamed LoadImageSvgWithSize() to LoadImageSvg().
    Added a LoadImageSvgFromString() function to parse the loaded SVG into an actual image. This does the bulk of the work.
    
    * Fixed typo.
    
    ---------
    
    Co-authored-by: Ray <raysan5@gmail.com>
    2 people authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    6527f61 View commit details
    Browse the repository at this point in the history
  41. REVIEWED: LoadImageSvg()

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7016f32 View commit details
    Browse the repository at this point in the history
  42. REVIEWED: LoadImageSvg()

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    0a5c476 View commit details
    Browse the repository at this point in the history
  43. Add SUPPORT_FILEFORMAT_SVG to cmake (#3284)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    fda2d0f View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    e330f7d View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    100b303 View commit details
    Browse the repository at this point in the history
  46. Update rtextures.c

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    b29284e View commit details
    Browse the repository at this point in the history
  47. Fix #3247

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    a0922a2 View commit details
    Browse the repository at this point in the history
  48. Update config.h

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    3ec569f View commit details
    Browse the repository at this point in the history
  49. Fix #3293

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    224f0af View commit details
    Browse the repository at this point in the history
  50. Disable UBSAN in zig builds. (#3292)

    Zig debug builds automatically enable ubsan.
    As the fix for #1891 had to be reverted, debug builds using zig will crash like so:
    
    ```
    Illegal instruction at address 0x3237d2
    raylib/src/rlgl.h:3690:91: 0x3237d2 in rlDrawVertexArrayElements (/home/rcorre/src/raylib-zig-template/raylib/src/rcore.c)
        glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (const unsigned short *)buffer + offset);
    ```
    
    This disables UBSAN when using zig to build raylib.
    rcorre authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    4ed1cae View commit details
    Browse the repository at this point in the history
  51. Update README.md (#3290)

    specially -> especially
    eltociear authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    c440a5e View commit details
    Browse the repository at this point in the history
  52. Update cmake SUPPORT_FILEFORMAT_SVG default value (#3291)

    asdqwe authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8a6c1b7 View commit details
    Browse the repository at this point in the history
  53. Mouse offset and scaling must be considered also on web!

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    3d92630 View commit details
    Browse the repository at this point in the history
  54. Update rcore.c

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    c0e5250 View commit details
    Browse the repository at this point in the history
  55. Update Makefile : clean raygui.c & physac.c (#3296)

    SuperUserNameMan authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    7026ede View commit details
    Browse the repository at this point in the history
  56. Remove PLATFORM_RPI (#3232)

    * Remove PLATFORM_RPI
    
    * remove build artifacts
    
    ---------
    
    Co-authored-by: MichaelFiber <michael@cubeofb.org>
    Co-authored-by: Ray <raysan5@gmail.com>
    3 people authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    445f024 View commit details
    Browse the repository at this point in the history
  57. Review to avoid UBSAN complaining #1891

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    140f624 View commit details
    Browse the repository at this point in the history
  58. added raylib-raku to bindings (#3299)

    vushu authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    bcdd599 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    38b6950 View commit details
    Browse the repository at this point in the history
  60. Reviewed examples for consistency

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    8c2932b View commit details
    Browse the repository at this point in the history
  61. Update rtext.c

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    3c1331f View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    f8e05e3 View commit details
    Browse the repository at this point in the history
  63. Remove unneeded #if (#3301)

    Co-authored-by: MichaelFiber <michael@cubeofb.org>
    2 people authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    e6b645f View commit details
    Browse the repository at this point in the history
  64. Revert "Disable UBSAN in zig builds. (#3292)" (#3303)

    This reverts commit a316f9e.
    
    Issue #1891 was fixed again, so this is no longer needed.
    rcorre authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f927b99 View commit details
    Browse the repository at this point in the history
  65. rtextures: Fix ImageDraw() source clipping when drawing beyond top le…

    …ft (#3306)
    RobLoach authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    19cbdbb View commit details
    Browse the repository at this point in the history
  66. REVIEWED: TextToPascal() issue when first char is uppercase

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    2917c52 View commit details
    Browse the repository at this point in the history
  67. Implement FLAG_WINDOW_RESIZABLE for web (#3305)

    Fixes #3231
    Peter0x44 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    330e701 View commit details
    Browse the repository at this point in the history
  68. Update BINDINGS.md (#3307)

    Fix Kaylib binding. Reroute to a new repository.
    Binding renamed.
    Its-Kenta authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    45c3853 View commit details
    Browse the repository at this point in the history
  69. Update webassembly.yml

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    e98bca6 View commit details
    Browse the repository at this point in the history
  70. Add claw-raylib to BINDINGS.md (#3310)

    bohonghuang authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    3ba12df View commit details
    Browse the repository at this point in the history
  71. Add SetWindowMaxSize for desktop and web (#3309)

    * Add SetWindowMaxSize for desktop and web
    
    * Remove SizeInt and respective adjustments
    ubkp authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    ab1c437 View commit details
    Browse the repository at this point in the history
  72. Update rtextures.c

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    20424f1 View commit details
    Browse the repository at this point in the history
  73. Reviewed parameters for consistency

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    41ce1bf View commit details
    Browse the repository at this point in the history
  74. Rename windowM* to screenM* (#3312)

    ubkp authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    605032c View commit details
    Browse the repository at this point in the history
  75. Update BINDINGS.md (#3317)

    Update TurboRaylib bindings
    turborium authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    60af376 View commit details
    Browse the repository at this point in the history
  76. Update rmodels.c

    raysan5 authored and Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    049d745 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    c6802c7 View commit details
    Browse the repository at this point in the history
  78. fixed spelling mistake

    Brian-E committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    6139721 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    712f456 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. put back parenthesis

    Brian-E committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    86f0cd8 View commit details
    Browse the repository at this point in the history
  2. reverted major allignment changes

    Brian-E committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    1aea876 View commit details
    Browse the repository at this point in the history
  3. reverted parser output changes

    Brian-E committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    6d6ab7e View commit details
    Browse the repository at this point in the history
  4. reverted one more indentation change

    Brian-E committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    fda8e51 View commit details
    Browse the repository at this point in the history