Commit Graph
100 Commits
Author SHA1 Message Date
David Maciejak 382337c980 wmaker: redo logo
This patch is providing the logo still in 48x48 size
but with a better definition.
2014-06-15 19:45:20 +01:00
David Maciejak 5f1e25152c wmaker: darken labels from docked application settings
This patch darkens DnD labels when support is not compiled in.
2014-06-15 19:45:20 +01:00
David Maciejak 3b298e8964 WINGs: add function to set the color of the frame title
This patch adds a function used to set the color of the frame title
2014-06-15 19:45:20 +01:00
David Maciejak cb5076794a wrlib: load.c clean coding style
just some code cleaning stuff.
2014-06-15 19:45:20 +01:00
David Maciejak 1bd9074464 WMaker: src/misc.c remove obsolete code
This patch is removing the call to get_dnd_selection function
which was removed long time ago.
2014-06-15 10:11:55 +01:00
David Maciejak f33c89e369 WPrefs: add expert option to disable switch panel
This patch is adding a checkbox option in the expert panel
to let the user enable/disable switching panel.
2014-06-05 08:34:22 +01:00
David Maciejak 97d281e310 util/wmiv: add image auto orientation detection
Based on libexif feature, this patch is adding orientation
detection and provides 2 more shortcuts for live
right/left rotation. Internal version was bumped to 0.7.
2014-06-02 14:06:03 +01:00
David Maciejak db9f5c9658 WINGs: fix duplicate if/else branch in W_LookupString
cppcheck is reporting the msg below:

[../WINGs/winputmethod.c:215] -> [../WINGs/winputmethod.c:209]:
(style) Found duplicate branches for 'if' and 'else'.

The patch is fixing it by setting a default return call.
2014-05-28 16:04:02 +01:00
David Maciejak 35a43c9430 wrlib: fixed transformation functions
With a set of images i was able to detect that
the flip functions was shifting the image by 1px.

The 90 and 270 degrees rotation were not working as
the functions were also mirroring the img.

The patch is also fixing the C style based on checkpatch.
2014-05-26 16:15:36 +01:00
David Maciejak 29301d9b03 wrlib: RRotateImage function not fully implemented
when the rotation angle value passed to RRotateImage is a modulo of 90,
the function is working well but in other cases the rotateImage()
function is called. That last function is half implemented but
the half already implemented part is also segfaulting (use the testrot.c
to replay the crash).
So the patch is moving the 'not implemented' msg to disable the whole
rotateImage() function and comment it out.
2014-05-21 13:10:09 +01:00
David Maciejak 5ee39b7a27 util/wmiv: correct errors and warnings
This patch is correcting all errors and almost all warnings reported
by checkpatch.
2014-05-21 13:10:09 +01:00
David Maciejak 057048e09b wrlib: add image flip functions
This patch adds RVerticalFlipImage and RHorizontalFlipImage functions.
2014-05-21 13:10:09 +01:00
David Maciejak 11497973ad src/winmenu.c: updated prepare_menu_position
did some change as prepare_menu_position never updated x and y values

Acked-by: Christophe CURIS <christophe.curis@free.fr>
2014-05-18 23:00:16 +01:00
David Maciejak 9456252d51 src/usermenu.c: updated wUserMenuRefreshInstances
remove unused var and move wwin check

Acked-by: Christophe CURIS <christophe.curis@free.fr>
2014-05-18 23:00:16 +01:00
David Maciejak 867f221ead src/misc.c: updated GetShortcutString
remove unused var and remove some commented code too

Acked-by: Christophe CURIS <christophe.curis@free.fr>
2014-05-18 23:00:16 +01:00
David Maciejak aa1ee24fc0 src/appicon.c: updated paint_app_icon
moving scr initialization after WApplication existing test
to prevent crashing in case wapp is null

