Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 10, 2015
  1. @b4n
Commits on Dec 17, 2014
  1. @b4n
Commits on Aug 3, 2013
  1. @codebrainz

    Markdown: Another try at fixing the scroll jumping

    codebrainz authored
    When typing fast the webview would jump to the top, which was super
    annoying. This is an attempt to fix the symptom but it doesn't really
    address the real cause. Thanks to "moebiuseye" for the patch.
Commits on Jun 17, 2013
  1. @eht16


    eht16 authored
Commits on Jun 16, 2013
  1. @eht16

    Add missing source file to Waf build

    eht16 authored
    The plugin built but did not load due to missing symbols without this change.
Commits on May 10, 2013
  1. @frlan

    Merge pull request #94 from codebrainz/markdown-gtk3

    frlan authored
    Markdown: Add support for GTK3
Commits on Apr 26, 2013
  1. @codebrainz

    Markdown: Remove built file markdown_parser.c

    codebrainz authored
    Add a plugin-specific .gitignore file containing `markdown_parser.c`
    and the built `leg` binary.
    Add an include directory for compiling the generated .c file with
    Waf. (I guess) because it's now using the built file in `_build_` dir
    instead of the `markdown_parser.c` that was checked-in.
Commits on Mar 19, 2013
  1. @codebrainz
Commits on Mar 10, 2013
  1. @eht16
  2. @eht16

    Be less aggressive when checking for the Discount library

    eht16 authored
    Instead of triggering an exception if Discount can not be found,
    expect it might not be available.
  3. @eht16

    Rename DEBUG macro to LEG_DEBUG in leg utility

    eht16 authored
    When DEBUG is defined, leg stops with a non-zero exit code after debug output
    which breaks the build. So rename the macro to not get leg's debug code
    activated by the common DEBUG macro but still keep the functionality with
Commits on Mar 7, 2013
  1. @eht16

    Improve Waf support for Markdown plugin

    eht16 authored
    Now the Discount library is checked first and used if available. The embedded markdown
    library is used as fallback.
Commits on Mar 4, 2013
  1. @b4n

    Markdown: Fix make dist

    b4n authored
  2. @codebrainz

    Markdown: Fix Waf to check/link to external Discount library

    codebrainz authored
    It makes no attempt to use the built-in peg-markdown library or add
    the configure option like Autotools has to enable using it. I have no
    idea how to do this in Waf.
  3. @b4n @codebrainz

    Markdown: Fix Autotools to support bundled peg-markdown

    b4n authored codebrainz committed
    Default is to try and use system's Discount library and if not
    available or configured with --enable-peg-markdown, use the
    bundled peg-markdown library.
  4. @codebrainz
  5. @codebrainz

    Markdown: Replace Discount Markdown library with peg-markdown

    codebrainz authored codebrainz committed
    Remove Discount due to stupid licensing issues. Apparently Discount's
    style of BSD license cannot be linked into a GPL software.
    Now using the much simpler but also much slower peg-markdown library.
    TODO: update Waf build system
Commits on Mar 1, 2013
  1. @codebrainz @frlan

    Rename Discount's config.h to discount-config.h

    codebrainz authored frlan committed
    Avoids a clash with Geany-Plugins config.h when using Waf.
    Signed-off-by: Frank Lanitz <>
Commits on Feb 26, 2013
  1. @codebrainz

    Markdown: Don't hardcode filename length

    codebrainz authored
    Fixes warning about PATH_MAX and is better anyway.
Commits on Feb 25, 2013
  1. @b4n

    Markdown: Fix I18N setup

    b4n authored
Commits on Feb 1, 2013
  1. @codebrainz
  2. @codebrainz

    Fix a few small bugs.

    codebrainz authored
    * Change 'uint' typo to 'guint'.
    * Change accidental hardcoded default_value.
    * Add wrapper function for g_object_class_install_properties since
      it's only available since GLIB 2.26.
    * Make PROP_O equal zero because it's always supposed to be zero.
Commits on Nov 16, 2012
  1. @b4n
Commits on Aug 27, 2012
  1. @frlan

    Merge pull request #71 from b4n/fixes/waf

    frlan authored
  2. @b4n
  3. @b4n
  4. @b4n

    markdown: Add to Waf build system

    b4n authored
Commits on Jul 17, 2012
  1. @codebrainz

    markdown: Fix possible crasher

    codebrainz authored
    Always ensure that the viewer's internal GString buffer is created
    just to be safe. Also ensure the viewer is always updated which will
    make sure the internal buffer is always created anyway.
  2. @codebrainz

    markdown: Update patch that shows changes made to Discount code

    codebrainz authored
    Mostly noisy but still makes it easier to see the changes made.
  3. @codebrainz

    markdown: Massive refactoring

    codebrainz authored
    * Make MarkdownViewer a GObject, and a subclass of WebKitWebView
    * A MarkdownViewer "has a" MarkdownConfig property
    * Optimize (somewhat) string handling/duplication also using changes
      to Discount code.
    * Main plugin code manages the scrolled window holding the
      MarkdownViewer and monitors the MarkdownViewer's MarkdownConfig
      for property changes to know when to move the scrolled window
      between the sidebar and message window notebooks.
    * Various other cleanups and changes
  4. @codebrainz

    markdown: Add code to Discount to return the internal buffer

    codebrainz authored
    This avoids the caller having to duplicate the internal string and
    works for the simple case of the Markdown plugin.
    Adds function `mkd_compile_document()` which simply compiles a const
    string to a newly-allocated string, hiding the little bit of extra
    code needed normally to do this.
    There's tons of noise in the commit because I had trailing whitespace
    stripping enabled and I re-indented some of the code to make it more
    readable (to me).
Commits on Jul 16, 2012
  1. @codebrainz
  2. @codebrainz
  3. @codebrainz

    markdown: Improve documentation

    codebrainz authored
    * Add rst README file
    * Add some useful screenshots
    * Add a generated HTML help file
    * Use the plugin_help() feature to load the HTML help file
    * Update build system to install help files
  4. @codebrainz
Something went wrong with that request. Please try again.