80 Commits

Author SHA1 Message Date
Tzu-ping Chung
4fad523485 Add tests and fix color mapping bug 2014-12-29 11:04:21 +08:00
Tzu-ping Chung
647253bc96 Draw divider with matching background color 2014-12-26 01:11:44 +08:00
Tzu-ping Chung
5ef55de5cb Skip cmd target install phase in project settings 2014-12-03 09:21:00 +08:00
Tzu-ping Chung
7d5f7134d2 Install utility to /usr/bin instead 2014-12-02 19:36:30 +08:00
Tzu-ping Chung
ee9aeda4db Rename task 2014-12-02 16:28:50 +08:00
Tzu-ping Chung
3770ab8c6c Integrate GBCli 2014-12-02 14:28:38 +08:00
Tzu-ping Chung
c2ac5aeb72 Add version generation and print job 2014-11-22 22:01:51 +08:00
Tzu-ping Chung
6681c9eb37 Code-sign CLI util on copy 2014-11-22 22:01:50 +08:00
Tzu-ping Chung
225a100558 Use CoreFoundation to maintain 10.8 compatibility 2014-11-22 22:01:50 +08:00
Tzu-ping Chung
4edfe1439a Lower case target name for command line tools 2014-11-22 22:01:50 +08:00
Tzu-ping Chung
9a66274d2d Move cmd source 2014-11-22 22:01:50 +08:00
Esben Sorig
3c72894769 Added command line utility.
Added a new target to the project. This is a command line utility
launcher for MacDown. The command line utility allows users to symlink
to their /usr/local/bin folder. In this way users can open files with
MacDown from the command line.
2014-11-22 22:01:50 +08:00
Tzu-ping Chung
ca187cdf89 Extract version updating script to external file 2014-11-21 18:40:20 +08:00
Tzu-ping Chung
aee8b6f767 Use latest SDK to silence warning 2014-10-28 11:45:55 +08:00
Tzu-ping Chung
c153040543 Merge branch 'scroll-past-end'
Fix #60

Conflicts:
	MacDown/Code/Document/MPDocument.m
	MacDown/Localization/Base.lproj/MPEditorPreferencesViewController.xib
        (resolved with "theirs")
2014-10-09 17:15:42 +08:00
Tzu-ping Chung
c0be781eda Fix deployment target for Xcode 6 2014-10-03 10:52:28 +08:00
Tzu-ping Chung
0893cfdfc6 Update project config for Xcode 6 2014-10-02 18:26:24 +08:00
Tzu-ping Chung
01b8176ca9 Upgrade project for Xcode 6 2014-09-22 14:12:59 +08:00
Tzu-ping Chung
6008f9723f Basic scroll past end support 2014-09-07 19:33:58 +08:00
Tzu-ping Chung
6bb9c5ca7a Load Prism component map at runtime
Fix #74
2014-08-23 18:28:04 +08:00
Tzu-ping Chung
3b5770510b Automate archive-export-zip-release 2014-08-21 13:57:07 +08:00
Jan Weiß
25c8d0d3cb Setting project to use spaces for indentation.
Matching the majority of the source files.
2014-08-16 15:17:22 +08:00
Tzu-ping Chung
5efd2459ea Merge branch 'mathjax-flicker'
Conflicts:
	MacDown/Code/Document/MPDocument.m
2014-08-16 15:04:28 +08:00
Tzu-ping Chung
2d75a5f5dd Use submodule and build script to manage Prism assets 2014-08-12 23:49:21 +08:00
Tzu-ping Chung
08ddf8e9b3 Fix flickering during MathJax setup
When MathJax is on, delay window refreshing until it's done rendering.
This is implemented by adding a WebScripting object to the preview, and
register a MathJax signal handler that invokes the window refreshing
code via the WebScripting object.
2014-08-07 01:50:34 +08:00
Tzu-ping Chung
f6e0c10535 Experimental TOC rendering support
See #63

This implementation does NOT render TOC at a specific tag, but
just prepends the TOC portion in front of the content (but after
front-matter). The TOC syntax might be more difficult. Still
considering options.
2014-07-30 15:22:53 +08:00
Tzu-ping Chung
47a25c548b Merge branch 'front-matter'
Fix #14

Conflicts:
	Podfile
2014-07-17 16:00:15 +08:00
Tzu-ping Chung
b2ecf6452c Merge branch 'word-count-experimental'
Conflicts:
	MacDown/Code/Document/MPDocument.m
2014-07-15 11:59:02 +08:00
Tzu-ping Chung
672ef27446 Cleanup and correction
General code cleanup.
Word count text formatting is now handled by JJPluralForm so that they
can be localised correctly in the future.
2014-07-14 15:35:32 +08:00
Tzu-ping Chung
d87c3576bc Customize YAML.framework to use ordered dicts 2014-07-14 11:00:56 +08:00
Tzu-ping Chung
88f725be4c Implement object to HTML table rendering 2014-07-14 00:17:18 +08:00
Tzu-ping Chung
9fbfe62055 Switch to handlebars for templating 2014-07-13 22:25:11 +08:00
Tzu-ping Chung
99e7d99e7f Add unit tests for MPAsset and subclasses 2014-07-13 20:24:15 +08:00
Alexander Käßner
32a2181d1d added shiny new preferences icons 2014-07-05 13:22:36 +02:00
Tzu-ping Chung
6d58deba39 Group resources together 2014-07-02 03:05:52 +08:00
Tzu-ping Chung
f5a6c84fed Merge branch 'check-list'
Fix #10
2014-07-01 20:04:02 +08:00
Tzu-ping Chung
3fd5703270 Add switch between beta and normal update URLs
The URL does not work yet; will need to update server.
Fix #39
2014-07-01 16:17:50 +08:00
Tzu-ping Chung
732f8f8bc3 Disable task list checkboxes in preview
This will have to do now.
2014-06-30 18:25:31 +08:00
Tzu-ping Chung
e22becd910 Implement dollar sign as inline math delimiter
Fix #29
2014-06-29 06:58:24 +08:00
Tzu-ping Chung
ba854d9444 Refactor asset bundling
Assets are now represented with a wrapper containing type info, and
are rendered using templates.
2014-06-29 06:06:59 +08:00
Tzu-ping Chung
9e70bdec5e Fix build script
Regression from 0e39b37. Maybe due to merging CI settings?
2014-06-29 05:45:25 +08:00
Tzu-ping Chung
9cbbe6f8d2 Merge pull request #22 from dlacky/travis-ci
Set up Travis CI.

Add @dlackty as contributor.
2014-06-28 21:38:42 +08:00
Tzu-ping Chung
7e59ba9037 Add missing @2x file 2014-06-28 17:57:31 +08:00
Tzu-ping Chung
5c9141602f Merge branch 'fix_10.8'
Se #1. 10.8.5 compatibility confirmed.
2014-06-28 01:53:00 +08:00
Richard Lee
7a88133de7 Skip build number update script under CI 2014-06-27 15:10:23 +08:00
Richard Lee
fbd87bbb46 Make main project a shared scheme 2014-06-27 11:50:00 +08:00
Tzu-ping Chung
58821ed100 Set deployment target and base SDK to 10.8 2014-06-26 23:59:06 +08:00
Tzu-ping Chung
a0b1c70145 Refactor rendering logic into separate class 2014-06-26 17:23:31 +08:00
Tzu-ping Chung
6bf3fb2555 Make Prism theme configurable and fix script dep 2014-06-26 17:22:55 +08:00
Tzu-ping Chung
85527b1cef Make analyser shut up about warnings in dependencies 2014-06-26 17:22:55 +08:00