Commit graph

25 commits

Author SHA1 Message Date
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Eric Kohl 2c1c8e2f94 [INTL]
Fix GetDateSetting() overruns.
Patch by Victor Martinez Calvo.
CORE-13387

svn path=/trunk/; revision=74940
2017-06-07 13:48:49 +00:00
Eric Kohl d4b437e4ee [INTL]
- Get rid of the individual getter funtions. Use GetSelectedComboBoxIndex for all CBS_DROPDOWNLIST comboboxes and GetSelectedComboBoxText for all CBS_DROPDOWN comboboxes.
- Check the relevant settings only!
- Rename SetXxxSettings to GetXxxSettings because it is a getter function.
- Handle the bogus WM_COMMAND/EN_CHANGE message that is sent when the IDC_SECONDYEAR_EDIT edit control is initialized. Controls should NEVER send notifications when they are modified programmatically! :-/

svn path=/trunk/; revision=74488
2017-05-06 14:41:50 +00:00
Eric Kohl 3ac350cfe0 [INTL]
Changed locale options doesn't reload correctly before next reboot.
- Added SetNumberSetting, SetCurrencySetting, SetDateSetting and SetTimeSetting functions to get and check values.
- Don't directly change pGlobalData.
- Post WM_WININICHANGE after all changes have been applied.
Based on a patch by Katayama Hirofumi MZ.
CORE-10170

svn path=/trunk/; revision=74487
2017-05-06 13:43:03 +00:00
Eric Kohl a526c712b5 [INTL]
- Get rid of alloca, malloc and free.
- Always check the return values of HeapAlloc.
- Rename fUserLocaleChanged to bUserLocaleChanged and fGeoIdChanged to bGeoIdChanged.
- Use WCHAR instead of TCHAR.
- Fix indentation and coding style.
- Remove setupreg.c because it is an unused copy of misc.c.

svn path=/trunk/; revision=74434
2017-04-30 15:39:41 +00:00
Eric Kohl b0c11b7004 [INTL]
Update date and time examples according to the current settings.
CORE-10074

svn path=/trunk/; revision=69497
2015-10-11 15:21:25 +00:00
Eric Kohl b099514289 [INTL]
- Improve the internal locale storage. Replace the array of strings by a customized struct.
- Implement the locale customization properly. The customization property sheet modifies the internal locale storage rather than the registry. Now, cancelling changes works properly.

CORE-10074

svn path=/trunk/; revision=69449
2015-10-04 21:57:03 +00:00
Eric Kohl 0634e43fab [INTL]
- Unicodify the CPL. Get rid of <tchar.h>.
- Pass a pointer to all getter and setter functions of the customization property sheet pages.
- Remove the "Property of" text from the property sheets.
- Convert "SendMessage(GetDlgItem(..." to "SendDlgItemMessage(...".

svn path=/trunk/; revision=69308
2015-09-20 19:00:10 +00:00
Kamil Hornicek 7fe5a44dfa [INTL]
- fix a leak
- fix a buffer overrun
CID #503741
CID #716119

svn path=/trunk/; revision=62685
2014-04-08 00:14:44 +00:00
Amine Khaldi d09f611410 [INTL]
* Localize the message boxes that contained hardcoded strings. 
* Create PrintErrorMsgBox() to reduce code duplication for the error messages.
* Brought to you by Lee Schroeder.
CORE-7339 #resolve #comment Committed in r61926. Cheers !

svn path=/trunk/; revision=61926
2014-02-02 19:31:07 +00:00
Hermès Bélusca-Maïto 157aa32663 [REACTOS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Fixed in revision r58744. Thanks :)

svn path=/trunk/; revision=58744
2013-04-13 21:28:10 +00:00
Hermès Bélusca-Maïto fbb7f7727c Remove the unneeded $Id$ blabla from the source code, but not in 3rd party code. (Part 6/8) (N == 8)
svn path=/trunk/; revision=58525
2013-03-16 20:25:38 +00:00
Hermès Bélusca-Maïto 0823512b4a - Remove ALL the unneeded "author date id revision" svn properties.
- Remove the erroneous svn:eol-syle or svn:eol-stlye properties (and replace them by svn:eol-style)

svn path=/trunk/; revision=58489
2013-03-13 23:50:08 +00:00
Dmitry Gorbachev 267dcf71eb [SOLITAIRE]
Change "Ok/Cancel" to "Yes/No". Lee Schroeder (=spaceseel=AT=gmail=DOT=com=), bug #6606.

[CPL][WIN32K]
Fix indentation, comments, debug messages. 
Lioncash (=mathew1800=AT=gmail=DOT=com=), bug #6562, bug #6621.

svn path=/trunk/; revision=54535
2011-11-29 14:55:58 +00:00
Amine Khaldi e47940a886 [INTL]
* Use intl.h as a PCH.

svn path=/trunk/; revision=52956
2011-07-28 14:54:48 +00:00
Dmitry Gorbachev f2e942714d Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.
svn path=/trunk/; revision=43821
2009-10-28 23:20:28 +00:00
Dmitry Gorbachev 145fbbd116 - Update address of Free Software Foundation.
- Update obsolete LGPL v2 to LGPL v2.1.

svn path=/trunk/; revision=43790
2009-10-27 10:34:16 +00:00
Johannes Anderwald 2799b51019 - fix changing time format garbles the clock output
- patch by Carlo Bramix and Alwyn Tar
- fix potential buffer overflows by me
- bug 2437

svn path=/trunk/; revision=33335
2008-05-06 20:51:07 +00:00
Johannes Anderwald 81de8eeb8d - prevent buffer overflow
- zero initialize value to prevent random values being returned from unimplemented GetCalendarInfoA|W
- fixes bug 2918
See issue #2918 for more details.

svn path=/trunk/; revision=31507
2007-12-30 22:14:04 +00:00
Daniel Reimer ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Eric Kohl f9e9cc03c6 - Enumerate short and long date formats.
- Use the currently selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28998
2007-09-10 22:16:01 +00:00
Eric Kohl edc540afb1 - Enumerate time formats.
- The user must able to change the locale id. Move it into a global structure.
- User the selected locale id instead of LOCALE_USER_DEFAULT.

svn path=/trunk/; revision=28996
2007-09-10 20:46:27 +00:00
Eric Kohl 63d106c29f - Replace the hardcoded calls to Unicode-Functions. Use the module configuration to build a Unicode version instead.
- Cleaned up a lot of coding-style and indentation issues.
- No code changes.

svn path=/trunk/; revision=28876
2007-09-05 14:24:45 +00:00
Aleksey Bragin 3a3645aa1e Dmitry Chapyshev <lentind@yandex.ru>:
- Improve intl.cpl, include almost all code from intl_new branch (it's pending for deletion now)
 - ReactOS's intl.cpl now works and behaves similar to Windows XP's intl.cpl, only the last tab is unfinished
 - Tested in Windows and ReactOS (in ROS it obviously has reduced functionality, since some of needed registry entries are absent)
 - As a result, all other languages (other than en-us) need to be re-translated.

svn path=/trunk/; revision=28786
2007-09-02 20:42:08 +00:00
Ged Murphy d22f0829eb reshuffling of dlls
svn path=/trunk/; revision=21033
2006-02-17 00:40:44 +00:00
Renamed from reactos/lib/cpl/intl/date.c (Browse further)