Commit Graph

479 Commits

Author SHA1 Message Date
coppro b73f081b60 Updated copyright information (2009 + my real name)
MSE now handles opening more gracefully - can handle directories and failures
Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-19 03:09:05 +00:00
coppro 4c9f3afb05 MSE can now save cards in separate files (needs manual config editing still).
Trailing slashes are stripped from commandline arguments (because directory.mse-set/ should be accepted)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1386 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-06-18 02:18:23 +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 dc26e1f00a New 'show spelling errors' option in the preferences window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1372 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-02-06 03:27:20 +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 0bc1c1af30 show version number on welcome screen
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1351 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 22:18:42 +00:00
twanvl 8b9c2b4064 while it is still possible: renamed select:cyclic to select:equal.
Added "equal proportional" and "equal nonempty" for symmetry.
select:equal now takes weights into account.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1342 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:36:17 +00:00
twanvl 18730641db fixed spelling correction popup when there is no extra dictionary
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1335 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:39:29 +00:00
twanvl c98f8245d8 init pack total control before setting sizer, so CustomPackDialog gets the right size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1332 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:45:18 +00:00
twanvl 30d3343a2c check for duplicate pack names
don't allow a new pack to be 'removed'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1330 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:55:31 +00:00
twanvl 1b90f0666c fixed bug: empty OptionalScript were saved as empty string, causing parse error when reading.
custom pack types can now be removed again.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1329 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:47:50 +00:00
twanvl e3cdb2bea7 adding & editing custom pack types now works.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1328 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:37:03 +00:00
twanvl d3922cb59d make pack type labels clickable (based on HoverButton).
use set_help_text instead of the previous thing in SetWindow.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1327 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:34:54 +00:00
twanvl 2bc3e78134 tweaks to set_help_text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1326 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:33:43 +00:00
twanvl 0a26e17de8 set_help_text function to add status bar help texts to any window
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1325 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:15:06 +00:00
twanvl 2dab839906 tweak: slightly less dark lines in graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1320 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 16:24:52 +00:00
twanvl f8f112d240 left align text in package list if it doesn't fit, so we only cut of the end
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1319 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:59:50 +00:00
twanvl 6fdb7f92b1 Added CustomPackDialog for user constructed PackTypes.
There is no UI for using these custom types yet.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1318 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:43:15 +00:00
twanvl 559a6ce1d8 - fixed SELECT_FIRST behavior: 0 >= 0
- added DoGetBestSize to PackTotalsPanel, so the text always fits

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1313 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:22:43 +00:00
twanvl 432cdcd583 mostly backwards compatibility with old pack system, uses boost tribool
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1311 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:49:14 +00:00
twanvl 02e676c54b the new pack system now actually works (yay!)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1309 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:04:24 +00:00
twanvl 6fe82983ed sort card list by identifying column if value in selected column is equal
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1308 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 18:51:12 +00:00
coppro cf4aea531d Game settings loading is now deferred until the game is fully loading.
This allows auto replaces to be properly loaded from the game file.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1295 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-07 00:20:10 +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 311a743fa1 simplified handling of punctuation is spellchecker, now checks for stand alone punctuation and double spaces.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1275 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-31 03:11:25 +00:00
twanvl e36dc6e6cb apply spelling corrections from the context menu.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1274 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 19:51:41 +00:00
twanvl 2c824c9507 use a combo box instead of a spin control for the zoom settings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1273 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 18:46:13 +00:00
twanvl 74c95552e7 always update the scrollbar when update()ing a GalleryList, otherwise the scrollbar is not set correctly on the new set window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1270 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 16:08:38 +00:00
twanvl 12f8be203e The check_spelling function now has support for additional dictionaries and regexes to match.
The magic game uses these features.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1269 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 02:09:11 +00:00
twanvl a8b32d145b some more minor graph tweaks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1259 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 03:02:12 +00:00
twanvl eae8757d9e some tweaks to the size of circles in a scatter plot
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1258 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 02:48:07 +00:00
twanvl dfc614849e Remember separate most recent directories for:
- set files
 - symbol files
 - importing images
 - exporting

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1257 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 22:16:22 +00:00
twanvl 81280467d5 fixed typo in for loop that could cause a crash on the stats panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1254 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:13:37 +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 156e592636 made padding and line height scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1249 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:40:17 +00:00
twanvl d4412cf162 working on an improved random pack system, #ifdefed out for now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1245 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 16:30:21 +00:00
twanvl fee35c2804 made welcome_window compile on windows again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1241 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 15:16:27 +00:00
coppro 692d5b6286 Updates to make things work.
Some trivial things that are required to make it work on Linux.
Also updated build scripts to use Boost. You have to use
./configure --with-boost-regex=<libname, suitable for -l>


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1206 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-07 17:21:25 +00:00
twanvl 3ce35e8b00 Reduced flicker in card list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1202 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-04 11:45:23 +00:00
twanvl 5d9c5fbf46 Don't show message boxes for assertion failures, since this can lead to crashes when in OnPaint
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1197 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:53:15 +00:00
twanvl dc9053baef Delay the construction of controls is SetWindowPanels until the panel is actually shown (initUI). This makes the program start slightly faster.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1189 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-01 17:21:17 +00:00
twanvl 56463a8806 Added empty_name to PackageChoiceField;
Package choice fields now reflect in scripts as "/:NO-WARN-DEP:packagename". This suppresses warnings when loading files in that package or using the package as a symbol font.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1187 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 19:42:30 +00:00
twanvl 20b40585f6 Some changes to the package manager:
- use a single button for install/upgrade
 - show versions of installed package and installer
Named actions in enum PACKAGE_ACT_* to avoid confusion with the status enum.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1186 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 18:57:55 +00:00
twanvl 7e60aab603 Allow cards to be pasted when another control is selected.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1185 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 00:15:22 +00:00
twanvl dc0fee0369 Fixed: CardViewers fighting over styles when multiple windows are open
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1184 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 00:07:30 +00:00
twanvl a183ecc9a6 New class CachedScriptableMask: like CachedScriptableImage, only containing an AlphaMask instead of an Image/Bitmap.
Use CachedScriptableMask for all masks.

TODO: This introduces some duplicate code in ValueViewers that could be fixed by moving mask to the Style base class.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1182 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 21:51:38 +00:00
twanvl acb3493b59 Merged behaviour from ContourMask into AlphaMask.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1181 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 17:15:22 +00:00
twanvl ce906e83f8 Cleaned up the calculation of bounds of symbols, this fixes bounds calculation with symmetries.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1178 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 23:46:31 +00:00
twanvl b07e4a7886 Setting for opening sets in the same window (pre 0.3.6 behaviour)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1172 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 11:58:14 +00:00
twanvl 2a4a896540 fixed printing of rotated cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1168 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:27:54 +00:00