Stefano Pacifici
b0c1bcc028
iml files removed. They are generated during gradle sync by Android Studio.
2015-09-28 16:07:38 +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
e157d45d39
Use executorservice instead of plain executor to facilitate shutdown
2015-09-27 11:58:58 -04:00
Anthony Restaino
7cec3bd6e4
Add back importing from stock browser and an attempt to add import from chrome
...
import from the default built in browser, stock browser ususally, but
chrome on marshmallow and above.
2015-09-27 11:58:37 -04:00
Anthony Restaino
a71a8c3493
Better asynchronous image loading for BookmarksFragment
...
Previous AsyncTask would throw a RejectedExecutionException if too many
AsyncTasks got spawned on the thread pool executor. The solution was to
create a custom Executor that properly executed the task and queue it if
necessary. Also switched to using weakreference for the view and set
timeouts on image loading so it can load faster.
2015-09-27 11:51:18 -04:00
Anthony Restaino
f1da3c4147
Updated download handler
2015-09-26 17:56:52 -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
6f36410e87
Added support for downloading files to directories not lying in the directory returned by getExternalStorage
...
Useful for devices with both internal and external storage
2015-09-20 18:21:49 -04:00
Anthony Restaino
b3f991e598
Change variables to project naming convention
2015-09-16 21:52:34 -04:00
Anthony Restaino
4f839e0866
Remove unused resources, make methods static
2015-09-16 21:52:11 -04:00
Anthony Restaino
05efb4eb72
Fixed bugs in the BookmarksFragment and BookmarkManager
2015-09-16 21:51:15 -04:00
Anthony Restaino
7f965b0829
Properly close I/O streams that were not being properly closed
2015-09-15 23:03:17 -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
b6b2a25dbe
Reduce unnecessary public visibility on internally used variables
2015-09-15 23:01:55 -04:00
Anthony Restaino
9a2ed38440
Equalized padding on autocomplete layout
2015-09-15 23:00:34 -04:00
Anthony Restaino
748397f1f0
remove redundant calls to "showTab"
2015-09-14 20:18:24 -04:00
Anthony Restaino
c65cccb25c
Remove unnecessary ClickListener classes
2015-09-14 20:03:35 -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
8a6ad81027
Extract anonymous caching class to its own inner class
2015-09-14 19:58:46 -04:00
Anthony Restaino
919043cad9
Fixed bug in release builds where event bus events were not being fired
2015-09-13 13:16:23 -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
965ccee8b7
Update to faster jsoup library version
2015-09-11 22:14:26 -04:00
Anthony Restaino
5fd401c2c0
Use thread pool executors on AsyncTasks to increase performance
2015-09-11 20:28:01 -04:00
Anthony Restaino
161f4100b3
Cache icons on a background thread
2015-09-11 20:27:30 -04:00
Anthony Restaino
875cd45c7b
Updated to latest Google logo
2015-09-11 20:26:07 -04:00
Anthony Restaino
0ac2337ff8
Refactored ProxyUtils for lite version
2015-09-10 08:04:40 -04:00
Anthony Restaino
838270b4b0
Fix broken icon downloading, handle edge cases where url parameter is bad
2015-09-09 23:40:54 -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
dbf0457d79
Don't clear the HashMap, instead just change the reference
2015-09-09 21:32:05 -04:00
Anthony Restaino
5dff2db5df
Add LeakCanary library, fix a few memory leaks
2015-09-08 22:24:15 -04:00
Anthony Restaino
d5102b5e54
Fixed a number of lint warnings
2015-09-08 21:10:34 -04:00
Anthony Restaino
7f07edcdf7
Fixed compile bug in LightningLite
2015-09-08 20:50:17 -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
e00c82655a
Remove pointless assertions: @ NonNull removes need for assertions
2015-09-07 20:34:06 -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
3b75765d92
Add a transition when entering and exiting the Reading mode
2015-09-07 20:01:14 -04:00
Anthony Restaino
b0169e73d2
Use support library DrawerArrowDrawable instead of using our own version
2015-09-07 20:01:12 -04:00
Anthony Restaino
71d6da0eee
Lint fixes, remove use of assert from code, update to latest support library
2015-09-07 20:01:11 -04:00
Anthony Restaino
1b0b256ce8
Update README.md
2015-09-07 19:56:33 -04:00
Anthony Restaino
dcc67fbdb6
Merge pull request #284 from stefano-cliqz/dev
...
Refactoring: Bookmarks as Fragment
2015-09-07 15:37:08 -04:00
Stefano Pacifici
2619210f8c
Fix removing the BookmarksEvent.Deleted instead of the actual bookmark
2015-09-07 10:02:23 +02:00
Stefano Pacifici
83790bec70
Fix bookmarks drawer background problems
2015-09-03 15:57:12 +02: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