64 Commits

Author SHA1 Message Date
ByteHamster
b8058ad345 Added 'home' button to tab drawer 2015-10-06 19:07:52 +02:00
Anthony Restaino
c67a1108cd Reduce visibility of members and methods where possible, and more (see description)
* reduce visibility
* remove unused methods and members
* Suppress unused warnings we can ignore
* fixed or ignored deprecation warnings
* Changed HistoryItem to have better hashcode and equals implementations
and removed id member from it as it was unnecessary
* Fix performance problem with loading bookmarksettingsfragment and
properly annotate bookmarklocalsync
2015-09-27 22:19:59 -04:00
Anthony Restaino
3bd08d00f3 Begin adding documentation, remove unnecessary controller method 2015-09-27 18:56:49 -04:00
Anthony Restaino
38d1973a93 Lint fixes, save scroll position in bookmarks list 2015-09-27 15:40:04 -04:00
Anthony Restaino
6bbc0805de Fixed bug where tab and toolbar colors were not in sync when color mode got switched on 2015-09-27 12:45:47 -04:00
Anthony Restaino
42471026b3 Fixed bugs in downloading code, Added butterknife, Added back proxying to lite 2015-09-26 17:55:21 -04:00
Anthony Restaino
b3f991e598 Change variables to project naming convention 2015-09-16 21:52:34 -04:00
Anthony Restaino
5c8fd41c6b Made inner classes static to discourage access within of enclosing class 2015-09-15 23:02:49 -04:00
Anthony Restaino
748397f1f0 remove redundant calls to "showTab" 2015-09-14 20:18:24 -04:00
Anthony Restaino
2da5c4194c Fixed static analysis warnings
* Using strings when characters could be used
* Unused imports
* String concatenation in a loop
2015-09-14 20:03:11 -04:00
Anthony Restaino
0b94eda458 Initialize ui color variable 2015-09-12 11:10:51 -04:00
Anthony Restaino
57a25eb9dc Fixed ColorMode on the desktop tab UI by caching the backing Bitmap rather than immutable BitmapDrawable
BitmapDrawable turns out is sort of immutable even when using mutate()
so what was happening was that when switching from a tab on the right to
a tab on the left, the foreground drawable was set as the background of
two views for a small instant as the RecyclerView binds views from left
to right and the setColorFilter on the left foreground tab was not
working at all. When you switched from a left to right tab, it worked
fine because the left tab background was changed before the right and
the foreground drawable was only used by one view in that case. The
solution was to not reuse the drawable but instead reuse the backing
bitmap and create a new drawable whenever a tab moved to the foreground.
2015-09-12 10:36:09 -04:00
Anthony Restaino
3fab58955c Removed need for passing a Context to the ProxyUtils singleton 2015-09-09 22:18:20 -04:00
Anthony Restaino
b33c4caf67 Fixed bug with WebView background being transparent, fixed some deprecated API usage, made HistoryDatabase a true singleton 2015-09-08 20:48:08 -04:00
Anthony Restaino
681a76df50 formatting change in browseractivity 2015-09-07 20:42:33 -04:00
Anthony Restaino
732d309888 Cleaning up lint warnings and making some performance improvements on string builders 2015-09-07 20:31:59 -04:00
Anthony Restaino
b0169e73d2 Use support library DrawerArrowDrawable instead of using our own version 2015-09-07 20:01:12 -04:00
Stefano Pacifici
23e97306dd BookmarkPage restored and proper dependency injection 2015-09-03 15:33:40 +02:00
Stefano Pacifici
47103ba3d0 Activity Transaction animations merged 2015-09-02 15:24:33 +02:00
Anthony Restaino
8061d8726a Add clear button to the search bar instead of go button 2015-08-30 15:23:59 -04:00
Anthony Restaino
1896fa6151 Animations for activity transitions 2015-08-27 22:44:22 -04:00
Stefano Pacifici
3c9cd73bf0 Refactoring: Bookmarks as Fragment
1. Incognito mode in another process
2. Bookmarks as a Fragement using Otto
3. Initial bookmarks as fragment implementation
2015-08-27 16:50:36 +02:00
Anthony Restaino
04c9f75a90 Added option for empty user agent if the user sets an empty string to work around webview limitations 2015-08-25 20:19:38 -04:00
Anthony Restaino
dd18526ddf Fixed some deprecation problems and code analysis warnings 2015-08-23 23:26:21 -04:00
Anthony Restaino
85d92db738 Switched to RecyclerView, cleaned up some HTML generator methods 2015-08-23 19:21:22 -04:00
Anthony Restaino
b68ad65abc Added permission handling and support for API 23 2015-08-23 12:13:06 -04:00
Anthony Restaino
9f2f9d74eb First step toward Android M support, compile with sdk 23, fix errors caused by upgrade
removed copy button from search bar and replaced with go action. Had to
remove browser content provider usage as it is not longer included in
the sdk and has been completely removed.
2015-08-22 09:08:39 -04:00
Anthony Restaino
68f5c4fb45 Better URL validation, thanks AOSP 2015-08-21 21:55:55 -04:00
Anthony Restaino
a08d793320 Added homepage button, altered tab UI slightly, fixed URL validation 2015-08-21 21:33:45 -04:00
Anthony Restaino
f3b0e46801 Fixed many code analysis warnings 2015-08-21 17:55:58 -04:00
Anthony Restaino
c301f3963a Fixed a couple code warnings 2015-08-21 16:05:10 -04:00
Anthony Restaino
f39631bd23 Merge pull request #283 from yuki2006/dev
fix: about scheme
2015-08-20 21:00:53 -04:00
Anthony Restaino
58c9e820ed Initial support for tabs on the top instead of in the navigation drawer
added a setting to switch between modes. Still needs work to be less
buggy
2015-08-20 20:58:33 -04:00
ono
33eb739824 fix: about scheme 2015-08-20 14:23:20 +09:00
Anthony Restaino
7e67770617 Implement javascript close window method in the browser 2015-08-11 19:59:01 -04:00
Anthony Restaino
c4e244a82b Make incognito mode safer, fix crash in search adapter, 2015-08-10 20:57:01 -04:00
Anthony Restaino
5081ee2ea6 Fix RuntimeException on Android M Preview 2015-08-05 22:10:51 -04:00
Anthony Restaino
08eedbe121 Add option to clear Web Storage 2015-08-04 20:08:55 -04:00
Anthony Restaino
b8b610347f fixed full-screen mode when watching a video in full-screen 2015-08-02 11:42:18 -04:00
Anthony Restaino
24a99deb52 Add suggestions to naming a folder in edit bookmark dialog 2015-07-31 21:37:26 -04:00
Anthony Restaino
399037d49b Fixed bug when long pressing bookmarks, removed unused strings 2015-07-29 22:01:01 -04:00
Anthony Restaino
7331345348 More clear and understandable suggestions filtering algorithm 2015-07-29 21:38:23 -04:00
Anthony Restaino
73e8f7c314 long-press on a folder on the bookmarks page works correctly now + other cleanup 2015-07-27 22:50:14 -04:00
Anthony Restaino
aced4a3cc7 Sort bookmarks so folders are at the end of the list, updated bookmarks page to better utilize space 2015-07-26 20:19:47 -04:00
Anthony Restaino
69deb5b5a2 Renaming and Deleting bookmark folders is now available yay 2015-07-26 13:49:45 -04:00
Anthony Restaino
645b98cd50 Simplify and improve long press handling for links on the bookmark page and history page 2015-07-25 22:05:09 -04:00
Anthony Restaino
19103e9b2c Added Bookmark folders, Added actions to the bookmark drawer, + other
Updated icons, removed light/dark versions only have one version now
that uses a color filter to be themed to save space, optimized view
layouts
2015-07-25 10:19:14 -04:00
Anthony Restaino
dce29954e1 Down with Toast, all hail Snackbar 2015-07-19 16:58:34 -04:00
Anthony Restaino
f061a35472 Snackbar >>>>>>> Toast 2015-07-19 16:49:55 -04:00
Anthony Restaino
e35b368d50 Updated ProxyUtils to automatically start TOR when needed, more abstraction of BrowserActivity, other cleanup 2015-07-19 15:36:41 -04:00