Commit graph

68666 commits

Author SHA1 Message Date
Alexander Shaposhnikov
9be376d93f [RAPPS] Fixed newline in de-DE.rc
svn path=/branches/GSoC_2017/rapps/; revision=75754
2017-09-03 19:52:38 +00:00
Alexander Shaposhnikov
be9184dfa6 [RAPPS] Adjusted splitter values a bit. CORE-13163
svn path=/branches/GSoC_2017/rapps/; revision=75718
2017-08-30 22:22:38 +00:00
Alexander Shaposhnikov
409b9f317c [RAPPS] Fixed resizing issues. CORE-13163
svn path=/branches/GSoC_2017/rapps/; revision=75710
2017-08-30 07:59:27 +00:00
Alexander Shaposhnikov
153d823dc2 [RAPPS] Final commit
- Removed atlex

svn path=/branches/GSoC_2017/rapps/; revision=75702
2017-08-28 15:12:23 +00:00
Alexander Shaposhnikov
3f0ba7a08e [RAPPS] RC of final commit
- Hide checkboxes in "Installed"

svn path=/branches/GSoC_2017/rapps/; revision=75686
2017-08-27 00:00:45 +00:00
Alexander Shaposhnikov
15a86cdf6a [RAPPS]
- Fixed crash when trying to double-click in the "Installed" category
- Replaced APPLICATION_INFO with CAvailableApplicationInfo
- Added DownloadInfo struct as a replacement of APPLICATION_INFO in CDownloadManager
- Minor fixes

svn path=/branches/GSoC_2017/rapps/; revision=75684
2017-08-26 22:43:05 +00:00
Alexander Shaposhnikov
b6ba25a4da [RAPPS]
- Fixed typo in lang/ru-RU.rc

svn path=/branches/GSoC_2017/rapps/; revision=75683
2017-08-26 22:35:29 +00:00
Alexander Shaposhnikov
0430bfa868 [RAPPS]
- Fixed switching between "Installed" and "Available"
- Added default icon to "Installed"

svn path=/branches/GSoC_2017/rapps/; revision=75681
2017-08-26 19:41:09 +00:00
Alexander Shaposhnikov
93010e2e08 [RAPPS]
- Revert s_EnumInstalledAppProc()

svn path=/branches/GSoC_2017/rapps/; revision=75680
2017-08-26 17:52:55 +00:00
Alexander Shaposhnikov
9fa8155e7c [RAPPS]
- Amend last commit - added gui.h

svn path=/branches/GSoC_2017/rapps/; revision=75679
2017-08-26 17:42:21 +00:00
Alexander Shaposhnikov
c3baad9f4f [RAPPS]
- Removed hard-coded string leftover
- Re-enabled Installed category

svn path=/branches/GSoC_2017/rapps/; revision=75678
2017-08-26 16:49:18 +00:00
Alexander Shaposhnikov
5842c7c6d4 [RAPPS]
- Added language strings to all .rc
- Replaced hardcoded strings with resource counterparts
- Fixed settings loading always default
- Fixed force update not working
- Removed hInst from LoadStringW() where possible

svn path=/branches/GSoC_2017/rapps/; revision=75673
2017-08-26 08:39:42 +00:00
Alexander Shaposhnikov
94406ba5bc [RAPPS]
- HACKFIX for ReactOS in gui.cpp - prevent counting below zero
  see explanation comment
- Fix for percentage being shown incorrectly

svn path=/branches/GSoC_2017/rapps/; revision=75664
2017-08-24 23:48:10 +00:00
Alexander Shaposhnikov
aa15934f23 [RAPPS]
Changes in the update process:
- Made UpdateAppsDB() functions static and added ForceUpdateAppsDB()
- EnumAvailableApplications() doesn't update DB on it's own
- Force updating now done only if bUpdateAtStart set or if no settings loaded (first run)
- Minor cleanup

svn path=/branches/GSoC_2017/rapps/; revision=75662
2017-08-24 22:04:44 +00:00
Alexander Shaposhnikov
f65f506032 [RAPPS]
- Clean up the DB directory if extracting failed

svn path=/branches/GSoC_2017/rapps/; revision=75660
2017-08-24 21:56:27 +00:00
Alexander Shaposhnikov
c41df30066 [RAPPS]
- Changed the download process - now ThreadFunc handles the download loop
- Passing values to ThreadFunc as a parameter rather than static members
- Declared .cab download AppInfo static so it won't fade away during the download
- Fixed .cab extraction failing while no rapps folder present
- Visual improvements to the .cab dialog

