Commit Graph

18180 Commits

Author SHA1 Message Date
jonathonf
50a6b49bf9 Set correct Host in request header
Ensure the correct destination hostname is used in the request, otherwise the request will fail in one of a number of interesting ways when using a proxy.

Fixes https://github.com/nim-lang/Nim/issues/3166
2015-08-01 20:45:58 +01:00
Dominik Picheta
92ca736f0a Removed duplicate 'mipsel' from installer.ini. Ref #3164. 2015-08-01 13:43:51 +01:00
Dominik Picheta
b423a9efeb Merge pull request #3164 from def-/systems
Add powerpc64el and arm64 support
2015-08-01 13:43:01 +01:00
def
9804033aa8 Add new platforms to installer.ini (for linux at least) 2015-08-01 00:00:51 +02:00
def
13389eab9b Add arm64 support (untested) 2015-07-31 23:57:50 +02:00
def
130605567e Add powerpc64el support (untested) 2015-07-31 23:55:31 +02:00
Dominik Picheta
3d6a8b401a C source generation for mipsel. 2015-07-31 22:40:45 +01:00
Dominik Picheta
67c6b99745 Merge pull request #3163 from def-/mipsel
Add Mipsel CPU support (untested)
2015-07-31 22:39:07 +01:00
def
70c4176105 Add Mipsel CPU support (untested) 2015-07-31 23:16:52 +02:00
Charlie Barto
ad896f03e8 import the correct symbols on windows 2015-07-31 15:08:53 -04:00
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
rku
df0e1a515b Added fasm (external assembler) support. 2015-07-31 16:00:13 +03:00
rku
626226efa4 {.compile.} pragma accepts paths relative to file pragma is in. 2015-07-31 15:57:10 +03:00
coffeepots
f9d909bb94 Removed unused leapYearsSinceEpoch 2015-07-31 10:20:21 +01:00
coffeepots
5e0b8d5ef6 Implemented changes suggested by dom96
* Removed extraneous exports (and converted const array to separate consts)
* Renamed dayOfWeek, dayOfWeekJulian to getDayOfWeek and getDayOfWeekJulian
* Renamed decodeTime procs to timeToTimeInfo and timeToTimeInterval
* Added some basic descriptions to docs
2015-07-31 09:44:37 +01:00
Charles Blake
970cfec6c2 Merge ../Nim into devel 2015-07-30 18:42:20 -04:00
Dominik Picheta
c9084585dc Merge pull request #3157 from rgv151/patch-4
Free SSL handler to avoid memory leaks
2015-07-30 23:37:40 +01:00
Bruce Doan
55ef708e73 Free SSL handler to avoid memory leaks 2015-07-31 01:24:35 +07:00
apense
10da70d49e Fix double-ticks 2015-07-29 17:57:47 -04:00
Ryan Gonzalez
3fe39798e6 Fix contributing guide rST 2015-07-29 11:47:21 -05:00
Charles Blake
0b4c816cba cstring->pointer in MemSlice to make consistent with MemFile and
also to make more clear the care required to use MemSlice instances.
(E.g., memXXX functions rather than strXXX functions).
2015-07-29 06:14:44 -04:00
Charles Blake
f2c5676767 Remove NUL termination unneeded post toNimStr fix. 2015-07-28 06:45:07 -04:00
Araq
8913e82f45 removed macros.high as it never worked outside of macros.nim 2015-07-28 02:54:21 +02:00
Dominik Picheta
f3a0d702ae Merge branch 'l04m33-async_callback_issue_0412-2' into devel 2015-07-26 22:04:01 +01:00
Dominik Picheta
bd6e223065 Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim into l04m33-async_callback_issue_0412-2
Conflicts:
	lib/pure/asyncdispatch.nim
2015-07-26 22:03:48 +01:00
Dominik Picheta
1b9f2fdfe8 Merge pull request #3094 from fenekku/unittest-work
document unittest.nim + code agreement
2015-07-26 21:42:51 +01:00
Araq
54fdeb4f76 gc:none works again 2015-07-26 22:03:52 +02:00
Araq
beca7ded1b fixes #3144 2015-07-26 21:07:11 +02:00
Dominik Picheta
94ad731964 Fixes example code in marshal module. 2015-07-26 18:21:14 +01:00
Dominik Picheta
ce4e877702 $ for tuples/objects now handles a nil value correctly. Fixes #3149. 2015-07-26 18:15:19 +01:00
Charles Blake
a2b6a630fe Oops..[]= not defined yet here. Use .data instead. 2015-07-26 09:17:04 -04:00
Charles Blake
18df5dad11 Do not read past end of input. Ensure NUL termination. 2015-07-26 09:02:43 -04:00
Charles Blake
ae303cc1c3 Rename [rR]ecord->[mM]emSlice, rec->ms, End->ending. Also update some comments. 2015-07-26 07:52:30 -04:00
Yuriy Glukhov
21e7e7c895 Emit pragma support for JS backend. 2015-07-25 22:33:53 -07:00
def
a9b299b4ed Improve readLine to work with strings containing \0 again.
This decreases performance slightly.
2015-07-25 20:25:58 +02:00
Dominik Picheta
a88131ed4a Improved errors in times.parse. 2015-07-24 22:46:24 +01:00
Dominik Picheta
903452e96e Merge pull request #3145 from judofyr/times-parse-literal
Fix times' parse with literal strings
2015-07-24 22:37:28 +01:00
Charles Blake
3f4255dd14 Beg->data, Len->size to address Varriount's issue. I was unaware of
lower case members as a strict style convention.
2015-07-24 17:23:11 -04:00
Charles Blake
a12c9cfb9d Add MemFile text interface factored so users can optionally skip Nim string
construction (e.g. to filter many lines out before building strings).  Only
Windows and/or Unix line endings are supported by default, though fiddling
with delim/eat arguments can probably support archaic MacOS9 files.
2015-07-24 14:38:20 -04:00
Magnus Holm
fdf454e3ae Fix times' parse with literal strings 2015-07-24 18:08:05 +02:00
def
401189c3fe No need to set trailing \0 2015-07-24 01:13:52 +02:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
Araq
18823a315e todo.txt updates 2015-07-24 01:04:43 +02:00
Araq
bf057f0d2c minor refactoring for big fixes to come 2015-07-24 01:04:42 +02:00
Araq
d82d430cbe fixes #2823 2015-07-24 01:04:40 +02:00
def
3943fba34b Improve performance of readLine by using fgets
This drops compatibility with pure CR line endings of old Mac systems
2015-07-24 00:31:35 +02:00
Andreas Rumpf
cd42d38887 Merge pull request #3142 from avsej/fix-unittest
Remove access modifiers from inner templates
2015-07-23 16:01:38 +02:00
Sergey Avseyev
70f14aa578 Remove access modifiers from inner templates
Fixes options.nim tests
2015-07-23 17:00:04 +03:00
Andreas Rumpf
46f59a7c59 Merge pull request #3141 from jeizsm/devel
add linenoise to installer.ini
2015-07-23 15:47:29 +02:00
Marat Safin
447442a9b0 add linenoise to installer.ini 2015-07-23 14:51:05 +03:00