mikachu/openbox.git
12 years agoUpdate swedish translation.
Mikael Magnusson [Sun, 17 Feb 2008 15:38:22 +0000 (16:38 +0100)]
Update swedish translation.

12 years agoUpdate traditional chinese translation.
洪任諭 [Sun, 17 Feb 2008 15:35:52 +0000 (16:35 +0100)]
Update traditional chinese translation.

12 years agoUpdate swedish translation.
Mikael Magnusson [Sun, 17 Feb 2008 15:10:42 +0000 (16:10 +0100)]
Update swedish translation.

12 years ago() -> (void) also in .h files.
Mikael Magnusson [Fri, 15 Feb 2008 15:49:15 +0000 (16:49 +0100)]
() -> (void) also in .h files.

12 years ago() -> (void)
Mikael Magnusson [Fri, 15 Feb 2008 15:15:44 +0000 (16:15 +0100)]
() -> (void)

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Fri, 15 Feb 2008 06:07:54 +0000 (01:07 -0500)]
Merge branch 'backport' into 3.4-working

12 years agomake the frame iconify animation go right into the icon geometry area instead of...
Dana Jansens [Fri, 15 Feb 2008 06:07:15 +0000 (01:07 -0500)]
make the frame iconify animation go right into the icon geometry area instead of stopping before it

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Fri, 15 Feb 2008 05:56:45 +0000 (00:56 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoset the window type hint on menus to be "popup menus"
Dana Jansens [Fri, 15 Feb 2008 04:04:54 +0000 (23:04 -0500)]
set the window type hint on menus to be "popup menus"

12 years agobump the library version and reset the interface age, since render.h has changes...
Dana Jansens [Thu, 14 Feb 2008 21:07:40 +0000 (16:07 -0500)]
bump the library version and reset the interface age, since render.h has changes in it

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 14 Feb 2008 20:16:10 +0000 (15:16 -0500)]
Merge branch 'backport' into 3.4-working

Conflicts:

openbox/actions/focus.c

12 years agoavoid a compiler warning
Dana Jansens [Thu, 14 Feb 2008 20:11:25 +0000 (15:11 -0500)]
avoid a compiler warning

12 years agodon't use \n at the end of g_message strings
Dana Jansens [Thu, 14 Feb 2008 19:57:02 +0000 (14:57 -0500)]
don't use \n at the end of g_message strings

12 years agodon't reference free'd memory, and don't leak memory if the image cache is not saving...
Dana Jansens [Thu, 14 Feb 2008 02:30:18 +0000 (21:30 -0500)]
don't reference free'd memory, and don't leak memory if the image cache is not saving any resized pictures

12 years agouse g_message not g_print so it can go to the log
Dana Jansens [Wed, 13 Feb 2008 15:28:56 +0000 (10:28 -0500)]
use g_message not g_print so it can go to the log

12 years agopre-calc the sum of a picture added to an RrImage rather than calculating it every...
Dana Jansens [Wed, 13 Feb 2008 14:14:58 +0000 (09:14 -0500)]
pre-calc the sum of a picture added to an RrImage rather than calculating it every time

12 years agoadd a bunch of comments for images and image caches. and make the number of resized...
Dana Jansens [Wed, 13 Feb 2008 13:43:57 +0000 (08:43 -0500)]
add a bunch of comments for images and image caches.  and make the number of resized pictures saved in an image tunable per-icon cache.

12 years agowhen resizing images, pick a source image with the same aspect ratio if possible
Dana Jansens [Wed, 13 Feb 2008 03:29:23 +0000 (22:29 -0500)]
when resizing images, pick a source image with the same aspect ratio if possible

12 years agoIntroducing the icon cache.
Dana Jansens [Thu, 14 Feb 2008 09:47:49 +0000 (10:47 +0100)]
Introducing the icon cache.

If an icon is the same as one in the cache, then it uses that one.
icons of different sizes (from the same client) are linked together into
one, and resizes of icons are cached and linked to all the various sizes.
so you only need one icon in memory for all your terminals now. ya!

12 years agobackport the changes to render/ from the alttab branch (commit 3592046b2b26e05ee94c0d...
Dana Jansens [Thu, 14 Feb 2008 19:44:17 +0000 (14:44 -0500)]
backport the changes to render/ from the alttab branch (commit 3592046b2b26e05ee94c0dd0fed5b7fd5475c198) in master, as the iconcache changes depend on this

git show 3592046b -- render

12 years agoput the char member at the bottom of the struct so that it doesnt mess up alignment...
Mikael Magnusson [Thu, 14 Feb 2008 14:46:02 +0000 (15:46 +0100)]
put the char member at the bottom of the struct so that it doesnt mess up alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)

