summary refs log tree commit diff stats
path: root/lib/impure
Commit message (Collapse)AuthorAgeFilesLines
* fix #9771 (#14357)Bung2020-05-151-5/+5
| | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com>
* Fail quickly if re or nre module is attempted to be compiled with js ↵Kaushal Modi2020-05-142-1/+6
| | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 .
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-4/+4
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* change some Exceptions to CatchableError or Defect, fixes #10288 (#14069)hlaaftana2020-04-221-1/+1
|
* fix #7241 (#13779)itsumura-h2020-04-031-0/+5
| | | finalize() should run in insert()
* Deprecate DCE:on (#13839)Juan Carlos2020-04-022-3/+0
|
* Add Documentation (#13811)Juan Carlos2020-03-311-2/+8
| | | | * Add more Docs and runnableExamples
* Remove 2 old deprecated files (#13702)Juan Carlos2020-03-202-20/+0
|
* fixes #13654Andreas Rumpf2020-03-161-1/+1
|
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵Timothee Cour2020-03-131-1/+1
| | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
* make nre compile with --gc:arcAraq2020-01-261-66/+54
|
* added note to re constructor regarding performance (#13224)whiterock2020-01-221-1/+5
| | | Since I was new to regex I did not know that there is a compilation going on with ``re"[abc]"`` constructor and so I followed the other examples in the docs blindly, that is I just put the constructor directly in the arguments of match, find, etc., which was inside a loop and then wondered why my performance was so bad. Of course putting it outside the loop made it vastly more performant. People like me would benefit from the small note I added I would think :)
* Check pqntuples > 0 in getValue. Fixes #12973 (#12974)Chris Heller2019-12-291-4/+12
|
* ported re.nim to ARCAraq2019-12-241-1/+10
|
* [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵3n-k12019-11-281-1/+1
| | | | (#12754)
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-2/+4
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* Documentation improvements around the db interface (#12362)Ray Imber2019-10-081-0/+12
| | | | Added more details about the limits and reasoning behind the API. Came about from this discussion on IRC: https://irclogs.nim-lang.org/04-10-2019.html#16:58:04
* use system.move instead of system.shallowCopy if the GC mode requires itAndreas Rumpf2019-10-041-1/+1
|
* [backport] Fix typo in docs (#12356) [ci skip]Andrew Owen2019-10-041-1/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-273-3/+3
|
* rdstdin: remove cruft that shouldn't have been exported or added (#12014)Andreas Rumpf2019-08-231-40/+0
|
* removed unused imports [refactoring]Andreas Rumpf2019-08-081-1/+1
|
* Skip db_postgres.setRow if getRow returns 0 rows (#11859)Chris Heller2019-08-041-2/+4
| | | Fixes nim-lang/Nim#11821
* makes the -d:nimIncremental compiler mode compile againAndreas Rumpf2019-07-271-5/+5
|
* minor style changesAraq2019-07-111-2/+2
|
* [feature] add `unsafeColumnAt` procs, that return unsafe cstring from ↵Huy2019-07-104-1/+21
| | | | InstantRow (#11647)
* Render deprecated pragmas (#8886)LemonBoy2019-06-031-2/+2
| | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random
* db_sqlite: Update documentation (#10330) (#11266)jiro2019-05-191-71/+359
|
* fixes #11139 (re.nim memory leak) (#11265)Miran2019-05-162-2/+1
| | | Use the same PCRE function for freeing up the memory as nre.nim does.
* Fix header inconsistencies in documentation (#11071)Zed2019-04-234-23/+23
|
* Documentation import fixes (#11070)Zed2019-04-211-12/+9
| | | | | | * Move asyncdispatch imports below introduction * Move nre imports below documentation
* live with the hacks, PCRE's design is crapAraq2019-03-192-3/+6
|
* pcre.nim: added pcre_free and removed hacks in nre and re.nimAndreas Rumpf2019-03-192-6/+3
|
* fix replacef typo in exampleKobi2019-02-131-1/+1
|
* Genode fixes (#10491)Emery Hemingway2019-01-291-0/+9
| | | Readline pasthru, add linker to config, do not pass -lm to linker.
* Fix wrong integer types in odbcsql and db_odbc (#10419)pgkos2019-01-221-46/+18
| | | | | * Fix wrong parameter type in SQLErr * Fix wrong types of integers passed to SQLGetData
* Restrict ptr/ref to ptr/ref implicit conversion (#10411)LemonBoy2019-01-221-5/+9
| | | | | | | | * Restrict ptr/ref to ptr/ref implicit conversion Fixes #10409 * Make the ptr conversions explicit in db_odbc
* Remove long deprecated stuff (#10332)Miran2019-01-181-26/+1
|
* fixes #7241Araq2019-01-131-10/+16
|
* make the stdlib work with the changed docgenAraq2019-01-111-4/+4
|
* remove deprecated modules (#10215)Miran2019-01-071-99/+0
| | | | | | | | | | | | | | | | | | * removed from `compiler`: * lists (deprecated 2 years ago) * removed from `lib` (all deprecated 3 years ago): * ssl * matchers * httpserver * removed from `lib/deprecated`: * unsigned * actors (and three accompanying tests) * parseurl * moved to `lib/deprecated`: * securehash (the reason for not directly removing - it was deprecated (only) one year ago)
* Fix ODBC SQL Error string decoding (#10207) [backport]Leonardo Cecchi2019-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ODBC Errors were presented to the users as a sequence of characters. I.e.: >test_oracle.exe Error: ['H', 'Y', '0', '0', '0', '\x00', '\x00', ...] test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError] This patch fix the string decoding, creating a real string: >test_oracle.exe Error: HY000 [Oracle][ODBC][Ora]ORA-12541: TNS:no listener test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError]
* Rework nil/option for nre in light of ""==nilFlaviu Tamas2018-12-112-69/+82
| | | | Fixes #9243
* Revert 7f49364fd0 for nreFlaviu Tamas2018-12-112-7/+11
|
* Improve nre documentation (fixes #9470)Flaviu Tamas2018-11-181-1/+16
|
* removes deprecated T/P typesAraq2018-11-165-6/+0
|
* fix split proc ignored maxsplit argument. Proc split didn't pass maxsplit ↵Denis Lisovik2018-11-111-1/+8
| | | | argument to split iterator
* nre: don't use the deprecated import syntaxAraq2018-10-301-1/+1
|
* actually do ceiling division, not a similar operationClyybber2018-10-281-1/+1
| | | Co-Authored-By: flaviut <tamasflaviu@gmail.com>