~andy/spades
3 years agoPrevent app crash on Empty Send. master
Jake Whiteley [Sun, 29 May 2016 23:28:27 +0000 (19:28 -0400)]
Prevent app crash on Empty Send.

Application crashes if send button is pressed with an empty message.

Fixed with a check if txt is empty before sending it to the handler.

3 years agoUpdates for Android SDK 23.
Jake Whiteley [Sun, 29 May 2016 23:19:20 +0000 (19:19 -0400)]
Updates for Android SDK 23.

AndroidManifest:
  Updated to reflect new required SDK: 18.

common.mk:
  Update to use current build tools and for my directory layout.
  Will investigate using variables for build system.

src/Task.java
  Use NotificationBuilder for Task notification
  Run is no longer overridden ?
  Use OnStartCommand instead of onStart.

3 years agoUpdate gitignore for Android Studio
Jake Whiteley [Sun, 29 May 2016 22:48:21 +0000 (18:48 -0400)]
Update gitignore for Android Studio

3 years agoAdding a LICENSE file
Jake Whiteley [Sun, 29 May 2016 22:38:01 +0000 (18:38 -0400)]
Adding a LICENSE file

The maintainer of the forked project would like the project to be covered by the GPL.

Files will be modified to follow GPL guidelines showing Andy Spencer as the original maintainer and the copyright holder.

3 years agoFix .look bugs
Andy Spencer [Thu, 12 Nov 2015 06:41:20 +0000 (06:41 +0000)]
Fix .look bugs

3 years agoShow turn in title bar
Andy Spencer [Fri, 6 Nov 2015 23:07:32 +0000 (23:07 +0000)]
Show turn in title bar

3 years agoSetup game automatically
Andy Spencer [Fri, 6 Nov 2015 22:44:26 +0000 (22:44 +0000)]
Setup game automatically

3 years agoSuppress warnings
Andy Spencer [Fri, 6 Nov 2015 22:26:47 +0000 (22:26 +0000)]
Suppress warnings

3 years agoMove src to top level
Andy Spencer [Fri, 6 Nov 2015 22:26:39 +0000 (22:26 +0000)]
Move src to top level

4 years agoPrevent crash with zero-length strings
Andy Spencer [Sun, 26 Apr 2015 22:12:51 +0000 (22:12 +0000)]
Prevent crash with zero-length strings

4 years agoAdd connect button
Andy Spencer [Sun, 26 Apr 2015 22:03:55 +0000 (22:03 +0000)]
Add connect button

4 years agoUpdate makefile
Andy Spencer [Fri, 27 Mar 2015 20:27:09 +0000 (20:27 +0000)]
Update makefile

4 years agoClear text windows before replaying log
Andy Spencer [Mon, 27 Oct 2014 23:48:26 +0000 (23:48 +0000)]
Clear text windows before replaying log

4 years agoUpdate makefile for version 20
Andy Spencer [Mon, 27 Oct 2014 23:46:33 +0000 (23:46 +0000)]
Update makefile for version 20

- Change build tools folder to version 20
- Change .dbg extension to -dbg.apk because ADB refuses
  to install packages with different extensions

5 years agoRemove titlebar
Andy Spencer [Fri, 21 Feb 2014 07:17:09 +0000 (07:17 +0000)]
Remove titlebar

5 years agoAdd border around cards
Andy Spencer [Fri, 21 Feb 2014 07:04:52 +0000 (07:04 +0000)]
Add border around cards

This prevents aliasing on the card edges because the texture gets
min-filtered even though GLES20 doesn't support POLYGON_SMOOTH.

5 years agoFix texture loading with new Android
Andy Spencer [Fri, 21 Feb 2014 06:36:51 +0000 (06:36 +0000)]
Fix texture loading with new Android

This also fix the texture blurring issues

5 years agoUpdate makefile for new Android SDKs
Andy Spencer [Thu, 20 Feb 2014 03:41:05 +0000 (03:41 +0000)]
Update makefile for new Android SDKs

5 years agoAdd /msg command
Andy Spencer [Wed, 11 Dec 2013 03:29:47 +0000 (03:29 +0000)]
Add /msg command

5 years agoAdd aliases or /j and /p
Andy Spencer [Wed, 11 Dec 2013 03:29:34 +0000 (03:29 +0000)]
Add aliases or /j and /p

5 years agoClear logs on quit
Andy Spencer [Wed, 11 Dec 2013 03:29:04 +0000 (03:29 +0000)]
Clear logs on quit

5 years agoFix bug were we can no longer control Task
Andy Spencer [Wed, 11 Dec 2013 02:53:32 +0000 (02:53 +0000)]
Fix bug were we can no longer control Task

This happens when the task is killed but main activity is not. A new
task gets created without a registered messenger, but the Main activity
doesn't know to reregister itself.

