Age | Commit message (Collapse) | Author | Files | Lines |
|
Conflicts:
hw/xwin/winclipboardthread.c
hw/xwin/winclipboardwrappers.c
|
|
Don't bother reporting XORG_VERSION_CURRENT, when we also
report the version number broken down into it's components
XORG_VERSION_MAJOR, XORG_VERSION_MINOR, etc. as well.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
When XDMCP -from is specified, only register the requested address,
rather than the requested address, and any others we have of different
address families to the requested address.
e.g. if we have 4 interfaces with both IPv4 and IPv6 addresses (which
are not IPv6 mapped IPV4 addresses), using -from with one of those IPv4
addresses means only that IPv4 address, and all IPv6 addresses are used
in the connection data in XDMCP REQUEST packet.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
If XSupportsLocale() fails, set a known good locale.
|
|
Fix formatting for unknown results reported for X*TextPropertyToTextList()
|
|
Update the generated files glpapitable.h and glapioffsets.h to match
the versions in mesa 7.8
These offsets must match those used in the libGL we link with for
GL function dispatch to operate correctly
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
Decorate function pointers retrieved via GetProcAddress with WINAPI,
to ensure stdcall convention is used when calling them.
This fixes a crash currently seen when compiled -O2 and the -screen option uses
a size and monitor number e.g. -screen 0 1280x1000@2
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
The presence of the list email address in the log causes the emails
containing a log to be bounced from the list email
Also, avoid logging an extra blank line if BUILDERSTRING is empty
|
|
Rather than knowing we have to call winProcessXEventsTimeout() for up to 2 WIN_XEVENTS_CONVERT messages, process
all messages in winProcessXEventsTimeout() until either: (i) the time out expired, (ii) an error occurred, or
(iii) received a WIN_XEVENTS_NOTIFY messaage indicating the data has been to put on the clipboard.
|
|
|
|
Use DeferWindowPos to delay resize to preserve client area on WM_STYLECHANGING
until after the style change has actually happened in WM_STYLECHANGED
Be more careful about the initial window placement, so the client area matches
what the X client requested
Make sure we synchronize the X windows idea of the placement of a window which
Windows is allowed to place
|
|
This option specifies a file descriptor in the launching process. X
will scan for an available display number and write that number back to
the launching process, at the same time as SIGUSR1 generation. This
means display managers don't need to guess at available display numbers.
As a consequence, if X fails to start when using -displayfd, it's not
because the display was in use, so there's no point in retrying the X
launch on a higher display number.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Update for current X server
Fix null DISPLAY crash when stderr is closed
Rearrange init order to avoid null DISPLAY crash and correctly use
DISPLAY in default logfile name when logfile isn't specified on command line
Don't put '\'n on end of DISPLAY so internal XWin uses work correctly
Do a bit more logging about what we are trying to do
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
Remove the variables g_fClipboardLaunched and g_fClipboardStarted from
winInitializeGlobals(), as their re-initialization is handled in the
file hw/xwin/InitOutput.c.
Re-initializing g_fClipboardLaunched and g_fClipboardStarted during
the server reset procedure can lead to the clipboard thread being
launched two times and sometimes leads to a crash of the X server...
|
|
Ensure any icon created specially for a window is destroyed when
the window is destroyed
|
|
Java applications using AWT on JRE 1.6.0 break with non-reparenting WMs AWT
doesn't explicitly know about (See sun bug #6434227)
XDecoratedPeer.handleConfigureNotifyEvent() only processes non-synthetic
ConfigureNotify events to update window location if it's identified the
WM as a non-reparenting WM it knows about (compiz or lookingglass)
Rather than tell all sorts of lies to get XWM to recognize us as one of
those, simply send a synthetic ConfigureNotify for every non-synthetic one
|
|
Report the fatal error message in the dialog we pop up, rather
than just referring the user to the logfile.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
Windows messages
This is a workaround for select() sometimes not finding /dev/windows ready,
even if there are unprocessed Windows messages
|
|
across threads
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
Make the default DPI match the current Windows DPI setting. If that
setting can't be retrieved, change the fallback DPI value from 75 dpi
to 96 dpi.
Mark the application as dpiAware in the manifest, which prevents
dpi virtualization for high (>96) dpi values on Vista and later.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
This gives the X server a chance to do stuff as well after each message
http://cygwin.com/ml/cygwin-xfree/2010-01/msg00056.html
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
If $HOME/.XWinrc is present but badly formed, ignore it and try
system.XWinrc instead. If neither file is present or both are badly
formed, provide a built-in default which gives the user the chance to
load their new or fixed configuration without restarting.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
Choose display name used to connect internal clients and exported into
environment of processes started by traymenu so that it uses a transport
we know is working
This should mean the server can start correctly with -multiwindow
and/or -clipboard and any two of -nolisten inet6 -nolisten inet
and -nolisten unix (the server will correctly refuse to start if all 3
are used, as it must be listening on at least one socket)
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
Remove glapi.c and glthread.c, which contain GL dispatcher symbols
which are defined in libGL, and link with libGL for them instead, as
dri_swrast.so is linked with libGL on Cygwin to avoid undefined symbols
at link time.
Also remove glapitemp.h and glprocs.h which are only referred to by
those .c files.
|
|
(This replaces the previous "Hint handling fixes" patch
When the style changes, adjust the window size so the client area remains the same.
Otherwise the window size may change when sizing is reflected from
Windows to X, and some windows are drawn expecting them to be exactly the requested size
(e.g. gmplayer control window)
As a consquence of this, we need to be more careful to create windows with exactly
the requested client area initially.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
|
|
This is a horrible hack and is probably not suitable for pushing upstream.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
http://sourceware.org/bugzilla/show_bug.cgi?id=9929
Copyright (C) Colin Harrison 2005-2008
http://www.straightrunning.com/XmingNotes/
http://sourceforge.net/projects/xming/
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
threads exit due to an error
Calling FatalError from an internal client thread is a no-no, so these
failures are silent at the moment (in the sense that no pop-up occurs to
tell the user that we are terminating or why).
Really we should either improve the way we try to avoid the internal
clipboard client getting killed or perhaps restart it after an interval.
Avoiding getting killed by the XDM is horribly heuristic at the moment,
as we basically try to guess about what the XDM is doing, so this is
always going to be fragile. (Should just check that we can't actually
intercept the close request for the client)
Restarting the clipboard client thread is complicated by the fact that
at the moment the clipboard thread exits on server regeneration and is
restarted by hooks installed by InitInput())
(So we either need to make arrangements not restart when server is restarting,
or only start once and properly re-cache atoms on server regeneration)
Also, I'm just noticing I should be using pthread_kill() to ensure the
signal is delivered to the thread which is running the main dispatch loop
so that will exit the select() it may be blocked in and notice that
DE_TERMINATE is set.
Also: http://xkcd.com/292/
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
The smart scheduler causes serious problems on Cygwin. It creates a
SIGALRM every 20ms causes 'sporadic accept() failed' messages in the log
and deadlocks in multiwindow mode.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
This commit wreaks havoc with other programs which manage the keyboard,
such as MS Office Clipboard or Win32 VNC viewers:
http://sourceware.org/bugzilla/show_bug.cgi?id=9910
This reverts commit 70ddd0f39d5118db72a1a4e473cbfb502f1ed9ec.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
If we are not backing up logfiles, remove the old logfile before
trying to write a new logfile, as otherwise the operation may fail
if the previous logfile was created by a different user.
This looks like a generic problem, but probably isn't seen with
the Xfree86 DIX as that uses the logfile backup mechanism.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Acked-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
Let the compiler figure out the correct alignment for the axes data
for a valuator by using a union to force double alignment of the
initial ValuatorClassRec structure in the allocation.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Julien Cristau <jcristau@debian.org>
|
|
Instead of listing one of the doxygen output files and depending on
sequential execution to ensure that the other files were present
before make checked for them, create explicit dependencies so that
make will not check for the additional files until after doxygen has
been run.
This allows parallel make to work correctly in this directory.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Kristian Høgsberg <krh@bitplanet.net>
|
|
Tarballs include the downloaded gl spec files, which will end up in
$(srcdir). But, git-based builds will not have them at all and will
need to download them from opengl.org. They'll land in in the build
directory instead of $(srcdir), and so we need to allow them to be in
either place.
This change checks for the files in $(srcdir), linking them to . if
present. Otherwise, it downloads them from opengl.org.
A suggested better solution is to have Mesa install these files somewhere.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Kristian Høgsberg <krh@bitplanet.net>
|
|
The paths in doxygen.conf assumed that srcdir=builddir and broke
otherwise. Use autoconf to fill in the paths to the srcdir so that the
files can be found when users have a separate build directory (as with
distcheck).
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
|
|
Non-GNU makes don't deal with the sinclude or -include variants that
allow Makefile stubs to be created and then included during the build.
Instead, create an empty file at the end of configure so that the
regular include statement can be included. This is how automake handles
automatic source dependencies.
In order to trick automake into not processing the include statement, a
variable is used.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
RandR 1.4 revert changed things
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
If there's a GPU copy and a non-zero devKind was passed in, set the GPU copy
pitch to that instead of to a possibly bogus value derived from the new width.
This is e.g. used by the radeon driver's drmmode_xf86crtc_resize hook, fixes
https://bugs.freedesktop.org/show_bug.cgi?id=33929 .
On the other hand, the system memory copy doesn't need the pitch to be aligned
beyond the PixmapBytePad of the width.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Cyril Brulebois <kibi@debian.org>
Tested-by: Cyril Brulebois <kibi@debian.org>
Reported-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Tested-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
|
|
In OpenBSD removed support PCCONS in 2002 year
http://marc.info/?l=openbsd-cvs&m=102435816424294&w=2
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
RecordFlushReplyBuffer can call itself recursively through
WriteClient->CallCallbacks->_CallCallbacks->RecordFlushAllContexts
when the recording client's buffer cannot be completely emptied in one
WriteClient. When a such a recursion occurs, it will not be broken out
of which results in segmentation fault when the stack is exhausted.
This patch adds a counter (a flag, really) that guards against this
situation, to break out of the recursion.
One alternative to this change would be to change _CallCallbacks to
check the corresponding counter before the callback loop, but that
might affect existing behavior, which may be relied upon.
Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
This reverts commit 8b35118c03590a7ad3786d3284bafb3f40fcb8cc.
|
|
This reverts commit c8bc25fd7629df10f2825b7cc713b031ae78f223.
|