12 years agoobprompts do not have a stacking layer, as they don't appear directly in the stacking...
Dana Jansens [Thu, 14 Feb 2008 19:27:46 +0000 (14:27 -0500)]
obprompts do not have a stacking layer, as they don't appear directly in the stacking list

12 years agodraw a box inside the key-focused button in an ObPrompt. also fix rendering the...
Dana Jansens [Thu, 14 Feb 2008 18:10:33 +0000 (13:10 -0500)]
draw a box inside the key-focused button in an ObPrompt.  also fix rendering the buttons when they are parent-relative.

12 years agofix min-size calculations for lineart textures
Dana Jansens [Thu, 14 Feb 2008 17:31:51 +0000 (12:31 -0500)]
fix min-size calculations for lineart textures

12 years agomake ObPrompts resize and redraw correctly when reconfiguring and changing themes...
Dana Jansens [Thu, 14 Feb 2008 17:15:30 +0000 (12:15 -0500)]
make ObPrompts resize and redraw correctly when reconfiguring and changing themes with them open

12 years agodon't ping everything all the time. yay. ping when you close, and if it doesn't...
Dana Jansens [Tue, 12 Feb 2008 03:45:27 +0000 (22:45 -0500)]
don't ping everything all the time. yay.  ping when you close, and if it doesn't reply then show the kill prompt.   also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.

12 years agotell what signal is going to be sent to the client when killing through the dialog
Dana Jansens [Thu, 7 Feb 2008 06:46:40 +0000 (01:46 -0500)]
tell what signal is going to be sent to the client when killing through the dialog

12 years agouse the hover and press button colors (this was a bug)
Dana Jansens [Thu, 7 Feb 2008 06:36:05 +0000 (01:36 -0500)]
use the hover and press button colors (this was a bug)

12 years agowhen drawing and measuring strings in "flow" mode, don't ellipsize so that lines...
Dana Jansens [Thu, 7 Feb 2008 06:34:34 +0000 (01:34 -0500)]
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap

12 years agodon't kill our own ObPrompt windows with kill actions
Dana Jansens [Thu, 7 Feb 2008 06:29:02 +0000 (01:29 -0500)]
don't kill our own ObPrompt windows with kill actions

12 years agoif a prompt is already showing and you try show it again, then make it active. in...
Dana Jansens [Thu, 7 Feb 2008 06:03:05 +0000 (01:03 -0500)]
if a prompt is already showing and you try show it again, then make it active.  in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness

12 years agoprompt to kill windows when they are not responding
Dana Jansens [Thu, 7 Feb 2008 05:49:08 +0000 (00:49 -0500)]
prompt to kill windows when they are not responding

12 years agolet you specify return codes for the different buttons in a prompt, and specify a...
Dana Jansens [Thu, 7 Feb 2008 05:10:57 +0000 (00:10 -0500)]
let you specify return codes for the different buttons in a prompt, and specify a callback function for the prompt for when it is closed

12 years agoposition the buttons in the bottom right instead of centering them
Dana Jansens [Thu, 7 Feb 2008 04:47:38 +0000 (23:47 -0500)]
position the buttons in the bottom right instead of centering them

12 years agokey input works for ObPrompt windows now
Dana Jansens [Thu, 7 Feb 2008 04:44:15 +0000 (23:44 -0500)]
key input works for ObPrompt windows now

12 years agomake the prompt buttons respond to button presses. keyboard input code is there too...
Dana Jansens [Thu, 7 Feb 2008 04:33:02 +0000 (23:33 -0500)]
make the prompt buttons respond to button presses. keyboard input code is there too but not working yet.

12 years agoproperly place the msg texture
Dana Jansens [Thu, 7 Feb 2008 03:53:43 +0000 (22:53 -0500)]
properly place the msg texture

12 years agoMake ObPrompt windows get managed as clients, and make them able to reconfigure as...
Dana Jansens [Thu, 7 Feb 2008 03:49:55 +0000 (22:49 -0500)]
Make ObPrompt windows get managed as clients, and make them able to reconfigure as well.

12 years agogive prompts a border, and fix how they are laid out. and make them use the multi...
Dana Jansens [Thu, 7 Feb 2008 03:16:15 +0000 (22:16 -0500)]
give prompts a border, and fix how they are laid out. and make them use the multi-line text capabilities in render for the message

12 years agoallow font rendering to use multiple lines
Dana Jansens [Thu, 7 Feb 2008 03:12:54 +0000 (22:12 -0500)]
allow font rendering to use multiple lines