5 years agoUse unique colors for names
Andy Spencer [Wed, 30 Oct 2013 01:32:40 +0000 (01:32 +0000)]
Use unique colors for names

5 years agoFix apkbuilder error
Andy Spencer [Wed, 30 Oct 2013 01:31:08 +0000 (01:31 +0000)]
Fix apkbuilder error

6 years agoAdd connection timeout handling
Andy Spencer [Sat, 27 Apr 2013 06:52:02 +0000 (06:52 +0000)]
Add connection timeout handling

6 years agoSome more cleanup
Andy Spencer [Sat, 27 Apr 2013 02:48:12 +0000 (02:48 +0000)]
Some more cleanup

6 years agoMake parallel build work again
Andy Spencer [Sat, 27 Apr 2013 02:41:33 +0000 (02:41 +0000)]
Make parallel build work again

We just use the R.class file to denote all the class files, since we
build them all with the same command. This prevents make from trying to
compile all the class files separately.

6 years agoUpdate makefile for release build
Andy Spencer [Sat, 27 Apr 2013 01:47:45 +0000 (01:47 +0000)]
Update makefile for release build

- Add debug and release targets
- Add key signing for release target
- Prevent deleting intermediate files
- Fix non xml resources
- Miscellaneous formatting

OpenSSL can be used to create a Java compatible KeyStore from a PEM
encoded certificate and key:

    openssl pkcs12 -export \
     -name  android     \
-in    android.crt \
-inkey android.key \
-out   android.p12

6 years agoFix null pointers and pile parsing
Andy Spencer [Wed, 24 Apr 2013 08:48:19 +0000 (08:48 +0000)]
Fix null pointers and pile parsing

6 years agoDisplay IRC colors in text view
Andy Spencer [Wed, 24 Apr 2013 08:28:21 +0000 (08:28 +0000)]
Display IRC colors in text view

6 years agoAdd IRC color parsing
Andy Spencer [Wed, 24 Apr 2013 06:26:07 +0000 (06:26 +0000)]
Add IRC color parsing

6 years agoRefactor message code
Andy Spencer [Wed, 24 Apr 2013 04:33:15 +0000 (04:33 +0000)]
Refactor message code

6 years agoImprove client modeing
Andy Spencer [Tue, 23 Apr 2013 07:20:06 +0000 (07:20 +0000)]
Improve client modeing

6 years agoChange Exit to Quit and return to home screen
Andy Spencer [Tue, 23 Apr 2013 06:01:34 +0000 (06:01 +0000)]
Change Exit to Quit and return to home screen

6 years agoUpdate preferences
Andy Spencer [Tue, 23 Apr 2013 05:59:03 +0000 (05:59 +0000)]
Update preferences

Add config option for game referee
Change default value of channel
Move setting default prefs to main

6 years agoAdd application icon
Andy Spencer [Mon, 22 Apr 2013 04:56:27 +0000 (04:56 +0000)]
Add application icon

6 years agoUpdate makefile rules
Andy Spencer [Mon, 22 Apr 2013 03:48:12 +0000 (03:48 +0000)]
Update makefile rules

Add config.mk support

Add debug messages for building with drawables.

Disable parallel build - Java starts so slow that it's faster to do all
the compiles with a single javac command. This prevents make from trying
to do the same thing over and over.

6 years agoAdd cards display from IRC messages
Andy Spencer [Mon, 22 Apr 2013 02:56:50 +0000 (02:56 +0000)]
Add cards display from IRC messages

6 years agoAdd Spades class and tie things together
Andy Spencer [Mon, 22 Apr 2013 02:10:24 +0000 (02:10 +0000)]
Add Spades class and tie things together

Spades gets messages from the Main Activity and will checks the various
rhawk IRC messages formats and the command the Cards view to display the
appropriate information.

It will also get commands from the Cards view, checks them for validity,
and then format them as IRC messages to send to the Task/Client.

6 years agoAdd /join and /part commands
Andy Spencer [Mon, 22 Apr 2013 02:09:42 +0000 (02:09 +0000)]
Add /join and /part commands

6 years agoRemove some debug messages
Andy Spencer [Mon, 22 Apr 2013 02:08:26 +0000 (02:08 +0000)]
Remove some debug messages

6 years agoStore Task state so we can restart Main
Andy Spencer [Mon, 22 Apr 2013 00:40:37 +0000 (00:40 +0000)]
Store Task state so we can restart Main

This stores a log in the Task which can be accessed by Main when a new
activity is created (assuming it as previously destroyed, such as when
the user pressed the back button).

This also cleans up some of the connect/disconnect functionality so that
the user abort before the IRC session has finished setting up.

Multiple commands are now supported by starting the task with different
messages.

