Commit Graph

457 Commits

Author SHA1 Message Date
Andrew Dolgov
d5f8effc6d various contextmenu related fixes 2015-12-05 23:57:23 +03:00
Andrew Dolgov
a7106ca240 fix surfaceview not registered for context menu 2015-12-03 13:47:29 +03:00
Andrew Dolgov
51eef8f2da reinstate context menus for gallery/video views 2015-12-03 13:13:57 +03:00
Andrew Dolgov
e0a74a352b another day, another fix for headlines fragment 2015-12-02 20:05:05 +03:00
Andrew Dolgov
2eec172bfb enable video player shared transition (wip) 2015-12-02 16:52:46 +03:00
Andrew Dolgov
b992ee46b2 show cover image while loading video
set gallery backgrounds to black
2015-12-02 16:26:38 +03:00
Andrew Dolgov
13da30911a use overflow for video player 2015-12-02 16:12:43 +03:00
Andrew Dolgov
863860201a use overflow/popup for gallery view 2015-12-02 16:01:28 +03:00
Andrew Dolgov
cc757d2b06 don't show flavor overflow all the time 2015-12-02 15:23:31 +03:00
Andrew Dolgov
c963b23e9c Revert "limit maximum height of flavor images within headlines list"
This reverts commit 2c370a4d0b.
2015-12-02 15:01:09 +03:00
Andrew Dolgov
2c370a4d0b limit maximum height of flavor images within headlines list 2015-12-02 14:30:26 +03:00
Andrew Dolgov
6071ede5b9 change open image to open with for image menu
maybe fix a cosmetic issue with headlinesfragment
2015-12-02 13:42:40 +03:00
Andrew Dolgov
13472a2a2e add overflow icon to flavor image 2015-12-02 13:38:05 +03:00
Andrew Dolgov
7c0b223f6d move excerpt cleanup to Article class 2015-12-02 13:19:46 +03:00
Andrew Dolgov
f6ee9be9a4 unify sharing code 2015-12-01 23:10:18 +03:00
Andrew Dolgov
d4f355fc79 fix pendingintent in chrome custom tab not updating
remove unnecessary extra_subject from share intents
2015-12-01 23:02:03 +03:00
Andrew Dolgov
1c2ae86a35 gallery stuff: use unique transition names 2015-12-01 22:16:50 +03:00
Andrew Dolgov
9855a70fb3 prefs: do we really need a toolbar 2015-12-01 21:57:07 +03:00
Andrew Dolgov
52adc29715 add reveal animation to settings button 2015-12-01 19:43:23 +03:00
Andrew Dolgov
655b3e873e add (un)read to headline context menu 2015-12-01 14:56:49 +03:00
Andrew Dolgov
729209f1f5 cleanup horrible code in displayImageCaption 2015-12-01 14:50:28 +03:00
Andrew Dolgov
69e6844711 rework headlines context menu to use popupmenu instead 2015-12-01 14:33:31 +03:00
Andrew Dolgov
36561a436e tweak quick preview dialog a bit 2015-12-01 11:54:55 +03:00
Andrew Dolgov
0d870bf61c set transitions to video player views like master -> detail 2015-11-30 09:41:09 +03:00
Andrew Dolgov
ac590d08ed chrome tabs: preload stuff on wifi 2015-11-30 06:47:50 +03:00
Andrew Dolgov
c57b0f95dd add some i18n 2015-11-30 06:22:03 +03:00
Andrew Dolgov
ddb72b88ca move settings to drawer header 2015-11-30 06:20:01 +03:00
Andrew Dolgov
6e2b220669 toggle defaults for chrome tab prefs 2015-11-30 04:44:25 +03:00
Andrew Dolgov
d4c9e097bb set master/detail transitions like w/ custom tab 2015-11-30 04:43:12 +03:00
Andrew Dolgov
5205be67eb wip: add a dialog for opening link w/ chrome tabs or normally 2015-11-30 04:29:36 +03:00
Andrew Dolgov
4b09961a30 implement chrome custom tabs 2015-11-28 16:30:12 +03:00
Andrew Dolgov
b28fef66e8 switch to nestedscrollview provided by v4 support library 2015-11-27 10:36:53 +03:00
Andrew Dolgov
be37151069 ArticleImagesPager: fix for schema-less urls 2015-11-24 12:20:45 +03:00
Andrew Dolgov
7eb2fd6fd8 Article.collectMediaInfo: fuck whoever invented schema-less urls 2015-11-24 12:14:30 +03:00
Andrew Dolgov
a2f248a238 offline article: allow mixed content to enable showing cached images on LP+ 2015-11-23 14:19:41 +03:00
Andrew Dolgov
9ad2955c6c updates for sdk/support library v23 2015-11-23 13:41:58 +03:00
Andrew Dolgov
7ab05d7e36 disable collectMediaInfo debugging 2015-09-15 20:09:09 +03:00
Andrew Dolgov
deaae7ee1b remove special spacer hack, makes headlines buffer move on loading more headlines 2015-09-15 20:08:46 +03:00
Andrew Dolgov
5a732adde4 top changed: set onclick on the container not text, duh 2015-09-06 19:49:37 +03:00
Andrew Dolgov
d61997e20e add a catch block against possible crashes with excerpt handling 2015-09-06 19:46:07 +03:00
Andrew Dolgov
62de61c5a0 fix flavor images appearing in wrong modes 2015-09-06 16:31:36 +03:00
Andrew Dolgov
90cc311adb do not crash on video elements w/o source 2015-09-06 16:13:48 +03:00
Andrew Dolgov
48c2da635a move some jsoup processing to article class; simplify headline adapter 2015-08-18 21:03:15 +03:00
Andrew Dolgov
ffc67cb9cd fix sharing youtube vids 2015-08-18 19:38:07 +03:00
Andrew Dolgov
8e53a7aa88 fix sharing of article videos; do not crash if prepareasync has already been called 2015-08-18 19:35:38 +03:00
Andrew Dolgov
792f7cc722 remove loading: hack 2015-08-18 08:50:51 +03:00
Andrew Dolgov
4ec76ca88d improve error reporting a bit 2015-08-17 23:42:07 +03:00
Andrew Dolgov
c28adf42b3 add another possible check for duplicate async loaded images in headlines 2015-08-17 14:30:14 +03:00
Andrew Dolgov
d0a7ca271d headlines: add ripple to top changed prompt 2015-07-29 11:46:13 +03:00
Andrew Dolgov
1a2bbc92c1 reset headline progressbar on starting to load image 2015-07-28 16:14:22 +03:00
Andrew Dolgov
8d71936c89 add onclick to refresh to top changed notice view 2015-07-27 10:07:02 +03:00
Andrew Dolgov
fc459363bd uil: bitmap may be null 2015-07-18 11:33:17 +03:00
Andrew Dolgov
aa3e9d0c7c add another check for flavor images maybe loading in the wrong list entry because of recycling 2015-07-17 19:15:27 +03:00
Andrew Dolgov
1264f3043c pass article to detailactivity via application to prevent transaction_too_large 2015-07-17 10:31:41 +03:00
Andrew Dolgov
079b5841db moving flavorimage etc stuff to viewholder has been a bad idea (because views are converted) 2015-07-13 23:48:53 +03:00
Andrew Dolgov
ab416d5b65 remove unnecessary top padding on excerpt when in no images mode 2015-07-13 23:38:33 +03:00
Andrew Dolgov
3729842e7b fix for too small flavor images reloading more than necessary 2015-07-13 23:31:54 +03:00
Andrew Dolgov
1c9dbba4f5 video views: disable transitions 2015-07-12 23:11:11 +03:00
Andrew Dolgov
8c51de35ae set actions on headline header/flavor image as to make article opening easier if drawn above image 2015-07-12 23:00:33 +03:00
Andrew Dolgov
2bee76f0c9 handle possible type problems w/ m_firstId in JSON 2015-07-12 22:54:30 +03:00
Andrew Dolgov
0be76abf87 first_id fixes 2015-07-12 18:07:55 +03:00
Andrew Dolgov
4083904781 show top changed message in articlepager 2015-07-12 13:18:59 +03:00
Andrew Dolgov
32c0691d5d add support for top id checking 2015-07-12 12:19:24 +03:00
Andrew Dolgov
831b1d975b move one of the flavor image loading listeners to a correct place 2015-07-11 18:31:44 +03:00
Andrew Dolgov
54488e108a show inline youtube player (if app installed)
minor bugfixes
2015-07-11 12:27:29 +03:00
Andrew Dolgov
c79fb5a1b2 video player: add progress bar 2015-07-11 11:35:12 +03:00
Andrew Dolgov
b26d659004 only set header tinting if necessary (2) 2015-07-11 03:04:04 +03:00
Andrew Dolgov
ee63b0d88f only set header tinting if necessary 2015-07-11 02:40:37 +03:00
Andrew Dolgov
0d0a7bf92b fix layouts on offline, etc 2015-07-11 00:28:46 +03:00
Andrew Dolgov
79d551ab8d switch to screen-height based embedding 2015-07-11 00:22:41 +03:00
Andrew Dolgov
e0e85a2e7b switch to LRU cache 2015-07-11 00:15:20 +03:00
Andrew Dolgov
013b4fa616 progressbar updates 2015-07-10 23:59:49 +03:00
Andrew Dolgov
7c8919cb79 new album icon, various headline tweaks 2015-07-10 23:37:18 +03:00
Andrew Dolgov
d9e3c77419 headline layout fixes 2015-07-10 23:09:02 +03:00
Andrew Dolgov
91417fa3dd some more tweaks 2015-07-10 22:57:33 +03:00
Andrew Dolgov
b218b743bf headline layout tweaks 2015-07-10 22:48:28 +03:00
Andrew Dolgov
a0118d6832 some initial stuff 2015-07-10 19:34:21 +03:00
Andrew Dolgov
7c7ce0f544 minor headlines fragment fixes (2) 2015-07-10 18:26:57 +03:00
Andrew Dolgov
3b55543ee6 minor headlines fragment fixes 2015-07-10 18:11:59 +03:00
Andrew Dolgov
081f68bad4 attempt to unfuck headlinesfragment view management a bit 2015-07-10 17:46:37 +03:00
Andrew Dolgov
380237e441 don't load video thumbs if flavor images are disabled 2015-07-10 15:58:30 +03:00
Andrew Dolgov
8c177bdbac flavor image prompt: make it less specific 2015-07-10 14:32:58 +03:00
Andrew Dolgov
d1cf6a071c add image count prompt to flavor image 2015-07-10 14:21:38 +03:00
Andrew Dolgov
4e330671fa remove flavor image arrow 2015-07-10 13:56:03 +03:00
Andrew Dolgov
a5da507b58 add separate drawables for youtube and video links, better cover drawable 2015-07-10 13:48:14 +03:00
Andrew Dolgov
b30de39dd5 switch to surfaceview from videoview 2015-07-10 13:01:21 +03:00
Andrew Dolgov
5e5c76c7e2 replace inline video player with a separate activity 2015-07-10 09:48:05 +03:00
Andrew Dolgov
5c0768b40d remove inline video player 2015-07-10 09:14:18 +03:00
Andrew Dolgov
a0296da672 add play icon for videos 2015-07-10 01:16:11 +03:00
Andrew Dolgov
5df93fe9d6 add rudimentary headlines video player 2015-07-10 01:00:10 +03:00
Andrew Dolgov
49a4128833 minor thumbnail fixes (2) 2015-07-08 17:03:17 +03:00
Andrew Dolgov
3599b91766 minor thumbnail fixes 2015-07-08 16:50:18 +03:00
Andrew Dolgov
8207b3a1f8 uppercase text drawable 2015-07-08 16:38:37 +03:00
Andrew Dolgov
40bce03f2d use text drawables as a fallback when drawing compact thumbnails 2015-07-08 16:36:28 +03:00
Andrew Dolgov
dbd7d09a69 rounded compact thumbnails 2015-07-08 16:23:38 +03:00
Andrew Dolgov
618fe0aa1d some more work on thumbnails 2015-07-08 15:28:24 +03:00
Andrew Dolgov
49f820110d add not completely functional headline thumbnails for compact mode 2015-07-08 15:09:29 +03:00
Andrew Dolgov
d7677ec893 allow <video> elements to autoplay 2015-07-06 21:29:25 +03:00
Andrew Dolgov
ae3b87ff91 add workaround for android issue #26194, thanks google 2015-06-26 14:40:42 +03:00
Andrew Dolgov
26e14506c5 add workaround for top headline glitching out behind the toolbar while refreshing through fab 2015-06-25 22:34:24 +03:00
Andrew Dolgov
afccfa1003 add FAB to headlines list 2015-06-24 12:56:54 +03:00
Andrew Dolgov
e947eb7b8e Revert "use dialogwhenlarge theme for image pager"
This reverts commit f114539024.
2015-06-11 18:23:30 +03:00
Andrew Dolgov
f114539024 use dialogwhenlarge theme for image pager 2015-06-11 14:15:32 +03:00
Andrew Dolgov
35f421e896 fix Special opening as feed when browse_feeds_as_cats is enabled if invoked from root plain feed list 2015-06-11 12:41:17 +03:00
Andrew Dolgov
14849b3eb4 cleaner implementation for restarting on key preference changes 2015-06-11 12:36:09 +03:00
Andrew Dolgov
bc2cef9630 restart when cats get enabled/disabled 2015-06-11 08:32:27 +03:00
Andrew Dolgov
cbc88f57e1 remove some db field remnants 2015-06-11 01:05:31 +03:00
Andrew Dolgov
5838b6f724 offline: add headlines animations 2015-06-10 23:59:14 +03:00
Andrew Dolgov
d37b2f6e69 re-add the dreaded button to offline 2015-06-10 23:55:57 +03:00
Andrew Dolgov
3071df1abe rework databasehelper as a singleton
simplify offline interaction with the database
2015-06-10 23:51:41 +03:00
Andrew Dolgov
089e3e70b5 remove loadingfragment 2015-06-10 19:50:27 +03:00
Andrew Dolgov
449ac639e3 remove typeface cache 2015-06-10 19:45:32 +03:00
Andrew Dolgov
0dde302a73 even more refactoring 2015-06-10 19:44:51 +03:00
Andrew Dolgov
4acc9ac37e further refactoring 2015-06-10 19:40:08 +03:00
Andrew Dolgov
dffc737a93 refactor layouts naming scheme 2015-06-10 19:24:24 +03:00
Andrew Dolgov
b4e8f0d752 remove LG hardware button problem fix because it breaks HW button menus on appcompat now 2015-06-10 15:07:25 +03:00
Andrew Dolgov
913a3e8a83 add workaround for webview not opening links externally on 5.x after latest update, thanks google 2015-06-10 14:55:07 +03:00
Andrew Dolgov
931e4d6427 maybe fix icon not working on dashclock 2015-06-08 16:53:28 +03:00
Andrew Dolgov
6ab91236b4 preferences layout: remove unnecessary dp height
add matching material overflow icon for headlines list
2015-06-08 16:20:40 +03:00
Andrew Dolgov
89baa99ea5 subscribe dialog: support multiple feed results 2015-06-08 13:35:54 +03:00
Andrew Dolgov
a38d90e806 feeds/cats: do not set empty view because doing so obscures headers/footers when there's no content 2015-06-08 09:42:31 +03:00
Andrew Dolgov
3d23124f72 lint: use preferenceeditor.apply instead of commit 2015-06-06 11:29:30 +03:00
Andrew Dolgov
75b86b94bb articlepager: notifydatasetchanged on resume 2015-06-06 11:21:56 +03:00
Andrew Dolgov
f24a9b08d0 headlines: add a special invisible listview item because listviewanimations seem to glitch if there's only 1 headline loaded reloading animations on every notifydatasetchanged, not sure why
we do not pass this special headline to headlinesactivity
2015-06-05 23:32:28 +03:00
Andrew Dolgov
99216872d0 do not show drawer header in tablet horizontal mode 2015-06-05 20:01:27 +03:00
Andrew Dolgov
cb0c9b06e0 bump version 2015-06-05 20:45:55 +04:00
Andrew Dolgov
e52e597a3d minor efforts to speedup article fragment a bit 2015-06-05 19:26:36 +03:00
Andrew Dolgov
9523151a25 article fragment: simplify things a bit 2015-06-05 15:51:50 +03:00
Andrew Dolgov
e5159ab48a flavor images: add fade-in displayer; rework progressbar display 2015-06-05 15:03:23 +03:00
Andrew Dolgov
79f4b94a34 headlines: use flavor image tag for a slight performance improvement, hopefully 2015-06-05 14:48:21 +03:00
Andrew Dolgov
3b37e33d6b headlines fragment: remove some obsolete code 2015-06-05 14:23:57 +03:00
Andrew Dolgov
0b8abdf07a move sidebar footer item handling to onclick listeners 2015-06-05 12:15:57 +03:00
Andrew Dolgov
8e5a8fb8eb disable context shortcut menu entry in offline feed fragments 2015-06-05 11:57:35 +03:00
Andrew Dolgov
5575eca5ea properly terminate launch activity 2015-06-05 11:44:50 +03:00
Andrew Dolgov
eed69d57e3 move istaskroot crap to the separate tiny launch activity 2015-06-05 11:25:23 +03:00
Andrew Dolgov
df1dcca834 add workaround for android issue #26658 2015-06-05 10:18:13 +03:00
Andrew Dolgov
d59b695ae9 headlinesfragment: (experimental) notify adapter onresume 2015-06-05 09:30:30 +03:00
Andrew Dolgov
131f355ce9 fix clicking on unread only footer behaving as a go offline entry 2015-06-04 23:49:37 +03:00
Andrew Dolgov
c30f85616e add various per-feed icons for the conns/feeds sidebar 2015-06-04 23:44:26 +03:00
Andrew Dolgov
8c6d767190 move offline/online prompts to the sidebar 2015-06-04 20:57:32 +03:00
Andrew Dolgov
c9398d0fe1 rework feeds/cats loading progressbar 2015-06-04 20:17:17 +03:00
Andrew Dolgov
6b6f3db8c3 add workaround for listview animations not working after clear() 2015-06-04 19:49:04 +03:00
Andrew Dolgov
17327f1457 add some listview animations to headlines 2015-06-04 20:31:57 +04:00
Andrew Dolgov
0dd21425bd show drawer behind translucent statusbar, jesus fuck (2)
now with scriminsetwhatsitsface
2015-06-04 16:13:06 +03:00
Andrew Dolgov
e4afee1014 add separate icon for unread only switchbox 2015-06-04 14:31:11 +03:00
Andrew Dolgov
42358f6f6d move settings and unread only switch to the drawer 2015-06-04 14:27:41 +03:00
Andrew Dolgov
0ccac9b5b3 remove logout menu item 2015-06-04 08:46:54 +03:00
Andrew Dolgov
c54d13e072 move to v7 toolbar widget instead of old-style actionbar 2015-06-04 00:30:35 +03:00
Andrew Dolgov
6b6107b276 subscribe dialog: add a progressbar 2015-06-03 13:43:28 +03:00
Andrew Dolgov
3de302182c switch to preferencefragment 2015-06-02 11:05:27 +04:00