12 years agoyou can create dialog windows called "prompts" which have a message and some buttons...
Dana Jansens [Thu, 7 Feb 2008 02:35:55 +0000 (21:35 -0500)]
you can create dialog windows called "prompts" which have a message and some buttons!  they don't do anything interesting yet.

12 years agomake the internal window type more easily inheritable
Dana Jansens [Thu, 7 Feb 2008 00:40:21 +0000 (19:40 -0500)]
make the internal window type more easily inheritable

12 years agoupdate the indent style guidelines
Dana Jansens [Thu, 14 Feb 2008 02:11:05 +0000 (21:11 -0500)]
update the indent style guidelines

12 years agolet you match per-app settings based on the window type
Dana Jansens [Thu, 14 Feb 2008 01:53:25 +0000 (20:53 -0500)]
let you match per-app settings based on the window type

12 years agodon't force fake enter events while there is a grab on the pointer. this fixes focus...
Dana Jansens [Wed, 13 Feb 2008 15:19:52 +0000 (10:19 -0500)]
don't force fake enter events while there is a grab on the pointer.  this fixes focus switching during a move/resize from mouse-button-bound actions.

12 years agoturn the new openbox.png into the default icon.h
Dana Jansens [Wed, 13 Feb 2008 05:37:03 +0000 (00:37 -0500)]
turn the new openbox.png into the default icon.h

12 years ago_net_active_window shouldn't change desktop, is the general policy concensus.
Dana Jansens [Tue, 12 Feb 2008 03:11:46 +0000 (22:11 -0500)]
_net_active_window shouldn't change desktop, is the general policy concensus.

12 years agosplit menu overlap into x and y components
Dana Jansens [Tue, 12 Feb 2008 03:10:21 +0000 (22:10 -0500)]
split menu overlap into x and y components

12 years agospeed up the pyramid gradient using memcpy's. also make it not crash for 1px high...
Dana Jansens [Mon, 11 Feb 2008 06:15:06 +0000 (01:15 -0500)]
speed up the pyramid gradient using memcpy's.  also make it not crash for 1px high textures.

here are some sample profiling results.  pyramid2 is the new code

  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name

 58.78      1.54     1.54      255     6.04     6.04  gradient_pyramid1
 40.46      2.60     1.06      255     4.16     4.16  gradient_pyramid2

 54.88      2.25     2.25      504     4.46     4.46  gradient_pyramid1
 44.88      4.09     1.84      504     3.65     3.65  gradient_pyramid2

12 years agoremove an XXX comment, the sanity check seems to have worked out fine.
Dana Jansens [Sun, 10 Feb 2008 23:41:11 +0000 (18:41 -0500)]
remove an XXX comment, the sanity check seems to have worked out fine.

12 years agoforce the resize popup to be on-screen (not negative position)
Dana Jansens [Sun, 10 Feb 2008 23:30:07 +0000 (18:30 -0500)]
force the resize popup to be on-screen (not negative position)

12 years agoa small optimization for the vertical gradients, and use the same log(n) strategy...
Dana Jansens [Sun, 10 Feb 2008 23:08:05 +0000 (18:08 -0500)]
a small optimization for the vertical gradients, and use the same log(n) strategy to use less memcpy's for filling out the horizontal gradients

12 years agouse memcpy's to speed up vertical gradients too. split the fancy memcpy() code out...
Dana Jansens [Sun, 10 Feb 2008 22:06:18 +0000 (17:06 -0500)]
use memcpy's to speed up vertical gradients too.  split the fancy memcpy() code out into the repeat_pixel function.

12 years agouse memcpy's to make splitvertical gradient much faster - using log n memcpy's is...
Dana Jansens [Sun, 10 Feb 2008 21:49:16 +0000 (16:49 -0500)]
use memcpy's to make splitvertical gradient much faster - using log n memcpy's is much quicker than setting a pointer value n times

Here are some profiling results.  splitvertical1 is the original code, splitvertical2 is some slight improvements in locality for it, and splitvertical3 is the new O(log n) memcpy code

  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
 49.44      0.88     0.88     1063     0.83     0.83  gradient_splitvertical1
 47.19      1.72     0.84     1063     0.79     0.79  gradient_splitvertical2
  2.81      1.77     0.05     1063     0.05     0.05  gradient_splitvertical3

i also tested this with 'time' to draw 1000 gradients, and the new code used approximately half the user time, and finished 10 seconds quicker.  so yeah, it's magical and works well.

12 years agoadd --enable-gprof option for configure
Dana Jansens [Sun, 10 Feb 2008 20:06:38 +0000 (15:06 -0500)]
add --enable-gprof option for configure

