0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

209 Commits

Author SHA1 Message Date
Nicolas Raoul
76accf2da2 Merged contributions from Edu and Brennan 2010-02-18 14:22:48 +09:00
Nicolas Raoul
42dcd40841 The code was not compiling anymore. I modified it so that it compiles, but card edition is probably broken somehow. Please somehow check card_editor.xml 2010-02-18 14:20:23 +09:00
Edu Zamora
c16d938088 Changed the project build target and included targetSdkVersion on AndroidManifest.xml. 2010-02-17 09:04:13 +01:00
Edu Zamora
0d75189fab Added support for multiple screen sizes and densities on AndroidManifest.xml. 2010-02-16 16:35:46 +01:00
Nicolas Raoul
126a6fdb67 Merged Daniel and Brennan's changes, conflicts arose on Ankidroid.java and DeckTask.java 2010-02-16 18:20:58 +09:00
Nicolas Raoul
1e4bac365d Merge branch 'master' of git://github.com/brennan-daguilar/Anki-Android 2010-02-16 15:23:14 +09:00
Daniel Svärd
be5c213dac Do not allow suspending when no card is loaded 2010-02-16 07:19:17 +01:00
brennan-daguilar
48c627368c Continued work on card editing.
Card edit activity generates fields based on the underlying Fact instead of the card.
- Each field in the fact generates a seperate EditText
- When saving updated cards
	- Facts are saved,
	- Then all cards based on the fact are regenerated based on their CardModel
- Some messy code (mostly related to updating and redisplaying the current card)
2010-02-16 00:51:30 -05:00
Daniel Svärd
f33b87ebeb Fix for not reviewing the correct amount of new cards
Reviewing would get one new card more than specified in newCardsPerDay.
This was because decreasing the count of reviewed new cards happend after
getting the next new card.
2010-02-15 14:37:17 +01:00
Nicolas Raoul
8986536050 Merge branch 'master' of git://github.com/brennan-daguilar/Anki-Android 2010-02-15 21:19:11 +09:00
Nicolas Raoul
2724f5496e Merge branch 'master' of git://github.com/daniel-svard/Anki-Android 2010-02-15 21:18:08 +09:00
brennan-daguilar
201d6040eb Added basic support for editing cards.
- New CardEditor Activity created
- Deck, DeckTask, and Ankidroid modified to handle opening the card in the editor, saving changes to the database, and redisplaying updated card.

- TODO: add support for adding new card.
	- Create a new card in the deck,
	- Edit the new card as if it were an existing card.
2010-02-14 01:35:45 -05:00
brennan-daguilar
ccc19e307f Added support for ruby text (furigana).
- Created utility class RubyParser to convert ruby text from Anki's Japanese support format to html ruby markup
- Updated CSS to include ruby text support
- Updated Ankidroid to send question and answer text through the parser before displaying.

- CSS Ruby support modified from http://web.nickshanks.com/stylesheets/ruby.css

