Commit Graph

4644 Commits

Author SHA1 Message Date
Jacek Sieka
fa86571448 abi check: prefer nim constant to enable, document 2016-11-03 22:30:00 +08:00
Jacek Sieka
be1e3c4e09 add a simple sizeof checker to compare nim & c types 2016-11-03 21:11:39 +08:00
Andreas Rumpf
ee8c1c6f93 Merge pull request #4989 from endragor/empty-async-all
async all() now immediately completes if arg is empty
2016-11-03 10:54:19 +01:00
Ruslan Mustakov
f2bded180f async all() now immediately completes if arg is empty 2016-11-03 10:50:43 +07:00
Dominik Picheta
e784fdee45 Merge pull request #4970 from nigredo-tori/fix-4969
Fix problems with persistent HTTP connections
2016-11-02 18:57:00 +01:00
lihf8515
89d4574445 Update parsecfg.nim
Value includes double quotation marks.
2016-11-02 11:48:11 +08:00
Dmitry Polienko
4753149227 Implement suggestions from @dom96 2016-11-02 09:19:20 +07:00
Vladislav
9bc79b923c added description to fmWrite mode to be more exact 2016-11-01 22:33:09 +02:00
Felix Krause
9d5de8021b Use ISO 8601 format for times.$. Fixed tests.
* `$` now uses format() with explicit time zone.
 * Fixed errors in rendering "z", "zz" and "zzz"
 * Updated tests
2016-11-01 21:14:52 +01:00
Felix Krause
170745eb39 Removed tzname because it's broken
* No mapping between TimeInfo.tzname and TimeInfo.timezone
 * tzname of time.h is not well-defined, may have almost arbitrary
   length, and localization may differ
 * Code used hardcoded "UTC" string
2016-11-01 20:26:50 +01:00
Felix Krause
c1f0b7643c Fixed timezone offset parsing 2016-11-01 19:33:43 +01:00
Felix Krause
96234f36ca Made times.nim compile again to JS 2016-11-01 18:42:22 +01:00
Felix Krause
2ec6fe56ad Fixed timezone handling
* mktime always interprets its input as local time even on systems where
   gmtoff is present, so using it is utterly useless for anything but getting
   the local timezone. Removed all other usage of gmtoff to avoid confusion.
 * Properly handle timezone offset in toTime()
 * Properly handle timezone offset in `$` because asctime also interprets its
   input as local time
 * Also tried to fix the JavaScript implementation
