summary refs log tree commit diff stats
path: root/lib/system/ansi_c.nim
Commit message (Collapse)AuthorAgeFilesLines
* abort is noreturn (#12061)Jacek Sieka2019-08-271-1/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-2/+2
| | | | --styleCheck:error
* [other] preparations for --styleCheck:error for the Nim compiler (#11478)Andreas Rumpf2019-06-121-4/+2
|
* make -d:nimQuirky work with develAndreas Rumpf2019-04-201-1/+1
|
* make it compile with older nim versionsAraq2019-04-081-0/+2
|
* respect -d:useMalloc everywhere; turn ansi_c and memory into proper Nim modulesAraq2019-04-081-55/+55
|
* make DLLs tests green againAndreas Rumpf2019-03-151-1/+1
|
* --newruntime: progressAndreas Rumpf2019-03-141-0/+7
|
* further system.nim cleanupsAndreas Rumpf2019-02-061-5/+5
|
* system refactorings (#10559)Andreas Rumpf2019-02-061-8/+13
| | | | | | | | * move IO subsystem into its own module; refs #10385 * make standalone test compile again * make C++ examples compile again * make more tests green * make sysAssert and gcAssert work again
* make tests green with a global config.nims fileAraq2018-12-171-1/+1
|
* deprecated ospaths (#9665)Andreas Rumpf2018-11-091-1/+2
|
* Genode fixes (#8501)Emery Hemingway2018-08-161-1/+1
| | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX
* Haiku support for Nim (#8542)alaviss2018-08-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* Added c_abort to ansi_c (#8449)Yuriy Glukhov2018-07-301-0/+3
|
* Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-0/+2
|
* Nintendo switch support (#8069)Joey2018-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* fixes to allow the usage of clang on windows with the msvc abi and ms ↵Charlie Barto2017-10-091-2/+6
| | | | headers (#6442)
* Linux abi take 3 (#5692)Jacek Sieka2017-04-121-2/+8
| | | | | * avoid generating object fields for imported types * fix some abi/type issues for linux_amd64
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-171-1/+2
| | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
* ansi_c.nim: avoid deprecated 'expr' typeAraq2017-01-201-1/+1
|
* Enhance values SIGNALS on more OS.cheatfate2016-06-161-1/+2
| | | | Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
* prefer consts to importing #defines from headersJacek Sieka2016-06-061-25/+20
| | | | | to be completed - better would be to have a libc wrapper that deals with all pesky C ABI details
* remove system/ansi_c include from osJacek Sieka2016-06-051-26/+0
|
* fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-051-63/+41
| | | | | also fixes some instances of using C library functions when there are nim alternatives available
* remove strange file types in ansi_cJacek Sieka2016-06-011-30/+17
|
* added 'sig' feature; removed tfShared support in the compilerAndreas Rumpf2016-02-281-2/+2
|
* further progress on --gc:v2Andreas Rumpf2016-02-171-6/+12
|
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-11/+11
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #1744Araq2014-12-171-4/+5
|
* Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreakAraq2014-10-041-4/+17
|\ | | | | | | | | | | | | Conflicts: lib/impure/db_postgres.nim lib/pure/os.nim lib/wrappers/postgres.nim
| * Improve setjmp()/longjmp() performance.Reimer Behrends2014-09-251-4/+17
| | | | | | | | | | | | | | | | | | | | | | Exception handling for the C backend used setjmp()/longjmp() unconditionally. However, on POSIX systems, these functions save and restore the signal mask, adding considerable overhead to exception handling, even where no exceptions are involved. The compiler and library now try to use either _setjmp()/_longjmp() or sigsetjmp()/siglongjmp() where possible, marked by the defines "nimRawSetjmp" and "nimSigSetjmp", respectively. The define "nimStdSetjmp" can be used to revert to setjmp()/longjmp() instead.
* | the big renamefest: first stepsAraq2014-08-221-2/+2
|/
* distinguish between 'defined' and 'declared'Araq2014-08-111-2/+2
|
* parseBiggestFloat is now builtinAraq2014-07-161-4/+1
|
* More human readable `$`(float)katlogic2014-06-151-1/+4
| | | | | The output matches that of Python (eg 1e100, not 1.0e100), but also reflects locale (assuming it was set using setlocale() before).
* Fixes #1168Simon Hafner2014-05-031-0/+3
|
* case consistency part 4Araq2013-12-271-7/+7
|
* bootstraps with new template symbol binding rulesAraq2013-12-241-11/+11
|
* NoFakeVars progressAraq2013-12-241-3/+12
|
* vm: FFI improvementsAraq2013-12-231-15/+31
|
* fixes #569; C++ codegen works againAraq2013-08-311-1/+1
|
* fixes #532Araq2013-08-011-1/+1
|
* fixes --os:standaloneAraq2013-06-301-5/+6
|
* --os:standalone works againAraq2013-06-301-40/+56
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* incompleteStruct pragma for C's FILEAraq2013-01-271-3/+2
|
* fixes #293Araq2013-01-081-1/+1
|
* fixes #250Araq2012-11-191-7/+9
|
* bugfix: 'defined/compiles' open an implicit mixin scope in genericsAraq2012-09-181-0/+2
|
k K. Agaram <vc@akkartik.com> 2014-11-26 08:47:04 -0800 330' href='/akkartik/mu/commit/Readme.md?h=main&id=797a46d51c80554d05edb3f64211066b0c940972'>797a46d5 ^
0ca35d02 ^
8f9ec2fb ^
d4b4d018 ^
797a46d5 ^
d4b4d018 ^
797a46d5 ^
d4b4d018 ^
797a46d5 ^



d4b4d018 ^


797a46d5 ^



d4b4d018 ^



797a46d5 ^




f00fc595 ^
12816015 ^

f00fc595 ^
12816015 ^

797a46d5 ^

002cbf13 ^

7efed68b ^
4f9f75dd ^
bc40cc49 ^
002cbf13 ^



711dd36f ^
f192d655 ^
7efed68b ^
4f9f75dd ^
f192d655 ^












5860b661 ^

bc40cc49 ^
f192d655 ^
f00fc595 ^
f192d655 ^




f00fc595 ^
f192d655 ^



5860b661 ^


f192d655 ^

2c9aa92f ^

7efed68b ^
4f9f75dd ^
14b33e59 ^
bc40cc49 ^
14b33e59 ^
797a46d5 ^
92830e7f ^
14b33e59 ^
797a46d5 ^
f00fc595 ^
14b33e59 ^



f00fc595 ^
14b33e59 ^




6bf34cf3 ^
14b33e59 ^


7efed68b ^
14b33e59 ^

7efed68b ^

14b33e59 ^




7efed68b ^
14b33e59 ^
7efed68b ^
14b33e59 ^

7efed68b ^
14b33e59 ^





7efed68b ^
14b33e59 ^
7efed68b ^

14b33e59 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367