Commit Graph

665 Commits

Author SHA1 Message Date
HendrikBoone
cd69b2779f New duckduckgo image 2016-03-05 09:39:00 +01:00
HendrikBoone
aa855a5255 Dutch translations 2016-03-05 09:23:45 +01:00
Anthony Restaino
3833fdb449 Fixing some animation bugs 2016-03-04 23:00:51 -05:00
Anthony Restaino
9c3607aa3d Temporarily revert v4 support until its fixed, add some documentation 2016-03-03 23:16:30 -05:00
Anthony Restaino
3fe2761552 Temporarily revert appcompat dependency until bugs are fixed 2016-03-02 22:00:36 -05:00
Anthony Restaino
8763f35668 Update gradle version, fix crash on kitkat caused by old gradle plugin version 2016-03-02 21:39:53 -05:00
Anthony Restaino
1198aeeb4d fixed index out of bounds bug 2016-03-01 22:10:18 -05:00
Anthony Restaino
6308677438 Smoothly close browser by closing the activity after the drawers are closed, removed bus event 2016-03-01 22:07:55 -05:00
Anthony Restaino
e0ace14029 Fixed bug where rotating device caused webview height to be incorrect 2016-03-01 21:46:39 -05:00
Anthony Restaino
9ea98e13ad Removed layer of overdraw 2016-02-24 19:39:30 -05:00
Anthony Restaino
a6edd3ca29 Update to latest support libs, get rid of pointless hardware layers 2016-02-24 19:33:09 -05:00
Anthony Restaino
8132b34bbf Fixed potential memory leak, moved variables 2016-02-24 19:18:05 -05:00
Anthony Restaino
486078a7d1 Fixed bug where new intents wouldn't open in the browser if it had been killed by the OS 2016-02-24 19:15:01 -05:00
Anthony Restaino
7486ebe3c4 Fixed memory leak, removed useless log statement 2016-02-21 19:22:19 -05:00
Anthony Restaino
b2794b9d11 Animate vertical and horizontal tabs correctly 2016-02-21 16:52:25 -05:00
Anthony Restaino
f98f45225c Fixed bug where searching text in page the arrows did the opposite of what you thought 2016-02-21 15:11:45 -05:00
Anthony Restaino
2c4db0c54b Animate tab addition/deletion in recyclerview, change full screen implementation to be simpler
TODO still need to use correct animations for tab addition and removal
2016-02-21 15:11:20 -05:00
Anthony Restaino
d3ead42f8e fix rotation bug 2016-02-12 21:51:56 -05:00
Anthony Restaino
71a6c93551 Fixed toolbar size bug on rotation 2016-02-12 21:38:16 -05:00
Anthony Restaino
737c02d6e8 Added back/forward icon enable/disabling on tablet devices 2016-02-12 17:36:46 -05:00
Anthony Restaino
f2d2c8ed5f Moved icon in drawer, removed unnecessary view in tab_list_item 2016-02-12 17:32:34 -05:00
Anthony Restaino
0ab302775c Fixed NPE in bookmarks fragment... ugh 2016-02-12 17:31:56 -05:00
Anthony Restaino
fd5c26cc52 Add support for guardian project panic/ripple app 2016-02-12 09:05:39 -05:00
Anthony Restaino
19b6a5bfc5 Fixed bug where tab icon showed in desktop tab mode 2016-02-11 21:41:46 -05:00
Anthony Restaino
45df40f580 Merge pull request #375 from MarkThat/patch-1
Update italian translation
2016-02-11 21:06:48 -05:00
Anthony Restaino
a1978c73b8 Merge pull request #369 from rishubil/dev
Add increase contrast filter
2016-02-11 21:06:00 -05:00
Anthony Restaino
6e76e7d430 fix leaked tab listener 2016-02-10 18:47:13 -05:00
Anthony Restaino
9b34a553ed Just log an error instead of crashing when view state is messed up 2016-02-09 23:06:13 -05:00
Anthony Restaino
c9323cc7fd Temporarily fix bug where tabs created outside the presenter class (in manager) cause the tab number to be mismatched 2016-02-09 21:10:51 -05:00
Anthony Restaino
2bca40901f Change thickness and font of tab number 2016-02-08 21:34:10 -05:00
Anthony Restaino
b81d9a0ed8 Change out arrow drawable for an icon that displays current number of tabs 2016-02-08 21:27:22 -05:00
Anthony Restaino
79d619f82b Support bookmark importing from chrome variants and stock browser, lint fixes 2016-02-07 12:34:04 -05:00
Anthony Restaino
c684472f6e Add new tab button to desktop tabs view 2016-02-06 22:27:08 -05:00
Anthony Restaino
7f4cab1e2e Add accessors to get Chrome dev and beta bookmarks, also fix potential bugs 2016-02-06 22:06:24 -05:00
Anthony Restaino
000ecbdc25 Allow close dialog to be shown when tabs icon is pressed 2016-02-05 22:23:43 -05:00
Anthony Restaino
f1467a9a96 Add ability to close all tabs except current tab 2016-02-05 22:17:15 -05:00
Anthony Restaino
941f54d615 Renamed OnSubscribe/Subscriber, moved anonymous class to static class, added --stacktrace to gradle build to capture build crash 2016-02-05 21:54:45 -05:00
Anthony Restaino
77465c83dd Reactive code for reading activity 2016-02-04 23:59:01 -05:00
Anthony Restaino
d861a9a502 Add support for onStart and onError 2016-02-04 20:35:09 -05:00
Anthony Restaino
c05cc7c9be Fix build problem, make class static and fix some generics problems 2016-02-03 19:58:05 -05:00
Anthony Restaino
ac3f43a76f Prevent observers from sending events out of order, add documentation, annotations 2016-02-02 22:06:28 -05:00
Anthony Restaino
84627b3fae Show the last created tab after initialization 2016-02-01 22:38:40 -05:00
Anthony Restaino
de4fdc86e0 Add missing annotations, clean up reactive code, simplify methods 2016-02-01 22:32:12 -05:00
Anthony Restaino
c4921bbf20 Added missing annotations to react 2016-02-01 22:23:16 -05:00
Anthony Restaino
e2d46bdae2 Fixed StrictMode problems, created a reactive implementation class, fixed potential NPEs, fixed memory leak
* Fixed places where IO was done on main thread
* Created reactive class Observable so that work could easily be done on
other threads
* Fixed potential NPEs in LightningView
* Fixed memory leak where ConnectivityManager was leaking activity
2016-02-01 22:17:44 -05:00
Anthony Restaino
ba3edc00e8 get rid of listener between tab manager and presenter. invert the dependency between them. 2016-01-31 21:01:13 -05:00
Anthony Restaino
965c5f565f mostly move delete tab and new tab and handle new intent to presenter 2016-01-31 20:18:27 -05:00
Anthony Restaino
4a21d3f4f9 Use Executor thread pool instead of creating my own threads on the fly 2016-01-30 22:46:57 -05:00
Anthony Restaino
135cf2e572 Lint fixes, change nullable annotation in preference manager 2016-01-30 22:11:45 -05:00
Anthony Restaino
65c2c9c461 Initial slow move toward MVP pattern 2016-01-29 22:33:01 -05:00
Anthony Restaino
0e211ebf85 Add missing annotation 2016-01-28 21:19:44 -05:00
Anthony Restaino
359a252f24 Null annotations for rest of classes 2016-01-28 21:18:39 -05:00
Anthony Restaino
970ffbaca8 Add null annotations for fragments 2016-01-28 21:16:25 -05:00
Anthony Restaino
b82d304d7f Fix nullable problem in ThemeUtils 2016-01-27 23:45:15 -05:00
Anthony Restaino
17e2640248 Fix null annotations, issues in various classes 2016-01-27 23:42:48 -05:00
Anthony Restaino
9cf0a7e11e Annotate networkreceiver 2016-01-27 23:27:22 -05:00
Anthony Restaino
12c2ada750 Add missing annotation 2016-01-27 23:26:43 -05:00
Anthony Restaino
ff3d94635a Fix null issues with bitmap 2016-01-27 23:25:34 -05:00
Anthony Restaino
8f38b91dc1 Non null annotations in LightningWebClient/ChromeClient 2016-01-27 23:18:21 -05:00
Anthony Restaino
4eb292f40f Infer nullity 2016-01-27 20:49:27 -05:00
Anthony Restaino
dcd042b9d5 Annotate method parameters, lint fixes 2016-01-26 20:32:35 -05:00
Anthony Restaino
04e0d5650f Add missing method documentation 2016-01-25 20:46:45 -05:00
Mark
b93413f9a3 Update
Translated two new strings
2016-01-25 21:01:56 +01:00
Anthony Restaino
416dc4594d add ability to add shortcuts to the homescreen, more work still needed 2016-01-24 17:39:09 -05:00
Anthony Restaino
c19dbe09bb Cleanup unused methods 2016-01-24 17:00:46 -05:00
Anthony Restaino
425392456c Documentation, cleanup of TabsManager 2016-01-24 15:32:16 -05:00
Anthony Restaino
29836bd98a Save tab back/forward state, not just current site when saving/restoring state 2016-01-24 11:02:56 -05:00
Anthony Restaino
f73f82030f Use Application object instead of explicit Context 2016-01-24 00:20:31 -05:00
Anthony Restaino
600034b6fa Remove unused imports 2016-01-24 00:14:14 -05:00
Anthony Restaino
ac107d6704 Variable renaming, moving fields around, more injection, move ProxyUtils out of flavor specific code 2016-01-23 19:55:11 -05:00
Anthony Restaino
cb52aa0065 Inject Bus, HistoryDatabase, and PreferenceManager rather than using BrowserApp to access instances 2016-01-23 19:36:05 -05:00
Anthony Restaino
db52a94d8c Remove static context getter from BrowserApp 2016-01-23 12:54:57 -05:00
Anthony Restaino
076b74e867 Add missing changes for history page changes 2016-01-23 12:53:39 -05:00
Anthony Restaino
f6b60894f6 Make HistoryPage an AsyncTask to be easier to use 2016-01-23 12:53:19 -05:00
Anthony Restaino
24385c4334 Make StartPage an AsyncTask, makes it simpler to use 2016-01-23 12:39:21 -05:00
Anthony Restaino
22960c9bd6 Make BookmarkPage an AsyncTask to simplify its use, change recursion to iteration in DownloadHandler 2016-01-23 12:27:58 -05:00
Anthony Restaino
930880b339 Remove more uses of the static context from BrowserApp 2016-01-22 23:27:26 -05:00
Anthony Restaino
a434c0af68 Utilize IconCacheTask, add Application.get because maybe storing the application context is bad???? 2016-01-22 23:00:32 -05:00
Anthony Restaino
c95f1f86e9 No need to inject BookmarkPage, make it a utility class for right now 2016-01-22 22:39:47 -05:00
Anthony Restaino
68a4475ec7 Fixed Lite build error 2016-01-22 08:19:45 -05:00
Anthony Restaino
da4985d4de Fixed crash when opening browser from intent 2016-01-22 08:19:33 -05:00
Anthony Restaino
8b44ce12fa Dependency injection for ReadingActivity 2016-01-21 20:42:19 -05:00
Anthony Restaino
6084c9b478 Make ProxyUtils a proper dagger singleton, inject more member variables where possible 2016-01-21 20:35:00 -05:00
Anthony Restaino
a24eb45ae4 Properly use AppComponent to only inject classes into dagger, inject static dependencies into BrowserApp class 2016-01-21 20:16:01 -05:00
Anthony Restaino
a60ae614d9 Protect incognito activity from intents, clean up some code analysis warnings, simplify LightningView settings methods 2016-01-20 22:02:15 -05:00
Anthony Restaino
46b1269730 Correctly remove WebView from layout before destroying it. throw exception if destroy is called without remove 2016-01-19 21:48:20 -05:00
Anthony Restaino
ee52e00c83 Fixed memory leak caused by incorrectly destroying the WebView before it was removed from its parent 2016-01-18 21:39:09 -05:00
Anthony Restaino
5368d76218 Documentation for Utils class 2016-01-17 23:45:12 -05:00
Anthony Restaino
35855a1c02 Revert change to leak canary version, add todo for bug 2016-01-16 22:49:31 -05:00
Anthony Restaino
c1083f6aab Fix lint issues with color ints 2016-01-16 22:39:26 -05:00
Anthony Restaino
3d745cbe6e Update to stable leak canary release 2016-01-16 22:39:10 -05:00
Anthony Restaino
0185b5c1ba Documentation for LightningViewTitle. 2016-01-15 21:49:12 -05:00
Anthony Restaino
25ff01ed79 Comment formatting 2016-01-15 21:43:55 -05:00
Anthony Restaino
6aaee4ce48 Finish LightningView documentation, add nullable/nonnull annotations to some methods 2016-01-15 21:41:48 -05:00
Anthony Restaino
ae15c9c816 start documentation in LightningView, remove direct field access and replace with getters 2016-01-14 21:16:36 -05:00
Anthony Restaino
290e77e696 added content URIs for Chrome dev and beta and debug methods 2016-01-11 22:50:00 -05:00
Anthony Restaino
edbd95418c Potential javascript to extract theme meta tag (currently no-op) 2016-01-11 22:49:33 -05:00
Anthony Restaino
27e01483b1 Update gradle dependencies, fix a number of lint errors
Note: resource closed inspections that were ignored were ignored because
they were being properly closed in finally{} blocks
2016-01-11 22:26:32 -05:00
Anthony Restaino
9b56d92922 Fixed broken gradle build 2016-01-11 19:34:21 -05:00
Anthony Restaino
7318a818c4 Async loading of homepage, delegate IOThread responsibility to BrowserApp class 2016-01-10 22:34:02 -05:00
Anthony Restaino
e06d530528 Run UI operations on correct thread 2016-01-10 19:31:36 -05:00
Anthony Restaino
057b4296d7 Mirror AppComponent getters in BrowserApp so that classes are less reliant on AppComponent, refactored getAppContext to getContext 2016-01-10 15:05:23 -05:00
Anthony Restaino
f00bb77851 Start using a single thread executor for any database access to eliminate unnecessary thread creation 2016-01-10 14:45:03 -05:00
Anthony Restaino
cb19ce2d0a Fixed memory leak in IncognitoActivity 2016-01-10 14:02:13 -05:00
Anthony Restaino
8d390e1d6d Update gradle to use LeakCanary snapshot so that leak detection works on marshmallow 2016-01-10 13:55:19 -05:00
Nesswit
2e55ceba0c Add increase contrast filter 2016-01-05 01:22:35 +09:00
Anthony Restaino
95dddf1992 Merge pull request #351 from M2ck/patch-1
updated french translation
2015-12-13 12:14:43 -05:00
Anthony Restaino
f56631708e Merge pull request #350 from takahirom/master
Add japanese translation.
2015-12-13 12:14:29 -05:00
M2ck
5e4ec63c32 french translation up to date 2015-12-05 15:55:33 +01:00
M2ck
c3ec66d3a2 [WIP] updated french translation 2015-12-04 22:54:05 +01:00
takahirom
f48b71b390 Add japanese translation 2015-12-01 00:31:23 +09:00
takahirom
39683c704e Add japanese translation 2015-12-01 00:24:16 +09:00
Anthony Restaino
0a4d81f7e2 perform exit cleanup when browser is closed regardless of whether last tab is deleted or not 2015-11-22 22:17:36 -05:00
Anthony Restaino
de2d0b2ca4 Fixed close tab behavior, fixed UI corner case bug 2015-11-22 22:06:15 -05:00
Anthony Restaino
8da11b4f08 Merge pull request #326 from cliqz-oss/dev
Tab deletion logic moved to TabsManager
2015-11-22 21:55:58 -05:00
Anthony Restaino
2a4b636a53 Fix bug with navigation drawer, update gradle dependencies 2015-11-21 18:21:58 -05:00
Anthony Restaino
c5328c4e3d Merge branch 'dev' of https://github.com/anthonycr/Lightning-Browser into dev 2015-11-21 17:44:52 -05:00
Anthony Restaino
4f67fd8e94 Catch non 2xx responses and don't try to open an input stream 2015-11-21 17:44:45 -05:00
Anthony Restaino
9731250d27 Merge pull request #340 from MarkThat/patch-1
Translation of new and old strings.
2015-11-21 17:16:57 -05:00
Anthony Restaino
7354e354db Move language initialization to constructor 2015-11-21 11:48:03 -05:00
Anthony Restaino
171715f40c Update to search suggestions API that supports HTTPS 2015-11-21 11:03:10 -05:00
Mark
6ea15553de Translation of new and old strings. 2015-11-18 23:45:04 +01:00
Anthony Restaino
8b82ac5e51 Update hosts file with latest version from hosts-file.net 2015-11-05 21:58:37 -05:00
Anthony Restaino
47341ce927 Reformatted manifest file 2015-11-05 21:53:51 -05:00
Anthony Restaino
c83a7d0058 Merge pull request #322 from pejakm/cccons
Add clear_cookies string to fix context inconsistencies
2015-11-05 21:49:17 -05:00
Anthony Restaino
734574616d Make the workaround more obvious 2015-11-05 21:47:14 -05:00
Anthony Restaino
cb98ee783b Workaround for bug in the appcompat support library 2015-11-05 21:18:28 -05:00
Mladen Pejaković
3a95aea82f Fix merge conflict 2015-11-05 08:21:18 +01:00
Anthony Restaino
79b8253b21 Merge branch 'dev' of https://github.com/anthonycr/Lightning-Browser into dev 2015-11-04 23:33:56 -05:00
Anthony Restaino
1eeddaf502 Fix crash that could occur pre API 16 2015-11-04 23:33:45 -05:00
Stefano Pacifici
6f914e9e17 Better handling of bookmarks, some responsability moved back to BrowserActivity 2015-11-04 14:21:44 +01:00
Miłosz Sieradzki
fd7cc30470 Fix checks to allow both HTTP and HTTPS URLs 2015-11-03 22:28:54 +01:00
Miłosz Sieradzki
5059a3d01b Fix methods from SHelper
Both Google and Facebook force HTTPS-only traffic for years.
2015-11-03 22:28:07 +01:00
Miłosz Sieradzki
bfc6c3dadc Migrate all trafic to Google services to HTTPS 2015-11-03 22:21:19 +01:00
Ravjit Singh Uppal
cc75ba1bc7 Changed the scope of removeTab to private 2015-11-03 15:45:44 +01:00
Ravjit Singh Uppal
006eb5e191 moved the deleting logic to TabsManager 2015-11-03 15:37:56 +01:00
Anthony Restaino
9a9a06fe7b Add support for multiple languages in search suggestions 2015-11-01 17:25:40 -05:00
Anthony Restaino
23dc83fb6a Fixed bug where you could add generated html pages as bookmarks 2015-11-01 16:00:28 -05:00
Anthony Restaino
d66f5e4c17 Remove headers in case the setting is disabled after being enabled 2015-10-30 23:43:25 -04:00
Anthony Restaino
6df7cdf331 Corrected variable names. 2015-10-30 23:38:14 -04:00
Anthony Restaino
7a0c79d11e Add support to remove identifying headers, add support for DNT header requests 2015-10-30 23:33:35 -04:00
Anthony Restaino
4e3193bfc8 Fix bug where you couldn't turn flash on on supported devices 2015-10-30 20:43:15 -04:00
Anthony Restaino
5dfc948fd3 Fix issue where warning dialog was not shown for local files in some cases 2015-10-30 20:14:01 -04:00
Anthony Restaino
80ac1928c1 Fixed bug where the homepage file url was showing 2015-10-29 23:35:58 -04:00
Anthony Restaino
441b189fad Merge pull request #321 from pejakm/srupd
Update Serbian
2015-10-29 19:07:05 -04:00
Anthony Restaino
dc188c54e3 Merge pull request #319 from ByteHamster/dev
Workaround for #270
2015-10-29 19:05:44 -04:00
Mladen Pejaković
3597f7f812 Add clear_cookies string to fix context inconsistencies 2015-10-26 20:18:28 +01:00
Mladen Pejaković
2abf75b669 Update Serbian 2015-10-26 19:59:41 +01:00
Anthony Restaino
f2aa6d6e5c Properly destroy WebView 2015-10-24 14:32:39 -04:00
ByteHamster
32d36f3687 Disabled scaling on bookmarks page 2015-10-22 22:15:10 +02:00
ByteHamster
8169294c80 Workaround for #270
In my opinion, it is neccessary for a browser to open local files.
Because local files might be a security risk,
ask the user before opening a local file.
2015-10-22 22:11:34 +02:00
Anthony Restaino
7aaf6d1771 Fixed memory leak 2015-10-21 22:45:20 -04:00
Anthony Restaino
34312bb988 Switch to grant library for permissions handling 2015-10-21 21:42:22 -04:00
Anthony Restaino
94b69fd328 Update to latest support libraries, move permissions stuff to separate package 2015-10-18 15:15:36 -04:00
Anthony Restaino
c0ce7e74bd Tryin 2 fix travis ci. local builds aren't failing with lint errors :( 2015-10-17 23:05:33 -04:00
Anthony Restaino
13c6594e0c Removed redundant character escapes to fix lint errors. 2015-10-17 22:12:07 -04:00
Anthony Restaino
bf4c90b121 Fixed bugs in showTab, attempt to improve full-screen video handling. 2015-10-17 21:50:52 -04:00
Anthony Restaino
9f755aeed7 Fixed bug where opening a URL in the browser wouldn't work, refactored the ui controller, fixed bad database practices. 2015-10-17 13:59:51 -04:00
Anthony Restaino
e707e338ef Fixed new bug where browser wouldn't close on new intent. Fixed potential vuln in downloading code. Formatted some code. 2015-10-15 23:23:04 -04:00
Anthony Restaino
7bba86d963 Fixed recently introduced UI bug in desktop tab mode. 2015-10-15 22:45:56 -04:00
Anthony Restaino
577efb76a4 Fixed security vulnerability in the intent selector 2015-10-15 22:11:24 -04:00
Anthony Restaino
1c96b62eb6 Add back SSL error detection that was removed, fixed static analysis warnings. 2015-10-15 21:45:54 -04:00
Anthony Restaino
72ee377a35 Fixed more bugs recently introduced. Hardened asynctasks against memory leaks. Fixed some other stuff 2015-10-15 20:24:04 -04:00
Anthony Restaino
88549bf156 Fixed number of UI bugs recently introduced in Tabs changes merge from S. Pacifici 2015-10-14 23:58:47 -04:00
Anthony Restaino
ce0e02585c Document the PermissionsManager 2015-10-14 23:23:04 -04:00
Anthony Restaino
99e4773e45 Preliminary fix for permissions, fixed a new crash, formatted some code 2015-10-14 22:55:39 -04:00
Anthony Restaino
159053841a Add dex counter, fixed new bugs in bookmarks, fixed bug in bookmark sync, todo fix downloading bug 2015-10-14 21:21:51 -04:00
Stefano Pacifici
367f2a09d7 Merge branch 'dev' of github.com:anthonycr/Lightning-Browser into experimental_tabs 2015-10-09 14:55:27 +02:00
Stefano Pacifici
a3f3fbd401 Improving the #296 pull request 2015-10-09 12:36:08 +02:00
Anthony Restaino
d7017789f6 Merge branch 'dev' of https://github.com/anthonycr/Lightning-Browser into dev 2015-10-07 22:07:29 -04:00
Anthony Restaino
3c51870486 Removed commented out line that was being compiled...
seriously, every time I compiled the free version this line got compiled
as if it wasn't commented out. Regardless, it doesn't need to be there.
2015-10-07 22:07:22 -04:00
ByteHamster
741d389da4 Updated German translation 2015-10-06 19:25:49 +02:00
ByteHamster
b8058ad345 Added 'home' button to tab drawer 2015-10-06 19:07:52 +02:00
Stefano Pacifici
ab7273106f Merge branch 'dev' of github.com:anthonycr/Lightning-Browser into experimental_tabs 2015-10-05 17:56:12 +02:00
Anthony Restaino
36860cc848 Merge pull request #303 from MarkThat/dev
Translated from scratch
2015-10-03 15:51:09 -04:00
Mark.
aacec74aba Translated from scratch
Some errors should be fixed now, i also added some strings which i did not translate before.
2015-10-02 22:35:24 +02:00
Miłosz Sieradzki
8cb4b455cf Update Polish translations 2015-10-02 22:03:22 +02:00
Anthony Restaino
c352c331ad last changes for 4.2 update 2015-09-30 22:27:12 -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
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
Anthony Restaino
71fcd174d7 fixed bug in search adapter 2015-07-29 22:46:59 -04:00
Anthony Restaino
399037d49b Fixed bug when long pressing bookmarks, removed unused strings 2015-07-29 22:01:01 -04:00
Anthony Restaino
240c9a5a37 Merge remote-tracking branch 'origin/master' into dev
Conflicts:
	app/src/main/res/values-fr/strings.xml
