Commit Graph

11210 Commits

Author SHA1 Message Date
Araq
0d234af399 updated the manual 2015-03-23 13:10:19 +01:00
Araq
3bcafb1c3a concept example from the manual now works again 2015-03-23 13:10:19 +01:00
Araq
f6ff01572e breaking change: 'concept' is now a keyword and used instead of 'generic' 2015-03-23 13:10:18 +01:00
Andreas Rumpf
210fab10b2 Merge pull request #2393 from def-/tzset
Use <time.h> instead of <sys/time.h> for tzset and time_t
2015-03-23 11:51:49 +01:00
def
b0c64bf848 Use <time.h> instead of <sys/time.h> for tzset and time_t
This fixes compilation on Linux.
2015-03-23 11:03:44 +01:00
Dominik Picheta
9c2da4cb62 Merge pull request #2385 from jschweinsberg/asyncSmtp
Fixed typo which prevented to send mails via AsyncSmtp
2015-03-23 09:09:16 +00:00
Araq
bba551fd1c fixes #2390 2015-03-23 00:09:35 +01:00
Araq
765f274629 fixes #1783 2015-03-23 00:09:34 +01:00
Andreas Rumpf
ef6d7f9818 Merge pull request #2386 from reactormonk/empty-match-fix-for-pegs
fixes match on empty peg match, #2354
2015-03-22 18:51:27 +01:00
Simon Hafner
179a190f67 fixes match on empty peg match, #2354 2015-03-22 21:39:26 +05:00
jschweinsberg
634e50b4b1 Fixed typo which prevented to send mails via AsyncSmtp 2015-03-22 17:23:21 +01:00
Araq
e7d7097919 fixes #1787 2015-03-22 10:47:07 +01:00
Araq
36acac3000 fixes #1717, fixes #2324 2015-03-22 09:31:16 +01:00
Araq
a541be8935 prepare for upcoming parsing change of unary operators 2015-03-22 09:31:15 +01:00
Andreas Rumpf
d7c39dd801 Merge pull request #2357 from reactormonk/zero-length-match
re.match returns true on zero-length match #2354
2015-03-22 08:58:06 +01:00
Andreas Rumpf
838f398378 Merge pull request #2370 from flaviut/jsondoc-fixes
Fix segfault in jsondoc
2015-03-22 08:56:56 +01:00
Andreas Rumpf
2942375e86 Merge pull request #2381 from rbehrends/fix-dirent-def
Fixed Tdirent definition for OS X and BSD.
2015-03-22 08:55:18 +01:00
Reimer Behrends
f5f89f388d Fixed Tdirent definition for OS X and BSD.
Entries d_type etc. were disabled on architectures other than Linux,
but also used for OS X and BSD in os.nim.
2015-03-22 03:54:19 +01:00
Araq
ca6906d85b fixes long standing parsing issue with command syntax 2015-03-22 01:38:14 +01:00
Araq
0d804c2052 fixes #2266 2015-03-22 01:38:14 +01:00
Araq
1681800d3c fixes #2116 2015-03-22 01:38:13 +01:00
Araq
a32237a011 fixes #1802 2015-03-22 01:38:13 +01:00
Andreas Rumpf
e81c8314b3 Merge pull request #2378 from def-/cpurelax
Add cpuRelax asm for other platforms
2015-03-22 00:11:30 +01:00
def
ddeefe85d2 Add cpuRelax assembler for other platforms 2015-03-21 21:02:09 +01:00
Araq
08c0ba379a fixes #1805 2015-03-21 20:38:28 +01:00
Araq
0591c68aaf fixes #2369 2015-03-21 20:38:27 +01:00
Araq
5641be51c1 codegen doesn't produce line tracing commands anymore; fixes #1344 2015-03-21 20:38:27 +01:00
Araq
508e8bd686 fixes #2221 2015-03-21 20:38:26 +01:00
Araq
16adfcdfa6 fixes #2366 2015-03-21 20:38:25 +01:00
Dominik Picheta
880e39d123 Merge pull request #2358 from gradha/pr_expands_paths_in_find_exe
Expands tildes for entries in $PATH when looking for a binary.
2015-03-20 19:15:46 +00:00
Flaviu Tamas
ca38246d21 Fix segfault in jsondoc
No idea how this got in, I'm not sure if it's ever worked.
2015-03-18 20:59:05 -04:00
Araq
7418227ebb updated news.txt 2015-03-18 11:42:38 +01:00
Araq
a827050718 fixed cuint definition 2015-03-18 11:42:37 +01:00
Araq
910ef7b2d1 'constructor' pragma for C++ support 2015-03-18 11:42:37 +01:00
Araq
1fc590b6ea don't generate memset calls for C++ objects 2015-03-18 11:42:36 +01:00
def
6523d80211 Rename clearStringTable to clear 2015-03-17 22:48:34 +01:00
def
ee9499ac89 Some style cleanup 2015-03-17 22:24:12 +01:00
def
2410e667bc Make respond a template again 2015-03-17 22:05:10 +01:00
Grzegorz Adam Hankiewicz
1320efcf90 Excludes windows platfrom from $PATH tilde expansion. Refs #2358. 2015-03-17 20:07:20 +01:00
def
134eb6e582 Move recvInto to asyncnet and don't export it 2015-03-17 19:41:05 +01:00
def
836819d6b6 Don't export readInto* templates 2015-03-17 19:40:22 +01:00
def
e127ed77b1 Make recvLineInto a proc instead of template 2015-03-17 19:40:22 +01:00
def
43ed83384c Rename resetStringTable to clearStringTable 2015-03-17 19:40:22 +01:00
def
58c29c29ae Remove unused newRequest proc 2015-03-17 19:40:22 +01:00
def
6830c65560 Document asynchttpserver's respond template 2015-03-17 19:40:22 +01:00
def
7b4724ea27 PNimrodNode -> NimNode in asyncdispatch 2015-03-17 19:40:22 +01:00
def
477b3594eb Speed up asynchttpserver significantly using all the previous changes
- Export socket field of AsyncHttpServer and addHeaders proc for templates

- Make respond a template instead of proc because of how often it's called.
  This means no more "await" when invoking it.

- Optimize respond template with special case for empty headers and
  Content-Length entry

- newRequest doesn't allocate a hostname and body anymore because they're
  copied in later

- Major changes to processClient to prevent allocations and copies
2015-03-17 19:39:02 +01:00
def
07a50caf64 Make asyncnet usable when avoiding allocations.
- readInto, readIntoBuf,  are templates instead of procs now

- New recvLineInto template that reads directly into a string instead of
  creating a new one. Used by recvLine proc now

- Need fd and bufLen fields of AsyncSocketDesc exported because of the
  templates

- recv returns a shallow string to prevent copying

- This gives significant speedups, mostly by using templates instead of
  creating new Futures and waiting for them all the time.
2015-03-17 19:39:02 +01:00
def
5aab532c92 Make asyncdispatch usable when preventing allocations
- Added a recvInto proc that takes a cstring as argument and reads into
  it instead of returning a newly allocated string. This is pretty
  unnice because of code duplication with recv. Calling recvInto from
  recv is not a good solution because of the additional future that gets
  created.

- Windows version is totally untested
2015-03-17 19:39:02 +01:00
def
524b68d0ed Make strtabs module usable when avoiding allocations
- resetStringTable proc
2015-03-17 19:39:02 +01:00