gingerBill
|
3e7e779abf
|
Replace core:* to base:* where appropriate
|
2024-01-28 22:18:51 +00:00 |
|
Dragos Popescu
|
90d1f9ab27
|
Removed return value of assertf. assertf now correctly responds to -disable-assert. Added log.assert and log.assertf. All asserts now do the @cold trick, first added to builtin.assert
|
2024-01-23 20:56:13 +02:00 |
|
Colin Davidson
|
d0bb1fb844
|
bring log allocator up to date
|
2024-01-17 13:11:10 -08:00 |
|
Laytan Laats
|
46250168d6
|
use stack buffer for log allocator to avoid logging it's own allocations
|
2023-12-19 23:26:23 +01:00 |
|
Laytan Laats
|
58ff3dd1ed
|
log allocator: add option to switch between bytes and human format
|
2023-12-16 01:27:38 +01:00 |
|
Laytan Laats
|
cf8c9a6be4
|
log allocator: fix the formatting for query info/features and errors
|
2023-12-16 00:55:59 +01:00 |
|
Laytan Laats
|
ea709451e8
|
log allocator: use %m to format size
|
2023-12-15 23:43:35 +01:00 |
|
Colin Davidson
|
bfbeb23f54
|
add resize non zeroed in more places
|
2023-12-04 03:09:13 -08:00 |
|
Jeroen van Rijn
|
63b6e8216c
|
Fix errant tab in alignment.
|
2023-11-22 02:57:43 +01:00 |
|
gingerBill
|
9b54b99bf6
|
Use positional and named arguments within the core library
|
2023-06-21 01:17:05 +01:00 |
|
gingerBill
|
7f601c9535
|
Add Allocator_Mode.Alloc_Non_Zerored
|
2022-09-22 12:12:57 +01: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
|
cb0a59bb2c
|
Eliminate use of LLVMGetElementType for pointers
|
2022-08-09 15:36:18 +01:00 |
|
gingerBill
|
838554460b
|
Add basic "lock" around Log_Allocator to minimize errors with allocation logging loops
|
2022-08-08 15:25:11 +01:00 |
|
gingerBill
|
659c3c528d
|
Update delete to pass size in bytes to free when possible
|
2022-08-08 15:16:18 +01:00 |
|
gingerBill
|
4633591918
|
Remove unnecessary pointer
|
2022-08-08 14:28:36 +01:00 |
|
gingerBill
|
4912ecc3ea
|
Add log.Log_Allocator
|
2022-08-08 11:57:51 +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 |
|
André
|
3323c2730f
|
memleak fix on destroy_multi_logger()
data.loggers were never deleted
|
2021-10-23 12:24:53 +02: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
|
a60d22fefd
|
Make trailing comma usage consistent
|
2021-03-13 21:18:07 +00:00 |
|
gingerBill
|
3bcccf88d5
|
vet all core packages
|
2021-01-09 23:43:34 +00:00 |
|
gingerBill
|
8806283cf7
|
Improve location information for log.panic*
|
2020-10-14 15:59:45 +01:00 |
|
gingerBill
|
6eeb12a986
|
Improve default temp_allocator; make nil loggers do nothing; improve mem.Scratch_Allocator behaviour
|
2020-10-02 16:06:55 +01:00 |
|
gingerBill
|
fc4fdd588e
|
Remove usage of do in core library
|
2020-09-23 17:17:14 +01:00 |
|
gingerBill
|
674aeffee4
|
Fix typo
|
2020-08-12 19:15:47 +01:00 |
|
gingerBill
|
546759bdef
|
Fix multi_logger_proc to check for lowest_level
|
2020-08-12 19:01:25 +01:00 |
|
Oskar Nordquist
|
36cac87387
|
Add .Thread_Id option to log package
|
2020-07-22 17:42:01 +02:00 |
|
jharler
|
f9a6777e3a
|
Added "sep" parameter to logging procs
|
2020-07-13 08:22:41 -04: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
|
01c84b32a6
|
Add log.panic and log.panicf
|
2020-06-19 12:23:06 +01:00 |
|
gingerBill
|
240fc65d4d
|
Add multi_logger.odin; Fix os_windows.odin
|
2020-06-19 11:49:08 +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
|
ab52f8d795
|
Move definition of mem.Allocator and log.Logger to package runtime, to reduce import cycle magic
|
2019-12-31 12:15:19 +00:00 |
|
gingerBill
|
657103c4cf
|
ThreadPool for the parser
|
2019-09-01 20:02:39 +01:00 |
|
gingerBill
|
162c87b1b8
|
Minor code clean-up
|
2019-07-28 18:44:50 +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 |
|
gingerBill
|
4167168c63
|
Fix vetting
|
2018-12-31 16:37:27 +00:00 |
|
Mikkel Hjortshoej
|
a565d842da
|
Copy instead of loop
|
2018-12-08 16:12:20 +01:00 |
|