Commit graph

198 commits

Author SHA1 Message Date
Dana Jansens
1f614a70a5 Update version in configure.ac to 3.5.2
No library interfaces were changed since 3.5.1.
2013-08-11 21:26:08 -04:00
Dana Jansens
83e5323425 Update version to 3.5.1.
obrender broke backward compatibility by changing the layout of the
theme structure.

obt broke backward compatibility by changing the method signature of
some keyboard methods.

Both libraries added some new methods as well.
2013-08-10 23:42:20 -04:00
Dana Jansens
4e6c0086a6 Add support for loading SVG icons using librsvg.
This adds a configure option --disable-librsvg, but defaults to
using the library if it is present during configure.

When enabled, Openbox will attempt to load svg image files using
the library, similar to how Imlib2 is used for other image
formats.

Since librsvg uses the libXml2 library, their errors end up in
the same global namespace as Openbox config file parsing. To
avoid this, we reset the libXml current error whenever we start
loading a file, and save the last error that occurred when we
are finished, by storing the error in the ObtXmlInst.
2013-08-10 21:59:12 -04:00
Dana Jansens
5aad740a52 Quiet build outbut on by default 2011-10-26 10:48:04 -04:00
Mikael Magnusson
4ee0b6f88e Fix typo in configure.ac, noticed by hwoarang 2011-10-05 13:33:59 -04:00
Dana Jansens
2f38d883ea add --disable options for x extensions
so we can test compiling without them present
2011-08-01 16:14:38 -04:00
Mikael Magnusson
cc4e44e837 Link libraries directly to compile on some systems (debian).
If program (A) is linked to library (B) which is linked to library (C),
then A must also link C directly in order to use things from it directly.
2011-08-01 11:51:50 -04:00
Dana Jansens
be626ad7cf bump version to 3.5.0 and library versions 2011-08-01 11:25:55 -04:00
Dana Jansens
d3d96b572a Revert "add an inotify watcher for directories (doesnt work without inotify yet)"
This reverts commit c36b89ba12.
2011-01-24 14:18:09 -05:00
Dana Jansens
27ae9d65c8 fix make distcheck 2010-10-04 17:36:08 -04:00
Dana Jansens
c36b89ba12 add an inotify watcher for directories (doesnt work without inotify yet) 2010-06-14 12:19:01 -04:00
Dana Jansens
67bed35b7c add obt_paths_try_exec() that will see if an executable exists 2010-03-29 22:32:07 -04:00
Dana Jansens
1265a23e53 include imlib2 as a dep of obrender in the pkg-config file if it's using it 2010-02-12 15:13:39 -05:00
Dana Jansens
567fd15eeb Merge branch 'backport' into work
Conflicts:

	configure.ac
	data/rc.xml
	openbox/client.c
	openbox/event.c
	openbox/focus_cycle.c
	openbox/focus_cycle_popup.c
	openbox/openbox.c
	openbox/prop.c
	openbox/prop.h
	openbox/screen.c
	parser/parse.c
	version.h.in
2010-01-11 16:20:53 -05:00
Dana Jansens
91af4d5bc9 Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Add _OB_VERSION property on the root window.
Change _OB_ROLE/CLASS/NAME to _OB_APP_*.
Add _OB_APP_TYPE which has a string for the type chosen for the window on
  mapping by Openbox.
Adjust the rc.xml to match these changes.
2010-01-11 13:42:50 -05:00
Kadlcik Libor
0352abfa88 This patch implements support for icons in user-defined menus into Openbox
Image loading is done using the Imlib2 library.
I chose Imlib2 because it's pretty fast, it's easy to use, supports many file
formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it
depends :)).

I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much
better now, and icons can be disabled at compile time using --disable-imlib2
option.

What's new?
Syntax of configuration files (namely rc.xml and menu.xml) has been changed
slightly to allow users to associate icons to menu entries. This is done by
specifying path to icon file in the new "icon" attribute in "<item>" element,
e.g:
<item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm">
  <action name="Execute"><execute>x-terminal-emulator -T Vim -e
vim</execute></action>
</item>

If user doesn't want to display any icons in his user-defined menus, he/she can
disable icons in rc.xml, inside "<menu>" section:
<menu>
 ...
  <showIcons>no</showIcons>
 ...
</menu>
Default value is "yes".
(New boolean variable "config_menu_user_show_icons" has been added to source
code.)

