ringabout
3d2f0e2c7c
make more standard libraries work with nimPreviewSlimSystem ( #20343 )
...
* make more standard libraries work with `nimPreviewSlimSystem`
* typo
* part two
* Delete specutils.nim
* fixes more tests
* more fixes
* fixes tests
* fixes three more tests
* add formatfloat import
* fix
* last
2022-09-27 20:06:23 +02:00
David Krause
cda77c1520
use OrderedTable instead of OrderedTableRef for mimedb ( #19522 )
...
* use OrderedTable instead of OrderedTableRef for mimedb
Signed-off-by: David Krause <enthus1ast@users.noreply.github.com>
* added changelog entry for mimedb change
Signed-off-by: David Krause <enthus1ast@users.noreply.github.com>
2022-02-14 08:56:35 +01:00
Bung
429b128632
change mimedb stroe stringtable to orderedtable ( #18065 )
...
* change mimedb stroe stringtable to orderedtable
* Update lib/pure/mimetypes.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2021-06-07 13:57:42 +02:00
Danil Yarantsev
285539c87a
Replace double backticks with single backticks - Part 4 out of ~7 ( #17216 )
2021-03-01 18:00:58 -08:00
Timothee Cour
fee5fbc722
fix #16703 ; revert most of #16480 ; add tests/stdlib/tmimetypes.nim ( #16711 )
2021-01-13 14:52:59 -08:00
Juan Carlos
1d2e2b5a5b
Add mimetypes.mimesLongest ( #16480 )
...
* Allow single alloc mimetypes ops
* Allow single alloc mimetypes ops
* Update lib/pure/mimetypes.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190
* https://github.com/nim-lang/Nim/pull/16480#issuecomment-753349661
* update changelog
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
2021-01-02 08:10:38 +01:00
Andreas Rumpf
ddff13f01b
better strict funcs, WIP ( #15199 )
...
* better strict funcs, WIP
* progress
2020-08-18 12:45:22 +02:00
Juan Carlos
42d2c3088e
Add Documentation ( #13811 )
...
* Add more Docs and runnableExamples
2020-03-31 15:47:57 +02:00
narimiran
34d0be2ec1
[backport] run nimpretty on os-related stuff
2019-09-30 13:58:15 +02:00
Juan Carlos
3d13103443
[bugfix] Add .nimf to mimetypes ( #11417 )
2019-06-11 16:46:15 +02:00
Juan Carlos
b3ffbac93c
Return result when found instead of keep iterating for no reason the whole mimedb on mimetypes module ( #10675 )
2019-02-15 08:42:13 +01:00
Juan Carlos
33ddc21057
Lowercase ext before querying the mimedb on mimetypes module, change isMainModule to runnableExamples ( #10644 )
2019-02-12 01:22:04 -05:00
Juan Carlos
6cd3fff093
Update mimetypes ( #10621 )
...
* Update mimetypes const mimes, Fix for Nim mimetypes to recognize Nim and Nimble
2019-02-11 11:44:49 +01:00
Zachary Carter
9379f9353a
Add application/wasm to mimetypes.nim ( #8389 )
...
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```
http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
2018-07-21 21:42:07 +02:00
Araq
bbb0fd4eb7
remove deprecated stuff from the stdlib; introduce better deprecation warnings
2018-05-05 21:45:07 +02:00
Araq
e2787c557c
mimetypes improvement: make mimetypes easier to use by allowing the extension to start with a dot which is what splitFile().ext returns
2017-11-28 17:34:30 +01:00
Araq
8be9e46403
udpated the compiler and tester to use getOrDefault
2015-10-13 14:10:33 +02:00
Oleh Prypin
22db40e5e4
Turn some test outputs into actual tests
2015-04-21 15:59:32 +03:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Araq
11b6958755
big rename
2014-08-27 23:42:51 +02:00
dom96
d6ae98a652
Fixed a bug in times and finished its docs. Added mimetypes module and added the uri module to the doc gen. Fixed a bug in the cookies module.
2012-05-13 14:38:59 +01:00