149 Commits

Author SHA1 Message Date
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
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
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
97a64401e8 Fixed layout bug, fixed bug slowing down recyclerview animations 2016-03-06 14:34:01 -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
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
a6edd3ca29 Update to latest support libs, get rid of pointless hardware layers 2016-02-24 19:33:09 -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
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
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
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
c684472f6e Add new tab button to desktop tabs view 2016-02-06 22:27:08 -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
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
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
416dc4594d add ability to add shortcuts to the homescreen, more work still needed 2016-01-24 17:39:09 -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
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
f6b60894f6 Make HistoryPage an AsyncTask to be easier to use 2016-01-23 12:53:19 -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
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
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
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