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

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

10 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.

10 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

10 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)

10 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

10 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

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

10 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.

10 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.

10 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/

10 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/

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

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

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

10 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.

10 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++`.

10 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.

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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

Format fixed.

10 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

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

10 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

10 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

10 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

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

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

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

10 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

10 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

10 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

10 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

10 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'.

10 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/

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

10 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

10 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

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

10 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

10 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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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.

10 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).

10 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`.

10 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.

10 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'.

10 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

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

10 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

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

10 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

10 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

10 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

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

10 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

10 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

10 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!

10 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

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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

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

10 years agoadded a char stack implementation for later use
Michael Göhler [Sun, 7 Sep 2014 19:38:59 +0000 (21:38 +0200)]
added a char stack implementation for later use

10 years agoadded CREDITS
Michael Göhler [Sun, 7 Sep 2014 19:37:27 +0000 (21:37 +0200)]
added CREDITS

10 years agoadd color to CODE, H1 and H2
Michael Göhler [Sun, 7 Sep 2014 19:36:36 +0000 (21:36 +0200)]
add color to CODE, H1 and H2
fixed CODE positioning
fix segv for title only slides

10 years agohandle fading on undefined key press correctly
Michael Göhler [Mon, 1 Sep 2014 21:51:22 +0000 (23:51 +0200)]
handle fading on undefined key press correctly

10 years agodisplay content line by line + corrected key codes
Michael Göhler [Mon, 1 Sep 2014 21:39:14 +0000 (23:39 +0200)]
display content line by line + corrected key codes

10 years agodisplay header / footer from deck header + some compiler warnings
Michael Göhler [Fri, 29 Aug 2014 11:55:39 +0000 (13:55 +0200)]
display header / footer from deck header + some compiler warnings

10 years agoadded viewer to main program - display dummy text for testing
Michael Göhler [Fri, 29 Aug 2014 08:54:11 +0000 (10:54 +0200)]
added viewer to main program - display dummy text for testing

10 years agoa first draft of the ncurses viewer
Michael Göhler [Thu, 28 Aug 2014 23:41:42 +0000 (01:41 +0200)]
a first draft of the ncurses viewer

10 years agofixed wrong linker usage + fix some compiler warnings
Michael Göhler [Wed, 27 Aug 2014 22:56:44 +0000 (00:56 +0200)]
fixed wrong linker usage + fix some compiler warnings

10 years agocalculate length of lines including backslashes correctly
Michael Göhler [Mon, 25 Aug 2014 22:09:09 +0000 (00:09 +0200)]
calculate length of lines including backslashes correctly

10 years agoextended structs with some counts + beautifying
Michael Göhler [Mon, 25 Aug 2014 20:44:12 +0000 (22:44 +0200)]
extended structs with some counts + beautifying

10 years agoextended terminal color tests
Michael Göhler [Mon, 25 Aug 2014 18:46:48 +0000 (20:46 +0200)]
extended terminal color tests

10 years agorename objects to deck / slide
Michael Göhler [Mon, 25 Aug 2014 07:34:54 +0000 (09:34 +0200)]
rename objects to deck / slide

10 years agomove debug function to parser.c
Michael Göhler [Wed, 20 Aug 2014 22:48:55 +0000 (00:48 +0200)]
move debug function to parser.c