mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Finally got precompiled headers to work.
Now all C++ files need to #include <util/prec.hpp>
That is why all .cpp files are touched by this commit
Many changes to installers and update checking:
- the window is now called PackagesWindow, in a new source file
- update checking is now independent from the PackagesWindow. For update checking only a list of package versions are needed (vector<PackageDependency>). This is much less information to download at each startup.
- the list of available packages is now a list of available Installers, since an installer can contain multiple packages.
- moved the logic of dependency checking etc. to data/installer
- moved the actual installation to util/io/package_manager
- moved directory iteration/creation logic to util/file_utils
- added PackageDirectory: the local and global package directory now have their own object (was part of PackageManager)
- added PackageVersion: for detecting if a package has been modified after it was installed.
- added PackageDescription: description/header of a package. Basicly the same as what Packaged provides.
- added DownloadableInstaller: where to find an insaller, what does it contain?
- added InstallablePackage: brining it all together: installer, package, status, action.
Current status: the insaller is currently broken in a few places, more on that soon.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@792 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+46
-11
@@ -1,6 +1,8 @@
|
||||
mse version: 0.3.5
|
||||
mse version: 0.3.6
|
||||
installer group: locales
|
||||
full name: English
|
||||
version: 2007-09-23
|
||||
icon: usgb.png
|
||||
|
||||
############################################################## Menu items
|
||||
menu:
|
||||
@@ -92,13 +94,6 @@ menu:
|
||||
basic shapes: &Basic Shapes F8
|
||||
symmetry: S&ymmetry F9
|
||||
paint: P&aint F10
|
||||
|
||||
# Updates window
|
||||
apply changes: Apply changes
|
||||
cancel changes: Cancel changes
|
||||
install package: Install package
|
||||
upgrade package: Upgrade package
|
||||
remove package: Remove package
|
||||
|
||||
############################################################## Menu help texts
|
||||
help:
|
||||
@@ -458,6 +453,23 @@ label:
|
||||
|
||||
# Symbol editor
|
||||
sides: sides
|
||||
|
||||
# Packages window
|
||||
package name: Package
|
||||
package installed version: Installed version
|
||||
package remote version: Latest version
|
||||
package status: Status
|
||||
package action: Action
|
||||
|
||||
package conflicts: conflicting modifications
|
||||
package modified: local modifications
|
||||
package updates: updates available
|
||||
package installed: installed
|
||||
package installable: not installed
|
||||
install package: install
|
||||
upgrade package: upgrade
|
||||
remove package: remove
|
||||
|
||||
|
||||
############################################################## Buttons/checkboxes/choices in the GUI
|
||||
button:
|
||||
@@ -515,6 +527,15 @@ button:
|
||||
defaults: Reset to &Defaults
|
||||
enabled: Enabled
|
||||
whole word: Match whole word only
|
||||
|
||||
# Packages window
|
||||
install package: &Install
|
||||
upgrade package: &Upgrade
|
||||
remove package: &Remove
|
||||
install group: &Install All
|
||||
upgrade group: &Upgrade All
|
||||
remove group: &Remove All
|
||||
|
||||
|
||||
############################################################## Titles in the GUI
|
||||
title:
|
||||
@@ -639,9 +660,7 @@ error:
|
||||
dependency not given:
|
||||
The package '%s' uses files from the package '%s', but it does not list a dependency.
|
||||
To resolve this, add:
|
||||
depends on:
|
||||
package: %s
|
||||
version: %s
|
||||
depends on: %s %s
|
||||
|
||||
# Script stuff
|
||||
has no member: %s has no member '%s'
|
||||
@@ -687,6 +706,22 @@ error:
|
||||
# Package update window
|
||||
no packages: Found no package updates.
|
||||
checking updates: Checking for updates.
|
||||
can't download installer:
|
||||
Unable to download installer for package %s from %s.
|
||||
Nothing has been installed.
|
||||
|
||||
downloading updates: Downloading updates (%d of %d)
|
||||
installing updates: Updating packages (%d of %d)
|
||||
|
||||
remove packages:
|
||||
This will remove %s packages, do you want to continue?
|
||||
remove packages modified:
|
||||
This will remove %s packages, %s of those have been modified after installing.
|
||||
Removing them can not be undone.
|
||||
|
||||
Do you want to continue?
|
||||
|
||||
cannot create file: Can not create file '%s', continue installation?
|
||||
|
||||
|
||||
############################################################## Types used in scripts / shape names
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 631 B |
Reference in New Issue
Block a user