Anthony Restaino
38d1973a93
Lint fixes, save scroll position in bookmarks list
9 years ago
Anthony Restaino
6bbc0805de
Fixed bug where tab and toolbar colors were not in sync when color mode got switched on
9 years ago
Anthony Restaino
e157d45d39
Use executorservice instead of plain executor to facilitate shutdown
9 years ago
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.
9 years ago
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.
9 years ago
Anthony Restaino
f1da3c4147
Updated download handler
9 years ago
Anthony Restaino
42471026b3
Fixed bugs in downloading code, Added butterknife, Added back proxying to lite
9 years ago
Stefano Pacifici
6749ca39b8
Simplified LightningView with externalized XXXClients
9 years ago
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
9 years ago
Stefano Pacifici
3615018816
ClickHandler removed, avoid call loop duirng long press on a webview between BrowserActivity and LightningView
9 years ago
Stefano Pacifici
030b839aa6
Trying to remove BrowserController interface
9 years ago
Anthony Restaino
b3f991e598
Change variables to project naming convention
9 years ago
Anthony Restaino
4f839e0866
Remove unused resources, make methods static
9 years ago
Anthony Restaino
05efb4eb72
Fixed bugs in the BookmarksFragment and BookmarkManager
9 years ago
Stefano Pacifici
2563e81f7a
Bookmark page generation moved to LightningView to avoid call loop between BrowserActivity and LightningView through BrowserController
9 years ago
Stefano Pacifici
5c2cf07e20
PreferenceManager injected
9 years ago
Anthony Restaino
7f965b0829
Properly close I/O streams that were not being properly closed
9 years ago
Anthony Restaino
5c8fd41c6b
Made inner classes static to discourage access within of enclosing class
9 years ago
Anthony Restaino
b6b2a25dbe
Reduce unnecessary public visibility on internally used variables
9 years ago
Anthony Restaino
9a2ed38440
Equalized padding on autocomplete layout
9 years ago
Stefano Pacifici
4be31553ad
Back, Forward and Plus rewired
9 years ago
Stefano Pacifici
7661ea35ee
In the middle of events rewiring (back/forward)
9 years ago
Anthony Restaino
748397f1f0
remove redundant calls to "showTab"
9 years ago
Anthony Restaino
c65cccb25c
Remove unnecessary ClickListener classes
9 years ago
Anthony Restaino
2da5c4194c
Fixed static analysis warnings
...
* Using strings when characters could be used
* Unused imports
* String concatenation in a loop
9 years ago
Anthony Restaino
8a6ad81027
Extract anonymous caching class to its own inner class
9 years ago
Stefano Pacifici
51f783cea4
TabsFragment extracted
9 years ago
Stefano Pacifici
74073178bf
mWebView reference removed from BrowserActivity
9 years ago
Stefano Pacifici
f0c3b743d4
CurrentTab reference removed from BrowserActivity
9 years ago
Stefano Pacifici
74a75d4adb
TabsManager created
9 years ago
Anthony Restaino
0b94eda458
Initialize ui color variable
9 years ago
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.
9 years ago
Anthony Restaino
5fd401c2c0
Use thread pool executors on AsyncTasks to increase performance
9 years ago
Anthony Restaino
161f4100b3
Cache icons on a background thread
9 years ago
Anthony Restaino
875cd45c7b
Updated to latest Google logo
9 years ago
Anthony Restaino
0ac2337ff8
Refactored ProxyUtils for lite version
9 years ago
Anthony Restaino
838270b4b0
Fix broken icon downloading, handle edge cases where url parameter is bad
9 years ago
Anthony Restaino
3fab58955c
Removed need for passing a Context to the ProxyUtils singleton
9 years ago
Anthony Restaino
dbf0457d79
Don't clear the HashMap, instead just change the reference
9 years ago
Anthony Restaino
5dff2db5df
Add LeakCanary library, fix a few memory leaks
9 years ago
Anthony Restaino
d5102b5e54
Fixed a number of lint warnings
9 years ago
Anthony Restaino
7f07edcdf7
Fixed compile bug in LightningLite
9 years ago
Anthony Restaino
b33c4caf67
Fixed bug with WebView background being transparent, fixed some deprecated API usage, made HistoryDatabase a true singleton
9 years ago
Anthony Restaino
681a76df50
formatting change in browseractivity
9 years ago
Anthony Restaino
e00c82655a
Remove pointless assertions: @ NonNull removes need for assertions
9 years ago
Anthony Restaino
732d309888
Cleaning up lint warnings and making some performance improvements on string builders
9 years ago
Anthony Restaino
3b75765d92
Add a transition when entering and exiting the Reading mode
9 years ago
Anthony Restaino
b0169e73d2
Use support library DrawerArrowDrawable instead of using our own version
9 years ago
Anthony Restaino
71d6da0eee
Lint fixes, remove use of assert from code, update to latest support library
9 years ago
Stefano Pacifici
2619210f8c
Fix removing the BookmarksEvent.Deleted instead of the actual bookmark
9 years ago