| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* Capture macro can now accept variables of different types
* Add test
* Update examples
* Use let instead of var
|
|
|
|
|
|
| |
* Fix to asynchttpserver form data/body broken with #13147
* New implementation that use a interator instance of future streams
* asynchttpserver now can handle chunks of data.
|
| |
|
|
|
|
|
|
|
|
| |
* fix #9634 debugging a program using execCmdEx now works
* only apply EINTR to c_gets for now
This reverts commit c0f5305b5a0b46983dfd27e3d77ecbf4f8744dcc.
|
|
|
|
|
|
| |
* remove outplace version of 'merge' for CountTables
* remove 'merge' tests
|
|
|
|
|
|
|
|
|
| |
(#13370)
* Add sideEffect pragma to procs in winlean
* Add sideEffect pragma to procs in posix
* Add test for #13306
* Add sideEffect pragma to procs in times
* Fixes #13306
|
|
|
|
|
| |
(#13363)
This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
|
| |
|
|
|
| |
It didn't work, and it was an oversight to be included in v1.0.
|
| |
|
|
|
|
| |
* printing float values will have one more digit. Fixes #13196
|
|
|
|
|
|
|
|
| |
isNamedTuple in dollars.nim (#13347)
* replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple
* fix for bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added a basic example how to handle a Post request.
They were also made minor cosmetic changes.
* Minor fixes suggested by Yardanico
* Fixed a wrong value in chunkSize constant.
* Re-added the request.body for compatibility!
|
|
|
|
|
|
| |
* adding sqlite3 backup functions
* changing sleep to sqlite3_sleep to prevent clashes
|
| |
|
|
|
|
|
|
| |
library. (#13147)
Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything.
|
| |
|
|
|
|
|
|
| |
* Fix capture for object|tuple|... types
* Add test case
|
|
|
|
|
|
|
|
| |
* refs #8391: fix errmsg for setCurrentDir
* raiseOSError calls for copyFile
* refs #8391 std/os now shows runtime context for raiseOSError exceptions
|
|
|
|
|
|
|
|
| |
* fix for emscripten etc
* add testcase for #13290
* replace deprecated isNilOrWhitespace
|
|
|
|
|
| |
On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate
memory. So it is necessary to deallocate that memory by using
pthread_attr_destroy.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* progress on repr_v2
* repr progress
* add ref objects with distrinct
* fix failing tests
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* add resetOutputFormatters
* remove space
* resolve comments
|
| |
|
|
|
|
|
|
|
|
| |
* scrollTop must be assignable
Make scrollTop settable
* add missing export
|
|
|
|
|
|
|
|
| |
allCharsInSet (#13258)
* Rename isNilOrWhitespace to isEmptyOrWhitespace
* Make isEmptyOrWhitespace use allCharsInSet(Whitespace)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* make goto based exceptions available for 'nim cpp'
* optimize seq.add to be comparable to C++'s emplace_back
|
| |
|
|
|
|
| |
nimAllocStats (#13247)
|
|
|
| |
Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp
|
|
|
| |
The literal value for the `tkBracketLe` token was incorrectly set to `]` rather than `[`. I've had a quick glance at the code and it doesn't look like this change will affect anything at all, but I haven't tested yet - let's see if the CI explodes...
|
|
|
|
|
| |
Previously, the 4th character of `result` was checked for `'-'` every time, instead of each new line.
Also made it work for taint mode.
|
| |
|
|
|
| |
- Also fix one example's output (ikString -> ikStr, ikVar instead of ikExpr)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allocShared0. (#13190)
* Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use
allocShared0 by default.
* Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc.
* Removed debug printfs
* Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc
* More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that
* Introduced realloc0 and reallocShared0, these procs are now used by
strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to
drop the extra header with allocation length.
* Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field
* Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats
* *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* system/gc: don't export markStackAndRegisters
* compiler/cgen: unexport internal symbols
As these functions are Nim-specific walkaround against C's optimization
schemes, they don't serve any purpose being exported.
* compiler/cgen: don't export global var unless marked
* compiler/ccgthreadvars: don't export threadvar unless marked
* tests/dll/visibility: also check for exports
This ensure that these changes don't break manual exports.
* compiler/cgen: hide all variables created for constants
* compiler/ccgtypes: don't export RTTI variables
* compiler/ccgexprs: make all complex const static
* nimbase.h: fix export for windows
* compiler/cgen, ccgthreadvars: export variables correctly
For C/C++ variables, `extern` means that the variable is defined in an
another unit. Added a new N_LIB_EXPORT_VAR to correctly export
variables.
|
| |
|
|
|
|
| |
(#13234) [ci skip]
|
|
|
|
| |
(#13231) [ci skip]
|
| |
|
| |
|