Commit Graph

296 Commits

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