]>
Dogcows Code - chaz/openbox/log
Mikael Magnusson [Mon, 10 Nov 2008 22:25:23 +0000 (23:25 +0100)]
Another problem pointed out by clang
Using format specifiers without arguments in printf is still bad.
openbox/debug.c:105:18: warning: format string is not a string literal (potentially insecure)
fprintf(out, log_domain);
^~~~~~~~~~
openbox/debug.c:107:18: warning: format string is not a string literal (potentially insecure)
fprintf(out, level);
^~~~~
openbox/debug.c:109:18: warning: format string is not a string literal (potentially insecure)
fprintf(out, message);
^~~~~~~
Mikael Magnusson [Sat, 15 Nov 2008 21:53:02 +0000 (22:53 +0100)]
Merge branch 'backport' into work
Conflicts:
openbox/event.c
Mikael Magnusson [Sat, 15 Nov 2008 21:50:16 +0000 (22:50 +0100)]
Use ngettext for %d desktop(s).
This poses a small problem. We currently let translators reorder this
string, but ngettext only takes one numeric argument. This means that you
can either get correct pluralization or the order you want, but not both.
I fixed up the languages I understand at a very basic level, but the
rest will need translator assistance.
Mikael Magnusson [Mon, 10 Nov 2008 22:34:50 +0000 (23:34 +0100)]
Fix a problem pointed out by clang
openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *'
if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time))
^~~~~~~~~~~~~~
Mikael Magnusson [Wed, 5 Nov 2008 17:48:10 +0000 (18:48 +0100)]
Don't move windows to current desktop on net_active_window if the event didn't come from the user.
Instead, just activate the flashy thinger.
Mikael Magnusson [Wed, 5 Nov 2008 18:09:34 +0000 (19:09 +0100)]
Using format specifiers without arguments in printf is bad.
Mikael Magnusson [Wed, 29 Oct 2008 12:48:03 +0000 (13:48 +0100)]
Merge branch 'backport' into work
Mikael Magnusson [Wed, 29 Oct 2008 12:30:26 +0000 (13:30 +0100)]
Bring helper windows when following a window.
Mikael Magnusson [Wed, 29 Oct 2008 11:35:17 +0000 (12:35 +0100)]
_NET_WM_USER_TIME=0 means don't focus the new window.
Mikael Magnusson [Sun, 26 Oct 2008 23:58:56 +0000 (00:58 +0100)]
Merge branch 'backport' into work
Conflicts:
openbox/client.c
openbox/prop.c
openbox/prop.h
Mikael Magnusson [Tue, 10 Jun 2008 15:55:03 +0000 (17:55 +0200)]
No \n on ob_debug in this branch.
Mikael Magnusson [Sat, 7 Jun 2008 03:12:04 +0000 (05:12 +0200)]
The code to replace $wid/$pid died on $foo.
It failed to increment a variable after finding a $ but no pid or wid,
which led to a fun infinite loop. Also don't check if c[1] is w if we
already established it was p.
Mikael Magnusson [Sun, 26 Oct 2008 23:51:56 +0000 (00:51 +0100)]
Show name/class when mapping in debug mode.
Mikael Magnusson [Sun, 4 May 2008 09:56:57 +0000 (11:56 +0200)]
Revert "make windows stay on screen when they..."
This reverts commit
73adc6480d59fc5dccf9fe19ed5234c9582b328c .
I know I had a good reason for reverting this commit, I don't know what
that reason was though.
Mikael Magnusson [Sun, 26 Oct 2008 23:10:57 +0000 (00:10 +0100)]
Correct a 64-bit bug in event_time_after
The code assumed the timestamps had the same domain as the type Xlib
uses for them, which is almost never the case with Xlib. Change all
involved variables to guint32.
Dana Jansens [Sat, 29 Mar 2008 00:56:16 +0000 (20:56 -0400)]
give the compiler hints about what can be kept in registers so that it can optimize the gradient code better with all the pointers going on
Mikael Magnusson [Wed, 22 Oct 2008 19:13:27 +0000 (21:13 +0200)]
Make sure the _MOTIF_WM_INFO atom exists.
Without this, urxvt won't use motif hints for borderless mode.
Inko Illarramendi Arancibia [Wed, 22 Oct 2008 16:15:30 +0000 (18:15 +0200)]
Update Basque translation.
Mikael Magnusson [Sun, 14 Sep 2008 11:56:13 +0000 (13:56 +0200)]
0 is the first monitor here, not 1.
Jesper Sander [Tue, 19 Aug 2008 15:46:45 +0000 (17:46 +0200)]
Add danish translation.
Nico Golde [Sun, 13 Jul 2008 13:29:50 +0000 (15:29 +0200)]
Properly escape strings before writing XML.
Mikael Magnusson [Thu, 29 May 2008 16:51:17 +0000 (18:51 +0200)]
Openbox doesn't support _NET_WM_USER_TIME_WINDOW atm.
David Majà Martínez [Sun, 25 May 2008 18:26:24 +0000 (20:26 +0200)]
Update catalan translation.
Mikael Magnusson [Sat, 24 May 2008 14:36:22 +0000 (16:36 +0200)]
Add a translators note about not translating the word "SessionLogout" in an error message.
Tutku Dalmaz [Sat, 24 May 2008 14:33:49 +0000 (16:33 +0200)]
Add turkish translation.
Andrea Scarpino [Thu, 15 May 2008 11:12:22 +0000 (13:12 +0200)]
Update italian translation.
Nicolás de la Torre [Sun, 4 May 2008 20:04:38 +0000 (22:04 +0200)]
Update spanish translation.
Mikael Magnusson [Sun, 4 May 2008 19:17:53 +0000 (21:17 +0200)]
Add Lithuanian translation.
Mikael Magnusson [Sat, 3 May 2008 13:03:04 +0000 (15:03 +0200)]
Don't translate action names.
Moroz Sergey L [Fri, 2 May 2008 08:26:40 +0000 (10:26 +0200)]
Update russian translation.
Mikael Magnusson [Wed, 23 Apr 2008 14:41:35 +0000 (16:41 +0200)]
Merge branch 'backport' into work
Conflicts:
openbox/config.c
openbox/keyboard.c
openbox/moveresize.c
Mikael Magnusson [Wed, 23 Apr 2008 14:40:22 +0000 (16:40 +0200)]
Fix typo introduced a few commits ago that made resizing windows hard.
Mikael Magnusson [Sat, 19 Apr 2008 22:10:52 +0000 (00:10 +0200)]
Don't need to explicitly check for xft.
Mikael Magnusson [Wed, 19 Mar 2008 11:49:50 +0000 (12:49 +0100)]
Don't use GrabModeSync, it hangs the xserver on chains sometimes.
More or less a revert of
5bfa48dcffec3b00d119d851cb2427a43f80aa7b
"Grab key bindings with GrabModeSync"
See also bug #3582.
Mikael Magnusson [Tue, 18 Mar 2008 20:51:34 +0000 (21:51 +0100)]
Show the resize popup right away.
Previously, it would wait for a resize step before showing it, when resizing
windows with resize increments that were bigger than the moveresize threshold.
Mikael Magnusson [Fri, 28 Mar 2008 20:01:46 +0000 (21:01 +0100)]
When icons had a very small aspect ratio, we crashed, don't.
Kadlcik Libor [Wed, 2 Apr 2008 20:24:41 +0000 (22:24 +0200)]
Move "if"s out of the loop and rewrite the loop to use parse_find_node() to search for "file".
Mikael Magnusson [Mon, 31 Mar 2008 17:20:55 +0000 (19:20 +0200)]
Center the moveresize popup even when shaded.
Dana Jansens [Thu, 27 Mar 2008 13:44:48 +0000 (09:44 -0400)]
make windows stay on screen when they are resized due to their normal hints changing
Dana Jansens [Thu, 27 Mar 2008 13:44:40 +0000 (09:44 -0400)]
remove some verbose debug prints
Benno Schulenberg [Mon, 24 Mar 2008 14:53:11 +0000 (15:53 +0100)]
Update dutch translation.
Lauri Hakko [Mon, 17 Mar 2008 20:26:52 +0000 (21:26 +0100)]
Update finnish translation.
Robert Kuszinger [Mon, 17 Mar 2008 19:16:33 +0000 (20:16 +0100)]
Update hungarian translation.
Mikael Magnusson [Mon, 17 Mar 2008 17:15:21 +0000 (18:15 +0100)]
Update czech translation.
Mikael Magnusson [Sun, 16 Mar 2008 14:48:50 +0000 (15:48 +0100)]
Update portuguese translation.
Florian Walch [Thu, 13 Mar 2008 12:43:26 +0000 (13:43 +0100)]
Update german translation.
Michael Kjelbergvik Thung [Thu, 13 Mar 2008 12:37:40 +0000 (13:37 +0100)]
Update weejun translation.
Mikael Magnusson [Thu, 13 Mar 2008 01:28:27 +0000 (02:28 +0100)]
Make alt-tab icon size configurable.
zhou sf [Tue, 11 Mar 2008 14:39:54 +0000 (15:39 +0100)]
Update simplified chinese translation.
Marvin Vek [Tue, 11 Mar 2008 14:01:47 +0000 (15:01 +0100)]
Update dutch translation.
Quan Tran [Tue, 11 Mar 2008 01:08:42 +0000 (02:08 +0100)]
Update vietnamese translation.
Dana Jansens [Sun, 9 Mar 2008 19:09:48 +0000 (15:09 -0400)]
fix a bug from when $window changed to $wid in the execute action
Mikael Magnusson [Sat, 8 Mar 2008 16:43:32 +0000 (17:43 +0100)]
Merge branch 'backport' into work
Conflicts:
obt/keyboard.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/frame.c
openbox/openbox.c
Mikael Magnusson [Thu, 6 Mar 2008 18:46:24 +0000 (19:46 +0100)]
Fix a typo in --help output (master only).
Mikael Magnusson [Sat, 8 Mar 2008 15:42:43 +0000 (16:42 +0100)]
Remove double newlines.
Mikael Magnusson [Thu, 6 Mar 2008 19:02:26 +0000 (20:02 +0100)]
Don't run actions in focus cycling actions backwards either (as in
664b0b4e943ba4d410168817dcff953804b44253 ).
Mikael Magnusson [Thu, 6 Mar 2008 01:28:43 +0000 (02:28 +0100)]
Don't draw titlebar buttons on top of eachother.
Dana Jansens [Thu, 6 Mar 2008 07:46:32 +0000 (02:46 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/client.c
Dana Jansens [Thu, 6 Mar 2008 07:44:58 +0000 (02:44 -0500)]
don't set variables twice
Dana Jansens [Thu, 6 Mar 2008 07:43:32 +0000 (02:43 -0500)]
fix the check for if a relative is focused on map
Dana Jansens [Thu, 6 Mar 2008 07:35:26 +0000 (02:35 -0500)]
when a window pops up a child, don't avoid focusing it because you were working in its parent window before this. that's probably what made the window appear in the first place
Dana Jansens [Thu, 6 Mar 2008 07:34:27 +0000 (02:34 -0500)]
ignore the gdm-control binary
Mikael Magnusson [Wed, 5 Mar 2008 19:12:45 +0000 (20:12 +0100)]
Don't leak auto-scaled RGBA textures.
洪任諭 [Wed, 5 Mar 2008 17:12:11 +0000 (18:12 +0100)]
Update traditional chinese translation.
Og Maciel [Tue, 4 Mar 2008 21:22:46 +0000 (22:22 +0100)]
Update brazilian portuguese translation.
Ryoichiro Suzuki [Tue, 4 Mar 2008 15:33:43 +0000 (16:33 +0100)]
Update japanese translation.
Dana Jansens [Mon, 3 Mar 2008 13:31:23 +0000 (08:31 -0500)]
add some debug prints in the session code
Dana Jansens [Mon, 3 Mar 2008 13:03:16 +0000 (08:03 -0500)]
make --debug-focus and --debug-session only show their appropriate messages so you can filter easier
Mikael Magnusson [Mon, 3 Mar 2008 16:10:53 +0000 (17:10 +0100)]
Merge branch 'backport' into work
Conflicts:
openbox/session.c
Dana Jansens [Mon, 3 Mar 2008 13:36:24 +0000 (08:36 -0500)]
add xfce-settings-show to the default menu
Dana Jansens [Mon, 3 Mar 2008 12:46:24 +0000 (07:46 -0500)]
don't save our state for SmSaveGlobal session saves, just Local ones
Dana Jansens [Mon, 3 Mar 2008 16:00:00 +0000 (17:00 +0100)]
use SmSaveGlobal to log out. this will make apps save their documents or whatever so that you don't lose things, but it won't take a snapshot of the current session
Mikael Magnusson [Mon, 3 Mar 2008 01:20:01 +0000 (02:20 +0100)]
Add new strings to the very outdated hr.po file (which is not activated).
Cyrille Bagard [Mon, 3 Mar 2008 01:05:17 +0000 (02:05 +0100)]
Update french translation and fix a typo in actions/session.c
Mikael Magnusson [Sun, 2 Mar 2008 23:50:05 +0000 (00:50 +0100)]
Change ja and pt_BR back to 3.4.6.1 as they now have untranslated strings again.
Mikael Magnusson [Sun, 2 Mar 2008 23:38:48 +0000 (00:38 +0100)]
Update swedish translation.
Was a bit inconsistent with capitalizing titles.
Dana Jansens [Sun, 2 Mar 2008 23:36:32 +0000 (18:36 -0500)]
Merge branch 'backport' into work
Dana Jansens [Sun, 2 Mar 2008 23:34:28 +0000 (18:34 -0500)]
change the logout button to same capitilization as the title, and update translatable strings
Dana Jansens [Sun, 2 Mar 2008 23:26:22 +0000 (18:26 -0500)]
be consistent with logout vs log out use
Dana Jansens [Sun, 2 Mar 2008 23:09:08 +0000 (18:09 -0500)]
add the new translatable strings
Mikael Magnusson [Sun, 2 Mar 2008 23:07:41 +0000 (00:07 +0100)]
Update swedish translation.
Dana Jansens [Sun, 2 Mar 2008 22:28:12 +0000 (17:28 -0500)]
show the kill dialog if something doesn't respond for 6 seconds instead of 3
Dana Jansens [Sun, 2 Mar 2008 22:23:23 +0000 (17:23 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/actions/execute.c
openbox/event.c
openbox/openbox.c
openbox/openbox.h
Dana Jansens [Sun, 2 Mar 2008 22:19:39 +0000 (17:19 -0500)]
add a title to the session logout confirm prompt
Dana Jansens [Sun, 2 Mar 2008 22:12:11 +0000 (17:12 -0500)]
allow prompts to have titles specified. show a prompt when there are syntax errors in the xml config files.
Dana Jansens [Sun, 2 Mar 2008 21:40:40 +0000 (16:40 -0500)]
show an error message when parsing syntax errors are encountered in the openbox config files
Dana Jansens [Sun, 2 Mar 2008 21:11:05 +0000 (16:11 -0500)]
add a cleanup callback to the prompt interface. when the prompt's callback returns TRUE, then the cleanup function is called. likewise when the prompt system is shutdown (openbox is exiting), then the cleanup function is also called. it should unref/destroy the prompt and any memory associated with it
Dana Jansens [Sun, 2 Mar 2008 21:04:28 +0000 (16:04 -0500)]
the #ifdef was backwards for using SM or not
Dana Jansens [Sun, 2 Mar 2008 20:37:07 +0000 (15:37 -0500)]
add a RECONFIGURING state, and enter that when doing reconfiguring
Dana Jansens [Sun, 2 Mar 2008 20:28:22 +0000 (15:28 -0500)]
glib already prints a verbose error message when execute fails. don't add a second level of useless verbosity to that
Dana Jansens [Sun, 2 Mar 2008 20:17:31 +0000 (15:17 -0500)]
use g_debug for debug messages
Dana Jansens [Sun, 2 Mar 2008 20:14:24 +0000 (15:14 -0500)]
show prompts when printing error messages
Dana Jansens [Sun, 2 Mar 2008 20:03:10 +0000 (15:03 -0500)]
Merge branch 'backport' into work
Dana Jansens [Sun, 2 Mar 2008 20:02:34 +0000 (15:02 -0500)]
make code to show a prompt when you just want to display and message and not do anything when the user presses the button
Dana Jansens [Sun, 2 Mar 2008 20:01:46 +0000 (15:01 -0500)]
make the SessionLogout action always available but it shows an error if you use it and Openbox wasn't built with SM support
Mikael Magnusson [Sun, 2 Mar 2008 18:41:32 +0000 (19:41 +0100)]
Merge branch 'backport' into work
Conflicts:
openbox/actions/desktop.c
openbox/actions/if.c
Mikael Magnusson [Sun, 2 Mar 2008 18:12:01 +0000 (19:12 +0100)]
Update portuguese translation.
Ryoichiro Suzuki [Sun, 2 Mar 2008 16:22:20 +0000 (17:22 +0100)]
Update japanese translation with the last couple of strings.
Dana Jansens [Sun, 2 Mar 2008 18:30:44 +0000 (13:30 -0500)]
don't steal focus from windows you are typing in, even if the new window is a relative
Dana Jansens [Sun, 2 Mar 2008 16:41:08 +0000 (11:41 -0500)]
display the NotShowIn stuff correctly
This page took 0.05248 seconds and 4 git commands to generate.