982 Commits

Author SHA1 Message Date
ChrisLi
49a7324cab
iOS 14 compatibility (#320)
* update dependencies

* root controller

* bump build version

* changelog
2020-09-19 10:58:45 -04:00
ChrisLi
c283304630
Patches (#319)
* simplify secondary controller setup

* async article loading

* use request as hash instead

* data loading resource pool

* private semaphores

* tableview cell file header

* bump build version

* changelog
2020-08-30 08:07:15 -04:00
ChrisLi
7ea58b2395
Patches for the refactors (#318)
* remove displayMode adjustment

* bookmark button should always be enabled

* move file

* sort file

* scheme and target

* build test

* file name

* alert for missing zimfile in bookmark
2020-08-28 13:40:06 -04:00
ChrisLi
17894936e5
Prepare for iOS 14 & project catalyst (#317)
* refactor

* separators

* set child controller

* everything that's migrated so far

* library button

* rest of the buttons

* BarButtons

* button organization

* update buttons

* outline controller

* update outline

* Bookmark button

* private buttons

* bookmark buttons

* Bookmark -> Bookmarks

* search dismiss

* rename

* minor tweaks of outline controller

* outline default title

* build number
2020-08-27 17:04:05 -04:00
ChrisLi
f1bce2b2b2
Revert "Prepare for iOS 14 & project catalyst (#315)" (#316)
This reverts commit a82afbaa58bc55ab7a690d599e1ddc91856a1e13.
2020-08-27 17:03:41 -04:00
ChrisLi
a82afbaa58
Prepare for iOS 14 & project catalyst (#315)
* refactor

* separators

* set child controller

* everything that's migrated so far

* library button

* rest of the buttons

* BarButtons

* button organization

* update buttons

* outline controller

* update outline

* Bookmark button

* private buttons

* bookmark buttons

* Bookmark -> Bookmarks

* search dismiss

* rename

* minor tweaks of outline controller
2020-08-27 17:00:23 -04:00
rgaudin
d7b63c1b0a
Updated build instructions (#314)
Updated instructions to current build procedure (no Cocoapods, xcframework)
2020-08-25 08:40:43 +02:00
ChrisLi
df18aabce9
Slight tweak of outline controller (#311)
* slight tweak

* update realm

* changelog
2020-08-21 18:50:20 -04:00
ChrisLi
f830675b82
[macOS] show alert when opening non existing links (#308)
* alert

* ats macOS
2020-08-16 12:03:35 -04:00
ChrisLi
3f6d1ffd57 one more attempt to fix missing libswiftAppKit.dylib issue 2020-08-16 08:50:08 -04:00
ChrisLi
0b40b169e0
Show bookmark with default icon when zim file is deleted (#307)
* Show bookmark with default icon when zim file is deleted

* increase build number
2020-08-15 17:01:04 -04:00
ChrisLi
a50bd655a0
[macOS] handle redirections in the same way the iOS app does (#306)
* redirections

* update changelog
2020-08-15 11:49:26 -04:00
ChrisLi
f647763a0e
[macOS] Bundle libswiftAppKit.dylib (#305)
* embed libswift

* update changelog
2020-08-15 11:19:49 -04:00
ChrisLi
9703a44197
[macOS] fixes for zim files sidebar (#304)
* save url bookmark data

* prevent duplications

* changelog
2020-08-15 11:07:02 -04:00
ChrisLi
1cef9ed49c
[macOS] search snippet in results (#303)
* build

* search controller

* search result cell name

* storyboard

* max line count

* purge deprecated stuff
2020-08-14 20:45:28 -04:00
ChrisLi
b21c18cbe4
Sidebar arch and fixes (#302)
* move toolbar hidden to content controller

* use isBeingPresented

* presentingViewController != nil

* remove sideBarController

* outline controller coordination
2020-08-12 21:37:25 -04:00
ChrisLi
d5fd020a91 Realm version bump 2020-08-10 19:51:42 -04:00
ChrisLi
13230f15e6
Default bookmark title (#299)
* use zim file name as default article title

* guard title length

* changelog
2020-08-09 18:14:11 -04:00
ChrisLi
ac098f2364
Bookmark improvements (#298)
* rename

* bookmark controller ui

* bookmark service

* parser init

* reorder

* first image parsing

* async bookmark operation

* asyncbookmark operation

* changelog

* use bookmark service to delete

* bookmark controller

* bookmark thumb data & image mode
2020-08-09 18:05:57 -04:00
ChrisLi
9972787c5c
1.13.3 (#297)
* cancel paused downloads

* remove unused view

* search filter view controller

* remove old views

* renaming

* renaming

* Revert "renaming"

This reverts commit 270e74d3ff01ef964811a4d17d34bb7b1423f5ea.

* refactoring

* recent search show hide

* comments

* search controller not dismissed

* version bump

* Simplify Library Controller
2020-08-08 10:25:05 -04:00
ChrisLi
8a15088d88 build version bump 2020-07-30 20:56:37 -04:00
ChrisLi
c806586158
Download service (#289)
* refactoring class name

* logging

* start download function

* queue based concurrency

* detach db operation and timer logic

* queues

* docs

* refactor

* restore and background events

* additional logging

* logging

* logging

* remove network indicator

* remove delegates

* update changelog
2020-07-11 15:37:31 -04:00
Kelson
2211ace1e1
Update CHANGELOG_macOS.md
Add 2.1.1 release date
2020-07-09 16:49:36 +02:00
ChrisLi
396a8f7d33
macOS version 2.1.1 (#286)
* update target settings

* update project settings

* update build settings

* remove dead code

* version bump

* app icon update

* version bump

* update changelog

* changelog
2020-07-07 21:44:24 -04:00
Chris Li
0e82e4cbe3 catalyst build setup 2020-07-04 22:02:50 -04:00
Chris Li
dbc4abfb91 searchSuggestionsSmart deprecation migration 2020-07-04 15:32:34 -04:00
ChrisLi
fdee6a47cf
1.13.2 -- Update libkiwix (#283)
* update realm

* ignore xcframework

* update project settings

* optimize imports

* bump build number

* changelog

* widget deployment target
2020-07-03 21:58:48 -04:00
Chris Li
459cd86fab ObjectiveC++ refactoring 2020-06-28 23:09:13 -04:00
Chris Li
4021b01d1a snippet: prevent remove space between words by mistake 2020-06-21 23:14:26 -04:00
Chris Li
308b51ec94 Prevent empty snippets 2020-06-21 18:21:19 -04:00
Chris Li
f28e6b0f38 Fixed: incorrect launch view for iPhones / iPod touch on iOS 11 and 12 2020-06-20 18:12:05 -04:00
ChrisLi
beac9376bb
Resource Unavailable alert (#279)
* refactors

* WKURLSchemeHandler

* webkit handler errors

* alert

* refactor

* rename delegate method

* changelog
2020-06-20 17:48:36 -04:00
ChrisLi
4273b80b1b
macOS builds (#278)
* update files so that things builds

* bump ios deployment target
2020-06-18 22:27:50 -04:00
ChrisLi
71f1cd2c28
Swiftui search filter (#275)
* new views

* realm model update

* zimFilesCancellable

* list view rounded icon

* RecentSearchButtonAction

* clear & update recent search text

* search result all / none

* section title weight

* build setting

* version bump

* update dependency version

* changelog
2020-06-09 18:23:20 -04:00
Kelson
ca5964dd03 Add configuration for MOVE bot 2020-06-08 16:42:06 +02:00
ChrisLi
a2bc086f0d
Bring back title based search (#273)
* search op

* search result equality

* redirections

* search result equality

* result count

* changelog
2020-06-06 09:16:16 -04:00
Chris Li
98d14c3c1b Merge branch 'master' of https://github.com/kiwix/apple 2020-06-05 22:26:26 -04:00
ChrisLi
967029f1ad
hack to prevent unnecessary UI adjustment in the background (#271) 2020-06-02 12:24:23 -04:00
Chris Li
afed7f7816 hack to prevent unnecessary UI adjustment in the background 2020-06-02 12:22:29 -04:00
Chris Li
ef483bea26 bump version & build number 2020-06-01 10:07:56 -04:00
Chris Li
ff35c51e8e upgrade realm to 5.0.1 2020-05-31 17:47:48 -04:00
ChrisLi
49cfb7de4b
Outline improvements (#268)
* fix file comments

* deprecations

* remove extra return

* streamline outline controller

* OutlineItem

* OutlineItem

* OutlineController

* OutlineController

* OutlineController

* item index

* outline item indent

* empty outline title

* fix master visibility

* outline controller

* get first visible outline item

* hide search when tap on outline item

* refactoring

* recursively expand sections

* changelog

* wording of sidebar controller

* changelog

* changelog
2020-05-31 17:15:23 -04:00
ChrisLi
463a117c67
move backup setting inside library (#267)
* refactoring

* prevent side bar from being displayed by gesture if search is in progress

* code removal

* rename class

* setting items

* rename file

* add backup section

* remove old controller

* helper text
2020-05-30 10:22:51 -04:00
ChrisLi
bcd170e644
Sidebar setting + setting refactoring (#266)
* setting sidebar controller

* controller setup

* no adaptive presentation for content controller

* table header

* SettingSideBarDisplayModeController

* SettingSideBarController

* remove long press

* defaults dependency

* setting controller

* apply display mode

* setting controller

* changelog

* SearchResultSnippetMode

* SideBarDisplayMode

* SearchResultSnippetMode & array of strings

* ExternalLinkLoadingPolicy

* two more library settings

* refactoring

* remove dependencies
2020-05-29 15:13:25 -04:00
Chris Li
0ee2853f70 Revert "Update dependencies userdefaults (#261)"
This reverts commit 29682d9a8a80c8486ec87839f2f087a3d6a66178.
2020-05-23 20:47:15 -04:00
ChrisLi
29682d9a8a
Update dependencies userdefaults (#261)
* consolidate files

* update dependencies

* migration

* remove abandoned keys

* library defaults

* wrapper

* deferred language alert

* library service update

* SearchResultSnippetMode
2020-05-23 17:23:36 -04:00
Chris Li
b2a0020781 update SwiftSoup version 2020-05-23 10:41:33 -04:00
ChrisLi
25e53e405e
Refactor dir structure (#260)
* move shard to model

* git ignore
2020-05-18 21:13:48 -04:00
Chris Li
5c49a4c3cc more changelog update 2020-05-18 21:03:54 -04:00
ChrisLi
ac698a7de7
More small ui tweaks (#259)
* revert library controller pop to root

* stop using large titles to avoid glitches

* remove available(iOS 11.0, *)

* release note and version bump
2020-05-18 20:46:23 -04:00