Acked-by: Christophe CURIS <christophe.curis@free.fr>
2014-05-18 23:00:16 +01:00
David Maciejak 7783c2258b clean wDockFindFreeSlot function
it appears that a sx var is set but not used
2014-05-17 15:59:47 +01:00
David Maciejak 0c151a55f4 util/wmiv: an image viewer using wrlib
This patch brings wmiv, a fast image viewer using wrlib.
2014-05-17 15:59:47 +01:00
David Maciejak 8708b62cea wrlib: add a function to draw rectangles
it appears that such kind of function was missing from the lib
2014-05-11 15:47:39 +01:00
David Maciejak 1b2e8a6491 wrlib: Added clean-up of library internals in 'RShutdown'
The library uses internally a cache of tables to convert image to different
depths, there is now an internal function 'r_destroy_conversion_tables' to
free them.
2014-05-09 01:11:31 +01:00
David Maciejak e237ec15a0 wrlib: Added clean-up of image cache in 'RShutdown'
The library maintains a cache of the images loaded, which is now
emptyed when the lib is asked to shutdown.
2014-05-09 01:11:30 +01:00
David Maciejak 283286e0cd wrlib: Implemented functions to allow clean-up of Contexts
The function 'RDestroyContext' have been defined in the API for a long time
but did not have an implementation, this patch fixes it.
2014-05-09 01:11:30 +01:00
David Maciejak 64e4019614 wmaker: minor improvements to labels in the info panel
The goal is to make them shorter/more correct
2014-05-08 20:14:22 +01:00
David Maciejak bb69682b88 wrlib: added support for imagemagick third-party lib
It uses to provide some missing common image format
like SVG, BMP, PICT, ...
2014-04-29 10:15:27 +01:00
David Maciejak 050cae3bd2 wrlib: Added support for webp image
This patch is adding support for google webp image format, if you
don't know it a quick recap is to say that according to their tests
they claim it is better than png and jpeg.

Follow the link below for some more details:
https://developers.google.com/speed/webp/

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-04-24 10:56:51 +01:00
David Maciejak de1421394c wrlib: Fixed and improved NETPBM examples
The tests examples were not compiling because of a missing X11 lib.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-04-24 10:56:51 +01:00
David Maciejak 92b803bbdf wrlib: Improved file format detection
load.c is used to identify the file format, I rebased some checks on
what is defined in the spec of the format.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-04-24 10:56:51 +01:00
David Maciejak 051a30f550 wrlib: Improvements to Netpbm memory usage on errors
This is actually taken from patch:
  wrlib: Added support for webp image

in which it is out of place as it is unrelated

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-04-24 10:56:50 +01:00
David Maciejak 5c96c69cb5 wrlib: Improved NETPBM support, file format detection
1) according to that checks i was able to see that some netpbm support
   type are missing (exactly: ascii graymap (PGM files) and pixmap (PPM)
   and ascii/binary bitmap (PBM))

See the link below for more details.
http://en.wikipedia.org/wiki/Netpbm_format

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-04-24 10:56:50 +01:00
David Maciejak aed4d78e87 util: Make code a bit more secure
- add some checks on functions return values
- use snprintf to avoid buffer overflow
2014-04-24 10:56:25 +01:00
David Maciejak 01478146f9 Add call to WMReleaseApplication on application exit 2014-04-24 10:56:25 +01:00
David Maciejak 588e04dda7 WINGs: Add functions to release application memory 2014-04-24 10:56:25 +01:00
David Maciejak a3ce005980 WINGs: Add support for syslog messaging
This patch is used to add support for syslog messaging implemented in
WINGs lib directly, so available from the lib itself and wmaker too.
I believe it will in a first time help to get some logging info
centralized in one point, and in a second time maybe add some info
level messages like wmaker is starting, stopping, restarting and else.

