Commit graph

13225 commits

Author SHA1 Message Date
Eric House
52c7ced4aa changelog 2022-08-10 12:13:50 -07:00
Eric House
cd9ea8ce3f oops: don't revert the bug-fix change to server.c 2022-08-10 12:13:50 -07:00
Eric House
cb362618e9 revert move-reporting changes
They need more testing before the next release, and are fine except
for duplicate-mode play.
2022-08-10 13:33:18 -05:00
Eric House
2a13229a40 revert MQTT disconnect changes
They seem to be causing problems and need to be part of a later
release with more testing.
2022-08-09 21:16:16 -07:00
Eric House
0497a456e7 cleanup 2022-08-09 22:39:41 -05:00
Wellington Terumi Uemura
518fcc4a70
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (887 of 887 strings)
2022-08-10 04:18:54 +02:00
Eric House
736dc2039c tweak explanations for new game-over dialog checkboxes 2022-08-07 20:24:24 -07:00
Eric House
896e86fd28 Fix NPE most likely due to empty getLanguage() result 2022-08-07 19:28:12 -07:00
Eric House
97f280a6ea don't shut down MQTT levels we didn't reach
This is a shot-in-the-dark at internal MQTT crashes being reported
through the Play Store.
2022-08-06 20:52:50 -07:00
Eric House
37b5f80e05 Use Object... in a few more methods 2022-08-06 11:07:28 -07:00
Eric House
47abbf39be Use Object... in place of Object[] everywhere for consistency 2022-08-06 11:07:20 -07:00
Eric House
6397f3f27c Fix game-over alert to allow deletion
Add checkboxes to allow delete or archive action to be scheduled for
after a rematch is done. The UI's a bit awkward. NA tips help,
but it may be possible to make it easier to understand.
2022-08-06 11:07:15 -07:00
Eric House
11ea30c882 make alert builders take varargs to simplify calling
Required making the string res id the last arg rather than first,
but let me clean up a bunch of code. Should be no behavior change
at all.
2022-08-06 06:49:06 -07:00
Eric House
c00bbf8ef1 simplify move expl tracking; don't show for dup-mode robots
Removed a boolean that seemed unnecessary. Stopped showing
move-explanations for robots in duplicate mode. They were being shown
too early thanks to bad logic, but I don't think there's any call for
them at all. A robot's move is only interesting if it's the one that
wins the turn.
2022-08-04 16:03:07 -07:00
Eric House
818868bdb2 remove undo as an option for duplicate mode games 2022-08-03 19:54:53 -07:00
Anupam Malhotra
345f104505
Translated using Weblate (Spanish)
Currently translated at 18.6% (165 of 884 strings)
2022-08-03 18:14:54 +02:00
Eric House
e6d516ca1d remove assertion firing in dup mode
The assertion's clearly blocking testing, but I'm not sure it's not an
error for two move explanations to want to co-exist. For now they're
concatenated.
2022-08-01 13:05:19 -07:00
Eric House
7d3502eddd cleanup and force draw
Got rid of pre-cairo drawing stuff, but that didn't fix drawing not
happening without something like a window resize to force it. Instead
I added a manual gtk_widget_queue_draw() call. It's gross, but I'm
this app's only user. :-)
2022-07-31 17:57:57 -07:00
Eric House
10a2c5e4b7 fix assertion failure in dupe mode 2022-07-30 19:50:09 -07:00
Eric House
76f943de36 update changelog 2022-07-28 18:04:46 -07:00
Eric House
9357328747 Fix curses api misuse flagged by new C compiler 2022-07-28 12:00:12 -07:00
Laura Vasconcelos Pereira Felippe
de6b1a3560
Translated using Weblate (Portuguese)
Currently translated at 93.6% (828 of 884 strings)
2022-07-26 16:23:12 +02:00
ssantos
bcb3f91f0d
Translated using Weblate (German)
Currently translated at 86.3% (763 of 884 strings)
2022-07-20 19:19:39 +02:00
Eric House
27d5127f12 cleanup 2022-07-16 15:39:32 -07:00
Wellington Terumi Uemura
68e3a3337d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (884 of 884 strings)
2022-07-14 06:16:28 +02:00
joe
bb6b102c85
Translated using Weblate (Chinese (Simplified))
Currently translated at 6.3% (56 of 884 strings)
2022-07-14 06:16:27 +02:00
Hosted Weblate
f30ebdee54
Merge branch 'origin/android_branch' into Weblate. 2022-07-12 23:36:24 +02:00
Wellington Terumi Uemura
05a6cc16fe
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (881 of 881 strings)
2022-07-12 23:36:24 +02:00
Eric House
e9f95180e5 add debug-only menu in place of always showing net status
I want to add a relay2 API that'll tell how long it's been since peer
connected etc. First will show it in debug-only builds via this menu.
2022-07-12 14:35:59 -07:00
Eric House
ac7e918718 Rewrite to actually cache lang names and codes we encounter 2022-07-11 17:47:57 -07:00
Eric House
041a9f3c3e change button to "Delete Game" for clarity 2022-07-11 17:47:57 -07:00
Eric House
b1b8644f8f cleanup: delete ref where it's last used 2022-07-11 17:47:57 -07:00
Eric House
dac0727c40 fix sig mismatch between jni and java 2022-07-11 17:47:57 -07:00
Artem
8c598c8aca
Translated using Weblate (Ukrainian)
Currently translated at 0.5% (5 of 879 strings)
2022-07-09 14:16:24 +02:00
Hosted Weblate
0750ce5bf4
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-09 06:58:07 +02:00
Eric House
51abc98647 use same variable name throughout 2022-07-08 21:57:42 -07:00
Hosted Weblate
162d1fcb14
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-07 19:00:45 +02:00
Eric House
a393a99c19 add ISOCode class
I was getting language name and iso code confused so adding a new type
to keep them separate. Keep string type for crossing JNI boundary and
passing as param e.g. in URLs and Bundles.
2022-07-07 10:00:24 -07:00
Eric House
882c717add cleanup/fix compiler warning 2022-07-07 10:00:24 -07:00
Eric House
9e835b90bf refactor jni code
Adding some utility functions
2022-07-07 10:00:24 -07:00
Eric House
b7e1a4d0ec remove assert 2022-07-07 10:00:24 -07:00
Hosted Weblate
b26da5e4af
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-03 05:16:18 +02:00
Eric House
a6a6523e9c cleanup: remove asserts and unused strings
Some asserts were firing in the very rare case where for some reason
relay couldn't be converted to mqtt.
2022-07-02 20:15:29 -07:00
Eric House
2dfc9129f3 add timestamp to saved msgs, modify mqtt header to include later
I want receiver to know when message was originally created. This adds
timestamp to messages and passes it via send proc. Client needs to
send it where possible. So far, MQTT format can't include it without
change, so I'm adding a new proto version. This change can read the
new version. Once that's well-enough distributed I can start sending
using it. Other transmission types than MQTT are for later.
2022-06-29 12:34:27 -07:00
Eric House
ec4822bbe9 remove redundant checkUpdates param 2022-06-28 11:50:12 -07:00
Eric House
1c6afc7909 avoid caught exception with better sql statement 2022-06-28 10:51:45 -07:00
Eric House
2c26af0e68 remove / from archive filenames
Older versions of Android use / in default date strings to produce
illegal file names. Swap '-' in instead.
2022-06-28 10:51:45 -07:00
Eric
cfd7842862
Translated using Weblate (Chinese (Simplified))
Currently translated at 5.2% (47 of 900 strings)
2022-06-27 07:17:00 +02:00
Hosted Weblate
cdac39e808
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-26 06:19:36 +02:00
Hosted Weblate
cb72c5dac5
Merge branch 'origin/android_branch' into Weblate. 2022-06-26 06:19:34 +02:00