Skip to content

Instantly share code, notes, and snippets.

View codebrainz's full-sized avatar

Matthew Brush codebrainz

View GitHub Profile
#
# ╭─┬╮╭─┬─┬─┬┬╮ ╭┬─┬─┬─┬─┬─╮╭┬─╮
# ├╴│╰┼╴│╭┼╴├ ┤ ╭╯│││╶┤ │╶┤ ├╯│││
# │││╶┤││││││││ │││╶┤ │││ │││││╶┤
# ╰─┴─┴─┴╯╰─┴┴╯ ╰─┴─┴─┴─┴─┴─┴─┴─╯
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# ╭─┬╮╭─┬─┬─┬┬╮ ╭┬─┬─┬─┬─┬─╮╭┬─╮
# ├╴│╰┼╴│╭┼╴├ ┤ ╭╯│││╶┤ │╶┤ ├╯│││
# │││╶┤││││││││ │││╶┤ │││ │││││╶┤
# ╰─┴─┴─┴╯╰─┴┴╯ ╰─┴─┴─┴─┴─┴─┴─┴─╯
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# No explicit license or copyright info available but part of the
# `gedit-themes` project:
# https://github.com/mig/gedit-themes/blob/master/zenburn.xml
#
# Ported to Geany by Matthew Brush <matt(at)geany(dot)org>
#
[theme_info]
name=Nanna
Only in geanypy: aclocal.m4
Only in geany-plugins/geanypy: AUTHORS
Only in geanypy: autogen.sh
Only in geanypy: autom4te.cache
Only in geanypy: build-aux
Only in geany-plugins/geanypy: ChangeLog
Only in geanypy: config.log
Only in geanypy: config.status
Only in geanypy: configure
Only in geanypy: configure.ac
{
<libstdcxx_emergency_buffer>
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
...
fun:call_init.part.0
fun:call_init
fun:_dl_init
...
0000000000000680 <vStringStripLeading>:
680: 41 54 push %r12
682: 55 push %rbp
683: 53 push %rbx
684: 48 8b 2f mov (%rdi),%rbp
687: 48 85 ed test %rbp,%rbp
68a: 74 2e je 6ba <vStringStripLeading+0x3a>
68c: 49 89 fc mov %rdi,%r12
68f: 31 db xor %ebx,%ebx
691: e8 00 00 00 00 callq 696 <vStringStripLeading+0x16>
,IMMEDIATE,,,ABSOLUTE,,,ZERO PAGE,,,ACCUM.,,,IMPLIED,,,"(IND,X)",,,"(IND),Y",,,"Z,PAGE,X",,,"ABS,X",,,"ABS,Y",,,RELATIVE,,,INDIRECT,,,"Z,PAGE,Y",,,,,,,,
MNEMONIC,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,OP,N,#,N,Z,C,I,D,V
ADC,69,2,2,6D,4,3,65,3,2,,,,,,,61,6,2,71,5,2,75,4,2,7D,4,3,79,4,3,,,,,,,,,,✓,✓,✓,-,-,✓
AND,29,2,2,2D,4,3,25,3,2,,,,,,,21,6,2,31,5,2,35,4,2,3D,4,3,39,4,3,,,,,,,,,,✓,✓,-,-,-,-
ASL,,,,9E,6,3,6,5,2,0A,2,1,,,,,,,,,,16,6,2,1E,7,3,,,,,,,,,,,,,✓,✓,✓,-,-,-
BCC,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,99,2,2,,,,,,,-,-,-,-,-,-
BCS,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,B9,2,2,,,,,,,-,-,-,-,-,-
BEQ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,F0,2,2,,,,,,,-,-,-,-,-,-
BIT,,,,2C,4,3,24,3,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,✓,✓,-,-,-,✓
BMI,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,30,2,2,,,,,,,-,-,-,-,-,-
diff --git a/src/settings.c b/src/settings.c
index 96e0573..d620595 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -38,25 +38,24 @@
GSettings *geany_settings = NULL;
-static void on_sidebar_pos_left_changed(GSettings *settings, gchar *key, gpointer user_data)
+static void on_setting_changed(GSettings *settings, gchar *key, gpointer user_data)
@codebrainz
codebrainz / documentmanager.c
Last active September 12, 2016 14:31
Attaching arbitrary data to documents in a Geany plugin.
#include "documentmanager.h"
static GHashTable *geany_document_data = NULL;
static GData **geany_document_data_new(void)
{
GData **doc_data = g_slice_new0(GData*);
g_datalist_init(doc_data);
return doc_data;
}
@codebrainz
codebrainz / ax_libclang.m4
Created September 8, 2016 00:32
Checking for libclang with Autotools
########################################################################
# Usage: AX_LIBCLANG([min-abi], [min-api]) #
########################################################################
AC_DEFUN([AX_LIBCLANG],
[
#
# First try and use llvm-config if available, to add needed include and library paths
#