gingerBill
050f128554
Correct hashing for union #maybe
2021-05-03 13:40:36 +01:00
gingerBill
1a3784c4df
Allow unions which are comparable to also be valid map keys (i.e. hashable)
2021-05-03 13:38:15 +01:00
gingerBill
518ecaf9c9
Allow unions to be comparable if all their variants are comparable
2021-05-03 13:17:16 +01:00
gingerBill
77e2e1e1d0
Add missing skip_possible_newline_for_literal calls
2021-05-03 12:02:08 +01:00
Jeroen van Rijn
448f834b28
Remove debug print in image helper.
2021-05-03 01:23:03 +02:00
Jeroen van Rijn
9212e3176a
Merge pull request #939 from Kelimion/new_png_post_processing
...
Don't need other path for grayscale output.
2021-05-02 21:17:00 +02:00
Jeroen van Rijn
3160a6a12c
Don't need other path for grayscale output.
2021-05-02 21:11:06 +02:00
Jeroen van Rijn
ef7b72d14c
Merge pull request #938 from Kelimion/new_png_post_processing
...
Add new PNG post processing options.
2021-05-02 20:39:33 +02:00
Jeroen van Rijn
7d534769d6
Add new PNG post processing options.
2021-05-02 20:38:30 +02:00
Jeroen van Rijn
0a81fcc2af
Merge pull request #937 from Kelimion/core_time
...
datetime_to_time's ok should default to true.
2021-05-02 13:24:33 +02:00
Jeroen van Rijn
2451014b6e
datetime_to_time's ok should default to true.
2021-05-02 13:23:57 +02:00
gingerBill
348d25c43a
Fix parsing error for for
2021-05-02 00:11:36 +01:00
gingerBill
9854dbe889
Remove unused import
2021-05-01 23:14:14 +01:00
gingerBill
cf0bf1a7cb
Add testing.fail_now
2021-05-01 23:06:14 +01:00
gingerBill
364e6c9573
Move comment
2021-05-01 22:58:13 +01:00
gingerBill
52d38ae42b
Make the core:testing runner on windows run in a separate thread to handle crashes in more safe manner
2021-05-01 22:54:27 +01:00
Jeroen van Rijn
2dbdff07c5
Merge pull request #935 from Kelimion/zlib_level_0
...
ZLIB level 0: LEN/NLEN = i16.
2021-05-01 21:57:36 +02:00
Jeroen van Rijn
2ad8f99790
ZLIB level 0: LEN/NLEN = i16.
2021-05-01 21:56:45 +02:00
Jeroen van Rijn
0a0ba95e85
Merge pull request #934 from Kelimion/paeth
...
Fix Paeth for bit depth < 8.
2021-05-01 20:39:40 +02:00
Jeroen van Rijn
433d742183
Fix Paeth for bit depth < 8.
2021-05-01 20:39:00 +02:00
gingerBill
b845db1618
Add prototypes for intrinsics.fixed_point_*
dev-2021-05
2021-05-01 18:26:51 +01:00
gingerBill
ced7700cdb
Add extra check for #no_bounds_check etc being followed by a newline or empty statement
2021-05-01 17:59:30 +01:00
gingerBill
406d2ab6ba
Simplify/Fix the state_flag behaviour for code generation
2021-05-01 17:42:59 +01:00
gingerBill
327116b84b
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-05-01 17:30:27 +01:00
gingerBill
fd56b48825
Add ODIN_ROOT information
2021-05-01 17:30:22 +01:00
Jeroen van Rijn
1ef9b094b6
Merge pull request #932 from Kelimion/png_blend_test
...
PNG: Fix tRNS handling.
2021-05-01 18:28:23 +02:00
Jeroen van Rijn
0659a11a1a
PNG: Fix tRNS handling.
2021-05-01 18:24:31 +02:00
gingerBill
956b59d48c
Update old bin/README.md
2021-05-01 16:27:11 +01:00
gingerBill
97b537f800
Update intrinsics.odin for documentation
2021-05-01 16:23:50 +01:00
Jeroen van Rijn
ae907bf724
Merge pull request #931 from Kelimion/png_blend_test
...
Fix a few more cases in which bKGD wasn't properly applied.
2021-05-01 16:05:48 +02:00
Jeroen van Rijn
db1ef078ff
Fix a few more cases in which bKGD wasn't properly applied.
2021-05-01 16:05:13 +02:00
Jeroen van Rijn
c2603297ee
Merge pull request #928 from Kelimion/png_blend_test
...
PNG: Fix test for when premultiplication is needed.
2021-05-01 13:25:49 +02:00
Jeroen van Rijn
a02bcd3bfd
PNG: Fix test for when premultiplication is needed.
2021-05-01 13:16:47 +02:00
Mikkel Hjortshøj
0e972296a4
Change non-target indentation in Makefile to spaces to fix make error
2021-04-30 22:50:14 +02:00
Mikkel Hjortshøj
5ec82623ab
Remove downloading the LLVM binaries in nightly.yml
2021-04-30 22:27:09 +02:00
Mikkel Hjortshøj
47ff50a92d
Remove downloading the LLVM binaries in ci.yml
2021-04-30 22:26:15 +02:00
Mikkel Hjortshøj
a1558b3398
Update nightly.yml
2021-04-30 22:19:10 +02:00
gingerBill
5f617c56e1
Minor stylistic code changes to compress and image packages
2021-04-30 10:58:29 +01:00
Jeroen van Rijn
7ef30355cb
Merge pull request #924 from Kelimion/core_compress
...
Add `compress` and `image` to core.
2021-04-30 11:33:41 +02:00
Jeroen van Rijn
06f1eaa153
Use regular allocator from png+gzip's load_from_file.
...
I would've used `os.stream_from_handle`, but:
- Parts of it seem to be implemented for Windows only at the moment.
- PNG's `peek_data` using that stream didn't manage to rewind and thus tried to parse the data after the header as the header.
Two things must happen:
- The `os.stream_from_handle` implementation needs to be fixed.
- PNG and GZIP's parsers need to be able to handle streams that can't rewind or seek (backward).
Those fixes are on my TODO list but are exceed the scope of this patch.
2021-04-30 09:35:43 +02:00
Jeroen van Rijn
58e023e0cf
Add compress and image to core.
2021-04-30 00:21:52 +02:00
gingerBill
222bab501c
Disallow unnamed polymorphic records
2021-04-29 11:00:14 +01:00
gingerBill
bee637aef1
Update Makefile for Linux
2021-04-28 16:23:42 +01:00
gingerBill
d5844dfd2a
Update llvm-config checking on Linux
2021-04-28 16:07:46 +01:00
gingerBill
3751322521
Add -no-pie flag to linker on Linux
2021-04-28 15:36:29 +01:00
gingerBill
71ac145f49
Remove dead code related to old backend
2021-04-28 15:28:14 +01:00
gingerBill
e50ef33c2a
Fix #921
2021-04-28 12:34:16 +01:00
gingerBill
3061dd2497
Update build.bat to use wmic os get LocalDateTime /value instead of %DATE% which is not consistent across computers
2021-04-28 11:56:47 +01:00
gingerBill
002184cd49
Merge pull request #920 from rasa-silva/patch-1
...
Fix Makefile for OSX
2021-04-28 11:20:47 +01:00
Ricardo Silva
02da4d61ae
Fix Makefile for OSX
2021-04-28 11:15:05 +01:00