Commit Graph

80 Commits

Author SHA1 Message Date
coppro f2d6714da9 (sorry for making this all one commit)
Fiddled with the backbone for scripts some more.
VCS are now suppported in sets but configuration/non-svn-systems missing
Linux build now uses precompiled headers (build time--)
A couple warning fixes too.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1427 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-16 23:40:44 +00:00
coppro 3d7f0ea70f Improved the Linux installer.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1415 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-01 19:13:05 +00:00
coppro 87b45df71d Updated linux installer; minor semantic bug affecting 64-bit builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1373 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-03-02 23:29:38 +00:00
coppro 4e772d14da Fixed install script and set selection window crash.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1366 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-18 04:00:50 +00:00
twanvl 46454d9e97 update checker data for 0.3.8
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1365 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-16 00:00:11 +00:00
coppro f5ee0b4d00 Updated Linux README.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1362 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 22:32:56 +00:00
coppro dcf165bf69 Added new Linux script for limited install
Actually made Linux compile with optimizations


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1361 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 22:26:59 +00:00
twanvl 0b718c8d98 more msw installer stuff
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1360 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 22:25:58 +00:00
twanvl 8dd4b207b1 msw installer for 0.3.8, may still need some tweaks to vs system fonts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1357 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 15:15:09 +00:00
twanvl ad5e22e7c5 Added script support for wxDateTime values:
- added ScriptDateTime type
 - added to_date function
 - added date formating support to to_string.
 - documented all of the above.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
coppro 697bfc3e7e Fixed scroll issues; text no longer overlaps on package lists (still truncated, but this at least is better)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1287 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 23:00:25 +00:00
twanvl 6afbbe986c more documentation spellchecking,
in documentation: @<tag>@ now highlights as a tag

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1279 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:22:45 +00:00
twanvl e423b6956f documented the split_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1255 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:39:20 +00:00
twanvl cd88dc3783 Added drop down lists to toolbar buttons for:
- card rotation
 - add (multiple) cards

Requires patch to wx (or the HEAD branch version), see http://trac.wxwidgets.org/ticket/8556
this appears to be for MSW only.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1253 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 18:31:35 +00:00
twanvl 42d40dbd1e Added Package::saveCopy, which is used to implement the write_set_file script function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:48:51 +00:00
twanvl 167cde312b include subdirs of {vs,vanguard}.mse-game in the installer (stats icons)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1163 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:29:03 +00:00
twanvl c8fb341e1a Fixed random_int and random_real functions; added random_boolean.
Split random_select into random_select and random_select_many.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1161 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:08:13 +00:00
coppro ec63e3b18b More workingness, now accepts locally-stored resources!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1158 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 04:06:50 +00:00
coppro d13b721b41 Updates to make Linux work... still lost of issues.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1157 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 02:41:30 +00:00
twanvl fe5878e3d8 Documented add cards scripts and the new_card function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1149 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 21:10:59 +00:00
twanvl 3d6a6d31e7 0.3.7 updates message
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1144 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 18:16:17 +00:00
twanvl 431cb43bae 0.3.7 installer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1143 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 18:10:53 +00:00
twanvl 893547aff2 Locale now sneakily also recognizes lines marked as #_ADD
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1101 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:25:47 +00:00
twanvl 9ae03bfeb0 Program to merge changes between different locale files.
This makes it easier to add new keys to the non-english locales.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1099 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 17:23:38 +00:00
twanvl 685f9ca0b2 Documentation of command line interface
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1067 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 19:34:15 +00:00
twanvl 736e10d2cc Don't require admin privileges to install
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1066 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 18:56:43 +00:00
twanvl fb411139d1 minor tweak of website syntax highlighter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1033 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 15:27:08 +00:00
twanvl 53808346a4 Allow "or else" construct to be used for error recovery
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1016 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 17:14:49 +00:00
twanvl dfae1b2729 Added count_chosen function;
Added I_DUP instruction

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1007 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 14:41:38 +00:00
twanvl fe2e3fb9c8 Be more strict about type conversion:
* numbers are no longer auto converted to booleans, use to_boolean or != 0
  * booleans are no longer auto converted to numbers, use to_int
  * strings will soon no longer be auto converted to numbers, use to_int

Added version information ("since 0.3.7") to documentation

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1006 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 13:34:57 +00:00
twanvl 95d38f9ba6 Added 'assert' pseudo function so I can run some tests of the script code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@988 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 21:01:17 +00:00
twanvl 50b09c7673 Allow // comment in documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@986 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 19:23:25 +00:00
twanvl d00beeb55f Closure operator now behaves as default argument operator, documentation.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@965 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 18:33:17 +00:00
twanvl c5159ebcf7 "div" operator for integer division,
Added parser support for closure operator fun@(args)
Use equal() function for all script comparisons, better support for deciding when to use strings and when to use pointers equality.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@964 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 16:38:33 +00:00
twanvl dfe5531db4 Version bump for 0.3.6b hotfix release
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@958 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-02 22:22:03 +00:00
twanvl cda8531e8e 0.3.6 windows installer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@941 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 16:19:43 +00:00
twanvl 57acf22b72 0.3.6 update pitch
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@939 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 16:13:12 +00:00
twanvl 5b47f6f498 Improved position reporting of script errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@931 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 01:07:45 +00:00
twanvl 44fd9dbb42 Add check to gen.pl to prevent overwriting files
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@913 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 19:44:03 +00:00
twanvl f9dd5f9c0d break_text function has been documented
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@894 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 19:43:08 +00:00
twanvl b0c0d8e97c "rgba" is now a keyword
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@851 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-16 20:35:34 +00:00
twanvl d2196eea09 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
2007-12-29 18:30:41 +00:00
coppro d0506a59f4 Fixed some minor compile/install bugs.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@766 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-17 04:27:08 +00:00
coppro 2fcf2f359d Finished update window (YAY!)
Updates now work, and have been tested.
Made a few other updates.
To work on: aesthetics?


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@759 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-26 22:13:39 +00:00
twanvl 36a36356c5 The 'Big Whine' patch:
Any use of a file from another package without a declared dependency will give a warning;

Also added some more _LOCALE_123_ macros so we need less format_string calls

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@753 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 20:24:22 +00:00
coppro ba7010ecec Fixed some problems with the last commit (like I had to rewrite my
entire perl script, which was somehow deleted).


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@751 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 22:17:41 +00:00
coppro 1f59376b54 Added perl script to generate updates page.
Added/fixed versioning in data.
Added more framework to update checker.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@750 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 21:49:10 +00:00
coppro 6a0dbc81d3 Removed unused code from linux installer script
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@745 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 14:24:24 +00:00
coppro 1b8f4b1276 Added Makefile.in - more autoconf goodies
Fixed a couple of minor things.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@744 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 14:14:19 +00:00
twanvl 40cb2bcfac 0.3.5b installer and version number
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@730 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 15:19:15 +00:00