2015-07-29 21:44:33 -04:00
Anthony Restaino
7331345348 More clear and understandable suggestions filtering algorithm 2015-07-29 21:38:23 -04:00
Anthony Restaino
73e8f7c314 long-press on a folder on the bookmarks page works correctly now + other cleanup 2015-07-27 22:50:14 -04:00
Anthony Restaino
aced4a3cc7 Sort bookmarks so folders are at the end of the list, updated bookmarks page to better utilize space 2015-07-26 20:19:47 -04:00
Anthony Restaino
69deb5b5a2 Renaming and Deleting bookmark folders is now available yay 2015-07-26 13:49:45 -04:00
David Guillot
3a76439a65 Fixed forgotten escaping 2015-07-26 14:41:47 +02:00
David Guillot
fa7b04adee Fixed typo
Thanks @kuc
2015-07-26 14:36:32 +02:00
David Guillot
a708050c5b French translations, first batch 2015-07-26 13:11:40 +02:00
Anthony Restaino
645b98cd50 Simplify and improve long press handling for links on the bookmark page and history page 2015-07-25 22:05:09 -04:00
Anthony Restaino
19103e9b2c Added Bookmark folders, Added actions to the bookmark drawer, + other
Updated icons, removed light/dark versions only have one version now
that uses a color filter to be themed to save space, optimized view
layouts
2015-07-25 10:19:14 -04:00
Anthony Restaino
dce29954e1 Down with Toast, all hail Snackbar 2015-07-19 16:58:34 -04:00
Anthony Restaino
f061a35472 Snackbar >>>>>>> Toast 2015-07-19 16:49:55 -04:00
Anthony Restaino
800d037035 Removed use of tabs and replaced with 4 spaces 2015-07-19 15:42:14 -04:00
Anthony Restaino
e35b368d50 Updated ProxyUtils to automatically start TOR when needed, more abstraction of BrowserActivity, other cleanup 2015-07-19 15:36:41 -04:00
Anthony Restaino
aa21657875 Fixed errors with ProxyUtils 2015-07-18 17:59:43 -04:00
Anthony Restaino
6c9d23488b Merge remote-tracking branch 'origin/master' into dev
Conflicts:
	app/src/main/res/values-pt/strings.xml
