Commit Graph

494 Commits

Author SHA1 Message Date
Anthony Restaino
984aa133ec Fixed null pointer exception, fixed threading bug on ICS, upgraded leak canary version 2016-04-04 21:59:35 -04:00
Anthony Restaino
008e61b5a8 Bugfix bump... hopefully last one before merge to master and full release 2016-03-28 20:12:25 -04:00
Anthony Restaino
6d47d7232f Fixed null pointer exception 2016-03-28 19:59:42 -04:00
Anthony Restaino
e9d01dc104 Revert to previous support library version until they fix the menu bug 2016-03-28 19:54:45 -04:00
Anthony Restaino
a7748ceee2 Added FAQ to settings 2016-03-24 23:02:25 -04:00
Anthony Restaino
6e940b0a15 Only Kitkat and up supports changing headers, disable on lower API versions 2016-03-24 21:41:31 -04:00
Anthony Restaino
cabea7e097 Fixed bug where bookmarks as homepage changes what bookmarks are shown in bookmark drawer 2016-03-24 21:06:04 -04:00
Anthony Restaino
4d400f995f bugfix bump 2016-03-23 22:05:44 -04:00
Anthony Restaino
bd98619d4f Fixed bug where keyboard would cover text input on the webview 2016-03-23 21:53:05 -04:00
Anthony Restaino
40cda1317a Don't enable useless autocomplete box to popup on the embedded search form 2016-03-23 21:51:32 -04:00
Anthony Restaino
e26330a5bd Fixed threading bug in bookmark setting fragment, changed default bookmark title 2016-03-23 20:20:40 -04:00
Anthony Restaino
dbc186db9b Fixed bugs related restore tabs option
- fixed tab being blank if option was off
- fixed bug where bookmarks would show sub folder if browser was closed
in that folder if option was on
2016-03-23 20:10:42 -04:00
Anthony Restaino
d7faeaa2fc Update version code in prep for release, enable color mode by default 2016-03-22 23:39:06 -04:00
Anthony Restaino
ae6726b290 Remove unnecessary imports, make methods static 2016-03-22 21:16:11 -04:00
Anthony Restaino
f05312e915 Fixed bug where fragments wouldn't update their preferences if they changed 2016-03-22 21:12:17 -04:00
Anthony Restaino
58d8cb6a36 Fixed null pointer exception by properly replacing the fragment 2016-03-21 22:10:16 -04:00
Anthony Restaino
57d5298bec Fix bug where certain devices had different toolbar heights 2016-03-20 16:44:45 -04:00
Anthony Restaino
bd8c439161 Fixed bug where multiple processes caused incognito to nor respond to preference changes.
Possibly in the future I should explore gong back to multiprocess for
incognito mode but right now it causes bugs. Also tweaked UI color in
color mode
2016-03-20 13:07:50 -04:00
Anthony Restaino
f90ab177d5 Color the search bar appropriately for the various theme/color mode, fixed bug when restarting activity 2016-03-19 13:16:53 -04:00
Anthony Restaino
1685a13df3 Fixed some bugs with restoring/initializing tabs when new intents were received and browser was killed by background 2016-03-18 00:00:30 -04:00
Anthony Restaino
87ae1eb8fe Fixed bug where changing theme resulted in default tab icons being incorrectly themed 2016-03-16 21:20:26 -04:00
Anthony Restaino
8f230e3550 Fixed bug when switching between hiding status bar on/off 2016-03-16 20:57:12 -04:00
Anthony Restaino
3e8f3b2702 Fixed layout bug in full screen mode 2016-03-14 23:31:53 -04:00
Anthony Restaino
8bcb3668c0 updated hosts file 2016-03-13 18:16:23 -04:00
Anthony Restaino
b8b2bd090f Fixed crashes 2016-03-13 18:13:19 -04:00
Anthony Restaino
14f08a8fef Update to latest support library, improve drawer closing experience 2016-03-10 22:23:32 -05:00
Anthony Restaino
d3ac7187bb Roll back support library until fragment backgrounds are fixed 2016-03-09 22:54:48 -05:00
Anthony Restaino
2f8feead71 Fixed another IO not closed resource leak 2016-03-09 22:53:48 -05:00
Anthony Restaino
ee6314f521 Fixed bug with fragment background 2016-03-09 22:53:11 -05:00
Anthony Restaino
caa0de84ce Fixed leaked io connection 2016-03-09 22:46:00 -05:00
Anthony Restaino
97a64401e8 Fixed layout bug, fixed bug slowing down recyclerview animations 2016-03-06 14:34:01 -05: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