kstrb
1cd89b2da3
Linux: allow 'foreign import' of object files
2022-03-05 17:28:34 +01:00
gingerBill
07062324d7
Merge pull request #1575 from jockus/fix_relative_slice_len
...
Add relative slice to type checks for built in len
2022-03-04 11:48:29 +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
fad851d80c
check for semi-colon before EOF too
2022-03-03 15:57:51 +00:00
Sébastien Marie
499c657ffa
rename architecture from 386 to i386
2022-03-03 15:28:18 +00:00
Joakim Hentula
a5dde78f08
Add relative slice to type checks for built in len
2022-03-02 16:44:33 +00:00
gingerBill
49fecbdc5e
Improve error message when there is "no field" found for a large anonymous struct
2022-03-01 14:49:05 +00:00
gingerBill
d4ccb69ccc
Check if directory exists with the same target executable name when building a directory
2022-02-28 21:49:19 +00:00
Sébastien Marie
f76f70c7cf
openbsd: defaults to PIE executable
...
OpenBSD uses PIE code by default to allow the system to load the binary at a random location.
don't pass -no-pie to preserve this behaviour, and build objects with -fPIC (LLVMRelocPIC).
2022-02-28 15:24:22 +00:00
gingerBill
dd9843aa21
Merge pull request #1557 from semarie/openbsd-support
...
initial OpenBSD support
2022-02-28 14:23:56 +00:00
gingerBill
7681c43b14
Show error message when something like this is done test: proc() : {}
2022-02-28 12:12:04 +00:00
gingerBill
c223fc1766
Correct debug information for local variables
2022-02-28 12:06:35 +00:00
Sébastien Marie
8e270d3a99
openbsd: poor man implementation for getting executable path
...
it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases.
2022-02-26 08:19:41 +00:00
Sébastien Marie
ae5cb09041
internal_odin_root_dir: readlink could fail
2022-02-25 17:59:57 +00:00
Sébastien Marie
0a90994403
provide a simple gb_file_copy() implementation
...
permit to not require sendfile(2) syscall for gb_file_copy()
2022-02-25 12:32:34 +00:00
Sébastien Marie
00c138ce9f
add RAM information inside report
2022-02-25 09:28:04 +00:00
Sébastien Marie
5676c9e7eb
initial OpenBSD support
2022-02-25 08:49:25 +00:00
gingerBill
c3c88633a5
Merge pull request #1545 from AquaGeneral/master
...
Added options to help, and improved wording
2022-02-24 10:15:13 +00:00
Jesse Stiller
384fb76a1b
Added options to help, and improved wording
2022-02-24 12:59:06 +10:00
gingerBill
e81ed9a960
Add "Did you mean" to Objective-C fields
2022-02-22 23:19:49 +00:00
gingerBill
83f7a887b7
Move comment
2022-02-22 23:03:04 +00:00
gingerBill
ad2f1ac24e
Improve union_tag_size
2022-02-22 23:01:28 +00:00
gingerBill
62d232d798
Correct ExactValue_Pointer
2022-02-22 22:59:00 +00:00
gingerBill
8906a0120c
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-22 22:53:19 +00:00
gingerBill
cad753e398
Simplify parse_binary_expr
2022-02-22 22:53:13 +00:00
Jeroen van Rijn
2b5bc1d558
[report] Fix odin report crash if /usr/lib/os-release doesn't exist.
2022-02-22 17:08:57 +01:00
gingerBill
ba61d911da
Remove dead code
2022-02-20 13:26:27 +00:00
gingerBill
71df46456a
Minimize memory usage by having an arena per thread rather than an arena per file
2022-02-18 21:30:25 +00:00
gingerBill
cd89d8a3c4
Add better error message for compiler when OOM happens
2022-02-18 16:24:08 +00:00
gingerBill
5f8137025d
Use try_to_add_package_dependency
2022-02-18 16:12:21 +00:00
gingerBill
1843d52217
Fix typo
2022-02-18 16:07:06 +00:00
gingerBill
454c92dc64
Allow objc intrinsics within odin check and odin docs but disallow for odin build
2022-02-18 16:05:26 +00:00
gingerBill
197b832992
Add vendor:directx and vendor:darwin packages for documentation generation
2022-02-18 15:56:53 +00:00
gingerBill
ffc45e8cc2
Add intrinsics.constant_utf16_cstring
2022-02-17 20:48:37 +00:00
gingerBill
c76bdced55
Merge branch 'master' into directx-packages
2022-02-16 16:05:46 +00:00
gingerBill
459ea5f4f6
Fix typo
2022-02-16 16:05:28 +00:00
gingerBill
8e8a075a22
Merge branch 'master' into directx-packages
2022-02-16 16:04:20 +00:00
gingerBill
db6bd9b358
Allow sysv and win64 calling conventions to be used on any platform on amd64
2022-02-16 16:03:49 +00:00
gingerBill
42ad54c28e
Improve metadata for context
2022-02-16 15:18:22 +00:00
gingerBill
e011d812ca
Improve debug information for direct procedure parmaters
2022-02-16 14:39:08 +00:00
gingerBill
0738822dda
Change how parameter and variables are given debug values
2022-02-16 13:25:31 +00:00
gingerBill
2213722776
Change debug declare to value
2022-02-16 12:37:22 +00:00
gingerBill
65dedbb1ca
Add #subtype struct field prefix, required to have a COM interface hierarchy
2022-02-16 11:54:15 +00:00
gingerBill
d45ff0694d
Merge pull request #1438 from odin-lang/odin-global-constants-as-enums
...
Odin global constants as enums
2022-02-15 16:18:07 +00:00
gingerBill
9e98494fff
Merge pull request #1482 from odin-lang/objc-intrinsics
...
Improve support Objective-C code through intrinsics and Metal API
2022-02-15 15:48:56 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
gingerBill
0e5928ff39
Correct pseudo selector code generation
2022-02-15 15:16:30 +00:00
Phil H
e6e04fc6c8
Add 'odin run -help' info for specifying args
2022-02-14 22:15:55 -08:00
gingerBill
32c7e81745
Use objc_allocateClassPair for intrinsics.objc_register_class
2022-02-14 18:32:10 +00:00
gingerBill
03aec70287
Change objc_class_name to objc_name with objc_is_class_method
2022-02-14 17:31:55 +00:00