svn path=/branches/GSoC_2017/rapps/; revision=75659
2017-08-24 18:46:39 +00:00
Alexander Shaposhnikov
bf41db72f6 [RAPPS]
- Correct the build process

svn path=/branches/GSoC_2017/rapps/; revision=75614
2017-08-18 16:38:28 +00:00
Alexander Shaposhnikov
9f9cf93785 [RAPPS]
- Style changes, typo fixes etc.

svn path=/branches/GSoC_2017/rapps/; revision=75560
2017-08-15 22:35:45 +00:00
Alexander Shaposhnikov
0a7403c03b [RAPPS]
- Quit CmdParser() as soon as no valid key supplied

svn path=/branches/GSoC_2017/rapps/; revision=75559
2017-08-15 21:39:21 +00:00
Alexander Shaposhnikov
96d2f529a5 [RAPPS]
- Close the INF file after loading the info

svn path=/branches/GSoC_2017/rapps/; revision=75558
2017-08-15 20:47:10 +00:00
Alexander Shaposhnikov
5af894b102 [RAPPS]
- Added the icon provided by Pi_User5

svn path=/branches/GSoC_2017/rapps/; revision=75556
2017-08-15 19:39:20 +00:00
Alexander Shaposhnikov
14be048f6f [RAPPS]
- Changed "/SETUP" key to "/INSTALL"
- Added support for multiple apps install by "/INSTALL"
  rapps /INSTALL 7-Zip AkelPad [...]
- Added INF based batch install with the "/SETUP" key
  Works for the full path for the .inf file
  TODO: detect if user entered the relative path for the inf and correct it
- Moved CmdParser to include/unattended.h and unattended.cpp

svn path=/branches/GSoC_2017/rapps/; revision=75555
2017-08-15 19:36:23 +00:00
Alexander Shaposhnikov
a59f6f7573 [RAPPS]
- Added headers to CMake file to have them in the VS project

svn path=/branches/GSoC_2017/rapps/; revision=75543
2017-08-14 17:04:43 +00:00
Alexander Shaposhnikov
69d1dbb371 [RAPPS]
- Added /SETUP key support 
  TODO: use the short names from db files
- Some style changes
- Conditional creation of the dialogs

svn path=/branches/GSoC_2017/rapps/; revision=75542
2017-08-14 17:00:20 +00:00
Alexander Shaposhnikov
9293dbee23 [RAPPS]
- Refactoring
- A template for a future parameters parser

svn path=/branches/GSoC_2017/rapps/; revision=75512
2017-08-08 21:32:11 +00:00
Alexander Shaposhnikov
284762155e [RAPPS]
- Split the rapps.h into multiple headers for easier managing
- Moved headers to include/
- Corrected some typos and moved functions around

svn path=/branches/GSoC_2017/rapps/; revision=75469
2017-08-02 12:50:53 +00:00
Alexander Shaposhnikov
af150f51fd [RAPPS] Incorrect "C" symbol replaced in the rest of the files
svn path=/branches/GSoC_2017/rapps/; revision=75435
2017-07-28 22:43:58 +00:00
Alexander Shaposhnikov
0169546588 [RAPPS] Incorrect symbol replaced (why was it there though)
svn path=/branches/GSoC_2017/rapps/; revision=75434
2017-07-28 22:42:00 +00:00
Alexander Shaposhnikov
e3fdbe5806 [RAPPS] Bulk install!
- Added ListView class
- Added ListView to a dialog
  Dialog shows the install progress of individual apps. It also waits for an installator to finish before issuing another download-install cycle.
- Fixed: Downloads pointing to "\"
- Fixed: Selection data is not retrieved correctly
- Yet again replacing some macros to wide functions
- Minor improvements

svn path=/branches/GSoC_2017/rapps/; revision=75433
2017-07-28 22:37:24 +00:00
Alexander Shaposhnikov
084ec8dee3 [RAPPS]
- Added DownloadManager class (static for now)
- Multiple selection launches multiple download dialogs
  (Checkbox selection has a priority over Selection when clicking Install)
  *A preperation for lauching a single dialog with a list of apps*
- Show currently installing app in the dialog window

svn path=/branches/GSoC_2017/rapps/; revision=75417
2017-07-27 09:02:42 +00:00
Alexander Shaposhnikov
9b5e78353a [RAPPS]
- A quick fix for counter - used a list that is not updated prior to the message

svn path=/branches/GSoC_2017/rapps/; revision=75413
2017-07-26 17:27:34 +00:00
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