Jeroen van Rijn
ae5c92ac38
Enable odin check examples/all for JS.
2025-06-04 11:08:25 +02:00
Jacob Pfeiffer
4029ddb2b3
Correct zlib usage in doc
2024-11-08 10:32:26 -05:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
Laytan Laats
288312a812
core: improve package doc comments for the documentation generator
2024-09-03 19:59:04 +02:00
Feoramund
cf8f6afeff
Use intrinsics.reverse_bits in core:compress/zlib
2024-08-10 15:29:44 -04:00
Jeroen van Rijn
e3e31b42d0
#force_no_inline build_huffman to avoid bloat
2024-07-15 00:54:08 +02:00
Laytan Laats
2d8d0dd851
fix @(optimization_mode) usage in builtin collections
2024-07-08 21:07:53 +02:00
gingerBill
e296d6fb90
Fix loads of indentation issues with mixing spaces and tabs
2024-06-29 19:50:51 +01:00
gingerBill
706adb1232
Update for transmute -vet-cast
2024-06-29 12:16:43 +01:00
gingerBill
4b71c47fd5
Check for unneeded transmute with -vet-cast
2024-06-29 12:02:31 +01:00
gingerBill
334e08c750
Update numerous package declaration names
2024-04-18 12:17:39 +01:00
gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
Kostas Tsiligkiris
3f6f00d8e5
[DOC] Fix documentation formatting in site
...
The comments that were added automatically in odin site, contained
tabs, so the first line of a two line comment was properly rendered in
the site, but the second line of the comment (because it included tabs
in the beginning of the line) was rendered as preformattted text. I
think that the proposed changes will fix this problem in the
documentation site.
An example of the problematic rendering of documentation is
https://pkg.odin-lang.org/core/compress/#COMPRESS_OUTPUT_ALLOCATE_MAX
2024-01-14 13:22:18 +02:00
gingerBill
5023313c03
Minor cleanups to the core library
2023-09-30 20:26:04 +01:00
gingerBill
6c50e6ef34
Use or_return on resize/reserve
2023-08-15 11:13:43 +01:00
gingerBill
2181e0fc27
Make for init; ; {} an error without an explicit cond or post
2023-08-08 15:07:00 +01:00
gingerBill
44ea82f845
Clean up usage of using throughout core and vendor
2023-07-31 11:46:40 +01:00
gingerBill
19ea090633
Merge pull request #2584 from odin-lang/new-io
...
New and Improved `io.Stream` interface
2023-06-23 12:12:17 +01:00
gingerBill
9b54b99bf6
Use positional and named arguments within the core library
2023-06-21 01:17:05 +01:00
gingerBill
9ee4b76cd9
Just make the io.Reader etc aliases
2023-06-08 16:38:57 +01:00
gingerBill
3f6775e29b
Update to new io interface
2023-06-08 16:35:24 +01:00
gingerBill
1e17f44991
Improve error handling for resize and reserve procedures
2023-05-22 11:47:36 +01:00
gingerBill
986cba584e
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
2023-02-10 16:23:33 +00:00
gingerBill
f7211408fc
Merge pull request #1544 from FancyKillerPanda/build_ignore
...
Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
2022-11-03 12:58:26 +00:00
Jeroen van Rijn
f74e281efa
Various changes to TGA reader
...
- Style changes
- Change ptr usage to slice indexing
- Add TGA Footer
Also, add `peek_data` with offset to `compress`.
2022-08-28 18:25:07 +02:00
gingerBill
9c1f270bd5
Rename load_from_slice to load_from_bytes across core
2022-05-14 14:55:15 +01:00
Jeroen van Rijn
b022167df1
Remove unused fmt.
2022-04-22 17:56:34 +02:00
Jeroen van Rijn
ac9a358c65
[shoco] Replace 2D slices in model with 1D slices.
2022-04-22 17:52:38 +02:00
Jeroen van Rijn
e799476f90
[compress/shoco] Add short string compressor.
2022-04-22 16:55:47 +02:00
Jeroen van Rijn
15b440c4f1
[image] Add QOI load/save.
...
Additionally:
- Firm up PNG loader with some additional checks.
- Add helper functions to `core:image` to expand grayscale to RGB(A), and so on.
TODO: Possibly replace PNG's post-processing steps with calls to the new helper functions.
2022-04-12 18:14:09 +02:00
gingerBill
1baeb9406f
Utilize union #shared_nil in more places
2022-03-24 12:11:31 +00:00
gingerBill
17e36bd5e1
Utilize union #shared_nil to core:image Error
2022-03-24 12:06:18 +00:00
Jeroen van Rijn
bee475c38a
Merge pull request #1582 from semarie/more-ci
...
CI: add linux i386, Darwin arm64 and Windows 386
2022-03-03 17:07:40 +01:00
Sébastien Marie
dfe2c0a600
remove some leftover semi-colons before EOF
2022-03-03 15:57:55 +00:00
Sébastien Marie
832961d539
semi-colons are deprecated in core
2022-03-03 15:36:04 +00:00
Sébastien Marie
499c657ffa
rename architecture from 386 to i386
2022-03-03 15:28:18 +00:00
Jeroen van Rijn
8af08f2153
[compress] 32-bit cleanness.
2022-03-03 15:10:19 +01:00
FancyKillerPanda
62ff8daa78
Changed //+ignore to //+build ignore.
2022-02-24 12:23:54 +11:00
gingerBill
b8c4bf2afb
Add #partial [Enum]Type{...} support to check for missing enumerated array fields
2022-02-05 14:02:21 +00:00
gingerBill
e870041fe6
Fix #sparse usage
2022-02-05 13:11:41 +00:00
Jeroen van Rijn
28bc274449
Fix DEFLATE stored block handling.
2022-01-27 14:58:45 +01:00
Jeroen van Rijn
65f8722afc
zlib: update Huffman builder.
2022-01-25 12:18:10 +01:00
gingerBill
c85ac955f7
Simplify docs to hide the copyright
2022-01-17 19:00:47 +00:00
Jeroen van Rijn
8fcd1794a6
png: Add sane compile-time maximums for dimensions + chunk sizes.
2021-10-06 21:48:22 +02:00
Jeroen van Rijn
9b5ae95677
png + compress: Rearrange error unions.
2021-10-06 20:45:29 +02:00
Jeroen van Rijn
21c6d691d8
Add additional error checking to helpers.
2021-10-06 20:10:37 +02:00
Jeroen van Rijn
bf15e63130
Revert "Merge pull request #1177 from Kelimion/new_clone"
...
This reverts commit efa513262e , reversing
changes made to daccfca11d .
2021-09-19 22:16:02 +02:00
Jeroen van Rijn
e760535dba
lz4: Start of implementation.
2021-09-19 12:51:07 +02:00
Jeroen van Rijn
72fe1e88a3
Make sure to delete on the right allocator.
2021-09-19 12:19:01 +02:00
Jeroen van Rijn
2c13315e72
compress: Update BSD-3 license + remove semicolons from compressed example.
2021-09-06 21:33:40 +02:00