Commit Graph

328 Commits

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