Commit Graph

567 Commits

Author SHA1 Message Date
Andrew Dolgov
cdf9e20fc7 when clicking on labels or special feeds default to showing contents as
feeds rather than headlines or articles because of previous behavior
making no sense
2013-03-19 13:27:14 +04:00
Ajay Roopakalu
8fb9d746f3 Fix HTML unescaping in title of ArticleFragment.
The title of an article when displayed in the ArticleFragment is HTML escaped, as opposed to being properly un-escaped as in HeadlinesFragment (currently around line 588).

This produces strings with """ instead of the quote character, for example.
2013-03-14 20:09:59 -03:00
Andrew Dolgov
807add7244 replace incorrect datasetinvalidated calls with datasetchanged 2013-02-27 10:45:12 +04:00
Andrew Dolgov
72975a9a03 properly report when feeds/cats list is empty, bump version 2013-02-27 10:39:23 +04:00
Andrew Dolgov
d381abd82a properly clear active article when going back from headlinesactivity in
tablet mode
bump version
2013-02-24 00:52:00 +04:00
Andrew Dolgov
06b6176124 target API 17, clean some useless imports 2013-02-14 13:06:43 +04:00
Andrew Dolgov
baf1bea932 articlepager: fix context being lost after activity resume in offline
mode (closes #533)
bump version
2013-02-14 13:03:39 +04:00
Andrew Dolgov
be9c8d6614 headlinesfragment: check if getView() exists before assigning list empty
view
2013-02-13 09:47:04 +04:00
Andrew Dolgov
da36af7b42 fix dual refresh race condition when doing openFeedArticles() in tablet
mode
2013-02-11 22:06:40 +04:00
Andrew Dolgov
6f95c43765 update support library
fix articlefragment link context menu
2013-02-11 16:19:12 +04:00
Andrew Dolgov
06c6921dc2 enable headlines list empty view 2013-02-10 11:33:32 +04:00
Andrew Dolgov
7ba2e5b28d reload articles when clicking on a same feed again in tablet mode with
default_view_mode set to articles
2013-02-10 11:33:18 +04:00
Andrew Dolgov
1c2d0549cb prevent crash when loading empty feed 2013-02-10 11:19:52 +04:00
Andrew Dolgov
535b04dbe1 implement dark gray theme, bump version 2013-02-09 20:25:56 +04:00
Andrew Dolgov
633f17e2e8 make quick preview image transparent 2013-01-18 09:45:21 +04:00
Andrew Dolgov
f0bc21b1a8 fix default_feed_view=articles on tablets, bump version 2013-01-07 00:54:24 +04:00
Andrew Dolgov
c3adf2efff fix statusbar being always dimmed on ICS+ 2013-01-07 00:31:37 +04:00
Andrew Dolgov
8f912ab8a8 add basic fullscreen mode, move preferences a bit 2013-01-05 12:33:06 +04:00
Andrew Dolgov
479d1f0a6c prevent crash on 2.3 with dim_status_bar enabled, cleanup unused imports 2013-01-05 12:19:26 +04:00
Andrew Dolgov
c62d4b987b work around against last article line being clipped (refs #527) 2013-01-04 02:04:06 +04:00
Andrew Dolgov
19b6f9e1a1 disable donate_thanks prompt as annoyance 2013-01-03 15:24:06 +04:00
Andrew Dolgov
f78ad58b79 rework attachment UI to use a dialog, update published actionbar icon 2013-01-03 15:09:30 +04:00
Andrew Dolgov
3974868298 fix crash on tablets 2013-01-02 18:51:11 +04:00
Andrew Dolgov
723fff03ec cleaner titlewebview implementation 2013-01-02 18:38:03 +04:00
Andrew Dolgov
c15e32a6a8 article: do not use embedded webview titlebar in portrait mode 2013-01-01 17:48:03 +04:00
Andrew Dolgov
09c3fdf39c various more layout tweaks 2012-12-31 14:21:57 +04:00
Andrew Dolgov
cd2df32b45 various layout readability updates 2012-12-31 14:01:59 +04:00
Andrew Dolgov
6510295056 tablet headline row layout updates 2012-12-31 13:25:23 +04:00
Andrew Dolgov
44598d89e9 do not underline article header links 2012-12-31 12:58:26 +04:00
Andrew Dolgov
4e667479ae layout improvements, add missing files 2012-12-31 12:49:30 +04:00
Andrew Dolgov
369ad45bf5 experimental use of titlebarwebview 2012-12-31 03:51:06 +04:00
Andrew Dolgov
fc4111ae22 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb
Conflicts:
	res/values/strings.xml
2012-12-31 03:15:27 +04:00
Andrew Dolgov
adee6d3493 add sepia theme 2012-12-31 03:14:01 +04:00
Andrew Dolgov
6e407cb5b1 improve transitions 2012-12-31 01:53:04 +04:00
Andrew Dolgov
7357c546b2 remove combined mode stuff 2012-12-31 01:43:23 +04:00
Andrew Dolgov
d4e823efcc streamline key detection, bump version 2012-12-27 13:06:53 +04:00
Andrew Dolgov
204ee6d4b9 trialware stuff, bump version 2012-12-27 00:01:39 +04:00
Andrew Dolgov
d473c5abbd move between articles by tapping left/right sides 2012-12-14 19:37:05 +04:00
Andrew Dolgov
77e7bef968 webview: hide builtin zoom controls 2012-12-09 15:10:00 +04:00
Andrew Dolgov
1ef59c2213 articlefragment: shorten with … instead of ... 2012-12-09 15:06:48 +04:00
Andrew Dolgov
09d319bebd properly add headlines into articlepager in background while in portrait
mode
2012-12-09 15:06:03 +04:00
Andrew Dolgov
4a6c010125 extend pre-nagging interval 2012-12-08 23:40:53 +04:00
Andrew Dolgov
227ccc9b5b add some friendly nagging 2012-12-08 23:36:37 +04:00
Andrew Dolgov
25a8c94c81 offline up arrow fixes; bump version; make amount of articles downloaded
in offline mode configurable
2012-12-04 11:04:08 +04:00
Andrew Dolgov
1b40669cc5 fix disappearing up arrow on actionbar; import cleanup 2012-12-04 10:52:55 +04:00
Andrew Dolgov
d5ebce0b53 properly set actionbar as up enabled in feedsactivity when restarting
with saved state
2012-12-01 17:53:34 +04:00
Andrew Dolgov
89ee4a84be save more GlobalState stuff 2012-11-30 20:21:31 +04:00
Andrew Dolgov
72e9280fef serialize GlobalState data on small devices 2012-11-30 10:08:00 +04:00
Andrew Dolgov
c99ea70d2d ArticlePager: BadParcelable workaround 2012-11-22 14:18:19 +03:00
Andrew Dolgov
cbae8a4dc2 Merge branch 'master' of git@github.com:gothfox/Tiny-Tiny-RSS-for-Honeycomb.git 2012-10-14 16:37:39 +04:00
Andrew Dolgov
8b7a937678 use proper system cache directory for storing cache files 2012-10-14 16:37:20 +04:00
Andrew Dolgov
c444d3b1e6 support server always_display_attachments
article: properly serialize new fields
2012-10-10 16:45:33 +04:00
Andrew Dolgov
84bffe92cd fix status bar not being dimmed after undimmed manually 2012-10-10 15:12:58 +04:00
Andrew Dolgov
f27bbf9e8c fix attachment duplicate checking, bump version 2012-10-10 14:15:53 +04:00
Andrew Dolgov
00b80487b4 support article comments for API 4 server (closes #490) 2012-10-09 19:36:23 +04:00
Andrew Dolgov
2424b72246 add option to dim statusbar while reading 2012-10-09 13:16:05 +04:00
Andrew Dolgov
2de1fc8130 respect new headlines portrait layout in offline mode 2012-10-09 13:12:33 +04:00
Andrew Dolgov
1758f5a495 better duplicate image detection for image enclosures 2012-10-09 13:03:59 +04:00
Andrew Dolgov
77bd9f3923 fullscreen article view in portrait mode on tablets 2012-10-09 12:55:26 +04:00
Andrew Dolgov
bb33e875db remove duplicate checking for embedded attachments 2012-10-09 10:02:57 +04:00
Andrew Dolgov
ac3dbd593a check if fragment is attached in fragment asynctasks 2012-10-09 09:54:43 +04:00
Andrew Dolgov
bc7a0a1c0d add option to show oldest articles first in offline mode (closes #504) 2012-10-08 12:35:43 +04:00
Andrew Dolgov
b706937075 fix last headline not opened properly in articlepager (closes #503) 2012-10-05 13:14:04 +04:00
Andrew Dolgov
40e6b10a7f do actual logging when http_other_error happens 2012-10-02 13:28:43 +04:00
Andrew Dolgov
695feaf0cd handle api_level returned by login 2012-09-29 11:59:04 +04:00
Andrew Dolgov
fb7792125b fix crash in sortfeeds/sortcats when adapter is already destroyed 2012-09-26 09:51:16 +04:00
Andrew Dolgov
83fa1ace29 fix crash in articlefragment context menu because of id collision 2012-09-26 09:48:08 +04:00
Andrew Dolgov
aa22d8f8f3 split SSL hostname verification to a separate option, do not call
trustAllHosts() on every API request, fix support for older tt-rss
versions which do not have getApiLevel call
2012-09-25 13:47:04 +04:00
Andrew Dolgov
53a1c5d5fe allow browsing child categories as categories 2012-09-24 22:10:01 +04:00
Andrew Dolgov
c6225cd16e reimplement going between articles with volume keys, bump version 2012-09-23 21:14:01 +04:00
Andrew Dolgov
193b107c80 remove transitioner from headlinesactivity 2012-09-23 13:14:31 +04:00
Andrew Dolgov
2972597622 fix SSL host verification not being disabled by "trust all hosts" 2012-09-22 15:01:55 +04:00
Andrew Dolgov
0570783c76 fix preferences not showing content 2012-09-21 12:13:42 +04:00
Andrew Dolgov
81522a6172 remove per-fragment loading messages 2012-09-21 10:56:49 +04:00
Andrew Dolgov
b9bd5e89b1 improve logging in again if session is lost 2012-09-21 10:44:30 +04:00
Andrew Dolgov
a82aeb29e4 add some layout transitions 2012-09-20 23:19:50 +04:00
Andrew Dolgov
2a02f4b211 further use handlers in onArticleSelected() 2012-09-20 23:10:23 +04:00
Andrew Dolgov
f1d50cad48 use deferred loading on headlinesactivity refresh, bump version 2012-09-20 23:05:34 +04:00
Andrew Dolgov
b5a521edee reduce handler post interval a bit 2012-09-20 23:00:15 +04:00
Andrew Dolgov
af5bcf926c use delayed loading for several containers in tablet mode to visually
speed things up
2012-09-20 22:57:40 +04:00
Andrew Dolgov
587acd4b47 cleanup unused stuff from preferencesactivity 2012-09-20 15:15:10 +04:00
Andrew Dolgov
f3376172aa fix http basic auth 2012-09-20 15:01:38 +04:00
Andrew Dolgov
869868c5d6 fix offlineuploadservice not setting marked/published flags 2012-09-20 10:00:49 +04:00
Andrew Dolgov
fa05b3fe0a offline not syncing fixes 2012-09-20 09:56:02 +04:00
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