OSDN Git Service

sharp4k/CUTEn.git
11 years agoFix download apk parameter
eagletmt [Sun, 21 Oct 2012 07:48:15 +0000 (16:48 +0900)]
Fix download apk parameter

11 years agoFlip background color
eagletmt [Sun, 21 Oct 2012 06:13:58 +0000 (15:13 +0900)]
Flip background color

Blue: not downloaded yet
Gray: already downloaded

11 years agoSpecify viewport for smartphones and tablets
eagletmt [Thu, 18 Oct 2012 13:45:35 +0000 (22:45 +0900)]
Specify viewport for smartphones and tablets

11 years agoRemove unused TextView
eagletmt [Wed, 17 Oct 2012 13:34:29 +0000 (22:34 +0900)]
Remove unused TextView

11 years agoUse the same icon for update buttons
eagletmt [Wed, 17 Oct 2012 13:32:31 +0000 (22:32 +0900)]
Use the same icon for update buttons

11 years agoMerge branch 'ticket29731/unify-pandaview'
eagletmt [Wed, 17 Oct 2012 13:30:32 +0000 (22:30 +0900)]
Merge branch 'ticket29731/unify-pandaview'

11 years agoImplement #29731
eagletmt [Wed, 17 Oct 2012 12:56:53 +0000 (21:56 +0900)]
Implement #29731

11 years agoMake fields private
eagletmt [Wed, 17 Oct 2012 12:45:15 +0000 (21:45 +0900)]
Make fields private

11 years agoCancel dialog on touch outside, fixes #29732
eagletmt [Wed, 17 Oct 2012 12:15:49 +0000 (21:15 +0900)]
Cancel dialog on touch outside, fixes #29732

11 years agoAdd Rakefile for ECC
Yuta Kawabe [Wed, 17 Oct 2012 08:07:26 +0000 (17:07 +0900)]
Add Rakefile for ECC

11 years agoMerge remote-tracking branch 'origin/ECC'
eagletmt [Wed, 17 Oct 2012 07:53:36 +0000 (16:53 +0900)]
Merge remote-tracking branch 'origin/ECC'

11 years agoDon't delete me part2
eagletmt [Wed, 17 Oct 2012 07:53:20 +0000 (16:53 +0900)]
Don't delete me part2

11 years agoDon't delete us!
eagletmt [Wed, 17 Oct 2012 07:47:47 +0000 (16:47 +0900)]
Don't delete us!

11 years agoMerge remote-tracking branch 'origin/only-one-send-queue'
eagletmt [Wed, 17 Oct 2012 06:54:57 +0000 (15:54 +0900)]
Merge remote-tracking branch 'origin/only-one-send-queue'

Conflicts:
CUTEn/AndroidManifest.xml
CUTEn/src/jp/ac/titech/sharp4k/cuten/LectureActivity.java

11 years agoMerge remote-tracking branch 'origin/background'
eagletmt [Wed, 17 Oct 2012 06:51:38 +0000 (15:51 +0900)]
Merge remote-tracking branch 'origin/background'

Conflicts:
CUTEn/res/layout/main.xml
QA/src/jp/ac/titech/sharp4k/cuten/QAActivity.java
QA/src/jp/ac/titech/sharp4k/cuten/sampletask/QATask.java

11 years agoRakefile: Support Windows
eagletmt [Wed, 17 Oct 2012 06:35:41 +0000 (15:35 +0900)]
Rakefile: Support Windows

11 years agoimplement mark and send(halfway)
Yuta Kawabe [Wed, 17 Oct 2012 04:29:24 +0000 (13:29 +0900)]
implement mark and send(halfway)

11 years agoRemove duplicated traverse
eagletmt [Tue, 16 Oct 2012 14:13:58 +0000 (23:13 +0900)]
Remove duplicated traverse

11 years agoThere's only one sending queue and one sending thread
eagletmt [Tue, 16 Oct 2012 07:14:47 +0000 (16:14 +0900)]
There's only one sending queue and one sending thread

