Commit Graph

588 Commits

Author SHA1 Message Date
6cf659fe71 libimg: add img.from_file, refactor img.convert.
Add new function, img.from_file: gets file name and returns decoded Image.
Make img.convert code less spaghetti: use jump table, not a chain of jmp's.


git-svn-id: svn://kolibrios.org@7105 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-31 21:33:52 +00:00
hidnplayr
909a57ee08 HTTP_escape, HTTP_unescape, check for end of buffer.
git-svn-id: svn://kolibrios.org@7101 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 21:18:36 +00:00
hidnplayr
2929037935 Updated readme.
git-svn-id: svn://kolibrios.org@7094 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-14 09:47:21 +00:00
hidnplayr
55a5bd1941 Fix possible page error while receiving chunked data.
git-svn-id: svn://kolibrios.org@7091 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-13 22:15:00 +00:00
hidnplayr
824c13ffef Iconv: add ISO-8859-1 support. (Second most popular encoding on the web today.)
git-svn-id: svn://kolibrios.org@7085 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-10 22:05:43 +00:00
hidnplayr
9378825c03 Iconv: add proper KOI8-R support.
git-svn-id: svn://kolibrios.org@7084 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-10 21:54:05 +00:00
ashmew2
2a1ffc595b Treat KOI8-R same as KOI8-RU
git-svn-id: svn://kolibrios.org@7079 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-10 15:20:09 +00:00
ashmew2
da7cd23cb8 iconv(): Reborn
Fix issues when getting from and to encodings from iconv descriptor in iconv()
Make iconv() simpler to understand
Make iconv() more systematic and fix some issues along the way
Implement errno setting based on return values from converters (*.h files like utf8.h).
Add Windows-1251 handling as CP1251.




git-svn-id: svn://kolibrios.org@7057 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-08 11:58:56 +00:00
IgorA
478054d8c2 fix crash opendial if corrypt filter
git-svn-id: svn://kolibrios.org@7048 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-04 13:16:04 +00:00
ashmew2
bd2c40668c Fix Tupfile.lua : Use sources from contrib newlib
git-svn-id: svn://kolibrios.org@7047 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 22:00:44 +00:00
ashmew2
879f0b8aa0 Fix Tupfile.lua
git-svn-id: svn://kolibrios.org@7046 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 21:58:42 +00:00
ashmew2
71ef8794b4 Ignore case while comparing encoding names
git-svn-id: svn://kolibrios.org@7045 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 21:56:34 +00:00
ashmew2
f44791aeb7 More fixes for iconv
git-svn-id: svn://kolibrios.org@7044 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 19:57:02 +00:00
IgorA
c5e4924194 't_edit' small fix copy to clipboard
git-svn-id: svn://kolibrios.org@7036 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-30 18:05:24 +00:00
0CodErr
7f7bf0ddcf fix macro edit_boxes_set_sys_color
git-svn-id: svn://kolibrios.org@7034 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-29 11:25:51 +00:00
0CodErr
8fdfad3d3c fix macro edit_boxes_set_sys_color
git-svn-id: svn://kolibrios.org@7033 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-29 08:16:53 +00:00
0CodErr
53e4e81a16 little fix for #7019
git-svn-id: svn://kolibrios.org@7021 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-27 16:53:21 +00:00
0CodErr
d56009135c fix for prev.
git-svn-id: svn://kolibrios.org@7020 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-27 16:45:42 +00:00
0CodErr
e5fc65ee68 fix macro edit_boxes_set_sys_color
git-svn-id: svn://kolibrios.org@7019 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-27 16:43:50 +00:00
ashmew2
4e43c1647f Show EAI code when getaddrinfo() failed
git-svn-id: svn://kolibrios.org@7009 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-24 21:26:43 +00:00
hidnplayr
c115b27b86 HTTP library POST method example: use HTTP_send function
git-svn-id: svn://kolibrios.org@7008 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-24 20:37:53 +00:00
ashmew2
df2ada42d5 Update outbuf pointer when converting
git-svn-id: svn://kolibrios.org@7007 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-24 17:59:54 +00:00
hidnplayr
a70c9b8117 Fix some debug message priorities.
git-svn-id: svn://kolibrios.org@7006 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-23 21:27:30 +00:00
ashmew2
073a91d371 Disregard //TRANSLIT or //IGNORE in encodings
git-svn-id: svn://kolibrios.org@7005 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-23 19:36:45 +00:00
0CodErr
f76a3dc90b remove unnecessary reserved symbols
git-svn-id: svn://kolibrios.org@7001 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-20 17:20:36 +00:00
0CodErr
4765b12e72 delete selection before paste and no copy\cut if no selection
git-svn-id: svn://kolibrios.org@6994 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-18 18:59:24 +00:00
IgorA
ec2d075e74 clean code 'optionbox' and 'treelist'
git-svn-id: svn://kolibrios.org@6972 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-12 13:56:36 +00:00
0CodErr
a1a44f3b0e Implemented Ctrl+X handler in EditBox
git-svn-id: svn://kolibrios.org@6968 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-09 15:27:54 +00:00
0CodErr
85f4e052f7 a bit improve ctrl+C\ctrl+V
git-svn-id: svn://kolibrios.org@6965 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-08 08:27:34 +00:00
hidnplayr
ea9c1a36c9 HTTP library, small refactoring, extra debug info.
git-svn-id: svn://kolibrios.org@6921 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-11 10:50:58 +00:00
ashmew2
950ddc2a93 iconv: fix case for target and source encoding being same
git-svn-id: svn://kolibrios.org@6894 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-13 18:28:22 +00:00
ashmew2
5ac8ef4526 Add Windows-1252 (CP1252) to iconv library
git-svn-id: svn://kolibrios.org@6892 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-12 20:26:26 +00:00
IgorA
dc5527c5ca update docs sys function 54.1
git-svn-id: svn://kolibrios.org@6891 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-29 09:12:39 +00:00
IgorA
c162817dfc add filter 'paeth', fix in 'build_bl_tree'
git-svn-id: svn://kolibrios.org@6888 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-18 09:45:38 +00:00
IgorA
6bc316c46e fix continue crc calculation in 'archiver.obj'
git-svn-id: svn://kolibrios.org@6883 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-06 06:42:07 +00:00
ashmew2
696f882fc3 Add iconv_close() to iconv library
git-svn-id: svn://kolibrios.org@6882 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-05 22:18:38 +00:00
IgorA
ff3cee003b small fixes
git-svn-id: svn://kolibrios.org@6881 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-31 18:34:26 +00:00
IgorA
c5ce2bec50 fix calculation 'adler32',
other small fixes

