Commit graph

2,376 commits

Author SHA1 Message Date
Joey Payne
f6e30981a8 Add new procs for string manipulation
Add center, isTitle, title, partition, rpartition, rsplit, swapCase,
translate, and expandTabs
2016-06-13 20:54:23 -06:00
Kier Davis
acbb03ee5e Implement clear() for CountTableRef. Fixes #4325. 2016-06-13 17:23:56 +01:00
Dominik Picheta
4fca8c94a2 Merge pull request #4317 from karantin2020/xmlfix
xmldom fix
2016-06-13 13:43:55 +01:00
Andreas Rumpf
792b99442a Merge pull request #4284 from arnetheduck/system-c-cleanup
System c cleanup
2016-06-13 12:18:34 +02:00
ReneSac
d6849b87c5 Enchanced random access support for queues
Now queues support indexing, front() and back() operations and pairs iteration.
Also modernized some of the code to use newer Nim features.
Added the "add()" alias to "enqueue()", per nim's conventions (also fits better with pop())
2016-06-12 16:34:24 -03:00
karantin2020
bf67fac169 In xmldom module added default attribute names checkfor namespace creation, see https://www.w3.org/XML/1998/namespace 2016-06-12 20:04:57 +03:00
cheatfate
de6af2f887 Resolve some dom96 comments 2016-06-12 16:25:34 +03:00
cheatfate
43329c5909 Introduce addRead/addWrite for Windows IOCP. 2016-06-12 15:09:30 +03:00
Jacek Sieka
087db3ce64 remove fauly fix for windows error being overwritten 2016-06-12 14:31:59 +08:00
A. S. Budden
004ac801a5 Improvements to parsecsv to include a minimalist DictReader #4285 2016-06-12 07:28:07 +01:00
Federico Ceratto
0fe414150e Add value creation/update to the usage example 2016-06-11 15:52:36 +01:00
Andreas Rumpf
c1a553a2a9 Merge pull request #4282 from abudden/4252-startsWithChar
Added startsWith/endsWith implementations for character prefix/suffix…
2016-06-11 09:20:20 +02:00
cheatfate
fb4ff86ad6 Make some proper closes. 2016-06-09 07:07:43 +03:00
Jacek Sieka
43996c24a0 fix errno in os.nim 2016-06-08 23:28:16 +08:00
Jacek Sieka
0d45c17388 disable StringStream for JS (needs copyMem) 2016-06-08 22:00:13 +08:00
Andreas Rumpf
82a75635f7 installer fixes and improvements 2016-06-07 13:47:37 +02:00
Dominik Picheta
ad91da8342 Fixes httpcore.[]= so that it doesn't convert value to lowercase. 2016-06-06 22:15:43 +01:00
A. S. Budden
2f16854d0f Added inline pragmas. 2016-06-06 18:43:39 +01:00
A. S. Budden
d8480c73b6 Added startsWith/endsWith implementations for character prefix/suffix (fixes #4252). 2016-06-06 10:03:46 +01:00
Dominik Picheta
6e1bed763a Merge pull request #4277 from euantorano/patch-1
Use passed user agent in `newAsyncHttpClient`
2016-06-06 01:28:54 +01:00
Andreas Rumpf
487bf54cdf fixes #4278 2016-06-05 17:13:35 +02:00
Jacek Sieka
fe2b39f007 remove system/ansi_c include from os 2016-06-05 20:16:26 +08:00
Euan T
06d4716579 Use passed user agent in newAsyncHttpClient
Fixes #4273.
2016-06-05 09:56:16 +01:00
Jacek Sieka
64b0485207 fix types of ansi_c/sysio to more closely match C ABI
also fixes some instances of using C library functions when there are
nim alternatives available
2016-06-05 12:03:20 +08:00
Andreas Rumpf
4e72e71284 Merge pull request #4264 from oderwat/add-unicode-rune-offsets
Add unicode rune offsets
2016-06-03 19:26:53 +02:00
Dominik Picheta
f73dd02787 Fix broken asyncnet module. 2016-06-03 14:21:37 +01:00
Dominik Picheta
5390c25b60 Modified #3472 to make its API more idiomatic. 2016-06-03 13:22:18 +01:00
Dominik Picheta
c1706463dc Merge branch 'tls-psk' of https://github.com/zielmicha/nim into zielmicha-tls-psk 2016-06-03 11:52:11 +01:00
Dominik Picheta
f440bb7064 Merge pull request #4243 from moigagoo/devel
Stdlib: asyncdispatch: `all` proc: Add support of varargs, fix issues, add tests.
2016-06-03 11:48:32 +01:00
Rostyslav Dzinko
d91b0cbc2b Implemented SKIPPED test status 2016-06-03 12:02:38 +03:00
Константин Молчанов
3538e00fc7 stdlib: asyncdispatch: all: Docs updated. 2016-06-02 22:23:27 +03:00
Dominik Picheta
cc80eac84b Add missing httpcore module. 2016-06-02 20:16:25 +01:00
Dominik Picheta
ca7dd345da Fixes #3847. 2016-06-02 19:51:16 +01:00
Dominik Picheta
9df1704aa1 Let asynchttpserver pass control of socket to cb for upgrades. 2016-06-02 19:19:47 +01:00
Dominik Picheta
b33fbedec0 httpclient now uses httpcore.HttpHeaders 2016-06-02 18:40:13 +01:00
Dominik Picheta
3074973f54 The asynchttpserver module now uses a HttpHeaders object. 2016-06-02 18:31:22 +01:00
Dominik Picheta
2b162c04b1 Implements tables.clear. 2016-06-02 18:25:10 +01:00
Hans Raaf
2791915d7f Optimized end offsets and added tests.
I hope this also shows that there are use cases. I still think the user
should get warned about performance issues with those procs, which I
added to the doc comments.
2016-06-02 17:47:33 +02:00
Hans Raaf
ac6de565ec More work in optimizing, names and added substr().
This is work in progress. I added an unicode substring. Tried to handle
edgecases more consistent too.
2016-06-02 17:43:10 +02:00
Hans Raaf
1138cf5234 Some procs to deal with Rune position base indexing.
It can't be perfect but at least one can index on rune position
efficiently.
2016-06-02 17:43:10 +02:00
Константин Молчанов
83af9888f5 stdlib: asyncdispatch: all: Redundant closure removed. 2016-06-02 17:20:46 +03:00
Dominik Picheta
b4d0ea6634 Merge pull request #4263 from abudden/4255-json-doc
Corrected comments in json pretty/ugly procedures (fixes #4255).
2016-06-02 13:46:52 +01:00
A. S. Budden
9150645103 Corrected comments in json pretty/ugly procedures (fixes #4255). 2016-06-02 13:38:43 +01:00
Andreas Rumpf
c5b47628e4 Merge pull request #4261 from abudden/4197-formatEng
Implemented string formatting functions for engineering format
2016-06-02 13:55:57 +02:00
A. S. Budden
47b707cd32 Implemented string formatting functions for engineering format (fixes #4197). 2016-06-02 10:27:55 +01:00
A. S. Budden
d16f864b7b Added missing noSideEffect pragma 2016-06-02 10:25:51 +01:00
Andreas Rumpf
c11de219e5 Merge pull request #4250 from abudden/4198-formatSize
Reimplementation of formatSize to return a more meaningful value
2016-06-02 09:54:11 +02:00
Andreas Rumpf
86c25a1e54 Merge pull request #4257 from Parashurama/change_rune_type
change 'Rune' type in unicode module to 'int32'
2016-06-02 01:01:32 +02:00
Parashurama
a98705dddc change 'Rune' type in unicode module to 'int32' 2016-06-02 00:02:27 +02:00
A. S. Budden
29c8c83972 Modified trimZeros to modify the passed value. 2016-06-01 20:15:55 +01:00