When the application starts, it creates one sending queue and starts one
sending thread (consumer thread). The sending thread is pooled by
Executor and re-uses itself after finishing sending. When the queue is
empty, BlockingQueue#take() blocks until a new achievement is enqueued
via AchievementsSender.add().

11 years agoemphasize checksum and make unchangeable
Yuta Kawabe [Tue, 16 Oct 2012 06:59:36 +0000 (15:59 +0900)]
emphasize checksum and make unchangeable

11 years agoimplement onTouchEvent()
Yuta Kawabe [Tue, 16 Oct 2012 05:54:14 +0000 (14:54 +0900)]
implement onTouchEvent()

11 years agoAlways start a new thread
eagletmt [Tue, 16 Oct 2012 04:28:10 +0000 (13:28 +0900)]
Always start a new thread

11 years agoStart new AsyncTask only when the current thread is the UI thread, fixes #29849
eagletmt [Mon, 15 Oct 2012 12:11:17 +0000 (21:11 +0900)]
Start new AsyncTask only when the current thread is the UI thread, fixes #29849

AsyncTask has a Handler and Handler must be created within Looper's
thread. In our case, HttpAPIClientImpl#putAchievement could be called in
a non-UI thread (a timer thread).

11 years agoReplace background image
eagletmt [Mon, 15 Oct 2012 11:24:54 +0000 (20:24 +0900)]
Replace background image

11 years agoReplace 'add lecture' button with icon
eagletmt [Mon, 15 Oct 2012 10:04:16 +0000 (19:04 +0900)]
Replace 'add lecture' button with icon

11 years agodraw matrix(code)
Yuta Kawabe [Mon, 15 Oct 2012 08:47:02 +0000 (17:47 +0900)]
draw matrix(code)

11 years agoset layout
Yuta Kawabe [Mon, 15 Oct 2012 08:00:46 +0000 (17:00 +0900)]
set layout

11 years agoSeparate rake task definitions into some methods
eagletmt [Mon, 15 Oct 2012 07:55:06 +0000 (16:55 +0900)]
Separate rake task definitions into some methods

11 years agoRe-structure rake tools
eagletmt [Mon, 15 Oct 2012 07:47:26 +0000 (16:47 +0900)]
Re-structure rake tools

11 years agoMerge remote-tracking branch 'origin/build-app-tools'
eagletmt [Mon, 15 Oct 2012 05:05:13 +0000 (14:05 +0900)]
Merge remote-tracking branch 'origin/build-app-tools'

11 years agoRUBY_ENGINE is not defined in old Ruby
eagletmt [Mon, 15 Oct 2012 04:45:12 +0000 (13:45 +0900)]
RUBY_ENGINE is not defined in old Ruby

Mac OS X's default ruby 1.8.7-p358 doesn't have it...

11 years agoUse ApkBuilder directly if rake is running under JRuby
eagletmt [Sun, 14 Oct 2012 18:27:34 +0000 (03:27 +0900)]
Use ApkBuilder directly if rake is running under JRuby

11 years agoMore robust platform directories detection
eagletmt [Sun, 14 Oct 2012 16:30:08 +0000 (01:30 +0900)]
More robust platform directories detection

11 years agoAdd Rakefile to build task applications easily
eagletmt [Sun, 14 Oct 2012 14:51:18 +0000 (23:51 +0900)]
Add Rakefile to build task applications easily

`rake` builds unaligned debug APK file.
`rake apk:push` deletes old APK in /sdcard and pushes new APK file.
Only tested in my Linux environment.

11 years agoFix Guardfile for factory_girls
eagletmt [Sun, 14 Oct 2012 06:48:18 +0000 (15:48 +0900)]
Fix Guardfile for factory_girls

When a factory is modified, it should be reloaded and related tests
should be run.

11 years agobundle update
eagletmt [Sun, 14 Oct 2012 03:15:03 +0000 (12:15 +0900)]
bundle update

11 years agoUpgrade ruby
eagletmt [Sun, 14 Oct 2012 02:31:37 +0000 (11:31 +0900)]
Upgrade ruby

http://www.ruby-lang.org/ja/news/2012/10/12/ruby-1-9-3-p286-is-released/

