101 Commits

Author SHA1 Message Date
anthony restaino
4b07ac013d Adding documentation for ThemeUtils 2017-05-11 21:05:22 -04:00
anthony restaino
f148283053 Moving bookmarks storage from flat file to database 2017-05-07 19:25:50 -04:00
anthony restaino
086f915e20 Switching from getSimpleName to hardcoded tag 2017-05-06 14:34:44 -04:00
anthony restaino
66b4ea16f4 Making the tab object tag more specific for its use case 2017-05-05 20:37:15 -04:00
anthony restaino
ee078c1495 Fix bug with background tabs opening urls
If a background tab opened a URL that triggered the intent chooser, and
the user chose to open the URL in the browser, the current tab would
open the URL instead of the originating URL. Using the tab’s hashcode,
the original tab now will open the URL.
2017-05-02 22:04:31 -04:00
anthony restaino
0fcf7451cb Removing event buss 2017-04-30 21:00:45 -04:00
anthony restaino
61bb99c3be Injecting application where possible 2017-04-26 22:03:49 -04:00
anthony restaino
38bb96d4f2 Cleaning up potential NPEs and other lint warnings 2017-04-22 18:32:55 -04:00
anthony restaino
0819d35711 Making html page generation reactive 2017-04-09 21:17:21 -04:00
anthony restaino
77a2f61df3 Updating bonsai 2017-03-18 22:20:57 -04:00
Anthony Restaino
a6b755e6c4 Remove snackbar event bus message 2016-10-14 22:44:47 -04:00
Anthony Restaino
8ae8f58cc6 Fixing deprecated API usage and lint warnings 2016-09-19 21:50:36 -04:00
Anthony Restaino
438662bffd Removing some unused code, breaking out strings into constants, improving network receiver 2016-09-12 20:31:10 -04:00
Anthony Restaino
e19d08513b Move from internal observable classes to bonsai, fix threading problems with suggestions 2016-07-11 21:59:26 -04:00
Anthony Restaino
b7f3defd19 Fix bug where AutoCompleteTextView selected text but didn't delete it when typing
Also added in window focus change callback so that we can animate UI in
correctly. Also other small changes
2016-05-25 21:35:38 -04:00
Anthony Restaino
d80e7e2edc Fixed bug with WebView onResume, improved Observable, fixed some other stuff 2016-04-21 20:28:44 -04:00
Anthony Restaino
f6c818fbb5 Fixed bug with state restoration, fixed weird tab closing behavior, added some missing annotations 2016-04-21 09:04:49 -04:00
Anthony Restaino
d59aeef3a9 added some missing nullable annotation additions, switched to compat implementations of some methods, fixed some lint warnings 2016-04-18 14:00:09 -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
ae6726b290 Remove unnecessary imports, make methods static 2016-03-22 21:16:11 -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
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
a1978c73b8 Merge pull request #369 from rishubil/dev
Add increase contrast filter
2016-02-11 21:06:00 -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
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
ac3f43a76f Prevent observers from sending events out of order, add documentation, annotations 2016-02-02 22:06:28 -05:00
Anthony Restaino
de4fdc86e0 Add missing annotations, clean up reactive code, simplify methods 2016-02-01 22:32:12 -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
4eb292f40f Infer nullity 2016-01-27 20:49:27 -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
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
6084c9b478 Make ProxyUtils a proper dagger singleton, inject more member variables where possible 2016-01-21 20:35:00 -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
35855a1c02 Revert change to leak canary version, add todo for bug 2016-01-16 22:49:31 -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
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
7318a818c4 Async loading of homepage, delegate IOThread responsibility to BrowserApp class 2016-01-10 22:34:02 -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
Nesswit
2e55ceba0c Add increase contrast filter 2016-01-05 01:22:35 +09: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
7a0c79d11e Add support to remove identifying headers, add support for DNT header requests 2015-10-30 23:33:35 -04:00