Garth Snyder
563e0c3476
Add back iterator for Elements, count test iterations
2019-12-19 18:01:46 -08:00
Garth Snyder
ed6fec2809
Put back old Sequence/IteratorProtocol for Elements
2019-12-19 17:28:38 -08:00
Garth Snyder
17e458f67b
Don't use Character.isNewline - Linux doesn't like
2019-12-19 14:28:10 -08:00
Garth Snyder
450d6de5bc
Avoid actually trimming strings unless they need it
2019-12-19 14:28:10 -08:00
Garth Snyder
6af808ef63
Convert all tag sets to constant arrays, use native contains()
2019-12-19 14:28:10 -08:00
Garth Snyder
904ebe27fa
Use binary search when handling HTML named entities
2019-12-19 14:28:10 -08:00
Garth Snyder
2cfe21cb27
Convert StringBuilder to String array basis
2019-12-19 14:23:16 -08:00
Garth Snyder
5d688cd09f
Convert Attributes to use a simple array as backing store
2019-12-19 13:33:16 -08:00
Garth Snyder
a4eca3ed31
Convert CharacterReader to native string indexing
2019-12-19 13:23:36 -08:00
Nabil Chatbi
109d717e7a
Merge pull request #107 from samalone/elements-collection
...
Provide a RandomAccessCollection extension for Elements
2019-06-06 23:15:53 +02:00
Nabil Chatbi
137af9728b
Merge branch 'master' into develop
...
* master: (25 commits)
Update README.md
pod 2.0.0
Update to Xcode 10.2 and resolve Swift 5 warnings
- Fixes #101 - SwiftSoup builds in "release" mode on swift linux 4.2.
Up the version written in README.md to 1.7.4
docker
docker
added
fix swift version
1.7.4
bump version 1.7.3
Make some corrections to README.md
Adjust Dockerfile to newer Swift
Lower Swift version because of Linux build
Install cocoapods beta because it fails with older
Bump TravisCI Xcode version
Swift 4.2 and Xcode 10 support
Fix for "Static declarations are implicitly 'final'; use 'public' instead" warning. Methods that are 'static' or inside a 'final' class can not by nature be declared as open. These methods are not overridable.
Bump Version
Made install instructions for SPM more clear
...
# Conflicts:
# Example/Example/AppDelegate.swift
# Sources/Entities.swift
2019-06-06 22:51:37 +02:00
David Hart
71e95f7595
Update to Xcode 10.2 and resolve Swift 5 warnings
2019-04-18 21:47:57 +02:00
Stuart A. Malone
d5cae61029
Provide a RandomAccessCollection extension for Elements
2018-12-13 08:51:06 -05:00
PW
231864a7a4
- Fixes #101 - SwiftSoup builds in "release" mode on swift linux 4.2.
2018-10-13 13:56:37 +02:00
Malcolm
2da533b75d
Fix for "Static declarations are implicitly 'final'; use 'public' instead" warning. Methods that are 'static' or inside a 'final' class can not by nature be declared as open. These methods are not overridable.
2018-08-26 11:32:04 +02:00
Daniel
47c40c1eb9
Fix namespacing. Otherwise trying to explicity refer to members of the module will look at the class 'SwiftSoup', and error out
2018-05-07 17:42:03 -04:00
Daniel
e0f7c152b5
make Matcher method public on Pattern
2018-05-07 11:43:16 -04:00
Nabil Chatbi
1aaaa657ad
performance change
2018-04-04 23:17:10 +02:00
Nabil Chatbi
50e7c06cb0
Merge branch 'master' into develop
...
* master:
lint
Refactor as Swift guideline
Backward compatibility for Swift < 4.1
Swift 4.1 and <4.1 compatibility
2018-04-03 20:15:49 +02:00
Nabil Chatbi
8e064ada23
lint
2018-04-03 20:14:14 +02:00
Nabil Chatbi
129eeed16c
Refactor as Swift guideline
2018-04-02 22:32:39 +02:00
Nabil Chatbi
acf543fba1
Swift 4.1 and <4.1 compatibility
2018-04-01 13:39:15 +02:00
Nabil Chatbi
ae54062b0a
Removed StringBuilder
2018-04-01 01:33:11 +02:00
Nabil Chatbi
09d21e835b
Lint
2018-04-01 01:09:44 +02:00
Nabil Chatbi
2abd2576ce
Lint Entities
2018-04-01 00:46:30 +02:00
Nabil Chatbi
995b9cdcff
Lint and Performance
2018-04-01 00:30:20 +02:00
Nabil Chatbi
d98300a7ec
* Removed StringBuilder from Element.cssSelector
...
* Lint Code
* Swift 4.1
2018-03-31 19:42:13 +02:00
Nabil Chatbi
306be6efbe
Removed StringBuilder from Element.cssSelector
2018-03-29 22:59:01 +02:00
Nabil Chatbi
d78af0baf9
fix crash cast
2018-02-07 22:29:28 +01:00
Nabil Chatbi
cebd4851bc
New schemes
2017-11-18 14:03:10 +01:00
Nabil Chatbi
2818c50313
test
2017-11-18 12:48:10 +01:00
Nabil Chatbi
7ae9d7209e
Mac Target
2017-11-17 09:57:17 +01:00
Nabil Chatbi
4c6c73a528
Merge pull request #41 from chickdan/master
...
Remove uses of .character to conform to Swift 4 standards.
2017-11-04 12:56:07 +01:00
Nabil Chatbi
54827a83dd
Fix auto close tag
2017-11-04 00:45:50 +01:00
chickdan
0a1632044c
Remove uses of .character to conform to Swift 4 standards.
2017-11-01 23:25:50 -05:00
Nabil Chatbi
722bf83d76
Private file local visibility
2017-10-30 21:04:41 +01:00
Nabil Chatbi
f9471791ba
static strings
2017-10-08 21:30:05 +02:00
Nabil Chatbi
9ff2f32fb3
Performance
2017-10-08 20:49:28 +02:00
Nabil Chatbi
964003c42e
Performance improvement
2017-10-08 17:28:45 +02:00
Nabil Chatbi
ce62221b8c
hashValue with XOR
2017-10-05 22:56:42 +02:00
Nabil Chatbi
0a418b5049
Performance
2017-10-04 21:54:20 +02:00
Nabil Chatbi
6ad43adc6f
Crash fix if html is empty
2017-10-04 09:18:19 +02:00
Tim
916d5debc8
Fix compile error on 3.2 on macOS
2017-09-28 00:30:05 +01:00
Tim
bfd4ba0931
Fix string warnings for Swift 4
2017-09-27 13:27:09 +01:00
Tim
ace5c9ebc5
Use Kitura fix for Linux
2017-09-27 13:07:09 +01:00
Tim
2540d8b46b
Remove PlatformTypes as they are all the same now
2017-09-27 12:57:13 +01:00
Tim
99dc142056
Fix platform types for Linux
2017-09-27 12:47:03 +01:00
Nabil Chatbi
5692f0c298
Swift 4
2017-09-26 22:22:45 +01:00
Kevin Wooten
d2bfc28a1e
Swift 3.2 compatible
2017-08-02 21:16:30 -07:00
Kevin Wooten
00ca92c422
Updates to swift 4
...
* Remove obsolete methods used in `hashValue` methods; normalizing all implementations.
* Fix warnings about redundant protocol conformance
* Removed “linux” definition of `NSTextCheckingResult.range(at:)` because Swift 4 defines it
* Updated project settings to Swift 4
2017-08-02 20:25:48 -07:00