Fabio Bas
eda55679da
Implemented suggested improvements
2015-07-08 10:19:05 +02:00
Fabio Bas
24aabc4cfe
Oracle: download tokens; fix #915
2015-07-07 20:06:14 +02:00
Fabio Bas
5e1566046e
removed debug
2015-07-02 15:31:14 +02:00
Fabio Bas
5f28dff30e
Fix #1188
2015-07-02 09:22:05 +02:00
Fabio Bas
aed20324da
reverted #163
2015-06-23 21:45:08 +02:00
Fabio Bas
f95fe57c1b
Import split cards of any size; fix #181
2015-06-23 21:42:25 +02:00
Fabio Bas
6afc6cc4fd
Cleaned and commented code
2015-06-23 19:36:40 +02:00
Fabio Bas
a1d28736d7
Oracle remove old code handling split cards; fix #382
2015-06-23 19:23:07 +02:00
Fabio Bas
6b8ebe54e9
Theme manager
...
This is the first implementation of a theme manager. It’s a rebased and
revisited version of #792 .
2015-06-15 14:35:58 +02:00
Fabio Bas
518bda8c09
Rotate 180 degrees the art of flipped cards
2015-06-13 16:10:06 +02:00
Fabio Bas
da84bb33e1
Import related cards in the card database
2015-06-11 10:48:50 +02:00
Zach H
56c1a7f8b4
hideaway update
2015-05-21 09:45:16 -04:00
Fabio Bas
881cea27f4
Rework the way sets selection/importing works; fix #539 (rebased)
2015-04-18 18:47:09 +02:00
Fabio Bas
62d0a61717
Set cmc to 0 if not set; fix #669
2015-03-30 11:56:08 +02:00
Fabio Bas
28ec1a7186
Fix #633
...
Requires #889
2015-03-29 18:55:15 +02:00
Fabio Bas
48d588f6cd
Fix #670
...
Additionally, remove an unneeded split() + join() call on every card
text
2015-03-29 17:48:59 +02:00
Fabio Bas
514c414cfc
Fix oracle progressbar; fix #764
2015-02-21 10:46:16 +01:00
Fabio Bas
3c285e572c
Fix compilation under win32; fix installation of lib under win32
2015-02-13 17:58:20 +01:00
Fabio Bas
e8cb260734
Fix win32 compilation without zlib
2015-02-13 16:58:55 +01:00
Fabio Bas
f80e319900
Added translations for oracle; fix #293
...
Translations have been updated.
2015-02-08 21:17:51 +01:00
Fabio Bas
06290d2326
Changed popup buttons from "Ok/Cancel" to "Yes/No"
2015-02-04 14:47:09 +01:00
Fabio Bas
917a29fac0
This error message needs to explain itself a bit better
2015-02-04 12:18:25 +01:00
Fabio Bas
4ebcfc6b34
Raise a question popup when zip parsing fails
2015-02-04 12:15:28 +01:00
Fabio Bas
781f8a6603
Oracle: support AllSets.json.zip; Fix #624
...
Imported unzip methods from OSDaB-Zip project;
Adds a soft dependency on zlib to oracle; if lib if not found, oracle
will continue to compile and work but without zip support.
2015-02-02 19:59:35 +01:00
Gavin Bises
acb9bc20c4
Fix #640 - don't add muid-0 cards to splitCards map
2015-01-29 17:09:14 -05:00
Gavin Bises
e2fe25735b
Parse cmc from json and store in cards.xml
2015-01-28 20:28:38 -05:00
Gavin Bises
cbdb1b8bcd
Inform user of cards.xml save location on success
2015-01-26 19:05:32 -05:00
tooomm
4963cf4618
Added text line about default selection
2015-01-26 00:59:28 +01:00
Michael Callahan
3a0c86938c
Clean up a small pile of compiler warnings.
2014-12-30 15:54:38 -07:00
Fabio Bas
9cc8d8b86c
Misc fixes
...
ucfirst(setCode): requires oracle re-run
reorder columns
rename the “short name“ column as “set code“
ensure proper casting for releaseDate and sortKey fields (refs 00a5ed0
)
2014-12-05 08:48:33 +01:00
Fabio Bas
859adca0c7
Fixed indentation
2014-11-20 09:16:30 +01:00
Fabio Bas
ac43fa23b9
Better handle the TK set used for tokens
...
Let oracle add a basic TK set in cards.xml
Unify all the code previously using the string literal “TK”
2014-11-19 19:44:54 +01:00
Fabio Bas
cb37073828
Oracle: fetch release date and set type
...
and save them in cards.xml
2014-11-10 16:22:46 +01:00
Fabio Bas
cb055055a9
Oracle: add button to restore default download url
...
Should avoid the problem explained in #414
2014-11-09 21:15:31 +01:00
Gavin Bisesi
006451f402
Merge pull request #238 from arxanas/no-overwrite-tokens-xml
...
Fix #231 : tokens.xml no longer overwritten by cards.xml.
2014-10-06 11:34:58 -04:00
Gavin Bisesi
48817ed283
Merge pull request #314 from ctrlaltca/win32_setup_fix
...
Fix oracle under windows
2014-10-02 10:35:22 -04:00
Fabio Bas
98e5211ad5
Fix oracle under windows
2014-09-15 16:15:27 +02:00
Peng Liu
3cd6cc9195
Added the location Oracle attempted to save cards.xml to the failure message.
2014-09-15 06:32:46 -04:00
Peng Liu
9a934f3a43
Fixed a bug that caused Oracle to be stuck in an infinite loop if the default path checkbox was checked but failed to write.
2014-08-15 01:09:21 -04:00
Gavin Bisesi
0bb0530a31
Merge pull request #245 from pliu037/oracle-cards-path
...
Oracle cards.xml path
2014-08-11 10:13:38 -04:00
Peng Liu
3375d45571
Logically inverted the if... else statement by removing the logical not (!). Cleaned up a ;;.
2014-08-07 12:58:03 -04:00
Gavin Bisesi
ab7d70a9c8
Merge pull request #263 from ctrlaltca/oracle_icon
...
Add icon to oracle
2014-08-07 12:00:46 -04:00
Fabio Bas
40e9735678
Add icon to oracle
2014-08-07 17:27:15 +02:00
Waleed Khan
c0d4669088
Merge remote-tracking branch 'upstream/master' into no-overwrite-tokens-xml
...
Conflicts:
cockatrice/src/carddatabase.cpp
2014-08-07 11:06:41 -04:00
Fabio Bas
2e051c3fd7
add success notification to oracle
2014-08-07 16:10:57 +02:00
Peng Liu
605479694d
Removed some redundant code. Factored out translations.
2014-08-05 08:50:42 -04:00
Peng Liu
8be4a14fcc
Before: If default is checked, Oracle will always save to the AppData path.
...
If a path to cards.xml is set, Oracle will update that cards.xml.
If Oracle is run before a path to cards.xml is set, if default is checked, cards.xml will be saved on the AppData path. Furthermore, this path will be set as the cards.xml path for both Oracle and Cockatrice.
If Oracle is run before a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path and this path will be set as the cards.xml path for both Oracle and Cockatrice.
If a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path but this path will NOT be set as the cards.xml path for either Oracle or Cockatrice. This allows people who already have a cards.xml (which may be customized), to still obtain clean copies of cards.xml through Oracle without overwriting their own
2014-07-31 15:33:11 -04:00
Waleed Khan
9ba5d7968e
Stop clobbering tokens.xml tokens; don't let Oracle read tokens into cards.xml.
2014-07-29 23:46:04 -04:00
Fabio Bas
b10331fe66
Hide unused parameters in oracle/ to avoid warnings
2014-07-24 18:40:56 +02:00
Waleed Khan
40e97140d6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
cockatrice/src/carddatabase.cpp
2014-07-23 00:49:13 -04:00
Waleed Khan
e5be082714
Merge remote-tracking branch 'upstream/master' into case-insensitive-card-tag
2014-07-20 15:06:51 -04:00
Waleed Khan
359882917a
Merge remote-tracking branch 'upstream/master'
...
Some tabs to spaces, and maybe fixed to work with Qt 5.
Conflicts:
cockatrice/src/deckstats_interface.cpp
common/decklist.cpp
common/decklist.h
oracle/src/oracleimporter.cpp
2014-07-20 14:40:18 -04:00
arxanas
810029ce15
Fix #117 : Card tags now match disregarding case and punctuation.
2014-07-06 20:04:09 -04:00
Fabio Bas
e9895d643f
Merge remote-tracking branch 'upstream/master' into cmake_qt5
2014-07-03 16:40:04 +02:00
arxanas
f730dca14c
Fix #155 : Vanguard card names no longer conflict with regular card names.
2014-07-01 02:29:25 -04:00
arxanas
7cbe410172
Fix #45 : don't send tokens to deckstats.
2014-06-30 03:08:55 -04:00
Daenyth
09d6d26fb2
Merge branch 'master' into cmake_qt5
...
Conflicts:
cockatrice/src/main.cpp
2014-06-28 09:13:10 -04:00
Daenyth
6d3fe428e7
Fix some warnings
...
Ref #127
2014-06-27 22:19:23 -04:00
Fabio Bas
62ca6130d1
#include <QtConcurrent> only for qt5, qt4 has this in QtCore
2014-06-25 19:28:03 +02:00
Fabio Bas
80f68306b5
Ported oracle to Qt5
2014-06-24 18:28:09 +02:00
Fabio Bas
5c13c06982
Merge remote-tracking branch 'upstream/master' into cmake_qt5
2014-06-24 18:13:26 +02:00
Fabio Bas
0ec5842c3f
Add an unexposed config value for the AllSets.json file url
...
It will be saved only if:
* it’s different than the default (the user used a custom url);
* the download actually worked
2014-06-21 12:10:04 +02:00
Fabio Bas
17f7fe7ad9
Don't lock the UI if the loaded file was not readable
2014-06-21 11:41:31 +02:00
Fabio Bas
1edc34f086
Add an option to force selection of save path
...
By default oracle saves cards.xml to the correct path, where cockatrice
will be able to pick it up;
if oracle is not able to determine the path or the user unchecks the
option, oracle will ask for a save path
2014-06-21 11:37:46 +02:00
Fabio Bas
bb9a79f83b
Rename the finish/done button as "Save"
2014-06-21 11:25:24 +02:00
Fabio Bas
c6078c384c
Strip { } around mana cost
2014-06-21 11:18:41 +02:00
Fabio Bas
075c743a17
Sets: case insensitive sorting
2014-06-21 11:11:49 +02:00
Fabio Bas
53de2db89c
Clean up code leftovers
2014-06-21 11:04:52 +02:00
Mark Morschhäuser
0721f5b416
Qt5: QtWidgets as a Separate Module
2014-06-20 16:56:15 +02:00
Mark Morschhäuser
a903c231f2
Qt5: QDesktopServices::storageLocation deprecated
2014-06-20 16:54:46 +02:00
Fabio Bas
40f9536224
Rewrite oracle as a wizard
2014-06-19 16:49:38 +02:00
Fabio Bas
f3a57d5506
Import data from mtgjson's allsets.xml
...
* add multiverse id to cards.xml
* remove pictures urls from cards.xml
TBD:
* fix/clean oracle’s gui
* add support in cockatrice
2014-06-16 00:27:33 +02:00
Fabio Bas
0d3ec71e8f
Merge splitter cards into a single card
2014-06-14 16:47:36 +02:00
Fabio Bas
4ff225cc3b
Fix import of P/T; misc optimizations
2014-06-14 16:17:17 +02:00
Fabio Bas
dfbcace05b
OracleImporter: use json to parse cards in sets
...
Problem: Split card are imported as 2 different cards; need to find
some way to join them
2014-06-14 16:17:17 +02:00
Chia-Wei Li
01277e9ad9
Repeatly download text spoiler until a valid XML document is received
2013-12-17 19:16:00 +08:00
Mark Morschhäuser
314db1f464
Changed sets.xml URL due to w32-qt ssl problem
2013-05-09 19:53:13 +02:00
Mark Morschhäuser
8bd247e681
Fixed spoiler list parsing, oracle works again.
2013-04-21 17:31:07 +02:00
Mark Morschhäuser
b179f446f5
Get sets.xml directly from github.
2013-04-21 17:30:08 +02:00
Mark Morschhäuser
bd861bbff1
Removed two unused variables.
2013-04-21 15:53:27 +02:00
Max-Wilhelm Bruker
f553fd7456
some token code
2012-04-05 11:48:13 +02:00
Max-Wilhelm Bruker
10d958c4ce
Merge branch 'master' into devel
2012-03-23 12:18:16 +01:00
Max-Wilhelm Bruker
c92f3e4239
fix for issue #17 : oracle: convert smart quotes to normal quotes in card names
2012-03-23 12:17:59 +01:00
Max-Wilhelm Bruker
848b52b287
removed setFixedSize in oracle
2012-01-29 16:00:12 +01:00
Max-Wilhelm Bruker
a64df4a0f5
Use QDesktopServices::StandardLocation for platform independent default paths that don't touch the application's own folder
2012-01-22 14:18:28 +01:00
Max-Wilhelm Bruker
6344b987de
fixed pw loyalty in oracle, PB code working
2012-01-01 18:15:32 +01:00
Daenyth
a7f3ce4050
Add code support for planeswalker loyalty.
...
Added to CardInfo object and to the oracle importer. Next step is the
card info widget.
2011-12-03 17:15:33 -05:00
Max-Wilhelm Bruker
4777d18fe3
added error messages to oracle importer
2011-06-22 16:06:01 +02:00
Max-Wilhelm Bruker
75d78ca147
added duel decks + FTV to sets.xml (done by DrAg0n)
2011-03-19 21:40:21 +01:00
Max-Wilhelm Bruker
d05603f83b
p/t changes
2011-02-16 18:34:46 +01:00
Max-Wilhelm Bruker
8ccde61492
new picture downloader finished
2011-02-11 18:20:17 +01:00
Max-Wilhelm Bruker
3a5fce9613
new autodownloader partially done
2011-02-11 16:05:43 +01:00
Max-Wilhelm Bruker
b3f96f9490
changed picture download to multiverse id
2011-01-28 03:29:21 +01:00
Max-Wilhelm Bruker
2c186221a6
umlaut workaround in oracle
2011-01-08 14:48:39 +01:00
Max-Wilhelm Bruker
1ef865b18b
oracle fix
2010-11-10 02:38:34 +01:00
Max-Wilhelm Bruker
7dcb26d488
updated table rows in oracle importer
2010-11-05 22:07:25 +01:00
Max-Wilhelm Bruker
b4436f2451
minor oracle improvement
2010-10-15 18:10:58 +02:00
Max-Wilhelm Bruker
f9b0b4b170
AE ligature fix
2010-08-27 18:35:08 +02:00
Max-Wilhelm Bruker
72c5b4eb27
minor oracle importer improvement
2010-06-24 12:34:57 +02:00
Max-Wilhelm Bruker
4f13c01e12
mac patches
2010-06-19 18:18:04 +02:00
Max-Wilhelm Bruker
6829e2edb2
oracle importer changes
2010-05-08 23:39:55 +02:00
Max-Wilhelm Bruker
40fc77c646
oracle importer changes
2010-05-08 23:24:35 +02:00
Max-Wilhelm Bruker
7bf3ff1ff4
cleanup
2010-03-09 16:40:45 +01:00
Max-Wilhelm Bruker
ad3f4ba9e8
oracle fix
2010-03-07 00:24:25 +01:00
Max-Wilhelm Bruker
888a64b0fd
new protocol code
2010-02-26 17:28:02 +01:00
Marcus Schütz
07f49f54ff
oracle Æther <-> Aether URL Bug
2010-01-22 19:59:03 +01:00
Max-Wilhelm Bruker
da6a1a0dbd
fixed typo in oracle importer
2009-10-23 12:23:20 +02:00
Max-Wilhelm Bruker
3d1052f54c
path fix
2009-10-22 18:25:07 +02:00
Max-Wilhelm Bruker
3c8f2b878b
improved importer
2009-10-17 17:13:55 +02:00
Max-Wilhelm Bruker
912c0bcdbf
cleanup
2009-10-13 01:24:01 +02:00
Max-Wilhelm Bruker
ae6803f9f2
rewrote oracle importer
2009-10-13 01:06:48 +02:00
Max-Wilhelm Bruker
e64313bb4d
save file before opening message box
2009-09-11 20:19:31 +02:00
Max-Wilhelm Bruker
a018819a37
oracle update
2009-09-02 20:59:25 +02:00
Max-Wilhelm Bruker
af605ab1f8
cleaned up oracle importer
2009-09-01 15:41:43 +02:00
marcus
7fb76895d2
oracle now reads sets from sets.xml
2009-08-11 13:06:46 +02:00
marcus
63614b4549
oracle now loads sets from extern file
2009-08-11 00:46:39 +02:00
marcus
aaa56acfd1
picURL added to oracleimporter and carddatabase
2009-08-10 23:47:27 +02:00
brukie
22607ad14d
mana crypt fix
2009-08-03 15:52:49 +02:00
Max-Wilhelm Bruker
27d25d41ac
new carddb generator
2009-08-02 14:55:00 +02:00