twanvl
76c71e5800
Catch all exceptions in onPaint functions, because otherwise we show a message box. Message boxes while in a paint handler lead to a crash on win32.
...
Made a CATCH_ALL_ERRORS macro containing the common catch statements.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1034 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 17:04:30 +00:00
twanvl
6f8c1d1484
changed function name (exportCard -> includeCard), because it better describes what the function does.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1032 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 15:25:37 +00:00
coppro
b49966dc03
Updates, including improvement to atomic code to ensure portability.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1031 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-01 20:58:09 +00:00
twanvl
c733a1fae4
delete commented out code
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1022 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:08:21 +00:00
twanvl
8881eef42d
Changed Pack structures
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1021 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:07:51 +00:00
twanvl
f235eeb100
Non-integer numeric values are sorted correctly in graphs
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1020 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 16:38:14 +00:00
twanvl
684de303e0
Fixed crash caused by exception in SetWindow ctor
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1019 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 23:03:29 +00:00
twanvl
a0e0ab7149
controls to select packs on the RandomPackPanel
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1018 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 22:32:16 +00:00
twanvl
64b7912835
Incremented version number to 0.3.7
...
When saving files an older version number is used if that version of MSE would be able to open the set
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1011 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 16:31:40 +00:00
twanvl
ba2665eb49
Open sets in a new window.
...
TODO: don't allow the same set file to be opened twice, fork a window for it instead
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1005 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 13:24:45 +00:00
twanvl
9fd097beb7
Use a lower quality in the print preview
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@984 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 15:44:33 +00:00
twanvl
07966001ff
Translate image slice window with locale
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@982 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-18 14:37:04 +00:00
twanvl
08a156c113
Allow rotations when checking bounds of symbol parts.
...
This will be needed to determine the correct symbol size when there are symmetries.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@976 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-05 20:17:32 +00:00
twanvl
96a13f6101
Some more stuff on the random pack panel.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@974 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-04 22:51:21 +00:00
twanvl
83a0315211
All package specific locales are now under the 'package' key in locale files. Wildcards in package names are supported.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@971 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-04 00:57:29 +00:00
twanvl
ae14784fd6
Reduce coupling between ValueEditors/Viewers and Set and StyleSheet.
...
- Adding of actions is done with an addAction function
- Files are read from
- getStylePackage for styling stuff (this is stylesheet)
- getLocalPackage for symbol and image values (this was the set)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@970 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-04 00:21:06 +00:00
twanvl
5ef36a1eec
Added RandomPackPanel, for now it is empty.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@968 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 21:15:32 +00:00
twanvl
92947dc5b8
Fixed tab key behaviour the first time of viewing a card. Also fixed which editor gets the focus with Tab or Shift+Tab
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@966 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-03 19:18:44 +00:00
coppro
ebe26e0444
Minor updates that make things work!
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@945 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-02 02:36:56 +00:00
twanvl
bc4ec7d2d3
make old style stats panel compile again
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@944 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 20:15:41 +00:00
twanvl
91add608cc
Informational tooltips in the graph control
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@943 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 20:03:52 +00:00
twanvl
0e00cefdb9
Softer colors in graphs, the border of bars etc. is now lerp(black,fill,0.5) instead of just pure black.
...
Also tweaked the magic card_color graph colors a bit
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@935 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 14:23:45 +00:00
twanvl
cdbcb184ae
Default graph type should be bar
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@934 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 12:50:42 +00:00
twanvl
336726b16b
The keyword reminder text box now tries to run the script to see if it contains errors
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@932 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 01:29:13 +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
7845b9ef81
clipboard support on StylePanel
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@929 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:40:46 +00:00
twanvl
1bab5f609d
Some more graph tweaks
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@928 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:31:57 +00:00
twanvl
3287ace29d
Fixed crash in cursor movement
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@925 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-01 00:02:02 +00:00
twanvl
11c1b7e4dc
off by one in mean calculation in Graph
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@923 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 22:49:19 +00:00
twanvl
04bc58275b
A box with the mean value in bar graphs.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@918 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 21:49:33 +00:00
twanvl
08c0df0d6d
Some tweaks of pie graphs
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@916 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:51:09 +00:00
twanvl
0c74f09543
Clear selection when selecting card using another cardlist (i.e. on stats panel)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@915 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:33:50 +00:00
twanvl
78e154c481
Added toolbar and menu for switching between graph layouts
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@914 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 20:15:21 +00:00
twanvl
50fe805657
Installed packages will be blessed.
...
For now, everything is considered blessed, because we are not yet using installers everywhere.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@912 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 18:33:23 +00:00
twanvl
282ac72502
Warn about removing packages
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@911 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 17:55:18 +00:00
twanvl
7a38986171
Installing and removing packages from an installer now WORKS
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@908 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 16:42:15 +00:00
twanvl
f3ff6f22ae
Renamed global PackageManager object to package_manager to reduce confusion
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@907 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:45:04 +00:00
twanvl
c8d8d72abc
PackagesWindow can show just the packages from an installer.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@905 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:36:23 +00:00
twanvl
9c18ed51e2
Put PackageUpdateList into its own file
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@904 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 14:02:53 +00:00
twanvl
a31f039d01
Disabled "check updates" button on welcome window; also fixed transparency of check updates image
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@903 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 12:58:31 +00:00
twanvl
d80c5e60a4
Just commenting
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@902 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-31 12:57:32 +00:00
twanvl
03cc925b67
Fixed warnings about locale
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@895 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 20:06:20 +00:00
twanvl
4ad3ea8188
Added the old update checker again (with #ifdef)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@892 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 19:34:21 +00:00
twanvl
a1e968b305
restored old style stats panel (with an #ifdef)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@891 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 18:45:33 +00:00
twanvl
674fa1a32a
Selection in cardlist is correctly moved when changes are made;
...
cuting/copying/pasting/deleting multiple cards now works.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@888 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-30 18:13:56 +00:00
twanvl
9eaebcbcdd
Tweaked cursor movement a bit
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@882 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-25 16:39:04 +00:00
twanvl
47e37d8778
Fixed clicking in multiple choice checklist boxes
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@881 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-25 14:14:51 +00:00
twanvl
b8b2632baa
Fixed: Text sometimes overflows out of text fields, such as comments areas, reminder text areas, and rules text areas:
...
added a clipping region when in native look
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@865 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 20:15:38 +00:00
twanvl
d94b2f688b
Fixed crash in TextCtrl;
...
No longer ask to save set when it is still open in another window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@862 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 18:59:55 +00:00
twanvl
4c48049453
Fixed: 'Enter' to accept choice in new set dialog box doesn't work.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@861 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-05-18 18:36:48 +00:00