2016-11-01 17:22:50 +01:00
Araq
47304372ca change TimeImpl for MingW 2016-11-01 14:11:46 +01:00
Araq
804af7e153 fixes bootstrapping 2016-11-01 10:25:34 +01:00
Andreas Rumpf
4884a56e38 Merge pull request #4980 from jlp765/tostring
Add nill value handling for seq/sets to system.CollectionToString()
2016-11-01 09:45:37 +01:00
jlp765
0cb5adb494 Add nill value handling for seq/sets 2016-11-01 13:36:03 +10:00
Felix Krause
af4c75a893 Fixes #4974 2016-10-31 20:46:50 +01:00
Araq
a94a0f27f2 updated development version 2016-10-31 20:16:31 +01:00
Dmitry Polienko
52f4590e98 Don't persist generated headers between requests 2016-10-31 09:46:50 +07:00
Dmitry Polienko
860264a382 Skip empty lines before status line
As recommended here: https://tools.ietf.org/html/rfc7230#section-3.5
2016-10-31 09:42:45 +07:00
Andreas Rumpf
0f3419685f Merge pull request #4964 from jangko/orderedtable_initialsize
fixes #4940
2016-10-27 15:37:45 +02:00
andri lim
bd560d6a4e fixes #4915 2016-10-27 12:22:12 +07:00
andri lim
a42e9b11a7 fixes #4940 2016-10-27 11:32:14 +07:00
Arne Döring
5864506ad3 fixed == and cmp to work on nimvm 2016-10-26 22:57:14 +02:00
Dominik Picheta
b2b2dcff08 Fixes #4959. 2016-10-26 21:26:48 +02:00
Yuriy Glukhov
6690cd15f4 Mark socketError as gcsafe 2016-10-26 20:17:40 +03:00
Felix Krause
7476e4fcb2 Fixes #4946 2016-10-24 22:36:21 +02:00
Andreas Rumpf
60d13c488d Merge pull request #4888 from arnetheduck/mmap-fixes
add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc
2016-10-24 22:05:11 +02:00
Andreas Rumpf
2f725e923e Merge pull request #4924 from nigredo-tori/fix-4917
Make createDir return discardable bool
2016-10-24 20:30:52 +02:00
Araq
8a0b945170 asynchttpserver: cleanup example code 2016-10-24 20:28:27 +02:00
Andreas Rumpf
3effd52ca3 Merge pull request #4847 from honewatson/patch-1
Add respond proc example
2016-10-24 20:27:16 +02:00
Andreas Rumpf
6fd27a8a08 Merge pull request #4945 from arnetheduck/cleanup-tyXxx
Cleanup ty xxx
2016-10-24 19:20:02 +02:00
Andreas Rumpf
3715a5ac91 Merge pull request #4814 from scriptum/rpg-pcre-jit
Enable JIT in PCRE to improve regular expressions performance
2016-10-24 19:07:30 +02:00
Andreas Rumpf
00f09f1309 Merge pull request #4819 from andreaferretti/usefulmacros
Some useful macros
2016-10-24 18:41:45 +02:00
Andreas Rumpf
adeb62120c Merge pull request #4812 from andreaferretti/jsconsole
Added js console object
2016-10-24 18:38:41 +02:00
Jacek Sieka
f5c3eb6a25 clean up tyMutable remnants 2016-10-24 23:30:10 +08:00
Jacek Sieka
b3de34548d clean up tyConst remnants 2016-10-24 23:19:46 +08:00
Jacek Sieka
f488ed973d clean up tyBigNum remnants 2016-10-24 23:11:38 +08:00
Andreas Rumpf
86ca077324 Merge pull request #4943 from nigredo-tori/fix-4942
Reset HttpClient if new URL has different port
2016-10-24 17:07:30 +02:00
Andreas Rumpf
236c2beead Merge pull request #4935 from flyx/tablefix
Table fixes. fixes #4901
2016-10-24 17:07:03 +02:00
Andreas Rumpf
353ce7315a Merge pull request #4938 from FedericoCeratto/unittest
Improve unittest docs
2016-10-24 17:03:11 +02:00
Andreas Rumpf
8208a2db84 Merge pull request #4937 from cheatfate/newos
Some changes to os.nim
2016-10-24 17:02:15 +02:00
Jacek Sieka
6f7b891bdc remove remnants of tyIter 2016-10-24 21:10:48 +08:00
Dmitry Polienko
8fb7858291 Reset HttpClient if new URL has different port 2016-10-24 09:42:18 +07:00
Andreas Rumpf
c486e6377c fixes #4386 2016-10-23 17:43:38 +02:00
Federico Ceratto
767e0846c1 Improve unittest docs 2016-10-23 16:13:38 +01:00
cheatfate
c21bc6c61c Fix for getCurrentDir().
Fix for expandFilename().
Fix for getAppFilename().
2016-10-23 16:41:04 +03:00
Felix Krause
73b0bb52bb Table fixes. fixes #4901
* added `==` for OrderedTable, CountTable and the *Ref types
 * added missing documentation to all `==` procs
 * fixed clear() for OrderedTables, which did not work because `var`
   does not work well with `|`
 * added tests
2016-10-23 11:21:52 +02:00
Andreas Rumpf
9f895c6f5a Merge pull request #4931 from nigredo-tori/fix-4929
Fix isAbsolute for Windows root directories
2016-10-22 16:20:06 +02:00