Commit Graph

1025 Commits

Author SHA1 Message Date
Miłosz Sieradzki
8cb4b455cf Update Polish translations 2015-10-02 22:03:22 +02:00
Anthony Restaino
5fa6b529ca Merge pull request #299 from anthonycr/dev
Version 4.2.3 Release
2015-09-30 22:43:21 -04:00
Anthony Restaino
c352c331ad last changes for 4.2 update 2015-09-30 22:27:12 -04:00
Anthony Restaino
c190066db2 Merge pull request #298 from kuc/fix-onReceivedSslError
Fixes #297: properly implement onReceivedSslError() method
2015-09-30 20:48:34 -04:00
Miłosz Sieradzki
06e80ad541 Fixes #297: properly implement onReceivedSslError() method
Validation of SSL certificates is still not ideal, as https://badssl.com/ shows, but further improvements require more investigation.
2015-09-30 21:56:14 +02:00
Stefano Pacifici
61b57cd992 Restore activity restart when tab mode changes 2015-09-29 14:39:05 +02:00
Anthony Restaino
a015d810ea Fix UI bug caused by obfuscation 2015-09-29 07:42:56 -04:00
Stefano Pacifici
3cb576d358 Merge latest changes from Anthony's dev branch 2015-09-29 12:11:08 +02:00
Anthony Restaino
f761383fc4 Up version number, fix build error. 2015-09-28 20:36:04 -04:00
Stefano Pacifici
b0c1bcc028 iml files removed. They are generated during gradle sync by Android Studio. 2015-09-28 16:07:38 +02:00
Stefano Pacifici
1f025debd7 Solve problems with colors when tabs are switched 2015-09-28 15:44:23 +02:00
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
2015-09-27 22:19:59 -04:00
Anthony Restaino
3bd08d00f3 Begin adding documentation, remove unnecessary controller method 2015-09-27 18:56:49 -04:00
Anthony Restaino
38d1973a93 Lint fixes, save scroll position in bookmarks list 2015-09-27 15:40:04 -04:00
Anthony Restaino
6bbc0805de Fixed bug where tab and toolbar colors were not in sync when color mode got switched on 2015-09-27 12:45:47 -04:00
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