2015-07-18 16:43:42 -04:00
Anthony Restaino
41cb2c4d27 Convert BrowserActivity to an abstract class, remove unused resources 2015-07-18 16:38:57 -04:00
Anthony Restaino
969cab81e7 New Full-screen mode works better and doesn't hide the top of the WebView, +other
* Now using material alertdialog on all versions
* cleaned up some code
* fixed lint issues and other inspection related problems
* Attempted to fix bugs found
2015-07-18 14:30:41 -04:00
Anthony Restaino
67b506c5f8 Merge pull request #254 from smarquespt/master
Portuguese update
2015-07-17 22:18:09 -04:00
chirs1985
5950c66567 1. Use the " \ " character to escape the " ' " character
2. lose the </string-arrary>
2015-07-06 11:06:39 +08:00
DF1E
56c9934145 remove LicenseActivity intent 2015-06-16 15:13:27 +02:00
DF1E
1d5b904c64 create PreferenceCategory for licenses 2015-06-15 18:39:24 +02:00
DF1E
7d9f382333 Toolbar fix 2015-06-14 12:13:35 +02:00
DF1E
c60b4389a0 small fix
this info dialog is not necessary because the flash CheckBox isn't
enabled if API>19
2015-06-13 19:37:07 +02:00
DF1E
6b80df1d27 clean manifest 2015-06-12 17:10:46 +02:00
DF1E
b60f555553 new Settings 3/3
now we have to bring the ToolBar back and fix some bugs...
And testing!
2015-06-12 17:10:23 +02:00
DF1E
2127863465 new Settings 2/3 2015-06-12 14:00:36 +02:00
DF1E
d47a86d9b5 new Settings 1/3 2015-06-12 13:14:29 +02:00
DF1E
a03444f4d0 rebase test for main settings screen 2015-06-11 18:48:24 +02:00
Sérgio Marques
86b8eaee12 Portuguese update 2015-06-09 10:21:35 +01:00
Anthony Restaino
d8b8d2c047 Moved proxy code to utility class, remove proxy from lite version to reduce apk size 2015-06-05 00:03:02 -04:00
Anthony Restaino
9dc9634299 Fixed bug 2015-06-03 11:00:54 -04:00
Anthony Restaino
e13e2dd006 Fix error in strings 2015-06-03 10:58:54 -04:00
Anthony Restaino
4c7bb196dd Merge remote-tracking branch 'origin/master' into dev 2015-06-03 10:55:53 -04:00
Anthony Restaino
a2f2fbc82b Merge pull request #249 from str4d/i2p-android
Support I2P (and other proxies in future)
2015-06-03 10:54:11 -04:00
Anthony Restaino
80d765b61c Merge remote-tracking branch 'origin/master' into dev 2015-06-03 10:52:34 -04:00
Anthony Restaino
b478c1ea98 Code cleanup 2015-06-03 10:50:51 -04:00
str4d
2eec8be4ce Add manual proxy picker 2015-06-03 06:50:32 +00:00
Mark.
0c10efec00 Corrections.
Removed few strings which i added for error. Can these changes be merged without gradle?  I don't understand how to use it hehe.
Cheers!
2015-05-30 11:39:41 +02:00
Mark.
2cbe2e80e7 Update strings.xml 2015-05-29 15:36:05 +02:00
Mark.
e7029a7b64 Update.
I found some errors and fixed them and added the new translations.
2015-05-29 15:34:19 +02:00
str4d
810483ec74 Use constants for proxy choices, part 2 2015-05-26 12:52:11 +00:00
str4d
a0b2197d8f Use constants for proxy choices 2015-05-26 10:52:58 +00:00
str4d
a5a20eebbd Notify user if proxy is not ready when they try to load a URL 2015-05-26 10:36:02 +00:00
str4d
6e8da9f6d3 Fix for I2PAndroidHelper.isI2PAndroidRunning() always returning false
Requires v0.7 of the I2P client library, which will be released once I2P 0.9.20
is released.
2015-05-26 03:25:47 +00:00
Anthony Restaino
e9203f20b3 Utilize gradle product flavors to produce free and plus versions 2015-05-25 12:55:35 -04:00
Anthony Restaino
4a38511218 Merge remote-tracking branch 'origin/master' into dev 2015-05-25 11:53:21 -04:00
Anthony Restaino
3517435956 Merge pull request #247 from Roboe/l10n-es
Updated Spanish (es) localization
2015-05-25 11:51:08 -04:00
Anthony Restaino
8bb38d1a90 Merge pull request #238 from ageback/master
Complete S.Chinese.
2015-05-25 11:45:18 -04:00
str4d
111d594c6b Use I2P if configured 2015-05-25 12:09:36 +00:00
str4d
6c2a557135 Change Orbot checkbox to an HTTP proxy choice list (None, Orbot, I2P) 2015-05-24 13:20:08 +00:00
str4d
46fbc56604 Add I2P client library to dependencies 2015-05-24 13:19:02 +00:00
Roboe
0beec60b7f [Spanish l10n] Fixed duplicated string 2015-05-24 00:19:40 +02:00
Roboe
1de67105d9 [Spanish l10n] Added new strings 2015-05-23 17:37:45 +02:00
Roberto M.F.
eacadcebba [Spanish l10n] Fixed some strings and updated untranslated ones 2015-05-22 18:09:49 +02:00
Anthony Restaino
9f8dff8c5d Added an AMOLED Black theme, changed from tabs to spaces for some files 2015-05-13 10:35:32 -04:00
Anthony Restaino
b400ef0647 Merge pull request #237 from smarquespt/master
Portuguese update
2015-05-13 09:09:55 -04:00
Michael Lu
025714bd97 Complete S.Chinese. 2015-05-13 15:26:03 +08:00
Sérgio Marques
5e131a0a6c Portuguese update 2015-05-12 16:34:22 +01:00