12 years agomake rendertest exit cleanly when it is unmapped (iconify/desktopchange)
Dana Jansens [Sun, 10 Feb 2008 20:04:26 +0000 (15:04 -0500)]
make rendertest exit cleanly when it is unmapped (iconify/desktopchange)

12 years agotypo in comment
Mikael Magnusson [Sun, 10 Feb 2008 06:54:21 +0000 (07:54 +0100)]
typo in comment

12 years agoMake a pending ReplayPointer happen before moving/showing/hiding a window in an action.
Dana Jansens [Sat, 9 Feb 2008 23:48:56 +0000 (18:48 -0500)]
Make a pending ReplayPointer happen before moving/showing/hiding a window in an action.
Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.

12 years agoWrap the focus action in actions_client_move.
Mikael Magnusson [Fri, 8 Feb 2008 13:00:38 +0000 (14:00 +0100)]
Wrap the focus action in actions_client_move.

When alt-tabbing to iconified audacious and the playlist or eq window pops up under
the cursor, they "stole" focus from the main window.

12 years agoFix a minor issue with lastdesktop right after startup.
Mikael Magnusson [Sat, 9 Feb 2008 10:43:26 +0000 (11:43 +0100)]
Fix a minor issue with lastdesktop right after startup.

12 years agoUpdate dutch translation.
Mikael Magnusson [Tue, 12 Feb 2008 18:48:27 +0000 (19:48 +0100)]
Update dutch translation.

12 years agoapparently gnome has hidden gnome-settings-daemon in libexec, so put that in the...
Dana Jansens [Mon, 11 Feb 2008 18:30:40 +0000 (13:30 -0500)]
apparently gnome has hidden gnome-settings-daemon in libexec, so put that in the autostart.sh

12 years agomissing >/dev/null for a which statement
Dana Jansens [Mon, 11 Feb 2008 14:43:31 +0000 (09:43 -0500)]
missing >/dev/null for a which statement

12 years agousing () for a class that doesn't inherit breaks old python
Dana Jansens [Mon, 11 Feb 2008 14:40:24 +0000 (09:40 -0500)]
using () for a class that doesn't inherit breaks old python

12 years agogrammar hammer
Dana Jansens [Sun, 10 Feb 2008 07:06:46 +0000 (02:06 -0500)]
grammar hammer

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 10 Feb 2008 06:52:30 +0000 (01:52 -0500)]
Merge branch 'backport' into 3.4-working

12 years agomake white font shadows (negative shadowtint) work right.. this has been busted a...
Dana Jansens [Sun, 10 Feb 2008 06:51:34 +0000 (01:51 -0500)]
make white font shadows (negative shadowtint) work right.. this has been busted a long time. thank you nvidia.

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 10 Feb 2008 00:03:27 +0000 (19:03 -0500)]
Merge branch 'backport' into 3.4-working

12 years agomake xdg-autostart check for PyXDG and print a better error than a backtrace. and...
Dana Jansens [Sat, 9 Feb 2008 23:26:15 +0000 (18:26 -0500)]
make xdg-autostart check for PyXDG and print a better error than a backtrace.  and make the executing actually work

12 years agomake an xdg-autostart script. it is very fancy.
Dana Jansens [Sat, 9 Feb 2008 23:14:18 +0000 (18:14 -0500)]
make an xdg-autostart script.  it is very fancy.

12 years agoUpdate swedish translation.
Mikael Magnusson [Sat, 9 Feb 2008 08:42:31 +0000 (09:42 +0100)]
Update swedish translation.
NB: using 3.4.6.1 to mean the --config-file translation is included and 3.4.6 for everything before that.

12 years agoUpdate czech translation.
Martin Sova [Sat, 9 Feb 2008 08:38:28 +0000 (09:38 +0100)]
Update czech translation.

12 years agoDon't bother setting screen_last_desktop here, it's inited in screen_startup anyway.
Mikael Magnusson [Fri, 8 Feb 2008 09:22:57 +0000 (10:22 +0100)]
Don't bother setting screen_last_desktop here, it's inited in screen_startup anyway.

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Wed, 6 Feb 2008 14:22:29 +0000 (09:22 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoadd the position's force attribute to the default rc.xml and xsd
Dana Jansens [Wed, 6 Feb 2008 14:22:04 +0000 (09:22 -0500)]
add the position's force attribute to the default rc.xml and xsd

12 years agochangelog updates for 3.4.6.1 release-3.4.6.1
Dana Jansens [Tue, 5 Feb 2008 17:46:06 +0000 (12:46 -0500)]
changelog updates for 3.4.6.1

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Tue, 5 Feb 2008 17:39:12 +0000 (12:39 -0500)]
Merge branch 'backport' into 3.4-working

