| Age | Commit message (Collapse) | Author |
|
Conflicts:
openbox/config.c
openbox/event.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
openbox/screen.h
|
|
The larger of the width and height has to match. If the smaller matches, then
it would have to be resized down to fit inside the area, so that does not
count.
|
|
RGBA and Image textures could exceed their tarea if given an x or y offset
inside the area that is > 0.
|
|
Conflicts:
openbox/popup.c
|
|
|
|
|
|
Add asserts to default: in switch statements
Store pointed to variables locally so it knows they don't change
Remove some dead assignments
Mark ob_exit_with_error as noreturn
Use "%s", msg instead of just msg to printf style functions
Use the c_pfocus variable
|
|
Conflicts:
openbox/actions/desktop.c
openbox/client.c
openbox/event.c
openbox/extensions.c
openbox/popup.c
openbox/screen.c
parser/parse.c
|
|
data is incremented one too many times when y2sz is zero, leading to
memory corruption.
[ also changed % 2 to & 1 -- Mikael ]
|
|
As suggested in #3622, we don't need to open the default font for every
place that wasn't specified in the theme. Solved a bit differently than
the patch given there.
|
|
|
|
Conflicts:
openbox/client.c
openbox/prop.c
openbox/prop.h
|
|
optimize the gradient code better with all the pointers going on
|
|
Conflicts:
openbox/config.c
openbox/keyboard.c
openbox/moveresize.c
|
|
|
|
Conflicts:
obt/keyboard.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/frame.c
openbox/openbox.c
|
|
|
|
Conflicts:
openbox/client.c
|
|
|
|
|
|
|
|
|
|
Conflicts:
openbox/menuframe.c
openbox/prompt.c
openbox/prop.c
openbox/prop.h
|
|
Added:
menu.separator.color
menu.separator.width
menu.separator.padding.width
menu.separator.padding.height
|
|
Conflicts:
openbox/grab.c
openbox/keyboard.c
|
|
|
|
|
|
|
|
not saving any resized pictures
|
|
|
|
every time
|
|
resized pictures saved in an image tunable per-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!
|
|
3592046b2b26e05ee94c0dd0fed5b7fd5475c198) in master, as the iconcache changes depend on this
git show 3592046b -- render
|
|
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
|
|
|
|
lines can wrap
|
|
|
|
buttons! they don't do anything interesting yet.
|
|
|
|
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
|
|
Diffing against the old work branch where most of the changes
in backport were cherry-picked from indicates this should be
alright. (0de9097017d4d1991388a35e380a57dc1135b431)
|
|
|
|
|
|
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
|
|
|
|
strategy to use less memcpy's for filling out the horizontal gradients
|
|
code out into the repeat_pixel function.
|
|
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.
|