For now, it's built by default when the syslog support is found, maybe
we could also disable it by default.
2014-04-24 10:47:45 +01:00
David Maciejak c2e4f62777 RandR misc.
This patch is replacing XRandR naming to RandR,
as XRandR is the name of the tool used in X11 and RandR
is the technology WMaker wants to support.
I had to update the info panel too, when many features are
activated not all of them can be displayed properly.
2014-04-24 10:47:45 +01:00
David Maciejak aa890c8868 WPrefs: Fixed compiler warnings
This patch is used to catch some return function value, to make the
compiler happy.
2014-04-24 10:47:44 +01:00
David Maciejak 278fdfa1db Updated copyright date 2014-04-24 09:29:11 +01:00
David Maciejak 6a7fcb98ef WPrefs: Fixed label display truncated for delays in ms for autocollapsing clips 2014-02-13 08:58:25 +00:00
David Maciejak 2c5dbae444 WINGs/Examples: Removed refs to connect and server examples 2014-02-13 08:58:25 +00:00
Doug Torrance 86fbf8baaa Add "Other maximization options" to window menu.
There are a number of window maximization options which are currently
only available to the user via keyboard shortcut:
     * maximize vertically/horizontally
     * maximize left/right/top/bottom half
     * maximize left top/right top/left bottom/right bottom corner
     * maximus

In this patch, they become available through the window menu, under
the "Other maximization options" submenu.
2013-10-15 23:03:53 +01:00
David Couzelis 0f26c43371 Prevent removal of dock icons due to resolution changes
I use xrandr to decrease the resolution of my display when I connect
it to my TV. When I change the resolution back to my monitor, a few
of the icons at the bottom of my dock are deleted.

This happens because wmaker computes the maximum number of dockapps
which the dock can hold based on the screen resolution:

        icon_count = scr->scr_height / wPreferences.icon_size;

and drops the dockapps above that number (in wDockRestoreState()).

But now the resolution can change via xrandr, so the above computation
can lead to dockapps being dropped when the new resolution is smaller
than it used to be.

To fix this it's enough to have a resolution-invariant number of allowed
dockapps.
2012-01-13 09:54:14 +00:00
David Benbennick 3e9aae7a91 Fix mixing pixels when maximizing borderless windows
A minor bug has been bothering me for a long time. When you maximize a
borderless window in Window Maker, the window ends up too narrow and too short
by two pixels.