11 years agoUse ImageButton
eagletmt [Thu, 11 Oct 2012 08:11:26 +0000 (17:11 +0900)]
Use ImageButton

11 years agoReplace text buttons with icons
eagletmt [Thu, 11 Oct 2012 07:38:43 +0000 (16:38 +0900)]
Replace text buttons with icons

11 years agofirst commit
Yuta Kawabe [Thu, 11 Oct 2012 06:19:38 +0000 (15:19 +0900)]
first commit

11 years agoandroid:layout_weight setting is not needed
eagletmt [Wed, 10 Oct 2012 12:30:39 +0000 (21:30 +0900)]
android:layout_weight setting is not needed

11 years agoNo spacer
eagletmt [Wed, 10 Oct 2012 12:23:23 +0000 (21:23 +0900)]
No spacer

android:layout_width="match_parent" android:gravity="right" works well
to be aligned on the right.

11 years agoFormat & Organize imports
eagletmt [Wed, 10 Oct 2012 12:11:59 +0000 (21:11 +0900)]
Format & Organize imports

11 years agoUse RelativeLayout to represent footer, fix #29550
eagletmt [Wed, 10 Oct 2012 12:06:51 +0000 (21:06 +0900)]
Use RelativeLayout to represent footer, fix #29550

11 years agoReuse dialogs
eagletmt [Wed, 10 Oct 2012 11:34:26 +0000 (20:34 +0900)]
Reuse dialogs

11 years agoInline openTable()
eagletmt [Wed, 10 Oct 2012 11:27:46 +0000 (20:27 +0900)]
Inline openTable()

11 years agoPrivate
eagletmt [Wed, 10 Oct 2012 11:24:20 +0000 (20:24 +0900)]
Private

11 years agoDon't reset Adapter
eagletmt [Wed, 10 Oct 2012 11:20:58 +0000 (20:20 +0900)]
Don't reset Adapter

11 years agoMerge remote-tracking branch 'origin/BehaviorOfDownloadActivity'
eagletmt [Wed, 10 Oct 2012 10:43:46 +0000 (19:43 +0900)]
Merge remote-tracking branch 'origin/BehaviorOfDownloadActivity'

11 years agoFix trivial miss of the previous commit
eagletmt [Wed, 10 Oct 2012 10:39:50 +0000 (19:39 +0900)]
Fix trivial miss of the previous commit

11 years agoCoordinate lecture button's background
eagletmt [Wed, 10 Oct 2012 09:58:53 +0000 (18:58 +0900)]
Coordinate lecture button's background

11 years agoAdd background image
eagletmt [Wed, 10 Oct 2012 08:54:49 +0000 (17:54 +0900)]
Add background image

11 years agoCopy Eclipse settings
eagletmt [Wed, 10 Oct 2012 05:25:03 +0000 (14:25 +0900)]
Copy Eclipse settings

11 years agoQ and A
onuxy [Wed, 10 Oct 2012 04:59:32 +0000 (13:59 +0900)]
Q and A

11 years agoCopy Eclipse settings
eagletmt [Wed, 10 Oct 2012 05:25:03 +0000 (14:25 +0900)]
Copy Eclipse settings

11 years agoMerge remote-tracking branch 'origin/QA'
eagletmt [Wed, 10 Oct 2012 05:24:44 +0000 (14:24 +0900)]
Merge remote-tracking branch 'origin/QA'

11 years agoQ and A
onuxy [Wed, 10 Oct 2012 04:59:32 +0000 (13:59 +0900)]
Q and A

11 years agoMerge remote-tracking branch 'origin/ticket29771/teacher-view'
eagletmt [Tue, 9 Oct 2012 11:04:36 +0000 (20:04 +0900)]
Merge remote-tracking branch 'origin/ticket29771/teacher-view'

11 years agoMerge remote-tracking branch 'origin/improve-adapter'
eagletmt [Tue, 9 Oct 2012 10:49:43 +0000 (19:49 +0900)]
Merge remote-tracking branch 'origin/improve-adapter'

11 years agoSync group expansion states
eagletmt [Tue, 9 Oct 2012 10:34:17 +0000 (19:34 +0900)]
Sync group expansion states

