ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
September 2016
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
18 participants
342 discussions
Start a n
N
ew thread
[dchapyshev] 72710: [NLS] Add source data for 1006, 1026, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258 codepages
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 20:27:00 2016 New Revision: 72710 URL:
http://svn.reactos.org/svn/reactos?rev=72710&view=rev
Log: [NLS] Add source data for 1006, 1026, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258 codepages Added: trunk/reactos/media/nls/src/c_1006.txt (with props) trunk/reactos/media/nls/src/c_1026.txt (with props) trunk/reactos/media/nls/src/c_1250.txt (with props) trunk/reactos/media/nls/src/c_1251.txt (with props) trunk/reactos/media/nls/src/c_1252.txt (with props) trunk/reactos/media/nls/src/c_1253.txt (with props) trunk/reactos/media/nls/src/c_1254.txt (with props) trunk/reactos/media/nls/src/c_1255.txt (with props) trunk/reactos/media/nls/src/c_1256.txt (with props) trunk/reactos/media/nls/src/c_1257.txt (with props) trunk/reactos/media/nls/src/c_1258.txt (with props) [This mail would be too long, it was shortened to contain the URLs only.] Added: trunk/reactos/media/nls/src/c_1006.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1006.txt?r…
Added: trunk/reactos/media/nls/src/c_1026.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1026.txt?r…
Added: trunk/reactos/media/nls/src/c_1250.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1250.txt?r…
Added: trunk/reactos/media/nls/src/c_1251.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1251.txt?r…
Added: trunk/reactos/media/nls/src/c_1252.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1252.txt?r…
Added: trunk/reactos/media/nls/src/c_1253.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1253.txt?r…
Added: trunk/reactos/media/nls/src/c_1254.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1254.txt?r…
Added: trunk/reactos/media/nls/src/c_1255.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1255.txt?r…
Added: trunk/reactos/media/nls/src/c_1256.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1256.txt?r…
Added: trunk/reactos/media/nls/src/c_1257.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1257.txt?r…
Added: trunk/reactos/media/nls/src/c_1258.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_1258.txt?r…
8 years, 3 months
1
0
0
0
[dchapyshev] 72709: [NLS] Update NLS file for 037, 500, 874, 875 codepages
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 20:17:04 2016 New Revision: 72709 URL:
http://svn.reactos.org/svn/reactos?rev=72709&view=rev
Log: [NLS] Update NLS file for 037, 500, 874, 875 codepages Modified: trunk/reactos/media/nls/c_037.nls trunk/reactos/media/nls/c_500.nls trunk/reactos/media/nls/c_874.nls trunk/reactos/media/nls/c_875.nls trunk/reactos/media/nls/src/c_037.txt trunk/reactos/media/nls/src/c_500.txt trunk/reactos/media/nls/src/c_874.txt trunk/reactos/media/nls/src/c_875.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/media/nls/c_037.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_037.nls?rev=72…
Modified: trunk/reactos/media/nls/c_500.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_500.nls?rev=72…
Modified: trunk/reactos/media/nls/c_874.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_874.nls?rev=72…
Modified: trunk/reactos/media/nls/c_875.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_875.nls?rev=72…
Modified: trunk/reactos/media/nls/src/c_037.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_037.txt?re…
Modified: trunk/reactos/media/nls/src/c_500.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_500.txt?re…
Modified: trunk/reactos/media/nls/src/c_874.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_874.txt?re…
Modified: trunk/reactos/media/nls/src/c_875.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_875.txt?re…
8 years, 3 months
1
0
0
0
[dchapyshev] 72708: [TXT2NLS] TransUniDefaultChar has to be received from WideCharTable. TransDefaultChar has to be received from MultiByteTable (or from DBCS table)
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 20:03:13 2016 New Revision: 72708 URL:
http://svn.reactos.org/svn/reactos?rev=72708&view=rev
Log: [TXT2NLS] TransUniDefaultChar has to be received from WideCharTable. TransDefaultChar has to be received from MultiByteTable (or from DBCS table) Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c trunk/rosapps/applications/devutils/txt2nls/precomp.h trunk/rosapps/applications/devutils/txt2nls/txt.c Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] Sat Sep 17 20:03:13 2016 @@ -131,6 +131,21 @@ /* GLYPHTABLE optionally. We do not leave if it is absent */ glyph_table = txt_get_glyph_table(txt_file_path, header.UniDefaultChar); + if (is_dbcs) + { + /* DBCS codepage */ + uint16_t *table = (uint16_t*)wc_table; + header.TransUniDefaultChar = table[header.UniDefaultChar]; + /* TODO: TransDefaultChar for DBCS codepages */ + } + else + { + /* SBCS codepage */ + uint8_t *table = (uint8_t*)wc_table; + header.TransUniDefaultChar = table[header.UniDefaultChar]; + header.TransDefaultChar = mb_table[LOBYTE(header.DefaultChar)]; + } + #ifdef _NLS_DEBUG_PRINT nls_print_header(&header); nls_print_mb_table(mb_table, header.UniDefaultChar); Modified: trunk/rosapps/applications/devutils/txt2nls/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/precomp.h [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/precomp.h [iso-8859-1] Sat Sep 17 20:03:13 2016 @@ -14,6 +14,8 @@ #include <string.h> #include <ctype.h> #include <memory.h> + +#define LOBYTE(w) ((uint8_t)((uint32_t)(w) & 0xff)) #define MAXIMUM_LEADBYTES 12 Modified: trunk/rosapps/applications/devutils/txt2nls/txt.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/txt.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/txt.c [iso-8859-1] Sat Sep 17 20:03:13 2016 @@ -96,6 +96,7 @@ /* Convert string to uint32_t */ val = strtoul(p, &p, 16); header->DefaultChar = (uint16_t)val; + /* By default set value as DefaultChar */ header->TransDefaultChar = (uint16_t)val; /* Skip all spaces after default char */ @@ -104,6 +105,7 @@ /* Convert string to uint32_t */ val = strtoul(p, &p, 16); header->UniDefaultChar = (uint16_t)val; + /* By default set value as UniDefaultChar */ header->TransUniDefaultChar = (uint16_t)val; found = 1;
8 years, 3 months
1
0
0
0
[dchapyshev] 72707: [NLS] Add source data for 037, 424, 500, 874, 875 codepages
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 19:27:16 2016 New Revision: 72707 URL:
http://svn.reactos.org/svn/reactos?rev=72707&view=rev
Log: [NLS] Add source data for 037, 424, 500, 874, 875 codepages Added: trunk/reactos/media/nls/src/c_037.txt (with props) trunk/reactos/media/nls/src/c_424.txt (with props) trunk/reactos/media/nls/src/c_500.txt (with props) trunk/reactos/media/nls/src/c_874.txt (with props) trunk/reactos/media/nls/src/c_875.txt (with props) [This mail would be too long, it was shortened to contain the URLs only.] Added: trunk/reactos/media/nls/src/c_037.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_037.txt?re…
Added: trunk/reactos/media/nls/src/c_424.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_424.txt?re…
Added: trunk/reactos/media/nls/src/c_500.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_500.txt?re…
Added: trunk/reactos/media/nls/src/c_874.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_874.txt?re…
Added: trunk/reactos/media/nls/src/c_875.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_875.txt?re…
8 years, 3 months
1
0
0
0
[dchapyshev] 72706: [NLS] Update NLS files. Part 1/x
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 19:01:54 2016 New Revision: 72706 URL:
http://svn.reactos.org/svn/reactos?rev=72706&view=rev
Log: [NLS] Update NLS files. Part 1/x Modified: trunk/reactos/media/nls/c_437.nls trunk/reactos/media/nls/c_737.nls trunk/reactos/media/nls/c_775.nls trunk/reactos/media/nls/c_850.nls trunk/reactos/media/nls/c_852.nls trunk/reactos/media/nls/c_855.nls trunk/reactos/media/nls/c_857.nls trunk/reactos/media/nls/c_860.nls trunk/reactos/media/nls/c_861.nls trunk/reactos/media/nls/c_862.nls trunk/reactos/media/nls/c_863.nls trunk/reactos/media/nls/c_864.nls trunk/reactos/media/nls/c_865.nls trunk/reactos/media/nls/c_866.nls trunk/reactos/media/nls/c_869.nls trunk/reactos/media/nls/src/c_437.txt trunk/reactos/media/nls/src/c_737.txt trunk/reactos/media/nls/src/c_775.txt trunk/reactos/media/nls/src/c_850.txt trunk/reactos/media/nls/src/c_852.txt trunk/reactos/media/nls/src/c_855.txt trunk/reactos/media/nls/src/c_857.txt trunk/reactos/media/nls/src/c_860.txt trunk/reactos/media/nls/src/c_861.txt trunk/reactos/media/nls/src/c_862.txt trunk/reactos/media/nls/src/c_863.txt trunk/reactos/media/nls/src/c_864.txt trunk/reactos/media/nls/src/c_865.txt trunk/reactos/media/nls/src/c_866.txt trunk/reactos/media/nls/src/c_869.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/media/nls/c_437.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_437.nls?rev=72…
Modified: trunk/reactos/media/nls/c_737.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_737.nls?rev=72…
Modified: trunk/reactos/media/nls/c_775.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_775.nls?rev=72…
Modified: trunk/reactos/media/nls/c_850.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_850.nls?rev=72…
Modified: trunk/reactos/media/nls/c_852.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_852.nls?rev=72…
Modified: trunk/reactos/media/nls/c_855.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_855.nls?rev=72…
Modified: trunk/reactos/media/nls/c_857.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_857.nls?rev=72…
Modified: trunk/reactos/media/nls/c_860.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_860.nls?rev=72…
Modified: trunk/reactos/media/nls/c_861.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_861.nls?rev=72…
Modified: trunk/reactos/media/nls/c_862.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_862.nls?rev=72…
Modified: trunk/reactos/media/nls/c_863.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_863.nls?rev=72…
Modified: trunk/reactos/media/nls/c_864.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_864.nls?rev=72…
Modified: trunk/reactos/media/nls/c_865.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_865.nls?rev=72…
Modified: trunk/reactos/media/nls/c_866.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_866.nls?rev=72…
Modified: trunk/reactos/media/nls/c_869.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_869.nls?rev=72…
Modified: trunk/reactos/media/nls/src/c_437.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_437.txt?re…
Modified: trunk/reactos/media/nls/src/c_737.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_737.txt?re…
Modified: trunk/reactos/media/nls/src/c_775.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_775.txt?re…
Modified: trunk/reactos/media/nls/src/c_850.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_850.txt?re…
Modified: trunk/reactos/media/nls/src/c_852.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_852.txt?re…
Modified: trunk/reactos/media/nls/src/c_855.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_855.txt?re…
Modified: trunk/reactos/media/nls/src/c_857.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_857.txt?re…
Modified: trunk/reactos/media/nls/src/c_860.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_860.txt?re…
Modified: trunk/reactos/media/nls/src/c_861.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_861.txt?re…
Modified: trunk/reactos/media/nls/src/c_862.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_862.txt?re…
Modified: trunk/reactos/media/nls/src/c_863.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_863.txt?re…
Modified: trunk/reactos/media/nls/src/c_864.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_864.txt?re…
Modified: trunk/reactos/media/nls/src/c_865.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_865.txt?re…
Modified: trunk/reactos/media/nls/src/c_866.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_866.txt?re…
Modified: trunk/reactos/media/nls/src/c_869.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_869.txt?re…
8 years, 3 months
1
0
0
0
[mjansen] 72705: [ATL] Do not corrupt the internal state of the CSimpleArray when allocation fails. Patch by Katayama Hirofumi MZ. CORE-11946 #comment Committed, thanks!
by mjansen@svn.reactos.org
Author: mjansen Date: Sat Sep 17 17:54:16 2016 New Revision: 72705 URL:
http://svn.reactos.org/svn/reactos?rev=72705&view=rev
Log: [ATL] Do not corrupt the internal state of the CSimpleArray when allocation fails. Patch by Katayama Hirofumi MZ. CORE-11946 #comment Committed, thanks! Modified: trunk/reactos/sdk/lib/atl/atlsimpcoll.h Modified: trunk/reactos/sdk/lib/atl/atlsimpcoll.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/atl/atlsimpcoll.h?…
============================================================================== --- trunk/reactos/sdk/lib/atl/atlsimpcoll.h [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/atl/atlsimpcoll.h [iso-8859-1] Sat Sep 17 17:54:16 2016 @@ -182,16 +182,17 @@ { RemoveAll(); - m_nCapacity = src.GetSize(); - - T *pNewData = (T *)realloc(m_pData, m_nCapacity * sizeof(T)); + int nNewCount = src.GetSize(); + + T *pNewData = (T *)realloc(m_pData, nNewCount * sizeof(T)); ATLASSERT(pNewData); if (pNewData == NULL) return *this; // failure - // store new data and capacity + // store new m_pData = pNewData; - m_nCount = m_nCapacity; + m_nCount = nNewCount; + m_nCapacity = nNewCount; } else {
8 years, 3 months
1
0
0
0
[dchapyshev] 72704: [NLS2TXT] Add missed check for default char [TXT2NLS] Size of glyph table in words (create_nls uses wrong size)
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 14:04:32 2016 New Revision: 72704 URL:
http://svn.reactos.org/svn/reactos?rev=72704&view=rev
Log: [NLS2TXT] Add missed check for default char [TXT2NLS] Size of glyph table in words (create_nls uses wrong size) Modified: trunk/rosapps/applications/devutils/nls2txt/bestfit.c trunk/rosapps/applications/devutils/nls2txt/nls.c trunk/rosapps/applications/devutils/txt2nls/nls.c trunk/rosapps/applications/devutils/txt2nls/txt.c Modified: trunk/rosapps/applications/devutils/nls2txt/bestfit.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/nls2…
============================================================================== --- trunk/rosapps/applications/devutils/nls2txt/bestfit.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/nls2txt/bestfit.c [iso-8859-1] Sat Sep 17 14:04:32 2016 @@ -172,15 +172,18 @@ for (CodePageChar = 0; CodePageChar <= 0xFF; CodePageChar++) { - WCHAR szCharName[MAX_STR_LEN] = { 0 }; - - GetUName(GlyphTable[CodePageChar], szCharName); - - BestFit_Write(hFile, - L"0x%02X 0x%04X ;%s\r\n", - CodePageChar, - GlyphTable[CodePageChar], - szCharName); + if (CodePageChar != CodePageTable.UniDefaultChar) + { + WCHAR szCharName[MAX_STR_LEN] = { 0 }; + + GetUName(GlyphTable[CodePageChar], szCharName); + + BestFit_Write(hFile, + L"0x%02X 0x%04X ;%s\r\n", + CodePageChar, + GlyphTable[CodePageChar], + szCharName); + } } BestFit_Write(hFile, L"\r\n"); Modified: trunk/rosapps/applications/devutils/nls2txt/nls.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/nls2…
============================================================================== --- trunk/rosapps/applications/devutils/nls2txt/nls.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/nls2txt/nls.c [iso-8859-1] Sat Sep 17 14:04:32 2016 @@ -62,7 +62,7 @@ hFile = CreateFile(pszFile, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL); if (hFile != INVALID_HANDLE_VALUE) { - PUSHORT pData = NULL; + PUSHORT pData; DWORD dwRead; DWORD dwFileSize; Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] Sat Sep 17 14:04:32 2016 @@ -178,7 +178,7 @@ } /* OEM glyph table size in words */ - size = (glyph_table ? (256 * sizeof(uint16_t)) : 0); + size = (glyph_table ? 256 : 0); if (fwrite(&size, 1, sizeof(size), file) != sizeof(size)) { Modified: trunk/rosapps/applications/devutils/txt2nls/txt.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/txt.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/txt.c [iso-8859-1] Sat Sep 17 14:04:32 2016 @@ -140,7 +140,7 @@ int res = 0; FILE *file; - table = malloc(0xFF * sizeof(uint16_t)); + table = malloc(256 * sizeof(uint16_t)); if (!table) { printf("Memory allocation failure\n"); @@ -148,7 +148,7 @@ } /* Set default value for all table items */ - for (index = 0; index <= 0xFF; index++) + for (index = 0; index <= 255; index++) table[index] = uni_default_char; file = fopen(file_path, "r"); @@ -254,7 +254,7 @@ int found; FILE *file; - table = malloc(0xFFFF * (is_dbcs ? sizeof(uint16_t) : sizeof(uint8_t))); + table = malloc(65536 * (is_dbcs ? sizeof(uint16_t) : sizeof(uint8_t))); if (!table) { printf("Memory allocation failure\n"); @@ -262,7 +262,7 @@ } /* Set default value for all table items */ - for (index = 0; index <= 0xFFFF; index++) + for (index = 0; index <= 65535; index++) { /* DBCS code page */ if (is_dbcs) @@ -393,7 +393,7 @@ int res = 0; FILE *file; - table = malloc(0xFF * sizeof(uint16_t)); + table = malloc(256 * sizeof(uint16_t)); if (!table) { printf("Memory allocation failure\n"); @@ -401,7 +401,7 @@ } /* Set default value for all table items */ - for (index = 0; index <= 0xFF; index++) + for (index = 0; index <= 255; index++) table[index] = uni_default_char; file = fopen(file_path, "r");
8 years, 3 months
1
0
0
0
[dchapyshev] 72703: [NLS] Update nls files for 437 and 775 codepages * Fixes 16 tests for ntdll:RtlGenerate8dot3Name
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 12:41:29 2016 New Revision: 72703 URL:
http://svn.reactos.org/svn/reactos?rev=72703&view=rev
Log: [NLS] Update nls files for 437 and 775 codepages * Fixes 16 tests for ntdll:RtlGenerate8dot3Name Modified: trunk/reactos/media/nls/c_437.nls trunk/reactos/media/nls/c_775.nls trunk/reactos/media/nls/src/c_437.txt trunk/reactos/media/nls/src/c_775.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/media/nls/c_437.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_437.nls?rev=72…
Modified: trunk/reactos/media/nls/c_775.nls URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/c_775.nls?rev=72…
Modified: trunk/reactos/media/nls/src/c_437.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_437.txt?re…
Modified: trunk/reactos/media/nls/src/c_775.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_775.txt?re…
8 years, 3 months
1
0
0
0
[dchapyshev] 72702: [NLS] Added source data for NLS files (generated by nls2txt from our files)
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 12:29:49 2016 New Revision: 72702 URL:
http://svn.reactos.org/svn/reactos?rev=72702&view=rev
Log: [NLS] Added source data for NLS files (generated by nls2txt from our files) Added: trunk/reactos/media/nls/src/ trunk/reactos/media/nls/src/c_437.txt (with props) trunk/reactos/media/nls/src/c_737.txt (with props) trunk/reactos/media/nls/src/c_775.txt (with props) trunk/reactos/media/nls/src/c_850.txt (with props) trunk/reactos/media/nls/src/c_852.txt (with props) trunk/reactos/media/nls/src/c_855.txt (with props) trunk/reactos/media/nls/src/c_857.txt (with props) trunk/reactos/media/nls/src/c_860.txt (with props) trunk/reactos/media/nls/src/c_861.txt (with props) trunk/reactos/media/nls/src/c_862.txt (with props) trunk/reactos/media/nls/src/c_863.txt (with props) trunk/reactos/media/nls/src/c_864.txt (with props) trunk/reactos/media/nls/src/c_865.txt (with props) trunk/reactos/media/nls/src/c_866.txt (with props) trunk/reactos/media/nls/src/c_869.txt (with props) [This mail would be too long, it was shortened to contain the URLs only.] Added: trunk/reactos/media/nls/src/c_437.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_437.txt?re…
Added: trunk/reactos/media/nls/src/c_737.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_737.txt?re…
Added: trunk/reactos/media/nls/src/c_775.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_775.txt?re…
Added: trunk/reactos/media/nls/src/c_850.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_850.txt?re…
Added: trunk/reactos/media/nls/src/c_852.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_852.txt?re…
Added: trunk/reactos/media/nls/src/c_855.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_855.txt?re…
Added: trunk/reactos/media/nls/src/c_857.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_857.txt?re…
Added: trunk/reactos/media/nls/src/c_860.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_860.txt?re…
Added: trunk/reactos/media/nls/src/c_861.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_861.txt?re…
Added: trunk/reactos/media/nls/src/c_862.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_862.txt?re…
Added: trunk/reactos/media/nls/src/c_863.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_863.txt?re…
Added: trunk/reactos/media/nls/src/c_864.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_864.txt?re…
Added: trunk/reactos/media/nls/src/c_865.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_865.txt?re…
Added: trunk/reactos/media/nls/src/c_866.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_866.txt?re…
Added: trunk/reactos/media/nls/src/c_869.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/nls/src/c_869.txt?re…
8 years, 3 months
1
0
0
0
[dchapyshev] 72701: [TXT2NLS] Write correct size for wide char table
by dchapyshev@svn.reactos.org
Author: dchapyshev Date: Sat Sep 17 12:18:28 2016 New Revision: 72701 URL:
http://svn.reactos.org/svn/reactos?rev=72701&view=rev
Log: [TXT2NLS] Write correct size for wide char table Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c Modified: trunk/rosapps/applications/devutils/txt2nls/nls.c URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/devutils/txt2…
============================================================================== --- trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] (original) +++ trunk/rosapps/applications/devutils/txt2nls/nls.c [iso-8859-1] Sat Sep 17 12:18:28 2016 @@ -213,7 +213,7 @@ } /* Write wide char table */ - if (fwrite(wc_table, 1, (65535 * header.MaximumCharacterSize), file) != (65535 * header.MaximumCharacterSize)) + if (fwrite(wc_table, 1, (65536 * header.MaximumCharacterSize), file) != (65536 * header.MaximumCharacterSize)) { printf("Unable to write NLS file.\n"); goto Cleanup;
8 years, 3 months
1
0
0
0
← Newer
1
...
14
15
16
17
18
19
20
...
35
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Results per page:
10
25
50
100
200