Anthony Restaino
e157d45d39
Use executorservice instead of plain executor to facilitate shutdown
2015-09-27 11:58:58 -04:00
Anthony Restaino
7cec3bd6e4
Add back importing from stock browser and an attempt to add import from chrome
...
import from the default built in browser, stock browser ususally, but
chrome on marshmallow and above.
2015-09-27 11:58:37 -04:00
Anthony Restaino
a71a8c3493
Better asynchronous image loading for BookmarksFragment
...
Previous AsyncTask would throw a RejectedExecutionException if too many
AsyncTasks got spawned on the thread pool executor. The solution was to
create a custom Executor that properly executed the task and queue it if
necessary. Also switched to using weakreference for the view and set
timeouts on image loading so it can load faster.
2015-09-27 11:51:18 -04:00
Anthony Restaino
f1da3c4147
Updated download handler
2015-09-26 17:56:52 -04:00
Anthony Restaino
42471026b3
Fixed bugs in downloading code, Added butterknife, Added back proxying to lite
2015-09-26 17:55:21 -04:00
Stefano Pacifici
6749ca39b8
Simplified LightningView with externalized XXXClients
2015-09-22 16:15:17 +02:00
Anthony Restaino
6f36410e87
Added support for downloading files to directories not lying in the directory returned by getExternalStorage
...
Useful for devices with both internal and external storage
2015-09-20 18:21:49 -04:00
Stefano Pacifici
3615018816
ClickHandler removed, avoid call loop duirng long press on a webview between BrowserActivity and LightningView
2015-09-17 11:26:34 +02:00
Stefano Pacifici
030b839aa6
Trying to remove BrowserController interface
2015-09-17 09:46:00 +02:00
Anthony Restaino
b3f991e598
Change variables to project naming convention
2015-09-16 21:52:34 -04:00
Anthony Restaino
4f839e0866
Remove unused resources, make methods static
2015-09-16 21:52:11 -04:00
Anthony Restaino
05efb4eb72
Fixed bugs in the BookmarksFragment and BookmarkManager
2015-09-16 21:51:15 -04:00
Stefano Pacifici
2563e81f7a
Bookmark page generation moved to LightningView to avoid call loop between BrowserActivity and LightningView through BrowserController
2015-09-16 17:42:20 +02:00
Stefano Pacifici
5c2cf07e20
PreferenceManager injected
2015-09-16 16:49:59 +02:00
Anthony Restaino
7f965b0829
Properly close I/O streams that were not being properly closed
2015-09-15 23:03:17 -04:00
Anthony Restaino
5c8fd41c6b
Made inner classes static to discourage access within of enclosing class
2015-09-15 23:02:49 -04:00
Anthony Restaino
b6b2a25dbe
Reduce unnecessary public visibility on internally used variables
2015-09-15 23:01:55 -04:00
Anthony Restaino
9a2ed38440
Equalized padding on autocomplete layout
2015-09-15 23:00:34 -04:00
Stefano Pacifici
4be31553ad
Back, Forward and Plus rewired
2015-09-15 16:10:34 +02:00
Stefano Pacifici
7661ea35ee
In the middle of events rewiring (back/forward)
2015-09-15 14:24:31 +02:00
Anthony Restaino
748397f1f0
remove redundant calls to "showTab"
2015-09-14 20:18:24 -04:00
Anthony Restaino
c65cccb25c
Remove unnecessary ClickListener classes
2015-09-14 20:03:35 -04:00
Anthony Restaino
2da5c4194c
Fixed static analysis warnings
...
* Using strings when characters could be used
* Unused imports
* String concatenation in a loop
2015-09-14 20:03:11 -04:00
Anthony Restaino
8a6ad81027
Extract anonymous caching class to its own inner class
2015-09-14 19:58:46 -04:00
Stefano Pacifici
51f783cea4
TabsFragment extracted
2015-09-14 17:58:21 +02:00
Stefano Pacifici
74073178bf
mWebView reference removed from BrowserActivity
2015-09-14 14:41:11 +02:00
Stefano Pacifici
f0c3b743d4
CurrentTab reference removed from BrowserActivity
2015-09-14 14:19:07 +02:00
Stefano Pacifici
74a75d4adb
TabsManager created
2015-09-14 13:44:36 +02:00
Stefano Pacifici
5628433718
iml files removed. They are generated during gradle sync by Android Studio.
2015-09-14 10:15:34 +02:00
Anthony Restaino
919043cad9
Fixed bug in release builds where event bus events were not being fired
2015-09-13 13:16:23 -04:00
Anthony Restaino
0b94eda458
Initialize ui color variable
2015-09-12 11:10:51 -04:00
Anthony Restaino
57a25eb9dc
Fixed ColorMode on the desktop tab UI by caching the backing Bitmap rather than immutable BitmapDrawable
...
BitmapDrawable turns out is sort of immutable even when using mutate()
so what was happening was that when switching from a tab on the right to
a tab on the left, the foreground drawable was set as the background of
two views for a small instant as the RecyclerView binds views from left
to right and the setColorFilter on the left foreground tab was not
working at all. When you switched from a left to right tab, it worked
fine because the left tab background was changed before the right and
the foreground drawable was only used by one view in that case. The
solution was to not reuse the drawable but instead reuse the backing
bitmap and create a new drawable whenever a tab moved to the foreground.
2015-09-12 10:36:09 -04:00
Anthony Restaino
965ccee8b7
Update to faster jsoup library version
2015-09-11 22:14:26 -04:00
Anthony Restaino
5fd401c2c0
Use thread pool executors on AsyncTasks to increase performance
2015-09-11 20:28:01 -04:00
Anthony Restaino
161f4100b3
Cache icons on a background thread
2015-09-11 20:27:30 -04:00
Anthony Restaino
875cd45c7b
Updated to latest Google logo
2015-09-11 20:26:07 -04:00
Anthony Restaino
0ac2337ff8
Refactored ProxyUtils for lite version
2015-09-10 08:04:40 -04:00
Anthony Restaino
838270b4b0
Fix broken icon downloading, handle edge cases where url parameter is bad
2015-09-09 23:40:54 -04:00
Anthony Restaino
3fab58955c
Removed need for passing a Context to the ProxyUtils singleton
2015-09-09 22:18:20 -04:00
Anthony Restaino
dbf0457d79
Don't clear the HashMap, instead just change the reference
2015-09-09 21:32:05 -04:00
Anthony Restaino
5dff2db5df
Add LeakCanary library, fix a few memory leaks
2015-09-08 22:24:15 -04:00
Anthony Restaino
d5102b5e54
Fixed a number of lint warnings
2015-09-08 21:10:34 -04:00
Anthony Restaino
7f07edcdf7
Fixed compile bug in LightningLite
2015-09-08 20:50:17 -04:00
Anthony Restaino
b33c4caf67
Fixed bug with WebView background being transparent, fixed some deprecated API usage, made HistoryDatabase a true singleton
2015-09-08 20:48:08 -04:00
Anthony Restaino
681a76df50
formatting change in browseractivity
2015-09-07 20:42:33 -04:00
Anthony Restaino
e00c82655a
Remove pointless assertions: @ NonNull removes need for assertions
2015-09-07 20:34:06 -04:00
Anthony Restaino
732d309888
Cleaning up lint warnings and making some performance improvements on string builders
2015-09-07 20:31:59 -04:00
Anthony Restaino
3b75765d92
Add a transition when entering and exiting the Reading mode
2015-09-07 20:01:14 -04:00
Anthony Restaino
b0169e73d2
Use support library DrawerArrowDrawable instead of using our own version
2015-09-07 20:01:12 -04:00
Anthony Restaino
71d6da0eee
Lint fixes, remove use of assert from code, update to latest support library
2015-09-07 20:01:11 -04:00
Stefano Pacifici
2619210f8c
Fix removing the BookmarksEvent.Deleted instead of the actual bookmark
2015-09-07 10:02:23 +02:00
Stefano Pacifici
83790bec70
Fix bookmarks drawer background problems
2015-09-03 15:57:12 +02:00
Stefano Pacifici
23e97306dd
BookmarkPage restored and proper dependency injection
2015-09-03 15:33:40 +02:00
Stefano Pacifici
47103ba3d0
Activity Transaction animations merged
2015-09-02 15:24:33 +02:00
Anthony Restaino
8061d8726a
Add clear button to the search bar instead of go button
2015-08-30 15:23:59 -04:00
Anthony Restaino
1896fa6151
Animations for activity transitions
2015-08-27 22:44:22 -04:00
Stefano Pacifici
3c9cd73bf0
Refactoring: Bookmarks as Fragment
...
1. Incognito mode in another process
2. Bookmarks as a Fragement using Otto
3. Initial bookmarks as fragment implementation
2015-08-27 16:50:36 +02:00
Anthony Restaino
98f0daceaa
method could be static
2015-08-25 21:02:37 -04:00
Anthony Restaino
367c62bd39
Improved reading mode thanks to changes from snacktory fork by skyshard
2015-08-25 20:59:23 -04:00
Anthony Restaino
04c9f75a90
Added option for empty user agent if the user sets an empty string to work around webview limitations
2015-08-25 20:19:38 -04:00
Anthony Restaino
dd18526ddf
Fixed some deprecation problems and code analysis warnings
2015-08-23 23:26:21 -04:00
Anthony Restaino
85d92db738
Switched to RecyclerView, cleaned up some HTML generator methods
2015-08-23 19:21:22 -04:00
Anthony Restaino
b68ad65abc
Added permission handling and support for API 23
2015-08-23 12:13:06 -04:00
Anthony Restaino
a0ade8acc9
Changed padding on toolbar for consistency, updated build tools
2015-08-22 10:04:35 -04:00
Anthony Restaino
676ba822af
Try to fix problem with netcipher library
2015-08-22 09:24:58 -04:00
Anthony Restaino
9f2f9d74eb
First step toward Android M support, compile with sdk 23, fix errors caused by upgrade
...
removed copy button from search bar and replaced with go action. Had to
remove browser content provider usage as it is not longer included in
the sdk and has been completely removed.
2015-08-22 09:08:39 -04:00
Anthony Restaino
68f5c4fb45
Better URL validation, thanks AOSP
2015-08-21 21:55:55 -04:00
Anthony Restaino
a08d793320
Added homepage button, altered tab UI slightly, fixed URL validation
2015-08-21 21:33:45 -04:00
Anthony Restaino
f3b0e46801
Fixed many code analysis warnings
2015-08-21 17:55:58 -04:00
Anthony Restaino
d5e1e06d84
Fixed bug where history wasn't being deleted until the app was restarted
2015-08-21 17:15:08 -04:00
Anthony Restaino
119245a5fa
removed unused strings
2015-08-21 17:07:03 -04:00
Anthony Restaino
ff5810c89a
another attempt to fix travis
2015-08-21 16:57:19 -04:00
Anthony Restaino
d6fbfeaf29
Attempt to fix continuous integration build error
2015-08-21 16:43:20 -04:00
Anthony Restaino
c301f3963a
Fixed a couple code warnings
2015-08-21 16:05:10 -04:00
Anthony Restaino
0a67f9e92a
Renamed folders to fix build error
2015-08-21 16:04:23 -04:00
Anthony Restaino
c9579b9d82
Merge branch 'master' into dev
...
Conflicts:
app/src/main/res/values-it/strings.xml
2015-08-21 15:54:13 -04:00
Anthony Restaino
f39631bd23
Merge pull request #283 from yuki2006/dev
...
fix: about scheme
2015-08-20 21:00:53 -04:00
Anthony Restaino
6be3cab470
Merge pull request #281 from MarkThat/patch-1
...
Changed a few old strings and added new.
2015-08-20 21:00:05 -04:00
Anthony Restaino
b619a12ae3
Miscellaneous code analysis warning fixes
2015-08-20 20:59:24 -04:00
Anthony Restaino
58c9e820ed
Initial support for tabs on the top instead of in the navigation drawer
...
added a setting to switch between modes. Still needs work to be less
buggy
2015-08-20 20:58:33 -04:00
ono
33eb739824
fix: about scheme
2015-08-20 14:23:20 +09:00
Mark.
839616a4e4
Changed a few old strings and added new.
2015-08-18 19:05:40 +02:00
Anthony Restaino
e71e09c2e8
Further generify Adblock host loading
2015-08-17 19:23:09 -04:00
Anthony Restaino
25a80a86a5
Update hosts file, create versatile hosts loading method to make way for users to load from any hosts file
2015-08-16 17:14:48 -04:00
Anthony Restaino
59c720d7d8
Fixed a setting, lowered priority on a thread
2015-08-12 21:01:52 -04:00
Anthony Restaino
7e67770617
Implement javascript close window method in the browser
2015-08-11 19:59:01 -04:00
Anthony Restaino
c4e244a82b
Make incognito mode safer, fix crash in search adapter,
2015-08-10 20:57:01 -04:00
Anthony Restaino
a738308a50
Added korean translation
2015-08-05 22:49:42 -04:00
Anthony Restaino
5081ee2ea6
Fix RuntimeException on Android M Preview
2015-08-05 22:10:51 -04:00
Anthony Restaino
29d2a5f3e5
Use single WebkitProxy reset method
2015-08-05 21:34:02 -04:00
Anthony Restaino
4ba7c7c5a3
Fixed some bugs
2015-08-05 20:04:28 -04:00
Anthony Restaino
08eedbe121
Add option to clear Web Storage
2015-08-04 20:08:55 -04:00
anthologist
f101ea34ce
Update strings.xml
2015-08-04 16:35:23 +02:00
anthologist
9f036410d2
Update strings.xml
2015-08-04 12:14:21 +02:00
anthologist
86834fca60
Update strings.xml
2015-08-04 12:11:25 +02:00
Anthony Restaino
3b13999b03
Added text encoding setting, updated support libraries
2015-08-03 22:33:11 -04:00
anthologist
cc78b4196f
Update strings.xml
2015-08-03 19:23:17 +02:00
Anthony Restaino
b8b610347f
fixed full-screen mode when watching a video in full-screen
2015-08-02 11:42:18 -04:00
Anthony Restaino
24a99deb52
Add suggestions to naming a folder in edit bookmark dialog
2015-07-31 21:37:26 -04:00
Anthony Restaino
0f9a69ba17
Updated hosts file
2015-07-30 20:26:43 -04:00