11 years agoAdd tests of achievement visibilities from teachers
eagletmt [Tue, 9 Oct 2012 09:26:25 +0000 (18:26 +0900)]
Add tests of achievement visibilities from teachers

11 years agoShow all achievements to teachers
eagletmt [Tue, 9 Oct 2012 05:51:37 +0000 (14:51 +0900)]
Show all achievements to teachers

11 years agoSelect teacher or student on registration
eagletmt [Tue, 9 Oct 2012 05:34:05 +0000 (14:34 +0900)]
Select teacher or student on registration

11 years agoAdd teacher_id column to users
eagletmt [Tue, 9 Oct 2012 05:09:45 +0000 (14:09 +0900)]
Add teacher_id column to users

11 years agoSeed apk entries which have the same task
eagletmt [Tue, 9 Oct 2012 05:08:17 +0000 (14:08 +0900)]
Seed apk entries which have the same task

11 years agoPrepare apk entries before testing LectureActivity
eagletmt [Mon, 8 Oct 2012 15:30:25 +0000 (00:30 +0900)]
Prepare apk entries before testing LectureActivity

11 years agoDon't hold Task and Apk
eagletmt [Mon, 8 Oct 2012 15:00:07 +0000 (00:00 +0900)]
Don't hold Task and Apk

11 years agoSave apk file with its id, not its task's id
eagletmt [Mon, 8 Oct 2012 14:45:55 +0000 (23:45 +0900)]
Save apk file with its id, not its task's id

11 years agoReturn latest apk
eagletmt [Mon, 8 Oct 2012 14:18:02 +0000 (23:18 +0900)]
Return latest apk

11 years agoBoxing is evil
eagletmt [Mon, 8 Oct 2012 12:51:24 +0000 (21:51 +0900)]
Boxing is evil

11 years agoRevert "Change API endpoint temporarily for testing"
eagletmt [Sun, 7 Oct 2012 10:20:53 +0000 (19:20 +0900)]
Revert "Change API endpoint temporarily for testing"

This reverts commit da4b797ad322236e4e36b9cd2219e33a4e9dfd10.

11 years agoMerge remote-tracking branch 'origin/cutenlib'
eagletmt [Sun, 7 Oct 2012 10:16:11 +0000 (19:16 +0900)]
Merge remote-tracking branch 'origin/cutenlib'

11 years agoAdd "DEBUG" task for debugging apps
eagletmt [Sun, 7 Oct 2012 09:43:22 +0000 (18:43 +0900)]
Add "DEBUG" task for debugging apps

You can launch app located at /sdcard.
The file name is important: must be the full class name, e.g.
/sdcard/jp.ac.titech.sharp4k.cuten.sampletask.Hello3Task.apk
You cannot put multiple debuggee apk files.

11 years agoAdd onPause()/onResume() logging
eagletmt [Sun, 7 Oct 2012 08:13:22 +0000 (17:13 +0900)]
Add onPause()/onResume() logging

In order to figure out when they are triggered

11 years agoResources#getDrawable(int) works
eagletmt [Sun, 7 Oct 2012 08:05:44 +0000 (17:05 +0900)]
Resources#getDrawable(int) works

11 years agoDeepcopy parent's Configuration and DisplayMetrics
eagletmt [Sun, 7 Oct 2012 05:41:26 +0000 (14:41 +0900)]
Deepcopy parent's Configuration and DisplayMetrics

11 years agoEnable onConfigurationChanged callback on TaskActivity
eagletmt [Sun, 7 Oct 2012 05:40:25 +0000 (14:40 +0900)]
Enable onConfigurationChanged callback on TaskActivity

11 years agoExample usage of onConfigurationChanged(), but not working properly?
eagletmt [Fri, 5 Oct 2012 13:32:19 +0000 (22:32 +0900)]
Example usage of onConfigurationChanged(), but not working properly?

11 years agoCall super
eagletmt [Fri, 5 Oct 2012 13:32:09 +0000 (22:32 +0900)]
Call super

