summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4904 from FedericoCeratto/spellingsAndreas Rumpf2016-10-204-9/+9
|\ | | | | Fix few typos
| * Fix few typosFederico Ceratto2016-10-174-9/+9
| |
* | fixes #4899Andreas Rumpf2016-10-191-1/+1
|/
* Fix handle of error only events.cheatfate2016-10-161-2/+2
|
* Bugfix for times.initInterval (issue #4889)Jonathan Bernard2016-10-121-8/+8
| | | | | | | | | | | | | | | | | | | | | | | `initInterval` had logic to calculate and carry overflowed fields (65 seconds turns into 5 seconds and carries 1 minute). However, we were not including that carried value when we recalculate the carry over for the next period of time.So if you had, for example, 3600 seconds, we carried 60 minutes into the minutes calculation, but when we calculated how much we should carry into the hours value we only considered what the user originally supplied for the minutes field, and forgot to include those 60 carried minute. So, for example, with the previous implementation this was true: `seconds(60 * 60 * 24) == seconds(0)` Or, as failing tests: ```nimrod import times assert seconds(60 * 60 * 24) != seconds(0) assert seconds(60 * 60 * 24) == days(1) ```
* Add example for posting json contentAlpha Shuro2016-10-121-0/+14
| | | i struggled to figure out how to post json content with nim's http client. this is a fundamental capability in many web apps, we don't always need to send data as multipart form data (e.g. when communicating via json apis) so frankly i'm surprised it isn't part of the "post" and "postContent" procs
* Merge pull request #4828 from jfhg/unify_waitpid_handlingAndreas Rumpf2016-10-091-32/+36
|\ | | | | Unify waitpid handling
| * convert exitStatus to exit codeJohannes Hofmann2016-09-301-3/+3
| |
| * Merge branch 'devel' into unify_waitpid_handlingJohannes Hofmann2016-09-3013-377/+622
| |\
| * | another attempt at properly declaring the status variableJohannes Hofmann2016-09-251-1/+3
| | |
| * | make status variable localJohannes Hofmann2016-09-251-2/+1
| | |
| * | Merge branch 'devel' into unify_waitpid_handlingJohannes Hofmann2016-09-244-11/+79
| |\ \
| * | | rename exitCode to exitStatusJohannes Hofmann2016-09-241-18/+18
| | | |
| * | | generally update exitCode only after successful completion of waitpid()Johannes Hofmann2016-09-221-23/+26
| | | |
* | | | fixes #4844Araq2016-10-081-1/+5
| | | |
* | | | Fixes pesky hint in asyncfutures.Dominik Picheta2016-10-011-0/+2
| | | |
* | | | made test green for 32bit systemAraq2016-09-301-12/+14
| | | |
* | | | made test green for 32bit systemAraq2016-09-301-1/+1
| |_|/ |/| |
* | | Add few JSON examplesFederico Ceratto2016-09-291-0/+2
| | |
* | | made async compile againAndreas Rumpf2016-09-262-1/+1
| | |
* | | revert brainless changesAndreas Rumpf2016-09-261-2/+2
| | |
* | | make travis greenAndreas Rumpf2016-09-261-2/+2
| | |
* | | docgen fixes for basic3dAndreas Rumpf2016-09-261-4/+2
| | |
* | | docgen fixes for selectors.nimAndreas Rumpf2016-09-261-1/+2
| | |
* | | docgen fixes for basic2dAndreas Rumpf2016-09-261-2/+2
| | |
* | | Fixes #4587.Dominik Picheta2016-09-251-2/+19
| | |
* | | Moves async futures into asyncfutures module.Dominik Picheta2016-09-252-293/+294
| | |
* | | FutureVar[T] parameters are now completed automatically.Dominik Picheta2016-09-252-17/+64
| | |
* | | Merge branch 'asyncftp-add-removeDir' of https://github.com/pyloor/Nim into ↵Dominik Picheta2016-09-251-0/+6
|\ \ \ | | | | | | | | | | | | pyloor-asyncftp-add-removeDir
| * | | Asyncftpclient: adding removeDir procpyloor2016-09-211-0/+6
| |/ /
* | | Merge branch 'asyncftp-add-removeFile' of https://github.com/pyloor/Nim into ↵Dominik Picheta2016-09-251-0/+6
|\ \ \ | | | | | | | | | | | | pyloor-asyncftp-add-removeFile
| * | | adding a test for removing a filepyloor2016-09-211-0/+2
| | | |
| * | | adding removeFile proc to asyncftpclientpyloor2016-09-211-0/+4
| |/ /
* | | Fixes #3847.Dominik Picheta2016-09-254-10/+52
| | |
* | | Add PATCH HTTP Method.Dominik Picheta2016-09-251-3/+2
| | |
* | | asynchttpserver's Response object's req method uses HttpMethod now.Dominik Picheta2016-09-253-15/+20
| | | | | | | | | | | | Fixes #4423.
* | | HTTP client's request proc no longer slices http method string param.Dominik Picheta2016-09-251-4/+5
| | |
* | | Improves httpclient documentation.Dominik Picheta2016-09-241-32/+51
| | |
* | | Implements onProgressChanged callback for httpclient.Dominik Picheta2016-09-241-11/+51
| | |
* | | Deprecates old httpclient procedures.Dominik Picheta2016-09-241-6/+22
| | |
* | | Implements getContent and postContent for (Async)HttpClient.Dominik Picheta2016-09-241-1/+36
| | |
* | | Handle redirects in HttpClient's post procs & post test.Dominik Picheta2016-09-241-0/+10
| |/ |/|
* | Merge pull request #4815 from pyloor/asyncftp-add-renameDominik Picheta2016-09-241-0/+7
|\ \ | | | | | | Asyncftpclient: adding rename proc
| * | adding rename proc to asyncftpclientpyloor2016-09-211-0/+7
| |/
* | Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test ↵cheatfate2016-09-242-9/+68
| | | | | | | | for it.
* | Fixed missing commaAndrea Ferretti2016-09-221-1/+1
| |
* | Added PATCH HTTP methodAndrea Ferretti2016-09-211-1/+3
|/
* HttpCode shouldn't require explicit initialisation to prevent breakage.Dominik Picheta2016-09-191-1/+3
|
* Reverted removal of HttpCode.`$`.Dominik Picheta2016-09-191-2/+2
|
* Fixes `asyncmacro` compilation in tests.Dominik Picheta2016-09-191-2/+1
|
mmit/mu.arc?h=hlt&id=708a5172de6a32eb0df08d75b17ddd9d60ef3f51'>708a5172 ^
c34f5e26 ^


b20165a8 ^
0a8858db ^
45b1e1f6 ^







0a8858db ^
60f85dd6 ^
















35366e91 ^
708a5172 ^
dea74d71 ^

35366e91 ^



baf61345 ^
708a5172 ^
dea74d71 ^

baf61345 ^



83735586 ^

d95ed21d ^
83735586 ^

a1ef1511 ^

83735586 ^
c532f0ab ^
d95ed21d ^
83735586 ^

d95ed21d ^
83735586 ^
c532f0ab ^
83735586 ^
c532f0ab ^
83735586 ^

c532f0ab ^
83735586 ^

c532f0ab ^
83735586 ^

c532f0ab ^
83735586 ^

c532f0ab ^
83735586 ^

d95ed21d ^
b982e863 ^
d95ed21d ^







40418ad4 ^

d95ed21d ^
32f282b4 ^


dea74d71 ^


97208a38 ^








f3b0f4dc ^
033d558a ^
c140d9cc ^
033d558a ^
0f1fc1c0 ^
f3b0f4dc ^
0f1fc1c0 ^

83735586 ^
97208a38 ^
e54ab3f6 ^
83735586 ^
0f1fc1c0 ^

c140d9cc ^
dea74d71 ^


97208a38 ^

dea74d71 ^
6e56bf32 ^

e54ab3f6 ^
d95ed21d ^
fbe15a98 ^
d95ed21d ^
c140d9cc ^
83735586 ^





aa7de0e8 ^
83735586 ^
68b9221c ^
83735586 ^
0f236304 ^
d95ed21d ^
d90d6629 ^
630e9363 ^
d90d6629 ^
d43f0c54 ^
d90d6629 ^
d43f0c54 ^
d90d6629 ^






92819aa5 ^

630e9363 ^

d90d6629 ^





630e9363 ^

d90d6629 ^


d43f0c54 ^
d90d6629 ^
d43f0c54 ^
d90d6629 ^







630e9363 ^

b9a05206 ^
83735586 ^

d90d6629 ^
b9a05206 ^
d90d6629 ^
83735586 ^

554ac512 ^


83735586 ^

b83c85c8 ^
630e9363 ^

d90d6629 ^

f9dd51f6 ^
60f85dd6 ^

35366e91 ^
60f85dd6 ^

62fc8a7b ^


45b1e1f6 ^
62fc8a7b ^
708a5172 ^
62fc8a7b ^
45b1e1f6 ^

708a5172 ^

62fc8a7b ^



708a5172 ^
62fc8a7b ^
708a5172 ^

dba1112c ^

708a5172 ^
6857d6c8 ^
dba1112c ^
ec690bf3 ^
dba1112c ^
3b0b336e ^
b21fa585 ^
3b0b336e ^




133401ec ^
b046ed73 ^

48e121d5 ^
b046ed73 ^
133401ec ^



0f1fc1c0 ^
b21fa585 ^



133401ec ^
bdadc933 ^






e6041858 ^
ea1cfd52 ^
bdadc933 ^
99ff20c8 ^
bdadc933 ^



ea1cfd52 ^
2c0a6696 ^
ea1cfd52 ^

bdadc933 ^
630e9363 ^


02afde0b ^

83735586 ^



40418ad4 ^
244f31f7 ^
d9b21543 ^
c14eb01b ^
d90d6629 ^
c14eb01b ^

32f282b4 ^
83735586 ^
32f282b4 ^











630e9363 ^
58585859 ^
68b9221c ^




58585859 ^
d95ed21d ^
d90d6629 ^
817b7e0b ^
630e9363 ^
d95ed21d ^
d90d6629 ^


d90d6629 ^
1714bd1d ^
d90d6629 ^
d95ed21d ^
83735586 ^
c140d9cc ^
e74ff413
c14eb01b ^





230415b4 ^






45b1e1f6 ^
230415b4 ^
b81abc24 ^

230415b4 ^

b21fa585 ^
230415b4 ^





6857d6c8 ^


230415b4 ^
dad7fb36 ^
630e9363 ^
6215fec2 ^






d43f0c54 ^
6215fec2 ^
b794da7f ^



6215fec2 ^












d43f0c54 ^
6215fec2 ^




d43f0c54 ^
6215fec2 ^



708a5172 ^
6215fec2 ^
d43f0c54 ^

b794da7f ^

708a5172 ^

b9a05206 ^

6215fec2 ^
b9a05206 ^
708a5172 ^
b9a05206 ^
554ac512 ^


708a5172 ^
554ac512 ^
b794da7f ^

708a5172 ^

48e121d5 ^
b9a05206 ^
b794da7f ^
b9a05206 ^
708a5172 ^
b9a05206 ^
554ac512 ^


708a5172 ^
554ac512 ^
6215fec2 ^

d43f0c54 ^
6215fec2 ^




















48cd1ae7 ^


























13315b2a ^
7946c901 ^

48cd1ae7 ^

52dc9fa4 ^







708a5172 ^
52dc9fa4 ^








639fd2fb ^


68b9221c ^





639fd2fb ^
68b9221c ^
ff61a21c ^
639fd2fb ^
68b9221c ^

639fd2fb ^
b21fa585 ^
68b9221c ^




b21fa585 ^
68b9221c ^





b21fa585 ^
93ddcc74 ^
68b9221c ^



93ddcc74 ^

68b9221c ^



0c9f8379 ^
48e121d5 ^
68b9221c ^


48e121d5 ^
68b9221c ^






48e121d5 ^

68b9221c ^

48e121d5 ^
639fd2fb ^



dae4f6d1 ^



dad7fb36 ^
1f18a4fd ^
c72d8310 ^
f37b3ab4 ^
d95ed21d ^
ea1cfd52 ^
e74ff413
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781