aboutsummaryrefslogtreecommitdiff
path: root/src/mime.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: Remove the executable permission bit from some source files (#434)Tianjia Zhang2024-06-291-0/+0
|
* style: Use C-style comment syntax throughout (#309)Caleb Maclennan2022-03-181-4/+4
| | | Co-authored-by: Denise Cullassnekuff <19711487+BlackCutpoint@users.noreply.github.com>
* mime: include reorgE. Westbrook2019-03-101-6/+2
|
* Fix formatting.Diego Nehab2019-03-101-3/+3
|
* Use static initializationDiego Nehab2019-03-091-9/+143
| | | | This helps with multi-threaded apps.
* mime.c: use LUASOCKET_APIE. Westbrook2019-02-251-1/+1
|
* Update to Visual Studio 2017.Diego Nehab2018-08-221-1/+1
|
* Fix gcc-8.1.0 warning.Joris Clement2018-08-061-0/+1
|
* New compat.h module implements luaL_setfuncs.Diego Nehab2015-08-211-8/+1
| | | | Makes initialization code simpler everywhere.
* Merge pull request #119 from gatzka/masterDiego Nehab2015-03-031-10/+10
|\ | | | | Make casts const correct.
| * Make casts const correct.Stephan Gatzka2014-12-211-10/+10
| |
* | Better solution to luaL_checkint...Diego Nehab2015-03-011-6/+1
| |
* | Out of the box support for Lua 5.3.Diego Nehab2015-02-181-50/+55
|/
* Export global only if LUA_COMPAT_MODULE defined.Diego Nehab2013-05-291-6/+2
|
* Build with Lua 5.2 without LUA_COMPAT_MODULE flag.moteus2013-05-271-0/+9
| | | | LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
* Remove warnings and fix makefile for Win32.Diego Nehab2012-12-111-4/+4
|
* Fix HORRIBLE but in b64/qp code.Diego Nehab2012-08-011-0/+8
| | | | | | | Bug was caught by user moteus. Code was checking if arguments was nil after using luaL_Buffer code, which messes with the stack. Simple to fix, though.
* Making progress toward a releaseDiego Nehab2012-04-231-2/+0
| | | | | | | | | | Documented headers.lua Update copyright date everywhere Remove RCSID from files Move version back to 2.1 rather than 2.1.1 Fixed url package to support ipv6 hosts Changed "domain" to "family" in tcp and udp structures Implemented getfamily methods
* Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs ↵Liam Devine2012-04-111-15/+15
| | | | sorting out to take maybe a version number and also the local paths need removing.
* Fix two crashes and add -Wshadow so that this can't happen again.Paul Aurich2012-04-111-22/+22
| | | | | The two crashes are the s/const char *// changes in tcp.c. The rest is cleanup so it will build.
* Preliminary IPv6 support for v2.1Diego Nehab2012-04-111-1/+1
|
* Decent makefiles!Diego Nehab2009-05-271-2/+8
|
* Changed prefix of function names to match module names.Diego Nehab2005-11-201-32/+25
| | | | Removed some warnings and useless code.
* Almost ready to release.Diego Nehab2005-09-291-2/+9
|
* Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.Diego Nehab2005-08-231-1/+1
| | | | | Implemented a nice dispatcher! Non-blocking check-links and forward server use the dispatcher.
* Using core.so instead of csocket.so and cmime.so.Diego Nehab2005-06-171-1/+1
|
* Forward server working on Mac OS X...Diego Nehab2005-02-081-2/+2
|
* Few extra changes...Diego Nehab2005-01-021-1/+1
|
* LTN12 bug removed.Diego Nehab2004-11-281-1/+6
|
* Fine tunned modules scheme.Diego Nehab2004-10-111-1/+1
| | | | | Adjusted client modules. Fixed proxy bug in http.
* Using new module scheme. Still needs fine tuning.Diego Nehab2004-09-271-6/+3
|
* smtp.c was eatten by mime.cDiego Nehab2004-06-171-0/+48
|
* Compiled and tested on Windows...Diego Nehab2004-06-171-7/+0
|
* Fixed smtp.lua loading.Diego Nehab2004-06-161-2/+2
| | | | | Adjusted tftp module. Added some comments.
* Manual is almost done. HTTP is missing.Diego Nehab2004-06-151-1/+11
| | | | | | | Implemented new distribution scheme. Select is now purely C. HTTP reimplemented seems faster dunno why. LTN12 functions that coroutines fail gracefully.
* Só pra não perder se der merda.Diego Nehab2004-06-041-4/+2
|
* Updated projects for windows to generate dlls.Diego Nehab2004-05-301-1/+1
|
* Fine tuning the "require" business.Diego Nehab2004-05-301-2/+1
|
* Committing with require.Diego Nehab2004-05-281-5/+5
|
* FTP low-level working.Diego Nehab2004-05-251-31/+19
| | | | | SMTP connection oriented working. ltn12 improved.
* Changed receive function. Now uniform with all other functions. Returns nilDiego Nehab2004-03-211-15/+13
| | | | | | on error, return partial result in the end. http.lua rewritten.
* New filter scheme.Diego Nehab2004-03-161-42/+95
| | | | | ltn12 and mime updated. smtp/ftp broken.
* Bug in mime.c initialization. Popping too much.Diego Nehab2004-02-121-1/+0
|
* Added ltn12 module. Modified mime to be stand alone.Diego Nehab2004-02-111-45/+39
| | | | Still crashes on invalid input. Dunno why.
* Worked on the manual.Diego Nehab2004-02-041-73/+65
| | | | | Implemented stuffing (needs test) Added cddb and qp examples.
* Working on the manual...Diego Nehab2004-01-241-8/+8
| | | | | | Making better tests for error messages. Changed a few names. Moved gethostname to inet.c.
* Changed the naming convention of the mime module.Diego Nehab2004-01-211-31/+49
| | | | Looks beautiful.
* Got rid of some of the typecasts...Diego Nehab2004-01-191-19/+19
|
* Added -ansi -pedantic and faced the consequences...Diego Nehab2004-01-191-37/+42
|
* Updated some of the callbacks in callback.lua.Diego Nehab2004-01-191-0/+614
Update get.lua to use the new callbacks. The old "code" module is now the "mime" module. Updated all modules that depended on it. Updated url.lua to use the new namespace scheme, and moved the escape and unescape functions that used to be in the code.lua module to it, since these are specific to urls. Updated the callback entries in the manual.