Submitted-by: Gilbert Ashley  <amigo@ibiblio.org>
2009-08-15 23:59:45 +02:00
id 06f1bf91a9 fix my mail, maliwan is dead 2002-01-31 10:30:06 +00:00
id 8b5f31ad8b fix an icon 2002-01-27 05:59:29 +00:00
id 2cc90e649a add an icon 2002-01-27 05:54:17 +00:00
id 9d41f432b9 add and fix icons 2002-01-26 15:52:22 +00:00
id b4f540ddd6 add and fix icons 2002-01-26 15:52:22 +00:00
id 03f534c0bf add an icon 2002-01-26 04:24:12 +00:00
id 372da5ca39 ok 2001-12-31 12:39:17 +00:00
id 514258fd35 fix again, perfect. 2001-12-31 12:34:51 +00:00
id 0b0002f75a fix an icon 2001-12-31 12:27:34 +00:00
id d35dd84ae5 change an icon 2001-12-29 21:31:29 +00:00
id 0613a758f4 add a jabber icon 2001-12-29 08:32:46 +00:00
id 9bfa0b6efb Sorry, my heart was broken real bad. I am going to resign from my
job and I don't think I can still be able to be a part of project.
Thank you guys for everything.
2001-12-26 06:06:45 +00:00
id 03824d5324 allow to scroll the virtual desktop further than the desktop geometry. 2001-04-18 22:12:20 +00:00
id 829e9d30fe add an option to virtual desktop 2001-04-18 22:08:34 +00:00
id 9d1306bf01 disable scrolling menu when it is in virtual desktop mode.
you have to click and drag to scroll the menu.
2001-04-16 13:33:50 +00:00
id 6bbe6f2b9d fix virtual desk a bit. 2001-04-05 07:43:13 +00:00
id efb4aa5b74 remove stuffs 2001-01-07 02:59:11 +00:00
id 85e601eabc heh 2001-01-07 02:30:35 +00:00
id 2b9ffb0bdb add plugins dir to Makefile.am 2001-01-07 02:05:45 +00:00
id bb7314ddac remove plugin 2001-01-06 18:59:12 +00:00
id ddf5fe3abe remove plugins 2001-01-06 18:58:29 +00:00
id 8fb5a4c7fe remove drawstring plugins 2001-01-06 18:54:15 +00:00
id 142db0ae2a remove drawstring plugin 2001-01-06 18:42:42 +00:00
id 2954c53d67 add plugins in SUBDIR 2001-01-06 18:41:41 +00:00
id e78741ee4c add more icons. 2000-12-30 10:06:36 +00:00
id 45869c37e0 fix xthing data 2000-12-25 01:25:02 +00:00
id ad4fd02247 fix xthing 2000-12-25 01:24:43 +00:00
id 37f811de3e ok 2000-12-17 16:23:43 +00:00
id 210ff264b9 I was trying to optimize this w/o using this, hope the change is right. 2000-12-17 14:43:08 +00:00
id 163e70bdae fix from Pascal and Alban 2000-12-17 13:56:14 +00:00
id e541b9433b fix 2000-12-17 10:57:41 +00:00
id bc494d2c7b fix problem on solid 2000-12-17 04:43:42 +00:00
id ecefdc6171 fix tiny thing 2000-12-17 04:26:53 +00:00
id 14f471815d fix 2000-12-12 07:28:20 +00:00
id 8ca4a67a24 changes related to plugin system & drawstring 2000-12-11 03:10:26 +00:00
id 2d063d279e fix fix 2000-12-09 12:16:35 +00:00
id 57d9e81c2d fix solid color for framewin with plugin 2000-12-09 08:34:07 +00:00
id 0e34a7ae28 fix solid color when using plugin. 2000-12-09 01:23:18 +00:00
id 6ff939eb6e fix 2000-12-09 01:21:52 +00:00
id 2574e2e56a fix another drawstring bug, looks like final one, indeed :) 2000-12-07 01:40:54 +00:00
id aa280f3925 fix drawstring plugin support 2000-12-06 22:49:11 +00:00
id 756ab2c019 pass texture to plugin so it doesn't have to grab from title bar.
add experiment plugin support to menu entry, performance need to
be improved. I'm thinking of making a compressed expose event geometry.
2000-12-06 16:34:58 +00:00
id 83824dbcc3 RCombineArea* will detect the intersec geometry. 2000-12-06 03:07:51 +00:00
id 5d0157cf7b pass pixmap to the plugin. 2000-12-05 00:53:11 +00:00
id 762d37f1fb fix 2000-12-05 00:51:23 +00:00
id eac0eff3ba wrong assert? 2000-12-05 00:43:22 +00:00
id 3a52326385 fix a big 2000-12-04 07:36:57 +00:00
id 3fdb6a6f27 fix 2000-12-04 03:14:52 +00:00
id edcfd4a321 fix bugs 2000-12-04 02:24:54 +00:00
id 5e5730389f initiate 2000-12-03 22:27:42 +00:00
id fa5af19285 initiate 2000-12-03 22:18:20 +00:00
id d361ee2cc0 remove libwmfun package. 2000-12-03 20:05:28 +00:00
id 7aadc1ef00 initiate plugins branch 2000-12-03 18:58:41 +00:00
id 932cfc1bd4 drawstring plugin and a small change in vdesk 2000-12-03 14:04:08 +00:00
id 9b2ca26ce8 using unsigned for height and width cause a lot of confusion. I grab
X's header and see that XImage use int for its width and height so
I change RImage to follow that.
2000-12-03 13:37:30 +00:00
id de969c0b5e extendable drawstring function, hopefully last change to the function. 2000-11-30 15:37:27 +00:00
id 1752587a4a Make draw string plugin more extendable in future. 2000-11-30 15:32:19 +00:00
id 867ed95485 destroy func must has the arguments to consider the right destroy sub-func. 2000-11-30 01:53:43 +00:00
id 331e85fd85 destroyDrawString 2000-11-30 00:26:59 +00:00