Commit Graph

39 Commits

Author SHA1 Message Date
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00
Jeroen van Rijn
8ed264680b Remove all core:os imports from JS targets
Fix `local_tz_name` on FreeBSD.
2026-02-09 15:07:27 +01:00
Jeroen van Rijn
47786deddc In the middle of porting core:testing 2026-02-08 12:44:08 +01:00
gingerBill
7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
Feoramund
a9df1b1cde Rename core:encoding/ansi to core:terminal/ansi 2025-05-20 19:28:06 -04:00
Feoramund
df5e64beeb Add terminal color detection to core:log 2025-05-20 19:28:06 -04:00
FourteenBrush
f9dc848926 Pass allocator to implicitly (de)allocating procs in core:log 2024-11-30 23:43:39 +01: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
caef37bc18 orca: implement core:time and core:log 2024-08-23 18:25:10 +02:00
Feoramund
fc4f6b87bb Add core:encoding/ansi package 2024-06-02 14:34:30 -04:00
Feoramund
1875e7c36a Make log.do_*_header argument orders consistent 2024-06-02 14:34:30 -04:00
Feoramund
7d4da6eaa7 Fix trailing space with only .Date log option 2024-06-02 14:34:30 -04:00
Feoramund
8ae375dbff Move log timestamping out to do_time_header proc 2024-06-02 14:34:30 -04:00
Vitalii Kravchenko
bdc4daca54 Make destroy_file_logger take logger instead of logger pointer. 2024-05-27 16:19:44 +01:00
gingerBill
000709b594 Make file_console_logger.odin be ignored on freestanding targets 2024-01-31 22:01:35 +00:00
gingerBill
c041d15569 Merge pull request #1928 from IanLilleyT/logger_extra_space
Removed extra space from file_console_logger
2022-08-11 16:18:46 +01:00
gingerBill
4633591918 Remove unnecessary pointer 2022-08-08 14:28:36 +01:00
Ian Lilley
d354d36a3b removed extra space from file_console_logger 2022-08-03 13:22:12 -04:00
gingerBill
33895b6d92 Convert all uses of *_from_slice to *_from_bytes where appropriate 2022-05-16 01:43:43 +01:00
gingerBill
720884e0f1 Strip even more semicolons if followed by a } or ) on the same line 2021-08-31 23:47:57 +01:00
gingerBill
251da264ed Remove unneeded semicolons from the core library 2021-08-31 22:21:13 +01:00
gingerBill
fc4fdd588e Remove usage of do in core library 2020-09-23 17:17:14 +01:00
Oskar Nordquist
36cac87387 Add .Thread_Id option to log package 2020-07-22 17:42:01 +02:00
Mikkel Hjortshoej
d749f5c704 Fix typo 2020-07-02 16:13:49 +02:00
Mikkel Hjortshoej
83f553cd89 Revert to old format and fix : when no file opt specified 2020-07-02 16:11:41 +02:00
Mikkel Hjortshoej
730f9ee0b3 Fix misplaced line number (was wrongly formatted and before procedure) 2020-07-02 15:31:40 +02:00
gingerBill
2a6130b7e1 Reorder log.do_location_header order 2020-06-19 15:24:42 +01:00
gingerBill
34384cc2f1 Clean up some of the log code 2020-06-19 15:18:23 +01:00
gingerBill
9f596d6f34 Clean up package log code 2020-06-19 11:18:23 +01:00
Mikkel Hjortshoej
a6c8dcdd21 Switch from now removed context.stdout/stderr to os.stdout/stderr 2020-03-28 14:13:47 +01:00
gingerBill
e92fdb4a99 x if cond else y and x when cond else y expressions 2020-03-05 20:34:30 +00:00
Mikkel Hjortshoej
9d5692ae68 Enhance logger interface with 'f' and not 'f' variants, also move level detection out 2020-02-10 01:26:04 +01:00
Mikkel Hjortshoej
0e52c37865 Don't change delimiter as location has changed to be unified no matter the platform 2020-01-08 21:29:46 +01:00
gingerBill
657103c4cf ThreadPool for the parser 2019-09-01 20:02:39 +01:00
gingerBill
68d4bde82f Overrideable stdin, stdout, stderr at the context level 2019-03-30 14:51:42 +00:00
gingerBill
594238a86c Reorganize fmt and strings; Replace fmt.String_Buffer with strings.Builder 2019-01-06 14:41:42 +00:00
Mikkel Hjortshoej
411d1450b0 Add timestamp support using the new core:time 2018-12-08 16:02:33 +01:00
Mikkel Hjortshoej
984fa1c672 remove ident from logger struct 2018-12-08 15:32:53 +01:00
Mikkel Hjortshoej
12c810f85d Add a file-, console- and multi-logger 2018-12-08 15:32:53 +01:00