65 Commits

Author SHA1 Message Date
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
4649d4b0b4 Inferring nullity 2017-04-29 17:19:55 -04:00
anthony restaino
54026bf6cc Cleaning up unused code 2017-04-28 22:24:21 -04:00
anthony restaino
7fa3315662 Localizing log tags 2017-04-26 22:50:15 -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
bed8163399 Moving to asynchronous consumption of the HistoryDatabase 2017-04-09 15:29:37 -04:00
anthony restaino
1f1d1e7f32 Fixing crash on restore caused by bonsai upgrade 2017-03-26 20:08:36 -04:00
anthony restaino
77a2f61df3 Updating bonsai 2017-03-18 22:20:57 -04:00
Anthony Restaino
928b12619a Fixed bug where links wouldn't open correctly in the browser 2016-11-03 22:55:06 -04:00
Anthony Restaino
9aed39c49c Fix bug where certain apps wouldn't be considered to handle intents, cleaned up imports 2016-10-27 22:25:19 -04:00
Anthony Restaino
4d8130db43 Don't save a tab if the url is empty (e.g. a tab that was opened to trigger a download) 2016-09-12 21:29:55 -04:00
Anthony Restaino
2f57685610 Correctly size dialogs across the app 2016-08-30 21:11:28 -04:00
Anthony Restaino
6387d98d5d Augmented dialogs, added options to dialogs, improved dialog UI 2016-08-28 15:02:12 -04:00
Anthony Restaino
6e108dbbff Fixed bugs with opening file:// urls in the browser via intent 2016-07-31 18:19:23 -04:00
Anthony Restaino
256b003c5d Fixed bug with recyclerview 2016-07-30 20:11:27 -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
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
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
3833fdb449 Fixing some animation bugs 2016-03-04 23:00:51 -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
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
fd5c26cc52 Add support for guardian project panic/ripple app 2016-02-12 09:05:39 -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
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
65c2c9c461 Initial slow move toward MVP pattern 2016-01-29 22:33:01 -05:00
Anthony Restaino
4eb292f40f Infer nullity 2016-01-27 20:49:27 -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
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
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
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
Ravjit Singh Uppal
cc75ba1bc7 Changed the scope of removeTab to private 2015-11-03 15:45:44 +01:00
Ravjit Singh Uppal
006eb5e191 moved the deleting logic to TabsManager 2015-11-03 15:37:56 +01:00