manmower/openbox.git
11 years agounlink the log file when opening it so you get a new file master
Dana Jansens [Mon, 28 Jan 2008 15:21:29 +0000 (10:21 -0500)]
unlink the log file when opening it so you get a new file

11 years agoFix a memleak. (unref ObtPaths)
Mikael Magnusson [Fri, 25 Jan 2008 15:10:30 +0000 (16:10 +0100)]
Fix a memleak. (unref ObtPaths)

11 years agomake ob_debug use the g_log system, and make openbox log messages to..a log file...
Dana Jansens [Sun, 20 Jan 2008 17:36:42 +0000 (12:36 -0500)]
make ob_debug use the g_log system, and make openbox log messages to..a log file ! this will help everyone since most people do not run openbox in a terminal..

11 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 31 Jan 2008 17:36:06 +0000 (12:36 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/client.c
openbox/config.c
openbox/event.c
openbox/extensions.c
openbox/focus_cycle_indicator.c
openbox/focus_cycle_popup.c
openbox/menuframe.c
openbox/moveresize.c
openbox/openbox.c
openbox/screen.c
openbox/stacking.c
openbox/startupnotify.c

11 years agodon't deiconify windows on reconfigure if they cant be iconified directly. stop...
Dana Jansens [Mon, 28 Jan 2008 14:59:45 +0000 (09:59 -0500)]
don't deiconify windows on reconfigure if they cant be iconified directly.  stop managing windows in reverse order on restart it messes up the dock among other things

11 years agodon't check for the root window in the window hash tables. waste of cpu
Dana Jansens [Thu, 24 Jan 2008 19:41:46 +0000 (14:41 -0500)]
don't check for the root window in the window hash tables. waste of cpu

11 years agobe explicit than automake 1.9 is needed
Dana Jansens [Tue, 22 Jan 2008 19:22:55 +0000 (14:22 -0500)]
be explicit than automake 1.9 is needed

11 years agoFix a typo that broke transient window hints.
Mikael Magnusson [Mon, 21 Jan 2008 10:47:51 +0000 (11:47 +0100)]
Fix a typo that broke transient window hints.

11 years agoincrement the library version 1 so that it differs from the backport one, as they...
Dana Jansens [Tue, 22 Jan 2008 05:19:24 +0000 (00:19 -0500)]
increment the library version 1 so that it differs from the backport one, as they are actually different, and overwriting it sucks for obconf

11 years agodon't assert when you window_find(0)/dockapp_find(0), just return 0
Dana Jansens [Thu, 31 Jan 2008 15:18:35 +0000 (10:18 -0500)]
don't assert when you window_find(0)/dockapp_find(0), just return 0

11 years agoUse the # directive to simplify defines.
Mikael Magnusson [Sun, 20 Jan 2008 16:41:22 +0000 (17:41 +0100)]
Use the # directive to simplify defines.

11 years agoput openbox saved sessions in CACHE_HOME not DATA_HOME. more correct! i think.
Dana Jansens [Sun, 20 Jan 2008 17:48:11 +0000 (12:48 -0500)]
put openbox saved sessions in CACHE_HOME not DATA_HOME.  more correct! i think.

11 years agosimplify window.h macros, and rename the window types to ObWindowClass for consistent...
Dana Jansens [Thu, 31 Jan 2008 15:00:10 +0000 (10:00 -0500)]
simplify window.h macros, and rename the window types to ObWindowClass for consistent name style

11 years agomake an obt_root() macro
Dana Jansens [Thu, 31 Jan 2008 14:56:59 +0000 (09:56 -0500)]
make an obt_root() macro

11 years agoxerror.c is gone
Dana Jansens [Sun, 20 Jan 2008 16:27:35 +0000 (11:27 -0500)]
xerror.c is gone

11 years agoits OBT_VERSION not OB_VERSION anymore
Dana Jansens [Sun, 20 Jan 2008 16:26:32 +0000 (11:26 -0500)]
its OBT_VERSION not OB_VERSION anymore

11 years agoadd support for XDG_CACHE_HOME to the obt paths
Dana Jansens [Sun, 20 Jan 2008 15:29:09 +0000 (10:29 -0500)]
add support for XDG_CACHE_HOME to the obt paths

11 years agomake menu event handling work more like how other events are handled, less special...
Dana Jansens [Sun, 20 Jan 2008 08:33:51 +0000 (03:33 -0500)]
make menu event handling work more like how other events are handled, less special-casey

11 years agouse -ggdb not -g3, as g3 breaks things
Dana Jansens [Sun, 20 Jan 2008 08:19:20 +0000 (03:19 -0500)]
use -ggdb not -g3, as g3 breaks things

11 years agomake the window.h interface more consistent with the rest of openbox, hide the window...
Dana Jansens [Sun, 20 Jan 2008 07:56:12 +0000 (02:56 -0500)]
make the window.h interface more consistent with the rest of openbox, hide the window_map behind some functions, and make obdockapps not obwindows anymore

11 years agodon't deiconify windows on reconfigure if they cant be iconified directly. stop...
Dana Jansens [Mon, 28 Jan 2008 14:59:45 +0000 (09:59 -0500)]
don't deiconify windows on reconfigure if they cant be iconified directly.  stop managing windows in reverse order on restart it messes up the dock among other things

11 years agoMark translations without the new desktop number mismatch message as 3.4.5.
Mikael Magnusson [Tue, 29 Jan 2008 13:04:31 +0000 (14:04 +0100)]
Mark translations without the new desktop number mismatch message as 3.4.5.
Update swedish translation with them.

 [ I mistakenly originally made this commit on 3.4-working (commit
   7f514044f7fb8f5c2948d9b3da837a9b46717ee5) so the changes got lost on a
   subsequent merge from backport when we usually overwrite po/. ]

11 years agoUpdate norwegian translation.
Michael Kjelbergvik Thung [Tue, 29 Jan 2008 12:54:40 +0000 (13:54 +0100)]
Update norwegian translation.

11 years agoreordering things when mapping windows a little to work with iconified windows with...
Dana Jansens [Mon, 28 Jan 2008 05:26:13 +0000 (00:26 -0500)]
reordering things when mapping windows a little to work with iconified windows with iconified toolbars on restart. (e.g. ooffice)

11 years agofix a rare assert condition (window maps in iconic state but is not allowed to be...
Dana Jansens [Mon, 28 Jan 2008 01:26:29 +0000 (20:26 -0500)]
fix a rare assert condition (window maps in iconic state but is not allowed to be iconic)

11 years agoChange <placeOn> to <monitor>.
Mikael Magnusson [Sun, 27 Jan 2008 20:03:55 +0000 (21:03 +0100)]
Change <placeOn> to <monitor>.

11 years agoreplace the <active> placement option with <placeOn>active/mouse/any</placeOn>
Dana Jansens [Sun, 27 Jan 2008 16:31:23 +0000 (11:31 -0500)]
replace the <active> placement option with <placeOn>active/mouse/any</placeOn>

11 years agoget rid of copying the rrappearances for each menu frame, except for the one that...
Dana Jansens [Sun, 27 Jan 2008 09:59:39 +0000 (04:59 -0500)]
get rid of copying the rrappearances for each menu frame, except for the one that is actually useful

11 years agoignore the built tests and some extra po/ generated junk
Dana Jansens [Sun, 27 Jan 2008 09:13:38 +0000 (04:13 -0500)]
ignore the built tests and some extra po/ generated junk

11 years agouse setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory...
Dana Jansens [Sun, 27 Jan 2008 08:48:49 +0000 (03:48 -0500)]
use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks

11 years agomake horizontal gradients faster by not jumping around in memory as much
Dana Jansens [Sun, 27 Jan 2008 08:36:26 +0000 (03:36 -0500)]
make horizontal gradients faster by not jumping around in memory as much

11 years agowindow a window stops responding to pings, don't use the xsync protocol while resizin...
Dana Jansens [Sun, 27 Jan 2008 08:17:50 +0000 (03:17 -0500)]
window a window stops responding to pings, don't use the xsync protocol while resizing it - its not going to be responding to it anyways

11 years agoonly store icons for windows that are 64px or smaller, as we don't have need for...
Dana Jansens [Sun, 27 Jan 2008 08:14:35 +0000 (03:14 -0500)]
only store icons for windows that are 64px or smaller, as we don't have need for any bigger icons at this time.  unless they only provide icons bigger than that, then just store one of them (the smallest)

11 years agowe alloc theme elements for every window frame, but really it is unneccesary
Dana Jansens [Sun, 27 Jan 2008 07:53:26 +0000 (02:53 -0500)]
we alloc theme elements for every window frame, but really it is unneccesary

11 years agoadd a missing #include
Dana Jansens [Sun, 27 Jan 2008 07:41:21 +0000 (02:41 -0500)]
add a missing #include

11 years agowhen ignoring enter events, only ignore up to the current serial (NextRequest()-1...
Dana Jansens [Sat, 26 Jan 2008 18:36:20 +0000 (13:36 -0500)]
when ignoring enter events, only ignore up to the current serial (NextRequest()-1).  Don't ignore enters that come after this with the next serial.

11 years agocreate fake enter events for button press bindings. only swallow enter events when...
Dana Jansens [Sat, 26 Jan 2008 18:25:03 +0000 (13:25 -0500)]
create fake enter events for button press bindings.  only swallow enter events when focus.undermouse is not on (for non-mouse actions)

11 years agoRemove a fuzzy translation.
Mikael Magnusson [Sat, 26 Jan 2008 17:43:02 +0000 (18:43 +0100)]
Remove a fuzzy translation.

11 years agoAdd a few missing includes and remove a stray debug printf.
Mikael Magnusson [Sat, 26 Jan 2008 17:25:32 +0000 (18:25 +0100)]
Add a few missing includes and remove a stray debug printf.

11 years agoonly add borders and stuff to the dock's size if it is holding anything. otherwise...
Dana Jansens [Sat, 26 Jan 2008 06:17:56 +0000 (01:17 -0500)]
only add borders and stuff to the dock's size if it is holding anything.  otherwise it gets a non-zero size which messes with resistence/placement/etc

11 years agofix a memleak in client_update_icon_geometry
Dana Jansens [Fri, 25 Jan 2008 15:32:39 +0000 (10:32 -0500)]
fix a memleak in client_update_icon_geometry

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:29:49 +0000 (10:29 -0500)]
fix a mem leak

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:27:44 +0000 (10:27 -0500)]
fix a mem leak

11 years agoCreate fake enter events in fewer situations - avoiding times that you don't actually...
Dana Jansens [Fri, 25 Jan 2008 15:20:21 +0000 (10:20 -0500)]
Create fake enter events in fewer situations - avoiding times that you don't actually want them.  Ignore event serials without using XSync, so that we aren't doing an XSync 100 times per minute - slow!

11 years agoFix some memleaks.
Mikael Magnusson [Fri, 25 Jan 2008 11:53:43 +0000 (12:53 +0100)]
Fix some memleaks.

missing RrFontClose for osd_font in two places.
missing a g_free(area);

11 years agoskip enter events caused by temporarily raising windows during alt-tab. also caused...
Dana Jansens [Fri, 25 Jan 2008 05:35:31 +0000 (00:35 -0500)]
skip enter events caused by temporarily raising windows during alt-tab.  also caused by the focus cycle indicator moving

11 years agoadd SessionManaged to the gnome wm-props.desktop thinger like metacity has in its
Dana Jansens [Fri, 25 Jan 2008 05:26:25 +0000 (00:26 -0500)]
add SessionManaged to the gnome wm-props.desktop thinger like metacity has in its

11 years agoadd the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4
Dana Jansens [Fri, 25 Jan 2008 04:05:58 +0000 (23:05 -0500)]
add the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4

11 years agostrip non-modifier masks from the keyboard state for keyreleases when xkb is present too
Dana Jansens [Fri, 25 Jan 2008 01:19:33 +0000 (20:19 -0500)]
strip non-modifier masks from the keyboard state for keyreleases when xkb is present too

11 years agoUpdate portuguese translation.
Mikael Magnusson [Tue, 22 Jan 2008 21:18:00 +0000 (22:18 +0100)]
Update portuguese translation.

11 years agoUpdate brasilian portuguese translation.
Og Maciel [Tue, 22 Jan 2008 20:42:27 +0000 (21:42 +0100)]
Update brasilian portuguese translation.

11 years agoUpdate russian translation, by Snelius.
Mikael Magnusson [Tue, 22 Jan 2008 07:00:20 +0000 (08:00 +0100)]
Update russian translation, by Snelius.

11 years agoprint a warning when the session has a different number of desktops than the openbox...
Dana Jansens [Tue, 22 Jan 2008 17:54:53 +0000 (12:54 -0500)]
print a warning when the session has a different number of desktops than the openbox config

11 years agouse the <wmclass> for startup notfication in the execute action. when present don...
Dana Jansens [Tue, 22 Jan 2008 03:27:03 +0000 (22:27 -0500)]
use the <wmclass> for startup notfication in the execute action. when present don't use the check against the binary.

11 years agoFix two typos in comments in rc.xml
Mikael Magnusson [Mon, 21 Jan 2008 11:14:30 +0000 (12:14 +0100)]
Fix two typos in comments in rc.xml

11 years agoonly unset the startup_desktop_id once, and dont free the string we pass to putenv
Dana Jansens [Sun, 20 Jan 2008 23:34:26 +0000 (18:34 -0500)]
only unset the startup_desktop_id once, and dont free the string we pass to putenv

11 years agocheck them startupnotify-provided wmclass against both parts of a window's wm_class...
Dana Jansens [Sun, 20 Jan 2008 14:52:10 +0000 (09:52 -0500)]
check them startupnotify-provided wmclass against both parts of a window's wm_class hint, as the spec doth say so.

11 years agomake the obt library branch compile again with all the changes merged in from backport
Dana Jansens [Sun, 20 Jan 2008 06:34:58 +0000 (01:34 -0500)]
make the obt library branch compile again with all the changes merged in from backport

11 years agolet you make an xevent listener for all windows
Dana Jansens [Sat, 28 Jul 2007 20:14:57 +0000 (16:14 -0400)]
let you make an xevent listener for all windows

11 years agomake the xevent stuff work for events from extensions (these go beyond LASTEvent)
Dana Jansens [Sat, 28 Jul 2007 20:10:31 +0000 (16:10 -0400)]
make the xevent stuff work for events from extensions (these go beyond LASTEvent)

11 years agoadd the xevent callback system to libobt in xevent.[ch]
Dana Jansens [Sat, 28 Jul 2007 20:01:21 +0000 (16:01 -0400)]
add the xevent callback system to libobt in xevent.[ch]

11 years agomake the mainloop not depend on an X display, and make it uses the obt_display automa...
Dana Jansens [Sat, 28 Jul 2007 19:38:29 +0000 (15:38 -0400)]
make the mainloop not depend on an X display, and make it uses the obt_display automatically

11 years agoinitialize the lists to NULL (empty)
Dana Jansens [Sat, 28 Jul 2007 19:38:02 +0000 (15:38 -0400)]
initialize the lists to NULL (empty)

11 years agomove the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Dana Jansens [Sat, 28 Jul 2007 15:38:53 +0000 (11:38 -0400)]
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it

11 years agosmall api change for parsing
Dana Jansens [Sat, 28 Jul 2007 14:56:21 +0000 (10:56 -0400)]
small api change for parsing

11 years agowas using random memory for parsing pipe menus with the new parse api
Dana Jansens [Sat, 28 Jul 2007 14:44:55 +0000 (10:44 -0400)]
was using random memory for parsing pipe menus with the new parse api

11 years agofix constness
Dana Jansens [Fri, 27 Jul 2007 05:44:12 +0000 (01:44 -0400)]
fix constness

11 years agos/xmlChildrenNode/children/
Dana Jansens [Fri, 27 Jul 2007 05:42:37 +0000 (01:42 -0400)]
s/xmlChildrenNode/children/

11 years agoadd obt_parse_tree_from_root and use it, cuz it's nice
Dana Jansens [Fri, 27 Jul 2007 05:40:30 +0000 (01:40 -0400)]
add obt_parse_tree_from_root and use it, cuz it's nice

11 years agoupdate openbox to use the current parser interface in libobt
Dana Jansens [Fri, 27 Jul 2007 05:37:28 +0000 (01:37 -0400)]
update openbox to use the current parser interface in libobt

there is also some random bug fixes for other libobt stuff in here.

11 years agoadd parsing to libobt with a new API! (it is not completely changed/fixedup yet)
Dana Jansens [Fri, 27 Jul 2007 03:48:53 +0000 (23:48 -0400)]
add parsing to libobt with a new API! (it is not completely changed/fixedup yet)

11 years agochange openbox to use the libotk's keyboard.[ch] stuff instead of the old modkeys...
Dana Jansens [Fri, 27 Jul 2007 02:05:53 +0000 (22:05 -0400)]
change openbox to use the libotk's keyboard.[ch] stuff instead of the old modkeys.[ch] and some of translate.[ch]

11 years agoadd keyboard.[ch] to libobt. these are for tracking modifier keys, and translating...
Dana Jansens [Fri, 27 Jul 2007 01:56:42 +0000 (21:56 -0400)]
add keyboard.[ch] to libobt. these are for tracking modifier keys, and translating to/from keycodes/keysyms/modmasks (also include a new obt/internal.h for putting functions that are not public)

11 years agoadd functions for setting locale strings (on top of existing functions for setting...
Dana Jansens [Fri, 27 Jul 2007 01:40:47 +0000 (21:40 -0400)]
add functions for setting locale strings (on top of existing functions for setting utf8 strings). they are untested though! wonder if they work?

11 years agoignore the new 4.0 pkgconfig files
Dana Jansens [Fri, 27 Jul 2007 01:12:35 +0000 (21:12 -0400)]
ignore the new 4.0 pkgconfig files

11 years agomake openbox use the obt prop.c/h stuff
Dana Jansens [Fri, 27 Jul 2007 01:11:59 +0000 (21:11 -0400)]
make openbox use the obt prop.c/h stuff

holy search and replace batman

11 years agos/ob_display/obt_display/ and remove ob_display
Dana Jansens [Fri, 27 Jul 2007 00:12:39 +0000 (20:12 -0400)]
s/ob_display/obt_display/ and remove ob_display

11 years agoadd prop.[ch] to the libobt, but they are not used yet. add a global obt_display...
Dana Jansens [Fri, 27 Jul 2007 00:03:31 +0000 (20:03 -0400)]
add prop.[ch] to the libobt, but they are not used yet. add a global obt_display which obt can use, and the application.

11 years agosetup versioning for libotk that is separate from libobrender (and libobparser for...
Dana Jansens [Thu, 26 Jul 2007 09:21:12 +0000 (05:21 -0400)]
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

11 years agomove the code for tracking what extensions are available on the display into the...
Dana Jansens [Tue, 24 Jul 2007 01:32:31 +0000 (21:32 -0400)]
move the code for tracking what extensions are available on the display into the libobt

11 years agoadd G_BEGIN/END_DECLS to the mainloop header
Dana Jansens [Tue, 24 Jul 2007 01:05:50 +0000 (21:05 -0400)]
add G_BEGIN/END_DECLS to the mainloop header

11 years agomove the xerror handling into the libobt
Dana Jansens [Tue, 24 Jul 2007 00:55:19 +0000 (20:55 -0400)]
move the xerror handling into the libobt

11 years agoMove the main loop out into the libobt
Dana Jansens [Tue, 24 Jul 2007 00:22:28 +0000 (20:22 -0400)]
Move the main loop out into the libobt

11 years agomore precise includes
Dana Jansens [Mon, 23 Jul 2007 21:52:29 +0000 (17:52 -0400)]
more precise includes

11 years agosplit the header up for obt
Dana Jansens [Mon, 23 Jul 2007 21:51:54 +0000 (17:51 -0400)]
split the header up for obt

11 years agolook mom, I made an openbox toolkit
Dana Jansens [Mon, 23 Jul 2007 21:42:08 +0000 (17:42 -0400)]
look mom, I made an openbox toolkit

11 years agoMerge branch 'backport'
Dana Jansens [Sun, 20 Jan 2008 06:36:43 +0000 (01:36 -0500)]
Merge branch 'backport'

11 years agoputenv wants a char*, not a const
Dana Jansens [Sun, 20 Jan 2008 06:36:37 +0000 (01:36 -0500)]
putenv wants a char*, not a const

11 years agoMerge branch 'backport'
Dana Jansens [Sun, 20 Jan 2008 04:59:40 +0000 (23:59 -0500)]
Merge branch 'backport'

11 years agoUpdate Basque translation.
Inko Illarramendi Arancibia [Sat, 19 Jan 2008 13:36:42 +0000 (14:36 +0100)]
Update Basque translation.

11 years agoUpdate simplified chinese translation.
Shaodong Di [Fri, 18 Jan 2008 14:04:50 +0000 (15:04 +0100)]
Update simplified chinese translation.

11 years agoUpdate finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 22:14:22 +0000 (23:14 +0100)]
Update finnish translation.

11 years agoUpdate vietnamese translation.
Quan Tran [Thu, 17 Jan 2008 22:10:36 +0000 (23:10 +0100)]
Update vietnamese translation.

11 years agoUpdate french translation.
Cyrille Bagard [Thu, 17 Jan 2008 21:55:01 +0000 (22:55 +0100)]
Update french translation.

11 years agoUpdate german translation.
Finn Zirngibl [Thu, 17 Jan 2008 21:51:17 +0000 (22:51 +0100)]
Update german translation.

11 years agoSome .c files that had translatable strings were not in POTFILES.in.
Mikael Magnusson [Thu, 17 Jan 2008 21:20:53 +0000 (22:20 +0100)]
Some .c files that had translatable strings were not in POTFILES.in.

Swedish translation is updated with all new strings.

11 years agoFixes to finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 21:02:29 +0000 (22:02 +0100)]
Fixes to finnish translation.

11 years agoRemove leftover config_four_corners from config.c.
Mikael Magnusson [Wed, 16 Jan 2008 14:58:24 +0000 (15:58 +0100)]
Remove leftover config_four_corners from config.c.

11 years agomake the ping hash tables work correctly. don't need to stop pinging, it will automa...
Dana Jansens [Thu, 17 Jan 2008 00:21:42 +0000 (19:21 -0500)]
make the ping hash tables work correctly.  don't need to stop pinging, it will automatically.  and not all windows get pings, even tho we get notified that they are being destroyed

11 years agoonly 1 hash table is needed in ping.c
Dana Jansens [Wed, 16 Jan 2008 23:53:15 +0000 (18:53 -0500)]
only 1 hash table is needed in ping.c