summary refs log tree commit diff stats
path: root/lib/system.nim
Commit message (Collapse)AuthorAgeFilesLines
* Repr v2 progress (#13268)cooldome2020-01-281-5/+2
| | | | | | | | | | * progress on repr_v2 * repr progress * add ref objects with distrinct * fix failing tests
* [backport] fix #11440, add docs to isNil for seq types needing nilseq ↵D-Nice2020-01-231-0/+12
| | | | (#13234) [ci skip]
* style fix: change 'JS' to 'js' to make it consistent (#13168)Miran2020-01-161-28/+28
|
* System cleanup, part 2 (#13155)Miran2020-01-151-1649/+29
| | | | | | | | * create basic_types, arithmetics, exceptions, comparisons * create setops.nim * create memalloc.nim * create gc_interface.nim * create iterators_1.nim
* Added 'ansic' os support for minimal (embedded) targets (#13088)Ico Doornekamp2020-01-151-2/+7
| | | | | | | | * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application.
* more arc features (#13098)Andreas Rumpf2020-01-101-12/+19
| | | | | * config update * ARC now supports 'repr' and 'new' with finalizers is supported
* System cleanup, part 1 (#13069)Miran2020-01-101-496/+512
| | | | | | * system.nim: mark what every .pop does * system.nim: un-nest when statements
* --exception:goto switch for deterministic exception handling (#12977)Andreas Rumpf2020-01-011-5/+7
| | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
* ARC: default to a shared heap with --threads:onAraq2019-12-241-5/+5
|
* ported channels to ARCAraq2019-12-241-1/+1
|
* lenVarargs: number of varargs elements (#12907)Timothee Cour2019-12-231-0/+5
|
* update documentation for `closureScope` and `capture` (#12886)Judd2019-12-211-1/+6
|
* system.reset is no longer magic (#12937)Clyybber2019-12-191-11/+9
| | | It has now means setting x to default for new and old runtime alike
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-171-3/+5
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* ARC related bugfixes and refactorings (#12781)Andreas Rumpf2019-12-051-4/+9
|
* fix db_mysql getRow() when column is null error raised (#12806) [backport]itsumura-h2019-12-051-3/+4
| | | | | * fix db_mysql getRow() * added if y == nil [backport]
* #12103 - CI for FreeBSD (#12179)Euan2019-11-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * Ref #12103 - adds FreeBSD CI * Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length * Show last commit in setup task. * Remove .git from repository URL * Don't include noisy details showing last commit. * Add FreeBSD build status badge * Fix #12182 - disable tconsole on FreeBSD * Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol. * Install boehm-gc-threaded * Use libgc-threaded.so on FreeBSD rather than libgc.so. * Simplify build failure handling. Update alt text for CI badge. * Disable test on FreeBSD * Simplify build config - use GNU make to build csources - set PATH variable using the environment key - remove modification of config to set CC as this is already set * Install git which seems to be missing from current freebsd images * Revert change to how path is set * Add a comment explaining why the length is truncated * Fix tconsole.
* make addQuoted work on nimscript (#12717) [backport]Jasper Jenkins2019-11-281-5/+6
|
* ARC: ported the GC tests over to --gc:arcAraq2019-11-261-12/+13
|
* gc:arc: support GC_ref/unref for ref TAraq2019-11-131-1/+1
|
* fix compilation warning (#12618)cooldome2019-11-081-5/+5
| | | | | | * fix compilation warning * comments incorporated
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-90/+0
|
* NimPatch of devel version should be an odd number because of the earlier hacksnarimiran2019-11-031-1/+1
|
* [backport] Add docs to better distinguish among getProjectPath, ↵Kaushal Modi2019-10-311-1/+13
| | | | | getCurrentDir and currentSourcePath (#12565) Fixes https://github.com/nim-lang/Nim/issues/10477.
* introduce csize_t instead of fixing csize (#12497)Arne Döring2019-10-311-3/+5
|
* --gc:destructors now means Nim uses pure refcounting (#12557)Andreas Rumpf2019-10-301-8/+10
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-4/+4
|
* Extent json.to testing to VM, add workrounds for VM bugs. (#12493)Arne Döring2019-10-281-2/+8
| | | fixes #12479
* fixes #12502Andreas Rumpf2019-10-271-2/+2
|
* development version should be 1.1.0 so that version checking can work properlyAndreas Rumpf2019-10-271-2/+2
|
* minor improvementsAndreas Rumpf2019-10-271-7/+7
|
* Fix word wrappingJjp1372019-10-221-13/+16
|
* Fix many broken linksJjp1372019-10-221-10/+10
| | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol.
* first implementation of the new --seqsv2 switchAraq2019-10-201-10/+10
|
* Revert "Fixes #12187 (#12321)" (#12447)Andreas Rumpf2019-10-181-2/+2
| | | This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb.
* ungeneric unsigned ops (#12230)Jasper Jenkins2019-10-111-78/+115
| | | | | | | | | | * ungenericise unsigned ops, remove nimNewShiftOps * fix/remove tests * update t6448 * fix line info * disable on 32bit * fix different line info * add changelog entry
* Fixes #12187 (#12321)Clyybber2019-10-081-2/+2
| | | | | | * Fixes #12187 * Point to fork of compactdict Since the original repo is now archived / read-only
* use system.move instead of system.shallowCopy if the GC mode requires itAndreas Rumpf2019-10-041-1/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-8/+8
|
* devel version is 1.0.99 [ci skip]narimiran2019-09-251-1/+1
|
* remove nimnomagic64 (#12243)Jasper Jenkins2019-09-241-38/+12
|
* version 1.0narimiran2019-09-231-3/+3
|
* gc:destructors progressAndreas Rumpf2019-09-161-2/+2
|
* Fix #12133 - use libgc.so.4.0 for OpenBSD (#12134)Euan2019-09-061-0/+2
|
* Merge branch 'devel' into uint-range-checksAndreas Rumpf2019-09-021-9/+13
|\
| * fix min/max for float numbers (#12068)Arne Döring2019-09-021-9/+13
| |
* | Merge branch 'devel' into uint-range-checksAraq2019-09-021-40/+52
|\|
| * gc:destructors progressAraq2019-09-011-1/+1
| |
| * hashes: implement murmur3 (#12022)Miran2019-09-011-0/+10
| | | | | | | | | | | | | | | | * hashes: implement murmur3 * refactoring; there is only one murmurHash and it works at compile-time via VM hooks * fixes JS tests * makes toOpenArrayByte work with C++ * make it bootstrap in C++ mode for 0.20
| * Remove ENDB (#12095)Clyybber2019-08-311-7/+0
| |
#n1053'>1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484