Commit Graph

3023 Commits

Author SHA1 Message Date
Ashwin Maroli 4530721575 Replace `String#=~` with `String#match?` (#7723)
Merge pull request 7723
2019-06-27 13:16:27 -04:00
Ashwin Maroli 27aa53cf82 Memoize SiteDrop#documents to reduce allocations (#7697)
Merge pull request 7697
2019-06-25 17:02:04 -04:00
Ashwin Maroli e10a90987a Replace `String#=~` with `String#match?` (#7718)
Merge pull request 7718
2019-06-24 13:46:28 -04:00
Ashwin Maroli 68a31c8eb2 Don't read symlinks in site.include in safe mode (#7711)
Merge pull request 7711
2019-06-23 18:15:25 -04:00
Ashwin Maroli 06eafadcbb Use regexp to filter special entries (#7702)
Merge pull request 7702
2019-06-23 16:23:09 -04:00
Ashwin Maroli 25898f8d9d Reword code-comment to reflect the implementation 2019-06-14 15:46:09 +05:30
Frank Taillandier cca639dcc3
Merge pull request #7705 from ashmaroli/filter-dot-entries
Reject entries that are just dots in a directory
2019-06-14 08:31:57 +02:00
Ashwin Maroli 119e0047e8 Don't sanitize pattern or entry string 2019-06-09 16:38:19 +05:30
Ashwin Maroli 3002aa58f5 Refactor `EntryFilter#glob_include?` 2019-06-09 15:35:39 +05:30
Ashwin Maroli 49e5b33fb0 Reject entries that are just dots in a directory 2019-06-09 11:42:34 +05:30
Ashwin Maroli e05745929f Remove override to Jekyll::Document#respond_to? (#7695)
Merge pull request 7695
2019-06-05 12:10:37 -04:00
Ashwin Maroli 554e07d4a5 Revert memoizing Site#docs_to_write and #documents (#7684)
Merge pull request 7684
2019-05-30 21:28:03 -04:00
Ashwin Maroli ed385ba264 Reduce allocations from where-filter (#7653)
Merge pull request 7653
2019-05-16 12:38:53 -04:00
Ashwin Maroli 49ffbbd4c7 Add `type` attribute to Document instances (#7406)
Merge pull request 7406
2019-05-16 11:44:39 -04:00
Ashwin Maroli 7548132944 Reduce allocations from Jekyll::Document instances (#7625)
Merge pull request 7625
2019-05-16 10:55:59 -04:00
Ashwin Maroli cbfdeaefcd Reduce string allocations with better alternatives (#7643)
Merge pull request 7643
2019-05-16 10:04:37 -04:00
Ashwin Maroli 20c9d0957a Encode and unencode urls only as required (#7654)
Merge pull request 7654
2019-05-15 12:14:08 -04:00
Ashwin Maroli c47611cb6e Initialize and reset glob_cache only as necessary (#7658)
Merge pull request 7658
2019-05-15 11:49:05 -04:00
Ashwin Maroli ec347597da Reduce Array allocations via Jekyll::Cleaner (#7659)
Merge pull request 7659
2019-05-15 11:48:12 -04:00
Ashwin Maroli 965aef60e6 Initialize mutations for Drops only if necessary (#7657)
Merge pull request 7657
2019-05-15 11:43:13 -04:00
Ashwin Maroli b04e3d3de7 Store list of expected extnames in a constant (#7638)
Merge pull request 7638
2019-05-01 14:54:18 -04:00
Ashwin Maroli 3e8c37b641 Refactor Jekyll::Cache (#7532)
Merge pull request 7532
2019-05-01 14:43:20 -04:00
Ashwin Maroli 14e5d00555 Fix broken include_relative usage in excerpt (#7633)
Merge pull request 7633
2019-04-30 09:03:48 -04:00
Ashwin Maroli a5cac26766 Bump RuboCop to v0.68.x (#7637)
Merge pull request 7637
2019-04-30 08:44:08 -04:00
Ashwin Maroli c8fe609f8f Target Ruby 2.4 syntax in RuboCop scans (#7583)
Merge pull request 7583
2019-04-19 10:30:17 -04:00
Ashwin Maroli f4ee82650e
Revert "Refactor `highlight` tag to behave like the `raw` tag" (#7592)
* Revert "Refactor `highlight` tag to behave like the `raw` tag (#6821)"

This reverts commit 36404b9a43.

* use Liquid `raw` in upgrading document
* let the minor improvements stay
* Revert entry in History.markdown
2019-04-19 12:49:03 +05:30
Ashwin Maroli ec0971ab17 Generate a "TOTAL" row for build-profile table (#7614)
Merge pull request 7614
2019-04-12 13:48:33 -04:00
Ashwin Maroli 2591f33aa8 Incorporate `relative_url` within `post_url` tag (#7589)
Merge pull request 7589
2019-03-29 02:54:45 -04:00
Ashwin Maroli 2090989fb3 Favor Ruby 2.3 squiggly-heredoc operator (#7584)
Merge pull request 7584
2019-03-22 12:18:58 -04:00
Ashwin Maroli 9240addcf0 Detect `nil` and empty values in objects with `where` filter (#7580)
Merge pull request 7580
2019-03-22 10:53:34 -04:00
Christoph Päper 0da5389cbb ISO week date drops (#5981)
Merge pull request 5981
2019-03-21 20:42:36 -04:00
Frank Taillandier 378147d761 Release v4.0.0.pre.alpha1 (#7574)
Merge pull request 7574
2019-03-19 03:03:57 -04:00
Ashwin Maroli 9e137bae29 Push Markdown link refs to excerpt only as required (#7577)
Merge pull request 7577
2019-03-18 17:39:08 -04:00
Ashwin Maroli cc7978f3bc Optimize Document::DATE_FILENAME_MATCHER to match valid filenames (#7292)
Merge pull request 7292
2019-03-15 13:38:12 -04:00
mo khan 2bdf1a53c4 Log a warning when the slug is empty (#7357)
Merge pull request 7357
2019-03-15 13:35:01 -04:00
Ashwin Maroli 555722887d Replace `name` in Page#inspect with relative_path (#7434)
Merge pull request 7434
2019-03-15 13:33:13 -04:00
Ashwin Maroli 18f7a28168 Cleanup Markdown converter (#7519)
Merge pull request 7519
2019-03-15 13:30:39 -04:00
Ashwin Maroli 575f4b66de Upgrade kramdown dependency to v2.x (#7492)
Merge pull request 7492
2019-03-15 13:27:41 -04:00
Ashwin Maroli 5942ee46ae Memoize Document#excerpt_separator (#7569)
Merge pull request 7569
2019-03-15 13:20:15 -04:00
Ashwin Maroli 907477b9ca Escape valid special chars in a site's path name (#7568)
Merge pull request 7568
2019-03-15 13:14:57 -04:00
Ashwin Maroli da313bf883 Avoid unnecessary duplication of pages array (#7272)
Merge pull request 7272
2019-03-15 13:11:46 -04:00
Ashwin Maroli 8ccb013f85 Use communicative method parameters (#7566)
Merge pull request 7566
2019-03-15 12:54:24 -04:00
Ashwin Maroli 7ddaa9ffa1 Don't check if site URL is absolute if it is nil (#7498)
Merge pull request 7498
2019-03-15 12:53:40 -04:00
Ashwin Maroli 3b4151b773 Cache computed item property (#7301)
Merge pull request 7301
2019-03-15 12:52:30 -04:00
Ashwin Maroli b4dcdd42f8 Cache globbed paths in front matter defaults (#7345)
Merge pull request 7345
2019-03-15 12:49:00 -04:00
Ashwin Maroli 36404b9a43 Refactor `highlight` tag to behave like the `raw` tag (#6821)
Merge pull request 6821
2019-03-15 12:48:21 -04:00
Ashwin Maroli aea502745a Utilize absolute paths of user-provided file paths (#7450)
Merge pull request 7450
2019-03-15 12:10:48 -04:00
Ashwin Maroli b668eb0150 Fix unnecessary allocations via StaticFileReader (#7572)
Merge pull request 7572
2019-03-14 21:40:45 -04:00
Ashwin Maroli 5fa93015a6
Revert Utils::WinTZ upgrade and lock to TZInfo-1.x (#7562)
Revert "Add missing divider in upgrading-guide"
This reverts commit d8c745ca30.

Revert "Update history to reflect merge of #7521"
This reverts commit 7ee2e26d6c.

Revert "Upgrade WinTZ utility to use TZInfo-2.0"
This reverts commit 13cbef4221.

Lock use of `tzinfo` gem to v1.x
2019-03-10 17:20:48 +05:30
Ashwin Maroli 13cbef4221 Upgrade WinTZ utility to use TZInfo-2.0 (#7521)
Merge pull request 7521
2019-02-20 15:53:13 -05:00