Zachary Pierson
|
5de3b07e2b
|
Made os_osx.odin use the new-style runtime.args__ and added read_directory for macOS
|
2018-07-02 02:50:08 -05:00 |
|
Zachary Pierson
|
4d7fb3e8d6
|
Changed string_has_extension to string_ends_with.
Fixed macOS target triple.
|
2017-11-21 16:16:53 -06:00 |
|
Zachary Pierson
|
6d880bc3bb
|
Added static linking for macOS. Also fixed the build.sh. Thanks, vass :/
|
2017-11-10 16:11:55 -06:00 |
|
Zachary Pierson
|
6b33b254e9
|
Merged from upstream, fixed 'args' name colission
|
2017-04-06 18:14:42 -05:00 |
|
Zachary Pierson
|
c0019cc305
|
Merge https://github.com/gingerBill/Odin
|
2017-04-06 17:50:23 -05:00 |
|
Zachary Pierson
|
63345cd0d8
|
Bridged a bugfix from os_windows to other os's.
|
2017-04-04 18:51:36 -05:00 |
|
Zachary Pierson
|
e41d6261c2
|
Merge https://github.com/gingerBill/Odin
|
2017-04-04 18:46:05 -05:00 |
|
Zachary Pierson
|
f952c7c747
|
Merge https://github.com/gingerBill/Odin
|
2017-04-03 00:08:00 -05:00 |
|
Zachary Pierson
|
642256f9ba
|
I accidentally left debug stuff (like abs paths) in! Whoops!
|
2017-04-02 18:46:31 -05:00 |
|
Zachary Pierson
|
c9c82da1f3
|
It's terrible, but I added _some_ form of launch args support for Linux/macOS
|
2017-04-02 18:42:58 -05:00 |
|
Zachary Pierson
|
ce0d874efd
|
Merge https://github.com/gingerBill/Odin
|
2017-04-02 03:29:51 -05:00 |
|
Zachary Pierson
|
24b33374b7
|
Reverted the main proc changed, after a chat with Bill about better solutions.
|
2017-03-31 05:31:45 -05:00 |
|
Zachary Pierson
|
3315dc7f25
|
Literally just a commit to revert a previous one.
|
2017-03-31 05:30:09 -05:00 |
|
Zachary Pierson
|
77b3295de5
|
Added checking for params and return values in main
|
2017-03-30 01:21:05 -05:00 |
|
Zachary Pierson
|
1349aa6f2c
|
Merge https://github.com/gingerBill/Odin, cleaned up a bit, fixed the object file version message on macOS
|
2017-03-30 00:26:46 -05:00 |
|
Zachary Pierson
|
7a28827602
|
Forgot to include stdio.h since Win32 won't resolve it otherwise.
|
2017-03-21 19:30:54 -05:00 |
|
Zachary Pierson
|
c61015b1fe
|
Updated shell.bat for Visual Studio 2017
|
2017-03-21 19:17:41 -05:00 |
|
Zac Pierson
|
e935f8e2ff
|
Fixed os_linux and os_x read_entire_file function not null-terminating data.
|
2017-03-21 16:00:11 -05:00 |
|
Zac Pierson
|
690c682847
|
Remember kids, always test your code. There was a variable name colission in dlsym D:
|
2017-03-21 14:57:09 -05:00 |
|
Zac Pierson
|
f541dd40db
|
Fixed some memory leaks and made os_* use strings.odin
|
2017-03-21 14:54:29 -05:00 |
|
Zac Pierson
|
c7bb861d3c
|
Merge https://github.com/gingerBill/Odin
"Fixed" a proc overload bug. Still needs a *real* fix.
|
2017-03-21 14:16:42 -05:00 |
|
Zac Pierson
|
d890731716
|
Merge https://github.com/gingerBill/Odin
|
2017-03-02 15:41:19 -06:00 |
|
Zachary Pierson
|
231ea8b026
|
Merge https://github.com/gingerBill/Odin
|
2017-02-27 23:25:47 -06:00 |
|
Zachary Pierson
|
5bbdb3a3a3
|
Merge https://github.com/gingerBill/Odin
|
2017-02-25 02:07:58 -06:00 |
|
Zachary Pierson
|
27aa07307b
|
Merge https://github.com/gingerBill/Odin
|
2017-02-24 15:53:56 -06:00 |
|
Zac Pierson
|
20b9f1ff59
|
Added getenv to the *nix stdlib.
|
2017-02-23 15:29:41 -06:00 |
|
Zac Pierson
|
561c583b3f
|
Merge https://github.com/gingerBill/Odin
|
2017-02-22 10:57:30 -06:00 |
|
Zac Pierson
|
8d5896ab7e
|
Merge https://github.com/gingerBill/Odin
|
2017-02-20 10:14:52 -06:00 |
|
Zac Pierson
|
802b1a70f8
|
Fixed an error in function naming in os_linux
|
2017-02-15 11:20:11 -06:00 |
|
Zac Pierson
|
aaa4dd5c36
|
Merge https://github.com/gingerBill/odin
|
2017-02-15 10:21:38 -06:00 |
|
Zachary Pierson
|
9d19ee7e4c
|
Changed standard libraries for MacOS and Linux to be closer to os_windows.
|
2017-02-12 18:25:58 -06:00 |
|
Zachary Pierson
|
8df3175f10
|
Updated Linux standard library to convert c strs
|
2017-02-12 17:22:27 -06:00 |
|
Zachary Pierson
|
ebb10e5597
|
One of the warning flags was misspelled. Oops!
|
2017-02-12 16:09:21 -06:00 |
|
Zachary Pierson
|
047f883078
|
Updated warning removal list, and made system_exec_command_line_app in main.c return the exit code.
|
2017-02-12 16:08:09 -06:00 |
|
Zachary Pierson
|
320c22e08a
|
Merge https://github.com/gingerBill/Odin
|
2017-02-12 16:04:13 -06:00 |
|
Zachary Pierson
|
a9398bf30f
|
Tested MacOS. If a commit doesn't follow in 15 minutes, Linux works too!
|
2017-02-12 00:21:25 -06:00 |
|
Zachary Pierson
|
7829421085
|
Fixed Windows (updated gb.h) | Need to test on MacOS and Linux now!
|
2017-02-11 23:52:56 -06:00 |
|
Zachary Pierson
|
c50aabd916
|
Merging from gingerBill's master
|
2017-02-11 23:35:07 -06:00 |
|
Zachary Pierson
|
3f3122bccc
|
Temporary fix for an Odin bug.
|
2017-02-11 18:54:54 -06:00 |
|
Zachary Pierson
|
fc1a006de1
|
Added support for reading files on MacOS and Linux
|
2017-02-11 17:24:47 -06:00 |
|
Zachary Pierson
|
754b368140
|
Added dynamic library loading to Linux and MacOS's standard libraries.
|
2017-02-11 15:09:53 -06:00 |
|
Zachary Pierson
|
a49e888ce6
|
Merge https://github.com/gingerBill/Odin
|
2017-02-11 13:48:16 -06:00 |
|
Zac Pierson
|
99c663d9f3
|
Questioning whether MacOS libraries should be .dylib or .so
|
2017-02-11 01:10:03 -06:00 |
|
Zachary Pierson
|
afac95e092
|
Oh, I left math.odin open when I merged gingerBill's changes. Oops. Updated to his version.
|
2017-02-11 00:33:12 -06:00 |
|
Zachary Pierson
|
05486f9fa3
|
I'm not sure what I changed here, to be honest. I've ctrl-z'd everything, but git's still complaining.
|
2017-02-11 00:30:04 -06:00 |
|
Zachary Pierson
|
cad46ae51c
|
Merge https://github.com/gingerBill/Odin
|
2017-02-10 23:41:23 -06:00 |
|
Zachary Pierson
|
3424b2badd
|
Added ability to use -framework on MacOS
|
2017-02-10 23:33:30 -06:00 |
|
Zachary Pierson
|
3445a28c4a
|
Code quality upkeep. Fixed a broken thread finding assembly instruction in gb.h
|
2017-02-09 01:40:45 -06:00 |
|
Zac Pierson
|
7f6b83d50c
|
Fixed gb.h - the file handle for /proc/cpuinfo is needed to read chars.
|
2017-02-08 11:59:54 -06:00 |
|
Zac Pierson
|
72d4bfb32a
|
Merge https://github.com/gingerBill/Odin
|
2017-02-08 11:50:33 -06:00 |
|
Zachary Pierson
|
37f7630a9e
|
Updated README.md to reflect Linux's dependancy on clang for now.
|
2017-02-07 23:33:36 -06:00 |
|
Zachary Pierson
|
73c5c5d5d3
|
Linker on MacOS and GNU/Linux now includes foreign_system_libraries. Fixed foreign_system_library not respecting 'when' condition.
|
2017-02-07 23:21:52 -06:00 |
|
Zac Pierson
|
584869730a
|
Linux can build now! Woo!
|
2017-02-07 15:07:20 -06:00 |
|
Zachary Pierson
|
90ab448bca
|
Modified the test program to see where the compiler inserted the code.
|
2017-02-07 12:26:15 -06:00 |
|
Zachary Pierson
|
8becbdc1b2
|
Added a very basic Linux standard library shamelessly stolen from the MacOS one.
Made Linux (almost) work. The generated binaries segfault, but it's so close I can almost taste it.
|
2017-02-07 00:28:21 -06:00 |
|
Zachary Pierson
|
eeeb90c441
|
MacOS is able to run Hello World!
|
2017-02-06 21:47:58 -06:00 |
|
Zac Pierson
|
6efd400c98
|
Updated build script in an attempt to track down a segfault. It's not helping, though.
|
2017-02-06 15:45:51 -06:00 |
|
Zac Pierson
|
5cfa4ba580
|
Added Linux functions throughout the code, but it segfaults.
|
2017-02-06 12:26:41 -06:00 |
|