Araq
c66580911e
htmlparser: different error corrections
2016-11-07 18:58:39 +01:00
Andreas Rumpf
4c79583a95
Merge pull request #5002 from goldenreign/time-compare-nosideeffect
...
Add 'noSideEffect' pragma for Time type's operators. Fixes #4981
2016-11-07 16:52:34 +01:00
Andreas Rumpf
be296c3274
Merge pull request #4984 from flyx/timezonefix
...
Fixed timezone handling
2016-11-07 14:28:54 +01:00
Zajcev Evgeny
b1a369d2fb
[enh] isUpperAscii*, isLowerAscii* speedup execution by stopping
...
iteration as soon as possible
2016-11-07 13:21:17 +03:00
Felix Krause
6e604e2f9f
More cosmetic changes
...
* Don't use factor var, it's overly complicated
* Removed proc that's now unused
* Better documented timezone field
2016-11-07 11:08:31 +01:00
goldenreign
63c450abdc
Fix - operator for Time type for JS target
2016-11-07 14:26:27 +07:00
goldenreign
554105ff7c
Add 'noSideEffect' pragma for Time type's operators
2016-11-07 12:14:28 +07:00
Andreas Rumpf
91bcf99d8a
os.nim: posix copyFile showed a weird problem about buffer flushing; worked around via flushFile() call
2016-11-06 17:33:33 +01:00
Andreas Rumpf
5471b1eaca
htmlparser: support parsing of class=foobar without quotes
2016-11-05 15:27:47 +01:00
Andreas Rumpf
0a6787f956
better error handling for osproc.nim
2016-11-05 09:04:16 +01:00
Felix Krause
f500b9f47b
Cosmetic fixes
...
* Improved comments
* Improved spacing
* Use consts instead of magic numbers
2016-11-03 18:45:52 +01:00
Yuriy Glukhov
d857b4bc0e
DRY frame info setting out to a template.
2016-11-03 19:16:10 +02:00
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