twanvl
37da5e1141
init sockets in main function, otherwise the installer window doesn't work if updates were not checked first
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1469 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:51:24 +00:00
twanvl
2bc67b964f
multiple choice checklists also work in non-native look
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1468 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:50:30 +00:00
twanvl
f7ae4b5a7b
in_tag function now looks for a positive number of tag occurrences.
...
In particular: in "<tag><tag></tag>x</tag>" the x is now in_tag.
This fixes the rest of #20 .
Also added is_in_tag function that returns a bool instead of the tag position.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1456 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 22:42:46 +00:00
twanvl
4c3acef3fa
don't crash when an action=nullptr (partial fix for #20 )
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1455 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:24:51 +00:00
twanvl
c5d92f7d13
don't close window on error
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1454 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:56 +00:00
twanvl
8ed09c48bf
Fixed #24 : nullptr error in graph code
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1453 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:19 +00:00
twanvl
854998f204
Fix #25 : Program throws exception when clicking on the 'stylesheet' list if there are no stylesheets.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1450 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:37:47 +00:00
twanvl
07d4e8619b
gif export is not supported by wxWidgets
...
This 'fixes' #18 by just removing the option to export .gif files
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:35:59 +00:00
twanvl
70fb9d612b
Fix #19 : Colon in Name Prevents Opening Save Dialog
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1446 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:12:49 +00:00
twanvl
51dfed69b4
Instead of the new_intrusive<T>() functions, use intrusive(new T)
...
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00
coppro
85854b1bd2
Fix warnings
...
Semi-fix bug #6 (does not work if the zipfile was loaded from a directory)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1439 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-04 01:46:04 +00:00
coppro
cf91f9c43b
Update copryright date to 2010.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro
81c6fb87cd
More updates to build system
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1435 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-01-20 03:19:57 +00:00
coppro
47aa7ce923
Rename 'cannocial_name_form' to 'canonical_name_form'
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1433 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-04 06:04:57 +00:00
coppro
b561e22476
Fix crash when dragging card list past end.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1431 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:30:07 +00:00
coppro
7af4cd4bd0
Lots of miscellaneous fixes, also added basic VCS framework
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1416 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-01 22:34:04 +00:00
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