6 years agoDraw the pile of cards
Andy Spencer [Sun, 21 Apr 2013 22:02:15 +0000 (22:02 +0000)]
Draw the pile of cards

6 years agoSplit up drawing functions
Andy Spencer [Sun, 21 Apr 2013 22:01:48 +0000 (22:01 +0000)]
Split up drawing functions

6 years agoAdd touch handler
Andy Spencer [Sun, 21 Apr 2013 08:05:22 +0000 (08:05 +0000)]
Add touch handler

6 years agoUpdate graphics branch
Andy Spencer [Sun, 21 Apr 2013 03:45:47 +0000 (03:45 +0000)]
Update graphics branch

6 years agoDraw more cards and a table
Andy Spencer [Sun, 21 Apr 2013 03:29:03 +0000 (03:29 +0000)]
Draw more cards and a table

6 years agoReorder Cards methods
Andy Spencer [Sun, 21 Apr 2013 00:36:33 +0000 (00:36 +0000)]
Reorder Cards methods

6 years agoAdd initial perspective code
Andy Spencer [Sun, 21 Apr 2013 00:04:00 +0000 (00:04 +0000)]
Add initial perspective code

This will likely change if I ever actually figure out how matrices work.

6 years agoFull card texture loading plus some cleanup
Andy Spencer [Sat, 20 Apr 2013 21:52:32 +0000 (21:52 +0000)]
Full card texture loading plus some cleanup

6 years agoAdd initial texture loading
Andy Spencer [Mon, 15 Apr 2013 08:53:30 +0000 (08:53 +0000)]
Add initial texture loading

The images are blurry for some reason which is probably Android's fault

6 years agoAdd rules for card images
Andy Spencer [Mon, 15 Apr 2013 05:55:20 +0000 (05:55 +0000)]
Add rules for card images

For now, the cards are left in branches so we can change them easily
without cluttering up the history.

6 years agoSplit out uninstall to save settings
Andy Spencer [Mon, 15 Apr 2013 05:48:10 +0000 (05:48 +0000)]
Split out uninstall to save settings

6 years agoAdd initial OpenGL example
Andy Spencer [Sun, 14 Apr 2013 05:13:30 +0000 (05:13 +0000)]
Add initial OpenGL example

6 years agoClean up IRC formatting a little
Andy Spencer [Sun, 14 Apr 2013 04:51:44 +0000 (04:51 +0000)]
Clean up IRC formatting a little

6 years agoInitial text formatting
Andy Spencer [Sat, 13 Apr 2013 10:08:11 +0000 (10:08 +0000)]
Initial text formatting

6 years agoUpdate preferences
Andy Spencer [Sat, 13 Apr 2013 10:07:46 +0000 (10:07 +0000)]
Update preferences

6 years agoAdd support for SASL PLAIN authentication
Andy Spencer [Sat, 13 Apr 2013 07:37:49 +0000 (07:37 +0000)]
Add support for SASL PLAIN authentication

6 years agoAdd settings menu
Andy Spencer [Sat, 13 Apr 2013 04:15:44 +0000 (04:15 +0000)]
Add settings menu

6 years agoShow topic and current users
Andy Spencer [Sat, 13 Apr 2013 02:37:15 +0000 (02:37 +0000)]
Show topic and current users

6 years agoMove toasts to Main
Andy Spencer [Sat, 13 Apr 2013 02:02:31 +0000 (02:02 +0000)]
Move toasts to Main

6 years agoUse connection status for menu
Andy Spencer [Sat, 13 Apr 2013 02:01:32 +0000 (02:01 +0000)]
Use connection status for menu

6 years agoAdd nickname mangling
Andy Spencer [Sat, 13 Apr 2013 02:00:14 +0000 (02:00 +0000)]
Add nickname mangling

6 years agoFix bug in logcat
Andy Spencer [Sat, 13 Apr 2013 01:59:37 +0000 (01:59 +0000)]
Fix bug in logcat

6 years agoImprove connection handling
Andy Spencer [Sat, 13 Apr 2013 01:13:42 +0000 (01:13 +0000)]
Improve connection handling

6 years agoAdd simple menu
Andy Spencer [Sat, 13 Apr 2013 00:08:23 +0000 (00:08 +0000)]
Add simple menu

6 years agoAdd IRC Service and update UI
Andy Spencer [Fri, 12 Apr 2013 20:08:48 +0000 (20:08 +0000)]
Add IRC Service and update UI

6 years agoAdd initial IRC client
Andy Spencer [Sun, 7 Apr 2013 08:54:38 +0000 (08:54 +0000)]
Add initial IRC client

6 years agoInitial import
Andy Spencer [Sun, 7 Apr 2013 01:26:55 +0000 (01:26 +0000)]
Initial import