11 years agoChange API endpoint temporarily for testing
eagletmt [Fri, 5 Oct 2012 12:40:40 +0000 (21:40 +0900)]
Change API endpoint temporarily for testing

11 years agoCall onPause()/onResume()
eagletmt [Fri, 5 Oct 2012 12:24:25 +0000 (21:24 +0900)]
Call onPause()/onResume()

11 years agoSignature of onConfigurationChanged() was wrong...
eagletmt [Fri, 5 Oct 2012 12:22:46 +0000 (21:22 +0900)]
Signature of onConfigurationChanged() was wrong...

11 years agoHide internal stuff
eagletmt [Fri, 5 Oct 2012 12:18:49 +0000 (21:18 +0900)]
Hide internal stuff

11 years agoExample usage of BaseApp#close() and BaseApp#onClose()
eagletmt [Fri, 5 Oct 2012 12:04:52 +0000 (21:04 +0900)]
Example usage of BaseApp#close() and BaseApp#onClose()

11 years agoExample usage of drawable resources
eagletmt [Fri, 5 Oct 2012 11:51:59 +0000 (20:51 +0900)]
Example usage of drawable resources

11 years agoExample usage of string resources
eagletmt [Fri, 5 Oct 2012 11:40:00 +0000 (20:40 +0900)]
Example usage of string resources

11 years agoActually send achievement by BaseApp#send()
eagletmt [Fri, 5 Oct 2012 11:22:15 +0000 (20:22 +0900)]
Actually send achievement by BaseApp#send()

11 years agoWIP: Handle BaseApp#send()
eagletmt [Fri, 5 Oct 2012 10:57:43 +0000 (19:57 +0900)]
WIP: Handle BaseApp#send()

11 years agoAdd CUTEnLib
eagletmt [Fri, 5 Oct 2012 10:49:06 +0000 (19:49 +0900)]
Add CUTEnLib

11 years agoSwitch visibility of buttons depending on the current mode
eagletmt [Wed, 3 Oct 2012 05:51:19 +0000 (14:51 +0900)]
Switch visibility of buttons depending on the current mode

11 years agoGet rid of folders
eagletmt [Wed, 3 Oct 2012 10:29:53 +0000 (19:29 +0900)]
Get rid of folders

11 years agoDo not re-set ExpandableListAdapter
eagletmt [Wed, 3 Oct 2012 10:13:25 +0000 (19:13 +0900)]
Do not re-set ExpandableListAdapter

11 years agoAvoid getArrayAdapter() on moving a lecture
eagletmt [Wed, 3 Oct 2012 09:17:57 +0000 (18:17 +0900)]
Avoid getArrayAdapter() on moving a lecture

11 years agoAvoid getArrayAdapter() on merging folders
eagletmt [Wed, 3 Oct 2012 09:11:24 +0000 (18:11 +0900)]
Avoid getArrayAdapter() on merging folders

11 years agoAvoid getArrayAdapter() on swapping folders
eagletmt [Wed, 3 Oct 2012 08:55:24 +0000 (17:55 +0900)]
Avoid getArrayAdapter() on swapping folders

11 years agoAvoid getArrayAdapter() on renaming a folder
eagletmt [Wed, 3 Oct 2012 08:51:00 +0000 (17:51 +0900)]
Avoid getArrayAdapter() on renaming a folder

11 years agoAvoid getArrayAdapter() on creating a folder
eagletmt [Wed, 3 Oct 2012 08:48:54 +0000 (17:48 +0900)]
Avoid getArrayAdapter() on creating a folder

11 years agoAvoid getArrayAdapter() on deleting a folder
eagletmt [Wed, 3 Oct 2012 08:42:35 +0000 (17:42 +0900)]
Avoid getArrayAdapter() on deleting a folder

11 years agoExtract LectureFolder
eagletmt [Wed, 3 Oct 2012 08:22:48 +0000 (17:22 +0900)]
Extract LectureFolder

11 years agoMake PandaAdapter stuffs more type-safe
eagletmt [Wed, 3 Oct 2012 08:03:31 +0000 (17:03 +0900)]
Make PandaAdapter stuffs more type-safe