aboutsummaryrefslogtreecommitdiffstats
path: root/libmb
AgeCommit message (Collapse)Author
2016-07-08Keep an internal copy of xsettings-clientJussi Kukkonen
xsettings-client code was meant to be a copy-and-paste module, not a shared library. Grab a copy from git://anongit.freedesktop.org/xdg/xdg-specs and include it in the sources. Remove the build complications: always build with xsettings. The new files are MIT (old style) licensed: add a COPYING.MIT file. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-07-08Remove unused pointer dereferencesJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-07-08Use correct size with memset callsJussi Kukkonen
Found with -Wsizeof-pointer-memaccess. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-07-08Don't use deprecated XKeycodeToKeysymJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2013-09-02mbpixbuf: include setjmp.hRoss Burton
When PNG is disabled but JPEG is enabled nothing was including setjmp.h (usually done by libpng.h), so the compile failed. Include setjmp.h *after* mbpixbuf.h as libpng mandates that it gets to include setjmp.h and will error if it's already been included. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-08-14mbpixbuf: fix RGBA filling in mb_pixbuf_img_fillRoss Burton
2013-08-13build: use git.mk to manage ignoresRoss Burton
2013-08-13mbpixbuf: add mb_pixbuf_img_new_from_long_data()Ross Burton
On 64-bit hosts XLib gives you 32-bit values in longs, which means every element has 32-bits of padding. Add this function, almost identical to _from_int_data, that skips over the padding. Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-12-10libmb: unify include method in the headers1.10Ross Burton
2012-12-10build: use libla_la_CPPFLAGS instead of global AM_CFLAGSRoss Burton
2012-12-10mbutil: fix flow error in mb_want_warningsRoss Burton
2012-12-10Remove some unused variablesRoss Burton
2012-12-06mbpixbuf: fix build against libpng15Marko Lindqvist
Signed-off-by: Ross Burton <ross.burton@intel.com>
2011-07-11mbpixbuf: Fix 16b pixel calculationZhai, Edwin
Fix 16bit pixel handling to check byte ordering and remove "potentially dangerous" code handling the various orderings correctly instead. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-11mbexp.c: Fix matchbox start failure on x86_64Zhai, Edwin
matchbox environment start fail on x86-64 target, while ok on x86 target. Root cause is libmatchbox use "0"(int) as termination indicator when calling XftFontOpen, which in turn called FcPatternVapBuild(in fontconfig). It try to get the "0" as char* and fetch wrong value, as int and char* has different size on x86-64. This patch forces a NULL pointer as terminator to fix it. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2008-06-06* libmb/mbexp.c: (mb_util_next_utf8_char):hrw
Fixed length calculation for >8bit chars (CJKV). git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@2048 b067294f-1dea-0310-9683-c47a78595994
2007-04-30mbexp.c (_clip_some_text): speed up of Pango-based versiontf
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1531 b067294f-1dea-0310-9683-c47a78595994
2006-11-172006-11-17 Matthew Allum <mallum@openedhand.com>mallum
* libmb/Makefile.am: Fix typo switching XSET_CFLAGS <-> XSET_LIBS git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1424 b067294f-1dea-0310-9683-c47a78595994
2006-10-162006-10-16 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbexp.c: (mb_font_get_txt_width), (_render_some_text): Use logical rather than ink rects for pango extents. ( maemo #41691 ) git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1421 b067294f-1dea-0310-9683-c47a78595994
2006-08-302006-08-30 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbtray.c: (mb_tray_handle_xevent): Only handle exposes for tray window. Fixes issues when used with GTK. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1408 b067294f-1dea-0310-9683-c47a78595994
2006-08-042006-08-04 Matthew Allum <mallum@openedhand.com>mallum
* NEWS: * configure.ac: * libmb/Makefile.am: Bump up to 1.9 git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1372 b067294f-1dea-0310-9683-c47a78595994
2006-07-272006-07-27 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbutil.c: Fix mb_want_warning(s) typo git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1365 b067294f-1dea-0310-9683-c47a78595994
2006-07-262006-07-26 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbdotdesktop.c: * libmb/mbexp.c: * libmb/mbmenu.c: * libmb/mbpixbuf.c: * libmb/mbtray.c: * libmb/mbutil.c: * libmb/mbutil.h: Remove various non-critical stderr warnings. Make old behaviour reproduce-able via setting MB_WARNINGS env var. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1364 b067294f-1dea-0310-9683-c47a78595994
2006-06-092006-06-09 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbtray.c: (_init_docking): Set PID hint correctly. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1352 b067294f-1dea-0310-9683-c47a78595994
2006-03-072006-03-07 Matthew Allum <mallum@openedhand.com>mallum
* configure.ac: * libmb/Makefile.am: Bump up version to 1.8 git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1320 b067294f-1dea-0310-9683-c47a78595994
2006-02-072006-02-07 Matthew Allum <mallum@openedhand.com>mallum
* configure.ac: pkg-config file generation tweaks. * libmb/mbtray.c: fix a warning. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1306 b067294f-1dea-0310-9683-c47a78595994
2006-01-262006-01-26 Matthew Allum <mallum@openedhand.com>mallum
* libmb/Makefile.am: * libmb/mb.h: * libmb/mbmenu.c: (mb_menu_check_scroll_button): * libmb/mbtray.c: Fix xsettings never actually getting used :( A Little reformatting. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1301 b067294f-1dea-0310-9683-c47a78595994
2006-01-242006-01-24 Matthew Allum <mallum@openedhand.com>mallum
* libmb/hash.c: * libmb/mbdotdesktop.c: * libmb/mbexp.c: * libmb/mbexp.h: * libmb/mbmenu.c: * libmb/mbpixbuf.c: * libmb/mbtray.c: * libmb/mbutil.c: Fix various GCC 4 warnings git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1296 b067294f-1dea-0310-9683-c47a78595994
2006-01-232006-01-23 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbexp.c: (mb_font_new_from_string): Return NULL when font can not be set. fixes bug #64 * libmb/mbtray.c: (mb_tray_app_set_poll_timeout): * libmb/mbtray.h: Allow for timeout to be cleared. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1293 b067294f-1dea-0310-9683-c47a78595994
2006-01-192006-01-19 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbdotdesktop.c: (_parse_desktop_entry): Backout 2005-10-12 change, needs proper fix git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1291 b067294f-1dea-0310-9683-c47a78595994
2006-01-102006-01-10 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbpixbuf.c: (mb_pixbuf_new_extended): Detach SHM test correctly via patch from Tapani git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1286 b067294f-1dea-0310-9683-c47a78595994
2005-10-122005-10-12 Matthew Allum <mallum@openedhand.com>mallum
* libmb/mbdotdesktop.c: (_parse_desktop_entry): Hack to allow parsing of [icon theme] .desktop files git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1259 b067294f-1dea-0310-9683-c47a78595994
2005-09-26Safely handle a misconfigured Pangomallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1206 b067294f-1dea-0310-9683-c47a78595994
2005-08-262005-08-26 mallum <mallum@openedhand.com>mallum
* configure.ac: Tweak for people that try to compile without-x * libmb/mbexp.c: (_clip_some_text), (mb_font_render_simple): Dont put ellipses right after a space git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1192 b067294f-1dea-0310-9683-c47a78595994
2005-04-08bump up version to 1.7mallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1102 b067294f-1dea-0310-9683-c47a78595994
2005-03-30Fix potential overflow in xpm loadermallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1094 b067294f-1dea-0310-9683-c47a78595994
2005-03-28minor openbsd build fixesmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1092 b067294f-1dea-0310-9683-c47a78595994
2005-03-16 Add _GNU_SOURCE define to fix -DXOPEN_SOURCE issues.mallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1086 b067294f-1dea-0310-9683-c47a78595994
2005-02-22try_timeout\(\) fixmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1070 b067294f-1dea-0310-9683-c47a78595994
2005-01-24bump up sonamemallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1043 b067294f-1dea-0310-9683-c47a78595994
2005-01-11Add new x_pixel call. fix menu default fontmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1023 b067294f-1dea-0310-9683-c47a78595994
2005-01-10Fix an infinite loop/crasherross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1012 b067294f-1dea-0310-9683-c47a78595994
2005-01-07Revert composite changeross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1010 b067294f-1dea-0310-9683-c47a78595994
2005-01-07Fix a compile errorross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1009 b067294f-1dea-0310-9683-c47a78595994
2005-01-07Endianess fixmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1008 b067294f-1dea-0310-9683-c47a78595994
2005-01-07Stop code duplication in _img_composite and _img_copy_compositeross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1002 b067294f-1dea-0310-9683-c47a78595994
2005-01-07Documentation updatesross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@1001 b067294f-1dea-0310-9683-c47a78595994
2005-01-04Fix icon color odditiy on tray appsmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@994 b067294f-1dea-0310-9683-c47a78595994
2005-01-04Doxygen warnings fixedmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@989 b067294f-1dea-0310-9683-c47a78595994
2004-12-23See CHangelogmallum
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/libmatchbox@985 b067294f-1dea-0310-9683-c47a78595994