Commit Graph

621 Commits

Author SHA1 Message Date
a0a18277da libimg: tiff: Don't rely on EOI tag at the end of the strip.
Reference implementation (libtiff) has a workaround: precalculate data
size of the strip and don't rely on EOI tag of specific bit length.

This allow to read some invalid TIFF LZW images by my old scanner.

git-svn-id: svn://kolibrios.org@7735 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-07 12:54:18 +00:00
633d75c969 libini: Fix ini.del_section to not lose the last byte of a file.
git-svn-id: svn://kolibrios.org@7705 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-12-04 22:44:16 +00:00
b51d135d5c libcrash: Sync with upstream.
* Add oneshot wrappers.
* Move tables to data section.
* Add/rename macros and fix their use in ssh.

git-svn-id: svn://kolibrios.org@7698 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-10-21 22:33:41 +00:00
bb04fe3a77 boxlib/progressbar: Fix imul overflow, use 32*32 mul.
git-svn-id: svn://kolibrios.org@7671 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-06-18 19:24:22 +00:00
Kirill Lipatov (Leency)
1203d7f120 compress images by Andrey Oskin
git-svn-id: svn://kolibrios.org@7670 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-06-10 08:44:54 +00:00
IgorA
2ef19ac48c add new functions in open dialog,
fix programs info3ds, info3ds_u

git-svn-id: svn://kolibrios.org@7616 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-23 08:31:59 +00:00
IgorA
a6277573f7 tedit: add case sensitive
git-svn-id: svn://kolibrios.org@7583 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-02-05 21:02:30 +00:00
IgorA
c30f9415d3 t_edit:
1) add keys Ctrl+H, Ctrl+G
2) update panels code

git-svn-id: svn://kolibrios.org@7579 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-29 20:02:48 +00:00
IgorA
cb0f3625e7 t_edit: add function ted_but_replace, fix code
git-svn-id: svn://kolibrios.org@7577 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-23 22:08:19 +00:00
IgorA
16292e542a t_edit: update found functions
git-svn-id: svn://kolibrios.org@7576 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-21 11:39:35 +00:00
IgorA
6eefd8e3f5 add save files Ctrl+S and Ctrl+Shift+S
git-svn-id: svn://kolibrios.org@7571 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-08 16:22:08 +00:00
pathoswithin
a4f526b924 editbox ctrl-a support
git-svn-id: svn://kolibrios.org@7558 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-19 10:21:18 +00:00
c7f696b50f Libimg: Fix bug with 16-bit BMP padding.
git-svn-id: svn://kolibrios.org@7523 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-03 17:36:45 +00:00
hidnplayr
7d7d3e9e76 Bigger default buffer size, add API to change buffer size.
git-svn-id: svn://kolibrios.org@7512 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-30 21:27:01 +00:00
IgorA
f14a437031 new style for cursor position in 'tree_list'
git-svn-id: svn://kolibrios.org@7508 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-30 13:03:22 +00:00
Kirill Lipatov (Leency)
8a77c84962 boxlib edit_box: do not display pgup, pgdown press
fptc: fix for Tab press when no field selected
table 0.99: proper behaviour when cell is edited, use scancodes

git-svn-id: svn://kolibrios.org@7507 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-29 18:16:01 +00:00
b00bl1k
9bdda6b839 box_lib: correct filter for win keys in editbox
git-svn-id: svn://kolibrios.org@7502 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-24 19:41:08 +00:00
Kirill Lipatov (Leency)
71c41f577d mouse_cfg: fix for double click (thanks 0CodErr for bug found)
boxlib->editbox: filter super (windows) key
table: continue code refactoring


git-svn-id: svn://kolibrios.org@7500 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-23 15:29:05 +00:00
IgorA
17f128e429 add [Ctrl+X] for cut text in 't_edit'
git-svn-id: svn://kolibrios.org@7497 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-21 20:10:31 +00:00
0CodErr
8bde880daf add InputBox examples
git-svn-id: svn://kolibrios.org@7457 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-13 07:54:18 +00:00
0CodErr
71deddc20d fix mistake in tupfile
git-svn-id: svn://kolibrios.org@7454 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-13 07:31:05 +00:00
0CodErr
92a4fd84b8 fix mistake in tupfile
git-svn-id: svn://kolibrios.org@7453 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-13 07:25:20 +00:00
0CodErr
9fc5706307 upload InputBox library
git-svn-id: svn://kolibrios.org@7452 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-13 07:22:43 +00:00
Kirill Lipatov (Leency)
fc5e7644b9 Knight game: update by lev
Palitra: save noisy state
Game_center: use tricky binnary to save 4.5 Kb
Mp3Info: upload version 0.7



git-svn-id: svn://kolibrios.org@7423 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-01 18:19:57 +00:00
Kirill Lipatov (Leency)
dd9e50c167 KIV: save desktop image set by IgorA
Palitra: save desktop colors set by IgorA
Docky: no close by Alt+F4
IconNew: fix system hang when use an icon with number >99 by GerdtR
Gears (TinyGL asm): add key description to window, uncomment zoom code, add key shortcut "+" for zoom-in
TinyGL asm images: much better compression, for instance, TEXT_2.PNG from 235Kb to 106Kb without any visible degradation


git-svn-id: svn://kolibrios.org@7421 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-01 15:18:07 +00:00
0CodErr
fa3e0cb007 fix crash when copy\paste
git-svn-id: svn://kolibrios.org@7404 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-22 07:58:01 +00:00
0CodErr
b3b3090ff8 Reset Shift flags after Shift+Backspace
git-svn-id: svn://kolibrios.org@7400 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-20 14:13:25 +00:00
hidnplayr
9e23672659 Network library: fix typos (mass rename)
git-svn-id: svn://kolibrios.org@7297 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-07-01 10:42:27 +00:00
hidnplayr
078acfa312 Updated debug output for HTTP library.
git-svn-id: svn://kolibrios.org@7296 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-07-01 10:40:55 +00:00
IgorA
c87db09b6e libimg: fix save small png images
git-svn-id: svn://kolibrios.org@7279 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-15 16:43:23 +00:00
2c778124e3 Remove some duplicates: proc32.inc, macros.inc, struct.inc, etc.
git-svn-id: svn://kolibrios.org@7134 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 00:51:00 +00:00
IgorA
7dad6439fe box_lib: fix clear cursor in 'editbox'
info3ds: crop zeros after floating point

git-svn-id: svn://kolibrios.org@7128 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-10 17:34:39 +00:00
0895e300ed Add -fgnu89-inline to menuetlibc related files.
One can't build programs that use menuetlibc and the library itself with
the latest toolchain from Serge because new GCC assumes C99 inline
semantics. Fix it by passing -fgnu89-inline option to such programs.

git-svn-id: svn://kolibrios.org@7112 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-18 03:24:17 +00:00
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