mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 01:40:13 +01:00
Darwin: Formatting Cleanup
To better line up with xorg-server-1.2-apple branch
This commit is contained in:
parent
8c533443f8
commit
7f91d756ac
12 changed files with 1 additions and 452 deletions
|
|
@ -1,35 +0,0 @@
|
|||
This directory contains a port of the XDarwin code to the modular X.org
|
||||
codebase to be compiled on Darwin/OS X; this would not have been possible
|
||||
without the help of Torrey Lyons and Peter O'Gorman, to whom I am
|
||||
grateful for their patches, time and moral support.
|
||||
|
||||
The server builds 4 targets:
|
||||
|
||||
* XDarwin: this server runs on Darwin systems without Quartz
|
||||
(i.e. non-OS X); it has not been well-tested.
|
||||
|
||||
* XDarwinApp: this builds XDarwin.app, which is a full X server using
|
||||
Quartz. It has loadable module support for AGL and CGL, and well as
|
||||
fullscreen and rootless support.
|
||||
|
||||
* Xquartz: this server runs on Quartz-based systems, and is meant to
|
||||
work with X11.app
|
||||
|
||||
* x11app: this builds a version of Apple's X11.app using patches by
|
||||
Torrey Lyons; most, but not all, functionality of Apple's original
|
||||
X11.app is present in this release.
|
||||
|
||||
Known issues:
|
||||
|
||||
* AGL and CGL support for 3D indirect acceleration does not work;
|
||||
indirect.c has been rewritten, but not yet integrated into this source tree.
|
||||
|
||||
* Fullscreen mode does not work; I don't know why.
|
||||
|
||||
* Some features in X11.app are not yet implemented; these are marked
|
||||
with #ifdef DARWIN_DDX_MISSING in the code.
|
||||
|
||||
* The build system code could probably be cleaned up slightly.
|
||||
|
||||
Any patches or code contributions would be most welcome and may be
|
||||
sent to me at bbyer@apple.com.
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
8
|
||||
|
||||
dir
|
||||
29110
|
||||
svn+ssh://src.apple.com/svn/BSD/X11server/trunk/darwin/apple/English.lproj/main.nib
|
||||
svn+ssh://src.apple.com/svn/BSD
|
||||
|
||||
|
||||
|
||||
2007-02-03T03:06:20.842932Z
|
||||
28761
|
||||
bbyer
|
||||
|
||||
|
||||
svn:special svn:externals svn:needs-lock
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
e92bca22-270c-0410-9cea-e3f1106b6a1c
|
||||
|
||||
info.nib
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2007-02-27T01:00:07.000000Z
|
||||
456347804c516786b1d1339ce2ef50a2
|
||||
2007-02-03T03:06:20.842932Z
|
||||
28761
|
||||
bbyer
|
||||
|
||||
keyedobjects.nib
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2007-02-27T01:00:07.000000Z
|
||||
eb3010372b09768c846df0d996cfdd8d
|
||||
2007-02-03T03:06:20.842932Z
|
||||
28761
|
||||
bbyer
|
||||
has-props
|
||||
|
||||
classes.nib
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2007-02-27T01:00:07.000000Z
|
||||
0ae2660c3afabbd5aa02fc34712c96e6
|
||||
2007-02-03T03:06:20.842932Z
|
||||
28761
|
||||
bbyer
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
8
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
|
|
@ -1,318 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IBClasses</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CLASS</key>
|
||||
<string>IBLibraryObjectTemplate</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>OUTLETS</key>
|
||||
<dict>
|
||||
<key>draggedView</key>
|
||||
<string>NSView</string>
|
||||
<key>representedObject</key>
|
||||
<string>NSObject</string>
|
||||
</dict>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSView</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CLASS</key>
|
||||
<string>IBInspector</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>OUTLETS</key>
|
||||
<dict>
|
||||
<key>inspectorView</key>
|
||||
<string>NSView</string>
|
||||
</dict>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSObject</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CLASS</key>
|
||||
<string>NSDateFormatter</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSFormatter</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>ACTIONS</key>
|
||||
<dict>
|
||||
<key>apps_table_cancel</key>
|
||||
<string>id</string>
|
||||
<key>apps_table_delete</key>
|
||||
<string>id</string>
|
||||
<key>apps_table_done</key>
|
||||
<string>id</string>
|
||||
<key>apps_table_duplicate</key>
|
||||
<string>id</string>
|
||||
<key>apps_table_new</key>
|
||||
<string>id</string>
|
||||
<key>apps_table_show</key>
|
||||
<string>id</string>
|
||||
<key>bring_to_front</key>
|
||||
<string>id</string>
|
||||
<key>close_window</key>
|
||||
<string>id</string>
|
||||
<key>enable_fullscreen_changed</key>
|
||||
<string>id</string>
|
||||
<key>minimize_window</key>
|
||||
<string>id</string>
|
||||
<key>next_window</key>
|
||||
<string>id</string>
|
||||
<key>prefs_changed</key>
|
||||
<string>id</string>
|
||||
<key>prefs_show</key>
|
||||
<string>id</string>
|
||||
<key>previous_window</key>
|
||||
<string>id</string>
|
||||
<key>toggle_fullscreen</key>
|
||||
<string>id</string>
|
||||
<key>x11_help</key>
|
||||
<string>id</string>
|
||||
<key>zoom_window</key>
|
||||
<string>id</string>
|
||||
</dict>
|
||||
<key>CLASS</key>
|
||||
<string>X11Controller</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>OUTLETS</key>
|
||||
<dict>
|
||||
<key>apps_separator</key>
|
||||
<string>id</string>
|
||||
<key>apps_table</key>
|
||||
<string>id</string>
|
||||
<key>depth</key>
|
||||
<string>id</string>
|
||||
<key>dock_apps_menu</key>
|
||||
<string>id</string>
|
||||
<key>dock_menu</key>
|
||||
<string>id</string>
|
||||
<key>dock_window_separator</key>
|
||||
<string>id</string>
|
||||
<key>enable_auth</key>
|
||||
<string>id</string>
|
||||
<key>enable_fullscreen</key>
|
||||
<string>id</string>
|
||||
<key>enable_keyequivs</key>
|
||||
<string>id</string>
|
||||
<key>enable_tcp</key>
|
||||
<string>id</string>
|
||||
<key>fake_buttons</key>
|
||||
<string>id</string>
|
||||
<key>prefs_panel</key>
|
||||
<string>id</string>
|
||||
<key>sync_keymap</key>
|
||||
<string>id</string>
|
||||
<key>toggle_fullscreen_item</key>
|
||||
<string>id</string>
|
||||
<key>use_sysbeep</key>
|
||||
<string>id</string>
|
||||
<key>window_separator</key>
|
||||
<string>id</string>
|
||||
<key>x11_about_item</key>
|
||||
<string>id</string>
|
||||
</dict>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSObject</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CLASS</key>
|
||||
<string>NSNumberFormatter</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSFormatter</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CLASS</key>
|
||||
<string>NSFormatter</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSObject</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>ACTIONS</key>
|
||||
<dict>
|
||||
<key>alignCenter:</key>
|
||||
<string>id</string>
|
||||
<key>alignJustified:</key>
|
||||
<string>id</string>
|
||||
<key>alignLeft:</key>
|
||||
<string>id</string>
|
||||
<key>alignRight:</key>
|
||||
<string>id</string>
|
||||
<key>arrangeInFront:</key>
|
||||
<string>id</string>
|
||||
<key>centerSelectionInVisibleArea:</key>
|
||||
<string>id</string>
|
||||
<key>changeFont:</key>
|
||||
<string>id</string>
|
||||
<key>checkSpelling:</key>
|
||||
<string>id</string>
|
||||
<key>clear:</key>
|
||||
<string>id</string>
|
||||
<key>clearRecentDocuments:</key>
|
||||
<string>id</string>
|
||||
<key>complete:</key>
|
||||
<string>id</string>
|
||||
<key>copy:</key>
|
||||
<string>id</string>
|
||||
<key>copyFont:</key>
|
||||
<string>id</string>
|
||||
<key>copyRuler:</key>
|
||||
<string>id</string>
|
||||
<key>cut:</key>
|
||||
<string>id</string>
|
||||
<key>delete:</key>
|
||||
<string>id</string>
|
||||
<key>deminiaturize:</key>
|
||||
<string>id</string>
|
||||
<key>fax:</key>
|
||||
<string>id</string>
|
||||
<key>hide:</key>
|
||||
<string>id</string>
|
||||
<key>hideOtherApplications:</key>
|
||||
<string>id</string>
|
||||
<key>loosenKerning:</key>
|
||||
<string>id</string>
|
||||
<key>lowerBaseline:</key>
|
||||
<string>id</string>
|
||||
<key>makeKeyAndOrderFront:</key>
|
||||
<string>id</string>
|
||||
<key>miniaturize:</key>
|
||||
<string>id</string>
|
||||
<key>newDocument:</key>
|
||||
<string>id</string>
|
||||
<key>openDocument:</key>
|
||||
<string>id</string>
|
||||
<key>orderBack:</key>
|
||||
<string>id</string>
|
||||
<key>orderFront:</key>
|
||||
<string>id</string>
|
||||
<key>orderFrontColorPanel:</key>
|
||||
<string>id</string>
|
||||
<key>orderFrontHelpPanel:</key>
|
||||
<string>id</string>
|
||||
<key>orderOut:</key>
|
||||
<string>id</string>
|
||||
<key>outline:</key>
|
||||
<string>id</string>
|
||||
<key>paste:</key>
|
||||
<string>id</string>
|
||||
<key>pasteAsPlainText:</key>
|
||||
<string>id</string>
|
||||
<key>pasteAsRichText:</key>
|
||||
<string>id</string>
|
||||
<key>pasteFont:</key>
|
||||
<string>id</string>
|
||||
<key>pasteRuler:</key>
|
||||
<string>id</string>
|
||||
<key>pause:</key>
|
||||
<string>id</string>
|
||||
<key>performClose:</key>
|
||||
<string>id</string>
|
||||
<key>performFindPanelAction:</key>
|
||||
<string>id</string>
|
||||
<key>performMiniaturize:</key>
|
||||
<string>id</string>
|
||||
<key>performZoom:</key>
|
||||
<string>id</string>
|
||||
<key>play:</key>
|
||||
<string>id</string>
|
||||
<key>print:</key>
|
||||
<string>id</string>
|
||||
<key>printDocument:</key>
|
||||
<string>id</string>
|
||||
<key>raiseBaseline:</key>
|
||||
<string>id</string>
|
||||
<key>record:</key>
|
||||
<string>id</string>
|
||||
<key>redo:</key>
|
||||
<string>id</string>
|
||||
<key>resume:</key>
|
||||
<string>id</string>
|
||||
<key>revertDocumentToSaved:</key>
|
||||
<string>id</string>
|
||||
<key>run:</key>
|
||||
<string>id</string>
|
||||
<key>runPageLayout:</key>
|
||||
<string>id</string>
|
||||
<key>runToolbarCustomizationPalette:</key>
|
||||
<string>id</string>
|
||||
<key>saveAllDocuments:</key>
|
||||
<string>id</string>
|
||||
<key>saveDocument:</key>
|
||||
<string>id</string>
|
||||
<key>saveDocumentAs:</key>
|
||||
<string>id</string>
|
||||
<key>saveDocumentTo:</key>
|
||||
<string>id</string>
|
||||
<key>selectAll:</key>
|
||||
<string>id</string>
|
||||
<key>selectText:</key>
|
||||
<string>id</string>
|
||||
<key>showGuessPanel:</key>
|
||||
<string>id</string>
|
||||
<key>showHelp:</key>
|
||||
<string>id</string>
|
||||
<key>start:</key>
|
||||
<string>id</string>
|
||||
<key>startSpeaking:</key>
|
||||
<string>id</string>
|
||||
<key>stop:</key>
|
||||
<string>id</string>
|
||||
<key>stopSpeaking:</key>
|
||||
<string>id</string>
|
||||
<key>subscript:</key>
|
||||
<string>id</string>
|
||||
<key>superscript:</key>
|
||||
<string>id</string>
|
||||
<key>terminate:</key>
|
||||
<string>id</string>
|
||||
<key>tightenKerning:</key>
|
||||
<string>id</string>
|
||||
<key>toggleContinuousSpellChecking:</key>
|
||||
<string>id</string>
|
||||
<key>toggleRuler:</key>
|
||||
<string>id</string>
|
||||
<key>toggleToolbarShown:</key>
|
||||
<string>id</string>
|
||||
<key>turnOffKerning:</key>
|
||||
<string>id</string>
|
||||
<key>turnOffLigatures:</key>
|
||||
<string>id</string>
|
||||
<key>underline:</key>
|
||||
<string>id</string>
|
||||
<key>undo:</key>
|
||||
<string>id</string>
|
||||
<key>unhideAllApplications:</key>
|
||||
<string>id</string>
|
||||
<key>unscript:</key>
|
||||
<string>id</string>
|
||||
<key>useAllLigatures:</key>
|
||||
<string>id</string>
|
||||
<key>useStandardKerning:</key>
|
||||
<string>id</string>
|
||||
<key>useStandardLigatures:</key>
|
||||
<string>id</string>
|
||||
</dict>
|
||||
<key>CLASS</key>
|
||||
<string>FirstResponder</string>
|
||||
<key>LANGUAGE</key>
|
||||
<string>ObjC</string>
|
||||
<key>SUPERCLASS</key>
|
||||
<string>NSObject</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>IBVersion</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>588</string>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>244</integer>
|
||||
<integer>29</integer>
|
||||
<integer>423</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>9A356</string>
|
||||
<key>targetFramework</key>
|
||||
<string>IBCocoaFramework</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -58,10 +58,6 @@ Bool DarwinEQInit(DevicePtr pKbd, DevicePtr pPtr);
|
|||
void DarwinEQEnqueue(const xEvent *e);
|
||||
void DarwinEQPointerPost(xEvent *e);
|
||||
void DarwinEQSwitchScreen(ScreenPtr pScreen, Bool fromDIX);
|
||||
void DarwinPokeEQ(void);
|
||||
void DarwinSendPointerEvents(int ev_type, int ev_button, int pointer_x, int pointer_y);
|
||||
void DarwinSendKeyboardEvents(int ev_type, int keycode);
|
||||
void DarwinSendScrollEvents(float count, int pointer_x, int pointer_y);
|
||||
|
||||
// From darwinKeyboard.c
|
||||
int DarwinModifierNXKeyToNXKeycode(int key, int side);
|
||||
|
|
|
|||
|
|
@ -91,9 +91,7 @@ static pthread_cond_t cursorCondition;
|
|||
/* Acquire lock and tell the main thread to change cursor */ \
|
||||
pthread_mutex_lock(&cursorMutex); \
|
||||
currentCursor = (CCrsrHandle) (cursorH); \
|
||||
#ifndef INXQUARTZ
|
||||
QuartzMessageMainThread(kQuartzCursorUpdate, NULL, 0); \
|
||||
#endif
|
||||
\
|
||||
/* Wait for the main thread to change the cursor */ \
|
||||
pthread_cond_wait(&cursorCondition, &cursorMutex); \
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
* Rickard E. (Rik) Faith <faith@valinux.com>
|
||||
*
|
||||
*/
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
#include <xorg-config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
#include <xorg-config.h>
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ eventHandler(unsigned int type, const void *arg,
|
|||
}
|
||||
|
||||
/*
|
||||
* displayScreenBounds
|
||||
* displayAtIndex
|
||||
* Return the display ID for a particular display index.
|
||||
*/
|
||||
static CGDirectDisplayID
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue