smdp.git
9 years agoReplace `(void*)0` with `NULL`.
FreeBirdLjj [Sat, 4 Oct 2014 12:31:26 +0000 (20:31 +0800)]
Replace `(void*)0` with `NULL`.

9 years agoUpdate for build systems.
FreeBirdLjj [Sat, 4 Oct 2014 12:28:27 +0000 (20:28 +0800)]
Update for build systems.

9 years agouse NULL instead of (void*)0
Michael Göhler [Tue, 30 Sep 2014 13:15:55 +0000 (15:15 +0200)]
use NULL instead of (void*)0

9 years agoerror handing for malloc/fgetc - #25
Michael Göhler [Tue, 30 Sep 2014 12:37:36 +0000 (14:37 +0200)]
error handing for malloc/fgetc - #25

9 years agoadd comment to common.h
Michael Göhler [Tue, 30 Sep 2014 12:35:59 +0000 (14:35 +0200)]
add comment to common.h

9 years agoversion bump
Michael Göhler [Tue, 30 Sep 2014 11:11:30 +0000 (13:11 +0200)]
version bump

9 years agoMerge pull request #40 from FreeBirdLjj/issue#16
Michael Göhler [Tue, 30 Sep 2014 10:55:38 +0000 (12:55 +0200)]
Merge pull request #40 from FreeBirdLjj/issue#16

Add sublime Text 3 project settings.
Replace ((void*)0) with NULL.
Add inline_display().
Update for inline markdown support of unordered list.
Support for inline markdown in unordered list.
Use for loop to iterate.
Remove unused block.

9 years agoMerge pull request #42 from fredjean/master
Michael Göhler [Tue, 30 Sep 2014 08:41:59 +0000 (10:41 +0200)]
Merge pull request #42 from fredjean/master

Adding support for Targus presentation remote by using page up and page ...

9 years agoAdding support for Targus presentation remote by using page up and page down for...
Frederic Jean [Tue, 30 Sep 2014 04:53:30 +0000 (22:53 -0600)]
Adding support for Targus presentation remote by using page up and page down for slide transitions.

9 years agoRemove unused block.
FreeBirdLjj [Mon, 29 Sep 2014 06:09:12 +0000 (14:09 +0800)]
Remove unused block.

9 years agoUse for loop to iterate.
FreeBirdLjj [Mon, 29 Sep 2014 06:02:59 +0000 (14:02 +0800)]
Use for loop to iterate.

9 years agoSupport for inline markdown in unordered list.
FreeBirdLjj [Mon, 29 Sep 2014 06:01:30 +0000 (14:01 +0800)]
Support for inline markdown in unordered list.

9 years agoUpdate for inline markdown support of unordered list.
FreeBirdLjj [Mon, 29 Sep 2014 06:01:06 +0000 (14:01 +0800)]
Update for inline markdown support of unordered list.

9 years agoAdd inline_display().
FreeBirdLjj [Mon, 29 Sep 2014 05:32:56 +0000 (13:32 +0800)]
Add inline_display().

9 years agoReplace ((void*)0) with NULL.
FreeBirdLjj [Sun, 28 Sep 2014 12:37:36 +0000 (20:37 +0800)]
Replace ((void*)0) with NULL.

9 years agoAdd sublime Text 3 project settings.
FreeBirdLjj [Sun, 28 Sep 2014 12:18:18 +0000 (20:18 +0800)]
Add sublime Text 3 project settings.

9 years agoMerge branch 'master' into issue#16
FreeBirdLjj [Sun, 28 Sep 2014 11:58:24 +0000 (19:58 +0800)]
Merge branch 'master' into issue#16

9 years agoswitch to uname -s -- another try on #35
Michael Göhler [Sun, 28 Sep 2014 11:11:19 +0000 (13:11 +0200)]
switch to uname -s -- another try on #35

9 years agorework max_lines/cols detection to support line wrapping (#15 part 1)
Michael Göhler [Fri, 26 Sep 2014 16:33:57 +0000 (18:33 +0200)]
rework max_lines/cols detection to support line wrapping (#15 part 1)

9 years agocleanup and small change of list spacing in #38 + shortened sample
Michael Göhler [Sat, 27 Sep 2014 10:29:00 +0000 (12:29 +0200)]
cleanup and small change of list spacing in #38 + shortened sample

9 years agoMerge pull request #38 from FreeBirdLjj/issue#16
Michael Göhler [Sat, 27 Sep 2014 10:24:02 +0000 (12:24 +0200)]
Merge pull request #38 from FreeBirdLjj/issue#16

Issue#16

9 years agoUpdate sample for unordered list.
FreeBirdLjj [Sat, 27 Sep 2014 00:23:55 +0000 (08:23 +0800)]
Update sample for unordered list.

9 years agoBugfix: for bug mistake HR as unordered list.
FreeBirdLjj [Sat, 27 Sep 2014 00:21:05 +0000 (08:21 +0800)]
Bugfix: for bug mistake HR as unordered list.

9 years agoBugfix: set the right bits for unordered list.
FreeBirdLjj [Fri, 26 Sep 2014 23:50:29 +0000 (07:50 +0800)]
Bugfix: set the right bits for unordered list.

9 years agoMerge pull request #39 from dozylynx/master
Michael Göhler [Fri, 26 Sep 2014 18:29:40 +0000 (20:29 +0200)]
Merge pull request #39 from dozylynx/master

fix 1 character typo: s/jet/yet/

9 years agofix 1 character typo: s/jet/yet/
Christopher Clark [Fri, 26 Sep 2014 18:13:21 +0000 (11:13 -0700)]
fix 1 character typo: s/jet/yet/

9 years agoversion bump for #28
Michael Göhler [Fri, 26 Sep 2014 16:07:02 +0000 (18:07 +0200)]
version bump for #28

9 years agoUpdate for new feature.
FreeBirdLjj [Wed, 24 Sep 2014 17:12:31 +0000 (01:12 +0800)]
Update for new feature.

9 years agoParse and display list.
FreeBirdLjj [Wed, 24 Sep 2014 17:11:37 +0000 (01:11 +0800)]
Parse and display list.

9 years agoUse is_utf8() instead, for more readable.
FreeBirdLjj [Wed, 24 Sep 2014 17:05:56 +0000 (01:05 +0800)]
Use is_utf8() instead, for more readable.

9 years agoUse the same coding style as other `i++`.
FreeBirdLjj [Wed, 24 Sep 2014 17:04:01 +0000 (01:04 +0800)]
Use the same coding style as other `i++`.

9 years agoAdd data structure for unordered list.
FreeBirdLjj [Wed, 24 Sep 2014 16:58:16 +0000 (00:58 +0800)]
Add data structure for unordered list.

9 years agoAdd list sample.
FreeBirdLjj [Wed, 24 Sep 2014 16:57:13 +0000 (00:57 +0800)]
Add list sample.

9 years agoAdd macros MAX() and MIN().
FreeBirdLjj [Wed, 24 Sep 2014 16:40:02 +0000 (00:40 +0800)]
Add macros MAX() and MIN().

9 years agocygwin setup notes
Michael Göhler [Tue, 23 Sep 2014 20:08:14 +0000 (22:08 +0200)]
cygwin setup notes

9 years agoonly check uname if OS is Windows_NT
Michael Göhler [Tue, 23 Sep 2014 19:45:57 +0000 (21:45 +0200)]
only check uname if OS is Windows_NT

9 years agoadded contributors + convert to pdf instructions
Michael Göhler [Mon, 22 Sep 2014 11:07:55 +0000 (13:07 +0200)]
added contributors + convert to pdf instructions

9 years agoMerge pull request #21 from ungureanuvladvictor/generic_folder_structure
Michael Göhler [Sat, 20 Sep 2014 15:22:38 +0000 (17:22 +0200)]
Merge pull request #21 from ungureanuvladvictor/generic_folder_structure

Moved all *.c files into src folder and created separate Makefile
Updated base Makefile to support src folder
closes #21

9 years agofixed Makefile for cygwin build after #23
Michael Göhler [Mon, 22 Sep 2014 09:14:22 +0000 (11:14 +0200)]
fixed Makefile for cygwin build after #23

9 years agoMerge pull request #23 from mattn/win32
mattn [Fri, 19 Sep 2014 06:01:30 +0000 (15:01 +0900)]
Merge pull request #23 from mattn/win32

Windows porting
closes #23

9 years agoMerge pull request #33 from Pyrohh/master
Michael Göhler [Sun, 21 Sep 2014 23:53:16 +0000 (01:53 +0200)]
Merge pull request #33 from Pyrohh/master

Makefile: switch out 'rm -f' with '$(RM)' to match previous invocations

9 years agoMakefile: switch out 'rm -f' with '$(RM)' to match previous invocations
Michael Reed [Sun, 21 Sep 2014 22:34:33 +0000 (18:34 -0400)]
Makefile: switch out 'rm -f' with '$(RM)' to match previous invocations

9 years agoMerge pull request #32 from TheFox/readme
Michael Göhler [Sun, 21 Sep 2014 21:07:40 +0000 (23:07 +0200)]
Merge pull request #32 from TheFox/readme

Also on Debian

9 years agoAlso on Debian.
Christian Mayer [Sun, 21 Sep 2014 16:48:03 +0000 (18:48 +0200)]
Also on Debian.

Format fixed.

9 years agoadded revision to version number
Michael Göhler [Sun, 21 Sep 2014 15:40:29 +0000 (17:40 +0200)]
added revision to version number

9 years agoerror handling for freopen()
Michael Göhler [Sun, 21 Sep 2014 12:12:29 +0000 (14:12 +0200)]
error handling for freopen()

9 years agofixed flickering on slides with code blocks, closes #8
Michael Göhler [Sun, 21 Sep 2014 11:21:06 +0000 (13:21 +0200)]
fixed flickering on slides with code blocks, closes #8

9 years agofixed segv in cstring.c, closes #18
Michael Göhler [Sun, 21 Sep 2014 10:23:35 +0000 (12:23 +0200)]
fixed segv in cstring.c, closes #18

9 years agoMerge pull request #31 from FreeBirdLjj/issue#30
Michael Göhler [Sun, 21 Sep 2014 09:22:12 +0000 (11:22 +0200)]
Merge pull request #31 from FreeBirdLjj/issue#30

Enhanced: Issue#30

9 years agoShorten sample lines.
FreeBirdLjj [Sat, 20 Sep 2014 17:27:05 +0000 (01:27 +0800)]
Shorten sample lines.

9 years agoAdd inline code sample.
FreeBirdLjj [Sat, 20 Sep 2014 11:47:27 +0000 (19:47 +0800)]
Add inline code sample.

9 years agoAdd inline code support.
FreeBirdLjj [Sat, 20 Sep 2014 11:33:14 +0000 (19:33 +0800)]
Add inline code support.

9 years agoadded hint to terminal geometry error as suggested in #15
Michael Göhler [Fri, 19 Sep 2014 21:29:55 +0000 (23:29 +0200)]
added hint to terminal geometry error as suggested in #15

9 years agonew doc page about slide breaks
Michael Göhler [Fri, 19 Sep 2014 21:28:07 +0000 (23:28 +0200)]
new doc page about slide breaks

9 years agofixed segv if first line of file is HR, closes #27
Michael Göhler [Fri, 19 Sep 2014 20:45:35 +0000 (22:45 +0200)]
fixed segv if first line of file is HR, closes #27

9 years agocompiling against ncursesw to display UTF-8 chars correctly, fixes #19
Michael Göhler [Fri, 19 Sep 2014 20:26:22 +0000 (22:26 +0200)]
compiling against ncursesw to display UTF-8 chars correctly, fixes #19

9 years agoMerge pull request #20 from FreeBirdLjj/AddGitIgnore
Michael Göhler [Fri, 19 Sep 2014 17:53:40 +0000 (19:53 +0200)]
Merge pull request #20 from FreeBirdLjj/AddGitIgnore

Init `.gitignore'.

9 years agoMerge pull request #29 from Habbie/patch-1
Michael Göhler [Fri, 19 Sep 2014 17:06:57 +0000 (19:06 +0200)]
Merge pull request #29 from Habbie/patch-1

s/mpd/mdp/

9 years agos/mpd/mdp/
Peter van Dijk [Fri, 19 Sep 2014 16:44:33 +0000 (18:44 +0200)]
s/mpd/mdp/

9 years agoextend sample.md so it looks more like a documentation
Michael Göhler [Thu, 18 Sep 2014 22:21:42 +0000 (00:21 +0200)]
extend sample.md so it looks more like a documentation

9 years agoalso remove backslash from stack if next char is not special
Michael Göhler [Thu, 18 Sep 2014 22:14:00 +0000 (00:14 +0200)]
also remove backslash from stack if next char is not special

9 years agoprevent use-after-free
Michael Göhler [Thu, 18 Sep 2014 20:26:54 +0000 (22:26 +0200)]
prevent use-after-free

9 years agofixed -Wmaybe-uninitialized for *line
Michael Göhler [Thu, 18 Sep 2014 20:17:30 +0000 (22:17 +0200)]
fixed -Wmaybe-uninitialized for *line

9 years agopartially revert cae082fd - install -D is not OS-X compatible
Michael Göhler [Thu, 18 Sep 2014 19:38:33 +0000 (21:38 +0200)]
partially revert cae082fd - install -D is not OS-X compatible

9 years agoInit `.gitignore'.
FreeBirdLjj [Thu, 18 Sep 2014 15:17:38 +0000 (23:17 +0800)]
Init `.gitignore'.

9 years agono fading if next/prev slide is not availabe
Michael Göhler [Wed, 17 Sep 2014 22:36:28 +0000 (00:36 +0200)]
no fading if next/prev slide is not availabe

9 years agoadded invert switch to support black on white terminals
Michael Göhler [Wed, 17 Sep 2014 22:11:42 +0000 (00:11 +0200)]
added invert switch to support black on white terminals

9 years agoremove duplicated code
Michael Göhler [Wed, 17 Sep 2014 20:53:11 +0000 (22:53 +0200)]
remove duplicated code

9 years agomoved file handling to mdp.c completely
Michael Göhler [Wed, 17 Sep 2014 20:46:41 +0000 (22:46 +0200)]
moved file handling to mdp.c completely

9 years agoMerge pull request #7 from Pyrohh/master
Michael Göhler [Wed, 17 Sep 2014 20:26:41 +0000 (22:26 +0200)]
Merge pull request #7 from Pyrohh/master

Makefile improvements

9 years agoMakefile improvements:
Michael Reed [Wed, 17 Sep 2014 18:09:53 +0000 (14:09 -0400)]
Makefile improvements:

- Simplified install target using 'install -D'
- Added uninstall target
- Reenabled -Wall, the user should be aware of any supposed program
errors

9 years agoMerge pull request #6 from FreeBirdLjj/EnhancedMakefile
Michael Göhler [Wed, 17 Sep 2014 17:33:41 +0000 (19:33 +0200)]
Merge pull request #6 from FreeBirdLjj/EnhancedMakefile

enhance makefile

9 years agoReplace `strip` with `ld` `-s' option.
FreeBirdLjj [Wed, 17 Sep 2014 15:08:26 +0000 (23:08 +0800)]
Replace `strip` with `ld` `-s' option.

9 years agoAdd compile optimization options (as default).
FreeBirdLjj [Wed, 17 Sep 2014 14:59:16 +0000 (22:59 +0800)]
Add compile optimization options (as default).

9 years agoUsing the implicit rules of `make`.
FreeBirdLjj [Wed, 17 Sep 2014 14:45:33 +0000 (22:45 +0800)]
Using the implicit rules of `make`.

9 years ago`all' is also a phony target.
FreeBirdLjj [Wed, 17 Sep 2014 14:26:45 +0000 (22:26 +0800)]
`all' is also a phony target.

9 years agoBugfix: the first target should have been `all', not `mdp'.
FreeBirdLjj [Wed, 17 Sep 2014 14:24:41 +0000 (22:24 +0800)]
Bugfix: the first target should have been `all', not `mdp'.

9 years agoMerge pull request #4 from Pyrohh/master
Michael Göhler [Wed, 17 Sep 2014 07:17:26 +0000 (09:17 +0200)]
Merge pull request #4 from Pyrohh/master

Fix typo

9 years agoview.c: Fix typo
Michael Reed [Wed, 17 Sep 2014 02:24:23 +0000 (22:24 -0400)]
view.c: Fix typo

9 years agoadded dependencies to README - fixes #1
Michael Göhler [Tue, 16 Sep 2014 20:41:43 +0000 (22:41 +0200)]
added dependencies to README - fixes #1

9 years agoanimated gif example
Michael Göhler [Mon, 15 Sep 2014 22:53:26 +0000 (00:53 +0200)]
animated gif example

9 years agoonly use colors if supported
Michael Göhler [Mon, 15 Sep 2014 21:56:16 +0000 (23:56 +0200)]
only use colors if supported

9 years agodo not print unmatched backslashes at eol
Michael Göhler [Mon, 15 Sep 2014 19:04:35 +0000 (21:04 +0200)]
do not print unmatched backslashes at eol

9 years agofixed -Wchar-subscripts on isspace() macros
Michael Göhler [Mon, 15 Sep 2014 18:38:30 +0000 (20:38 +0200)]
fixed -Wchar-subscripts on isspace() macros

9 years agosmall readme changes
Michael Göhler [Sun, 14 Sep 2014 13:29:41 +0000 (15:29 +0200)]
small readme changes

9 years agono offset for normal text
Michael Göhler [Sun, 14 Sep 2014 13:17:05 +0000 (15:17 +0200)]
no offset for normal text
added no transparency and no fading parameters
new README

9 years agofixed segv when no header is present + fixed terminal resizing
Michael Göhler [Sun, 14 Sep 2014 12:49:48 +0000 (14:49 +0200)]
fixed segv when no header is present + fixed terminal resizing

9 years agoversion bump - feature complete, yeah!
Michael Göhler [Sun, 14 Sep 2014 11:46:34 +0000 (13:46 +0200)]
version bump - feature complete, yeah!

9 years agoslide number in footer + extended key codes for 1-9, home, end
Michael Göhler [Sun, 14 Sep 2014 11:42:33 +0000 (13:42 +0200)]
slide number in footer + extended key codes for 1-9, home, end

9 years agofixed nested quotation
Michael Göhler [Sun, 14 Sep 2014 10:31:56 +0000 (12:31 +0200)]
fixed nested quotation

9 years agocleanup inline formating stack + fixed quote style
Michael Göhler [Sun, 14 Sep 2014 10:23:59 +0000 (12:23 +0200)]
cleanup inline formating stack + fixed quote style

9 years agofixed utf-8 encoding issue
Michael Göhler [Sun, 14 Sep 2014 09:49:39 +0000 (11:49 +0200)]
fixed utf-8 encoding issue

9 years agoupdated sample.md
Michael Göhler [Sun, 14 Sep 2014 09:41:08 +0000 (11:41 +0200)]
updated sample.md

9 years agoremoved old tests
Michael Göhler [Sun, 14 Sep 2014 09:26:22 +0000 (11:26 +0200)]
removed old tests

9 years agorewrote Makefile + copyright and license infos
Michael Göhler [Sun, 14 Sep 2014 09:20:44 +0000 (11:20 +0200)]
rewrote Makefile + copyright and license infos

9 years agoremoved duplicate function + added some comments to header files
Michael Göhler [Fri, 12 Sep 2014 23:55:35 +0000 (01:55 +0200)]
removed duplicate function + added some comments to header files

9 years agosorted some includes + added version number
Michael Göhler [Thu, 11 Sep 2014 23:05:12 +0000 (01:05 +0200)]
sorted some includes + added version number

9 years agoadded cstack to viewer + implemented inline highlighting
Michael Göhler [Thu, 11 Sep 2014 22:42:37 +0000 (00:42 +0200)]
added cstack to viewer + implemented inline highlighting

9 years agoadded missing prototype to cstack header
Michael Göhler [Thu, 11 Sep 2014 22:40:53 +0000 (00:40 +0200)]
added missing prototype to cstack header

9 years agorename project to mdp
Michael Göhler [Sun, 7 Sep 2014 19:53:59 +0000 (21:53 +0200)]
rename project to mdp