Stefano Pacifici
61b57cd992
Restore activity restart when tab mode changes
9 years ago
Stefano Pacifici
3cb576d358
Merge latest changes from Anthony's dev branch
9 years ago
Stefano Pacifici
b0c1bcc028
iml files removed. They are generated during gradle sync by Android Studio.
9 years ago
Stefano Pacifici
1f025debd7
Solve problems with colors when tabs are switched
9 years ago
Anthony Restaino
c67a1108cd
Reduce visibility of members and methods where possible, and more (see description)
...
* reduce visibility
* remove unused methods and members
* Suppress unused warnings we can ignore
* fixed or ignored deprecation warnings
* Changed HistoryItem to have better hashcode and equals implementations
and removed id member from it as it was unnecessary
* Fix performance problem with loading bookmarksettingsfragment and
properly annotate bookmarklocalsync
9 years ago
Anthony Restaino
3bd08d00f3
Begin adding documentation, remove unnecessary controller method
9 years ago
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
Stefano Pacifici
5628433718
iml files removed. They are generated during gradle sync by Android Studio.
9 years ago
Anthony Restaino
919043cad9
Fixed bug in release builds where event bus events were not being fired
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
965ccee8b7
Update to faster jsoup library version
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