summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-14Merge branch 'backport' into workDana Jansens
2008-02-14put the char member at the bottom of the struct so that it doesnt mess up ↵Mikael Magnusson
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
2008-02-14obprompts do not have a stacking layer, as they don't appear directly in the ↵Dana Jansens
stacking list
2008-02-14obprompts do not have a stacking layer, as they don't appear directly in the ↵Dana Jansens
stacking list
2008-02-14draw a box inside the key-focused button in an ObPrompt. also fix rendering ↵Dana Jansens
the buttons when they are parent-relative.
2008-02-14fix min-size calculations for lineart texturesDana Jansens
2008-02-14make ObPrompts resize and redraw correctly when reconfiguring and changing ↵Dana Jansens
themes with them open
2008-02-14don't ping everything all the time. yay. ping when you close, and if it ↵Dana Jansens
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.
2008-02-14tell what signal is going to be sent to the client when killing through the ↵Dana Jansens
dialog
2008-02-14use the hover and press button colors (this was a bug)Dana Jansens
2008-02-14when drawing and measuring strings in "flow" mode, don't ellipsize so that ↵Dana Jansens
lines can wrap
2008-02-14don't kill our own ObPrompt windows with kill actionsDana Jansens
2008-02-14if a prompt is already showing and you try show it again, then make it ↵Dana Jansens
active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness
2008-02-14prompt to kill windows when they are not respondingDana Jansens
2008-02-14let you specify return codes for the different buttons in a prompt, and ↵Dana Jansens
specify a callback function for the prompt for when it is closed
2008-02-14position the buttons in the bottom right instead of centering themDana Jansens
2008-02-14key input works for ObPrompt windows nowDana Jansens
2008-02-14make the prompt buttons respond to button presses. keyboard input code is ↵Dana Jansens
there too but not working yet.
2008-02-14properly place the msg textureDana Jansens
2008-02-14Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
2008-02-14give prompts a border, and fix how they are laid out. and make them use the ↵Dana Jansens
multi-line text capabilities in render for the message
2008-02-14allow font rendering to use multiple linesDana Jansens
2008-02-14you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.
2008-02-14make the internal window type more easily inheritableDana Jansens
2008-02-14draw a box inside the key-focused button in an ObPrompt. also fix rendering ↵Dana Jansens
the buttons when they are parent-relative.
2008-02-14fix min-size calculations for lineart texturesDana Jansens
2008-02-14make ObPrompts resize and redraw correctly when reconfiguring and changing ↵Dana Jansens
themes with them open
2008-02-14put the char member at the bottom of the struct so that it doesnt mess up ↵Mikael Magnusson
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
2008-02-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
2008-02-14update the indent style guidelinesDana Jansens
2008-02-14let you match per-app settings based on the window typeDana Jansens
2008-02-14don't force fake enter events while there is a grab on the pointer. this ↵Dana Jansens
fixes focus switching during a move/resize from mouse-button-bound actions.
2008-02-14turn the new openbox.png into the default icon.hDana Jansens
2008-02-14_net_active_window shouldn't change desktop, is the general policy concensus.Dana Jansens
2008-02-14split menu overlap into x and y componentsDana Jansens
2008-02-14speed up the pyramid gradient using memcpy's. also make it not crash for ↵Dana Jansens
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
2008-02-14remove an XXX comment, the sanity check seems to have worked out fine.Dana Jansens
2008-02-14force the resize popup to be on-screen (not negative position)Dana Jansens
2008-02-14a small optimization for the vertical gradients, and use the same log(n) ↵Dana Jansens
strategy to use less memcpy's for filling out the horizontal gradients
2008-02-14use memcpy's to speed up vertical gradients too. split the fancy memcpy() ↵Dana Jansens
code out into the repeat_pixel function.
2008-02-14use memcpy's to make splitvertical gradient much faster - using log n ↵Dana Jansens
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.
2008-02-14add --enable-gprof option for configureDana Jansens
2008-02-14make rendertest exit cleanly when it is unmapped (iconify/desktopchange)Dana Jansens
2008-02-14typo in commentMikael Magnusson
2008-02-14Make a pending ReplayPointer happen before moving/showing/hiding a window in ↵Dana Jansens
an action. Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.
2008-02-14don't reference free'd memory, and don't leak memory if the image cache is ↵Dana Jansens
not saving any resized pictures
2008-02-14use g_message not g_print so it can go to the logDana Jansens
2008-02-14pre-calc the sum of a picture added to an RrImage rather than calculating it ↵Dana Jansens
every time
2008-02-14add a bunch of comments for images and image caches. and make the number of ↵Dana Jansens
resized pictures saved in an image tunable per-icon cache.
2008-02-14add an override_redirect InputOnly window utility.Mikael Magnusson
The intent was the following: This is mostly a copy of override.c, it lets you map a small window (1x1 at 0,0 by default) that openbox will treat like the root window, useful for scrolling to change desktops over fullscreen and maximized windows. Since then openbox has learned to ignore other's override redirect windows but I think it might still be useful to have this util.