Commit Graph

483 Commits

Author SHA1 Message Date
Andrew Dolgov
282285ef78 fix crash when switching activities while downloading offline stuff 2012-09-20 09:45:13 +04:00
Andrew Dolgov
cf39cea333 fix missing stuff for default_view_mode implementation in fragments 2012-09-20 09:40:32 +04:00
Andrew Dolgov
349dc9d797 fix for opening category in proper mode from feedsfragment 2012-09-20 09:14:34 +04:00
Andrew Dolgov
786422a027 fix two context menu crashes 2012-09-20 01:39:38 +04:00
Andrew Dolgov
45992f20f2 disable share intent debugging 2012-09-19 23:40:25 +04:00
Andrew Dolgov
9d283da0f0 various tablet-mode refresh fixes 2012-09-19 23:39:46 +04:00
Andrew Dolgov
d3e0ce0f83 less-crashy handling on article title 2012-09-19 23:23:26 +04:00
Andrew Dolgov
9479fac206 disable combined mode because of lack of images and performance issues 2012-09-19 22:57:10 +04:00
Andrew Dolgov
0148a20369 add donation menu item 2012-09-19 22:40:27 +04:00
Andrew Dolgov
d70e6463ad implement default browsing of articles 2012-09-19 16:59:08 +04:00
Andrew Dolgov
d733127fa1 fix articlefragment progressbar 2012-09-19 16:16:38 +04:00
Andrew Dolgov
675749a608 do not show indeterminate progress bar when progress info is available 2012-09-19 16:07:11 +04:00
Andrew Dolgov
edbf27ffb8 implement several loading progressbars 2012-09-19 16:01:31 +04:00
Andrew Dolgov
4faeb17461 store sid and apilevel in GlobalState 2012-09-19 13:55:01 +04:00
Andrew Dolgov
41630980df remove smalltablet code as unnecessary, store showunreadfeeds in
globalstate
2012-09-19 13:44:35 +04:00
Andrew Dolgov
797dbe2080 various lint-related stuff 2012-09-19 13:37:12 +04:00
Andrew Dolgov
9fb03a43f1 handle unavailable network properly 2012-09-19 13:14:50 +04:00
Andrew Dolgov
55786d8cb0 remove unnecessary field from globalstate 2012-09-19 13:02:13 +04:00
Andrew Dolgov
7abd056146 various session handling fixes; try to reload headlines when
shared application data has been erased
2012-09-19 12:49:10 +04:00
Andrew Dolgov
8f88419419 add enclosure url share button 2012-09-19 09:45:03 +04:00
Andrew Dolgov
784a94cd7b do not show headlines_select menu item as action 2012-09-18 23:53:55 +04:00
Andrew Dolgov
dcea7f0e85 misc optimization, do not embed duplicate enclosure images in
ArticleFragment
2012-09-18 23:50:50 +04:00
Andrew Dolgov
d0b4542dce articlepager: rename listener variable 2012-09-18 17:11:18 +04:00
Andrew Dolgov
2d1b3c2dba do not try to load new stuff in pager on tablets 2012-09-18 17:10:25 +04:00
Andrew Dolgov
460fa4923d decrease OFFLINE_SYNC_SEQ because of API limits 2012-09-18 15:45:22 +04:00
Andrew Dolgov
d3320e66ec disable search in HeadlinesActivity 2012-09-18 15:35:24 +04:00
Andrew Dolgov
46751e25b3 implement refreshing headlines in headlinesactivity 2012-09-18 15:17:39 +04:00
Andrew Dolgov
62622642b8 bump offline download service sequence limit 2012-09-18 15:02:14 +04:00
Andrew Dolgov
469169c00d fix offline preparations to actually happen in background 2012-09-18 14:59:17 +04:00
Andrew Dolgov
cc1b9affb4 offline: set show unread feeds default same with online mode 2012-09-18 14:43:40 +04:00
Andrew Dolgov
55991afdb4 support loading headlines from nested categories properly in pager 2012-09-18 14:31:22 +04:00
Andrew Dolgov
b100fb6ec1 add menu entry to refresh headlines in small screen mode 2012-09-18 13:16:03 +04:00
Andrew Dolgov
94b4aff15f switch to HttpURLConnection (which should enable SNI on recent android
versions)
2012-09-18 13:08:57 +04:00
Andrew Dolgov
201dbfff77 do not try to download category icons 2012-09-18 10:06:30 +04:00
Andrew Dolgov
1a7edb4254 enable nested categories API 2012-09-18 10:03:16 +04:00
Andrew Dolgov
3da48391d6 fix home button on feeds activity 2012-09-17 23:35:52 +04:00
Andrew Dolgov
84a766213d feed_title substring crash fix 2012-09-17 23:33:36 +04:00
Andrew Dolgov
1a5017b432 various tablet-related improvements 2012-09-17 23:20:59 +04:00
Andrew Dolgov
4c148d0563 basic work on offline mode stuff for tablets 2012-09-17 19:32:33 +04:00
Andrew Dolgov
2103396489 various offline fixes 2012-09-17 19:08:21 +04:00
Andrew Dolgov
8e3e5add77 implement most of offline menus 2012-09-17 18:44:43 +04:00
Andrew Dolgov
3fd63d640a more offline functionality stuff 2012-09-17 16:57:02 +04:00
Andrew Dolgov
4eac5b73bb implement core offline functions 2012-09-17 16:28:32 +04:00
Andrew Dolgov
219531f138 implement background loading in ArticlePager
various loading and state related fixes
2012-09-17 13:27:27 +04:00
Andrew Dolgov
4f8cc7aeeb use separate activities for views in small screen mode 2012-09-17 12:45:52 +04:00
Andrew Dolgov
24fe7ccf1c fix headlinesactivity initial item not being scrolled to 2012-09-16 23:31:38 +04:00
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