An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is
created. Fortunately, I haven't notice any performance problems because of this
:).
2010-01-08 17:55:19 -05:00
Dana Jansens
ce24cbd045 check more headers before including them 2009-12-21 16:17:48 -05:00
Dana Jansens
7aae8cc526 Set up work for making a 3.5 prerelease.
Set version stuff to 3.5.0-rc1.
Copy the CHANGELOG from 3.4-working.
Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5
Rename the "render" directory to "obrender" so that the public headers can be
  installed in <obrender/*>
2009-12-21 14:08:34 -05:00
Mikael Magnusson
308478e4a5 Merge branch 'backport' into work
Conflicts:
	openbox/actions/desktop.c
	openbox/client.c
	openbox/event.c
	openbox/extensions.c
	openbox/popup.c
	openbox/screen.c
	parser/parse.c
2009-09-19 15:03:12 +02:00
Mikael Magnusson
b69ee77256 Don't replace ~ when we shouldn't
Bump glib req to 2.14 to get GRegex, now we only replace ~ with your
homedir in an action if it is (at the start of the string or preceded
by whitespace) and (at the end of the string or followed by (whitespace
or a slash)). (?:^|(?<=[ \t]))~(?=[/ \t$])

Fixes bug #4033.
2009-07-05 20:51:04 +02:00
Mikael Magnusson
661a53cb68 Don't need to explicitly check for xft. 2008-04-20 00:10:52 +02:00
Dana Jansens
de0873824e split the version.h into render/ and obt/ copies, with the appropriate version info 2008-02-02 15:59:44 -05:00
Dana Jansens
d57fd94394 increment the library version 1 so that it differs from the backport one, as they are actually different, and overwriting it sucks for obconf 2008-01-31 12:25:31 -05:00
Dana Jansens
fdabb69f4f update openbox to use the current parser interface in libobt
there is also some random bug fixes for other libobt stuff in here.
2008-01-20 01:36:55 -05:00
Dana Jansens
5960d27b1c setup versioning for libotk that is separate from libobrender (and libobparser for now), and bump library versions up to 4.0.
also make the render versioning more explicit that it's for the render library not all of openbox
2008-01-20 01:36:54 -05:00
Dana Jansens
ebce321a72 look mom, I made an openbox toolkit 2008-01-20 01:36:53 -05:00
Dana Jansens
662a6356c6 bump the library version 2007-07-22 11:17:52 -04:00
Dana Jansens
8756d41fd4 make the master branch's version very unique and fun 2007-07-19 14:36:13 -04:00
Dana Jansens
2dbd1fb6e8 bump version 2007-07-19 13:55:11 -04:00
Mikael Magnusson
3ba02608cf Require libstartup-notification 0.8 2007-07-16 13:59:54 +02:00
Dana Jansens
4b73574406 adding trunk
Signed-off-by: Dana Jansens <danakj@orodu.net>
2007-07-12 02:57:08 -04:00
Dana Jansens
ad4def8e52 check for damage and render extensions if going to use composite. require them for it. also include the cflags/libs. and only run the xcomposite stuff so far when the server supports it 2007-06-19 21:52:44 +00:00
Dana Jansens
d945813e08 check for the composite library 2007-06-19 21:28:28 +00:00
Dana Jansens
62ac5e57a1 bump version. fix library versions 2007-06-10 23:18:51 +00:00
Dana Jansens
268c13867d bump version 2007-06-07 22:40:46 +00:00
Dana Jansens
38feddd593 reset interface age, cuz we added something 2007-06-05 01:02:30 +00:00
Dana Jansens
948bd00bf5 3.4.0 2007-06-04 22:31:37 +00:00
Mikael Magnusson
c356d51a1e check for libxml 2.6.0 2007-05-31 20:04:58 +00:00
Dana Jansens
1a82c17dc1 set the new library versions cuz its not backward compat 2007-05-31 15:49:19 +00:00
Dana Jansens
264dd883ad missing a {
bump the version
2007-05-31 15:47:41 +00:00
Dana Jansens
98bc768a71 reset interface age 2007-05-28 13:38:06 +00:00
Dana Jansens
df50b6bbd4 bump the version 2007-05-26 20:37:03 +00:00
Dana Jansens
c371c6d4a3 bump the version 2007-05-25 21:42:28 +00:00
Dana Jansens
1eedc817c2 bump the version for 993 2007-05-25 19:20:20 +00:00
Dana Jansens
aa81b46ff3 bump the version to 992 2007-05-24 12:54:50 +00:00
Dana Jansens
9f74c1f79c bump the versions up 2007-05-22 05:00:34 +00:00
Dana Jansens
3cf852d5ac make the doc and data/xsession directories in configure.ac 2007-05-22 04:35:43 +00:00
Dana Jansens
275206bcc7 create the directories we need in the configure process 2007-05-22 04:27:20 +00:00
Dana Jansens
df948db3be i know we broke backwards compatibility but noone uses it except obconf and it still works, so just leave the pkgconfigs as -3.0, and obconf2 and require version >= 3.3.990 instead. 2007-05-19 01:33:40 +00:00
Dana Jansens
e77888ef17 change obrender-3.0 and obparser-3.0 to 3.4 because we broke backward compatibility 2007-05-18 00:58:43 +00:00