Commit graph

68635 commits

Author SHA1 Message Date
Alexander Shaposhnikov ec9d05004b [RAPPS] Making checkboxes useful WIP
- Added selection counter
  *NOTE: This requires changes in lang files*
- Added Sellect/Desellect button functionality
- Fixed some typos and macros-to-wide-functions

svn path=/branches/GSoC_2017/rapps/; revision=75411
2017-07-26 13:30:46 +00:00
Alexander Shaposhnikov 1866b89100 [RAPPS] Improvements & multiple selections
- Improved translations view - storing LCIDs now
- Added checkboxes on list view and Select All button (although they do nothing just yet)
- Made download dialogs nonmodal (yay, download and install multiple apps at once!)
- Minor code improvements

svn path=/branches/GSoC_2017/rapps/; revision=75384
2017-07-20 22:57:48 +00:00
Alexander Shaposhnikov bbc5642138 [RAPPS] Fixed multiple redraws of the apps list
svn path=/branches/GSoC_2017/rapps/; revision=75376
2017-07-19 11:35:46 +00:00
Alexander Shaposhnikov f07567454b [RAPPS] Translations
- Implemented HasNativeLanguage() and HasEnglishLanguage()
- Moved config parser to it's own class CConfigParser
- Added translation strings

svn path=/branches/GSoC_2017/rapps/; revision=75375
2017-07-19 10:39:03 +00:00
Alexander Shaposhnikov ce70e3c89b [RAPPS] Refactoring & bugfixes
- Made a bunch of classes for Available apps;
- Removed unnessesary GetBuffer calls;
- Set a bit higher minimum height for RichEdit;
- Added "Single" indicator for the Languages to show that the translation available is the only one;
- Small style changes.

svn path=/branches/GSoC_2017/rapps/; revision=75373
2017-07-18 22:52:51 +00:00
Alexander Shaposhnikov f2b68a0423 [ATL] [3RDPARTY] Updated & moved atlex to sdk/lib/3rdparty
svn path=/branches/GSoC_2017/rapps/; revision=75361
2017-07-16 15:38:38 +00:00
Alexander Shaposhnikov 5db3c35fc8 [RAPPS] Showing info from Languages sectin
- Created dummies & added new string resources
- lang/uk-UA.rc: translated all strings
- crichedit.h: safe text add

svn path=/branches/GSoC_2017/rapps/; revision=75334
2017-07-13 22:01:02 +00:00
Alexander Shaposhnikov e01bd5a80f [RAPPS] Language loading
- RAPPS now can load language list from a file where locale identifiers are separated by '|'
  `Language=0C09|0813|0422 \\English|Dutch|Ukrainian`
The only limitation is that the parameter is only 260 chars.
So there arises another goal - multiline parameters
- This list is stored in `CSimpleArray<CStringW>` as strings
Maybe it would be wiser to store them as INT array.
- Some refactoring

svn path=/branches/GSoC_2017/rapps/; revision=75328
2017-07-13 15:29:53 +00:00
Alexander Shaposhnikov 8e4e422ba7 [RAPPS] More code improvements
- Replaced some functions with their Wide versions
- Generalized `GetInstalledVersion` function so it could accept NULL
- Minor cleanup

svn path=/branches/GSoC_2017/rapps/; revision=75324
2017-07-12 22:59:26 +00:00
Alexander Shaposhnikov c4527e3a56 [SDK] Added atlex for future use
- atlex is ATL wrappers for WINAPI functions
- It is header-only library licensed under GPLv3
- For details see https://github.com/Amebis/atlex 

svn path=/branches/GSoC_2017/rapps/; revision=75319
2017-07-11 22:08:48 +00:00
Alexander Shaposhnikov 8f622b4bd0 [ATL]
- Added missing operator+=

svn path=/branches/GSoC_2017/rapps/; revision=75318
2017-07-11 21:58:31 +00:00
Alexander Shaposhnikov 09da413dc8 [RAPPS] Fixes
- Minor style improvements
- Not resizing with GetBuffer() calls where not nessesary
- loaddlg.cpp: Wrong logic fixed
- rosui.h: Fixed length determination

svn path=/branches/GSoC_2017/rapps/; revision=75317
2017-07-10 22:45:53 +00:00
Alexander Shaposhnikov c8a43ce2d1 [RAPPS] Some fixes
- winmain.cpp, loaddlg.cpp, installed.cpp: 
  Changed string-related opreations
- installed.cpp: Fixed buffer sizing when calling RegQueryValueExW()
- misc.cpp: Removed unused function
- rosui.h: Made use of GetWindowTextLength()
        

svn path=/branches/GSoC_2017/rapps/; revision=75316
2017-07-10 22:26:01 +00:00
Alexander Shaposhnikov cf469e4f74 [RAPPS] Extensive conversion to ATL and general improvements
* Converted most of the WCHAR buffers to ATL::CStringW
* available.cpp: replaced C heap list with ATL::CAtlList
* Improved style consistency
* Added myself to the headers
* Other improvements

