1199 Commits

Author SHA1 Message Date
Kelson
d7fc77792a
libkiwix, not kiwix-lib 2023-02-14 18:07:32 +01:00
Kelson
4b8860ef76
Use latest dmg permalink 2023-02-14 18:05:17 +01:00
ChrisLi
8a2517ccb4
Library refresh view model & test (#487)
* entities

* LibraryRefreshViewModel

* OPDSParserTests

* entity

* LibraryRefreshViewModel

* http error

* LibraryRefreshViewModelTest

* code

* code

* test

* test

* LibraryRefreshViewModel

* LibraryRefreshViewModel

* library enum

* error

* test

* tests

* in memory coredata

* test

* deprecation test

* test

* global LibraryRefreshViewModel

* refactor
2023-02-12 17:38:34 -05:00
ChrisLi
812377c1b2
OPDS test (#483)
* ZimFileMetaData

* OPDSStreamParser

* refactor OPDSParser

* Errors

* OPDSParser

* Test

* project

* ZimFileMetaData

* get & not found

* test

* timezone

* test

* test

* OPDSParser
2023-01-15 18:48:57 -05:00
ChrisLi
3f83d3452e
Unified app target (#482)
* remove realm

* app icon

* target & scheme

* macOS navigation

* info & entitlement

* remove old code

* delete preview asset

* move support dir

* support
2023-01-15 13:45:41 -05:00
Kelson
c9d5a0738d
Merge pull request #480 from outcoldman/patch-1
Updating build steps for the libkiwix
2022-12-25 12:19:27 +01:00
Denis Gladkikh
02c0a52aeb Updating build steps for the libkiwix
At least I got it working on macOS (M1)
2022-12-17 12:58:23 +01:00
Kelson
4dbccb3901
Delete move.yml 2022-12-17 12:51:46 +01:00
ChrisLi
c1e2b62606
Remove old targets (#479)
* remove target & scheme

* remove macos dir

* remove iOS dir

* clean up common stuff

* remove realm entity definition

* project
2022-11-24 17:10:26 -05:00
Chris Li
54d4108a93 LibraryTabItem 2022-11-24 16:10:12 -05:00
ChrisLi
6fdd9c6766
Levenshtein distance (#478)
* cache key

* refactor

* remove print
2022-11-24 12:55:29 -05:00
ChrisLi
2c6bf42175
Map view showing article location (#477)
* FeatureFlags

* ViewModel

* sheet

* sheet

* Map

* parse location

* sheet

* map

* map conditional compile

* macos
2022-11-20 17:38:15 -05:00
Chris Li
10ce6214d5 remove scene manifest 2022-11-20 11:00:05 -05:00
ChrisLi
baeb36eebb
V3.0 bug fixes (#472)
* fix: bookmarks not removed when unlinking zim file

* fix: zim file not deleted when deleting zim file

* fix: pop view on unlink / delete

* build number

* webview loading concurrency issue

* build number

* fix: search text & results cleared when hiding keyboard

* fix: some zim files (e.g. ifixit) are missing category

* disable random & main article button when no opened zim file

* iPadOS: multi window

* build number

* macOS: navigation item keyboard shortcut

* build number

* another attempt at fixing crashes when attempting to sending data back at WKURLSchemeTask

* build number

* Revert "another attempt at fixing crashes when attempting to sending data back at WKURLSchemeTask"

This reverts commit cf698483727268a1b1467cb6222b7f038d19d6df.

* ignore NSExceptions

* resolve compile warning

* update to xcode recommended project settings

* build number

* more deterministic sorting

* remove duplicated search texts

* build number

* build number
3.0
2022-11-13 11:02:41 -05:00
Alistair Findlay
70a571277d
New Apple store names. (#453) 2022-11-12 11:31:49 -05:00
ChrisLi
2aa3256154
Web View: context menu (#470)
* preview & open

* BookmarkOperations

* refactor

* link preview & button

* import button library

* conditional compile

* build number

* refactor
2022-10-22 08:36:56 -04:00
ChrisLi
92b8d407db
Search UI (#469)
* webview

* RootViewV1

* ReadingView

* RootViewV2

* RootViewV1

* Search

* search view model

* Onboarding view

* ios app version

* build number

* app category
2022-10-16 21:24:36 -04:00
ChrisLi
1f53990359
App version 2.0 (#468)
* conditional compiles

* RootViewV1

* RootViewV2

* SheetContent

* Reading View

* macos compile

* webview
2022-10-16 08:47:17 -04:00
ChrisLi
29a8c6471b
Background Refresh & Library UI (#467)
* ,pve background task identifier

* disable background task

* welcome bookmark max 6

* cell background color

* move

* library

* enable background fetch

* implement refresh
2022-10-05 22:16:02 -04:00
ChrisLi
fdc732c16f
Settings UI (#466)
* unable to load article alert

* reading settings

* reading settings

* LibrarySettings

* App

* RootView

* move about

* setting content

* remove old files

* library backup settings

* background refresh task

* remove settings view

* move

* fix about

* formatter

* project
2022-10-02 10:10:06 -04:00
ChrisLi
3a61c89da9
Search UI (#465)
* filter

* filter

* included in search toggle

* recent search

* background color

* pass is search active ios

* recentSearches

* macos cell background

* macos search dismiss

* clear search text alert

* info.plist

* search view

* doc string and refactors
2022-09-27 08:34:46 -04:00
ChrisLi
1e856885b6
Search snippet modes (#463)
* move patch

* remove unused patches code

* move patches

* reading view

* changelog

* app version & build number

* iOS 14

* apply search snippets

* remove no snippet text

* article cell search snippet

* project file

* article cell

* page zoom max
2022-09-24 14:25:56 -04:00
ChrisLi
ee2a64c3e5
version 1.16 (#462)
* move patch

* remove unused patches code

* move patches

* reading view

* changelog

* app version & build number

* iOS 14
2022-09-24 10:52:54 -04:00
ChrisLi
cfac53f941
iOS 15 + macOS 12 (#461)
* setup

* RootView setup

* open url

* ReadingView

* ReadingView

* webview delegate

* webview outlint

* sidebar

* buttons

* bar buttons

* reader view model

* reader view model

* ReadingView iOS

* NavigationTitleSubtitle

* map

* introspect

* content group

* setting navigation

* WebViewCoordinator

* webview state

* outline

* root view iOS macos

* ios buttons

* OutlineMenu

* OutlineMenu

* outlint tree

* webview gesture

* bookmark button

* merge notification

* BookmarkMultiButton

* ArticleCell

* ArticleCell

* data model

* iOS bookmarks

* bookmark loading

* search

* RandomArticle

* MainArticleMenuButton

* MoreActionMenu

* swiftui4

* BarSetupModifier

* RootView_SwiftUI4

* NavigationItem

* purge & renaming

* bookmarks

* welcome no content

* welcome no content

* file importer

* macos library hookup

* library iOS setup

* Library

* Library setup

* buttons

* library setup

* CategoryList

* predicates

* grid

* settings view

* RootView_SwiftUI4

* RootView

* root view

* RootView_iOS

* ios reading view model

* rootview

* onchange

* ios bars

* reading view iOS 16 button

* bookmark sort

* mvoe

* project setting

* focus

* NavigationItemButtons

* patches

* PageZoomButtons

* FocusedSceneValue modifier

* pagezoom observer

* search view

* SearchView

* dismiss search

* min detail view size

* search result

* SearchView

* resrch

* dismiss search on url change

* search view

* ios search setup

* search

* macos search

* ios search

* remove old search

* use searchbar

* searching

* ios memory leak

* WebViewConfiguration

* macOS webview

* refactor

* SearchBar setup

* search bar setup

* SearchBar setup

* searchbar

* ReadingView

* webview ref

* outline

* sheet

* toolbar title outline

* compact reading view

* settings

* recent search

* reading view

* reading view

* SearchView

* several small changes

* shortcuts

* commands buttons

* macos command

* navigation action

* patch

* revert

* webview retention

* navigation focused scene value

* ipad keyboard shortcut

* macos app min fheight

* ios sheet action

* macOS 13 build

* purge

* move

* move

* indent

* settings

* file import

* rename

* GridCommon

* library views

* purge

* remove LibraryTopic

* LibraryView_iOS

* move

* coredata context

* add url binding

* ZimFileSelection

* pass url down

* ZimFileDetail

* load main page

* revert

* macos 12 compile

* reading view empty title

* view model

* onboarding view

* root view iOS 16

* ios search

* root view

* OutlineTree

* search overlay

* library view

* library refresh views

* view model

* view model

* LibraryViewModel

* zim file detail

* zim file detail styling

* zim file detail

* library detail & refresh

* ZimFileContextMenu

* directory monitor

* LibraryOperations

* LibraryOperations

* reopen

* migration

* zim file migration

* bookmark migration

* comments

* open zim file via bookmark

* welcome view

* hide bookmark section when empty

* bookmark context menu setup

* bookmark add / delete view model

* skip notification

* refactor view modifier

* remove old code

* url loading

* refactor navigation delegate

* safari sheet

* safari view sheet

* iOS font size

* max width welcome view

* onboarding view

* library view

* FileImportButton

* FileImportButton

* dismiss sheet when loading main page

* settings misc

* category auto refresh

* ios app version
2022-09-21 22:14:10 -04:00
ChrisLi
3122069273
Revert "iOS 15 + macOS 12 (#459)" (#460)
This reverts commit c6be0da9dabad086e1b0b7203f6d51b4a91435c7.
2022-09-21 22:13:08 -04:00
ChrisLi
c6be0da9da
iOS 15 + macOS 12 (#459)
* setup

* RootView setup

* open url

* ReadingView

* ReadingView

* webview delegate

* webview outlint

* sidebar

* buttons

* bar buttons

* reader view model

* reader view model

* ReadingView iOS

* NavigationTitleSubtitle

* map

* introspect

* content group

* setting navigation

* WebViewCoordinator

* webview state

* outline

* root view iOS macos

* ios buttons

* OutlineMenu

* OutlineMenu

* outlint tree

* webview gesture

* bookmark button

* merge notification

* BookmarkMultiButton

* ArticleCell

* ArticleCell

* data model

* iOS bookmarks

* bookmark loading

* search

* RandomArticle

* MainArticleMenuButton

* MoreActionMenu

* swiftui4

* BarSetupModifier

* RootView_SwiftUI4

* NavigationItem

* purge & renaming

* bookmarks

* welcome no content

* welcome no content

* file importer

* macos library hookup

* library iOS setup

* Library

* Library setup

* buttons

* library setup

* CategoryList

* predicates

* grid

* settings view

* RootView_SwiftUI4

* RootView

* root view

* RootView_iOS

* ios reading view model

* rootview

* onchange

* ios bars

* reading view iOS 16 button

* bookmark sort

* mvoe

* project setting

* focus

* NavigationItemButtons

* patches

* PageZoomButtons

* FocusedSceneValue modifier

* pagezoom observer

* search view

* SearchView

* dismiss search

* min detail view size

* search result

* SearchView

* resrch

* dismiss search on url change

* search view

* ios search setup

* search

* macos search

* ios search

* remove old search

* use searchbar

* searching

* ios memory leak

* WebViewConfiguration

* macOS webview

* refactor

* SearchBar setup

* search bar setup

* SearchBar setup

* searchbar

* ReadingView

* webview ref

* outline

* sheet

* toolbar title outline

* compact reading view

* settings

* recent search

* reading view

* reading view

* SearchView

* several small changes

* shortcuts

* commands buttons

* macos command

* navigation action

* patch

* revert

* webview retention

* navigation focused scene value

* ipad keyboard shortcut

* macos app min fheight

* ios sheet action

* macOS 13 build

* purge

* move

* move

* indent

* settings

* file import

* rename

* GridCommon

* library views

* purge

* remove LibraryTopic

* LibraryView_iOS

* move

* coredata context

* add url binding

* ZimFileSelection

* pass url down

* ZimFileDetail

* load main page

* revert

* macos 12 compile

* reading view empty title

* view model

* onboarding view

* root view iOS 16

* ios search

* root view

* OutlineTree

* search overlay

* library view

* library refresh views

* view model

* view model

* LibraryViewModel

* zim file detail

* zim file detail styling

* zim file detail

* library detail & refresh

* ZimFileContextMenu

* directory monitor

* LibraryOperations

* LibraryOperations

* reopen

* migration

* zim file migration

* bookmark migration

* comments

* open zim file via bookmark

* welcome view

* hide bookmark section when empty

* bookmark context menu setup

* bookmark add / delete view model

* skip notification

* refactor view modifier

* remove old code
2022-09-21 22:11:09 -04:00
ChrisLi
1baa5fc17b
SwiftUI Apps (#454)
* webview controller

* ZimFilesOpened title

* ZimFilesOpened

* GridBasics

* ZimFilesNew

* GridCommon

* ZimFilesDownloads

* downloads

* refactor

* DownloadTaskCell

* ZimFilesDownloads

* CellBackground

* zim file downloads

* opened iconName

* FlavorTag

* grid sizing

* ZimFileGrid

* app icon

* itunes file sharing

* photo permission

* mac about

* About

* about

* app integration

* LibrarySettings

* Capsule

* library setting

* zim file backup setting

* backup

* ZimFileContextMenu

* background fetch

* update library

* BackgroundTasks

* library refresh

* last refresh

* LanguageSelector

* language

* LanguageSelector table

* LibrarySettings macos

* fetchLanguages

* iOS LanguageSelector

* sorting mode

* library setting

* ZimFilesNew

* SettingSection

* about

* navigationTitle

* background task identifier

* setting

* Settings

* SettingSection

* about macos

* library version

* language filter

* rename

* empty view

* grid

* ZimFileDetail

* ZimFileDetailPanel

* window sizing

* opened zim file bottom

* refresh

* refresh

* page zoom command

* library

* page zoom

* split reader files

* command and focus

* focus and commands

* open file in reader

* frame

* refactoring

* refactor

* languages

* remove env object

* refactor library view model

* delete download task

* downloads database op

* service workers

* service worker warning

* hides service worker files

* SearchFilter

* url / UI

* macos reader title

* LibraryViewModel.reopen

* remove search field

* search focus

* search keyboard shortcut

* open multiple files

* animations

* refactor

* search

* sheet

* SheetView library

* sheet view style

* zimfile list

* reorg

* style

* LanguageSelector

* ios setting

* LibrarySettings

* background task

* delete alert

* move

* open in place, open main page

* library refresh refactor

* open bookmark throws

* zim file missing

* locate file

* ZimFileMissingIndicator

* predicates

* observed zim file

* macos build

* icons

* library refactor

* menu refactor

* refactor

* html parser
2022-07-27 21:22:02 -04:00
ChrisLi
8e983dc180
Swiftui components (#447)
* coredata stack

* rename fir

* move files

* library setup

* compatibility

* library setup

* load on appear

* ZimFileGrid

* FlavorTag

* withCheckedThrowingContinuation

* flavor tag

* zim files cell

* grid

* list setup

* zim file list

* grid

* zim file cell background

* favicon

* SectionHeader

* grid

* new tab

* list style

* refactor

* refactor

* style

* zim file grid

* searchable new tab

* new section

* style

* ZimFileCell

* cache favicon

* ZimFilesNew

* ZimFilesNew sorting filtering

* ZimFilesNew

* library content

* keypath

* ZimFileList searchable

* ZimFileList

* ZimFilesNew side panel

* animation

* backward compatible article count

* ZimFileList deterministic sort order

* rename

* macos styling

* library grid

* grid

* refactor

* grid

* zim file list

* MacAdaptableContent

* ZimFileCellSelection

* grid

* zim file detail

* refactor

* move file

* DownloadTask

* downloads

* downloadURL

* start download

* Download task

* observable

* zim file basic info

* download progress

* rename

* refactor

* pause resume

* save file

* download error

* refactor

* refactor

* macos zim file detail

* iOS simplier navigation link

* refactor

* refactor

* refactor

* ZimFilesNew

* ZimFilesNew

* ZimFilesNew

* ZimFileGrid

* ZimFileList

* zim file list

* ZimFileListStyle

* ZimFileRow

* ZimFileRowSelection

* ZimFileCellSelection

* purge

* availability

* download

* ZimFileDetail

* ZimFileContextMenu

* scheme

* ZimFileSelection

* ZimFileGrid

* iOS root

* images

* favicon

* Favicon

* asset

* File import button

* ZimFilesOpened

* upsertZimFile

* FileImporter

* zim file opened

* ZimFilesOpened

* open zim file help

* actions

* ZimFileDetail actions

* ZimFileDetail download

* ZimFileDetail iOS

* ZimFileDetail alerts

* isFileImporterPresented

* delete action iOS

* iOS 14+ UIKit Target

* scene based iOS app

* consolidation

* delete

* iOSApp

* delete

* iOS info plist

* info plist

* preview content

* rename

* WebView

* swiftui based scene

* file open

* open url

* load main page

* refactor

* macOS build

* LibraryViewModel

* doc

* refactor

* buttons

* opened action

* refactor

* refactor

* open main page

* Reader - Webview

* buttons

* appearance

* buttons

* BookmarkButton

* refactor

* bookmarks

* WKNavigationDelegate

* ReaderViewModel

* more button

* MoreButton

* disable

* views

* button

* buttons

* reader

* reader

* reader

* sidebar

* focus & commands

* display mode

* SidebarZimFilesOpened

* url

* SidebarZimFilesOpened

* SidebarZimFilesOpened

* ios webview

* main page

* MainArticleButton

* RandomArticleButton

* inject

* outline

* refactor

* outline

* sheetDisplayMode

* OutlineButton

* Outline dismiss

* macOS

* purge

* Outline

* iOS sidebar width

* BookmarkButton

* BookmarkButton

* bookmarks

* Outlint

* Bookmarks

* issearchactive

* ios search active

* search results

* Search

* SearchFilter

* search macos

* search

* Search

* app icon

* compatibility

* SearchViewModel

* refactor

* search result

* refactor sort

* search operation

* search view model

* mac search result loading

* mac remove unused

* ios app icon

* SearchResultSnippetMode

* build

* move file

* Search ios

* search result loading

* prevent search result filckering

* ignoresSafeArea

* default sidebar display mode

* list style

* search sidebar width

* SearchResultCell

* SearchResultCell

* SearchResultRow

* SearchResultRow line limit

* search result cell

* SearchResultRow

* BookmarkButton

* webview gesture

* macos ControlGroup

* CellBackground

* purge

* outline style

* welcome view

* outline

* SplitView

* SplitView

* welcome url

* BookmarkButton tap

* bookmark toggle

* Search mac

* Welcome grid item

* welcome

* revert

* animation

* animation

* animation

* iphone regular sidebar
2022-06-06 09:05:10 -04:00
Chris Li
ff218ebf67 Skip full text search if zim file does not have full text 2022-05-21 16:58:36 -04:00
Chris Li
7c5f1c2d6a compatibility updates
- wikihow zim files
- swift 5.6
- libkiwix 10
- libzim 7
2022-03-22 21:42:35 -04:00
ChrisLi
0d27d0dcad
libkiwix 10 libzim7 compatibility (#439)
* metadata

* cached archives

* search operation

* search operation

* search result

* search operation

* zim file service

* zim file service

* refactor

* refactor

* refactor

* refactor

* refactor

* zim file service

* search

* remove SharedReaders

* refactor

* refactor

* move file

* refactor

* search result

* import

* refactor

* refactor

* fix scan

* file icon

* search

* favicon data

* bookmark

* build number
2022-03-06 09:49:22 -05:00
ChrisLi
dc98d2b2f1
macOS SwiftUI (#438)
* refactor sidebar

* refactor

* split

* search

* Outline

* outline

* Outline

* outline

* js

* js

* javascript

* js

* js

* outline

* sidebar background

* data model

* items

* ui adjustment

* outline scroll

* outline

* table of centent

* adjustment

* sidebar

* sidebar

* refactor

* SearchFilter

* Message

* SearchViewModel

* file url bookmark data

* url bookmark data

* ReaderViewModel

* NavigationButtons

* SidebarButton

* BookmarkButton

* MainPageButton

* MainArticleButton

* buttons

* isbookmarked
2022-02-20 11:26:12 -05:00
ChrisLi
a9d6305fee
macOS swift UI (#434)
* refactor

* refactor

* data provider

* search

* purge

* refactor

* refactor

* new property

* refactor

* library

* rename

* search

* refactor

* fileID

* refreshOnlineZimFileCatalog

* aetup

* grid setup

* layout

* creation and counts

* tag

* ZimFileTag

* LibrarySectionHeader

* additional window

* refactor

* library sidebar

* LibrarySidebar

* refactor

* sidebar

* zim file cell

* backgroundColor

* style

* refactor

* predicate

* conditional section

* conditional section header

* tag

* grid flattened

* zim file cell

* flattened

* frame

* style

* LibraryZimFileDetail

* library detail

* refactor

* new zim files

* schema

* detail

* flavor

* flavor

* Attributes

* refactor

* mergeChanges

* database

* refactor

* filters

* LibrarySidebar_Previews

* refactor

* image

* zim file cell

* favicon

* LibrarySectionHeader

* persistent history tokens

* persistent history

* purge

* color tweak

* LibraryZimFilesList

* library

* refactor

* refactor

* refactor

* command

* import file

* fix

* open

* doc

* refactor

* refactor

* refactor

* refactor

* titleObserver

* WKNavigationDelegate
2022-01-15 09:38:53 -05:00
ChrisLi
942fb5e105
macOS SwiftUI (#432)
* Commit

revert

* persistentContainer

* content view

* bookmark

* bookmark button

* BookmarkButton

* BookmarkButton

* BookmarkButton

* refactor

* bookmark search

* refactor

* file type

* file import

* disable things

* data model

* coredata

* search filter

* search

* refactor

* search

* project

* compile
2021-12-26 22:42:36 -05:00
ChrisLi
77eb91f8f2
Remove bookmarks widget (#430)
* use prebuilt realm

* remove code

* refactor

* build number
2021-12-18 20:17:06 -05:00
ChrisLi
0d37134e06
macOS swift UI (#429)
* webview delegate

* search

* included in search tweak

* style

* SearchScopeView

* SearchScopeView

* SearchScopeView

* recent

* recent serach text

* recent search

* refactor

* refactor

* setup

* implementation
2021-12-18 18:40:11 -05:00
ChrisLi
b5196666ca
Search refactoring (#427)
* snippet mode

* search

* project
2021-12-13 21:44:03 -05:00
ChrisLi
6a3470a710
macOS swift UI (#426)
* main page action

* move

* library restoration

* webview

* webview delegate

* webview actions

* toolbar items

* search setup

* search

* in progress

* refactor

* search

* SearchField

* refactor

* commands

* command buttons

* a working setup

* webview

* WebView toolbar

* Library

* titleObserver

* search

* search split

* no result

* refactor

* project
2021-12-13 20:27:54 -05:00
ChrisLi
8f2c78be33
Use Debug in feature flag (#425)
* feature flag

* project setting

* flag
2021-12-11 20:27:48 -05:00
Chris Li
9f61ae1aee 1.5.3 1.15.3 2021-12-11 10:45:01 -05:00
Chris Li
a12b313c8b Revert version of libkiwix and libzim
- libzim: 6.3.2
- libkiwix: 9.4.1
2021-12-11 10:19:25 -05:00
ChrisLi
ca6b354cff
Try catch random page function (#424)
* code

* project file
2021-12-06 22:32:05 -05:00
Chris Li
c93c7a6889 1.15.1 2021-11-06 21:48:21 -04:00
ChrisLi
59078a3632
Refactoring (#420)
* Realm config

* download service

* consolidation

* remove app delegate level url handling

* move

* project file

* remove explicit ref of realm default config

* move

* remove
2021-11-06 11:24:18 -04:00
ChrisLi
1f44484640
macOS swiftUI (#419)
* initial commit

* first batch of code

* build

* remove nghttp2

* Sidebar

* project setting

* sidebar

* button command

* scene storage

* refactor

* project

* library

* webview

* webview

* conditional conpile

* entitlements

* web

* init
2021-11-06 10:31:17 -04:00
Chris Li
3b61bd014a macOS model compatibility 2021-11-05 18:34:08 -04:00
Chris Li
1ae22aa05a Defaults dependency 2021-11-02 21:38:39 -04:00
ChrisLi
99a4b1656a
iOS 1.15 (#417)
* remove old code

* bookmark database

* favicon fix

* diable legacy bookmark

* changelog

* project version
1.15
2021-10-31 09:24:46 -04:00
ChrisLi
16d2110ae6
Bookmark view (#416)
* OutlineView loading state

* setup

* model

* empty content view

* display

* action

* update the css
2021-10-30 10:29:57 -04:00
ChrisLi
855d7bf1e4
Quicklook Preview (#414)
* refactoring

* setup

* remove placeholder

* remove unused
2021-10-19 08:24:29 -04:00