Commit Graph

104 Commits

Author SHA1 Message Date
Alan Coopersmith
b0c3a7a5db Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/11>
2025-07-12 16:30:52 -07:00
Enrico Weigelt, metux IT consult
eaf2d77c32 fix warning on shadowed global symbol
../../src/wsfb_driver.c: In function 'WsfbCopyRGB16ToYUY2':
../../src/wsfb_driver.c:1362:18: warning: declaration of 'rgb' shadows a global declaration [-Wshadow]
 1362 |   const uint16_t rgb = ((rgb0 >> 1) & ~0x8410) +
      |                  ^~~
In file included from /usr/local/X11/include/xorg/xf86.h:46,
                 from ../../src/wsfb_driver.c:52:
/usr/local/X11/include/xorg/xf86str.h:114:3: note: shadowed declaration is here
  114 | } rgb;
      |   ^~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/10>
xlibre-xf86-video-wsfb-0.4.1.1
2024-06-23 22:02:44 +00:00
Enrico Weigelt, metux IT consult
a7a04dd0af fix warning on const constraint
../../src/wsfb_driver.c: In function 'WsfbPreInit':
../../src/wsfb_driver.c:574:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  574 |  if ((s = xf86GetOptValString(fPtr->Options, OPTION_ROTATE))) {
      |         ^

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/9>
2024-06-18 12:15:23 +02:00
Enrico Weigelt, metux IT consult
87e022eaf8 drop compat for ancient xserver versions
We're relying on at least 1.18 now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/8>
2024-05-23 21:20:56 +02:00
Enrico Weigelt, metux IT consult
b950f0919b bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/8>
2024-05-14 16:32:15 +02:00
Enrico Weigelt, metux IT consult
80edfdfa03 use XNFcallocarray() instead of xnfcalloc macro
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/merge_requests/7>
2024-05-08 17:27:29 +02:00
nia
14d55de20e Nintendo Wii (YUY2 framebuffer) support from Jared D. McNeill 2024-05-03 22:42:11 +00:00
Alan Coopersmith
b669c42077 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.

Clears autoconf warnings:

configure.ac:40: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:40: You should run autoupdate.
m4/libtool.m4💯 AC_PROG_LIBTOOL is expanded from...
configure.ac:40: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-16 16:50:24 -08:00
Izumi Tsutsui
f7e18f4533 Don't call xf86DisableRandR() on newer X.org Servers. 2023-03-26 04:55:41 +09:00
Izumi Tsutsui
b261bc00a2 Add missing newlines in xf86DrvMsg() messages. 2023-03-19 10:42:53 +09:00
Izumi Tsutsui
f2cf74aa54 Use consistent indent and style. 2022-09-11 04:30:56 +09:00
Alan Coopersmith
27c2d76404 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 11:51:05 -08:00
Alan Coopersmith
d438a22241 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 11:49:58 -08:00
Alan Coopersmith
b0a8294947 Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:23:12 -08:00
Alan Coopersmith
fdab04c3e3 Update README for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18 16:45:36 -08:00
Adam Jackson
8069c6970c Replace LoaderGetOS with ifdef
Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-01-24 10:00:21 -05:00
Dave Airlie
9058c301e6 wsfb: sync autogen.sh with everyone else
fixes inability to configure due to missing m4

Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-11-12 15:01:10 +10:00
Matthieu Herrb
3b2cbabfe6 Kill duplicate line 2014-07-13 18:13:29 +02:00
Matthieu Herrb
1ff2e87ea1 Suppress a bunch of compiler warnings for using constant strings
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 17:32:51 +02:00
Matthieu Herrb
7ce8a10b81 Sync configure.ac and src/Makefile.am with X.Org templates
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 16:41:41 +02:00
Matthieu Herrb
16ac29883c Remove obsolete #ifdef HAVE_XF1BPP and #ifdef HAVE_XF4BPP blocks,
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 16:41:11 +02:00
Matthieu Herrb
1c1bf30b61 Remove unused variables
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 16:38:31 +02:00
Matthieu Herrb
621057c6f9 Remove extra white space
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 15:38:17 +02:00
Matthieu Herrb
2993b33c46 Remove calls to miInitializeBackingStore() and includes of mibstore.h
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-13 12:07:54 +02:00
Adam Jackson
fa9aabe95a Use own thunk functions instead of shadow*Weak
I plan to remove the Weak functions from a future server.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21 13:53:19 -04:00
Matthieu Herrb
f2b7c40843 xf86-video-wsfb 0.4.1 xf86-video-wsfb-0.4.1 2012-09-09 11:42:23 +02:00
Matthieu Herrb
586b722fb1 Add compat-api.h for compatibility with xserver 1.13 2012-09-09 11:41:58 +02:00
Matthieu Herrb
4a3eb3bf6b xf86-video-wsfb 0.4.0
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
xf86-video-wsfb-0.4.0
2012-01-01 16:12:20 +01:00
Matthieu Herrb
79d4768795 Constify argument of wsfb_open()
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 16:10:57 +01:00
Matthieu Herrb
78bb956de1 Add missing headers for ioctl() and getpagesize() prototypes
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 16:05:40 +01:00
Matthieu Herrb
2ad009debf Bump copyright year.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:42:17 +01:00
Matthieu Herrb
547d37a273 Fix white space
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:33:45 +01:00
Matthieu Herrb
e77776cceb Remove RCS Ids.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:33:13 +01:00
Matthieu Herrb
47a5c07688 Reference xorg.conf(5) in comments an manual pages.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:26:58 +01:00
Matthieu Herrb
1ced10fbe2 man: document "rotate" option.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:26:44 +01:00
Matthieu Herrb
1d7997ca89 man: update the list of OpenBSD architectures using this driver.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:26:26 +01:00
Matthieu Herrb
10e14a318c White space fix
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:26:05 +01:00
Matthieu Herrb
fa39e25af3 Replace deprecated xalloc/xfree with malloc/free.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:25:05 +01:00
Matthieu Herrb
a040885587 unifdef XFree86LOADER, this isn't optional anymore.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 15:23:40 +01:00
Matthieu Herrb
48671091bb Sync OpenBSD CVS rcs id.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2012-01-01 12:38:17 +01:00
Matthieu Herrb
fc03176721 Do not call shawdowRemove() if shadow fb was disabled.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2010-08-29 14:26:28 +02:00
Miod Vallat
06e673f8db Correctly handle off-screen memory in 1bpp and 4bpp modes.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2010-08-29 14:25:13 +02:00
Matthieu Herrb
c6878a3e51 Fix allocation size of th shadow framebuffer.Use byes, not bits.
Since the shadowfb is only used for bitsPerPixel >= 8, bitsPerPixel/8
is always the correct amount of bytes.

Acked-by: Miod Vallat <miod@online.fr>
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2010-08-29 14:08:28 +02:00
Matthieu Herrb
9cfd9c2509 replace XF86Config -> xorg.conf in a comment.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2010-08-29 14:00:01 +02:00
Gaetan Nadon
87232d36fc config: add comments for main statements 2010-07-22 20:24:42 -04:00
Gaetan Nadon
63020e786e config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 16:07:00 -04:00
Gaetan Nadon
8e6006c72b config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:37:42 -04:00
Gaetan Nadon
55fe28efa8 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 14:05:23 -04:00
Gaetan Nadon
96f25ab0ce config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21 09:27:42 -04:00
Gaetan Nadon
109fa3c2cf config: remove unrequired AC_SUBST([XORG_CFLAGS])
This macro is called by PKG_CHECK_MODULES

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20 21:44:58 -04:00