Commit Graph

232 Commits

Author SHA1 Message Date
Aloxaf 5290a8936b Change features of syntect 2019-08-13 12:53:36 +08:00
dependabot-preview[bot] fb5e1b1b2b
Bump syntect from 3.2.0 to 3.2.1 (#34) 2019-08-13 01:11:15 +00:00
Aloxaf 7be48029a4
Merge pull request #33 from dreness/master
Implement --to-clipboard for macOS
2019-08-11 22:10:55 +08:00
Andre LaBranche ea4a35888f Make pasteboard conditional on macOS 2019-08-11 01:07:33 -07:00
Andre LaBranche f6c13edc52 Implement --to-clipboard for macOS
* The pasteboard crate has been added to Cargo.toml.
* In src/bin, use of this crate is conditional on target_os = "macOS"
* The implementation of dump_image_to_clipboard is exactly like the linux one, except instead of shelling out to xclip, we call the unsafe function:

Pasteboard::Image.copy(temp.path().to_str().unwrap());

Hat tip to @segeljakt for pasteboard :)
2019-08-10 23:26:40 -07:00
Aloxaf d29efda181 Update CI 2019-08-09 18:30:00 +08:00
Aloxaf fcb8787113 Update CI 2019-08-09 17:54:12 +08:00
Aloxaf a78b5ba996 Update hex color parser 2019-08-09 10:39:07 +08:00
Aloxaf d8085ed250
Add support for transparency (#31)
* Add support for alpha channel

* Fix compatibility with shadow

* Small fix

* Update README

* Use RGBA instead of ARGB
2019-08-09 00:11:32 +08:00
Aloxaf 4ea9203602 Update README 2019-08-07 12:19:59 +08:00
Aloxaf 60ce11b2b2 Release 0.2.6 2019-08-06 20:38:37 +08:00
Aloxaf 0667149975 Remove patch from Cargo.toml 2019-08-06 15:05:03 +08:00
Aloxaf adadf55012 Fix #28 2019-08-06 13:34:19 +08:00
Aloxaf 84be7b5ddf
Merge pull request #29 from TheMushrr00m/patch-1
Fix typo
2019-08-06 12:40:40 +08:00
TheMushr00m 57941b23f3
Update formatter.rs
Simple fix to a simple typo.
2019-08-05 12:49:49 -05:00
Aloxaf f7d255d015 Update README 2019-08-05 13:49:30 +08:00
Aloxaf 426a395519 Remove 'version' field from patch 2019-08-05 12:48:26 +08:00
bors[bot] 1c68881c99 Merge #27
27: Update font-kit r=Aloxaf a=Aloxaf

Fix #11 

Co-authored-by: Aloxaf <aloxafx@gmail.com>
2019-08-05 04:02:56 +00:00
Aloxaf 5ff3e78abe Update font-kit 2019-08-05 12:00:42 +08:00
Aloxaf 32f84c6c30 Try to fix CI 2019-08-04 20:49:34 +08:00
Aloxaf 7011564cbe
Merge pull request #26 from KamWithK/patch-1
fixed iterator parsing the line ranges
2019-08-04 18:22:34 +08:00
KamWithK 6aa89ed583
fixed iterator parsing the line ranges 2019-08-02 23:38:20 +10:00
dependabot-preview[bot] c277f1a21f
Bump log from 0.4.7 to 0.4.8 (#20) 2019-07-30 00:55:34 +00:00
Aloxaf 4899038d68 Fix crash in debug mode 2019-07-26 17:45:29 +08:00
bors[bot] 21fb11076b Merge #17
17: Update font-kit to 0.4 r=Aloxaf a=Aloxaf



Co-authored-by: Aloxaf <aloxafx@gmail.com>
2019-07-24 15:53:25 +00:00
Aloxaf fb277237fc Merge branch 'master' into update_font_kit 2019-07-24 23:49:11 +08:00
Aloxaf 2873cf6a3f Update CI 2019-07-24 23:48:55 +08:00
Aloxaf cf7b0ea26a Update font-kit to 0.4 2019-07-24 23:33:46 +08:00
Aloxaf a98b708062 Use `[patch]` instead of copy the code directly 2019-07-24 18:37:11 +08:00
Aloxaf 1b98481a25
Merge pull request #15 from lcnr/patch-1
fix README.md
2019-07-24 12:24:47 +08:00
Bastian Kauschke 23ee8be825
fix README.md 2019-07-23 23:42:42 +02:00
Aloxaf 98488d7790 Update dependencies 2019-07-23 12:29:03 +08:00
Aloxaf 13209ffd5f Release 0.2.5 2019-07-21 23:09:30 +08:00
Aloxaf 8cc6e582d0 Fix wrong position of some symbol
Fix #12
2019-07-21 23:01:19 +08:00
Aloxaf bc298aeaea Release 0.2.4 2019-07-20 22:11:11 +08:00
Aloxaf 5775e8a1da
Make silicon also a lib (#8)
* Make it also a lib

* More comment

* Adjust code structure

* Add the 'bin' feature

* Remove failure dependency from lib

* Update README
2019-07-20 21:38:34 +08:00
Aloxaf d6f05ec24c Update README 2019-07-20 21:18:11 +08:00
Aloxaf 3aadf7811f Merge branch 'master' of github.com:Aloxaf/silicon 2019-07-20 21:01:51 +08:00
Aloxaf 5c0f2f0dc8 Fix font length 2019-07-20 21:01:27 +08:00
Aloxaf 5d70996132
Fix panic when draw whitespace on macOS (#10) 2019-07-20 19:29:21 +08:00
Aloxaf f0833eebe6
Merge pull request #9 from idursun/master
Fix a typo
2019-07-20 00:21:35 +08:00
ibrahim.dursun 6d67d85ef3
Fix a typo 2019-07-19 16:55:29 +01:00
Aloxaf cd1282b9ca Add travis ci 2019-07-19 18:54:16 +08:00
Aloxaf e98ec9f15f Release 0.2.3 2019-07-16 23:08:13 +08:00
Aloxaf 4cfc8a63f6 Fix the warnings when build on non-Linux platform 2019-07-16 14:08:44 +08:00
Aloxaf cdcf0895a4 Change the color of line number 2019-07-16 13:47:56 +08:00
Aloxaf f1d39bc039 'output' should be ignored when set 'to-clipboard' 2019-07-16 13:32:46 +08:00
Aloxaf 996e3e4678 Release 0.2.2 2019-07-15 23:43:59 +08:00
Aloxaf d0cb137687 Merge branch 'master' into dev 2019-07-15 23:41:34 +08:00
Aloxaf 9d721c62f2 Don't write to stdout by default 2019-07-15 23:36:58 +08:00