Signed-off-by: brennan-daguilar <brennan.daguilar@gmail.com>
2010-02-12 04:27:59 -05:00
Daniel Svärd
5d23502620 Make answer card undoable 2010-02-08 17:52:45 +01:00
Nicolas Raoul
7791ef8873 Merge branch 'master' of git://github.com/edu-zamora/Anki-Android 2010-02-08 21:37:24 +09:00
Daniel Svärd
3cd791e366 Start of undo/redo funtionality
This is not finished. Do not use yet.
2010-02-07 12:34:33 +01:00
Daniel Svärd
eca3100494 Methods for easy querying of a database column 2010-02-07 11:16:34 +01:00
Daniel Svärd
e4c6021e4a Proper suspension of card 2010-02-05 20:37:32 +01:00
Nicolas Raoul
07fe0c884f Changed CSV format for import by Anki, updated sample Anki file based on CSV file modified by gravel 2010-02-05 22:53:52 +09:00
Nicolas Raoul
44531ff430 Removed stale file, as per Ramblurr. Somehow I didnt manage to pull this one from Ramblurr, Git was saying: Already up-to-date 2010-02-02 23:57:09 +09:00
Nicolas Raoul
cfe6d83f85 Added some Javadoc, removed dead code, cosmetic changes 2010-02-02 23:31:21 +09:00
Nicolas Raoul
d70d1c290b Added Suspend feature 2010-02-02 22:32:48 +09:00
Nicolas Raoul
c5f9ace0c2 Merge branch 'master' of git://github.com/daniel-svard/Anki-Android 2010-02-02 21:53:11 +09:00
gravel
13fa2cde1a The capital of USA is more correct with "DC" (abbreviation of District of Columbia) appended. "Washington" alone can be several other locations in the USA, and would more commonly refer to the state of Washington rather than the capital city.
Also, capitals for China, Indonesia, Bangladesh, and Nigeria were added - their inclusion warranted by virtue of being among the 10 most populace countries (ref: http://en.wikipedia.org/wiki/List_of_countries_by_population).

Finally, capitals for South Korea, Mexico, United Kingdom were added due the stature and size of the cities themselves (ref: http://en.wikipedia.org/wiki/List_of_national_capitals_by_population), and because I'm on a roll.

I understand that this deck was likely intended solely to demo Anki-android, but it may as well be accurate and thorough :)
2010-02-02 20:39:22 +08:00
Daniel Svärd
4b753460a6 Fix for issue #46
Zero session time limit now interpreted as infinite time limit.
2010-02-02 20:39:05 +08:00
Jan Berkel
289eb382e7 install-emulator/device ant tasks 2010-02-02 20:37:15 +08:00
Jan Berkel
698d89f5b1 install-emulator/device ant tasks 2010-01-10 17:51:26 +01:00
Nicolas Raoul
3dd7107904 Running with ant 2010-01-08 14:03:06 +09:00
Daniel Svärd
d8321c68e9 Fix for issue #46
Zero session time limit now interpreted as infinite time limit.
2009-12-28 14:13:44 +01:00
Edu Zamora
39103923a4 Merge branch 'master' of git://github.com/daniel-svard/Anki-Android 2009-12-23 15:55:29 +01:00
Daniel Svärd
6ec38da831 Fix for issue #42
For big time limits, the time limit computation overflowed with a
negative time limit as a result. This fixes the overflow.
2009-12-23 14:15:27 +01:00
Daniel Svärd
edb21d412e Fix for exception when inserting a new CardHistoryEntry into the db 2009-12-23 13:32:58 +01:00
Edu Zamora
2724b70e24 Modified the compare method on DeckPicker to not use parseFloat, for more safety. 2009-12-23 09:45:24 +01:00
Daniel Svärd
31bd969093 Fix for issue #36
Moved the decrease of failed, review and new card counts to before getting a
new card.
2009-12-23 01:09:14 +01:00
Daniel Svärd
90623d9933 Changed delay columns to correct datatype 2009-12-23 00:43:54 +01:00
Edu Zamora
c115b64906 Added image support in cards and fixed a little bug that prevented DeckPicker to work properly with different deck paths. 2009-12-13 20:54:19 +01:00
Edu Zamora
e598afbe85 Increased sound volume. 2009-12-09 17:50:07 +01:00
Edu Zamora
d5e9e6ccfe Added sound support in cards. 2009-12-09 13:14:21 +01:00
Edu Zamora
eca1ccc7be Fixed bug that made the app crash when the sd card was unmounted while being on DeckPicker. 2009-12-07 14:01:06 +01:00
Edu Zamora
6f1bffed93 Fixed crashes when unmounting the sd card with no deck loaded and when navigating to DeckPicker with a deck with some cards answered and the sd card unmounted. 2009-12-06 19:37:58 +01:00
Edu Zamora
f432e5911d Fixed bugs on deck_preferences.xml and preferences.xml (the xml header had to be on top in order to compile), bugs regarding the visibility of some elements (the EditText to write the answer and the Whiteboard/Timer were shown coming back from Preferences, when there was no more cards) and crashes when there was no deck loaded on DeckPicker and DeckPreferences. Also, right now Study Options is only enabled on the menu when a deck is loaded. 2009-12-06 18:59:54 +01:00
Casey Link
0ff08588a1 Update License headers based with names/emails on git blame.
Also removed trailing whitespace.
2009-12-06 01:36:36 -05:00
edu-zamora
1f137bf9c6 Srs branch merged into master. 2009-12-05 22:54:13 +01:00
edu-zamora
08ce9ff1f9 Correct displaying of html tags: now bold, italic, underline and colors are working fine. 2009-12-05 11:51:15 +01:00
Edu Zamora
cc0e9f68a7 Veecheck 2.0 library integrated and minor modifications (function intentToString in PrefState.java) to make it work like we expected (Veecheck is a library that allows us to check automatically for new updates and notify the user about them) 2009-12-01 18:54:40 +01:00
Jordi Chacón
9e1ee243ad Merged from edu-zamora repository 2009-11-28 17:55:22 +01:00
Jordi Chacón
e48d75c69e Added external diff library stored in DiffEngine.java. Previous diff function has been removed. Now the diff computation is performed through DiffEngine. Results are now supposed to be exactly the same as in the desktop Anki. 2009-11-28 17:51:45 +01:00
edu-zamora
3048d88935 Update Notification System implemented: The user can choose in Preferences if he wants to be notified when an update of Ankidroid is released. If the notifications are activated, when a new version of Ankidroid is out and the user opens the app an informative dialog asks the user if he wants to upgrade to the new version. If his answer is affirmative, he is directly taken to the Ankidroid download page on Android Market. 2009-11-25 12:57:21 +01:00
edu-zamora
fb38033722 Merge of all srs branches, fixed a new bug loading other decks and added a verification before unregistering the BroadcastReceiver on DeckPicker.java 2009-11-24 17:15:24 +01:00
edu-zamora
96244b81e8 Merge branch 'master' of git://github.com/Ramblurr/Anki-Android 2009-11-24 14:38:36 +01:00