Implement our own pixbuf to pixmap rendering to get rid of dependency on buggy gtk-pixbuf-xlib. Only truecolor visuals are supported.
Cosmetics.
Disentagle tinting from shading when lightening. Tinting is now (logically) performed before shading allowing for a more accurate and intuitive behaviour.
Use bitwise and to tint only when each color component is either 0 or ff.
Do not disable tinting for some colours.
Cosmetics.
Keep track of the window position to avoid spurious redraws when the bg image is sensitive to position.
Cleanup bgPixmap_t::set_geometry.
Cleanup OSC 20; remove support for multiple commands and for commands that set scale and position relative to current value.
Add fallback definition for FilterConvolution.
Remove unneeded semicolons.
Simplify.
Simplify.
Always return 0 in make_transparency_pixmap if XCreateGC fails.
Cleanup ShadeXImage.
Compile in the client tint code even when libXrender is present, as the Render extension may not be available.
Fix build when bg image support is enabled and transparency support is disabled.
Simplify.
Fix build when xft is disabled and xrender is enabled.
Detect Render extension at runtime.
Cosmetics.
Simplify.
Fix logic error.
Free pixmap on failure.
Do not cache the converted root pixmap.
Add support for converting the root pixmap to our depth with XRender.
Disentangle xft and xrender support.
reword/remove comments.
Validate root pixmap once rather than everytime we render it.
Remove unused and possibly dangerous optimization.
Deobfuscate.
Remove debugging stuff.
Remove debugging stuff.
Remove useless typedef.
Use the 32 bpp code path for shading only when the image byte order matches the host byte order and the image depth is either 24 or 32.
Try to fix ShadeXImage when bits_per_pixel != 32.
Use the correct visual in blur_pixmap and shadeXImage.
Restore alignment.
Fix indent.
Simplify.
Fix indent.
Cosmetics.
Honour 'propscale' and 'root' in the condition to compute whether the bg image is sensitive to resize.
Fix build when xft support is not enabled.
Simplify logic.
Plug leak in 'bgPixmap_t::set_file'.
Remove code to grab the background of the root window when no pixmap property is set.
Add support for blurring the root background with XRender.
Add support for blending an image over the root background with XRender when using gdk-pixbuf as image backend.
Fix typo.
Remove 'root' argument in tint_pixmap (use 'pixmap' itself) and add 'visual' argument to not hardcode the visual.
Fix grammar.
Sanitize handling of shade value.
Simplify.
Fix bug that prevented setting black as tint color.
Fix computation of mask picture when lightening a pixmap with XRender.
Fix tiling of bg image when blending (broken after last simplification) and change code to always tile in both directions also in this case.
Make tint_pixmap generic.
Use scaled width/height to check if the image is cropped.
Simplify.
Do not perform any sanity check on x/y position in 'root' mode.
Simplify.
Map an align value of -100 to -image_size rather than 0.
Move code to tint a pixmap server side to a new method.
Use a flag to enable 'root' pixmap operation rather than abusing align value.
Really implement 'propscale' pixmap operation.
Recompute the bg image on resize if tiling is requested and the image is cropped.
Fix position of bg image when x/y offset is negative and the image is smaller than the window.
Factor code to compute requested size and position of the background image into a function.
Fix computation of pixmap dimensions when tiling.
Change afterimage code to always tile in both directions, the current behaviour is of dubious usefulness.
Use min, not MIN.
Add support for using gdk-pixbuf as image backend.
Simplify.
Replace tabs with spaces in comment where a tab width of 2 is assumed.
Fix coding style.
Make 'render_image' return false when it fails to create the image and let 'render' handle freeing of the pixmap in that case.
Rename render_asim to render_image and make it generic (every backend must implement it).
Add 'have_image' boolean to indicate whether we have successfully loaded a background image.
Fix indent.
Fix coding style.
Simplify.
Move afterimage specific code in render_asim.
Simplify 'bgPixmap_t::set_file'.
Use rxvt_temp_buf.
Remove unused variable.
Fix typos.
Reformat macros and fix coding style.
Fix typos.
Replace leading tabs with spaces, patch by Mikachu.
Remove trailing whitespace.
Fix coding style.
*** empty log message ***
*** empty log message ***
src/background.C
src/background.C
*** empty log message ***
Make scrollbar_{resize,mapping,show} methods of scrollBar_t.
indent
Add enum for scrollbar states and remove methods/macros to set/check it.
Always compile in plain style scrollbar.
just mindless indenting
indent
Replace strncpy with memcpy where appropriate.
Fix typos.
background redrawing timing tuning
*** empty log message ***
*** empty log message ***
Fix coding style.
Headers cleanup.
Cosmetics.
Cosmetics.
fixed copyrights in background.C and styling in background.h
*** empty log message ***
added new geometry op of :root to implement automove-background functionality internally , since absolute pixmap placement no longer supported
Cosmetics.
added destructor to bgPixmap, to cleanup after itself. That was probably the cause of the huge pixmap leak in rxvtd
Remove trailing whitespace.
added sanity checking for shade parameter to accomodate previously supported negative values
Fix indentation.
compiled out ShadeXImage if building without libAfterImage, but with XFT/RENDER available
fixed root background offset when left-top corner of the window is outside of the screen
improved flickering on move/resize with transparent background
Fix typo.
fixed handling of combination shading and tinting; Optimized Render code for tinting to do everything in one composite op;
renamed XPM_BACKGROUND to BG_IMAGE_FROM_FILE
renamed xpm.C to background.C and moved bgPixmap stuff out of rxvt.h
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.