Commit Graph

327 Commits

Author SHA1 Message Date
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
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