svn path=/branches/GSoC_2017/rapps/; revision=75315
2017-07-10 21:02:24 +00:00
Alexander Shaposhnikov d555cfe80a [RAPPS] StringCbCatW => StringCchCatW, sizeof() => _countof()
:(

svn path=/branches/GSoC_2017/rapps/; revision=75241
2017-06-29 19:31:19 +00:00
Alexander Shaposhnikov f1d019a00a [RAPPS] winmain.cpp: sizeof instead of _countof
svn path=/branches/GSoC_2017/rapps/; revision=75240
2017-06-29 19:22:13 +00:00
Alexander Shaposhnikov 096c811846 [RAPPS] Fixed default "Download" folder default. Now defaults to "RAPPS Downloads" folder in user Documents or installation drive.
svn path=/branches/GSoC_2017/rapps/; revision=75239
2017-06-29 18:57:52 +00:00
Alexander Shaposhnikov 82f11f1d0b [RAPPS] Update check, license type
* Added LicenseType numeric field in the RAPPS DB files. 
  Values mean: 1 - open source, 2 - freeware, 3 - trial/demo
  The existing License field will be used to contain the license name itself.
* Finished version parser and update check.
  Now RAPPS can suggest an update.
* Added new strings to lang/en-US.rc, lang/ru-RU.rc, lang/uk-UA.rc

svn path=/branches/GSoC_2017/rapps/; revision=75233
2017-06-29 14:17:16 +00:00
Alexander Shaposhnikov de725c5391 [FORMATTING][RAPPS] available.cpp: Fix braces
svn path=/branches/GSoC_2017/rapps/; revision=75220
2017-06-27 23:33:15 +00:00
Alexander Shaposhnikov 17e36ed120 [RAPPS]
* Separated available and installed version. 
  If the app is installed it's DisplayVersion is shown.
* Reduced registry key access checks
* Version parser WIP

svn path=/branches/GSoC_2017/rapps/; revision=75219
2017-06-27 23:21:58 +00:00
Alexander Shaposhnikov 928e1c0ba3 [RAPPS]
* Reduced "installed" check - checks only for the key inself and not the DisplayName.
  Blazing fast!
* Added installed version getter
* Added version parser function (without definition yet).
  Meant to support versions like 1.2.3.4.
* rapps.h: Added #pragma once

svn path=/branches/GSoC_2017/rapps/; revision=75211
2017-06-26 22:07:43 +00:00
Alexander Shaposhnikov 5582a642ef [RAPPS]
* available.cpp: Replaced macros with inline functions.
* gui.cpp: Fixed typo.

svn path=/branches/GSoC_2017/rapps/; revision=75190
2017-06-25 01:09:00 +00:00
Alexander Shaposhnikov 53a7a45ec6 [RAPPS]
* Added individual icons loading for each app 
  The icons are loaded by the Name field in the DB for the proof-of-concept.
  It falls back to default icon if none present. 
  TODO: It would be best to make another entry there for icon name.

svn path=/branches/GSoC_2017/rapps/; revision=75168
2017-06-23 07:04:43 +00:00
Alexander Shaposhnikov 8b189b4be3 [RAPPS]
* Added constants in resource.h for stringtables
* Removed "Installed apps" from the TreeView
* Added intallation status to the RichEdit using existing check
* Changed IsInstalledApplication signature to accept access righta 
  This is needed for the 64 bit systems.

svn path=/branches/GSoC_2017/rapps/; revision=74920
2017-06-04 21:36:14 +00:00
Alexander Shaposhnikov 18da595008 [RAPPS]
* Added STRINGTABLE entries for installation status in en-US.rc and ru-RU.rc

svn path=/branches/GSoC_2017/rapps/; revision=74771
2017-06-03 17:20:07 +00:00
Hermès Bélusca-Maïto 7ee1b6a5f5 Code styling:
[NDK]: Make a #define value look less "magical".
[ARC]: Write "BaseDllName" using the regular case used in other parts of ReactOS' code.

svn path=/trunk/; revision=74644
2017-05-24 23:52:56 +00:00
Hermès Bélusca-Maïto d452b9b684 [FSLIB]: Minor fixes:
- Stub and export VfatxChkdsk();
- Sync and fix the file code headers;
- In the libs, use NTAPI instead of WINAPI;
- Use 4-space indentation (instead of tabs).

svn path=/trunk/; revision=74643
2017-05-24 23:32:46 +00:00
Benedikt Freisen bc7078eaf3 [MSPAINT]
- Determine and adapt to actual status bar height instead of assuming a fixed height.  This improves theme support.

svn path=/trunk/; revision=74642
2017-05-24 19:31:43 +00:00
Giannis Adamopoulos c04750f246 [WIN32l:NTGDI] -Check the return value IntGetOutlineTextMetrics and stop using garbage from the pool in case of error. CORE-13089, CORE-12752
svn path=/trunk/; revision=74633
2017-05-23 09:40:07 +00:00
Giannis Adamopoulos d7e4f26d1a [WIN32K] -Simplify the parameters passed to GetFontPenalty and FindBestFontFromList. Make SubstituteFontRecurse update a LOGFONT and get rid of some needless allocations.
svn path=/trunk/; revision=74630
2017-05-22 18:17:49 +00:00
Thomas Faber bb1fb70eb3 [CMLIB]
- Fix an assert that only works by chance

svn path=/trunk/; revision=74628
2017-05-22 13:48:11 +00:00
Thomas Faber ea547f81f4 [NTOS:MM]
- In MmDumpArmPfnDatabase, actually print all usage buckets to provide a complete and verifiable view of the database

svn path=/trunk/; revision=74627
2017-05-22 13:37:44 +00:00
Thomas Faber d855861c41 [NTOS:MM]
- Make PFN tracing work... somewhat

svn path=/trunk/; revision=74626
2017-05-22 13:30:44 +00:00
Thomas Faber b0da8bcfdf [CALC]
- Remove Czech koruna from currency conversions... their exchange rate is not a constant
- While here, add new Euro currencies, and improve the accuracy of some conversion rates

svn path=/trunk/; revision=74625
2017-05-22 13:13:45 +00:00
Thomas Faber 88a76ad2f0 [HHPCOMP]
- Avoid casting pointers to 'unsigned long'

svn path=/trunk/; revision=74624
2017-05-22 12:50:08 +00:00
Thomas Faber 945dd20eae [HAL]
- Correctly prepare the I/O port map for V86 mode by making HalpSavedIoMap actually point to it instead of to the parent structure. Fixes boot with video BIOS code that relies on I/O ports FF00 through FFFF.
CORE-13306 #resolve

svn path=/trunk/; revision=74623
2017-05-22 12:20:31 +00:00
Giannis Adamopoulos 7fe1fd0766 [WIN32K] -Reduce the ridiculous number of string allocations done by FindBestFontFromList and GetFontPenalty. CORE-13274
svn path=/trunk/; revision=74613
2017-05-21 16:47:07 +00:00
Mark Jansen 275c4e77d8 [WIN32SS] Improve IntGetFontLocalizedName by less strict matching on language id's. Patch by Katayama Hirofumi MZ. CORE-13239 #comment Thanks!
svn path=/trunk/; revision=74612
2017-05-21 12:24:57 +00:00
Mark Jansen 562561d422 [KERNEL32] Format the stack trace generated on an unhandled exception so that log2lines can parse it. CORE-13232 #resolve
svn path=/trunk/; revision=74611
2017-05-21 11:31:56 +00:00
Mark Jansen 9c22d4b0b8 [SHIMS] Add IgnoreDebugOutput shim CORE-10369
svn path=/trunk/; revision=74610
2017-05-20 20:22:25 +00:00
Mark Jansen 817f78086f [BOOTDATA] Create an empty HKLM\...\AppCompatFlags\Layers key to silence logging.
svn path=/trunk/; revision=74609
2017-05-20 20:06:46 +00:00
Mark Jansen 4f86a02439 [SLAYER] Remove the shell extension. CORE-13111 #resolve
svn path=/trunk/; revision=74608
2017-05-20 19:58:04 +00:00
Mark Jansen 153601c7a2 [WIN32SS] Reduce the amount of calls to IntGetFontLocalizedName, since this was identified as a source of recent slower drawing. CORE-13274
Thanks to Thomas, Giannis and Joachim.

svn path=/trunk/; revision=74607
2017-05-20 18:59:00 +00:00
Eric Kohl 019092990f [INF]
Make code page and language group names translatable.
CORE-11885

svn path=/trunk/; revision=74606
2017-05-20 13:46:48 +00:00
Thomas Faber c1c815b13d [WIN32K:NTGDI]
- Simplify list walk in FindBestFontFromList

svn path=/trunk/; revision=74605
2017-05-20 12:11:08 +00:00
Eric Kohl a51b9dd514 [INF]
Make language (locale) names translatable.
CORE-11885

svn path=/trunk/; revision=74604
2017-05-20 09:53:15 +00:00
Thomas Faber c52bb16926 [HAL]
- Fix a broken DPRINT

svn path=/trunk/; revision=74603
2017-05-19 21:37:50 +00:00
Mark Jansen f64b823282 [GDI32_APITEST] Improve GetFontResourceInfoW tests. Patch by Katayama Hirofumi MZ. ROSTESTS-269 #resolve #comment Thanks!
svn path=/trunk/; revision=74602
2017-05-19 20:26:49 +00:00
Mark Jansen bbe72b0163 [APPHELP] Initial implementation of ApphelpCheckRunAppEx. CORE-10368
svn path=/trunk/; revision=74601
2017-05-19 20:13:08 +00:00
Thomas Faber a9757a1ab0 [NTDLL:LDR]
- Fix logic error in LdrpInit that caused us to busy-wait instead of sleep. This makes LibreOffice start up in a few seconds instead of sitting around at 100% CPU for a minute or two.
CORE-13268 #resolve

svn path=/trunk/; revision=74600
2017-05-19 19:11:14 +00:00