smdp.git
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 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

10 years agoadd line length and make it utf-8 compatible
Michael Göhler [Wed, 20 Aug 2014 22:32:52 +0000 (00:32 +0200)]
add line length and make it utf-8 compatible

10 years agosome ncurses tests
Michael Göhler [Tue, 19 Aug 2014 22:37:07 +0000 (00:37 +0200)]
some ncurses tests

10 years agosplit up some headers + rename markdown_io to parser
Michael Göhler [Sun, 17 Aug 2014 20:50:12 +0000 (22:50 +0200)]
split up some headers + rename markdown_io to parser

10 years agoadd missing markdown tags to file parser
Michael Göhler [Sun, 17 Aug 2014 20:12:59 +0000 (22:12 +0200)]
add missing markdown tags to file parser

10 years agoadded debug levels + debug to STDERR
Michael Göhler [Sun, 17 Aug 2014 20:11:14 +0000 (22:11 +0200)]
added debug levels + debug to STDERR

10 years agoadded/removed some markdown bits
Michael Göhler [Sun, 17 Aug 2014 20:00:49 +0000 (22:00 +0200)]
added/removed some markdown bits

10 years agoadded getopts argument parsing + usage + debug mode
Michael Göhler [Sun, 17 Aug 2014 12:56:21 +0000 (14:56 +0200)]
added getopts argument parsing + usage + debug mode

10 years agoadded header detection + test
Michael Göhler [Sun, 17 Aug 2014 11:13:48 +0000 (13:13 +0200)]
added header detection + test

10 years agomake header lines nameless
Michael Göhler [Sun, 17 Aug 2014 10:58:52 +0000 (12:58 +0200)]
make header lines nameless

10 years agogdb startup commands
Michael Göhler [Sun, 17 Aug 2014 10:55:44 +0000 (12:55 +0200)]
gdb startup commands

10 years agoinitialize all variables correctly + make it finally work
Michael Göhler [Sun, 17 Aug 2014 00:25:27 +0000 (02:25 +0200)]
initialize all variables correctly + make it finally work

10 years agoadded markdown sample file
Michael Göhler [Sun, 17 Aug 2014 00:23:30 +0000 (02:23 +0200)]
added markdown sample file

10 years agoadded debug output to main application
Michael Göhler [Sun, 17 Aug 2014 00:23:01 +0000 (02:23 +0200)]
added debug output to main application

10 years agodraft main application with file io + fixed Makefiles
Michael Göhler [Sat, 16 Aug 2014 22:00:37 +0000 (00:00 +0200)]
draft main application with file io + fixed Makefiles

10 years agorefactoring: only function prototypes belong in header files
Michael Göhler [Sat, 16 Aug 2014 16:20:28 +0000 (18:20 +0200)]
refactoring: only function prototypes belong in header files

10 years agodraft parsing markdown file into objects
Michael Göhler [Sat, 16 Aug 2014 15:39:48 +0000 (17:39 +0200)]
draft parsing markdown file into objects
yeah, it compiles! :)

10 years agorefine markdown objects + added functions to header
Michael Göhler [Sat, 16 Aug 2014 15:34:38 +0000 (17:34 +0200)]
refine markdown objects + added functions to header

10 years agoreset function for cstrings
Michael Göhler [Sat, 16 Aug 2014 15:31:00 +0000 (17:31 +0200)]
reset function for cstrings