Commit Graph

587 Commits

Author SHA1 Message Date
Andrew Dolgov
556196cf6a fix appending new headlines on scroll
remove unused stuff from preferences
2012-09-16 23:19:12 +04:00
Andrew Dolgov
67752b2c57 reimplement action mode for headlines selection 2012-09-16 22:53:58 +04:00
Andrew Dolgov
721c98ce98 fix options menu disappearing on refresh 2012-09-16 22:36:55 +04:00
Andrew Dolgov
c580d8225a properly restore state when going back from headlinesactivity 2012-09-16 22:13:32 +04:00
Andrew Dolgov
306a0bf4c9 implement application singleton to store retrieved headlines
activities
2012-09-16 21:59:03 +04:00
Andrew Dolgov
a5ee43a4e6 further tweaks for tablets 2012-09-16 21:00:09 +04:00
Andrew Dolgov
3cbae613a5 reimplement most menu handlers 2012-09-16 20:46:54 +04:00
Andrew Dolgov
c52ea94c44 more experimental stuff 2012-09-16 19:25:47 +04:00
Andrew Dolgov
ced80be1ae initial 2012-09-16 13:25:28 +04:00
Andrew Dolgov
8906cad106 closeFeed: add some null pointer checking 2012-09-10 00:05:19 +04:00
Andrew Dolgov
aa0711147c remove sharing stuff 2012-09-09 19:22:31 +04:00
Andrew Dolgov
9f807d0c34 externalize strings 2012-09-09 17:44:28 +04:00
Andrew Dolgov
59d11ac972 implement shareintent handler for tt-rss sharing functionality
bump version
2012-09-09 17:35:11 +04:00
Andrew Dolgov
4e4739af55 CategoryNavigationEntry: check if fragment is missing before enabling it 2012-09-09 11:50:14 +04:00
Andrew Dolgov
5de95d4daf add null check to getArticlePosition() 2012-09-09 11:39:53 +04:00
Andrew Dolgov
0020fdf172 add toast notifications for article mark/publish/setnote 2012-09-05 19:00:02 +04:00
Andrew Dolgov
822f280b3e types: add empty constructors for gson 2012-09-04 16:28:50 +04:00
Andrew Dolgov
bcd4b562a4 move small tablet stuff detection to CommonActivity
use small tablet UI on screens up to 9"
2012-09-02 19:48:48 +04:00
Andrew Dolgov
1f831645ee use small tablet mode on screens <9" 2012-09-02 19:22:17 +04:00
lpetrus
416d155e85 Small tablet support (< 8")
* Portrait mode
** feed list is now smaller and article list is bigger
* Landscape mode
** small tablets display always only two columns
2012-09-02 19:14:16 +04:00
Andrew Dolgov
43463ed572 set small screen mode based on loaded layout, instead of relying on
XLARGE screen size
2012-09-01 23:51:38 +04:00
Andrew Dolgov
0717b1d38f revert to old way of handling LOGIN_FAILED in subfragments 2012-09-01 22:26:32 +04:00
Andrew Dolgov
b826481001 properly detect portrait orientation
move to ICS style of naming resources for various dpi
bump version
2012-09-01 22:22:13 +04:00
Andrew Dolgov
77352728e7 remove in-app billing
add spinner-like triangles for headlines fragment context menu 
bump version
2012-08-13 16:00:27 +04:00
Andrew Dolgov
e68c90cbce prevent trying to login twice on startup
open idiot-friendly dialog when application is not configured
bump version
2012-07-10 21:51:18 +04:00
Andrew Dolgov
c9718b32e3 attempt to workaround against some unknown actionbar navigation related
crash, bump version
2012-07-01 15:46:55 +04:00
Andrew Dolgov
b80b684d12 set LayoutAlgorithm.SINGLE_COLUMN in webviews to fit images without css
hacks
2012-06-26 21:45:35 +04:00
Andrew Dolgov
0702083fb2 add menu options to close active feed and article panels 2012-06-26 13:29:35 +04:00
Andrew Dolgov
addaed6369 disable share provider showAsAction altogether (refs #463)
disable splitactionbarwhennarrow because it's not needed without share
action
bump version
2012-06-26 11:05:55 +04:00
Andrew Dolgov
71064b4edc offline: properly restore views after rotation
add workaround against viewpager weirdness after rotation
bump version
2012-06-26 09:28:30 +04:00
Andrew Dolgov
c11a3be88e try to workaround against galaxy nexus going crazy when trying to draw
shareprovider in viewpager with split action bar. thanks, google. (refs
#462)
2012-06-26 00:08:11 +04:00
Andrew Dolgov
f2457b4f7c fragment navigation tweaks 2012-06-25 14:40:23 +04:00
Andrew Dolgov
6262231fe1 display list navigation in xlarge-portrait mode similar to small screen
mode
2012-06-25 14:26:02 +04:00
Andrew Dolgov
9cdc2262d4 support GB title in offline mode 2012-06-25 09:47:43 +04:00
Andrew Dolgov
41f36b00d2 show title/loading progressbar on GB 2012-06-25 09:16:55 +04:00
Andrew Dolgov
7b10e95213 move copyToClipboard() to CommonActivity 2012-06-25 00:00:14 +04:00
Andrew Dolgov
3d39b03a60 move some more common stuff to CommonActivity 2012-06-24 23:55:56 +04:00
Andrew Dolgov
099377a665 move some shared activity code to CommonActivity 2012-06-24 23:52:23 +04:00
Andrew Dolgov
ff63819a65 minor code cleanup 2012-06-24 23:34:16 +04:00
Andrew Dolgov
12de7c7973 simplify back stack handling a bit
disable feed fragments selected state in small screen mode
2012-06-24 15:57:58 +04:00
Andrew Dolgov
4101ecebee properly deselect active feed when going back in tablet mode
other layout-related fixes
2012-06-24 15:17:26 +04:00
Andrew Dolgov
c4c6a21ea0 fix navigation in portrait mode 2012-06-24 14:50:14 +04:00
Andrew Dolgov
f3b7106317 offline: fix sharingactionprovider
offline: implement list navigation
2012-06-23 21:19:34 +04:00
Andrew Dolgov
df79b35b53 make sure split actionbar actually works
remove collapsible share provider hack
2012-06-23 17:51:19 +04:00
Andrew Dolgov
0712b86397 fix home button not enabled for navigation when browsing feed 2012-06-23 17:21:49 +04:00
Andrew Dolgov
58f56c59ae actionbar navigation fixes 2012-06-23 17:11:41 +04:00
Andrew Dolgov
ba7068a517 implement actionbar list navigation
small fragment behaviour tweaks
restart application if login session is lost
2012-06-23 16:47:17 +04:00
Andrew Dolgov
8af33e3d7c offline: properly deselect current category when closing headlines 2012-06-22 18:14:49 +04:00
Andrew Dolgov
714efd1ed0 fix offline crash when browsing category as feed 2012-06-22 18:05:08 +04:00
Andrew Dolgov
16fda5c5ae remove hardcoded gray from headline rows layout
properly deselect active article in headlines when closing article panel
2012-06-22 17:40:29 +04:00
Andrew Dolgov
fbb131fa0c adjust headlines left padding in vertical mode on tablets
add getOrientation()
2012-06-22 17:16:43 +04:00
Andrew Dolgov
fafdd4120a code cleanup
offline: support feed title in vfeeds
2012-06-22 15:37:08 +04:00
Andrew Dolgov
4f1c690e91 initial support for categories in offline mode
layout tweaks
2012-06-22 15:05:50 +04:00
Andrew Dolgov
3063d86667 add DB stuff for offline category sync 2012-06-22 13:24:33 +04:00
Andrew Dolgov
db782c0435 layout/style update (add selection marker arrowheads) 2012-06-22 12:21:32 +04:00
Andrew Dolgov
bc7e851b9a add shadows to light theme, misc layout/theme tweaks 2012-06-22 00:35:53 +04:00
Andrew Dolgov
15e0e4ec0d rate limit refresh(); better update feed counters when browsing feed in
tablet mode
2012-06-21 18:35:21 +04:00
Andrew Dolgov
be9dbd7e85 cache feeds/cats fragment when going back from headlines for speed 2012-06-21 16:33:13 +04:00
Andrew Dolgov
277c2e0e47 tablet-related fixes 2012-06-20 19:04:31 +04:00
Andrew Dolgov
cd0cbcbd5a hide feed_title in offline mode 2012-06-20 15:25:17 +04:00
Andrew Dolgov
f532761611 implement publish with note 2012-06-20 15:20:19 +04:00
Andrew Dolgov
b4b781209f fix layout not restoring properly when article is open 2012-06-20 14:39:01 +04:00
Andrew Dolgov
b7c9792ada various layout and code updates to support feed_title in virtual feeds
(requires API 3)
2012-06-20 14:16:24 +04:00
Andrew Dolgov
1ffdbfe187 remove de, fr translations because of lack of updates
various lint-related fixes
2012-06-20 13:26:32 +04:00
Andrew Dolgov
130d1ec845 try to automatically refresh headlines while going through articlepager
add missing dummy_fragment.xml
2012-06-20 13:12:46 +04:00
Andrew Dolgov
e9fa47175c work around against activity always asking about continue/stop sync;
misc fixes
2012-06-20 13:05:09 +04:00
Andrew Dolgov
21126446c2 do not use progressbar in offlineactivity, stopself in download service 2012-06-20 09:54:57 +04:00
Andrew Dolgov
4fb366178c allow canceling offline download task 2012-06-20 09:49:30 +04:00
Andrew Dolgov
e1afe38ef3 use activity progress indicator 2012-06-20 00:44:37 +04:00
Andrew Dolgov
1ce4d4a60a fix category back navigation 2012-06-19 23:49:45 +04:00
Andrew Dolgov
92ccf9ec0c offline mode fixes 2012-06-19 21:32:56 +04:00
Andrew Dolgov
ff6f103900 xlarge layout fixes 2012-06-19 21:06:16 +04:00
Andrew Dolgov
bd937be784 simplify fragment management 2012-06-19 19:51:47 +04:00
Andrew Dolgov
d6e2b869e9 find fragments by tags, misc stuff 2012-06-19 19:12:01 +04:00
Andrew Dolgov
10eb94abe5 store feed/category objects inside fragments instead of ids 2012-06-19 19:01:28 +04:00
Andrew Dolgov
4795f259f0 categorize more stuff 2012-06-19 18:32:18 +04:00
Andrew Dolgov
f5547cc4ac revert ics fragment stuff 2012-06-19 18:24:22 +04:00
Andrew Dolgov
82035f4003 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb 2012-06-19 18:00:38 +04:00
Andrew Dolgov
08397a47af categorize source files 2012-06-19 14:18:00 +04:00
Andrew Dolgov
01151df966 remove m_compatMode stuff; add missing FragmentStagePagerAdapter hack 2012-06-19 14:05:04 +04:00
Andrew Dolgov
ca65a6cdfa switch to ICS native fragments 2012-06-19 13:54:04 +04:00
Michael Kuhn
299682bb6d Fix AndroidHttpClient leaks. 2012-05-05 22:23:51 +04:00
Andrew Dolgov
c13dd67f43 add some lint fixes, bump minimum SDK version to froyo 2012-05-02 09:54:45 +04:00
Andrew Dolgov
835ec51811 disable transitioner in offline mode (broken)
fix androidhttpclient leaks introduced with previous patch
2012-05-02 08:35:53 +04:00
Michael Kuhn
dd95973d2d Use AndroidHttpClient. 2012-05-02 08:16:58 +04:00
Andrew Dolgov
cf3357d49b add some preference key dependency tracking 2012-03-21 09:38:58 +03:00
Andrew Dolgov
9a1dbdc74f add option to justify/left-align article text 2012-03-21 09:18:20 +03:00
Andrew Dolgov
7101a92b06 hide headlines row separator in small screen mode 2012-03-12 15:04:52 +03:00
Andrew Dolgov
8caa0fcd82 implement new attachment UI with buttons to copy URL/view separate
attachment
2012-03-12 14:57:57 +03:00
Andrew Dolgov
bbb4b2c36e add copy article text to combined mode article context menu (refs #437) 2012-03-12 12:02:46 +03:00
Andrew Dolgov
bca4979935 add context menu for article link 2012-03-12 11:51:57 +03:00
Andrew Dolgov
2b4bc5ef32 support non-image attachments (closes #434)
bump version
2012-03-11 09:31:16 +03:00
Andrew Dolgov
14769a4019 on API 3, sort feeds and categories using order configured in tt-rss
properly unmark Uncategorized on closeCategory()
2012-03-08 18:29:27 +03:00
Andrew Dolgov
1945fa6317 remove share intent SUBJECT 2012-03-06 15:32:53 +03:00
Andrew Dolgov
59a4d3d439 add optional article swiping for xlarge devices 2012-03-01 11:30:54 +03:00
Andrew Dolgov
8e45b14c61 add in-app billing donation stuff 2012-02-29 18:30:52 +03:00
Andrew Dolgov
e06934a1a5 only enable layouttransitioner for large screens 2012-02-25 14:14:27 +03:00
Andrew Dolgov
feefd1fd9a support different article text sizes 2012-02-25 14:05:37 +03:00
Andrew Dolgov
9b637ba139 enable transitions for API 15, remove TransitionHelper 2012-02-25 13:27:57 +03:00
Andrew Dolgov
c33708a1cf support attachments in combined mode, fix french translation, bump
version
2012-02-21 09:04:10 +03:00
Andrew Dolgov
f9af447124 fix urls with spaces crash in combined mode 2012-02-16 20:03:18 +03:00
Andrew Dolgov
a121c55e96 hopefully fix Attachment deserialization 2012-02-07 08:21:55 +03:00
Andrew Dolgov
36289af071 check for article.attachments not being null, bump version 2012-02-06 14:21:56 +03:00
Andrew Dolgov
845caf8252 support article attachments, display image attachments inline (hello
lolcats)
2012-02-06 14:05:56 +03:00
Andrew Dolgov
36451d43b8 add apprater, fix logging in two times, bump version 2012-02-06 12:15:27 +03:00
Andrew Dolgov
03945cea2e tweak actionbar title display 2012-02-03 14:30:06 +03:00
Andrew Dolgov
b0002f903d enable split actionbar
use shareprovider dropdown
better use of actionbar title in various modes
2012-02-03 14:24:14 +03:00
Andrew Dolgov
0d9b127832 hide unneeded fragments on logout 2012-02-03 13:05:57 +03:00
Andrew Dolgov
341ee10d63 try to login onResume if session_id is null 2012-02-03 11:06:20 +03:00
Andrew Dolgov
1433cba57f open preferences automatically on first start 2012-02-03 09:22:15 +03:00
Andrew Dolgov
3a7273972b set webview acceleration to software to prevent background flicker on
ics
2012-02-03 09:05:42 +03:00
Andrew Dolgov
7cff2fe3c0 do not always mark uncategorized as selected on goBack() 2012-02-01 14:29:07 +03:00
Andrew Dolgov
b28f00765e use proper link colors in webview (bump version) 2012-02-01 14:25:35 +03:00
Andrew Dolgov
2791bc46e9 add placeholder textColorLink resolving code to color webview links 2012-02-01 09:57:07 +03:00
Dominique Hazael-Massieux
4ba271c831 better color for links in articles on dark theme 2012-01-31 07:42:25 -08:00
Andrew Dolgov
27f129ad4c dump active headlines fragment when closing feed 2012-01-27 13:07:47 +03:00
Andrew Dolgov
d8b7761ad4 disable layout transitioner on ICS since it doesn't seem to work
properly, bump version
2012-01-27 12:57:56 +03:00
Andrew Dolgov
758d73748d fix crash with ActivityNotFound exception when opening urls prefixed by
spaces
2012-01-26 13:06:06 +03:00
Andrew Dolgov
0f3fc36c93 remove ads, bump version 2012-01-25 09:33:04 +03:00
Andrew Dolgov
c8a5161d4f properly unmark categories when going back 2012-01-24 14:04:45 +03:00
Andrew Dolgov
5aaba5a070 include article title when sharing 2012-01-24 13:55:37 +03:00
Andrew Dolgov
da564ab804 properly reset search text on viewCategory() 2012-01-19 17:20:13 +03:00
Andrew Dolgov
dbf59c0b7d implement search in offline mode 2012-01-19 15:33:39 +03:00
Andrew Dolgov
2f62378980 properly unmark previously active feed in feedlist when closing feed 2012-01-19 13:54:14 +03:00
Andrew Dolgov
288997831c do not use savedstate putstring/getstring to prevent crashe on legacy
platform versions
2012-01-19 13:46:28 +03:00
Andrew Dolgov
3620e5187b implement basic search dialog for compat mode 2012-01-19 13:29:38 +03:00
Andrew Dolgov
2a6fbbb9a3 limit search to API level 2 2012-01-19 13:14:54 +03:00
Andrew Dolgov
60128ffe2f implement actionbar search for HC/ICS devices 2012-01-19 13:05:48 +03:00
Andrew Dolgov
8624583764 move cache directories to sdcard/data 2012-01-19 09:22:10 +03:00
Andrew Dolgov
7e08d4132f add some index out of bounds checks to feeds/headline fragments 2012-01-19 08:44:27 +03:00
Andrew Dolgov
94173a7db4 fix layout weirdness caused by articlepager on several consequent
rotates
2012-01-18 13:19:01 +03:00
Andrew Dolgov
a1337b531e allow closing active feed in tablet mode 2012-01-18 12:01:02 +03:00
Andrew Dolgov
3fd2afa44b properly handle home button on actionbar in small screen mode 2012-01-18 12:46:54 +04:00
Andrew Dolgov
b2cf227a24 unbreak animations for HC 2012-01-17 18:57:59 +03:00
Andrew Dolgov
56d0be3e0a move libraries to libs/
properly detect xlarge screens
update ACP library
link against API 14 (ICS)
various fixes for ICS
bump version
2012-01-17 18:43:11 +03:00
Andrew Dolgov
92e962f515 add color theme for ICS 2012-01-17 13:44:46 +03:00
Andrew Dolgov
70da910846 compatibility fixes for ICS (galaxy nexus) 2012-01-17 12:54:52 +03:00
Andrew Dolgov
7f34760c3c Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb 2012-01-10 15:13:58 +04:00
Andrew Dolgov
055707ce67 use runOnUiThread in RefreshTask 2012-01-10 15:13:46 +04:00
poitzorg
7f08d95b27 Update src/org/fox/ttrss/MainActivity.java 2012-01-07 01:43:07 +01:00
Andrew Dolgov
c784d66394 fix width/height detection for portrait screens 2012-01-05 10:36:21 +03:00
Andrew Dolgov
ebb7bc07bf potential fix for 2.3 tablets 2012-01-04 20:51:01 +03:00
Andrew Dolgov
59a46f701d implement setting labels for selected article 2011-12-25 14:59:59 +03:00
Andrew Dolgov
adf1750387 Merge branch 'master' of git@github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb.git 2011-12-19 14:08:59 +03:00
Andrew Dolgov
eb2d8f4ad5 enable zoom controls in article webview, bump version 2011-12-19 14:08:40 +03:00
Andrew Dolgov
288d90c4b0 store offline mode status preference in a separate file to prevent
backing it up to the cloud
2011-12-16 21:06:07 +03:00
Andrew Dolgov
7f98676957 implement cloud settings backup 2011-12-16 20:57:21 +03:00
Andrew Dolgov
80a234cc15 make API level request less crashy 2011-12-13 15:54:01 +03:00
Andrew Dolgov
48751a0071 same fix (2) 2011-12-13 15:46:58 +03:00
Andrew Dolgov
2a4029c3f9 same fix for headlines 2011-12-13 15:46:21 +03:00
Andrew Dolgov
d30854eae7 workaround against crash if article content is null 2011-12-13 15:43:40 +03:00
Andrew Dolgov
5ee22c7d6c fix API_DISABLED reported as login incorrect 2011-12-12 13:56:38 +03:00
Andrew Dolgov
3467aa5dc0 use viewpager-based article swiping for offline mode 2011-12-10 10:22:27 +03:00
Andrew Dolgov
74c837e89f smooth article swiping using viewpager (in online mode) 2011-12-09 23:49:55 +03:00
Andrew Dolgov
ff598602bd fix contextual actionbar for 2.x 2011-12-09 22:28:37 +03:00
Andrew Dolgov
a33272bdc7 use actionbar home button to close article on HC 2011-12-09 22:19:04 +03:00
Andrew Dolgov
e0012da1e9 implement contextual selection bar for HC articles 2011-12-09 21:49:12 +03:00
Andrew Dolgov
9951991e56 better download progress notification, prevent notification spam 2011-12-07 18:02:43 +03:00
Andrew Dolgov
803afcc6d2 fix orientation crashes in offlineactivity, bump version 2011-12-07 15:30:06 +03:00
Andrew Dolgov
cbabbf099f remove <video> tags from webviews 2011-12-07 15:25:50 +03:00
Andrew Dolgov
59839b7e08 webview: try to trap runtimeexception 2011-12-07 15:13:58 +03:00
Andrew Dolgov
175c703650 remove periodic downloading articles notifies 2011-12-07 15:04:42 +03:00
Andrew Dolgov
42516faa2e implement offline image caching 2011-12-07 14:59:30 +03:00
Andrew Dolgov
14461fa146 move offline data synchronization to an intentservice, bump version 2011-12-07 12:33:47 +03:00
Andrew Dolgov
24f0b1617a code cleanup 2011-12-07 11:50:04 +03:00
Andrew Dolgov
5c48526057 check for db validity in has/pending offlinedata functions 2011-12-07 11:31:43 +03:00
Andrew Dolgov
65c9eeb773 remove tabs, menu cleanup 2011-12-07 11:29:19 +03:00
Andrew Dolgov
df3be3d4c6 break tabs a bit 2011-12-07 09:58:32 +03:00
Andrew Dolgov
bd6fd2e92f feed tab tweaks 2011-12-07 09:37:06 +03:00
Andrew Dolgov
b8c96d0cc0 use onbackpressed instead of onkeydown 2011-12-07 08:51:10 +03:00
Andrew Dolgov
160115b84c use actionbar better in online mode, menu cleanup 2011-12-07 08:14:13 +03:00
Andrew Dolgov
8fa8debdca implement actionbar tabs when categories are enabled 2011-12-07 00:17:20 +03:00
Andrew Dolgov
c6cec83803 fix offline download limit, bump version 2011-12-06 21:16:54 +03:00
Andrew Dolgov
7b5f11ee40 move offline download stuff into an IntentService 2011-12-06 19:07:14 +03:00
Andrew Dolgov
fb14a67a2a add offline services interface 2011-12-06 16:01:08 +03:00
Andrew Dolgov
a86697dcdf switch mainactivity typecasting to an interface 2011-12-06 15:52:33 +03:00
Andrew Dolgov
5178ba7287 properly sort feedlist by unread, misc cleanup 2011-12-06 15:15:55 +03:00
Andrew Dolgov
581f79b3c1 menu updates, bump version, misc cleanup 2011-12-06 14:46:15 +03:00
Andrew Dolgov
19cb77aa35 implement synchronization of offline stuff back to the mothership 2011-12-06 14:29:57 +03:00
Andrew Dolgov
797860e517 reimplement moving between articles using volume buttons,
articlefragment clicks, etc
2011-12-06 13:24:57 +03:00
Andrew Dolgov
d4b6e34b98 add modified trigger 2011-12-06 12:38:08 +03:00
Andrew Dolgov
815e40a698 use setemptyview on online lists 2011-12-06 12:37:46 +03:00
Andrew Dolgov
d8da03554f more offline menu-relate stuff 2011-12-06 12:26:19 +03:00
Andrew Dolgov
1145eae894 offline menu-related stuff 2011-12-06 09:59:32 +03:00
Andrew Dolgov
4515fe0a5c update main menu after selection dialog 2011-12-06 09:44:30 +03:00
Andrew Dolgov
a0f9225a9a store selection in the database 2011-12-06 09:16:41 +03:00
Andrew Dolgov
72a8b558e6 code cleanup, use separate menu for offline mode, start implementing
menu actions
2011-12-06 09:03:55 +03:00
Andrew Dolgov
d1cb963452 split offline stuff into offline activity 2011-12-05 22:19:11 +03:00
Andrew Dolgov
6b6231ded5 fix offline tag caching format 2011-12-05 21:56:03 +03:00
Andrew Dolgov
3365de8096 offline initialization stuff 2011-12-05 21:54:54 +03:00
Andrew Dolgov
18fd39e568 implement basic offline headline/article fragments 2011-12-05 21:32:45 +03:00
Andrew Dolgov
6a9178fe2e implement offline feedlist 2011-12-05 20:22:31 +03:00
Andrew Dolgov
826a83fb8c add m_isOffline 2011-12-05 18:14:06 +03:00
Andrew Dolgov
a98780bc62 implement basic downloading of stuff for offline mode switch 2011-12-05 18:05:11 +03:00
Andrew Dolgov
c9ce8b60a3 basic offline feed download 2011-12-05 16:01:44 +03:00
Andrew Dolgov
0f9001c88f add dbhelper 2011-12-05 15:42:31 +03:00
Andrew Dolgov
a9b3ea9e5d implement licensing 2011-12-05 15:19:24 +03:00
Andrew Dolgov
6440c73b1e make article swipe gesture min distance a bit lower 2011-12-05 13:16:48 +03:00
Andrew Dolgov
41ee431715 drop compat themes, use values-v11 2011-12-05 11:45:50 +03:00
Andrew Dolgov
40dcbe61d0 fix closeArticle() to properly restore cats/feeds view 2011-12-04 12:28:59 +03:00
Andrew Dolgov
ea51e68b5b rework combined mode to use textviews to prevent graphical glitches 2011-12-04 10:50:49 +03:00
Andrew Dolgov
e057f881b1 combined mode tweaks 2011-12-03 22:09:51 +03:00
Andrew Dolgov
34f6e76f4f do some webview background hacks 2011-12-03 21:34:40 +03:00
Andrew Dolgov
24516babd7 remove webview zoom for the time being to fix swiping 2011-12-03 21:21:57 +03:00
Andrew Dolgov
eae76193b4 fix compatibility with cupcake, fix selection menu being displayed
when logged out
2011-12-03 17:22:06 +03:00
Andrew Dolgov
04312e1929 ApiRequest: properly handle NOT_LOGGED_IN 2011-12-02 18:41:11 +03:00
Andrew Dolgov
8e21ba0c94 fix crash when trying to use fragmenttransaction in logintask if
activity was closed while trying to login
2011-12-02 08:35:27 +03:00
Andrew Dolgov
417ded36af fix image fitting to width in webviews 2011-12-01 12:05:21 +03:00
Andrew Dolgov
08d9b80bb3 log unknown api error 2011-12-01 11:47:21 +03:00
Andrew Dolgov
97163e1fb8 do trim() on login and password 2011-12-01 10:01:33 +03:00
Andrew Dolgov
f794e82cc3 fix crash when ApiRequest was passed invalid endpoint URL 2011-12-01 09:58:19 +03:00
Andrew Dolgov
98cd1762e5 add mark above as read to article menu 2011-12-01 08:32:17 +03:00
Andrew Dolgov
f44bd5e47d add select none to headlines selection menu 2011-11-30 22:11:56 +03:00
Andrew Dolgov
95f6ef2fa2 menu-related tweaks, drop duplicate set unread from headline context
menu
2011-11-30 22:06:11 +03:00
Andrew Dolgov
ec7f489c6d implement share/set unread for headline context menu 2011-11-30 21:48:12 +03:00
Andrew Dolgov
f242dcde6a implement workaround to make list items somewhat clickable in combined
mode, make title a link
2011-11-30 21:44:36 +03:00
Andrew Dolgov
f16095ce53 use meta viewport for embedded webviews 2011-11-30 19:04:31 +03:00
Andrew Dolgov
ee886a6a76 fix headlines_mark_as_read not updating headlines view 2011-11-30 18:46:12 +03:00
Andrew Dolgov
6a8878f980 switch between articles using volume buttons 2011-11-30 18:22:33 +03:00
Andrew Dolgov
4cf1ca7c57 do not process headlines onclick in combined mode 2011-11-30 17:37:52 +03:00
Andrew Dolgov
1fec72cf4a implement combined article display mode (closes #399) 2011-11-30 16:05:03 +03:00
Andrew Dolgov
24e092d190 automatically load new headlines when scrolled to the bottom 2011-11-30 14:45:23 +03:00
Andrew Dolgov
918235592a handle layout selection by android means 2011-11-30 13:43:02 +03:00
Andrew Dolgov
97c20e0c32 use proper layout separation for normal and large screens 2011-11-30 13:17:03 +03:00
Andrew Dolgov
20a66a8dc2 add several menu icons from http://www.androidicons.com/freebies.php 2011-11-30 12:59:23 +03:00
Andrew Dolgov
bb0438358d allow longer titles in article view 2011-11-30 12:02:26 +03:00
Andrew Dolgov
bc688118d2 various menu improvements 2011-11-30 11:54:42 +03:00
Andrew Dolgov
2f10a4a88e implement special options menu for selected headlines 2011-11-30 10:22:27 +03:00
Andrew Dolgov
6b2025bb58 use compact portrait vertical headlines layout for small screen
devices
2011-11-30 09:30:19 +03:00
Andrew Dolgov
adfa14f606 menu cleanup, use popup dialog for selecting articles 2011-11-29 20:48:09 +03:00
Andrew Dolgov
574aaebb90 properly use context menu for operations on selected headlines 2011-11-29 20:00:37 +03:00
Andrew Dolgov
a36e2e8d0c fix menu overload for new users, bump version 2011-11-29 17:41:12 +03:00
Andrew Dolgov
5d2959c1ba fix previous changeset 2011-11-29 15:46:31 +03:00
Andrew Dolgov
ef38363cdc add experimental feed context menu 2011-11-29 15:40:23 +03:00
Andrew Dolgov
823ea28ff5 fix hiding categories panel when browsing category articles in tablet
mode
2011-11-29 14:34:54 +03:00
Andrew Dolgov
44f1d8a2d3 fix excerpt size 2011-11-29 14:18:33 +03:00
Andrew Dolgov
c8f79f5465 implement batch actions on selected articles 2011-11-29 14:09:27 +03:00
Andrew Dolgov
980b5696e3 implement browsing categories like feeds 2011-11-29 13:02:16 +03:00
Andrew Dolgov
97ecce1d42 cleanup menu a bit 2011-11-29 09:46:36 +03:00
Andrew Dolgov
cebcc4928e implement API level checking 2011-11-29 08:25:13 +03:00
Andrew Dolgov
9e96e4434f feed icon scaling fixes 2011-11-29 07:40:50 +03:00
Andrew Dolgov
02cd3703bc disable refreshing when activity is paused 2011-11-29 07:12:43 +03:00
Andrew Dolgov
9a4c7a2ce8 improve error handling by ApiRequest 2011-11-29 07:03:38 +03:00
Andrew Dolgov
9d0a0426fd respect background data settings, auto-check for new stuff once in 120
seconds
2011-11-29 05:37:06 +03:00
Andrew Dolgov
9a8435a608 fix menu for smallscreen mode 2011-11-28 21:55:35 +03:00
Andrew Dolgov
47e65d7b91 category fixes in tablet mode 2011-11-28 21:49:18 +03:00
Andrew Dolgov
2b15ba91d4 add category support to tablet UI 2011-11-28 21:36:13 +03:00
Andrew Dolgov
b150696e79 implement categories for smallscreen view 2011-11-28 20:14:50 +03:00
Andrew Dolgov
8771803965 add data structures for categories 2011-11-28 17:45:32 +03:00
Andrew Dolgov
2e3f278fd1 Article: add support for labels 2011-11-28 17:40:48 +03:00
Andrew Dolgov
3bc2ad56e9 properly download feed icons, properly adjust feedsfragment on
preference change
2011-11-28 17:20:56 +03:00
Andrew Dolgov
989a904f3d download and display original feed icons (disabled for now) 2011-11-28 16:00:36 +03:00
Andrew Dolgov
1cd840077e add generic feed icons to feedlist 2011-11-28 14:25:55 +03:00
Andrew Dolgov
4769c8c09f implement swiping between articles (in small screen mode) 2011-11-28 13:01:04 +03:00
Andrew Dolgov
ebb1253ddd implement moving between articles 2011-11-28 12:45:19 +03:00
Andrew Dolgov
9decf04ac3 show basic virtual feeds 2011-11-28 09:14:52 +03:00
Andrew Dolgov
e5117944fb make ads optional 2011-11-28 08:20:29 +03:00
Andrew Dolgov
d791a7222b fix deserialization null pointer exception in Article 2011-11-27 22:46:25 +03:00
Andrew Dolgov
1d4c780f50 use test mode ads on emulator 2011-11-27 19:04:25 +03:00
Andrew Dolgov
37f4010e8f add support for http basic authorization 2011-11-27 16:57:05 +03:00
Andrew Dolgov
0dbf6d75ca drop databasehelper, misc cleanup, suppress some warnings 2011-11-27 16:20:27 +03:00
Andrew Dolgov
de1db3b5ff unify interfaces used by headlines fragment 2011-11-27 16:11:39 +03:00
Andrew Dolgov
6b32c5153c implement marking articles as unread
do not notify server to catchup article if it isn't unread when
selecting
2011-11-27 15:55:22 +03:00
Andrew Dolgov
45b7bff423 implement published articles 2011-11-27 15:47:38 +03:00
Andrew Dolgov
973138935d add menus to toggle marked/published on active article 2011-11-27 15:22:03 +03:00
Andrew Dolgov
16fd6cebd7 cleaner preference handling in ApiRequest
make json data debugging optional
2011-11-27 13:18:04 +03:00
Andrew Dolgov
936935c019 various progressbar usage fixes
remove unnecessary runOnUiThread from asynctask methods
2011-11-27 12:57:34 +03:00
Andrew Dolgov
2b25a9caec only report null object in feedsfragment when no feeds are presently
loaded
2011-11-27 12:44:32 +03:00
Andrew Dolgov
eb140e1366 fix upside-down orientation handling 2011-11-27 12:03:45 +03:00
Andrew Dolgov
89123afc87 better compatMode animation checking 2011-11-27 11:56:31 +03:00
Andrew Dolgov
a523002b83 switch to yet another hack to display utf-8 characters in webview,
thanks google!
2011-11-27 10:40:59 +03:00
Andrew Dolgov
09f01cbf1e properly display escaped entities in headlines view 2011-11-27 10:32:01 +03:00
Andrew Dolgov
0e25b7519c better handle http errors 2011-11-27 10:18:54 +03:00
Andrew Dolgov
0bf4c51052 add option to trust all SSL certificates 2011-11-27 10:04:28 +03:00
Andrew Dolgov
2e5bccb942 fix smallscreenmode being enabled in portrait 2011-11-26 18:04:54 +03:00
Andrew Dolgov
084b059577 only show load more menu option when there's stuff to load 2011-11-26 17:42:46 +03:00
Andrew Dolgov
743627cd51 implement basic view animations 2011-11-26 12:29:19 +03:00
Andrew Dolgov
2229ae0fc4 implement show all/show unread
tweak menu
theme tweaks
bump version
2011-11-26 11:46:17 +03:00
Andrew Dolgov
e722a06651 fix themes for 2.x devices 2011-11-26 11:17:38 +03:00
Andrew Dolgov
5b0c674f2b scroll to the first new entry when loading more headlines 2011-11-26 10:40:35 +03:00
Andrew Dolgov
e02e76bf6f article: drop link color override in dark theme 2011-11-26 10:27:06 +03:00
Andrew Dolgov
862ab765b9 fix load more headlines menu item being shown while in feedlist 2011-11-26 10:15:37 +03:00
Andrew Dolgov
673b31f274 add compatibility with small screen devices 2011-11-26 10:11:24 +03:00
Andrew Dolgov
131dec0c1c support loading more headlines from main menu 2011-11-26 09:52:50 +03:00
Andrew Dolgov
10672b110f add preference to sort feeds by unread 2011-11-26 09:31:14 +03:00
Andrew Dolgov
a950ebbddb implement Parcelable.CREATOR 2011-11-25 23:34:40 +03:00
Andrew Dolgov
a0753dd5df notify to configure application when needed
rebuild with ACP
update ADT
2011-11-25 21:37:02 +03:00
Andrew Dolgov
86b967f08f disable irrelevant menu items when article is open
fix link color in dark theme webview
2011-11-25 14:53:32 +03:00
Andrew Dolgov
6488994dfa fix closeArticle updating menu before setting m_selectedArticle to
null
2011-11-25 14:38:12 +03:00
Andrew Dolgov
16bc77419f refresh feeds when article is closed
fixes for dark theme
2011-11-25 14:03:14 +03:00
Andrew Dolgov
8ace49fb71 implement article sharing 2011-11-25 13:46:11 +03:00
Andrew Dolgov
2d9ee319ab properly restore state on orientation change 2011-11-25 13:32:32 +03:00
Andrew Dolgov
ccb6b1cb5f implement feedlist serialization and proper restoring of
feedlist/login status on orientation change
2011-11-25 13:13:10 +03:00
Andrew Dolgov
44147c17aa use animations from layouttransitioner 2011-11-25 12:15:27 +03:00
Andrew Dolgov
20effebcbf fix webview encoding in articlefragment 2011-11-25 12:10:56 +03:00
Andrew Dolgov
8c19ec257c fix article timestamp in headlines displayed in UTC
use custom back button handling to prevent backstack idiocy
2011-11-25 11:47:07 +03:00
Andrew Dolgov
1469ff7b8f reorganize actionbar 2011-11-24 19:11:10 +03:00
Andrew Dolgov
3cc0cb8410 various layout tweaks
fix logout action
2011-11-24 17:57:44 +03:00
Andrew Dolgov
7ad712cb41 handle login/logout and session errors in child fragments 2011-11-24 16:04:58 +03:00
Andrew Dolgov
fb86971ca8 mark articles as read when reading 2011-11-24 15:16:07 +03:00