12 years agodon't crash when using <raise> and alt-tab and there are no windows to cycle between
Dana Jansens [Fri, 1 Feb 2008 06:56:37 +0000 (01:56 -0500)]
don't crash when using <raise> and alt-tab and there are no windows to cycle between

12 years agothe title_focused_shadow_color is being set twice, and being overridden by the osd...
Dana Jansens [Tue, 5 Feb 2008 05:07:26 +0000 (00:07 -0500)]
the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture)

12 years agoAdd the manageDesktops option.
Mikael Magnusson [Sun, 3 Feb 2008 15:53:33 +0000 (16:53 +0100)]
Add the manageDesktops option.

12 years agomake the menu headers show their correct text
Dana Jansens [Sun, 3 Feb 2008 23:45:40 +0000 (18:45 -0500)]
make the menu headers show their correct text

12 years agoupdate changelog
Dana Jansens [Sun, 3 Feb 2008 03:19:40 +0000 (22:19 -0500)]
update changelog

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 3 Feb 2008 23:39:08 +0000 (18:39 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoignore fake generated enters if they are in the serial-ignore-range too
Dana Jansens [Sun, 3 Feb 2008 14:29:05 +0000 (09:29 -0500)]
ignore fake generated enters if they are in the serial-ignore-range too

12 years agoallow you to force the position of windows with rc.xml's per-app settings with the...
Dana Jansens [Sat, 2 Feb 2008 21:50:55 +0000 (16:50 -0500)]
allow you to force the position of windows with rc.xml's per-app settings with the force="yes" attribute

12 years agowhen focusing or raising a window which is modal child for a direct parent, raise...
Dana Jansens [Sun, 3 Feb 2008 03:17:32 +0000 (22:17 -0500)]
when focusing or raising a window which is modal child for a direct parent, raise its parent and move it to the top of the stacking order too, ie. treat them like one window (this is already done elsewhere, like when moving between desktops for example)

12 years agounused variable
Dana Jansens [Sun, 3 Feb 2008 03:09:52 +0000 (22:09 -0500)]
unused variable

12 years agoimprove comment
Dana Jansens [Sun, 3 Feb 2008 03:07:21 +0000 (22:07 -0500)]
improve comment

12 years agosetup for a 3.4.6.1 release, with updated clearlooks theme
Dana Jansens [Sat, 2 Feb 2008 22:17:55 +0000 (17:17 -0500)]
setup for a 3.4.6.1 release, with updated clearlooks theme

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sat, 2 Feb 2008 22:13:27 +0000 (17:13 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoupdated clearlooks theme from mulberry
Dana Jansens [Sat, 2 Feb 2008 22:06:24 +0000 (17:06 -0500)]
updated clearlooks theme from mulberry

12 years agoRemove unused variable.
Mikael Magnusson [Sat, 26 Jan 2008 17:42:31 +0000 (18:42 +0100)]
Remove unused variable.

12 years agoerroneous comment
Dana Jansens [Sat, 2 Feb 2008 19:29:08 +0000 (14:29 -0500)]
erroneous comment

12 years agoMerge branch 'backport' into 3.4-working release-3.4.6
Dana Jansens [Sat, 2 Feb 2008 17:59:35 +0000 (12:59 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoupdate the po files as they appear in 3.4.6 with the new strings
Dana Jansens [Sat, 2 Feb 2008 17:59:23 +0000 (12:59 -0500)]
update the po files as they appear in 3.4.6 with the new strings

12 years agobump the library versions for 3.4.6
Dana Jansens [Sat, 2 Feb 2008 16:55:48 +0000 (11:55 -0500)]
bump the library versions for 3.4.6

12 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sat, 2 Feb 2008 16:22:24 +0000 (11:22 -0500)]
Merge branch 'backport' into 3.4-working

12 years agoif windows on screen are going to be moved, then do the ReplayPointer before that...
Dana Jansens [Sat, 2 Feb 2008 16:22:17 +0000 (11:22 -0500)]
if windows on screen are going to be moved, then do the ReplayPointer before that occurs, so it goes to the right window.  if they are not, then just wait until after the actions are run (for kdesktop's sake really)

12 years agocomment typo
Dana Jansens [Sat, 2 Feb 2008 16:01:14 +0000 (11:01 -0500)]
comment typo

12 years agoupdate changelog
Dana Jansens [Sat, 2 Feb 2008 15:49:39 +0000 (10:49 -0500)]
update changelog