git-svn-id: svn://kolibrios.org@6873 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-04 19:17:49 +00:00
IgorA
19552bad79 fix r6860, small change in 'libimg.obj'
git-svn-id: svn://kolibrios.org@6870 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-02-28 18:02:53 +00:00
741b6ad89c img.scale and img.convert fix for multiframe images
new function: img.get_scaled_size


git-svn-id: svn://kolibrios.org@6807 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-22 23:29:25 +00:00
IgorA
2c0a9cbf44 optimize struct 'z_stream'
git-svn-id: svn://kolibrios.org@6797 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-14 14:54:51 +00:00
IgorA
4f831a4d79 checkbox: clean code
picdev: fix names

git-svn-id: svn://kolibrios.org@6789 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-07 11:06:54 +00:00
IgorA
f097bebc8f editbox: clean code
git-svn-id: svn://kolibrios.org@6788 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-07 08:31:30 +00:00
IgorA
9a564b1fbf fix compress size
git-svn-id: svn://kolibrios.org@6780 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-03 19:06:49 +00:00
IgorA
cdfe44d0b7 fix, optimize, clean code
git-svn-id: svn://kolibrios.org@6779 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-02 16:13:46 +00:00
IgorA
c83f800bbe View3ds 0.068: Editing option - new 'editor' button [by macgub]
git-svn-id: svn://kolibrios.org@6769 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-30 10:24:07 +00:00
IgorA
e73f2a8659 optimize 'libimg.obj',
fix in 'zlib.obj',
animage can save '*.png' files

git-svn-id: svn://kolibrios.org@6741 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-23 09:11:10 +00:00
Kirill Lipatov (Leency)
f26b88fc9a move tinygl.obj to /sys/lib, fix path
git-svn-id: svn://kolibrios.org@6737 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-22 12:21:04 +00:00
Kirill Lipatov (Leency)
64b1d5344a move cubeline to ISO, add "fasm -m 32768" into libimg Tupfile
git-svn-id: svn://kolibrios.org@6734 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-21 20:12:44 +00:00
IgorA
722650c58d libimg can save 24-bit *.png images
git-svn-id: svn://kolibrios.org@6733 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-21 16:00:11 +00:00