Commit graph

68677 commits

Author SHA1 Message Date
Alexander Shaposhnikov
a2bf4ef201 [RAPPS] Renamed CmdParser to UseCmdParameters
svn path=/branches/GSoC_2017/rapps/; revision=75813
2017-09-09 19:41:08 +00:00
Alexander Shaposhnikov
3bb7be0c59 [RAPPS] resource.h: Added missing space
svn path=/branches/GSoC_2017/rapps/; revision=75812
2017-09-09 19:13:35 +00:00
Alexander Shaposhnikov
991801248f [RAPPS] Deleted installdlg.cpp as unused
svn path=/branches/GSoC_2017/rapps/; revision=75811
2017-09-09 19:12:41 +00:00
Alexander Shaposhnikov
840044411f [RAPPS] Settings Dialog changes
- replaced `static` with unnamed namespace (static in this context was deprecated in C++03)
- fixed `Choose Folder` dialog text not loading the first time (trivial)

svn path=/branches/GSoC_2017/rapps/; revision=75810
2017-09-09 19:11:04 +00:00
Alexander Shaposhnikov
94e82f5f37 [RAPPS] Replaced double ternary operators with one if for readability
svn path=/branches/GSoC_2017/rapps/; revision=75809
2017-09-09 17:50:31 +00:00
Alexander Shaposhnikov
d733214459 [RAPPS] Library load fixup in crichedit.h
svn path=/branches/GSoC_2017/rapps/; revision=75808
2017-09-09 17:40:39 +00:00
Alexander Shaposhnikov
40b95d2e89 [RAPPS] Merged two Installed and Available enum values into one enum
svn path=/branches/GSoC_2017/rapps/; revision=75761
2017-09-03 21:10:24 +00:00
Alexander Shaposhnikov
1b21bb0fc5 [RAPPS] Complete renaming
svn path=/branches/GSoC_2017/rapps/; revision=75760
2017-09-03 21:03:06 +00:00
Alexander Shaposhnikov
a73e3ef3a3 [RAPPS] Amendment: undo renaming in loaddlg.cpp
svn path=/branches/GSoC_2017/rapps/; revision=75759
2017-09-03 20:48:53 +00:00
Alexander Shaposhnikov
49ec689c2d [RAPPS] Formatting fixes
- CAvailableApplicationInfo: added m_ prefixes to members
- CAvailableApps: renamed EnumAvailableApplications to Enum
- Renamed LICENSE_TYPE enum to LicenseType and renamed enum values
- unattended.cpp: Added license header

svn path=/branches/GSoC_2017/rapps/; revision=75758
2017-09-03 20:37:14 +00:00
Alexander Shaposhnikov
e949d212ca [RAPPS] Removed unecessary inline in crichedit.h
svn path=/branches/GSoC_2017/rapps/; revision=75756
2017-09-03 20:23:44 +00:00
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