Don Ho
246c8bd168
[UPDATE] Unprecompile headers (part 3)
2015-06-02 18:01:47 +02:00
milipili
d09947d22d
Scintilla: Buffer: fixed invalid read via strlen when loading a file
...
When loading a file via `FileManager::loadFileData`, a fixed-length buffer
is filled via `fread`. Then, in some cases, a conversion is done with the help
of `Utf8_16_Read`. However, the method `Utf8_16_Read::convert` performs a call
to `strlen` on this buffer. This is obviously wrong: `\0` char should be
accepted (even if a bit strange) and the buffer is not zero-terminated.
The changes merely consist in adding an additional parameter `length` to
not have to guess the size of the buffer.
2015-05-30 21:28:51 +02:00
Don Ho
c866075f58
[BUG_FIXED] (Author: Dave Brotherstone) Fix UTF-8 (w/o BOM) detection bug.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1092 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-31 11:35:43 +00:00
Don Ho
6264ef03d0
[ENHANCEMENT] Code optimization.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
b0f47da58b
[BUG_FIXED] (Author: Jens Lorenz) Fix a detection error of UTF16 file from a binary file.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1046 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-20 18:03:56 +00:00
Don Ho
5be72543f8
[BUG_FIXED] (Author: François-R Boyer) Fix saving UCS-2 text file corrupted bug.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@671 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-09-25 18:14:22 +00:00
Don Ho
6d161a269e
[BUG_FIXED] Fix xml/html encoding overrides BOM if present.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@597 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-01-17 23:13:06 +00:00
Don Ho
f5cca1add9
[BUG_FIXED] Fix getting fonts problem under Chines/Korean/Japanese environment.
...
[BUG_FIXED] Fix wrong File encoding auto-detection problem : binary file is detected as UTF-16 big-endian.
[UPDATE] (Author : Christian Cuvier) Update NppHelp to v5.5.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@539 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-19 21:43:11 +00:00
Don Ho
0c490dc55a
[ENHANCE] Thanks to Jocelyn Legault (precompiled headers), the build time is sped up.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@529 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-04 00:10:01 +00:00
Don Ho
9867d7b578
[NEW_FEATURE] Detect UTF16 encoding (BE and LE) w/o BOM.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@473 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-29 18:07:30 +00:00
Don Ho
4dd3b257e0
Moved PowerEditor in trunk remotely
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@460 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:34:47 +00:00