Commit Graph

60 Commits

Author SHA1 Message Date
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
twanvl 5f12914bb3 Forgot vs-new symbol font in installer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@728 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 12:35:33 +00:00
coppro 67cb6120d5 Fixed installer.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@724 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 03:30:31 +00:00
twanvl 165a112339 0.3.5 installer and update message
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@719 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 19:56:41 +00:00
twanvl 88b0927428 MSW installer scripts now use a preprocessor, making the scripts much cleaner.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@712 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 16:53:31 +00:00
twanvl f7b82e3f6b Implemented auto replace, including GUI
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@631 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-26 19:39:23 +00:00
twanvl 61136d79a8 Added regex_escape script function (was already used by keyword code);
Added icons for 'sort special rarity' choice.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@625 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 20:24:10 +00:00
twanvl 35bbf36e04 Added validator for locales based on all strings in the source code.
It checks:
 - whether all keys used by the program are in the locale
 - whether the right number of %s are used
 - if there are no extra keys in the locale that shouldn't be there
This will become very useful when translations need to be updated for new MSE versions.

There is a perl script for generating the 'expected_locale_keys' resource file.
This file contains a list of all the locale keys used.
This is a resource and not a data file because it is automatically generated from the code,
 the user has no business modifying it.

I also fixed all the locale errors I found in the process.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@613 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-17 21:10:48 +00:00
twanvl 1233940892 Minor tweaks of documentation syntax highlighter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@607 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 18:28:10 +00:00
twanvl 633621558d Syntax highlighter now knows about built in functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@599 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-03 21:32:40 +00:00
twanvl db50b48073 Some more tweaks to the website
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@586 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 16:48:22 +00:00
twanvl 0d6233c92b Some more tweaks to documentation php code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@572 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-14 00:32:14 +00:00
twanvl 6467ff9909 Some tweaks to the syntax highlighting and document formating
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@570 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-13 21:57:38 +00:00
twanvl fe0de4893f Custom php scripts used for the documentation on the website
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@566 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-13 18:08:02 +00:00
twanvl 594c32d721 Moved doxygen to other directory so 'doc' can be used for actual documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@565 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-13 17:54:21 +00:00
twanvl a90b3dd904 Renumbered icon resources in executable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@543 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-10 14:39:48 +00:00
twanvl 98d0b5dfdf New update reminder for 0.3.4
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@501 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-06 01:05:56 +00:00
twanvl 644227b18b Installer for 0.3.4; also a 'small' version
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@500 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-06 00:54:53 +00:00
coppro 9762524025 Added Linux tarball and install scripts, and a README file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@411 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 04:04:34 +00:00
twanvl 5f9a7819fe Fixed initialization bug in Graph;
Added regeneration keyword;
0.3.3 installer

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@377 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-14 20:34:52 +00:00
twanvl 89240c201b Update checker text for 0.3.3
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@372 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-14 16:55:44 +00:00