code
stringlengths
3
10M
language
stringclasses
31 values
<?xml version="1.0" encoding="UTF-8"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="parent.notation#_MKCG0GDEEeOlwNvI9mlDvw"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="parent.notation#_MKCG0GDEEeOlwNvI9mlDvw"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
a meter in a taxi that registers the fare (based on the length of the ride)
D
module minima.physics.data; public { alias BoxId = size_t; interface ForceApplier { float[2] apply(BoxId boxId, float timeChange); } public TileName* getTile(int x, int y) { with (_tileMap) { if (x >= 0 && x < width && y >= 0 && y < height) return &data[x][y]; return null; } } } package(minima.physics) { // maximum width acceptable for tilemaps in number of tiles. const maxTileMapWidth = 1000; // maximum height acceptable for tilemaps in number of tiles. const maxTileMapHeight = 1000; struct TileMap { // 2d array of tile names. TileName[maxTileMapWidth][maxTileMapHeight] data; // dimensions of tilemap in number of tiles. uint width, height; } TileMap _tileMap; struct Box { this(float[2] center, float[2] halfSize, BoxId id, float friction) { import std.container; this._center = center; this._halfSize = halfSize; this._velocity = 0; this._appliedForces = SList!ForceApplier(); this._id = id; } public float[2] center() { return _center; } public float[2] halfSize() { return _halfSize; } public float[2] velocity() { return _velocity; } public float friction() { return _friction; } public BoxId id() { return _id; } public void setFriction(float newFriction) { _friction = newFriction; } private float[2] _center = void; private float[2] _halfSize = void; private float[2] _velocity = void; private float _friction = 1.0; private BoxId _id = -1; import std.container : SList; SList!ForceApplier _appliedForces; void addForceApplier(ForceApplier forceApplier) { _appliedForces.insertFront(forceApplier); } void applyForces(float timeChange) { while (!_appliedForces.empty) { _velocity = _appliedForces.front.apply(id, timeChange); _appliedForces.removeFront; } } void move(float timeChange) { static foreach (axis; 0 .. 2) moveInAxis(axis, timeChange); } void moveInAxis(int axis, float timeChange) in { assert(!collides(this)); } out { assert(!collides(this)); } do { float amount = _velocity[axis] * timeChange; if (amount == 0) return; import std.math; import minima.util; import std.algorithm; auto direction = cast(int) sgn(amount); float[] centerRange = [_center[axis], _center[axis] + amount]; sort(centerRange); // try simple move _center[axis] += amount; if (!collides(this)) return; _center[axis] -= amount; // if not possible... _velocity[axis] = 0; // snap corner auto corner = _center[axis] + direction * _halfSize[axis]; corner += direction * pfmod(-direction * corner, 1.0); _center[axis] = corner - direction * _halfSize[axis]; // while on range continue stepping while (_center[axis] >= centerRange[0] && _center[axis] <= centerRange[1] && !collides(this)) _center[axis] += direction; if (collides(this)) _center[axis] -= direction; } } const maxNumberOfBoxes = 1000; Box[maxNumberOfBoxes] _boxPool; Box[] _currentBoxes; import minima.tile; void initTileMap(uint width, uint height, TileName fill) { _tileMap.width = width; _tileMap.height = height; for (uint x = 0; x < width; x++) for (uint y = 0; y < height; y++) _tileMap.data[x][y] = fill; } bool isSolid(int x, int y) { import tile = minima.tile; auto tileName = getTile(x, y); if (tileName is null) return true; return tile.getData(*tileName).isSolid; } import std.typecons; bool isSolid(Tuple!(int, int) p) { return isSolid(p[0], p[1]); } bool collides(ref Box box) { import std.math; import std.range; import std.algorithm.setops; import std.algorithm; import minima.util; int[2] lowerIndex = mixin(q{cast(int) floor(box.center[$] - box.halfSize[$])}.makeArray(2)); int[2] higherIndex = mixin(q{cast(int) ceil(box.center[$] + box.halfSize[$])}.makeArray(2)); auto boxRange = cartesianProduct(iota(lowerIndex[0], higherIndex[0]), iota(lowerIndex[1], higherIndex[1])); return boxRange.any!isSolid; } }
D
// The values for this variables can be specified by the user const int SPINE_ACHIEVEMENTORIENTATION = SPINE_BOTTOMRIGHT; // position of the achievement widget const int SPINE_SHOWACHIEVEMENTS = TRUE; // show achievement (you can set this to FALSE to disable the achievement widget, but internally the achievement will be unlocked, so you still can see it in Spine) const int SPINE_ACHIEVEMENT_DISPLAY_TIME = 3000; // show achievement for 3 seconds const int L4G_ERFOLG_PASSEDTEST = 0; const int L4G_ERFOLG_PASSEDEASY = 1; const int L4G_ERFOLG_PASSEDMEDIUM = 2; const int L4G_ERFOLG_PASSEDHARD = 3; const int L4G_ERFOLG_EARLYACCESSOR = 4; const int L4G_ERFOLG_BOSSKILLER = 5; // define the strings for the achievements // don't use an identifier for unlockAchievement greater than the maximum index of the array const int MAX_ACHIEVEMENTS = 6; const string SPINE_ACHIEVEMENT_NAMES[MAX_ACHIEVEMENTS] = { "Test bestanden", "Einfach", "Mittel", "Schwer", "Early Accessor", "Boss-inator" }; const string SPINE_ACHIEVEMENT_TEXTURES[MAX_ACHIEVEMENTS] = { "SPINE_ACHIEVEMENT_DEFAULT.TGA", "SPINE_ACHIEVEMENT_DEFAULT.TGA", "SPINE_ACHIEVEMENT_DEFAULT.TGA", "SPINE_ACHIEVEMENT_DEFAULT.TGA", "SPINE_ACHIEVEMENT_DEFAULT.TGA", "SPINE_ACHIEVEMENT_DEFAULT.TGA" }; const int L4G_SCORE_TEST = 0;
D
char[][] foo; foo = new char[][30]; foo = new char[][](30); int[][][] bar; bar = new int[][][](5, 20, 30); bar = new int[][][5]; foreach (ref a; bar) { a = new int[][20]; foreach (ref b; a) { b = new int[30]; } }
D
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager.o : /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/AFError.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/MultipartFormData.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Notifications.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ParameterEncoding.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Request.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Response.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ResponseSerialization.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Result.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/TaskDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Timeline.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager~partial.swiftmodule : /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/AFError.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/MultipartFormData.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Notifications.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ParameterEncoding.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Request.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Response.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ResponseSerialization.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Result.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/TaskDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Timeline.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager~partial.swiftdoc : /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/AFError.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/MultipartFormData.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Notifications.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ParameterEncoding.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Request.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Response.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ResponseSerialization.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Result.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/SessionManager.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/TaskDelegate.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Timeline.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple-1/Downloads/HouseKeeping/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
/** A HTTP 1.1/1.0 server implementation. Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig, Jan Krüger */ module vibe.http.server; public import vibe.core.net; public import vibe.http.common; public import vibe.http.session; import vibe.core.core; import vibe.core.log; import vibe.data.json; import vibe.http.dist; import vibe.http.form; import vibe.http.log; import vibe.inet.message; import vibe.inet.url; import vibe.stream.counting; import vibe.stream.ssl; import vibe.stream.zlib; import vibe.textfilter.urlencode; import vibe.utils.array; import vibe.utils.memory; import vibe.utils.string; import vibe.core.file; import std.algorithm : countUntil, map, min; import std.array; import std.conv; import std.datetime; import std.exception; import std.format; import std.functional; import std.string; import std.typecons; import std.uri; public import std.variant; /**************************************************************************************************/ /* Public functions */ /**************************************************************************************************/ /** Starts a HTTP server listening on the specified port. request_handler will be called for each HTTP request that is made. The res parameter of the callback then has to be filled with the response data. request_handler can be either HttpServerRequestDelegate/HttpServerRequestFunction or a class/struct with a member function 'handleRequest' that has the same signature. Note that if the application has been started with the --disthost command line switch, listenHttp() will automatically listen on the specified VibeDist host instead of locally. This allows for a seemless switch from single-host to multi-host scenarios without changing the code. If you need to listen locally, use listenHttpPlain() instead. Params: settings = Customizes the HTTP servers functionality. request_handler = This callback is invoked for each incoming request and is responsible for generating the response. */ void listenHttp(HttpServerSettings settings, HttpServerRequestDelegate request_handler) { enforce(settings.bindAddresses.length, "Must provide at least one bind address for a HTTP server."); HTTPServerContext ctx; ctx.settings = settings; ctx.requestHandler = request_handler; if( settings.accessLogToConsole ) ctx.loggers ~= new HttpConsoleLogger(settings, settings.accessLogFormat); if( settings.accessLogFile.length ) ctx.loggers ~= new HttpFileLogger(settings, settings.accessLogFormat, settings.accessLogFile); g_contexts ~= ctx; if( !s_listenersStarted ) return; // if a VibeDist host was specified on the command line, register there instead of listening // directly. if( s_distHost.length ){ listenHttpDist(settings, request_handler, s_distHost, s_distPort); } else { listenHttpPlain(settings, request_handler); } } /// ditto void listenHttp(HttpServerSettings settings, HttpServerRequestFunction request_handler) { listenHttp(settings, toDelegate(request_handler)); } /// ditto void listenHttp(HttpServerSettings settings, IHttpServerRequestHandler request_handler) { listenHttp(settings, &request_handler.handleRequest); } /** Starts a HTTP server listening on the specified port. This is the same as listenHttp() except that it does not use a VibeDist host for remote listening, even if specified on the command line. */ void listenHttpPlain(HttpServerSettings settings, HttpServerRequestDelegate request_handler) { static void doListen(HttpServerSettings settings, HTTPServerListener listener, string addr) { try { listenTcp(settings.port, (TcpConnection conn){ handleHttpConnection(conn, listener); }, addr); logInfo("Listening for HTTP%s requests on %s:%s", settings.sslKeyFile.length || settings.sslCertFile.length ? "S" : "", addr, settings.port); } catch( Exception e ) logWarn("Failed to listen on %s:%s", addr, settings.port); } // Check for every bind address/port, if a new listening socket needs to be created and // check for conflicting servers foreach( addr; settings.bindAddresses ){ bool found_listener = false; foreach( lst; g_listeners ){ if( lst.bindAddress == addr && lst.bindPort == settings.port ){ enforce(settings.sslKeyFile == lst.sslKeyFile && settings.sslCertFile == lst.sslCertFile, "A HTTP server is already listening on "~addr~":"~to!string(settings.port)~ " but the SSL mode differs."); foreach( ctx; g_contexts ){ if( ctx.settings.port != settings.port ) continue; if( countUntil(ctx.settings.bindAddresses, addr) < 0 ) continue; /*enforce(ctx.settings.hostName != settings.hostName, "A server with the host name '"~settings.hostName~"' is already " "listening on "~addr~":"~to!string(settings.port)~".");*/ } found_listener = true; break; } } if( !found_listener ){ auto listener = HTTPServerListener(addr, settings.port, settings.sslCertFile, settings.sslKeyFile); g_listeners ~= listener; doListen(settings, listener, addr); // DMD BUG 2043 } } } /** Provides a HTTP request handler that responds with a static Diet template. */ @property HttpServerRequestDelegate staticTemplate(string template_file)() { import vibe.templ.diet; return (HttpServerRequest req, HttpServerResponse res){ //res.render!(template_file, req); //res.headers["Content-Type"] = "text/html; charset=UTF-8"; //parseDietFile!(template_file, req)(res.bodyWriter); res.renderCompat!(template_file, HttpServerRequest, "req")(Variant(req)); }; } /** Provides a HTTP request handler that responds with a static redirection to the specified URL. */ HttpServerRequestDelegate staticRedirect(string url) { return (HttpServerRequest req, HttpServerResponse res){ res.redirect(url); }; } /** Sets a VibeDist host to register with. */ void setVibeDistHost(string host, ushort port) { s_distHost = host; s_distPort = port; } void startListening() { assert(!s_listenersStarted); s_listenersStarted = true; foreach( ctx; g_contexts ){ // if a VibeDist host was specified on the command line, register there instead of listening // directly. if( s_distHost.length ){ listenHttpDist(ctx.settings, ctx.requestHandler, s_distHost, s_distPort); } else { listenHttpPlain(ctx.settings, ctx.requestHandler); } } } /** Renders the given template and makes all ALIASES available to the template. This currently suffers from multiple DMD bugs - use renderCompat() instead for the time being. You can call this function as a member of HttpServerResponse using D's uniform function call syntax. Examples: --- string title = "Hello, World!"; int pageNumber = 1; res.render!("mytemplate.jd", title, pageNumber); --- */ @property void render(string template_file, ALIASES...)(HttpServerResponse res) { import vibe.templ.diet; res.headers["Content-Type"] = "text/html; charset=UTF-8"; parseDietFile!(template_file, ALIASES)(res.bodyWriter); } /**************************************************************************************************/ /* Public types */ /**************************************************************************************************/ /// Delegate based request handler alias void delegate(HttpServerRequest req, HttpServerResponse res) HttpServerRequestDelegate; /// Static function based request handler alias void function(HttpServerRequest req, HttpServerResponse res) HttpServerRequestFunction; /// Interface for class based request handlers interface IHttpServerRequestHandler { /// Handles incoming HTTP requests void handleRequest(HttpServerRequest req, HttpServerResponse res); } /// Aggregates all information about an HTTP error status. class HttpServerErrorInfo { /// The HTTP status code int code; /// The error message string message; /// Extended error message with debug information such as a stack trace string debugMessage; /// The error exception, if any Throwable exception; } /// Delegate type used for user defined error page generator callbacks. alias void delegate(HttpServerRequest req, HttpServerResponse res, HttpServerErrorInfo error) HttpServerErrorPageHandler; /** Specifies optional features of the HTTP server. Disabling unneeded features can speed up the server or reduce its memory usage. */ enum HttpServerOption { None = 0, /// Fills the .path, .queryString fields in the request ParseURL = 1<<0, /// Fills the .query field in the request ParseQueryString = 1<<1 | ParseURL, /// Fills the .form field in the request ParseFormBody = 1<<2, /// Fills the .json field in the request ParseJsonBody = 1<<3, /// Enables use of the .nextPart() method in the request ParseMultiPartBody = 1<<4, // todo /// Fills the .cookies field in the request ParseCookies = 1<<5, } /** Contains all settings for configuring a basic HTTP server. The defaults are sufficient for most normal uses. */ class HttpServerSettings { /** The port on which the HTTP server is listening. The default value is 80. If you are running a SSL enabled server you may want to set this to 443 instead. */ ushort port = 80; /** The interfaces on which the HTTP server is listening. By default, the server will listen on all IPv4 and IPv6 interfaces. */ string[] bindAddresses = ["0.0.0.0", "::"]; /** Determines the server host name. If multiple servers are listening on the same port, the host name will determine which one gets a request. */ string hostName; /** Configures optional features of the HTTP server Disabling unneeded features can improve performance or reduce the server load in case of invalid or unwanted requests (DoS). */ HttpServerOption options = HttpServerOption.ParseURL | HttpServerOption.ParseQueryString | HttpServerOption.ParseFormBody | HttpServerOption.ParseJsonBody | HttpServerOption.ParseMultiPartBody | HttpServerOption.ParseCookies; /// Time of a request after which the connection is closed with an error; not supported yet Duration maxRequestTime = dur!"seconds"(0); /// Maximum time between two request on a keep-alive connection Duration keepAliveTimeout = dur!"seconds"(10); /// Maximum number of transferred bytes per request after which the connection is closed with /// an error; not supported yet ulong maxRequestSize = 2097152; /// Maximum number of transferred bytes for the request header. This includes the request line /// the url and all headers. ulong maxRequestHeaderSize = 8192; uint maxRequestHeaderCount = 100; /// Sets a custom handler for displaying error pages for HTTP errors HttpServerErrorPageHandler errorPageHandler = null; /// If set, a HTTPS server will be started instead of plain HTTP string sslCertFile; /// ditto string sslKeyFile; /// Session management is enabled if a session store instance is provided SessionStore sessionStore; string sessionIdCookie = "vibe.session_id"; /// string serverString = "vibe.d/" ~ VibeVersionString; /** Specifies the format used for the access log. The log format is given using the Apache server syntax. By default NCSA combined is used. --- "%h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" --- */ string accessLogFormat = "%h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\""; /// Spefifies the name of a file to which access log messages are appended. string accessLogFile = ""; /// If set, access log entries will be output to the console. bool accessLogToConsole = false; /// Returns a duplicate of the settings object. @property HttpServerSettings dup() { auto ret = new HttpServerSettings; foreach( mem; __traits(allMembers, HttpServerSettings) ){ static if( mem == "bindAddresses" ) ret.bindAddresses = bindAddresses.dup; else static if( __traits(compiles, __traits(getMember, ret, mem) = __traits(getMember, this, mem)) ) __traits(getMember, ret, mem) = __traits(getMember, this, mem); } return ret; } } /** Throwing this exception from within a request handler will produce a matching error page. */ class HttpStatusException : Exception { private { int m_status; } this(int status, string message = null, Throwable next = null, string file = __FILE__, int line = __LINE__) { super(message ? message : httpStatusText(status), file, line, next); m_status = status; } /// The HTTP status code @property int status() const { return m_status; } } /** Represents a HTTP request as received by the server side. */ final class HttpServerRequest : HttpRequest { public { /// The address of the _peer (in IP _form) string peer; /** The _path part of the URL. Remarks: This field is only set if HttpServerOption.ParseURL is set. */ string path; /** The user name part of the URL, if present. Remarks: This field is only set if HttpServerOption.ParseURL is set. */ string username; /** The _password part of the URL, if present. Remarks: This field is only set if HttpServerOption.ParseURL is set. */ string password; /** The _query string part of the URL. Remarks: This field is only set if HttpServerOption.ParseURL is set. */ string queryString; /** Contains the list of _cookies that are stored on the client. Remarks: This field is only set if HttpServerOption.ParseCookies is set. */ string[string] cookies; /** Contains all _form fields supplied using the _query string. Remarks: This field is only set if HttpServerOption.ParseQueryString is set. */ string[string] query; /** A map of general parameters for the request. This map is supposed to be used by middleware functionality to store information for later stages. For example vibe.http.router.UrlRouter uses this map to store the value of any named placeholders. */ string[string] params; /** Supplies the request body as a stream. If the body has not already been read because one of the body parsers has processed it (e.g. HttpServerOption.ParseFormBody), it can be read from this stream. */ InputStream bodyReader; /** Contains the parsed Json for a JSON request. Remarks: This field is only set if HttpServerOption.ParseJsonBody is set. A JSON request must have the Content-Type "application/json". */ Json json; /** Contains the parsed parameters of a HTML POST _form request. Remarks: This field is only set if HttpServerOption.ParseFormBody is set. A form request must either have the Content-Type "application/x-www-form-urlencoded" or "multipart/form-data". */ string[string] form; /** Contains information about any uploaded file for a HTML _form request. Remarks: This field is only set if HttpServerOption.ParseFormBody is set amd if the Content-Type is "multipart/form-data". */ FilePart[string] files; /** The current Session object. This field is set if HttpServerResponse.startSession() has been called on a previous response and if the client has sent back the matching cookie. Remarks: Requires the HttpServerOption.ParseCookies option. */ Session session; } private { SysTime m_timeCreated; } this() { m_timeCreated = Clock.currTime().toUTC(); } @property inout(SysTime) timeCreated() inout { return m_timeCreated; } MultiPart nextPart() { assert(false); } /** The relative path the the root folder. Using this function instead of absolute URLs for embedded links can be useful to avoid dead link when the site is piped through a reverse-proxy. The returned string always ends with a slash. */ @property string rootDir() const { if( path.length == 0 ) return "./"; auto depth = count(path[1 .. $], '/'); return depth == 0 ? "./" : replicate("../", depth); } } /** Represents a HTTP response as sent from the server side. */ final class HttpServerResponse : HttpResponse { private { Stream m_conn; OutputStream m_bodyWriter; Allocator m_requestAlloc; FreeListRef!ChunkedOutputStream m_chunkedBodyWriter; FreeListRef!CountingOutputStream m_countingWriter; FreeListRef!GzipOutputStream m_gzipOutputStream; FreeListRef!DeflateOutputStream m_deflateOutputStream; HttpServerSettings m_settings; Session m_session; bool m_headerWritten = false; bool m_isHeadResponse = false; SysTime m_timeFinalized; } this(Stream conn, HttpServerSettings settings, Allocator req_alloc) { m_conn = conn; m_countingWriter = FreeListRef!CountingOutputStream(conn); m_settings = settings; m_requestAlloc = req_alloc; } @property SysTime timeFinalized() { return m_timeFinalized; } /** Determines if the HTTP header has already been written. */ @property bool headerWritten() const { return m_headerWritten; } /** Determines if the response does not need a body. */ bool isHeadResponse() const { return m_isHeadResponse; } /// Writes the hole response body at once. void writeBody(in ubyte[] data, string content_type = null) { if( content_type ) headers["Content-Type"] = content_type; headers["Content-Length"] = formatAlloc(m_requestAlloc, "%d", data.length); bodyWriter.write(data); } /// ditto void writeBody(string data, string content_type = "text/plain") { writeBody(cast(ubyte[])data, content_type); } /// Writes a JSON message with the specified status void writeJsonBody(T)(T data, int status = HttpStatus.OK) { statusCode = status; writeBody(cast(ubyte[])serializeToJson(data).toString(), "application/json"); } /** Writes the response with no body. */ void writeVoidBody() { if( !m_isHeadResponse ){ assert("Content-Length" !in headers); assert("Transfer-Encoding" !in headers); } assert(!headerWritten); writeHeader(); } /** A stream for writing the body of the HTTP response. Note that after 'bodyWriter' has been accessed for the first time, it is not allowed to change any header or the status code of the response. */ @property OutputStream bodyWriter() { assert(m_conn !is null); if( m_bodyWriter ) return m_bodyWriter; assert(!m_headerWritten, "A void body was already written!"); if( m_isHeadResponse ){ // for HEAD requests, we define a NullOutputWriter for convenience // - no body will be written. However, the request handler should call writeVoidBody() // and skip writing of the body in this case. if( "Content-Length" !in headers ) headers["Transfer-Encoding"] = "chunked"; writeHeader(); m_bodyWriter = new NullOutputStream; return m_bodyWriter; } if( "Content-Encoding" in headers && "Content-Length" in headers ){ // we do not known how large the compressed body will be in advance // so remove the content-length and use chunked transfer headers.remove("Content-Encoding"); } if ( "Content-Length" in headers ) { writeHeader(); m_bodyWriter = m_countingWriter; // TODO: LimitedOutputStream(m_conn, content_length) } else { headers["Transfer-Encoding"] = "chunked"; writeHeader(); m_chunkedBodyWriter = FreeListRef!ChunkedOutputStream(m_countingWriter); m_bodyWriter = m_chunkedBodyWriter; } if( auto pce = "Content-Encoding" in headers ){ if( *pce == "gzip" ){ m_gzipOutputStream = FreeListRef!GzipOutputStream(m_bodyWriter); m_bodyWriter = m_gzipOutputStream; } else if( *pce == "deflate" ){ m_deflateOutputStream = FreeListRef!DeflateOutputStream(m_bodyWriter); m_bodyWriter = m_deflateOutputStream; } else { logWarn("Unsupported Content-Encoding set in response: '"~*pce~"'"); } } return m_bodyWriter; } /// Sends a redirect request to the client. void redirect(string url, int status = HttpStatus.Found) { statusCode = status; headers["Location"] = url; headers["Content-Length"] = "14"; bodyWriter.write("redirecting..."); } /** Special method sending a SWITCHING_PROTOCOLS response to the client. */ Stream switchProtocol(string protocol) { statusCode = HttpStatus.SwitchingProtocols; headers["Upgrade"] = protocol; writeVoidBody(); return m_conn; } /// Sets the specified cookie value. Cookie setCookie(string name, string value) { auto cookie = new Cookie(); cookie.setValue(value); cookies[name] = cookie; return cookie; } /** Initiates a new session. The session is stored in the SessionStore that was specified when creating the server. Depending on this, the session can be persistent or temporary and specific to this server instance. */ Session startSession() { assert(m_settings.sessionStore, "no session store set"); assert(!m_session, "Try to start a session, but already started one."); m_session = m_settings.sessionStore.create(); setCookie(m_settings.sessionIdCookie, m_session.id); return m_session; } /** Terminates the current session (if any). */ void terminateSession() { assert(m_session, "Try to terminate a session, but none is started."); setCookie(m_settings.sessionIdCookie, ""); m_session.destroy(); m_session = null; } @property ulong bytesWritten() { return m_countingWriter.bytesWritten; } /** Compatibility version of render() that takes a list of explicit names and types instead of variable aliases. This version of render() works around a compiler bug in DMD (Issue 2962). You should use this method instead of render() as long as this bug is not fixed. Note that the variables are copied and not referenced inside of the template - any modification you do on them from within the template will get lost. Examples: --- string title = "Hello, World!"; int pageNumber = 1; res.renderCompat!("mytemplate.jd", string, "title", int, "pageNumber") (Variant(title), Variant(pageNumber)); --- */ void renderCompat(string template_file, TYPES_AND_NAMES...)(Variant[] args...) { import vibe.templ.diet; headers["Content-Type"] = "text/html; charset=UTF-8"; parseDietFileCompat!(template_file, TYPES_AND_NAMES)(bodyWriter, args); } // Finalizes the response. This is called automatically by the server. private void finalize() { if( m_bodyWriter ) m_bodyWriter.finalize(); if( m_chunkedBodyWriter && m_chunkedBodyWriter !is m_bodyWriter ) m_chunkedBodyWriter.finalize(); m_conn.flush(); m_timeFinalized = Clock.currTime().toUTC(); } private void writeHeader() { assert(!m_bodyWriter && !m_headerWritten, "Try to write header after body has already begun."); m_headerWritten = true; auto app = appender!string(); app.reserve(512); void writeLine(T...)(string fmt, T args) { formattedWrite(app, fmt, args); app.put("\r\n"); } // write the status line writeLine("%s %d %s", getHttpVersionString(this.httpVersion), this.statusCode, this.statusPhrase.length ? this.statusPhrase : httpStatusText(this.statusCode)); // write all normal headers foreach( n, v; this.headers ){ app.put(n); app.put(':'); app.put(' '); app.put(v); app.put("\r\n"); } // NOTE: AA.length is very slow so this helper function is used to determine if an AA is empty. static bool empty(AA)(AA aa) { foreach( _; aa ) return false; return true; } // write cookies if( !empty(cookies) ) { foreach( n, cookie; this.cookies ) { app.put("Set-Cookie: "); app.put(n); app.put('='); filterUrlEncode(app, cookie.value); if ( cookie.domain ) { app.put("; Domain="); app.put(cookie.domain); } if ( cookie.path ) { app.put("; Path="); app.put(cookie.path); } if ( cookie.expires ) { app.put("; Expires="); app.put(cookie.expires); } if ( cookie.maxAge ) { app.put("; MaxAge="); formattedWrite(app, "%s", cookie.maxAge); } if ( cookie.isSecure ) { app.put("; Secure"); } if ( cookie.isHttpOnly ) { app.put("; HttpOnly"); } app.put("\r\n"); } } // finalize reposonse header app.put("\r\n"); m_conn.write(app.data(), true); } } /**************************************************************************************************/ /* Private types */ /**************************************************************************************************/ private struct HTTPServerContext { HttpServerRequestDelegate requestHandler; HttpServerSettings settings; HttpLogger[] loggers; } private struct HTTPServerListener { string bindAddress; ushort bindPort; string sslCertFile; string sslKeyFile; } private enum MaxHttpHeaderLineLength = 4096; private enum MaxHttpRequestHeaderSize = 8192; private class LimitedHttpInputStream : LimitedInputStream { this(InputStream stream, ulong byte_limit, bool silent_limit = false) { super(stream, byte_limit, silent_limit); } override void onSizeLimitReached() { throw new HttpStatusException(HttpStatus.RequestEntityTooLarge); } } private class TimeoutHttpInputStream : InputStream { private { SysTime m_timeref; Duration m_timeleft; InputStream m_in; } this(InputStream stream, Duration timeleft) { enforce(timeleft > dur!"seconds"(0), "Timeout required"); m_in = stream; m_timeleft = timeleft; m_timeref = Clock.currTime(); } @property bool empty() { enforce(m_in !is null, "InputStream missing"); return m_in.empty(); } @property ulong leastSize() { enforce(m_in !is null, "InputStream missing"); return m_in.leastSize(); } @property bool dataAvailableForRead() { enforce(m_in !is null, "InputStream missing"); return m_in.dataAvailableForRead; } const(ubyte)[] peek() { return m_in.peek(); } void read(ubyte[] dst) { enforce(m_in !is null, "InputStream missing"); checkTimeout(); m_in.read(dst); } private void checkTimeout() { SysTime curr = Clock.currTime(); auto diff = curr - m_timeref; if( diff > m_timeleft ) throw new HttpStatusException(HttpStatus.RequestTimeout); m_timeleft -= diff; m_timeref = curr; } } /**************************************************************************************************/ /* Private functions */ /**************************************************************************************************/ private { shared string s_distHost; shared ushort s_distPort = 11000; shared bool s_listenersStarted = false; __gshared HTTPServerContext[] g_contexts; __gshared HTTPServerListener[] g_listeners; } /// private private void handleHttpConnection(TcpConnection conn_, HTTPServerListener listen_info) { FreeListRef!SslContext ssl_ctx; FreeListRef!SslContext ssl_context; if( listen_info.sslCertFile.length || listen_info.sslKeyFile.length ){ logDebug("Creating SSL context..."); assert(listen_info.sslCertFile.length && listen_info.sslKeyFile.length); ssl_ctx = FreeListRef!SslContext(listen_info.sslCertFile, listen_info.sslKeyFile); logDebug("... done"); } Stream conn; FreeListRef!SslStream ssl_stream; // If this is a HTTPS server, initiate SSL if( ssl_ctx ){ logTrace("accept ssl"); ssl_stream = FreeListRef!SslStream(conn_, ssl_ctx, SslStreamState.Accepting); conn = ssl_stream; } else conn = conn_; bool persistent; do { HttpServerSettings settings; persistent = handleRequest(conn, conn_.peerAddress, listen_info, settings); // wait for another possible request on a keep-alive connection if( persistent && !conn_.waitForData(settings.keepAliveTimeout) ) { logDebug("persistent connection timeout!"); break; } } while( persistent && conn_.connected ); } private bool handleRequest(Stream conn, string peer_address, HTTPServerListener listen_info, ref HttpServerSettings settings) { auto request_allocator = scoped!PoolAllocator(1024, defaultAllocator()); scope(exit) request_allocator.reset(); // some instances that live only while the request is running FreeListRef!NullOutputStream nullWriter = FreeListRef!NullOutputStream(); FreeListRef!HttpServerRequest req = FreeListRef!HttpServerRequest(); FreeListRef!TimeoutHttpInputStream timeout_http_input_stream; FreeListRef!LimitedHttpInputStream limited_http_input_stream; FreeListRef!ChunkedInputStream chunked_input_stream; // Default to the first virtual host for this listener HttpServerRequestDelegate request_task; HTTPServerContext context; foreach( ctx; g_contexts ) if( ctx.settings.port == listen_info.bindPort ){ bool found = false; foreach( addr; ctx.settings.bindAddresses ) if( addr == listen_info.bindAddress ) found = true; if( !found ) continue; context = ctx; settings = ctx.settings; request_task = ctx.requestHandler; break; } // Create the response object auto res = FreeListRef!HttpServerResponse(conn, settings, request_allocator.Scoped_payload); // Error page handler void errorOut(int code, string msg, string debug_msg, Throwable ex){ assert(!res.headerWritten); // stack traces sometimes contain random bytes - make sure they are replaced debug_msg = sanitizeUTF8(cast(ubyte[])debug_msg); res.statusCode = code; if( settings && settings.errorPageHandler ){ scope err = new HttpServerErrorInfo; err.code = code; err.message = msg; err.debugMessage = debug_msg; err.exception = ex; settings.errorPageHandler(req, res, err); } else { res.contentType = "text/plain"; res.bodyWriter.write(to!string(code) ~ " - " ~ httpStatusText(code) ~ "\n\n" ~ msg ~ "\n\nInternal error information:\n" ~ debug_msg); } assert(res.headerWritten); } bool parsed = false; bool keep_alive = false; // parse the request try { logTrace("reading request.."); InputStream reqReader; if( settings.maxRequestTime == dur!"seconds"(0) ) reqReader = conn; else { timeout_http_input_stream = FreeListRef!TimeoutHttpInputStream(conn, settings.maxRequestTime); reqReader = timeout_http_input_stream; } // basic request parsing req.peer = peer_address; parseRequest(req, reqReader, request_allocator); logTrace("Got request header."); // find the matching virtual host foreach( ctx; g_contexts ) if( ctx.settings.hostName == req.host ){ if( ctx.settings.port != listen_info.bindPort ) continue; bool found = false; foreach( addr; ctx.settings.bindAddresses ) if( addr == listen_info.bindAddress ) found = true; if( !found ) continue; context = ctx; settings = ctx.settings; request_task = ctx.requestHandler; break; } res.m_settings = settings; // setup compressed output if( auto pae = "Accept-Encoding" in req.headers ){ if( countUntil(*pae, "gzip") >= 0 ){ res.headers["Content-Encoding"] = "gzip"; } else if( countUntil(*pae, "deflate") >= 0 ){ res.headers["Content-Encoding"] = "deflate"; } } // limit request size if( auto pcl = "Content-Length" in req.headers ) { string v = *pcl; auto contentLength = parse!ulong(v); // DMDBUG: to! thinks there is a H in the string enforce(v.length == 0, "Invalid content-length"); enforce(settings.maxRequestSize <= 0 || contentLength <= settings.maxRequestSize, "Request size too big"); limited_http_input_stream = FreeListRef!LimitedHttpInputStream(reqReader, contentLength); } else if( auto pt = "Transfer-Encoding" in req.headers ){ enforce(*pt == "chunked"); chunked_input_stream = FreeListRef!ChunkedInputStream(reqReader); limited_http_input_stream = FreeListRef!LimitedHttpInputStream(chunked_input_stream, settings.maxRequestSize, true); } else { auto pc = "Connection" in req.headers; if( pc && *pc == "close" ) limited_http_input_stream = FreeListRef!LimitedHttpInputStream(reqReader, settings.maxRequestSize, true); else limited_http_input_stream = FreeListRef!LimitedHttpInputStream(reqReader, 0); } req.bodyReader = limited_http_input_stream; // handle Expect header if( auto pv = "Expect" in req.headers) { if( *pv == "100-continue" ) { logTrace("sending 100 continue"); conn.write("HTTP/1.1 100 Continue\r\n\r\n"); } } // Url parsing if desired if( settings.options & HttpServerOption.ParseURL ){ auto url = Url.parse(req.url); req.path = url.pathString; req.queryString = url.queryString; req.username = url.username; req.password = url.password; } // query string parsing if desired if( settings.options & HttpServerOption.ParseQueryString ){ if( !(settings.options & HttpServerOption.ParseURL) ) logWarn("Query string parsing requested but URL parsing is disabled!"); parseUrlEncodedForm(req.queryString, req.query); } // cookie parsing if desired if( settings.options & HttpServerOption.ParseCookies ){ auto pv = "cookie" in req.headers; if ( pv ) parseCookies(*pv, req.cookies); } // lookup the session if ( settings.sessionStore ) { auto pv = settings.sessionIdCookie in req.cookies; if (pv && *pv != "") { req.session = settings.sessionStore.open(*pv); res.m_session = req.session; } } if( settings.options & HttpServerOption.ParseFormBody ){ auto ptype = "Content-Type" in req.headers; if( ptype ) parseFormData(req.form, req.files, *ptype, req.bodyReader, MaxHttpHeaderLineLength); } if( settings.options & HttpServerOption.ParseJsonBody ){ auto ptype = "Content-Type" in req.headers; if( ptype && split(*ptype, ";").map!(a => a.strip())().startsWith("application/json") ){ auto bodyStr = cast(string)req.bodyReader.readAll(); req.json = parseJson(bodyStr); } } // write default headers if( req.method == HttpMethod.HEAD ) res.m_isHeadResponse = true; if( settings.serverString.length ) res.headers["Server"] = settings.serverString; res.headers["Date"] = toRFC822DateTimeString(Clock.currTime().toUTC()); if( req.persistent ) res.headers["Keep-Alive"] = formatAlloc(request_allocator, "timeout=%d", settings.keepAliveTimeout.total!"seconds"()); // finished parsing the request parsed = true; keep_alive = req.persistent; // handle the request logTrace("handle request (body %d)", req.bodyReader.leastSize); res.httpVersion = req.httpVersion; request_task(req, res); // if no one has written anything, return 404 if( !res.headerWritten ) throw new HttpStatusException(HttpStatus.NotFound); } catch(HttpStatusException err) { logDebug("http error thrown: %s", err.toString()); if ( !res.headerWritten ) errorOut(err.status, err.msg, err.toString(), err); else logError("HttpStatusException after page has been written: %s", err.toString()); logDebug("Exception while handling request: %s", err.toString()); if ( !parsed || justifiesConnectionClose(err.status) ) keep_alive = false; } catch (Throwable e) { logDebug("Exception while parsing request: %s", e.toString()); auto status = parsed ? HttpStatus.InternalServerError : HttpStatus.BadRequest; if( !res.headerWritten ) errorOut(status, httpStatusText(status), e.toString(), e); else logError("Error after page has been written: %s", e.toString()); logDebug("Exception while handling request: %s", e.toString()); if ( !parsed ) keep_alive = false; } if( req.bodyReader && !req.bodyReader.empty ) nullWriter.write(req.bodyReader); // finalize (e.g. for chunked encoding) res.finalize(); foreach( k, v ; req.files ){ if( existsFile(v.tempPath) ) { removeFile(v.tempPath); logDebug("Deleted upload tempfile %s", v.tempPath.toString()); } } // log the request to access log foreach( log; context.loggers ) log.log(req, res); return keep_alive; } private void parseRequest(HttpServerRequest req, InputStream conn, Allocator alloc) { auto stream = FreeListRef!LimitedHttpInputStream(conn, MaxHttpRequestHeaderSize); logTrace("HTTP server reading status line"); auto reqln = cast(string)stream.readLine(MaxHttpHeaderLineLength, "\r\n", alloc); logTrace("req: %s", reqln); //Method auto pos = reqln.indexOf(' '); enforce( pos >= 0, "invalid request method" ); req.method = httpMethodFromString(reqln[0 .. pos]); reqln = reqln[pos+1 .. $]; //Path pos = reqln.indexOf(' '); enforce( pos >= 0, "invalid request path" ); req.url = reqln[0 .. pos]; reqln = reqln[pos+1 .. $]; req.httpVersion = parseHttpVersion(reqln); //headers parseRfc5322Header(stream, req.headers, MaxHttpHeaderLineLength, alloc); } private void parseCookies(string str, ref string[string] cookies) { while(str.length > 0) { auto idx = str.indexOf('='); enforce(idx > 0, "Expected name=value."); string name = str[0 .. idx].strip(); str = str[idx+1 .. $]; for( idx = 0; idx < str.length && str[idx] != ';'; idx++) {} string value = str[0 .. idx].strip(); cookies[name] = urlDecode(value); str = idx < str.length ? str[idx+1 .. $] : null; } } private string formatAlloc(ARGS...)(Allocator alloc, string fmt, ARGS args) { auto app = AllocAppender!string(alloc); formattedWrite(&app, fmt, args); return app.data; }
D
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/API/SortOrder.swift.o : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastEpisodeMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastCompatibleWebsiteItemMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/String+Normalized.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/DeploymentMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFileMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Page.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagDetailsPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagListPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ShellOutError+PublishingErrorConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PublishingPipeline.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Predicate.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Website.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishedWebsite.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Tag.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Array+Appending.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Path.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ContentProtocol.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Item.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/AnyItem.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Plugin.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Favicon.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Location.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme+Foundation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagHTMLConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/FeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/RSSFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Section.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Video.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Audio.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SectionMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingStep.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Folder+Group.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/File+SwiftPackageFolder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownMetadataDecoder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SortOrder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownFileHandler.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/StringWrapper.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastAuthor.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/FileIOError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ContentError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/HTMLGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/RSSFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/SiteMapGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ItemRSSProperties.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Mutations.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PlotComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Content.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/CommandLine+Output.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingContext.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Index.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownContentFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Metal.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/AppKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/API/SortOrder~partial.swiftmodule : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastEpisodeMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastCompatibleWebsiteItemMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/String+Normalized.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/DeploymentMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFileMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Page.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagDetailsPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagListPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ShellOutError+PublishingErrorConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PublishingPipeline.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Predicate.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Website.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishedWebsite.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Tag.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Array+Appending.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Path.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ContentProtocol.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Item.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/AnyItem.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Plugin.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Favicon.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Location.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme+Foundation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagHTMLConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/FeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/RSSFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Section.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Video.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Audio.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SectionMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingStep.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Folder+Group.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/File+SwiftPackageFolder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownMetadataDecoder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SortOrder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownFileHandler.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/StringWrapper.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastAuthor.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/FileIOError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ContentError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/HTMLGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/RSSFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/SiteMapGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ItemRSSProperties.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Mutations.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PlotComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Content.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/CommandLine+Output.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingContext.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Index.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownContentFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Metal.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/AppKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/API/SortOrder~partial.swiftdoc : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastEpisodeMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastCompatibleWebsiteItemMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/String+Normalized.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/DeploymentMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFileMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Page.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagDetailsPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagListPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ShellOutError+PublishingErrorConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PublishingPipeline.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Predicate.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Website.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishedWebsite.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Tag.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Array+Appending.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Path.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ContentProtocol.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Item.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/AnyItem.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Plugin.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Favicon.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Location.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme+Foundation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagHTMLConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/FeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/RSSFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Section.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Video.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Audio.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SectionMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingStep.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Folder+Group.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/File+SwiftPackageFolder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownMetadataDecoder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SortOrder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownFileHandler.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/StringWrapper.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastAuthor.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/FileIOError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ContentError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/HTMLGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/RSSFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/SiteMapGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ItemRSSProperties.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Mutations.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PlotComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Content.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/CommandLine+Output.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingContext.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Index.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownContentFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Metal.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/AppKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/API/SortOrder~partial.swiftsourceinfo : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastEpisodeMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastCompatibleWebsiteItemMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/String+Normalized.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/DeploymentMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFileMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Page.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagDetailsPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagListPage.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ShellOutError+PublishingErrorConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PublishingPipeline.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Predicate.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Website.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishedWebsite.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Tag.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Array+Appending.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Path.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ContentProtocol.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Item.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/AnyItem.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Plugin.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Favicon.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Location.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Theme+Foundation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/TagHTMLConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/FeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/RSSFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastFeedConfiguration.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Section.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Video.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Audio.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SectionMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingStep.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/Folder+Group.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/File+SwiftPackageFolder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownMetadataDecoder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/SortOrder.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownFileHandler.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/StringWrapper.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastAuthor.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/FileIOError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/ContentError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastError.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/HTMLGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/RSSFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/PodcastFeedGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/SiteMapGenerator.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/ItemRSSProperties.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Mutations.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PlotComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Content.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/CommandLine+Output.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PublishingContext.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/Index.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/HTMLFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/Internal/MarkdownContentFactory.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Metal.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/AppKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.swiftmodule /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * Copyright © The Bot Blog 2019 * License: MIT (https://github.com/TheBotBlog/thebotbloglib/blob/master/LICENSE) * Author: Jacob Jensen (bausshf) */ module thebotbloglib.facebookservice; import std.string : strip; import thebotbloglib.webmanager; import thebotbloglib.graphapi; import thebotbloglib.facebookpost; /// A Facebook service. final class FacebookService { private: /// The page id. string _pageId; /// The token. string _token; /// The comment rate limit. size_t _commentRateLimit; public: final: /** * Creates a new Facebook service. * Params: * pageId = The id of the page. * token = The token. * commentRateLimit = (optional) (default = 5000) The rate limit for comments in milliseconds. */ this(string pageId, string token, size_t commentRateLimit = 5000) { _pageId = pageId; _token = token; _commentRateLimit = commentRateLimit; } @property { /// Gets the page id. string pageId() { return _pageId; } /// Gets the token. string token() { return _token; } /// Gets the comment rate limit. size_t commentRateLimit() { return _commentRateLimit; } } /** * Creates a post. If no photo is specified then an empty 400x1 image is attached. * Params: * message = The message of the post. * photo = (optional) The photo of the post. This must be an URL. * Returns: * The newly created Facebook post. */ FacebookPost createPost(string message, string photo = null) { auto web = new WebManager(this); string[string] data; data["caption"] = message; if (!photo || !photo.strip.length) { data["url"] = "https://cdn.discordapp.com/attachments/577173321054027784/631755165644357643/400x1.png"; } else { data["url"] = photo; } auto resp = web.postRequest!GraphAPIObjectResponse(pageId, "photos", data); return resp ? new FacebookPost(this, resp.id) : null; } /** * Retrieves a Facebook post. * Params: * id = The id of the post to retrieve. * readPost = A boolean determining whether the post information should be read or not. * Returns: * The retrieved Facebook post. */ FacebookPost retrievePost(string id, bool readPost = false) { auto post = new FacebookPost(this, id); if (readPost) { post.updatePostInfo(); } return post; } }
D
/** A package supplier, able to get some packages to the local FS. Copyright: © 2012-2013 Matthias Dondorff License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Matthias Dondorff */ module dub.packagesupplier; import dub.dependency; import dub.internal.utils; import dub.internal.vibecompat.core.log; import dub.internal.vibecompat.core.file; import dub.internal.vibecompat.data.json; import dub.internal.vibecompat.inet.url; import std.algorithm : filter, sort; import std.array : array; import std.conv; import std.datetime; import std.exception; import std.file; import std.string : format; import std.zip; // TODO: drop the "best package" behavior and let retrievePackage/getPackageDescription take a Version instead of Dependency /// Supplies packages, this is done by supplying the latest possible version /// which is available. interface PackageSupplier { /// Returns a hunman readable representation of the supplier @property string description(); Version[] getVersions(string package_id); /// path: absolute path to store the package (usually in a zip format) void retrievePackage(Path path, string packageId, Dependency dep, bool pre_release); /// returns the metadata for the package Json getPackageDescription(string packageId, Dependency dep, bool pre_release); /// perform cache operation void cacheOp(Path cacheDir, CacheOp op); } /// operations on package supplier cache enum CacheOp { load, store, clean, } class FileSystemPackageSupplier : PackageSupplier { private { Path m_path; } this(Path root) { m_path = root; } override @property string description() { return "file repository at "~m_path.toNativeString(); } Version[] getVersions(string package_id) { Version[] ret; foreach (DirEntry d; dirEntries(m_path.toNativeString(), package_id~"*", SpanMode.shallow)) { Path p = Path(d.name); logDebug("Entry: %s", p); enforce(to!string(p.head)[$-4..$] == ".zip"); auto vers = p.head.toString()[package_id.length+1..$-4]; logDebug("Version: %s", vers); ret ~= Version(vers); } ret.sort(); return ret; } void retrievePackage(Path path, string packageId, Dependency dep, bool pre_release) { enforce(path.absolute); logInfo("Storing package '"~packageId~"', version requirements: %s", dep); auto filename = bestPackageFile(packageId, dep, pre_release); enforce(existsFile(filename)); copyFile(filename, path); } Json getPackageDescription(string packageId, Dependency dep, bool pre_release) { auto filename = bestPackageFile(packageId, dep, pre_release); return jsonFromZip(filename, "dub.json"); } void cacheOp(Path cacheDir, CacheOp op) { } private Path bestPackageFile(string packageId, Dependency dep, bool pre_release) { Path toPath(Version ver) { return m_path ~ (packageId ~ "-" ~ ver.toString() ~ ".zip"); } auto versions = getVersions(packageId).filter!(v => dep.matches(v)).array; enforce(versions.length > 0, format("No package %s found matching %s", packageId, dep)); foreach_reverse (ver; versions) { if (pre_release || !ver.isPreRelease) return toPath(ver); } return toPath(versions[$-1]); } } /// Client PackageSupplier using the registry available via registerVpmRegistry class RegistryPackageSupplier : PackageSupplier { private { URL m_registryUrl; struct CacheEntry { Json data; SysTime cacheTime; } CacheEntry[string] m_metadataCache; Duration m_maxCacheTime; bool m_metadataCacheDirty; } this(URL registry) { m_registryUrl = registry; m_maxCacheTime = 24.hours(); } override @property string description() { return "registry at "~m_registryUrl.toString(); } Version[] getVersions(string package_id) { Version[] ret; Json md = getMetadata(package_id); foreach (json; md["versions"]) { auto cur = Version(cast(string)json["version"]); ret ~= cur; } ret.sort(); return ret; } void retrievePackage(Path path, string packageId, Dependency dep, bool pre_release) { import std.array : replace; Json best = getBestPackage(packageId, dep, pre_release); auto vers = best["version"].get!string; auto url = m_registryUrl ~ Path(PackagesPath~"/"~packageId~"/"~vers~".zip"); logDiagnostic("Found download URL: '%s'", url); download(url, path); } Json getPackageDescription(string packageId, Dependency dep, bool pre_release) { return getBestPackage(packageId, dep, pre_release); } void cacheOp(Path cacheDir, CacheOp op) { auto path = cacheDir ~ cacheFileName; final switch (op) { case CacheOp.store: if (!m_metadataCacheDirty) return; if (!cacheDir.existsFile()) mkdirRecurse(cacheDir.toNativeString()); // TODO: method is slow due to Json escaping writeJsonFile(path, m_metadataCache.serializeToJson()); break; case CacheOp.load: if (!path.existsFile()) return; try deserializeJson(m_metadataCache, jsonFromFile(path)); catch (Exception e) { import std.encoding; logWarn("Error loading package cache file %s: %s", path.toNativeString(), e.msg); logDebug("Full error: %s", e.toString().sanitize()); } break; case CacheOp.clean: if (path.existsFile()) removeFile(path); m_metadataCache.destroy(); break; } m_metadataCacheDirty = false; } private @property string cacheFileName() { import std.digest.md; auto hash = m_registryUrl.toString.md5Of(); return m_registryUrl.host ~ hash[0 .. $/2].toHexString().idup ~ ".json"; } private Json getMetadata(string packageId) { auto now = Clock.currTime(UTC()); if (auto pentry = packageId in m_metadataCache) { if (pentry.cacheTime + m_maxCacheTime > now) return pentry.data; m_metadataCache.remove(packageId); m_metadataCacheDirty = true; } auto url = m_registryUrl ~ Path(PackagesPath ~ "/" ~ packageId ~ ".json"); logDebug("Downloading metadata for %s", packageId); logDebug("Getting from %s", url); auto jsonData = cast(string)download(url); Json json = parseJsonString(jsonData, url.toString()); // strip readme data (to save size and time) foreach (ref v; json["versions"]) v.remove("readme"); m_metadataCache[packageId] = CacheEntry(json, now); m_metadataCacheDirty = true; return json; } private Json getBestPackage(string packageId, Dependency dep, bool pre_release) { Json md = getMetadata(packageId); Json best = null; Version bestver; foreach (json; md["versions"]) { auto cur = Version(cast(string)json["version"]); if (!dep.matches(cur)) continue; if (best == null) best = json; else if (pre_release) { if (cur > bestver) best = json; } else if (bestver.isPreRelease) { if (!cur.isPreRelease || cur > bestver) best = json; } else if (!cur.isPreRelease && cur > bestver) best = json; bestver = Version(cast(string)best["version"]); } enforce(best != null, "No package candidate found for "~packageId~" "~dep.toString()); return best; } } private enum PackagesPath = "packages";
D
/** Various @nogc alternatives. This file includes parts of `std.process`, `std.random`, `std.uuid`. Authors: $(HTTP guillaumepiolat.fr, Guillaume Piolat) $(LINK2 https://github.com/kyllingstad, Lars Tandle Kyllingstad), $(LINK2 https://github.com/schveiguy, Steven Schveighoffer), $(HTTP thecybershadow.net, Vladimir Panteleev) Copyright: Copyright (c) 2016, Guillaume Piolat. Copyright (c) 2013, Lars Tandle Kyllingstad (std.process). Copyright (c) 2013, Steven Schveighoffer (std.process). Copyright (c) 2013, Vladimir Panteleev (std.process). License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). */ module dplug.core.nogc; import core.stdc.string: strdup, memcpy, strlen; import core.stdc.stdlib: malloc, free, getenv; import core.memory: GC; import core.exception: onOutOfMemoryErrorNoGC; import std.conv: emplace; import std.traits; import std.array: empty; import std.exception: assumeUnique; // This module provides many utilities to deal with @nogc nothrow, in a situation with the runtime disabled. // // Faking @nogc // auto assumeNoGC(T) (T t) { static if (isFunctionPointer!T || isDelegate!T) { enum attrs = functionAttributes!T | FunctionAttribute.nogc; return cast(SetFunctionAttributes!(T, functionLinkage!T, attrs)) t; } else static assert(false); } auto assumeNothrowNoGC(T) (T t) { static if (isFunctionPointer!T || isDelegate!T) { enum attrs = functionAttributes!T | FunctionAttribute.nogc | FunctionAttribute.nothrow_; return cast(SetFunctionAttributes!(T, functionLinkage!T, attrs)) t; } else static assert(false); } unittest { void funcThatDoesGC() { int a = 4; int[] b = [a, a, a]; } void anotherFunction() nothrow @nogc { assumeNothrowNoGC( (){ funcThatDoesGC(); } )(); } void aThirdFunction() @nogc { assumeNoGC( () { funcThatDoesGC(); } )(); } } // // Optimistic .destroy, which is @nogc nothrow by breaking the type-system // // for classes void destroyNoGC(T)(T x) nothrow @nogc if (is(T == class) || is(T == interface)) { assumeNothrowNoGC( (T x) { return destroy(x); })(x); } // for struct void destroyNoGC(T)(ref T obj) nothrow @nogc if (is(T == struct)) { assumeNothrowNoGC( (ref T x) { return destroy(x); })(obj); } /* void destroyNoGC(T : U[n], U, size_t n)(ref T obj) nothrow @nogc { assumeNothrowNoGC( (T x) { return destroy(x); })(obj); }*/ void destroyNoGC(T)(ref T obj) nothrow @nogc if (!is(T == struct) && !is(T == class) && !is(T == interface)) { assumeNothrowNoGC( (ref T x) { return destroy(x); })(obj); } // // Constructing and destroying without the GC. // /// Allocates and construct a struct or class object. /// Returns: Newly allocated object. auto mallocNew(T, Args...)(Args args) { static if (is(T == class)) immutable size_t allocSize = __traits(classInstanceSize, T); else immutable size_t allocSize = T.sizeof; void* rawMemory = malloc(allocSize); if (!rawMemory) onOutOfMemoryErrorNoGC(); static if (is(T == class)) { T obj = emplace!T(rawMemory[0 .. allocSize], args); } else { T* obj = cast(T*)rawMemory; emplace!T(obj, args); } return obj; } /// Destroys and frees a class object created with $(D mallocEmplace). void destroyFree(T)(T p) if (is(T == class)) { if (p !is null) { destroyNoGC(p); free(cast(void*)p); } } /// Destroys and frees an interface object created with $(D mallocEmplace). void destroyFree(T)(T p) if (is(T == interface)) { if (p !is null) { void* here = cast(void*)(cast(Object)p); destroyNoGC(p); free(cast(void*)here); } } /// Destroys and frees a non-class object created with $(D mallocEmplace). void destroyFree(T)(T* p) if (!is(T == class)) { if (p !is null) { destroyNoGC(p); free(cast(void*)p); } } unittest { class A { int _i; this(int i) { _i = i; } } struct B { int i; } void testMallocEmplace() { A a = mallocNew!A(4); destroyFree(a); B* b = mallocNew!B(5); destroyFree(b); } testMallocEmplace(); } version( D_InlineAsm_X86 ) { version = AsmX86; } else version( D_InlineAsm_X86_64 ) { version = AsmX86; } /// Allocates a slice with `malloc`. T[] mallocSlice(T)(size_t count) nothrow @nogc { T[] slice = mallocSliceNoInit!T(count); static if (is(T == struct)) { // we must avoid calling struct destructors with uninitialized memory for(size_t i = 0; i < count; ++i) { T uninitialized; memcpy(&slice[i], &uninitialized, T.sizeof); } } else slice[0..count] = T.init; return slice; } /// Allocates a slice with `malloc`, but does not initialize the content. T[] mallocSliceNoInit(T)(size_t count) nothrow @nogc { T* p = cast(T*) malloc(count * T.sizeof); return p[0..count]; } /// Frees a slice allocated with `mallocSlice`. void freeSlice(T)(const(T)[] slice) nothrow @nogc { free(cast(void*)(slice.ptr)); // const cast here } /// Duplicates a slice with `malloc`. Equivalent to `.dup` /// Has to be cleaned-up with `free()`. T[] mallocDup(T)(const(T)[] slice) nothrow @nogc if (!is(T == struct)) { T[] copy = mallocSliceNoInit!T(slice.length); memcpy(copy.ptr, slice.ptr, slice.length * T.sizeof); return copy; } /// Duplicates a slice with `malloc`. Equivalent to `.idup` /// Has to be cleaned-up with `free()`. immutable(T)[] mallocIDup(T)(const(T)[] slice) nothrow @nogc if (!is(T == struct)) { return assumeUnique(mallocDup!T(slice)); } /// Duplicates a zero-terminated string with `malloc`, return a `char[]`. Equivalent to `.dup` /// Has to be cleaned-up with `free()`. /// Note: The zero-terminating byte is preserved. This allow to have a string which also can be converted /// to a C string with `.ptr`. However the zero byte is not included in slice length. char[] stringDup(const(char)* cstr) nothrow @nogc { assert(cstr !is null); size_t len = strlen(cstr); char* copy = strdup(cstr); return copy[0..len]; } /// Duplicates a zero-terminated string with `malloc`, return a `string`. Equivalent to `.idup` /// Has to be cleaned-up with `free()`. /// Note: The zero-terminating byte is preserved. This allow to have a string which also can be converted /// to a C string with `.ptr`. However the zero byte is not included in slice length. string stringIDup(const(char)* cstr) nothrow @nogc { return assumeUnique(stringDup(cstr)); } unittest { int[] slice = mallocSlice!int(4); freeSlice(slice); assert(slice[3] == int.init); slice = mallocSliceNoInit!int(4); freeSlice(slice); slice = mallocSliceNoInit!int(0); assert(slice == []); freeSlice(slice); } /// Semantic function to check that a D string implicitely conveys a /// termination byte after the slice. /// (typically those comes from string literals or `stringDup`/`stringIDup`) const(char)* assumeZeroTerminated(const(char)[] input) nothrow @nogc { if (input.ptr is null) return null; // Check that the null character is there assert(input.ptr[input.length] == '\0'); return input.ptr; } // // @nogc sorting. // /// Must return -1 if a < b /// 0 if a == b /// 1 if a > b alias nogcComparisonFunction(T) = int delegate(in T a, in T b) nothrow @nogc; // // STABLE IN-PLACE SORT (implementation is at bottom of file) // void grailSort(T)(T[] inoutElements, nogcComparisonFunction!T comparison) nothrow @nogc { GrailSort!T(inoutElements.ptr, cast(int)(inoutElements.length), comparison); } unittest { int[2][] testData = [[110, 0], [5, 0], [10, 0], [3, 0], [110, 1], [5, 1], [10, 1], [3, 1]]; grailSort!(int[2])(testData, (a, b) => (a[0] - b[0])); assert(testData == [[3, 0], [3, 1], [5, 0], [5, 1], [10, 0], [10, 1], [110, 0], [110, 1]]); } // // STABLE MERGE SORT // /// Stable merge sort, using a temporary array. /// Array A[] has the items to sort. /// Array B[] is a work array. /// `grailSort` is approx. 30% slower but doesn't need a scratchBuffer. void mergeSort(T)(T[] inoutElements, T[] scratchBuffer, nogcComparisonFunction!T comparison) nothrow @nogc { // Left source half is A[ iBegin:iMiddle-1]. // Right source half is A[iMiddle:iEnd-1 ]. // Result is B[ iBegin:iEnd-1 ]. void topDownMerge(T)(T* A, int iBegin, int iMiddle, int iEnd, T* B) nothrow @nogc { int i = iBegin; int j = iMiddle; // While there are elements in the left or right runs... for (int k = iBegin; k < iEnd; k++) { // If left run head exists and is <= existing right run head. if ( i < iMiddle && ( j >= iEnd || (comparison(A[i], A[j]) <= 0) ) ) { B[k] = A[i]; i = i + 1; } else { B[k] = A[j]; j = j + 1; } } } // Sort the given run of array A[] using array B[] as a source. // iBegin is inclusive; iEnd is exclusive (A[iEnd] is not in the set). void topDownSplitMerge(T)(T* B, int iBegin, int iEnd, T* A) nothrow @nogc { if(iEnd - iBegin < 2) // if run size == 1 return; // consider it sorted // split the run longer than 1 item into halves int iMiddle = (iEnd + iBegin) / 2; // iMiddle = mid point // recursively sort both runs from array A[] into B[] topDownSplitMerge!T(A, iBegin, iMiddle, B); // sort the left run topDownSplitMerge!T(A, iMiddle, iEnd, B); // sort the right run // merge the resulting runs from array B[] into A[] topDownMerge!T(B, iBegin, iMiddle, iEnd, A); } assert(inoutElements.length == scratchBuffer.length); int n = cast(int)inoutElements.length; scratchBuffer[] = inoutElements[]; // copy data into temporary buffer topDownSplitMerge(scratchBuffer.ptr, 0, n, inoutElements.ptr); } unittest { int[2][] scratch; scratch.length = 8; int[2][] testData = [[110, 0], [5, 0], [10, 0], [3, 0], [110, 1], [5, 1], [10, 1], [3, 1]]; mergeSort!(int[2])(testData, scratch, (a, b) => (a[0] - b[0])); assert(testData == [[3, 0], [3, 1], [5, 0], [5, 1], [10, 0], [10, 1], [110, 0], [110, 1]]); } /// To call for something that should never happen, but we still /// want to make a "best effort" at runtime even if it can be meaningless. /// MAYDO: change that name, it's not actually unrecoverable /// MAYDO: stop using that function void unrecoverableError() nothrow @nogc { debug { // Crash unconditionally assert(false); } else { // There is a trade-off here, if we crash immediately we will be // correctly identified by the user as the origin of the bug, which // is always helpful. // But crashing may in many-case also crash the host, which is not very friendly. // Eg: a plugin not instancing vs host crashing. // The reasoning is that the former is better from the user POV. } } /// A bit faster than a dynamic cast. /// This is to avoid TypeInfo look-up. T unsafeObjectCast(T)(Object obj) { return cast(T)(cast(void*)(obj)); } /// Outputs a debug string in either: /// - stdout on POSIX-like (visible in the command-line) /// - the Output Windows on Windows (visible withing Visual Studio or with dbgview.exe) /// Warning: no end-of-line added! void debugLog(const(char)* message) nothrow @nogc { version(Windows) { import core.sys.windows.windows; OutputDebugStringA(message); } else { import core.stdc.stdio; printf("%s", message); } } /// Inserts a breakpoint instruction. useful to trigger the debugger. void debugBreak() nothrow @nogc { version( AsmX86 ) { asm nothrow @nogc { int 3; } } else version( GNU ) { // __builtin_trap() is not the same thing unfortunately asm { "int $0x03" : : : ; } } else { static assert(false, "No debugBreak() for this compiler"); } } // Copy source into dest. // dest must contain room for maxChars characters // A zero-byte character is then appended. void stringNCopy(char* dest, size_t maxChars, const(char)[] source) nothrow @nogc { if (maxChars == 0) return; size_t max = maxChars < source.length ? maxChars - 1 : source.length; for (int i = 0; i < max; ++i) dest[i] = source[i]; dest[max] = '\0'; } // // Low-cost C string conversions // alias CString = CStringImpl!char; alias CString16 = CStringImpl!wchar; /// Zero-terminated C string, to replace toStringz and toUTF16z struct CStringImpl(CharType) if (is(CharType: char) || is(CharType: wchar)) { public: nothrow: @nogc: const(CharType)* storage = null; alias storage this; this(const(CharType)[] s) { // Always copy. We can't assume anything about the input. size_t len = s.length; CharType* buffer = cast(CharType*) malloc((len + 1) * CharType.sizeof); buffer[0..len] = s[0..len]; buffer[len] = '\0'; storage = buffer; wasAllocated = true; } // The constructor taking immutable can safely assume that such memory // has been allocated by the GC or malloc, or an allocator that align // pointer on at least 4 bytes. this(immutable(CharType)[] s) { // Same optimizations that for toStringz if (s.empty) { enum emptyString = cast(CharType[])""; storage = emptyString.ptr; return; } /* Peek past end of s[], if it's 0, no conversion necessary. * Note that the compiler will put a 0 past the end of static * strings, and the storage allocator will put a 0 past the end * of newly allocated char[]'s. */ const(CharType)* p = s.ptr + s.length; // Is p dereferenceable? A simple test: if the p points to an // address multiple of 4, then conservatively assume the pointer // might be pointing to another block of memory, which might be // unreadable. Otherwise, it's definitely pointing to valid // memory. if ((cast(size_t) p & 3) && *p == 0) { storage = s.ptr; return; } size_t len = s.length; CharType* buffer = cast(CharType*) malloc((len + 1) * CharType.sizeof); buffer[0..len] = s[0..len]; buffer[len] = '\0'; storage = buffer; wasAllocated = true; } ~this() { if (wasAllocated) free(cast(void*)storage); } @disable this(this); private: bool wasAllocated = false; } // // Launch browser, replaces std.process.browse // void browseNoGC(string url) nothrow @nogc { version(Windows) { import core.sys.windows.winuser; import core.sys.windows.shellapi; ShellExecuteA(null, CString("open").storage, CString(url).storage, null, null, SW_SHOWNORMAL); } version(OSX) { import core.sys.posix.unistd; const(char)*[5] args; auto curl = CString(url).storage; const(char)* browser = getenv("BROWSER"); if (browser) { browser = strdup(browser); args[0] = browser; args[1] = curl; args[2] = null; } else { args[0] = "open".ptr; args[1] = curl; args[2] = null; } auto childpid = core.sys.posix.unistd.fork(); if (childpid == 0) { core.sys.posix.unistd.execvp(args[0], cast(char**)args.ptr); return; } if (browser) free(cast(void*)browser); } } // // GRAIL SORT IMPLEMENTATION BELOW // // The MIT License (MIT) // // Copyright (c) 2013 Andrey Astrelin // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // the Software, and to permit persons to whom the Software is furnished to do so, // subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. private: void grail_swap1(T)(T *a,T *b){ T c=*a; *a=*b; *b=c; } void grail_swapN(T)(T *a,T *b,int n){ while(n--) grail_swap1(a++,b++); } void grail_rotate(T)(T *a,int l1,int l2){ while(l1 && l2){ if(l1<=l2){ grail_swapN(a,a+l1,l1); a+=l1; l2-=l1; } else{ grail_swapN(a+(l1-l2),a+l1,l2); l1-=l2; } } } int grail_BinSearchLeft(T)(T *arr,int len,T *key, nogcComparisonFunction!T comparison){ int a=-1,b=len,c; while(a<b-1){ c=a+((b-a)>>1); if(comparison(arr[c],*key)>=0) b=c; else a=c; } return b; } int grail_BinSearchRight(T)(T *arr,int len,T *key, nogcComparisonFunction!T comparison){ int a=-1,b=len,c; while(a<b-1){ c=a+((b-a)>>1); if(comparison(arr[c],*key)>0) b=c; else a=c; } return b; } // cost: 2*len+nk^2/2 int grail_FindKeys(T)(T *arr,int len,int nkeys, nogcComparisonFunction!T comparison){ int h=1,h0=0; // first key is always here int u=1,r; while(u<len && h<nkeys){ r=grail_BinSearchLeft!T(arr+h0,h,arr+u, comparison); if(r==h || comparison(arr[u],arr[h0+r])!=0){ grail_rotate(arr+h0,h,u-(h0+h)); h0=u-h; grail_rotate(arr+(h0+r),h-r,1); h++; } u++; } grail_rotate(arr,h0,h); return h; } // cost: min(L1,L2)^2+max(L1,L2) void grail_MergeWithoutBuffer(T)(T *arr,int len1,int len2, nogcComparisonFunction!T comparison){ int h; if(len1<len2){ while(len1){ h=grail_BinSearchLeft!T(arr+len1,len2,arr, comparison); if(h!=0){ grail_rotate(arr,len1,h); arr+=h; len2-=h; } if(len2==0) break; do{ arr++; len1--; } while(len1 && comparison(*arr,arr[len1])<=0); } } else{ while(len2){ h=grail_BinSearchRight!T(arr,len1,arr+(len1+len2-1), comparison); if(h!=len1){ grail_rotate(arr+h,len1-h,len2); len1=h; } if(len1==0) break; do{ len2--; } while(len2 && comparison(arr[len1-1],arr[len1+len2-1])<=0); } } } // arr[M..-1] - buffer, arr[0,L1-1]++arr[L1,L1+L2-1] -> arr[M,M+L1+L2-1] void grail_MergeLeft(T)(T *arr,int L1,int L2,int M, nogcComparisonFunction!T comparison){ int p0=0,p1=L1; L2+=L1; while(p1<L2){ if(p0==L1 || comparison(arr[p0],arr[p1])>0){ grail_swap1(arr+(M++),arr+(p1++)); } else{ grail_swap1(arr+(M++),arr+(p0++)); } } if(M!=p0) grail_swapN(arr+M,arr+p0,L1-p0); } void grail_MergeRight(T)(T *arr,int L1,int L2,int M, nogcComparisonFunction!T comparison){ int p0=L1+L2+M-1,p2=L1+L2-1,p1=L1-1; while(p1>=0){ if(p2<L1 || comparison(arr[p1],arr[p2])>0){ grail_swap1(arr+(p0--),arr+(p1--)); } else{ grail_swap1(arr+(p0--),arr+(p2--)); } } if(p2!=p0) while(p2>=L1) grail_swap1(arr+(p0--),arr+(p2--)); } void grail_SmartMergeWithBuffer(T)(T *arr,int *alen1,int *atype,int len2,int lkeys, nogcComparisonFunction!T comparison){ int p0=-lkeys,p1=0,p2=*alen1,q1=p2,q2=p2+len2; int ftype=1-*atype; // 1 if inverted while(p1<q1 && p2<q2){ if(comparison(arr[p1],arr[p2])-ftype<0) grail_swap1(arr+(p0++),arr+(p1++)); else grail_swap1(arr+(p0++),arr+(p2++)); } if(p1<q1){ *alen1=q1-p1; while(p1<q1) grail_swap1(arr+(--q1),arr+(--q2)); } else{ *alen1=q2-p2; *atype=ftype; } } void grail_SmartMergeWithoutBuffer(T)(T *arr,int *alen1,int *atype,int _len2, nogcComparisonFunction!T comparison){ int len1,len2,ftype,h; if(!_len2) return; len1=*alen1; len2=_len2; ftype=1-*atype; if(len1 && comparison(arr[len1-1],arr[len1])-ftype>=0){ while(len1){ h=ftype ? grail_BinSearchLeft!T(arr+len1,len2,arr, comparison) : grail_BinSearchRight!T(arr+len1,len2,arr, comparison); if(h!=0){ grail_rotate(arr,len1,h); arr+=h; len2-=h; } if(len2==0){ *alen1=len1; return; } do{ arr++; len1--; } while(len1 && comparison(*arr,arr[len1])-ftype<0); } } *alen1=len2; *atype=ftype; } /***** Sort With Extra Buffer *****/ // arr[M..-1] - free, arr[0,L1-1]++arr[L1,L1+L2-1] -> arr[M,M+L1+L2-1] void grail_MergeLeftWithXBuf(T)(T *arr,int L1,int L2,int M, nogcComparisonFunction!T comparison){ int p0=0,p1=L1; L2+=L1; while(p1<L2){ if(p0==L1 || comparison(arr[p0],arr[p1])>0) arr[M++]=arr[p1++]; else arr[M++]=arr[p0++]; } if(M!=p0) while(p0<L1) arr[M++]=arr[p0++]; } void grail_SmartMergeWithXBuf(T)(T *arr,int *alen1,int *atype,int len2,int lkeys, nogcComparisonFunction!T comparison){ int p0=-lkeys,p1=0,p2=*alen1,q1=p2,q2=p2+len2; int ftype=1-*atype; // 1 if inverted while(p1<q1 && p2<q2){ if(comparison(arr[p1],arr[p2])-ftype<0) arr[p0++]=arr[p1++]; else arr[p0++]=arr[p2++]; } if(p1<q1){ *alen1=q1-p1; while(p1<q1) arr[--q2]=arr[--q1]; } else{ *alen1=q2-p2; *atype=ftype; } } // arr - starting array. arr[-lblock..-1] - buffer (if havebuf). // lblock - length of regular blocks. First nblocks are stable sorted by 1st elements and key-coded // keys - arrays of keys, in same order as blocks. key<midkey means stream A // nblock2 are regular blocks from stream A. llast is length of last (irregular) block from stream B, that should go before nblock2 blocks. // llast=0 requires nblock2=0 (no irregular blocks). llast>0, nblock2=0 is possible. void grail_MergeBuffersLeftWithXBuf(T)(T *keys,T *midkey,T *arr,int nblock,int lblock,int nblock2,int llast, nogcComparisonFunction!T comparison){ int l,prest,lrest,frest,pidx,cidx,fnext,plast; if(nblock==0){ l=nblock2*lblock; grail_MergeLeftWithXBuf!T(arr,l,llast,-lblock, comparison); return; } lrest=lblock; frest=comparison(*keys,*midkey)<0 ? 0 : 1; pidx=lblock; for(cidx=1;cidx<nblock;cidx++,pidx+=lblock){ prest=pidx-lrest; fnext=comparison(keys[cidx],*midkey)<0 ? 0 : 1; if(fnext==frest){ memcpy(arr+prest-lblock,arr+prest,lrest*T.sizeof); prest=pidx; lrest=lblock; } else{ grail_SmartMergeWithXBuf!T(arr+prest,&lrest,&frest,lblock,lblock, comparison); } } prest=pidx-lrest; if(llast){ plast=pidx+lblock*nblock2; if(frest){ memcpy(arr+prest-lblock,arr+prest,lrest*T.sizeof); prest=pidx; lrest=lblock*nblock2; frest=0; } else{ lrest+=lblock*nblock2; } grail_MergeLeftWithXBuf!T(arr+prest,lrest,llast,-lblock, comparison); } else{ memcpy(arr+prest-lblock,arr+prest,lrest*T.sizeof); } } /***** End Sort With Extra Buffer *****/ // build blocks of length K // input: [-K,-1] elements are buffer // output: first K elements are buffer, blocks 2*K and last subblock sorted void grail_BuildBlocks(T)(T *arr,int L,int K,T *extbuf,int LExtBuf, nogcComparisonFunction!T comparison){ int m,u,h,p0,p1,rest,restk,p,kbuf; kbuf=K<LExtBuf ? K : LExtBuf; while(kbuf&(kbuf-1)) kbuf&=kbuf-1; // max power or 2 - just in case if(kbuf){ memcpy(extbuf,arr-kbuf,kbuf*T.sizeof); for(m=1;m<L;m+=2){ u=0; if(comparison(arr[m-1],arr[m])>0) u=1; arr[m-3]=arr[m-1+u]; arr[m-2]=arr[m-u]; } if(L%2) arr[L-3]=arr[L-1]; arr-=2; for(h=2;h<kbuf;h*=2){ p0=0; p1=L-2*h; while(p0<=p1){ grail_MergeLeftWithXBuf!T(arr+p0,h,h,-h, comparison); p0+=2*h; } rest=L-p0; if(rest>h){ grail_MergeLeftWithXBuf!T(arr+p0,h,rest-h,-h, comparison); } else { for(;p0<L;p0++) arr[p0-h]=arr[p0]; } arr-=h; } memcpy(arr+L,extbuf,kbuf*T.sizeof); } else{ for(m=1;m<L;m+=2){ u=0; if(comparison(arr[m-1],arr[m])>0) u=1; grail_swap1(arr+(m-3),arr+(m-1+u)); grail_swap1(arr+(m-2),arr+(m-u)); } if(L%2) grail_swap1(arr+(L-1),arr+(L-3)); arr-=2; h=2; } for(;h<K;h*=2){ p0=0; p1=L-2*h; while(p0<=p1){ grail_MergeLeft!T(arr+p0,h,h,-h, comparison); p0+=2*h; } rest=L-p0; if(rest>h){ grail_MergeLeft!T(arr+p0,h,rest-h,-h, comparison); } else grail_rotate(arr+p0-h,h,rest); arr-=h; } restk=L%(2*K); p=L-restk; if(restk<=K) grail_rotate(arr+p,restk,K); else grail_MergeRight!T(arr+p,K,restk-K,K, comparison); while(p>0){ p-=2*K; grail_MergeRight!T(arr+p,K,K,K, comparison); } } // arr - starting array. arr[-lblock..-1] - buffer (if havebuf). // lblock - length of regular blocks. First nblocks are stable sorted by 1st elements and key-coded // keys - arrays of keys, in same order as blocks. key<midkey means stream A // nblock2 are regular blocks from stream A. llast is length of last (irregular) block from stream B, that should go before nblock2 blocks. // llast=0 requires nblock2=0 (no irregular blocks). llast>0, nblock2=0 is possible. void grail_MergeBuffersLeft(T)(T *keys,T *midkey,T *arr,int nblock,int lblock,bool havebuf,int nblock2,int llast, nogcComparisonFunction!T comparison){ int l,prest,lrest,frest,pidx,cidx,fnext,plast; if(nblock==0){ l=nblock2*lblock; if(havebuf) grail_MergeLeft!T(arr,l,llast,-lblock, comparison); else grail_MergeWithoutBuffer!T(arr,l,llast, comparison); return; } lrest=lblock; frest=comparison(*keys,*midkey)<0 ? 0 : 1; pidx=lblock; for(cidx=1;cidx<nblock;cidx++,pidx+=lblock){ prest=pidx-lrest; fnext=comparison(keys[cidx],*midkey)<0 ? 0 : 1; if(fnext==frest){ if(havebuf) grail_swapN(arr+prest-lblock,arr+prest,lrest); prest=pidx; lrest=lblock; } else{ if(havebuf){ grail_SmartMergeWithBuffer!T(arr+prest,&lrest,&frest,lblock,lblock, comparison); } else{ grail_SmartMergeWithoutBuffer!T(arr+prest,&lrest,&frest,lblock, comparison); } } } prest=pidx-lrest; if(llast){ plast=pidx+lblock*nblock2; if(frest){ if(havebuf) grail_swapN(arr+prest-lblock,arr+prest,lrest); prest=pidx; lrest=lblock*nblock2; frest=0; } else{ lrest+=lblock*nblock2; } if(havebuf) grail_MergeLeft!T(arr+prest,lrest,llast,-lblock, comparison); else grail_MergeWithoutBuffer!T(arr+prest,lrest,llast, comparison); } else{ if(havebuf) grail_swapN(arr+prest,arr+(prest-lblock),lrest); } } void grail_SortIns(T)(T *arr,int len, nogcComparisonFunction!T comparison){ int i,j; for(i=1;i<len;i++){ for(j=i-1;j>=0 && comparison(arr[j+1],arr[j])<0;j--) grail_swap1(arr+j,arr+(j+1)); } } void grail_LazyStableSort(T)(T *arr,int L, nogcComparisonFunction!T comparison){ int m,u,h,p0,p1,rest; for(m=1;m<L;m+=2){ u=0; if(comparison(arr[m-1],arr[m])>0) grail_swap1(arr+(m-1),arr+m); } for(h=2;h<L;h*=2){ p0=0; p1=L-2*h; while(p0<=p1){ grail_MergeWithoutBuffer!T(arr+p0,h,h, comparison); p0+=2*h; } rest=L-p0; if(rest>h) grail_MergeWithoutBuffer!T(arr+p0,h,rest-h, comparison); } } // keys are on the left of arr. Blocks of length LL combined. We'll combine them in pairs // LL and nkeys are powers of 2. (2*LL/lblock) keys are guarantied void grail_CombineBlocks(T)(T *keys,T *arr,int len,int LL,int lblock,bool havebuf,T *xbuf, nogcComparisonFunction!T comparison){ int M,nkeys,b,NBlk,midkey,lrest,u,p,v,kc,nbl2,llast; T *arr1; M=len/(2*LL); lrest=len%(2*LL); nkeys=(2*LL)/lblock; if(lrest<=LL){ len-=lrest; lrest=0; } if(xbuf) memcpy(xbuf,arr-lblock,lblock*T.sizeof); for(b=0;b<=M;b++){ if(b==M && lrest==0) break; arr1=arr+b*2*LL; NBlk=(b==M ? lrest : 2*LL)/lblock; grail_SortIns!T(keys,NBlk+(b==M ? 1 : 0), comparison); midkey=LL/lblock; for(u=1;u<NBlk;u++){ p=u-1; for(v=u;v<NBlk;v++){ kc=comparison(arr1[p*lblock],arr1[v*lblock]); if(kc>0 || (kc==0 && comparison(keys[p],keys[v])>0)) p=v; } if(p!=u-1){ grail_swapN(arr1+(u-1)*lblock,arr1+p*lblock,lblock); grail_swap1(keys+(u-1),keys+p); if(midkey==u-1 || midkey==p) midkey^=(u-1)^p; } } nbl2=llast=0; if(b==M) llast=lrest%lblock; if(llast!=0){ while(nbl2<NBlk && comparison(arr1[NBlk*lblock],arr1[(NBlk-nbl2-1)*lblock])<0) nbl2++; } if(xbuf) grail_MergeBuffersLeftWithXBuf!T(keys,keys+midkey,arr1,NBlk-nbl2,lblock,nbl2,llast, comparison); else grail_MergeBuffersLeft!T(keys,keys+midkey,arr1,NBlk-nbl2,lblock,havebuf,nbl2,llast, comparison); } if(xbuf){ for(p=len;--p>=0;) arr[p]=arr[p-lblock]; memcpy(arr-lblock,xbuf,lblock*T.sizeof); }else if(havebuf) while(--len>=0) grail_swap1(arr+len,arr+len-lblock); } void grail_commonSort(T)(T *arr,int Len,T *extbuf,int LExtBuf, nogcComparisonFunction!T comparison){ int lblock,nkeys,findkeys,ptr,cbuf,lb,nk; bool havebuf,chavebuf; long s; if(Len<16){ grail_SortIns!T(arr,Len, comparison); return; } lblock=1; while(lblock*lblock<Len) lblock*=2; nkeys=(Len-1)/lblock+1; findkeys=grail_FindKeys!T(arr,Len,nkeys+lblock, comparison); havebuf=true; if(findkeys<nkeys+lblock){ if(findkeys<4){ grail_LazyStableSort!T(arr,Len, comparison); return; } nkeys=lblock; while(nkeys>findkeys) nkeys/=2; havebuf=false; lblock=0; } ptr=lblock+nkeys; cbuf=havebuf ? lblock : nkeys; if(havebuf) grail_BuildBlocks!T(arr+ptr,Len-ptr,cbuf,extbuf,LExtBuf, comparison); else grail_BuildBlocks!T(arr+ptr,Len-ptr,cbuf,null,0, comparison); // 2*cbuf are built while(Len-ptr>(cbuf*=2)){ lb=lblock; chavebuf=havebuf; if(!havebuf){ if(nkeys>4 && nkeys/8*nkeys>=cbuf){ lb=nkeys/2; chavebuf=true; } else{ nk=1; s=cast(long)cbuf*findkeys/2; while(nk<nkeys && s!=0){ nk*=2; s/=8; } lb=(2*cbuf)/nk; } } grail_CombineBlocks!T(arr,arr+ptr,Len-ptr,cbuf,lb,chavebuf,chavebuf && lb<=LExtBuf ? extbuf : null, comparison); } grail_SortIns!T(arr,ptr, comparison); grail_MergeWithoutBuffer!T(arr,ptr,Len-ptr, comparison); } void GrailSort(T)(T *arr, int Len, nogcComparisonFunction!T comparison){ grail_commonSort!T(arr,Len,null,0, comparison); } void GrailSortWithBuffer(T)(T *arr,int Len, nogcComparisonFunction!T comparison){ T[128] ExtBuf; grail_commonSort!T(arr,Len,ExtBuf.ptr,128, comparison); } /****** classic MergeInPlace *************/ void grail_RecMerge(T)(T *A,int L1,int L2, nogcComparisonFunction!T comparison){ int K,k1,k2,m1,m2; if(L1<3 || L2<3){ grail_MergeWithoutBuffer(A,L1,L2); return; } if(L1<L2) K=L1+L2/2; else K=L1/2; k1=k2=grail_BinSearchLeft(A,L1,A+K); if(k2<L1 && comparison(A+k2,A+K)==0) k2=grail_BinSearchRight(A+k1,L1-k1,A+K)+k1; m1=grail_BinSearchLeft(A+L1,L2,A+K); m2=m1; if(m2<L2 && comparison(A+L1+m2,A+K)==0) m2=grail_BinSearchRight(A+L1+m1,L2-m1,A+K)+m1; if(k1==k2) grail_rotate(A+k2,L1-k2,m2); else{ grail_rotate(A+k1,L1-k1,m1); if(m2!=m1) grail_rotate(A+(k2+m1),L1-k2,m2-m1); } grail_RecMerge(A+(k2+m2),L1-k2,L2-m2); grail_RecMerge(A,k1,m1); } void RecStableSort(T)(T *arr,int L){ int u,m,h,p0,p1,rest; for(m=1;m<L;m+=2){ u=0; if(comparison(arr+m-1,arr+m)>0) grail_swap1(arr+(m-1),arr+m); } for(h=2;h<L;h*=2){ p0=0; p1=L-2*h; while(p0<=p1){ grail_RecMerge(arr+p0,h,h); p0+=2*h; } rest=L-p0; if(rest>h) grail_RecMerge(arr+p0,h,rest-h); } }
D
<?xml version="1.0" encoding="ASCII"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="7d62c6aa-1149-4b8e-9ce7-69b7f17166ed67c90bb8-04fd-4689-91ea-ea9f9a4c15ab-Activity.notation#_mUi5klxQEemawpDNrkj6eg"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="7d62c6aa-1149-4b8e-9ce7-69b7f17166ed67c90bb8-04fd-4689-91ea-ea9f9a4c15ab-Activity.notation#_mUi5klxQEemawpDNrkj6eg"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
module game.gapi.characters.player.states; public: import game.gapi.characters.player.states.attack; import game.gapi.characters.player.states.base; import game.gapi.characters.player.states.base_run; import game.gapi.characters.player.states.block; import game.gapi.characters.player.states.fall; import game.gapi.characters.player.states.jump; import game.gapi.characters.player.states.hitted; import game.gapi.characters.player.states.die; import game.gapi.characters.player.states.dodge; void player_states_register() { import engine.core.symboldb; GSymbolDB.register!CPlayerState_Base; GSymbolDB.register!CPlayerState_BaseRun; GSymbolDB.register!CPlayerState_Block; GSymbolDB.register!CPlayerState_Jump; GSymbolDB.register!CPlayerState_Fall; GSymbolDB.register!CPlayerState_Attack; }
D
instance Info_FreemineOrc_EXIT(C_Info) { npc = FreemineOrc; nr = 999; condition = Info_FreemineOrc_EXIT_Condition; information = Info_FreemineOrc_EXIT_Info; important = 0; permanent = 1; description = DIALOG_ENDE; }; func int Info_FreemineOrc_EXIT_Condition() { return 1; }; func void Info_FreemineOrc_EXIT_Info() { if(!Npc_KnowsInfo(hero,Info_FreemineOrc_EveryUlumulu)) { AI_Output(hero,self,"Info_FreemineOrc_EXIT_15_01"); //Musím pokračovat! AI_Output(self,hero,"Info_FreemineOrc_EXIT_17_02"); //Pojď dál, cizinče! } else { AI_Output(hero,self,"Info_FreemineOrc_EXIT_15_03"); //Děkuju. Půjdu si svou cestou. AI_Output(self,hero,"Info_FreemineOrc_EXIT_17_04"); //Šťastnou cestu, cizinče! }; AI_StopProcessInfos(self); }; instance Info_FreemineOrc_INTRO(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_INTRO_Condition; information = Info_FreemineOrc_INTRO_Info; important = 1; permanent = 0; }; func int Info_FreemineOrc_INTRO_Condition() { return TRUE; }; func void Info_FreemineOrc_INTRO_Info() { AI_Output(self,hero,"Info_FreemineOrc_INTRO_17_01"); //Tarrok potřebovat pomoc! Tarrok být raněn. }; instance Info_FreemineOrc_WASPASSIERT(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_WASPASSIERT_Condition; information = Info_FreemineOrc_WASPASSIERT_Info; important = 0; permanent = 0; description = "Co se tu stalo?"; }; func int Info_FreemineOrc_WASPASSIERT_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_INTRO)) { return TRUE; }; }; func void Info_FreemineOrc_WASPASSIERT_Info() { AI_Output(hero,self,"Info_FreemineOrc_WASPASSIERT_15_01"); //Co se tu stalo? AI_Output(self,hero,"Info_FreemineOrc_WASPASSIERT_17_02"); //Tarrok být tady zajat modrými vojáky. Rudí vojáci najednou všude. AI_Output(self,hero,"Info_FreemineOrc_WASPASSIERT_17_03"); //Rudí vojáci zabíjet každého. AI_Output(self,hero,"Info_FreemineOrc_WASPASSIERT_17_04"); //Tarrok utekl. Rudí vojáci sem nejít. Rudí vojáci se bát GACH LUGA. AI_Output(self,hero,"Info_FreemineOrc_WASPASSIERT_17_05"); //Prosím pomoc, Tarrok být raněn. }; instance Info_FreemineOrc_WASTUN(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_WASTUN_Condition; information = Info_FreemineOrc_WASTUN_Info; important = 0; permanent = 0; description = "Co pro tebe můžu udělat?"; }; func int Info_FreemineOrc_WASTUN_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_WASPASSIERT)) { return TRUE; }; }; func void Info_FreemineOrc_WASTUN_Info() { AI_Output(hero,self,"Info_FreemineOrc_WASTUN_15_01"); //Co pro tebe můžu udělat? AI_Output(self,hero,"Info_FreemineOrc_WASTUN_17_02"); //Tarrok potřebovat silný lék. Tarrok jinak brzy zemřít. AI_Output(hero,self,"Info_FreemineOrc_WASTUN_15_03"); //Jaký druh léku? AI_Output(self,hero,"Info_FreemineOrc_WASTUN_17_04"); //GACH LUGŮV lektvar. Tarrok potřebovat lék. AI_Output(self,hero,"Info_FreemineOrc_WASTUN_17_05"); //Tarrok mít lék, ale Tarrok ztratit. Tarrok ho nenajít! }; instance Info_FreemineOrc_OFFER(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_OFFER_Condition; information = Info_FreemineOrc_OFFER_Info; important = 0; permanent = 0; description = "Přinesu ti ten lék zpátky!"; }; func int Info_FreemineOrc_OFFER_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_WASTUN) && !Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION) && !Npc_HasItems(hero,OrcMedicine)) { return TRUE; }; }; func void Info_FreemineOrc_OFFER_Info() { AI_Output(hero,self,"Info_FreemineOrc_OFFER_15_01"); //Přinesu ti ten lék zpátky! AI_Output(self,hero,"Info_FreemineOrc_OFFER_17_02"); //Tarrok být velmi slabý. Cizinec pospíchat, jinak Tarrok zemřít! AI_StopProcessInfos(self); B_Story_FoundOrcSlave(); }; instance Info_FreemineOrc_CRAWLER(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_CRAWLER_Condition; information = Info_FreemineOrc_CRAWLER_Info; important = 0; permanent = 0; description = "Co to znamená GACH LUG?"; }; func int Info_FreemineOrc_CRAWLER_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_WASPASSIERT)) { return TRUE; }; }; func void Info_FreemineOrc_CRAWLER_Info() { AI_Output(hero,self,"Info_FreemineOrc_CRAWLER_15_01"); //Co to znamená GACH LUG? AI_Output(self,hero,"Info_FreemineOrc_CRAWLER_17_02"); //Být velké zvíře, kráčet na mnoha nohách. AI_Output(self,hero,"Info_FreemineOrc_CRAWLER_17_03"); //GACH LUG být nebezpečný! Jíst skřety a lidi! AI_Output(hero,self,"Info_FreemineOrc_CRAWLER_15_04"); //Máš určitě na mysli důlní červy tady zezdola! }; instance Info_FreemineOrc_TONGUE(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_TONGUE_Condition; information = Info_FreemineOrc_TONGUE_Info; important = 0; permanent = 0; description = "Ty mluvíš naším jazykem?"; }; func int Info_FreemineOrc_TONGUE_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_INTRO)) { return TRUE; }; }; func void Info_FreemineOrc_TONGUE_Info() { AI_Output(hero,self,"Info_FreemineOrc_TONGUE_15_01"); //Ty mluvíš naším jazykem? AI_Output(self,hero,"Info_FreemineOrc_TONGUE_17_02"); //Tarrok být dlouho otrokem u lidí. Tarrok dobře poslouchat. }; instance Info_FreemineOrc_SEARCHPOTION(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SEARCHPOTION_Condition; information = Info_FreemineOrc_SEARCHPOTION_Info; important = 0; permanent = 1; description = "Nemůžu ten lék najít!"; }; func int Info_FreemineOrc_SEARCHPOTION_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_OFFER) && !Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION) && !Npc_HasItems(hero,OrcMedicine)) { return TRUE; }; }; func void Info_FreemineOrc_SEARCHPOTION_Info() { AI_Output(hero,self,"Info_FreemineOrc_SEARCHPOTION_15_01"); //Nemůžu ten lék najít! AI_Output(self,hero,"Info_FreemineOrc_SEARCHPOTION_17_02"); //Cizinec ještě hledat! Lék být tady. AI_Output(self,hero,"Info_FreemineOrc_SEARCHPOTION_17_03"); //Tarrok utekl GACH LUGOVI! Tarrok se schovat na útěku. AI_Output(self,hero,"Info_FreemineOrc_SEARCHPOTION_17_04"); //Cizinec také hledat ve výklenku. AI_StopProcessInfos(self); }; instance Info_FreemineOrc_SUCHEULUMULU(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SUCHEULUMULU_Condition; information = Info_FreemineOrc_SUCHEULUMULU_Info; important = 0; permanent = 0; description = "Jsi přítel Ur-Shaka, toho šamana?"; }; func int Info_FreemineOrc_SUCHEULUMULU_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_INTRO)) { return TRUE; }; }; func void Info_FreemineOrc_SUCHEULUMULU_Info() { AI_Output(hero,self,"Info_FreemineOrc_SUCHEULUMULU_15_01"); //Jsi přítel Ur-Shaka, toho šamana? AI_Output(self,hero,"Info_FreemineOrc_SUCHEULUMULU_17_02"); //Ur-Shak být otrok, jako Tarrok. Ur-Shak utéct! Být pryč už mnoho zim. AI_Output(hero,self,"Info_FreemineOrc_SUCHEULUMULU_15_03"); //Tvůj přítel říkal, že bys mně mohl udělat Ulu-Mulu! if(FreemineOrc_SuchePotion == LOG_SUCCESS) { AI_Output(self,hero,"Info_FreemineOrc_SUCHEULUMULU_17_04"); //Ty pomoc mně, já pomoc tobě! } else { AI_Output(self,hero,"Info_FreemineOrc_SUCHEULUMULU_17_05"); //Tarrok být velmi slabý. Když nebýt lék, Tarrok zemřít. AI_Output(self,hero,"Info_FreemineOrc_SUCHEULUMULU_17_06"); //Cizinec přinést lék, pak Tarrok pomoc! }; }; instance Info_FreemineOrc_GIVEPOTION(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_GIVEPOTION_Condition; information = Info_FreemineOrc_GIVEPOTION_Info; important = 0; permanent = 0; description = "Tady, našel jsem tvůj lék!"; }; func int Info_FreemineOrc_GIVEPOTION_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_WASTUN) && Npc_HasItems(hero,OrcMedicine)) { return TRUE; }; }; func void Info_FreemineOrc_GIVEPOTION_Info() { AI_Output(hero,self,"Info_FreemineOrc_GIVEPOTION_15_01"); //Tady, našel jsem tvůj lék! B_GiveInvItems(hero,self,OrcMedicine,1); EquipItem(self,OrcMedicine); if(C_BodyStateContains(self,BS_SIT)) { AI_Standup(self); AI_TurnToNPC(self,hero); }; AI_UseItemToState(self,OrcMedicine,1); AI_UseItemToState(self,OrcMedicine,-1); AI_Output(self,hero,"Info_FreemineOrc_GIVEPOTION_17_02"); //Cizinec nebýt špatný jako ostatní lidé! Cizinec být dobrý! AI_Output(self,hero,"Info_FreemineOrc_GIVEPOTION_17_03"); //Tarrok dlužit díky! AI_Output(hero,self,"Info_FreemineOrc_GIVEPOTION_15_04"); //Můžeš mi teď dát ten Ulu-Mulu? AI_Output(self,hero,"Info_FreemineOrc_GIVEPOTION_17_05"); //Cizinec pomoc Tarrokovi, Tarrok pomoc cizincovi také. AI_Output(self,hero,"Info_FreemineOrc_GIVEPOTION_17_06"); //Cizinec potřebovat KROTAHK, KHAZ-TAK, DWACHKARR a ORTH-ANTAK. AI_Output(self,hero,"Info_FreemineOrc_GIVEPOTION_17_07"); //Cizinec to přinést, Tarrok pak udělat Ulu-Mulu! if(!Npc_KnowsInfo(hero,Info_FreemineOrc_OFFER)) { B_Story_FoundOrcSlave(); }; B_Story_CuredOrc(); }; instance Info_FreemineOrc_FIREWARAN(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_FIREWARAN_Condition; information = Info_FreemineOrc_FIREWARAN_Info; important = 0; permanent = 0; description = "Co je to KROTAHK?"; }; func int Info_FreemineOrc_FIREWARAN_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION)) { return TRUE; }; }; func void Info_FreemineOrc_FIREWARAN_Info() { AI_Output(hero,self,"Info_FreemineOrc_FIREWARAN_15_01"); //Co je to KROTAHK? AI_Output(self,hero,"Info_FreemineOrc_FIREWARAN_17_02"); //Být ohnivý jazyk. Být jazyk ohnivé ještěrky! }; instance Info_FreemineOrc_FIREWARAN2(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_FIREWARAN2_Condition; information = Info_FreemineOrc_FIREWARAN2_Info; important = 0; permanent = 0; description = "Kde najdu ohnivou ještěrku?"; }; func int Info_FreemineOrc_FIREWARAN2_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_FIREWARAN) && !Npc_HasItems(hero,ItAt_Waran_01) && !Npc_KnowsInfo(hero,Info_FreemineOrc_EveryUlumulu)) { return TRUE; }; }; func void Info_FreemineOrc_FIREWARAN2_Info() { AI_Output(hero,self,"Info_FreemineOrc_FIREWARAN2_15_01"); //Kde najdu ohnivou ještěrku? AI_Output(self,hero,"Info_FreemineOrc_FIREWARAN2_17_02"); //Ohnivá ještěrka žít doma. Doma u Tarroka. Cizinec muset hledat! AI_Output(self,hero,"Info_FreemineOrc_FIREWARAN2_17_03"); //Také najít ohnivou ještěrku na písku u moře. B_LogEntry(CH4_UluMulu,"Tarok potřebuje k výrobě ULU-MULU jazyk ohnivé ještěrky. Tyto ještěrky žijí hlavně v skřetích oblastech a na písčitém pobřeží. Nebyl tam lodní vrak plný ještěrek?"); }; instance Info_FreemineOrc_SHADOWBEAST(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SHADOWBEAST_Condition; information = Info_FreemineOrc_SHADOWBEAST_Info; important = 0; permanent = 0; description = "Co je to KHAZ-TAK?"; }; func int Info_FreemineOrc_SHADOWBEAST_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION)) { return TRUE; }; }; func void Info_FreemineOrc_SHADOWBEAST_Info() { AI_Output(hero,self,"Info_FreemineOrc_SHADOWBEAST_Info_15_01"); //Co je to KHAZ-TAK? AI_Output(self,hero,"Info_FreemineOrc_SHADOWBEAST_Info_17_02"); //Být roh stínové obludy. Roh ostrý jako nůž a tvrdý jako kámen. }; instance Info_FreemineOrc_SHADOWBEAST2(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SHADOWBEAST2_Condition; information = Info_FreemineOrc_SHADOWBEAST2_Info; important = 0; permanent = 0; description = "Kde najdu stínovou obludu?"; }; func int Info_FreemineOrc_SHADOWBEAST2_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_SHADOWBEAST) && !Npc_HasItems(hero,ItAt_Shadow_02) && !Npc_KnowsInfo(hero,Info_FreemineOrc_EveryUlumulu)) { return TRUE; }; }; func void Info_FreemineOrc_SHADOWBEAST2_Info() { AI_Output(hero,self,"Info_FreemineOrc_SHADOWBEAST2_Info_15_01"); //Kde najdu stínovou obludu? AI_Output(self,hero,"Info_FreemineOrc_SHADOWBEAST2_Info_17_02"); //Žít v lese nebo v jeskyni. Ne na světle. AI_Output(self,hero,"Info_FreemineOrc_SHADOWBEAST2_Info_17_03"); //Být moc nebezpečná. Cizinec být opatrný! B_LogEntry(CH4_UluMulu,"Tarrok potřebuje pro Ulu-Mulu roh Stínové šelmy. Ty žijí hlavně v temných lesích a jeskyních. Pokud vím, největší les v Kolonii je mezi Starým táborem a Táborem v bažinách."); }; instance Info_FreemineOrc_SWAMPSHARK(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SWAMPSHARK_Condition; information = Info_FreemineOrc_SWAMPSHARK_Info; important = 0; permanent = 0; description = "DWACHKARR? Co to je?"; }; func int Info_FreemineOrc_SWAMPSHARK_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION)) { return TRUE; }; }; func void Info_FreemineOrc_SWAMPSHARK_Info() { AI_Output(hero,self,"Info_FreemineOrc_SWAMPSHARK_15_01"); //DWACHKARR? Co to je? AI_Output(self,hero,"Info_FreemineOrc_SWAMPSHARK_17_02"); //Být zub močálového žraloka. Když zub zakousnout, oběť už nikdy ne utéct. }; instance Info_FreemineOrc_SWAMPSHARK2(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_SWAMPSHARK2_Condition; information = Info_FreemineOrc_SWAMPSHARK2_Info; important = 0; permanent = 0; description = "Kde najdu močálového žraloka?"; }; func int Info_FreemineOrc_SWAMPSHARK2_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_SWAMPSHARK) && !Npc_HasItems(hero,ItAt_Swampshark_02) && !Npc_KnowsInfo(hero,Info_FreemineOrc_EveryUlumulu)) { return TRUE; }; }; func void Info_FreemineOrc_SWAMPSHARK2_Info() { AI_Output(hero,self,"Info_FreemineOrc_SWAMPSHARK2_15_01"); //Kde najdu močálového žraloka? AI_Output(self,hero,"Info_FreemineOrc_SWAMPSHARK2_17_02"); //Mnoho močálových žraloků být v táboře lidí. V táboře v bažinách, tak! B_LogEntry(CH4_UluMulu,"Tarrok potřebuje pro Ulu-Mulu zuby bažinatého žraloka. V táboře Bratrstva jsou tuny příšer tohoto druhu."); }; instance Info_FreemineOrc_TROLL(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_TROLL_Condition; information = Info_FreemineOrc_TROLL_Info; important = 0; permanent = 0; description = "Co je to ORTH-ANTAK?"; }; func int Info_FreemineOrc_TROLL_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_GIVEPOTION)) { return TRUE; }; }; func void Info_FreemineOrc_TROLL_Info() { AI_Output(hero,self,"Info_FreemineOrc_TROLL_15_01"); //Co je to ORTH-ANTAK? AI_Output(self,hero,"Info_FreemineOrc_TROLL_17_02"); //Být zub velkého trola! Udělat velkou díru do kořisti! }; instance Info_FreemineOrc_TROLL2(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_TROLL2_Condition; information = Info_FreemineOrc_TROLL2_Info; important = 0; permanent = 0; description = "Kde najdu trola?"; }; func int Info_FreemineOrc_TROLL2_Condition() { if(Npc_KnowsInfo(hero,Info_FreemineOrc_TROLL) && !Npc_HasItems(hero,ItAt_Troll_02) && !Npc_KnowsInfo(hero,Info_FreemineOrc_EveryUlumulu)) { return TRUE; }; }; func void Info_FreemineOrc_TROLL2_Info() { AI_Output(hero,self,"Info_FreemineOrc_TROLL2_15_01"); //Kde najdu nějakého trola? AI_Output(self,hero,"Info_FreemineOrc_TROLL2_17_02"); //Trol žít v horách. Trol milovat hodně prostoru! AI_Output(self,hero,"Info_FreemineOrc_TROLL2_17_03"); //Cizinec muset jít hledat v severních horách! Ale dávat pozor na pěst trola! AI_Output(self,hero,"Info_FreemineOrc_TROLL2_17_04"); //Když pěst udeřit, cizinec spadnout z hory! B_LogEntry(CH4_UluMulu,"Tarrok potřebuje pro Ulu-Mulu kly trolů. Tyhle potvory žijí v severních horách kolonie. Měl bych tam prohledat kaňony."); }; instance Info_FreemineOrc_LOOKINGULUMULU(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_LOOKINGULUMULU_Condition; information = Info_FreemineOrc_LOOKINGULUMULU_Info; important = 0; permanent = 1; description = "Ještě nemám všechny čtyři složky!"; }; func int Info_FreemineOrc_LOOKINGULUMULU_Condition() { if(!Npc_HasItems(hero,ItAt_Waran_01) && Npc_HasItems(hero,ItAt_Shadow_02) && Npc_HasItems(hero,ItAt_Swampshark_02) && Npc_HasItems(hero,ItAt_Troll_02) && Npc_KnowsInfo(hero,Info_FreemineOrc_FIREWARAN2) && Npc_KnowsInfo(hero,Info_FreemineOrc_SHADOWBEAST2) && Npc_KnowsInfo(hero,Info_FreemineOrc_SWAMPSHARK2) && Npc_KnowsInfo(hero,Info_FreemineOrc_TROLL2)) { return TRUE; }; }; func void Info_FreemineOrc_LOOKINGULUMULU_Info() { AI_Output(hero,self,"Info_FreemineOrc_LOOKINGULUMULU_15_01"); //Ještě nemám všechny čtyři složky! AI_Output(self,hero,"Info_FreemineOrc_LOOKINGULUMULU_17_02"); //Cizinec pokračovat hledat. Tarrok počkat tady! AI_StopProcessInfos(self); }; instance Info_FreemineOrc_EveryUlumulu(C_Info) { npc = FreemineOrc; condition = Info_FreemineOrc_EVERYULUMULU_Condition; information = Info_FreemineOrc_EVERYULUMULU_Info; important = 0; permanent = 0; description = "Už mám všechny čtyři složky pro Ulu-Mulu!"; }; func int Info_FreemineOrc_EVERYULUMULU_Condition() { if((FreemineOrc_LookingUlumulu == LOG_RUNNING) && Npc_HasItems(hero,ItAt_Waran_01) && Npc_HasItems(hero,ItAt_Shadow_02) && Npc_HasItems(hero,ItAt_Swampshark_02) && Npc_HasItems(hero,ItAt_Troll_02)) { return TRUE; }; }; func void Info_FreemineOrc_EVERYULUMULU_Info() { AI_Output(hero,self,"Info_FreemineOrc_EVERYULUMULU_15_01"); //Už mám všechny čtyři složky pro Ulu-Mulu! AI_Output(self,hero,"Info_FreemineOrc_EVERYULUMULU_17_02"); //Cizinec být silný bojovník! Dát mi ty složky! Tarrok udělat Ulu-Mulu! AI_Output(self,hero,"Info_FreemineOrc_EVERYULUMULU_17_03"); //Tady! Cizinec nosit ULU-MULU s hrdostí! Tarrok teď spát! CreateInvItems(hero,ItAt_Waran_01,3); B_GiveInvItems(hero,self,ItAt_Waran_01,4); Npc_RemoveInvItem(hero,ItAt_Shadow_02); Npc_RemoveInvItem(hero,ItAt_Swampshark_02); Npc_RemoveInvItem(hero,ItAt_Troll_02); Npc_RemoveInvItems(self,ItAt_Waran_01,4); B_Story_GotUluMulu(); AI_StopProcessInfos(self); };
D
/** * Contains classes used to send electronic _mail to a Simple Mail Transfer Protocol (SMTP) server for delivery. * * Copyright: (c) 2009 John Chapman * * License: See $(LINK2 ..\..\licence.txt, licence.txt) for use and distribution terms. */ module os.win.net.mail; import os.win.base.core, os.win.base.string, os.win.base.text, os.win.base.collections, os.win.com.core, os.win.net.core; debug import std.io : writefln; /** * The exception thrown when the SmtpClient is unable to complete a send operation. */ class SmtpException : Exception { this(string message) { super(message); } } /** */ enum SmtpDeliveryMethod { Network, /// PickupDirectory /// } // Wrap any exception in SmtpException. private R invokeMethod(R = VARIANT)(IDispatch target, string name, ...) { try { return os.win.com.core.invokeMethod!(R)(target, name, _arguments, _argptr); } catch (Exception e) { throw new SmtpException(e.msg); } } private R getProperty(R = VARIANT)(IDispatch target, string name, ...) { try { return os.win.com.core.getProperty!(R)(target, name, _arguments, _argptr); } catch (Exception e) { throw new SmtpException(e.msg); } } private void setProperty(IDispatch target, string name, ...) { try { os.win.com.core.setProperty(target, name, _arguments, _argptr); } catch (Exception e) { throw new SmtpException(e.msg); } } /** * Allows applications to send e-mail using the Simple Mail Transfer Protocol (SMTP). * Примеры: * --- * string from = `"Ben" ben@btinternet.com`; * string to = `"John" john@gmail.com`; * * auto message = new MailMessage(from, to); * message.subject = "Re: Last Night"; * message.bodyText = "Had a blast! Best, Ben."; * * string host = "smtp.btinternet.com"; * auto client = new SmtpClient(host); * * auto credentials = new CredentialCache; * credentials.add(client.host, client.port, "Basic", userName, password); * * client.credentials = credentials; * * try { * client.send(message); * } * catch (Exception e) { * writefln("Couldn't send the message: " ~ e.toString()); * } * --- */ class SmtpClient { private static int defaultPort_ = 25; private string host_; private int port_; private SmtpDeliveryMethod deliveryMethod_; private string pickupDirectoryLocation_; private ICredentialsByHost credentials_; private bool enableSsl_; private int timeout_; /// this() { initialize(); } /// this(string host) { host_ = host; initialize(); } /// this(string host, int port) { host_ = host; port_ = port; initialize(); } /// Sends an e-mail _message to an SMTP server for delivery. final void send(MailMessage message) { auto m = coCreate!(IDispatch)("CDO.Message"); scope(exit) tryRelease(m); if (message.from !is null) setProperty(m, "From", message.from.toString()); if (message.sender !is null) setProperty(m, "Sender", message.sender.toString()); if (message.replyTo !is null) setProperty(m, "ReplyTo", message.replyTo.toString()); if (message.to.count > 0) setProperty(m, "To", message.to.toString()); if (message.cc.count > 0) setProperty(m, "Cc", message.cc.toString()); if (message.bcc.count > 0) setProperty(m, "Bcc", message.bcc.toString()); if (message.subject != null) setProperty(m, "Subject", message.subject); if (message.priority != MailPriority.Normal) { string importance; switch (message.priority) { case MailPriority.Normal: importance = "normal"; break; case MailPriority.Low: importance = "low"; break; case MailPriority.High: importance = "high"; break; default: break; } if (importance != null) { setProperty(m, "Fields", "urn:schemas:mailheader:importance", importance); if (auto fields = getProperty!(IDispatch)(m, "Fields")) { invokeMethod(fields, "Update"); fields.Release(); } } } if (message.bodyEncoding !is null) { if (auto bodyPart = getProperty!(IDispatch)(m, "BodyPart")) { setProperty(bodyPart, "Charset", message.bodyEncoding.bodyName); bodyPart.Release(); } } if (message.headers.count > 0) { foreach (key; message.headers) { setProperty(m, "Fields", "urn:schemas:mailheader:" ~ key, message.headers[key]); } auto fields = getProperty!(IDispatch)(m, "Fields"); invokeMethod(fields, "Update"); fields.Release(); } if (message.isBodyHtml) setProperty(m, "HtmlBody", message.bodyText); else setProperty(m, "TextBody", message.bodyText); foreach (attachment; message.attachments) { if (auto bodyPart = invokeMethod!(IDispatch)(m, "AddAttachment", attachment.fileName)) { scope(exit) tryRelease(bodyPart); switch (attachment.transferEncoding) { case TransferEncoding.QuotedPrintable: setProperty(bodyPart, "ContentTransferEncoding", "quoted-printable"); break; case TransferEncoding.Base64: setProperty(bodyPart, "ContentTransferEncoding", "base64"); break; case TransferEncoding.SevenBit: setProperty(bodyPart, "ContentTransferEncoding", "7bit"); break; default: } } } if (auto config = getProperty!(IDispatch)(m, "Configuration")) { scope(exit) tryRelease(config); //invokeMethod(config, "Load", 2); if (deliveryMethod_ == SmtpDeliveryMethod.Network) { setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/sendusing", 2); setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpusessl", enableSsl_); } else if (deliveryMethod_ == SmtpDeliveryMethod.PickupDirectory) { setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/sendusing", 1); if (pickupDirectoryLocation_ != null) setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory", pickupDirectoryLocation_); } if (host_ != null) setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpserver", host_); if (port_ != 0) setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpserverport", port_); if (credentials_ !is null) { if (auto credential = credentials_.getCredential(host_, port_, "Basic")) { setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1); setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/sendusername", credential.userName); setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/sendpassword", credential.password); } } setProperty(config, "Fields", "http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", timeout_ / 1000); if (auto fields = getProperty!(IDispatch)(config, "Fields")) { invokeMethod(fields, "Update"); fields.Release(); } } invokeMethod(m, "Send"); // Sync message headers so user can query them. static const string URN_SCHEMAS_MAILHEADER = "urn:schemas:mailheader:"; if (auto fields = getProperty!(IDispatch)(m, "Fields")) { scope(exit) tryRelease(fields); if (auto fieldsEnum = invokeMethod!(IEnumVARIANT)(fields, "_NewEnum")) { scope(exit) tryRelease(fieldsEnum); uint fetched; VARIANT field; while (SUCCEEDED(fieldsEnum.Next(1, &field, fetched)) && fetched == 1) { scope(exit) field.clear(); string name = getProperty!(string)(field.value!(IDispatch), "Name"); if (name.startsWith(URN_SCHEMAS_MAILHEADER)) { name = name[URN_SCHEMAS_MAILHEADER.length .. $]; string value = getProperty!(string)(field.value!(IDispatch), "Value"); message.headers.set(name, value); } } } } } /// ditto final void send(string from, string recipients, string subject, string bodyText) { send(new MailMessage(from, recipients, subject, bodyText)); } /// Gets or sets the name or IP address of the _host used to send an e-mail message. final void host(string value) { host_ = value; } /// ditto final string host() { return host_; } /// Gets or sets the _port used to send an e-mail message. The default is 25. final void port(int value) { port_ = value; } /// ditto final int port() { return port_; } /// Specifies how outgoing e-mail messages will be handled. final void deliveryMethod(SmtpDeliveryMethod value) { deliveryMethod_ = value; } /// ditto final SmtpDeliveryMethod deliveryMethod() { return deliveryMethod_; } /// Gets or sets the folder where applications save mail messages. final void pickupDirectoryLocation(string value) { pickupDirectoryLocation_ = value; } /// ditto final string pickupDirectoryLocation() { return pickupDirectoryLocation_; } /// Gets or sets the _credentials used to authenticate the sender. final void credentials(ICredentialsByHost value) { credentials_ = value; } /// ditto final ICredentialsByHost credentials() { return credentials_; } /// Specifies whether to use Secure Sockets Layer (SSL) to encrypt the connection. final void enableSsl(bool value) { enableSsl_ = value; } /// ditto final bool enableSsl() { return enableSsl_; } /// Gets or sets the amount of time after which a send call times out. final void timeout(int value) { timeout_ = value; } /// ditto final int timeout() { return timeout_; } private void initialize() { timeout_ = 100000; if (port_ == 0) port_ = defaultPort_; } } /** * Represents the address of an electronic mail sender or recipient. */ class MailAddress { private string address_; private string displayName_; private string host_; private string user_; /// Initializes a new instance. this(string address) { this(address, null); } /// ditto this(string address, string displayName) { address_ = address; displayName_ = displayName; parse(address); } bool equals(Object value) { if (value is null) return false; return (std.string.icmp(this.toString(), value.toString()) == 0); } override string toString() { return address; } /// Gets the e-mail _address specified. final string address() { return address_; } /// Gets the display name specified. final string displayName() { return displayName_; } /// Gets the user information from the address specified. final string user() { return user_; } /// Gets the host portion of the address specified. final string host() { return host_; } private void parse(string address) { string display; int i = address.indexOf('\"'); if (i > 0) throw new FormatException("Строка не соответствует форме, необходимой для адреса электронной почты."); if (i == 0) { i = address.indexOf('\"', 1); if (i < 0) throw new FormatException("Строка не соответствует форме, необходимой для адреса электронной почты."); display = address[1 .. i]; if (address.length == i + 1) throw new FormatException("Строка не соответствует форме, необходимой для адреса электронной почты."); address = address[i + 1 .. $]; } /*if (display == null) { i = address.indexOf('<'); if (i > 0) { display = address[0 .. i]; address = address[i .. $]; } }*/ if (displayName_ == null) displayName_ = display; address = address.trim(); i = address.indexOf('@'); if (i < 0) throw new FormatException("Строка не соответствует форме, необходимой для адреса электронной почты."); user_ = address[0 .. i]; host_ = address[i + 1 .. $]; } } /** * Stores e-mail addresses associated with an e-mail message. */ class MailAddressCollection : Collection!(MailAddress) { override string toString() { string s; bool first = true; foreach (address; this) { if (!first) s ~= ", "; s ~= address.toString(); first = false; } return s; } } class NameValueCollection { private string[string] nameAndValue_; void add(string name, string value) { nameAndValue_[name] = value; } string get(string name) { if (auto value = name in nameAndValue_) return *value; return null; } void set(string name, string value) { nameAndValue_[name] = value; } int count() { return nameAndValue_.keys.length; } void opIndexAssign(string value, string name) { set(name, value); } string opIndex(string name) { return get(name); } int opApply(int delegate(ref string) action) { int r; foreach (key; nameAndValue_.keys) { if ((r = action(key)) != 0) break; } return r; } int opApply(int delegate(ref string, ref string) action) { int r; foreach (key, value; nameAndValue_) { if ((r = action(key, value)) != 0) break; } return r; } } enum TransferEncoding { Unknown = -1, QuotedPrintable = 0, Base64 = 1, SevenBit = 2 } /** * Represents an e-mail attachment. */ class Attachment { private string fileName_; private TransferEncoding transferEncoding_ = TransferEncoding.Unknown; /// Initializes a new instance. this(string fileName) { fileName_ = fileName; } /// Gets or sets the name of the attachment file. final void fileName(string value) { fileName_ = value; } /// ditto final string fileName() { return fileName_; } /// Gets or sets the type of encoding of this attachment. final void transferEncoding(TransferEncoding value) { transferEncoding_ = value; } /// ditto final TransferEncoding transferEncoding() { return transferEncoding_; } } /** * Stores attachments to be sent as part of an e-mail message. */ class AttachmentCollection : Collection!(Attachment) { } /** */ enum MailPriority { Normal, /// Low, /// High /// } /** * Represents an e-mail message that can be sent using the SmtpClient class. */ class MailMessage { private MailAddress from_; private MailAddress sender_; private MailAddress replyTo_; private MailAddressCollection to_; private MailAddressCollection cc_; private MailAddressCollection bcc_; private MailPriority priority_; private string subject_; private NameValueCollection headers_; private string bodyText_; private bool isBodyHtml_; private Encoding bodyEncoding_; private AttachmentCollection attachments_; /// Initializes a new instance. this() { } /// ditto this(string from, string to) { if (from == null) throw new ArgumentException("Параметр 'from' не может быть пустой строкой.", "from"); if (to == null) throw new ArgumentException("Параметр 'to' не может быть пустой строкой.", "to"); from_ = new MailAddress(from); this.to.add(new MailAddress(to)); } /// ditto this(string from, string to, string subject, string bodyText) { this(from, to); this.subject = subject; this.bodyText = bodyText; } /// ditto this(MailAddress from, MailAddress to) { if (from is null) throw new ArgumentNullException("from"); if (to is null) throw new ArgumentNullException("to"); from_ = from; this.to.add(to); } /// Gets or sets the _from address. final void from(MailAddress value) { if (value is null) throw new ArgumentNullException("value"); from_ = value; } /// ditto final MailAddress from() { return from_; } /// Gets or sets the sender's address. final void sender(MailAddress value) { sender_ = value; } /// ditto final MailAddress sender() { return sender_; } /// Gets or sets the ReplyTo address. final void replyTo(MailAddress value) { replyTo_ = value; } /// ditto final MailAddress replyTo() { return replyTo_; } /// Gets the address collection containing the recipients. final MailAddressCollection to() { if (to_ is null) to_ = new MailAddressCollection; return to_; } /// Gets the address collection containing the carbon copy (CC) recipients. final MailAddressCollection cc() { if (cc_ is null) cc_ = new MailAddressCollection; return cc_; } /// Gets the address collection containing the blind carbon copy (BCC) recipients. final MailAddressCollection bcc() { if (bcc_ is null) bcc_ = new MailAddressCollection; return bcc_; } /// Gets or sets the _priority. final void priority(MailPriority value) { priority_ = value; } /// ditto final MailPriority priority() { return priority_; } /// Gets or sets the _subject line. final void subject(string value) { subject_ = value; } /// ditto final string subject() { return subject_; } /// Gets the e-mail _headers. final NameValueCollection headers() { if (headers_ is null) headers_ = new NameValueCollection; return headers_; } /// Gets or sets the message body. final void bodyText(string value) { bool isAscii(string value) { foreach (ch; value) { if (ch > 0x7f) return false; } return true; } bodyText_ = value; if (bodyEncoding_ is null && bodyText_ != null) { if (isAscii(bodyText_)) bodyEncoding_ = Encoding.ASCII; else bodyEncoding_ = Encoding.UTF8; } } /// ditto final string bodyText() { return bodyText_; } /// Gets or sets whether the mail message body is in HTML. final void isBodyHtml(bool value) { isBodyHtml_ = value; } /// ditto final bool isBodyHtml() { return isBodyHtml_; } /// Gets or sets the encoding used to encode the message body. final void bodyEncoding(Encoding value) { bodyEncoding_ = value; } /// ditto final Encoding bodyEncoding() { return bodyEncoding_; } /// Gets the attachment collection used to store data attached to this e-mail message. final AttachmentCollection attachments() { if (attachments_ is null) attachments_ = new AttachmentCollection; return attachments_; } }
D
anything that is cast aside or discarded (cards) the act of throwing out a useless card or of failing to follow suit getting rid something that is regarded as useless or undesirable throw or cast away
D
module org.serviio.ui.resources.TranscodingResource; import org.restlet.resource.Get; import org.restlet.resource.Put; import org.serviio.restlet.ResultRepresentation; import org.serviio.ui.representation.TranscodingRepresentation; public abstract interface TranscodingResource { //@Put("xml|json") public abstract ResultRepresentation save(TranscodingRepresentation paramTranscodingRepresentation); //@Get("xml|json") public abstract TranscodingRepresentation load(); } /* Location: D:\Program Files\Serviio\lib\serviio.jar * Qualified Name: org.serviio.ui.resources.TranscodingResource * JD-Core Version: 0.6.2 */
D
/Users/jackwong/Desktop/Developer/CollectionCellReorder/Build/Intermediates.noindex/CollectionCellReorder.build/Debug-iphoneos/CollectionCellReorder.build/Objects-normal/arm64/AppDelegate.o : /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/AppDelegate.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/CustomCell.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/jackwong/Desktop/Developer/CollectionCellReorder/Build/Intermediates.noindex/CollectionCellReorder.build/Debug-iphoneos/CollectionCellReorder.build/Objects-normal/arm64/AppDelegate~partial.swiftmodule : /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/AppDelegate.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/CustomCell.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/jackwong/Desktop/Developer/CollectionCellReorder/Build/Intermediates.noindex/CollectionCellReorder.build/Debug-iphoneos/CollectionCellReorder.build/Objects-normal/arm64/AppDelegate~partial.swiftdoc : /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/AppDelegate.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/CustomCell.swift /Users/jackwong/Desktop/Developer/CollectionCellReorder/CollectionCellReorder/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DMDSRC _hdrgen.d) */ module ddmd.hdrgen; import core.stdc.ctype; import core.stdc.stdio; import core.stdc.string; import ddmd.aggregate; import ddmd.aliasthis; import ddmd.arraytypes; import ddmd.attrib; import ddmd.complex; import ddmd.cond; import ddmd.ctfeexpr; import ddmd.dclass; import ddmd.declaration; import ddmd.denum; import ddmd.dimport; import ddmd.dmodule; import ddmd.doc; import ddmd.dstruct; import ddmd.dsymbol; import ddmd.dtemplate; import ddmd.dversion; import ddmd.expression; import ddmd.func; import ddmd.globals; import ddmd.id; import ddmd.identifier; import ddmd.init; import ddmd.mtype; import ddmd.nspace; import ddmd.parse; import ddmd.root.ctfloat; import ddmd.root.outbuffer; import ddmd.root.rootobject; import ddmd.statement; import ddmd.staticassert; import ddmd.target; import ddmd.tokens; import ddmd.utils; import ddmd.visitor; struct HdrGenState { bool hdrgen; /// true if generating header file bool ddoc; /// true if generating Ddoc file bool fullDump; /// true if generating a full AST dump file bool fullQual; /// fully qualify types when printing int tpltMember; int autoMember; int forStmtInit; } enum TEST_EMIT_ALL = 0; extern (C++) void genhdrfile(Module m) { OutBuffer buf; buf.doindent = 1; buf.printf("// D import file generated from '%s'", m.srcfile.toChars()); buf.writenl(); HdrGenState hgs; hgs.hdrgen = true; toCBuffer(m, &buf, &hgs); // Transfer image to file m.hdrfile.setbuffer(buf.data, buf.offset); buf.extractData(); ensurePathToNameExists(Loc(), m.hdrfile.toChars()); writeFile(m.loc, m.hdrfile); } extern (C++) final class PrettyPrintVisitor : Visitor { alias visit = super.visit; public: OutBuffer* buf; HdrGenState* hgs; bool declstring; // set while declaring alias for string,wstring or dstring EnumDeclaration inEnumDecl; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } override void visit(Statement s) { buf.printf("Statement::toCBuffer()"); buf.writenl(); assert(0); } override void visit(ErrorStatement s) { buf.printf("__error__"); buf.writenl(); } override void visit(ExpStatement s) { if (s.exp && s.exp.op == TOKdeclaration) { // bypass visit(DeclarationExp) (cast(DeclarationExp)s.exp).declaration.accept(this); return; } if (s.exp) s.exp.accept(this); buf.writeByte(';'); if (!hgs.forStmtInit) buf.writenl(); } override void visit(CompileStatement s) { buf.writestring("mixin("); s.exp.accept(this); buf.writestring(");"); if (!hgs.forStmtInit) buf.writenl(); } override void visit(CompoundStatement s) { foreach (sx; *s.statements) { if (sx) sx.accept(this); } } override void visit(CompoundDeclarationStatement s) { bool anywritten = false; foreach (sx; *s.statements) { auto ds = sx ? sx.isExpStatement() : null; if (ds && ds.exp.op == TOKdeclaration) { auto d = (cast(DeclarationExp)ds.exp).declaration; assert(d.isDeclaration()); if (auto v = d.isVarDeclaration()) visitVarDecl(v, anywritten); else d.accept(this); anywritten = true; } } buf.writeByte(';'); if (!hgs.forStmtInit) buf.writenl(); } override void visit(UnrolledLoopStatement s) { buf.writestring("/*unrolled*/ {"); buf.writenl(); buf.level++; foreach (sx; *s.statements) { if (sx) sx.accept(this); } buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ScopeStatement s) { buf.writeByte('{'); buf.writenl(); buf.level++; if (s.statement) s.statement.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(WhileStatement s) { buf.writestring("while ("); s.condition.accept(this); buf.writeByte(')'); buf.writenl(); if (s._body) s._body.accept(this); } override void visit(DoStatement s) { buf.writestring("do"); buf.writenl(); if (s._body) s._body.accept(this); buf.writestring("while ("); s.condition.accept(this); buf.writestring(");"); buf.writenl(); } override void visit(ForStatement s) { buf.writestring("for ("); if (s._init) { hgs.forStmtInit++; s._init.accept(this); hgs.forStmtInit--; } else buf.writeByte(';'); if (s.condition) { buf.writeByte(' '); s.condition.accept(this); } buf.writeByte(';'); if (s.increment) { buf.writeByte(' '); s.increment.accept(this); } buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ForeachStatement s) { buf.writestring(Token.toString(s.op)); buf.writestring(" ("); foreach (i, p; *s.parameters) { if (i) buf.writestring(", "); if (stcToBuffer(buf, p.storageClass)) buf.writeByte(' '); if (p.type) typeToBuffer(p.type, p.ident); else buf.writestring(p.ident.toChars()); } buf.writestring("; "); s.aggr.accept(this); buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ForeachRangeStatement s) { buf.writestring(Token.toString(s.op)); buf.writestring(" ("); if (s.prm.type) typeToBuffer(s.prm.type, s.prm.ident); else buf.writestring(s.prm.ident.toChars()); buf.writestring("; "); s.lwr.accept(this); buf.writestring(" .. "); s.upr.accept(this); buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(IfStatement s) { buf.writestring("if ("); if (Parameter p = s.prm) { StorageClass stc = p.storageClass; if (!p.type && !stc) stc = STCauto; if (stcToBuffer(buf, stc)) buf.writeByte(' '); if (p.type) typeToBuffer(p.type, p.ident); else buf.writestring(p.ident.toChars()); buf.writestring(" = "); } s.condition.accept(this); buf.writeByte(')'); buf.writenl(); if (!s.ifbody.isScopeStatement()) buf.level++; s.ifbody.accept(this); if (!s.ifbody.isScopeStatement()) buf.level--; if (s.elsebody) { buf.writestring("else"); if (!s.elsebody.isIfStatement) { buf.writenl(); } else { buf.writeByte(' '); } if (!s.elsebody.isScopeStatement() && !s.elsebody.isIfStatement) buf.level++; s.elsebody.accept(this); if (!s.elsebody.isScopeStatement() && !s.elsebody.isIfStatement) buf.level--; } } override void visit(ConditionalStatement s) { s.condition.accept(this); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s.ifbody) s.ifbody.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); if (s.elsebody) { buf.writestring("else"); buf.writenl(); buf.writeByte('{'); buf.level++; buf.writenl(); s.elsebody.accept(this); buf.level--; buf.writeByte('}'); } buf.writenl(); } override void visit(PragmaStatement s) { buf.writestring("pragma ("); buf.writestring(s.ident.toChars()); if (s.args && s.args.dim) { buf.writestring(", "); argsToBuffer(s.args); } buf.writeByte(')'); if (s._body) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } else { buf.writeByte(';'); buf.writenl(); } } override void visit(StaticAssertStatement s) { s.sa.accept(this); } override void visit(SwitchStatement s) { buf.writestring(s.isFinal ? "final switch (" : "switch ("); s.condition.accept(this); buf.writeByte(')'); buf.writenl(); if (s._body) { if (!s._body.isScopeStatement()) { buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } else { s._body.accept(this); } } } override void visit(CaseStatement s) { buf.writestring("case "); s.exp.accept(this); buf.writeByte(':'); buf.writenl(); s.statement.accept(this); } override void visit(CaseRangeStatement s) { buf.writestring("case "); s.first.accept(this); buf.writestring(": .. case "); s.last.accept(this); buf.writeByte(':'); buf.writenl(); s.statement.accept(this); } override void visit(DefaultStatement s) { buf.writestring("default:"); buf.writenl(); s.statement.accept(this); } override void visit(GotoDefaultStatement s) { buf.writestring("goto default;"); buf.writenl(); } override void visit(GotoCaseStatement s) { buf.writestring("goto case"); if (s.exp) { buf.writeByte(' '); s.exp.accept(this); } buf.writeByte(';'); buf.writenl(); } override void visit(SwitchErrorStatement s) { buf.writestring("SwitchErrorStatement::toCBuffer()"); buf.writenl(); } override void visit(ReturnStatement s) { buf.printf("return "); if (s.exp) s.exp.accept(this); buf.writeByte(';'); buf.writenl(); } override void visit(BreakStatement s) { buf.writestring("break"); if (s.ident) { buf.writeByte(' '); buf.writestring(s.ident.toChars()); } buf.writeByte(';'); buf.writenl(); } override void visit(ContinueStatement s) { buf.writestring("continue"); if (s.ident) { buf.writeByte(' '); buf.writestring(s.ident.toChars()); } buf.writeByte(';'); buf.writenl(); } override void visit(SynchronizedStatement s) { buf.writestring("synchronized"); if (s.exp) { buf.writeByte('('); s.exp.accept(this); buf.writeByte(')'); } if (s._body) { buf.writeByte(' '); s._body.accept(this); } } override void visit(WithStatement s) { buf.writestring("with ("); s.exp.accept(this); buf.writestring(")"); buf.writenl(); if (s._body) s._body.accept(this); } override void visit(TryCatchStatement s) { buf.writestring("try"); buf.writenl(); if (s._body) s._body.accept(this); foreach (c; *s.catches) { visit(c); } } override void visit(TryFinallyStatement s) { buf.writestring("try"); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); buf.writestring("finally"); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; s.finalbody.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(OnScopeStatement s) { buf.writestring(Token.toString(s.tok)); buf.writeByte(' '); s.statement.accept(this); } override void visit(ThrowStatement s) { buf.printf("throw "); s.exp.accept(this); buf.writeByte(';'); buf.writenl(); } override void visit(DebugStatement s) { if (s.statement) { s.statement.accept(this); } } override void visit(GotoStatement s) { buf.writestring("goto "); buf.writestring(s.ident.toChars()); buf.writeByte(';'); buf.writenl(); } override void visit(LabelStatement s) { buf.writestring(s.ident.toChars()); buf.writeByte(':'); buf.writenl(); if (s.statement) s.statement.accept(this); } override void visit(AsmStatement s) { buf.writestring("asm { "); Token* t = s.tokens; buf.level++; while (t) { buf.writestring(t.toChars()); if (t.next && t.value != TOKmin && t.value != TOKcomma && t.next.value != TOKcomma && t.value != TOKlbracket && t.next.value != TOKlbracket && t.next.value != TOKrbracket && t.value != TOKlparen && t.next.value != TOKlparen && t.next.value != TOKrparen && t.value != TOKdot && t.next.value != TOKdot) { buf.writeByte(' '); } t = t.next; } buf.level--; buf.writestring("; }"); buf.writenl(); } override void visit(ImportStatement s) { foreach (imp; *s.imports) { imp.accept(this); } } void visit(Catch c) { buf.writestring("catch"); if (c.type) { buf.writeByte('('); typeToBuffer(c.type, c.ident); buf.writeByte(')'); } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (c.handler) c.handler.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } //////////////////////////////////////////////////////////////////////////// /************************************************** * An entry point to pretty-print type. */ void typeToBuffer(Type t, Identifier ident) { if (t.ty == Tfunction) { visitFuncIdentWithPrefix(cast(TypeFunction)t, ident, null, true); return; } visitWithMask(t, 0); if (ident) { buf.writeByte(' '); buf.writestring(ident.toChars()); } } void visitWithMask(Type t, ubyte modMask) { // Tuples and functions don't use the type constructor syntax if (modMask == t.mod || t.ty == Tfunction || t.ty == Ttuple) { t.accept(this); } else { ubyte m = t.mod & ~(t.mod & modMask); if (m & MODshared) { MODtoBuffer(buf, MODshared); buf.writeByte('('); } if (m & MODwild) { MODtoBuffer(buf, MODwild); buf.writeByte('('); } if (m & (MODconst | MODimmutable)) { MODtoBuffer(buf, m & (MODconst | MODimmutable)); buf.writeByte('('); } t.accept(this); if (m & (MODconst | MODimmutable)) buf.writeByte(')'); if (m & MODwild) buf.writeByte(')'); if (m & MODshared) buf.writeByte(')'); } } override void visit(Type t) { printf("t = %p, ty = %d\n", t, t.ty); assert(0); } override void visit(TypeError t) { buf.writestring("_error_"); } override void visit(TypeBasic t) { //printf("TypeBasic::toCBuffer2(t.mod = %d)\n", t.mod); buf.writestring(t.dstring); } override void visit(TypeVector t) { //printf("TypeVector::toCBuffer2(t.mod = %d)\n", t.mod); buf.writestring("__vector("); visitWithMask(t.basetype, t.mod); buf.writestring(")"); } override void visit(TypeSArray t) { visitWithMask(t.next, t.mod); buf.writeByte('['); sizeToBuffer(t.dim); buf.writeByte(']'); } override void visit(TypeDArray t) { Type ut = t.castMod(0); if (declstring) goto L1; if (ut.equals(Type.tstring)) buf.writestring("string"); else if (ut.equals(Type.twstring)) buf.writestring("wstring"); else if (ut.equals(Type.tdstring)) buf.writestring("dstring"); else { L1: visitWithMask(t.next, t.mod); buf.writestring("[]"); } } override void visit(TypeAArray t) { visitWithMask(t.next, t.mod); buf.writeByte('['); visitWithMask(t.index, 0); buf.writeByte(']'); } override void visit(TypePointer t) { //printf("TypePointer::toCBuffer2() next = %d\n", t.next.ty); if (t.next.ty == Tfunction) visitFuncIdentWithPostfix(cast(TypeFunction)t.next, "function"); else { visitWithMask(t.next, t.mod); buf.writeByte('*'); } } override void visit(TypeReference t) { visitWithMask(t.next, t.mod); buf.writeByte('&'); } override void visit(TypeFunction t) { //printf("TypeFunction::toCBuffer2() t = %p, ref = %d\n", t, t.isref); visitFuncIdentWithPostfix(t, null); } // callback for TypeFunction::attributesApply struct PrePostAppendStrings { OutBuffer* buf; bool isPostfixStyle; bool isCtor; extern (C++) static int fp(void* param, const(char)* str) { PrePostAppendStrings* p = cast(PrePostAppendStrings*)param; // don't write 'ref' for ctors if (p.isCtor && strcmp(str, "ref") == 0) return 0; if (p.isPostfixStyle) p.buf.writeByte(' '); p.buf.writestring(str); if (!p.isPostfixStyle) p.buf.writeByte(' '); return 0; } } void visitFuncIdentWithPostfix(TypeFunction t, const(char)* ident) { if (t.inuse) { t.inuse = 2; // flag error to caller return; } t.inuse++; PrePostAppendStrings pas; pas.buf = buf; pas.isCtor = false; pas.isPostfixStyle = true; if (t.linkage > LINKd && hgs.ddoc != 1 && !hgs.hdrgen) { linkageToBuffer(buf, t.linkage); buf.writeByte(' '); } if (t.next) { typeToBuffer(t.next, null); if (ident) buf.writeByte(' '); } else if (hgs.ddoc) buf.writestring("auto "); if (ident) buf.writestring(ident); parametersToBuffer(t.parameters, t.varargs); /* Use postfix style for attributes */ if (t.mod) { buf.writeByte(' '); MODtoBuffer(buf, t.mod); } t.attributesApply(&pas, &PrePostAppendStrings.fp); t.inuse--; } void visitFuncIdentWithPrefix(TypeFunction t, Identifier ident, TemplateDeclaration td, bool isPostfixStyle) { if (t.inuse) { t.inuse = 2; // flag error to caller return; } t.inuse++; PrePostAppendStrings pas; pas.buf = buf; pas.isCtor = (ident == Id.ctor); pas.isPostfixStyle = false; /* Use 'storage class' (prefix) style for attributes */ if (t.mod) { MODtoBuffer(buf, t.mod); buf.writeByte(' '); } t.attributesApply(&pas, &PrePostAppendStrings.fp); if (t.linkage > LINKd && hgs.ddoc != 1 && !hgs.hdrgen) { linkageToBuffer(buf, t.linkage); buf.writeByte(' '); } if (ident && ident.toHChars2() != ident.toChars()) { // Don't print return type for ctor, dtor, unittest, etc } else if (t.next) { typeToBuffer(t.next, null); if (ident) buf.writeByte(' '); } else if (hgs.ddoc) buf.writestring("auto "); if (ident) buf.writestring(ident.toHChars2()); if (td) { buf.writeByte('('); foreach (i, p; *td.origParameters) { if (i) buf.writestring(", "); p.accept(this); } buf.writeByte(')'); } parametersToBuffer(t.parameters, t.varargs); t.inuse--; } override void visit(TypeDelegate t) { visitFuncIdentWithPostfix(cast(TypeFunction)t.next, "delegate"); } void visitTypeQualifiedHelper(TypeQualified t) { foreach (id; t.idents) { if (id.dyncast() == DYNCAST.dsymbol) { buf.writeByte('.'); TemplateInstance ti = cast(TemplateInstance)id; ti.accept(this); } else if (id.dyncast() == DYNCAST.expression) { buf.writeByte('['); (cast(Expression)id).accept(this); buf.writeByte(']'); } else if (id.dyncast() == DYNCAST.type) { buf.writeByte('['); (cast(Type)id).accept(this); buf.writeByte(']'); } else { buf.writeByte('.'); buf.writestring(id.toChars()); } } } override void visit(TypeIdentifier t) { buf.writestring(t.ident.toChars()); visitTypeQualifiedHelper(t); } override void visit(TypeInstance t) { t.tempinst.accept(this); visitTypeQualifiedHelper(t); } override void visit(TypeTypeof t) { buf.writestring("typeof("); t.exp.accept(this); buf.writeByte(')'); visitTypeQualifiedHelper(t); } override void visit(TypeReturn t) { buf.writestring("typeof(return)"); visitTypeQualifiedHelper(t); } override void visit(TypeEnum t) { buf.writestring(t.sym.toChars()); } override void visit(TypeStruct t) { // https://issues.dlang.org/show_bug.cgi?id=13776 // Don't use ti.toAlias() to avoid forward reference error // while printing messages. TemplateInstance ti = t.sym.parent ? t.sym.parent.isTemplateInstance() : null; if (ti && ti.aliasdecl == t.sym) buf.writestring(hgs.fullQual ? ti.toPrettyChars() : ti.toChars()); else buf.writestring(hgs.fullQual ? t.sym.toPrettyChars() : t.sym.toChars()); } override void visit(TypeClass t) { // https://issues.dlang.org/show_bug.cgi?id=13776 // Don't use ti.toAlias() to avoid forward reference error // while printing messages. TemplateInstance ti = t.sym.parent.isTemplateInstance(); if (ti && ti.aliasdecl == t.sym) buf.writestring(hgs.fullQual ? ti.toPrettyChars() : ti.toChars()); else buf.writestring(hgs.fullQual ? t.sym.toPrettyChars() : t.sym.toChars()); } override void visit(TypeTuple t) { parametersToBuffer(t.arguments, 0); } override void visit(TypeSlice t) { visitWithMask(t.next, t.mod); buf.writeByte('['); sizeToBuffer(t.lwr); buf.writestring(" .. "); sizeToBuffer(t.upr); buf.writeByte(']'); } override void visit(TypeNull t) { buf.writestring("typeof(null)"); } //////////////////////////////////////////////////////////////////////////// override void visit(Dsymbol s) { buf.writestring(s.toChars()); } override void visit(StaticAssert s) { buf.writestring(s.kind()); buf.writeByte('('); s.exp.accept(this); if (s.msg) { buf.writestring(", "); s.msg.accept(this); } buf.writestring(");"); buf.writenl(); } override void visit(DebugSymbol s) { buf.writestring("debug = "); if (s.ident) buf.writestring(s.ident.toChars()); else buf.printf("%u", s.level); buf.writestring(";"); buf.writenl(); } override void visit(VersionSymbol s) { buf.writestring("version = "); if (s.ident) buf.writestring(s.ident.toChars()); else buf.printf("%u", s.level); buf.writestring(";"); buf.writenl(); } override void visit(EnumMember em) { if (em.type) typeToBuffer(em.type, em.ident); else buf.writestring(em.ident.toChars()); if (em.value) { buf.writestring(" = "); em.value.accept(this); } } override void visit(Import imp) { if (hgs.hdrgen && imp.id == Id.object) return; // object is imported by default if (imp.isstatic) buf.writestring("static "); buf.writestring("import "); if (imp.aliasId) { buf.printf("%s = ", imp.aliasId.toChars()); } if (imp.packages && imp.packages.dim) { foreach (const pid; *imp.packages) { buf.printf("%s.", pid.toChars()); } } buf.printf("%s", imp.id.toChars()); if (imp.names.dim) { buf.writestring(" : "); foreach (const i, const name; imp.names) { if (i) buf.writestring(", "); const _alias = imp.aliases[i]; if (_alias) buf.printf("%s = %s", _alias.toChars(), name.toChars()); else buf.printf("%s", name.toChars()); } } buf.printf(";"); buf.writenl(); } override void visit(AliasThis d) { buf.writestring("alias "); buf.writestring(d.ident.toChars()); buf.writestring(" this;\n"); } override void visit(AttribDeclaration d) { if (!d.decl) { buf.writeByte(';'); buf.writenl(); return; } if (d.decl.dim == 0) buf.writestring("{}"); else if (hgs.hdrgen && d.decl.dim == 1 && (*d.decl)[0].isUnitTestDeclaration()) { // hack for bugzilla 8081 buf.writestring("{}"); } else if (d.decl.dim == 1) { (*d.decl)[0].accept(this); return; } else { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (de; *d.decl) de.accept(this); buf.level--; buf.writeByte('}'); } buf.writenl(); } override void visit(StorageClassDeclaration d) { if (stcToBuffer(buf, d.stc)) buf.writeByte(' '); visit(cast(AttribDeclaration)d); } override void visit(DeprecatedDeclaration d) { buf.writestring("deprecated("); d.msg.accept(this); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(LinkDeclaration d) { const(char)* p; switch (d.linkage) { case LINKd: p = "D"; break; case LINKc: p = "C"; break; case LINKcpp: p = "C++"; break; case LINKwindows: p = "Windows"; break; case LINKpascal: p = "Pascal"; break; case LINKobjc: p = "Objective-C"; break; default: assert(0); } buf.writestring("extern ("); buf.writestring(p); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(CPPMangleDeclaration d) { const(char)* p; switch (d.cppmangle) { case CPPMANGLE.asClass: p = "class"; break; case CPPMANGLE.asStruct: p = "struct"; break; default: assert(0); } buf.writestring("extern (C++, "); buf.writestring(p); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(ProtDeclaration d) { protectionToBuffer(buf, d.protection); buf.writeByte(' '); visit(cast(AttribDeclaration)d); } override void visit(AlignDeclaration d) { if (!d.ealign) buf.printf("align "); else buf.printf("align (%s) ", d.ealign.toChars()); visit(cast(AttribDeclaration)d); } override void visit(AnonDeclaration d) { buf.printf(d.isunion ? "union" : "struct"); buf.writenl(); buf.writestring("{"); buf.writenl(); buf.level++; if (d.decl) { foreach (de; *d.decl) de.accept(this); } buf.level--; buf.writestring("}"); buf.writenl(); } override void visit(PragmaDeclaration d) { buf.printf("pragma (%s", d.ident.toChars()); if (d.args && d.args.dim) { buf.writestring(", "); argsToBuffer(d.args); } buf.writeByte(')'); visit(cast(AttribDeclaration)d); } override void visit(ConditionalDeclaration d) { d.condition.accept(this); if (d.decl || d.elsedecl) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (d.decl) { foreach (de; *d.decl) de.accept(this); } buf.level--; buf.writeByte('}'); if (d.elsedecl) { buf.writenl(); buf.writestring("else"); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (de; *d.elsedecl) de.accept(this); buf.level--; buf.writeByte('}'); } } else buf.writeByte(':'); buf.writenl(); } override void visit(CompileDeclaration d) { buf.writestring("mixin("); d.exp.accept(this); buf.writestring(");"); buf.writenl(); } override void visit(UserAttributeDeclaration d) { buf.writestring("@("); argsToBuffer(d.atts); buf.writeByte(')'); visit(cast(AttribDeclaration)d); } override void visit(TemplateDeclaration d) { version (none) { // Should handle template functions for doc generation if (onemember && onemember.isFuncDeclaration()) buf.writestring("foo "); } if ((hgs.hdrgen || hgs.fullDump) && visitEponymousMember(d)) return; if (hgs.ddoc) buf.writestring(d.kind()); else buf.writestring("template"); buf.writeByte(' '); buf.writestring(d.ident.toChars()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); visitTemplateConstraint(d.constraint); if (hgs.hdrgen || hgs.fullDump) { hgs.tpltMember++; buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); hgs.tpltMember--; } } bool visitEponymousMember(TemplateDeclaration d) { if (!d.members || d.members.dim != 1) return false; Dsymbol onemember = (*d.members)[0]; if (onemember.ident != d.ident) return false; if (FuncDeclaration fd = onemember.isFuncDeclaration()) { assert(fd.type); if (stcToBuffer(buf, fd.storage_class)) buf.writeByte(' '); functionToBufferFull(cast(TypeFunction)fd.type, buf, d.ident, hgs, d); visitTemplateConstraint(d.constraint); hgs.tpltMember++; bodyToBuffer(fd); hgs.tpltMember--; return true; } if (AggregateDeclaration ad = onemember.isAggregateDeclaration()) { buf.writestring(ad.kind()); buf.writeByte(' '); buf.writestring(ad.ident.toChars()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); visitTemplateConstraint(d.constraint); visitBaseClasses(ad.isClassDeclaration()); hgs.tpltMember++; if (ad.members) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *ad.members) s.accept(this); buf.level--; buf.writeByte('}'); } else buf.writeByte(';'); buf.writenl(); hgs.tpltMember--; return true; } if (VarDeclaration vd = onemember.isVarDeclaration()) { if (d.constraint) return false; if (stcToBuffer(buf, vd.storage_class)) buf.writeByte(' '); if (vd.type) typeToBuffer(vd.type, vd.ident); else buf.writestring(vd.ident.toChars()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); if (vd._init) { buf.writestring(" = "); ExpInitializer ie = vd._init.isExpInitializer(); if (ie && (ie.exp.op == TOKconstruct || ie.exp.op == TOKblit)) (cast(AssignExp)ie.exp).e2.accept(this); else vd._init.accept(this); } buf.writeByte(';'); buf.writenl(); return true; } return false; } void visitTemplateParameters(TemplateParameters* parameters) { if (!parameters || !parameters.dim) return; foreach (i, p; *parameters) { if (i) buf.writestring(", "); p.accept(this); } } void visitTemplateConstraint(Expression constraint) { if (!constraint) return; buf.writestring(" if ("); constraint.accept(this); buf.writeByte(')'); } override void visit(TemplateInstance ti) { buf.writestring(ti.name.toChars()); tiargsToBuffer(ti); if (hgs.fullDump) { buf.writenl(); dumpTemplateInstance(ti); } } override void visit(TemplateMixin tm) { buf.writestring("mixin "); typeToBuffer(tm.tqual, null); tiargsToBuffer(tm); if (tm.ident && memcmp(tm.ident.toChars(), cast(const(char)*)"__mixin", 7) != 0) { buf.writeByte(' '); buf.writestring(tm.ident.toChars()); } buf.writeByte(';'); buf.writenl(); if (hgs.fullDump) dumpTemplateInstance(tm); } void dumpTemplateInstance(TemplateInstance ti) { buf.writeByte('{'); buf.writenl(); buf.level++; if (ti.aliasdecl) { ti.aliasdecl.accept(this); buf.writenl(); } else if (ti.members) { foreach(m;*ti.members) m.accept(this); } buf.level--; buf.writeByte('}'); buf.writenl(); } void tiargsToBuffer(TemplateInstance ti) { buf.writeByte('!'); if (ti.nest) { buf.writestring("(...)"); return; } if (!ti.tiargs) { buf.writestring("()"); return; } if (ti.tiargs.dim == 1) { RootObject oarg = (*ti.tiargs)[0]; if (Type t = isType(oarg)) { if (t.equals(Type.tstring) || t.equals(Type.twstring) || t.equals(Type.tdstring) || t.mod == 0 && (t.isTypeBasic() || t.ty == Tident && (cast(TypeIdentifier)t).idents.dim == 0)) { buf.writestring(t.toChars()); return; } } else if (Expression e = isExpression(oarg)) { if (e.op == TOKint64 || e.op == TOKfloat64 || e.op == TOKnull || e.op == TOKstring || e.op == TOKthis) { buf.writestring(e.toChars()); return; } } } buf.writeByte('('); ti.nest++; foreach (i, arg; *ti.tiargs) { if (i) buf.writestring(", "); objectToBuffer(arg); } ti.nest--; buf.writeByte(')'); } /**************************************** * This makes a 'pretty' version of the template arguments. * It's analogous to genIdent() which makes a mangled version. */ void objectToBuffer(RootObject oarg) { //printf("objectToBuffer()\n"); /* The logic of this should match what genIdent() does. The _dynamic_cast() * function relies on all the pretty strings to be unique for different classes * See https://issues.dlang.org/show_bug.cgi?id=7375 * Perhaps it would be better to demangle what genIdent() does. */ if (auto t = isType(oarg)) { //printf("\tt: %s ty = %d\n", t.toChars(), t.ty); typeToBuffer(t, null); } else if (auto e = isExpression(oarg)) { if (e.op == TOKvar) e = e.optimize(WANTvalue); // added to fix https://issues.dlang.org/show_bug.cgi?id=7375 e.accept(this); } else if (Dsymbol s = isDsymbol(oarg)) { const p = s.ident ? s.ident.toChars() : s.toChars(); buf.writestring(p); } else if (auto v = isTuple(oarg)) { auto args = &v.objects; foreach (i, arg; *args) { if (i) buf.writestring(", "); objectToBuffer(arg); } } else if (!oarg) { buf.writestring("NULL"); } else { debug { printf("bad Object = %p\n", oarg); } assert(0); } } override void visit(EnumDeclaration d) { auto oldInEnumDecl = inEnumDecl; scope(exit) inEnumDecl = oldInEnumDecl; inEnumDecl = d; buf.writestring("enum "); if (d.ident) { buf.writestring(d.ident.toChars()); buf.writeByte(' '); } if (d.memtype) { buf.writestring(": "); typeToBuffer(d.memtype, null); } if (!d.members) { buf.writeByte(';'); buf.writenl(); return; } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (em; *d.members) { if (!em) continue; em.accept(this); buf.writeByte(','); buf.writenl(); } buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(Nspace d) { buf.writestring("extern (C++, "); buf.writestring(d.ident.toChars()); buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(StructDeclaration d) { buf.printf("%s ", d.kind()); if (!d.isAnonymous()) buf.writestring(d.toChars()); if (!d.members) { buf.writeByte(';'); buf.writenl(); return; } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ClassDeclaration d) { if (!d.isAnonymous()) { buf.writestring(d.kind()); buf.writeByte(' '); buf.writestring(d.ident.toChars()); } visitBaseClasses(d); if (d.members) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); } else buf.writeByte(';'); buf.writenl(); } void visitBaseClasses(ClassDeclaration d) { if (!d || !d.baseclasses.dim) return; buf.writestring(" : "); foreach (i, b; *d.baseclasses) { if (i) buf.writestring(", "); typeToBuffer(b.type, null); } } override void visit(AliasDeclaration d) { buf.writestring("alias "); if (d.aliassym) { buf.writestring(d.ident.toChars()); buf.writestring(" = "); if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); d.aliassym.accept(this); } else if (d.type.ty == Tfunction) { if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); typeToBuffer(d.type, d.ident); } else { declstring = (d.ident == Id.string || d.ident == Id.wstring || d.ident == Id.dstring); buf.writestring(d.ident.toChars()); buf.writestring(" = "); if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); typeToBuffer(d.type, null); declstring = false; } buf.writeByte(';'); buf.writenl(); } override void visit(VarDeclaration d) { visitVarDecl(d, false); buf.writeByte(';'); buf.writenl(); } void visitVarDecl(VarDeclaration v, bool anywritten) { if (anywritten) { buf.writestring(", "); buf.writestring(v.ident.toChars()); } else { if (stcToBuffer(buf, v.storage_class)) buf.writeByte(' '); if (v.type) typeToBuffer(v.type, v.ident); else buf.writestring(v.ident.toChars()); } if (v._init) { buf.writestring(" = "); auto ie = v._init.isExpInitializer(); if (ie && (ie.exp.op == TOKconstruct || ie.exp.op == TOKblit)) (cast(AssignExp)ie.exp).e2.accept(this); else v._init.accept(this); } } override void visit(FuncDeclaration f) { //printf("FuncDeclaration::toCBuffer() '%s'\n", f.toChars()); if (stcToBuffer(buf, f.storage_class)) buf.writeByte(' '); auto tf = cast(TypeFunction)f.type; typeToBuffer(tf, f.ident); if (hgs.hdrgen) { // if the return type is missing (e.g. ref functions or auto) if (!tf.next || f.storage_class & STCauto) { hgs.autoMember++; bodyToBuffer(f); hgs.autoMember--; } else if (hgs.tpltMember == 0 && global.params.hdrStripPlainFunctions) { buf.writeByte(';'); buf.writenl(); } else bodyToBuffer(f); } else bodyToBuffer(f); } void bodyToBuffer(FuncDeclaration f) { if (!f.fbody || (hgs.hdrgen && global.params.hdrStripPlainFunctions && !hgs.autoMember && !hgs.tpltMember)) { buf.writeByte(';'); buf.writenl(); return; } int savetlpt = hgs.tpltMember; int saveauto = hgs.autoMember; hgs.tpltMember = 0; hgs.autoMember = 0; buf.writenl(); // in{} if (f.frequire) { buf.writestring("in"); buf.writenl(); f.frequire.accept(this); } // out{} if (f.fensure) { buf.writestring("out"); if (f.outId) { buf.writeByte('('); buf.writestring(f.outId.toChars()); buf.writeByte(')'); } buf.writenl(); f.fensure.accept(this); } if (f.frequire || f.fensure) { buf.writestring("body"); buf.writenl(); } buf.writeByte('{'); buf.writenl(); buf.level++; f.fbody.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); hgs.tpltMember = savetlpt; hgs.autoMember = saveauto; } override void visit(FuncLiteralDeclaration f) { if (f.type.ty == Terror) { buf.writestring("__error"); return; } if (f.tok != TOKreserved) { buf.writestring(f.kind()); buf.writeByte(' '); } TypeFunction tf = cast(TypeFunction)f.type; // Don't print tf.mod, tf.trust, and tf.linkage if (!f.inferRetType && tf.next) typeToBuffer(tf.next, null); parametersToBuffer(tf.parameters, tf.varargs); CompoundStatement cs = f.fbody.isCompoundStatement(); Statement s1; if (f.semanticRun >= PASSsemantic3done && cs) { s1 = (*cs.statements)[cs.statements.dim - 1]; } else s1 = !cs ? f.fbody : null; ReturnStatement rs = s1 ? s1.isReturnStatement() : null; if (rs && rs.exp) { buf.writestring(" => "); rs.exp.accept(this); } else { hgs.tpltMember++; bodyToBuffer(f); hgs.tpltMember--; } } override void visit(PostBlitDeclaration d) { if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("this(this)"); bodyToBuffer(d); } override void visit(DtorDeclaration d) { if (d.storage_class & STCtrusted) buf.writestring("@trusted "); if (d.storage_class & STCsafe) buf.writestring("@safe "); if (d.storage_class & STCnogc) buf.writestring("@nogc "); if (d.storage_class & STCdisable) buf.writestring("@disable "); buf.writestring("~this()"); bodyToBuffer(d); } override void visit(StaticCtorDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STCstatic)) buf.writeByte(' '); if (d.isSharedStaticCtorDeclaration()) buf.writestring("shared "); buf.writestring("static this()"); if (hgs.hdrgen && !hgs.tpltMember) { buf.writeByte(';'); buf.writenl(); } else bodyToBuffer(d); } override void visit(StaticDtorDeclaration d) { if (hgs.hdrgen) return; if (stcToBuffer(buf, d.storage_class & ~STCstatic)) buf.writeByte(' '); if (d.isSharedStaticDtorDeclaration()) buf.writestring("shared "); buf.writestring("static ~this()"); bodyToBuffer(d); } override void visit(InvariantDeclaration d) { if (hgs.hdrgen) return; if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("invariant"); bodyToBuffer(d); } override void visit(UnitTestDeclaration d) { if (hgs.hdrgen) return; if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("unittest"); bodyToBuffer(d); } override void visit(NewDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STCstatic)) buf.writeByte(' '); buf.writestring("new"); parametersToBuffer(d.parameters, d.varargs); bodyToBuffer(d); } override void visit(DeleteDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STCstatic)) buf.writeByte(' '); buf.writestring("delete"); parametersToBuffer(d.parameters, 0); bodyToBuffer(d); } //////////////////////////////////////////////////////////////////////////// override void visit(ErrorInitializer iz) { buf.writestring("__error__"); } override void visit(VoidInitializer iz) { buf.writestring("void"); } override void visit(StructInitializer si) { //printf("StructInitializer::toCBuffer()\n"); buf.writeByte('{'); foreach (i, const id; si.field) { if (i) buf.writestring(", "); if (id) { buf.writestring(id.toChars()); buf.writeByte(':'); } if (auto iz = si.value[i]) iz.accept(this); } buf.writeByte('}'); } override void visit(ArrayInitializer ai) { buf.writeByte('['); foreach (i, ex; ai.index) { if (i) buf.writestring(", "); if (ex) { ex.accept(this); buf.writeByte(':'); } if (auto iz = ai.value[i]) iz.accept(this); } buf.writeByte(']'); } override void visit(ExpInitializer ei) { ei.exp.accept(this); } //////////////////////////////////////////////////////////////////////////// /************************************************** * Write out argument list to buf. */ void argsToBuffer(Expressions* expressions, Expression basis = null) { if (!expressions || !expressions.dim) return; version (all) { foreach (i, el; *expressions) { if (i) buf.writestring(", "); if (!el) el = basis; if (el) expToBuffer(el, PREC.assign); } } else { // Sparse style formatting, for debug use only // [0..dim: basis, 1: e1, 5: e5] if (basis) { buf.printf("0..%llu: ", cast(ulong)expressions.dim); expToBuffer(basis, PREC.assign); } foreach (i, el; *expressions) { if (el) { if (basis) buf.printf(", %llu: ", cast(ulong)i); else if (i) buf.writestring(", "); expToBuffer(el, PREC.assign); } } } } void sizeToBuffer(Expression e) { if (e.type == Type.tsize_t) { Expression ex = (e.op == TOKcast ? (cast(CastExp)e).e1 : e); ex = ex.optimize(WANTvalue); dinteger_t uval = ex.op == TOKint64 ? ex.toInteger() : cast(dinteger_t)-1; if (cast(sinteger_t)uval >= 0) { dinteger_t sizemax; if (Target.ptrsize == 4) sizemax = 0xFFFFFFFFU; else if (Target.ptrsize == 8) sizemax = 0xFFFFFFFFFFFFFFFFUL; else assert(0); if (uval <= sizemax && uval <= 0x7FFFFFFFFFFFFFFFUL) { buf.printf("%llu", uval); return; } } } expToBuffer(e, PREC.assign); } /************************************************** * Write expression out to buf, but wrap it * in ( ) if its precedence is less than pr. */ void expToBuffer(Expression e, PREC pr) { debug { if (precedence[e.op] == PREC.zero) printf("precedence not defined for token '%s'\n", Token.toChars(e.op)); } assert(precedence[e.op] != PREC.zero); assert(pr != PREC.zero); //if (precedence[e.op] == 0) e.print(); /* Despite precedence, we don't allow a<b<c expressions. * They must be parenthesized. */ if (precedence[e.op] < pr || (pr == PREC.rel && precedence[e.op] == pr)) { buf.writeByte('('); e.accept(this); buf.writeByte(')'); } else e.accept(this); } override void visit(Expression e) { buf.writestring(Token.toString(e.op)); } override void visit(IntegerExp e) { dinteger_t v = e.toInteger(); if (e.type) { Type t = e.type; L1: switch (t.ty) { case Tenum: { TypeEnum te = cast(TypeEnum)t; if (hgs.fullDump) { auto sym = te.sym; if (inEnumDecl != sym) foreach(i;0 .. sym.members.dim) { EnumMember em = cast(EnumMember) (*sym.members)[i]; if (em.value.toInteger == v) { buf.printf("%s.%s", sym.toChars(), em.ident.toChars()); return ; } } //assert(0, "We could not find the EmumMember");// for some reason it won't append char* ~ e.toChars() ~ " in " ~ sym.toChars() ); } buf.printf("cast(%s)", te.sym.toChars()); t = te.sym.memtype; goto L1; } case Twchar: // BUG: need to cast(wchar) case Tdchar: // BUG: need to cast(dchar) if (cast(uinteger_t)v > 0xFF) { buf.printf("'\\U%08x'", v); break; } goto case; case Tchar: { size_t o = buf.offset; if (v == '\'') buf.writestring("'\\''"); else if (isprint(cast(int)v) && v != '\\') buf.printf("'%c'", cast(int)v); else buf.printf("'\\x%02x'", cast(int)v); if (hgs.ddoc) escapeDdocString(buf, o); break; } case Tint8: buf.writestring("cast(byte)"); goto L2; case Tint16: buf.writestring("cast(short)"); goto L2; case Tint32: L2: buf.printf("%d", cast(int)v); break; case Tuns8: buf.writestring("cast(ubyte)"); goto L3; case Tuns16: buf.writestring("cast(ushort)"); goto L3; case Tuns32: L3: buf.printf("%uu", cast(uint)v); break; case Tint64: buf.printf("%lldL", v); break; case Tuns64: L4: buf.printf("%lluLU", v); break; case Tbool: buf.writestring(v ? "true" : "false"); break; case Tpointer: buf.writestring("cast("); buf.writestring(t.toChars()); buf.writeByte(')'); if (Target.ptrsize == 4) goto L3; else if (Target.ptrsize == 8) goto L4; else assert(0); default: /* This can happen if errors, such as * the type is painted on like in fromConstInitializer(). */ if (!global.errors) { debug { t.print(); } assert(0); } break; } } else if (v & 0x8000000000000000L) buf.printf("0x%llx", v); else buf.printf("%lld", v); } override void visit(ErrorExp e) { buf.writestring("__error"); } void floatToBuffer(Type type, real_t value) { /** sizeof(value)*3 is because each byte of mantissa is max of 256 (3 characters). The string will be "-M.MMMMe-4932". (ie, 8 chars more than mantissa). Plus one for trailing \0. Plus one for rounding. */ const(size_t) BUFFER_LEN = value.sizeof * 3 + 8 + 1 + 1; char[BUFFER_LEN] buffer; CTFloat.sprint(buffer.ptr, 'g', value); assert(strlen(buffer.ptr) < BUFFER_LEN); if (hgs.hdrgen) { real_t r = CTFloat.parse(buffer.ptr); if (r != value) // if exact duplication CTFloat.sprint(buffer.ptr, 'a', value); } buf.writestring(buffer.ptr); if (type) { Type t = type.toBasetype(); switch (t.ty) { case Tfloat32: case Timaginary32: case Tcomplex32: buf.writeByte('F'); break; case Tfloat80: case Timaginary80: case Tcomplex80: buf.writeByte('L'); break; default: break; } if (t.isimaginary()) buf.writeByte('i'); } } override void visit(RealExp e) { floatToBuffer(e.type, e.value); } override void visit(ComplexExp e) { /* Print as: * (re+imi) */ buf.writeByte('('); floatToBuffer(e.type, creall(e.value)); buf.writeByte('+'); floatToBuffer(e.type, cimagl(e.value)); buf.writestring("i)"); } override void visit(IdentifierExp e) { if (hgs.hdrgen || hgs.ddoc) buf.writestring(e.ident.toHChars2()); else buf.writestring(e.ident.toChars()); } override void visit(DsymbolExp e) { buf.writestring(e.s.toChars()); } override void visit(ThisExp e) { buf.writestring("this"); } override void visit(SuperExp e) { buf.writestring("super"); } override void visit(NullExp e) { buf.writestring("null"); } override void visit(StringExp e) { buf.writeByte('"'); size_t o = buf.offset; for (size_t i = 0; i < e.len; i++) { uint c = e.charAt(i); switch (c) { case '"': case '\\': buf.writeByte('\\'); goto default; default: if (c <= 0xFF) { if (c <= 0x7F && isprint(c)) buf.writeByte(c); else buf.printf("\\x%02x", c); } else if (c <= 0xFFFF) buf.printf("\\x%02x\\x%02x", c & 0xFF, c >> 8); else buf.printf("\\x%02x\\x%02x\\x%02x\\x%02x", c & 0xFF, (c >> 8) & 0xFF, (c >> 16) & 0xFF, c >> 24); break; } } if (hgs.ddoc) escapeDdocString(buf, o); buf.writeByte('"'); if (e.postfix) buf.writeByte(e.postfix); } override void visit(ArrayLiteralExp e) { buf.writeByte('['); argsToBuffer(e.elements, e.basis); buf.writeByte(']'); } override void visit(AssocArrayLiteralExp e) { buf.writeByte('['); foreach (i, key; *e.keys) { if (i) buf.writestring(", "); expToBuffer(key, PREC.assign); buf.writeByte(':'); auto value = (*e.values)[i]; expToBuffer(value, PREC.assign); } buf.writeByte(']'); } override void visit(StructLiteralExp e) { buf.writestring(e.sd.toChars()); buf.writeByte('('); // CTFE can generate struct literals that contain an AddrExp pointing // to themselves, need to avoid infinite recursion: // struct S { this(int){ this.s = &this; } S* s; } // const foo = new S(0); if (e.stageflags & stageToCBuffer) buf.writestring("<recursion>"); else { int old = e.stageflags; e.stageflags |= stageToCBuffer; argsToBuffer(e.elements); e.stageflags = old; } buf.writeByte(')'); } override void visit(TypeExp e) { typeToBuffer(e.type, null); } override void visit(ScopeExp e) { if (e.sds.isTemplateInstance()) { e.sds.accept(this); } else if (hgs !is null && hgs.ddoc) { // fixes bug 6491 Module m = e.sds.isModule(); if (m) buf.writestring(m.md.toChars()); else buf.writestring(e.sds.toChars()); } else { buf.writestring(e.sds.kind()); buf.writeByte(' '); buf.writestring(e.sds.toChars()); } } override void visit(TemplateExp e) { buf.writestring(e.td.toChars()); } override void visit(NewExp e) { if (e.thisexp) { expToBuffer(e.thisexp, PREC.primary); buf.writeByte('.'); } buf.writestring("new "); if (e.newargs && e.newargs.dim) { buf.writeByte('('); argsToBuffer(e.newargs); buf.writeByte(')'); } typeToBuffer(e.newtype, null); if (e.arguments && e.arguments.dim) { buf.writeByte('('); argsToBuffer(e.arguments); buf.writeByte(')'); } } override void visit(NewAnonClassExp e) { if (e.thisexp) { expToBuffer(e.thisexp, PREC.primary); buf.writeByte('.'); } buf.writestring("new"); if (e.newargs && e.newargs.dim) { buf.writeByte('('); argsToBuffer(e.newargs); buf.writeByte(')'); } buf.writestring(" class "); if (e.arguments && e.arguments.dim) { buf.writeByte('('); argsToBuffer(e.arguments); buf.writeByte(')'); } if (e.cd) e.cd.accept(this); } override void visit(SymOffExp e) { if (e.offset) buf.printf("(& %s+%u)", e.var.toChars(), e.offset); else if (e.var.isTypeInfoDeclaration()) buf.printf("%s", e.var.toChars()); else buf.printf("& %s", e.var.toChars()); } override void visit(VarExp e) { buf.writestring(e.var.toChars()); } override void visit(OverExp e) { buf.writestring(e.vars.ident.toChars()); } override void visit(TupleExp e) { if (e.e0) { buf.writeByte('('); e.e0.accept(this); buf.writestring(", tuple("); argsToBuffer(e.exps); buf.writestring("))"); } else { buf.writestring("tuple("); argsToBuffer(e.exps); buf.writeByte(')'); } } override void visit(FuncExp e) { e.fd.accept(this); //buf.writestring(e.fd.toChars()); } override void visit(DeclarationExp e) { /* Normal dmd execution won't reach here - regular variable declarations * are handled in visit(ExpStatement), so here would be used only when * we'll directly call Expression.toChars() for debugging. */ if (auto v = e.declaration.isVarDeclaration()) { // For debugging use: // - Avoid printing newline. // - Intentionally use the format (Type var;) // which isn't correct as regular D code. buf.writeByte('('); visitVarDecl(v, false); buf.writeByte(';'); buf.writeByte(')'); } else e.declaration.accept(this); } override void visit(TypeidExp e) { buf.writestring("typeid("); objectToBuffer(e.obj); buf.writeByte(')'); } override void visit(TraitsExp e) { buf.writestring("__traits("); buf.writestring(e.ident.toChars()); if (e.args) { foreach (arg; *e.args) { buf.writestring(", "); objectToBuffer(arg); } } buf.writeByte(')'); } override void visit(HaltExp e) { buf.writestring("halt"); } override void visit(IsExp e) { buf.writestring("is("); typeToBuffer(e.targ, e.id); if (e.tok2 != TOKreserved) { buf.printf(" %s %s", Token.toChars(e.tok), Token.toChars(e.tok2)); } else if (e.tspec) { if (e.tok == TOKcolon) buf.writestring(" : "); else buf.writestring(" == "); typeToBuffer(e.tspec, null); } if (e.parameters && e.parameters.dim) { buf.writestring(", "); visitTemplateParameters(e.parameters); } buf.writeByte(')'); } override void visit(UnaExp e) { buf.writestring(Token.toString(e.op)); expToBuffer(e.e1, precedence[e.op]); } override void visit(BinExp e) { expToBuffer(e.e1, precedence[e.op]); buf.writeByte(' '); buf.writestring(Token.toString(e.op)); buf.writeByte(' '); expToBuffer(e.e2, cast(PREC)(precedence[e.op] + 1)); } override void visit(CompileExp e) { buf.writestring("mixin("); expToBuffer(e.e1, PREC.assign); buf.writeByte(')'); } override void visit(ImportExp e) { buf.writestring("import("); expToBuffer(e.e1, PREC.assign); buf.writeByte(')'); } override void visit(AssertExp e) { buf.writestring("assert("); expToBuffer(e.e1, PREC.assign); if (e.msg) { buf.writestring(", "); expToBuffer(e.msg, PREC.assign); } buf.writeByte(')'); } override void visit(DotIdExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); buf.writestring(e.ident.toChars()); } override void visit(DotTemplateExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); buf.writestring(e.td.toChars()); } override void visit(DotVarExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); buf.writestring(e.var.toChars()); } override void visit(DotTemplateInstanceExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); e.ti.accept(this); } override void visit(DelegateExp e) { buf.writeByte('&'); if (!e.func.isNested()) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); } buf.writestring(e.func.toChars()); } override void visit(DotTypeExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); buf.writestring(e.sym.toChars()); } override void visit(CallExp e) { if (e.e1.op == TOKtype) { /* Avoid parens around type to prevent forbidden cast syntax: * (sometype)(arg1) * This is ok since types in constructor calls * can never depend on parens anyway */ e.e1.accept(this); } else expToBuffer(e.e1, precedence[e.op]); buf.writeByte('('); argsToBuffer(e.arguments); buf.writeByte(')'); } override void visit(PtrExp e) { buf.writeByte('*'); expToBuffer(e.e1, precedence[e.op]); } override void visit(DeleteExp e) { buf.writestring("delete "); expToBuffer(e.e1, precedence[e.op]); } override void visit(CastExp e) { buf.writestring("cast("); if (e.to) typeToBuffer(e.to, null); else { MODtoBuffer(buf, e.mod); } buf.writeByte(')'); expToBuffer(e.e1, precedence[e.op]); } override void visit(VectorExp e) { buf.writestring("cast("); typeToBuffer(e.to, null); buf.writeByte(')'); expToBuffer(e.e1, precedence[e.op]); } override void visit(SliceExp e) { expToBuffer(e.e1, precedence[e.op]); buf.writeByte('['); if (e.upr || e.lwr) { if (e.lwr) sizeToBuffer(e.lwr); else buf.writeByte('0'); buf.writestring(".."); if (e.upr) sizeToBuffer(e.upr); else buf.writeByte('$'); } buf.writeByte(']'); } override void visit(ArrayLengthExp e) { expToBuffer(e.e1, PREC.primary); buf.writestring(".length"); } override void visit(IntervalExp e) { expToBuffer(e.lwr, PREC.assign); buf.writestring(".."); expToBuffer(e.upr, PREC.assign); } override void visit(DelegatePtrExp e) { expToBuffer(e.e1, PREC.primary); buf.writestring(".ptr"); } override void visit(DelegateFuncptrExp e) { expToBuffer(e.e1, PREC.primary); buf.writestring(".funcptr"); } override void visit(ArrayExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('['); argsToBuffer(e.arguments); buf.writeByte(']'); } override void visit(DotExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('.'); expToBuffer(e.e2, PREC.primary); } override void visit(IndexExp e) { expToBuffer(e.e1, PREC.primary); buf.writeByte('['); sizeToBuffer(e.e2); buf.writeByte(']'); } override void visit(PostExp e) { expToBuffer(e.e1, precedence[e.op]); buf.writestring(Token.toString(e.op)); } override void visit(PreExp e) { buf.writestring(Token.toString(e.op)); expToBuffer(e.e1, precedence[e.op]); } override void visit(RemoveExp e) { expToBuffer(e.e1, PREC.primary); buf.writestring(".remove("); expToBuffer(e.e2, PREC.assign); buf.writeByte(')'); } override void visit(CondExp e) { expToBuffer(e.econd, PREC.oror); buf.writestring(" ? "); expToBuffer(e.e1, PREC.expr); buf.writestring(" : "); expToBuffer(e.e2, PREC.cond); } override void visit(DefaultInitExp e) { buf.writestring(Token.toString(e.subop)); } override void visit(ClassReferenceExp e) { buf.writestring(e.value.toChars()); } //////////////////////////////////////////////////////////////////////////// override void visit(TemplateTypeParameter tp) { buf.writestring(tp.ident.toChars()); if (tp.specType) { buf.writestring(" : "); typeToBuffer(tp.specType, null); } if (tp.defaultType) { buf.writestring(" = "); typeToBuffer(tp.defaultType, null); } } override void visit(TemplateThisParameter tp) { buf.writestring("this "); visit(cast(TemplateTypeParameter)tp); } override void visit(TemplateAliasParameter tp) { buf.writestring("alias "); if (tp.specType) typeToBuffer(tp.specType, tp.ident); else buf.writestring(tp.ident.toChars()); if (tp.specAlias) { buf.writestring(" : "); objectToBuffer(tp.specAlias); } if (tp.defaultAlias) { buf.writestring(" = "); objectToBuffer(tp.defaultAlias); } } override void visit(TemplateValueParameter tp) { typeToBuffer(tp.valType, tp.ident); if (tp.specValue) { buf.writestring(" : "); tp.specValue.accept(this); } if (tp.defaultValue) { buf.writestring(" = "); tp.defaultValue.accept(this); } } override void visit(TemplateTupleParameter tp) { buf.writestring(tp.ident.toChars()); buf.writestring("..."); } //////////////////////////////////////////////////////////////////////////// override void visit(DebugCondition c) { if (c.ident) buf.printf("debug (%s)", c.ident.toChars()); else buf.printf("debug (%u)", c.level); } override void visit(VersionCondition c) { if (c.ident) buf.printf("version (%s)", c.ident.toChars()); else buf.printf("version (%u)", c.level); } override void visit(StaticIfCondition c) { buf.writestring("static if ("); c.exp.accept(this); buf.writeByte(')'); } //////////////////////////////////////////////////////////////////////////// override void visit(Parameter p) { if (p.storageClass & STCauto) buf.writestring("auto "); if (p.storageClass & STCreturn) buf.writestring("return "); if (p.storageClass & STCout) buf.writestring("out "); else if (p.storageClass & STCref) buf.writestring("ref "); else if (p.storageClass & STCin) buf.writestring("in "); else if (p.storageClass & STClazy) buf.writestring("lazy "); else if (p.storageClass & STCalias) buf.writestring("alias "); StorageClass stc = p.storageClass; if (p.type && p.type.mod & MODshared) stc &= ~STCshared; if (stcToBuffer(buf, stc & (STCconst | STCimmutable | STCwild | STCshared | STCscope | STCscopeinferred))) buf.writeByte(' '); if (p.storageClass & STCalias) { if (p.ident) buf.writestring(p.ident.toChars()); } else if (p.type.ty == Tident && (cast(TypeIdentifier)p.type).ident.toString().length > 3 && strncmp((cast(TypeIdentifier)p.type).ident.toChars(), "__T", 3) == 0) { // print parameter name, instead of undetermined type parameter buf.writestring(p.ident.toChars()); } else typeToBuffer(p.type, p.ident); if (p.defaultArg) { buf.writestring(" = "); p.defaultArg.accept(this); } } void parametersToBuffer(Parameters* parameters, int varargs) { buf.writeByte('('); if (parameters) { size_t dim = Parameter.dim(parameters); foreach (i; 0 .. dim) { if (i) buf.writestring(", "); Parameter fparam = Parameter.getNth(parameters, i); fparam.accept(this); } if (varargs) { if (parameters.dim && varargs == 1) buf.writestring(", "); buf.writestring("..."); } } buf.writeByte(')'); } override void visit(Module m) { if (m.md) { if (m.userAttribDecl) { buf.writestring("@("); argsToBuffer(m.userAttribDecl.atts); buf.writeByte(')'); buf.writenl(); } if (m.md.isdeprecated) { if (m.md.msg) { buf.writestring("deprecated("); m.md.msg.accept(this); buf.writestring(") "); } else buf.writestring("deprecated "); } buf.writestring("module "); buf.writestring(m.md.toChars()); buf.writeByte(';'); buf.writenl(); } foreach (s; *m.members) { s.accept(this); } } } extern (C++) void toCBuffer(Statement s, OutBuffer* buf, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); s.accept(v); } extern (C++) void toCBuffer(Type t, OutBuffer* buf, Identifier ident, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); v.typeToBuffer(t, ident); } extern (C++) void toCBuffer(Dsymbol s, OutBuffer* buf, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); s.accept(v); } // used from TemplateInstance::toChars() and TemplateMixin::toChars() extern (C++) void toCBufferInstance(TemplateInstance ti, OutBuffer* buf, bool qualifyTypes = false) { HdrGenState hgs; hgs.fullQual = qualifyTypes; scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, &hgs); v.visit(ti); } extern (C++) void toCBuffer(Initializer iz, OutBuffer* buf, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); iz.accept(v); } extern (C++) bool stcToBuffer(OutBuffer* buf, StorageClass stc) { bool result = false; if ((stc & (STCreturn | STCscope)) == (STCreturn | STCscope)) stc &= ~STCscope; if (stc & STCscopeinferred) stc &= ~(STCscope | STCscopeinferred); while (stc) { const(char)* p = stcToChars(stc); if (!p) // there's no visible storage classes break; if (!result) result = true; else buf.writeByte(' '); buf.writestring(p); } return result; } /************************************************* * Pick off one of the storage classes from stc, * and return a pointer to a string representation of it. * stc is reduced by the one picked. */ extern (C++) const(char)* stcToChars(ref StorageClass stc) { struct SCstring { StorageClass stc; TOK tok; const(char)* id; } static __gshared SCstring* table = [ SCstring(STCauto, TOKauto), SCstring(STCscope, TOKscope), SCstring(STCstatic, TOKstatic), SCstring(STCextern, TOKextern), SCstring(STCconst, TOKconst), SCstring(STCfinal, TOKfinal), SCstring(STCabstract, TOKabstract), SCstring(STCsynchronized, TOKsynchronized), SCstring(STCdeprecated, TOKdeprecated), SCstring(STCoverride, TOKoverride), SCstring(STClazy, TOKlazy), SCstring(STCalias, TOKalias), SCstring(STCout, TOKout), SCstring(STCin, TOKin), SCstring(STCmanifest, TOKenum), SCstring(STCimmutable, TOKimmutable), SCstring(STCshared, TOKshared), SCstring(STCnothrow, TOKnothrow), SCstring(STCwild, TOKwild), SCstring(STCpure, TOKpure), SCstring(STCref, TOKref), SCstring(STCtls), SCstring(STCgshared, TOKgshared), SCstring(STCnogc, TOKat, "@nogc"), SCstring(STCproperty, TOKat, "@property"), SCstring(STCsafe, TOKat, "@safe"), SCstring(STCtrusted, TOKat, "@trusted"), SCstring(STCsystem, TOKat, "@system"), SCstring(STCdisable, TOKat, "@disable"), SCstring(0, TOKreserved) ]; for (int i = 0; table[i].stc; i++) { StorageClass tbl = table[i].stc; assert(tbl & STCStorageClass); if (stc & tbl) { stc &= ~tbl; if (tbl == STCtls) // TOKtls was removed return "__thread"; TOK tok = table[i].tok; if (tok == TOKat) return table[i].id; else return Token.toChars(tok); } } //printf("stc = %llx\n", stc); return null; } extern (C++) void trustToBuffer(OutBuffer* buf, TRUST trust) { const(char)* p = trustToChars(trust); if (p) buf.writestring(p); } extern (C++) const(char)* trustToChars(TRUST trust) { switch (trust) { case TRUSTdefault: return null; case TRUSTsystem: return "@system"; case TRUSTtrusted: return "@trusted"; case TRUSTsafe: return "@safe"; default: assert(0); } } extern (C++) void linkageToBuffer(OutBuffer* buf, LINK linkage) { const(char)* p = linkageToChars(linkage); if (p) { buf.writestring("extern ("); buf.writestring(p); buf.writeByte(')'); } } extern (C++) const(char)* linkageToChars(LINK linkage) { switch (linkage) { case LINKdefault: return null; case LINKd: return "D"; case LINKc: return "C"; case LINKcpp: return "C++"; case LINKwindows: return "Windows"; case LINKpascal: return "Pascal"; case LINKobjc: return "Objective-C"; case LINKsystem: return "System"; default: assert(0); } } extern (C++) void protectionToBuffer(OutBuffer* buf, Prot prot) { const(char)* p = protectionToChars(prot.kind); if (p) buf.writestring(p); if (prot.kind == PROTpackage && prot.pkg) { buf.writeByte('('); buf.writestring(prot.pkg.toPrettyChars(true)); buf.writeByte(')'); } } extern (C++) const(char)* protectionToChars(PROTKIND kind) { switch (kind) { case PROTundefined: return null; case PROTnone: return "none"; case PROTprivate: return "private"; case PROTpackage: return "package"; case PROTprotected: return "protected"; case PROTpublic: return "public"; case PROTexport: return "export"; default: assert(0); } } // Print the full function signature with correct ident, attributes and template args extern (C++) void functionToBufferFull(TypeFunction tf, OutBuffer* buf, Identifier ident, HdrGenState* hgs, TemplateDeclaration td) { //printf("TypeFunction::toCBuffer() this = %p\n", this); scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); v.visitFuncIdentWithPrefix(tf, ident, td, true); } // ident is inserted before the argument list and will be "function" or "delegate" for a type extern (C++) void functionToBufferWithIdent(TypeFunction tf, OutBuffer* buf, const(char)* ident) { HdrGenState hgs; scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, &hgs); v.visitFuncIdentWithPostfix(tf, ident); } extern (C++) void toCBuffer(Expression e, OutBuffer* buf, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); e.accept(v); } /************************************************** * Write out argument types to buf. */ extern (C++) void argExpTypesToCBuffer(OutBuffer* buf, Expressions* arguments) { if (!arguments || !arguments.dim) return; HdrGenState hgs; scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, &hgs); foreach (i, arg; *arguments) { if (i) buf.writestring(", "); v.typeToBuffer(arg.type, null); } } extern (C++) void toCBuffer(TemplateParameter tp, OutBuffer* buf, HdrGenState* hgs) { scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, hgs); tp.accept(v); } extern (C++) void arrayObjectsToBuffer(OutBuffer* buf, Objects* objects) { if (!objects || !objects.dim) return; HdrGenState hgs; scope PrettyPrintVisitor v = new PrettyPrintVisitor(buf, &hgs); foreach (i, o; *objects) { if (i) buf.writestring(", "); v.objectToBuffer(o); } } extern (C++) const(char)* parametersTypeToChars(Parameters* parameters, int varargs) { OutBuffer buf; HdrGenState hgs; scope PrettyPrintVisitor v = new PrettyPrintVisitor(&buf, &hgs); v.parametersToBuffer(parameters, varargs); return buf.extractString(); }
D
import std.math; struct Quaternion { float x, y, z, w; Quaternion opBinary(string op)(Quaternion lhs) { static if (op == "*") { return Quaternion( w*lhs.x + x*lhs.w + y*lhs.z - z*lhs.y, w*lhs.y + y*lhs.w + z*lhs.x - x*lhs.z, w*lhs.z + z*lhs.w + x*lhs.y - y*lhs.x, w*lhs.w - x*lhs.x - y*lhs.y - z*lhs.z ); } else { static assert(0, "Invalid quaternion op "~op); } } Quaternion opBinary(string op)(float lhs) { static if (op == "*") { return Quaternion( x *= lhs, y *= lhs, z *= lhs, w *= lhs, ); } else { static assert(0, "Invalid quaternion op "~op); } } void normalize() { real m = sqrt(x*x + y*y + z*z + w*w); if (abs(m-1) < 0.0001) return; x /= m; y /= m; z /= m; w /= m; } Quaternion toODE() { return Quaternion(w, x, y, z); } Quaternion toOpenGL() { return Quaternion(y, z, w, x); } float[16] rotation_matrix() { float[16] rotation_matrix = [ 1.0-2.0*y*y-2.0*z*z, 2.0*x*y - 2.0*w*z, 2.0*x*z + 2.0*w*y, 0, 2.0*x*y + 2.0*w*z, 1.0 - 2*x*x - 2.0*z*z, 2.0*y*z - 2.0*w*x, 0, 2.0*x*z - 2.0*w*y, 2.0*y*z + 2.0*w*x, 1.0-2.0*x*x - 2.0*y*y, 0, 0, 0, 0, 1.0 ]; return rotation_matrix; } Quaternion conjugate() { return Quaternion( -x, -y, -z, w ); } Quaternion opposite() { //return this * Quaternion(0,0,0,cos(PI/2)); return Quaternion( x, y, z, -w ); } @property bool zero() { return x+y+z+w == 0; } @property float[3] euler() { return [ atan2(2*(x*y+z*w), 1-2*(y*y+z*z)), asin(2*(x*z - y*w)), atan2(2*(x*w + y*z), 1-2*(y*y+w*w)) ]; } }
D
// **************** // Alle Beeinflussung Spells // **************** const int SPL_Cost_Beeinflussung = 10; // ------ Instanz für alle normalen Beeinflussung-Sprüche ------ instance Spell_Beeinflussung (C_Spell_Proto) { time_per_mana = 0; spelltype = SPELL_NEUTRAL; targetCollectAlgo = TARGET_COLLECT_CASTER; canTurnDuringInvest = 0; }; func int Spell_Logic_Beeinflussung (var int manaInvested) { if (Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll)) { return SPL_SENDCAST; } else if (self.attribute[ATR_MANA] >= SPL_Cost_Beeinflussung) { return SPL_SENDCAST; } else //nicht genug Mana { return SPL_SENDSTOP; }; }; func void Spell_Cast_Beeinflussung() { if (Npc_GetActiveSpellIsScroll(self)) { self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Scroll; } else { self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Beeinflussung; }; Mod_WM_Beeinflussend = 1; return; self.aivar[AIV_SelectSpell] += 1; };
D
/** * Copyright: © 2014-2015 Anton Gushcha * License: Subject to the terms of the Boost 1.0 license as specified in LICENSE file * Authors: Anton Gushcha <ncrashed@gmail.com> * * Template for compile time key-value list - extension of std.traits; */ module stribog.meta.keyvalue; import stribog.meta.base; import stribog.meta.map; /** * Static associative map. * * $(B Pairs) is a list of pairs key-value. */ template KeyValueList(Pairs...) { static assert(Pairs.length % 2 == 0, text("KeyValueList is expecting even count of elements, not ", Pairs.length)); /// Number of entries in the map enum length = Pairs.length / 2; /** * Getting values by keys. If $(B Keys) is a one key, then * returns unwrapped value, else a ExpressionExpressionList of values. */ template get(Keys...) { static assert(Keys.length > 0, "KeyValueList.get is expecting an argument!"); static if(Keys.length == 1) { static if(is(Keys[0])) { alias Key = Keys[0]; } else { enum Key = Keys[0]; static assert(__traits(compiles, Key == Key), text(typeof(Key).stringof, " must have a opCmp!")); } private static template innerFind(T...) { static if(T.length == 0) { alias innerFind = ExpressionList!(); } else { static if(is(Keys[0])) { static if(is(T[0] == Key)) { static if(is(T[1])) { alias innerFind = T[1]; } else { enum innerFind = T[1]; } } else { alias innerFind = innerFind!(T[2 .. $]); } } else { static if(T[0] == Key) { static if(is(T[1])) { alias innerFind = T[1]; } else { // hack to avoid compile-time lambdas // see http://forum.dlang.org/thread/lkl0lp$204h$1@digitalmars.com static if(__traits(compiles, {enum innerFind = T[1];})) { enum innerFind = T[1]; } else { alias innerFind = T[1]; } } } else { alias innerFind = innerFind!(T[2 .. $]); } } } } alias get = innerFind!Pairs; } else { alias get = ExpressionList!(get!(Keys[0 .. $/2]), get!(Keys[$/2 .. $])); } } /// Returns true if map has a $(B Key) template has(Key...) { static assert(Key.length == 1); enum has = ExpressionList!(get!Key).length > 0; } /// Setting values to specific keys (or adding new key-values) template set(KeyValues...) { static assert(KeyValues.length >= 2, "KeyValueList.set is expecting at least one pair!"); static assert(KeyValues.length % 2 == 0, "KeyValuesExpressionList.set is expecting even count of arguments!"); template inner(KeyValues...) { static if(KeyValues.length == 2) { static if(is(KeyValues[0])) { alias Key = KeyValues[0]; } else { enum Key = KeyValues[0]; } static if(is(KeyValues[1])) { alias Value = KeyValues[1]; } else { enum Value = KeyValues[1]; } private template innerFind(T...) { static if(T.length == 0) { alias innerFind = ExpressionList!(Key, Value); } else { static if(is(Key)) { static if(is(T[0] == Key)) { alias innerFind = ExpressionList!(Key, Value, T[2 .. $]); } else { alias innerFind = ExpressionList!(T[0 .. 2], innerFind!(T[2 .. $])); } } else { static if(T[0] == Key) { alias innerFind = ExpressionList!(Key, Value, T[2 .. $]); } else { alias innerFind = ExpressionList!(T[0 .. 2], innerFind!(T[2 .. $])); } } } } alias inner = innerFind!Pairs; } else { alias inner = ExpressionList!(inner!(KeyValues[0 .. $/2]), inner!(KeyValues[$/2 .. $])); } } alias set = KeyValueList!(inner!KeyValues); } /// Applies $(B F) template for each pair (key-value). template map(alias F) { alias map = KeyValueList!(staticMap2!(F, Pairs)); } private static template getKeys(T...) { static if(T.length == 0) { alias getKeys = ExpressionList!(); } else { alias getKeys = ExpressionList!(T[0], getKeys!(T[2 .. $])); } } /// Getting expression list of all keys alias keys = getKeys!Pairs; private static template getValues(T...) { static if(T.length == 0) { alias getValues = ExpressionList!(); } else { alias getValues = ExpressionList!(T[1], getValues!(T[2 .. $])); } } /// Getting expression list of all values alias values = getValues!Pairs; /** * Filters entries with function or template $(B F), leaving entry only if * $(B F) returning $(B true). */ static template filter(alias F) { alias filter = KeyValueList!(staticFilter2!(F, Pairs)); } /** * Filters entries with function or template $(B F) passing only a key from an entry, leaving entry only if * $(B F) returning $(B true). */ static template filterByKey(alias F) { private alias newKeys = staticFilter!(F, keys); private alias newValues = staticMap!(get, newKeys); alias filterByKey = KeyValueList!(staticRobin!(StrictExpressionList!(newKeys, newValues))); } } /// unittest { alias map = KeyValueList!("a", 42, "b", 23); static assert(map.get!"a" == 42); static assert(map.get!("a", "b") == ExpressionList!(42, 23)); static assert(map.get!"c".length == 0); alias map2 = KeyValueList!(int, float, float, double, double, 42); static assert(is(map2.get!int == float)); static assert(is(map2.get!float == double)); static assert(map2.get!double == 42); static assert(map.has!"a"); static assert(map2.has!int); static assert(!map2.has!void); static assert(!map.has!"c"); alias map3 = map.set!("c", 4); static assert(map3.get!"c" == 4); alias map4 = map.set!("c", 4, "d", 8); static assert(map4.get!("c", "d") == ExpressionList!(4, 8)); alias map5 = map.set!("a", 4); static assert(map5.get!"a" == 4); template inc(string key, int val) { alias inc = ExpressionList!(key, val+1); } alias map6 = map.map!inc; static assert(map6.get!"a" == 43); static assert(map6.get!("a", "b") == ExpressionList!(43, 24)); static assert(map.keys == ExpressionList!("a", "b")); static assert(map.values == ExpressionList!(42, 23)); }
D
// REQUIRED_ARGS: // EXECUTE_ARGS: 10000 extern(C) int printf(const char *, ...); extern(C) int atoi(const char *); int main (string[] argv) { string s = ""; int count, loop; count = atoi((argv[1] ~ '\0').ptr); if (count == 0) count = 1; printf("count = %u\n", count); for (loop = 0; loop < count; loop ++) s ~= "hello\n"; for (loop = 0; loop < count; loop ++) s ~= "h"; printf ("%d\n", s.length); //printf("%.*s\n", s[0..100]); assert(s.length == count * (6 + 1)); s.length = 3; s.length = 10; s.length = 0; s.length = 1000; return 0; }
D
/* Copyright (c) 2017-2018 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module dagon.graphics.particles; import std.random; import std.algorithm; import dlib.core.memory; import dlib.math.vector; import dlib.math.matrix; import dlib.math.transformation; import dlib.math.interpolation; import dlib.math.utils; import dlib.image.color; import dlib.container.array; import derelict.opengl; import dagon.logics.behaviour; import dagon.logics.entity; import dagon.graphics.texture; import dagon.graphics.view; import dagon.graphics.rc; import dagon.graphics.material; import dagon.graphics.materials.generic; import dagon.graphics.materials.particle; import dagon.graphics.mesh; struct Particle { Color4f startColor; Color4f color; Vector3f position; Vector3f acceleration; Vector3f velocity; Vector3f gravityVector; Vector2f scale; float lifetime; float time; bool move; bool active; } abstract class ForceField: Behaviour { this(Entity e, ParticleSystem psys) { super(e); psys.addForceField(this); } void upadte(double dt) { } void affect(ref Particle p); } class Attractor: ForceField { float g; this(Entity e, ParticleSystem psys, float magnitude) { super(e, psys); g = magnitude; } override void affect(ref Particle p) { Vector3f r = p.position - entity.position; float d = max(EPSILON, r.length); p.acceleration += r * -g / (d * d); } } class Deflector: ForceField { float g; this(Entity e, ParticleSystem psys, float magnitude) { super(e, psys); g = magnitude; } override void affect(ref Particle p) { Vector3f r = p.position - entity.position; float d = max(EPSILON, r.length); p.acceleration += r * g / (d * d); } } class Vortex: ForceField { float g1; float g2; this(Entity e, ParticleSystem psys, float tangentMagnitude, float normalMagnitude) { super(e, psys); g1 = tangentMagnitude; g2 = normalMagnitude; } override void affect(ref Particle p) { Vector3f direction = entity.transformation.forward; float proj = dot(p.position, direction); Vector3f pos = entity.position + direction * proj; Vector3f r = p.position - pos; float d = max(EPSILON, r.length); Vector3f t = lerp(r, cross(r, direction), 0.25f); p.acceleration += direction * g2 - t * g1 / (d * d); } } class BlackHole: ForceField { float g; this(Entity e, ParticleSystem psys, float magnitude) { super(e, psys); g = magnitude; } override void affect(ref Particle p) { Vector3f r = p.position - entity.position; float d = r.length; if (d <= 0.001f) p.time = p.lifetime; else p.acceleration += r * -g / (d * d); } } class ColorChanger: ForceField { Color4f color; float outerRadius; float innerRadius; this(Entity e, ParticleSystem psys, Color4f color, float outerRadius, float innerRadius) { super(e, psys); this.color = color; this.outerRadius = outerRadius; this.innerRadius = innerRadius; } override void affect(ref Particle p) { Vector3f r = p.position - entity.position; float t = clamp((r.length - innerRadius) / outerRadius, 0.0f, 1.0f); p.color = lerp(color, p.color, t); } } class ParticleSystem: Behaviour { Particle[] particles; DynamicArray!ForceField forceFields; float airFrictionDamping = 0.98f; float minLifetime = 1.0f; float maxLifetime = 3.0f; float minSize = 0.25f; float maxSize = 1.0f; Vector2f scaleStep = Vector2f(0, 0); float initialPositionRandomRadius = 0.0f; float minInitialSpeed = 1.0f; float maxInitialSpeed = 5.0f; Vector3f initialDirection = Vector3f(0, 1, 0); float initialDirectionRandomFactor = 1.0f; Color4f startColor = Color4f(1, 1, 1, 1); Color4f endColor = Color4f(1, 1, 1, 0); bool emitting = true; bool haveParticlesToDraw = false; Vector3f[4] vertices; Vector2f[4] texcoords; uint[3][2] indices; GLuint vao = 0; GLuint vbo = 0; GLuint tbo = 0; GLuint eao = 0; Matrix4x4f invViewMatRot; GenericMaterial material; this(Entity e, uint numParticles) { super(e); particles = New!(Particle[])(numParticles); foreach(ref p; particles) { resetParticle(p); } vertices[0] = Vector3f(-0.5f, 0.5f, 0); vertices[1] = Vector3f(-0.5f, -0.5f, 0); vertices[2] = Vector3f(0.5f, -0.5f, 0); vertices[3] = Vector3f(0.5f, 0.5f, 0); texcoords[0] = Vector2f(0, 0); texcoords[1] = Vector2f(0, 1); texcoords[2] = Vector2f(1, 1); texcoords[3] = Vector2f(1, 0); indices[0][0] = 0; indices[0][1] = 1; indices[0][2] = 2; indices[1][0] = 0; indices[1][1] = 2; indices[1][2] = 3; glGenBuffers(1, &vbo); glBindBuffer(GL_ARRAY_BUFFER, vbo); glBufferData(GL_ARRAY_BUFFER, vertices.length * float.sizeof * 3, vertices.ptr, GL_STATIC_DRAW); glGenBuffers(1, &tbo); glBindBuffer(GL_ARRAY_BUFFER, tbo); glBufferData(GL_ARRAY_BUFFER, texcoords.length * float.sizeof * 2, texcoords.ptr, GL_STATIC_DRAW); glGenBuffers(1, &eao); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, eao); glBufferData(GL_ELEMENT_ARRAY_BUFFER, indices.length * uint.sizeof * 3, indices.ptr, GL_STATIC_DRAW); glGenVertexArrays(1, &vao); glBindVertexArray(vao); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, eao); glEnableVertexAttribArray(VertexAttrib.Vertices); glBindBuffer(GL_ARRAY_BUFFER, vbo); glVertexAttribPointer(VertexAttrib.Vertices, 3, GL_FLOAT, GL_FALSE, 0, null); glEnableVertexAttribArray(VertexAttrib.Texcoords); glBindBuffer(GL_ARRAY_BUFFER, tbo); glVertexAttribPointer(VertexAttrib.Texcoords, 2, GL_FLOAT, GL_FALSE, 0, null); glBindVertexArray(0); } ~this() { Delete(particles); forceFields.free(); } void addForceField(ForceField ff) { forceFields.append(ff); } void resetParticle(ref Particle p) { if (initialPositionRandomRadius > 0.0f) { float randomDist = uniform(0.0f, initialPositionRandomRadius); p.position = entity.absolutePosition + randomUnitVector3!float * randomDist; } else p.position = entity.absolutePosition; Vector3f r = randomUnitVector3!float; float initialSpeed; if (maxInitialSpeed > minInitialSpeed) initialSpeed = uniform(minInitialSpeed, maxInitialSpeed); else initialSpeed = maxInitialSpeed; p.velocity = lerp(initialDirection, r, initialDirectionRandomFactor) * initialSpeed; if (maxLifetime > minLifetime) p.lifetime = uniform(minLifetime, maxLifetime); else p.lifetime = maxLifetime; p.gravityVector = Vector3f(0, -1, 0); float s; if (maxSize > maxSize) s = uniform(maxSize, maxSize); else s = maxSize; p.scale = Vector2f(s, s); p.time = 0.0f; p.move = true; p.startColor = startColor; p.color = p.startColor; } void updateParticle(ref Particle p, double dt) { p.time += dt; float t = p.time / p.lifetime; p.color = lerp(startColor, endColor, t); p.scale = p.scale + scaleStep * dt; if (p.move) { p.acceleration = Vector3f(0, 0, 0); foreach(ref ff; forceFields) { ff.affect(p); } p.velocity += p.acceleration * dt; p.velocity = p.velocity * airFrictionDamping; p.position += p.velocity * dt; } p.color.a = lerp(startColor.a, endColor.a, t); } override void update(double dt) { haveParticlesToDraw = false; foreach(ref p; particles) { if (p.active) { if (p.time < p.lifetime) { updateParticle(p, dt); haveParticlesToDraw = true; } else p.active = false; } else if (emitting) { resetParticle(p); p.active = true; } } if (material) entity.material = material; } override void render(RenderingContext* rc) { if (material) { ParticleBackend backend = cast(ParticleBackend)material.backend; if (backend) { //backend.copyPositionBuffer(); } } if (haveParticlesToDraw) { foreach(ref p; particles) if (p.time < p.lifetime) { Matrix4x4f modelViewMatrix = rc.viewMatrix * translationMatrix(p.position) * rc.invViewRotationMatrix * scaleMatrix(Vector3f(p.scale.x, p.scale.y, 1.0f)); RenderingContext rcLocal = *rc; rcLocal.modelViewMatrix = modelViewMatrix; rcLocal.normalMatrix = rcLocal.modelViewMatrix.inverse.transposed; if (material) { material.particleColor = p.color; material.bind(&rcLocal); } glBindVertexArray(vao); glDrawElements(GL_TRIANGLES, cast(uint)indices.length * 3, GL_UNSIGNED_INT, cast(void*)0); glBindVertexArray(0); if (material) material.unbind(&rcLocal); } } } }
D
instance DIA_Addon_Myxir_CITY_EXIT(C_Info) { npc = KDW_140300_Addon_Myxir_CITY; nr = 999; condition = DIA_Addon_Myxir_CITY_EXIT_Condition; information = DIA_Addon_Myxir_CITY_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Addon_Myxir_CITY_EXIT_Condition() { return TRUE; }; func void DIA_Addon_Myxir_CITY_EXIT_Info() { AI_StopProcessInfos(self); }; instance DIA_Addon_Myxir_CITY_HelloCITY(C_Info) { npc = KDW_140300_Addon_Myxir_CITY; nr = 5; condition = DIA_Addon_Myxir_CITY_HelloCITY_Condition; information = DIA_Addon_Myxir_CITY_HelloCITY_Info; permanent = TRUE; description = "Ты останешься в городе?"; }; func int DIA_Addon_Myxir_CITY_HelloCITY_Condition() { return TRUE; }; var int DIA_Addon_Myxir_CITY_HelloCITY_OneTime; func void DIA_Addon_Myxir_CITY_HelloCITY_Info() { AI_Output(other,self,"DIA_Addon_Myxir_CITY_HelloCITY_15_00"); //Ты останешься в городе? AI_Output(self,other,"DIA_Addon_Myxir_CITY_HelloCITY_12_01"); //Кто-то из нас должен оставаться здесь, когда Ватраса в городе нет. if((RavenIsDead == TRUE) && (DIA_Addon_Myxir_CITY_HelloCITY_OneTime == FALSE)) { AI_Output(self,other,"DIA_Addon_Myxir_CITY_HelloCITY_12_02"); //Я хотел тебе сказать еще одну вещь. AI_Output(self,other,"DIA_Addon_Myxir_CITY_HelloCITY_12_03"); //В Яркендаре ты совершил поистине героический подвиг. AI_Output(other,self,"DIA_Addon_Myxir_CITY_HelloCITY_15_04"); //К сожалению, у меня еще есть незавершенные дела в Хоринисе. AI_Output(self,other,"DIA_Addon_Myxir_CITY_HelloCITY_12_05"); //Это так, но я уверен, что ты справишься с ними, Хранитель. AI_Output(other,self,"DIA_Addon_Myxir_CITY_HelloCITY_15_06"); //Увидим. DIA_Addon_Myxir_CITY_HelloCITY_OneTime = TRUE; B_GivePlayerXP(XP_Ambient); }; }; instance DIA_Addon_Myxir_CITY_TalkedToGhost(C_Info) { npc = KDW_140300_Addon_Myxir_CITY; nr = 4; condition = DIA_Addon_Myxir_CITY_TalkedToGhost_Condition; information = DIA_Addon_Myxir_CITY_TalkedToGhost_Info; description = "Я говорил с Куарходроном."; }; func int DIA_Addon_Myxir_CITY_TalkedToGhost_Condition() { if((MIS_ADDON_Myxir_GeistBeschwoeren == LOG_Running) && (SC_TalkedToGhost == TRUE)) { return TRUE; }; }; func void DIA_Addon_Myxir_CITY_TalkedToGhost_Info() { AI_Output(other,self,"DIA_Addon_Myxir_TalkedToGhost_15_00"); //Я говорил с Куарходроном. AI_Output(self,other,"DIA_Addon_Myxir_TalkedToGhost_12_01"); //(восхищенно) Тебе действительно удалось пробудить его от смертного сна? AI_Output(self,other,"DIA_Addon_Myxir_TalkedToGhost_12_04"); //И что же сказал дух? AI_Output(other,self,"DIA_Addon_Myxir_TalkedToGhost_15_05"); //Он рассказал мне о том, как попасть в храм Аданоса. AI_Output(self,other,"DIA_Addon_Myxir_TalkedToGhost_12_02"); //Невероятно! Меня все больше и больше восхищают эти зодчие. AI_Output(self,other,"DIA_Addon_Myxir_TalkedToGhost_12_03"); //Кто знает, чего бы они могли добиться, если бы их цивилизация не погибла... MIS_ADDON_Myxir_GeistBeschwoeren = LOG_SUCCESS; B_GivePlayerXP(XP_Addon_Myxir_GeistBeschwoeren); };
D
;;; bs.el --- menu for selecting and displaying buffers ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. ;; Author: Olaf Sylvester <olaf@geekware.de> ;; Maintainer: Olaf Sylvester <olaf@geekware.de> ;; Keywords: convenience ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. ;;; Commentary: ;; Version: 1.17 ;; X-URL: http://www.geekware.de/software/emacs ;; ;; The bs-package contains a main function bs-show for poping up a ;; buffer in a way similar to `list-buffers' and `electric-buffer-list': ;; The new buffer offers a Buffer Selection Menu for manipulating ;; the buffer list and buffers. ;; ;; ----------------------------------------------------------------------- ;; | MR Buffer Size Mode File | ;; | -- ------ ---- ---- ---- | ;; |. bs.el 14690 Emacs-Lisp /home/sun/sylvester/el/bs.e$| ;; | % executable.el 9429 Emacs-Lisp /usr/share/emacs/19.34/lisp$| ;; | % vc.el 104893 Emacs-Lisp /usr/share/emacs/19.34/lisp$| ;; | % test_vc.el 486 Emacs-Lisp /home/sun/sylvester/el/test$| ;; | % vc-hooks.el 43605 Emacs-Lisp /usr/share/emacs/19.34/lisp$| ;; ----------------------------------------------------------------------- ;;; Quick Installation und Customization: ;; Use ;; M-x bs-show ;; for buffer selection or optional bind a key to main function `bs-show' ;; (global-set-key "\C-x\C-b" 'bs-show) ;; or another key ;; ;; For customization use ;; M-x bs-customize ;;; More Commentary: ;; bs-show will generate a new buffer named *buffer-selection*, which shows ;; all buffers or a subset of them, and has possibilities for deleting, ;; saving and selecting buffers. For more details see docstring of ;; function `bs-mode'. A current configuration describes which buffers appear ;; in *buffer-selection*. See docstring of variable `bs-configurations' for ;; more details. ;; ;; The package bs combines the advantages of the Emacs functions ;; `list-buffers' and `electric-buffer-list'. ;; ;; Additioal features for Buffer Selection Menu: ;; - configurable list of buffers (show only files etc.). ;; - comfortable way to change displayed subset of all buffers. ;; - show sorted list of buffers. ;; - cyclic navigation: ;; - goes to top of buffer list if you are on last line and press down. ;; - goes to end of buffer list if you are on first line and press up. ;; - Offer an alternative buffer list by prefix key C-u. ;;; Cycling through buffers ;; This package offers two functions for buffer cycling. If you want to cycle ;; through buffer list you can use `bs-cycle-next' or `bs-cycle-previous'. ;; Bind these function to a key like ;; (global-set-key [(f9)] 'bs-cycle-previous) ;; (global-set-key [(f10)] 'bs-cycle-next) ;; ;; Both functions use a special subset of all buffers for cycling to avoid ;; to go through internal buffers like *Messages*. ;; ;; Cycling through buffers ignores sorting because sorting destroys ;; the logical buffer list. If buffer list is sorted by size you ;; won't be able to cycle to the smallest buffer. ;;; Customization: ;; There is a customization group called `bs' in group `convenience'. ;; Start customization by M-x bs-customize ;; ;; Buffer list ;; ----------- ;; You can define your own configurations by extending variable ;; `bs-configurations' (see docstring for details). ;; ;; `bs-default-configuration' contains the name of default configuration. ;; The default value is "files" which means to show only files. ;; ;; If you always want to see all buffers, customize variable ;; `bs-default-configuration' in customization group `bs'. ;; ;; Configure sorting ;; ----------------- ;; You can define functions for sorting the buffer list. ;; When selecting buffers, you can step through available sorting ;; methods with key 'S'. ;; To define a new way of sorting, customize variable `bs-sort-functions'. ;; ;; There are four basic functions for sorting: ;; by buffer name, by mode, by size, or by filename ;; ;; Configure buffer cycling ;; ------------------------ ;; When cycling through buffer list the functions for cycling will use ;; the current configuration of bs to calculate the buffer list. ;; If you want to use a different configuration for cycling you have to set ;; the variable `bs-cycle-configuration-name'. You can customize this variable. ;; ;; For example: If you use the configuration called "files-and-scratch" you ;; can cycle through all file buffers and *scratch* although your current ;; configuration perhaps is "files" which ignores buffer *scratch*. ;;; History: ;;; Code: ;; ---------------------------------------------------------------------- ;; Globals for customization ;; ---------------------------------------------------------------------- (defgroup bs nil "Buffer Selection: Maintaining buffers by buffer menu." :group 'convenience) (defgroup bs-appearence nil "Buffer Selection appearence: Appearence of bs buffer menu." :group 'bs) (defcustom bs-attributes-list '(("" 1 1 left bs--get-marked-string) ("M" 1 1 left bs--get-modified-string) ("R" 2 2 left bs--get-readonly-string) ("Buffer" bs--get-name-length 10 left bs--get-name) ("" 1 1 left " ") ("Size" 8 8 right bs--get-size-string) ("" 1 1 left " ") ("Mode" 12 12 right bs--get-mode-name) ("" 2 2 left " ") ("File" 12 12 left bs--get-file-name) ("" 2 2 left " ")) "*List specifying the layout of a Buffer Selection Menu buffer. Each entry specifies a column and is a list of the form of: (HEADER MINIMUM-LENGTH MAXIMUM-LENGTH ALIGNMENT FUN-OR-STRING) HEADER : string for header for first line or a function which calculates column title. MINIMUM-LENGTH : minimum width of column (number or name of function). The function must return a positive integer. MAXIMUM-LENGTH : maximum width of column (number or name of function) (currently ignored) ALIGNMENT : alignment of column: (`left' `right' `middle') FUN-OR-STRING : Name of a function for calculating the value or a string for a constant value. The function gets as parameter the buffer we have started buffer selection and the list of all buffers to show. The function must return a string representing the columns value." :group 'bs-appearence :type '(repeat sexp)) (defvar bs--running-in-xemacs (string-match "XEmacs" (emacs-version)) "Non-nil when running under XEmacs.") (defun bs--make-header-match-string () "Return a regexp matching the first line of a Buffer Selection Menu buffer." (let ((res "^\\(") (ele bs-attributes-list)) (while ele (setq res (concat res (car (car ele)) " *")) (setq ele (cdr ele))) (concat res "$\\)"))) ;;; Font-Lock-Settings (defvar bs-mode-font-lock-keywords (list ;; header in font-lock-type-face (list (bs--make-header-match-string) '(1 font-lock-type-face append) '(1 'bold append)) ;; Buffername embedded by * (list "^\\(.*\\*.*\\*.*\\)$" 1 (if bs--running-in-xemacs ;; problem in XEmacs with font-lock-constant-face (if (facep 'font-lock-constant-face) 'font-lock-constant-face 'font-lock-comment-face) 'font-lock-constant-face)) ;; Dired-Buffers '("^..\\(.*Dired by .*\\)$" 1 font-lock-function-name-face) ;; the star for modified buffers '("^.\\(\\*\\) +[^\\*]" 1 font-lock-comment-face)) "Default font lock expressions for Buffer Selection Menu.") (defcustom bs-max-window-height 20 "*Maximal window height of Buffer Selection Menu." :group 'bs-appearence :type 'integer) (defvar bs-dont-show-regexp nil "Regular expression specifying which buffers not to show. A buffer whose name matches this regular expression will not be included in the buffer list.") (defvar bs-must-show-regexp nil "Regular expression for specifying buffers which must be shown. A buffer whose name matches this regular expression will be included in the buffer list. Note that this variable is temporary: if the configuration is changed it is reset to nil. Use `bs-must-always-show-regexp' to specify buffers that must always be shown regardless of the configuration.") (defcustom bs-must-always-show-regexp nil "*Regular expression for specifying buffers to show always. A buffer whose name matches this regular expression will be shown regardless of current configuration of Buffer Selection Menu." :group 'bs :type '(choice (const :tag "Nothing at all" nil) regexp)) (defvar bs-dont-show-function nil "Function for specifying buffers not to show. The function gets one argument - the buffer to test. The function must return a value different from nil to ignore the buffer in Buffer Selection Menu.") (defvar bs-must-show-function nil "Function for specifying buffers which must be shown. The function gets one argument - the buffer to test.") (defvar bs-buffer-sort-function nil "Sort function to sort the buffers that appear in Buffer Selection Menu. The functions gets two arguments - the buffers to compare.") (defcustom bs-maximal-buffer-name-column 45 "*Maximum column width for buffer names. The column for buffer names has dynamic width. The width depends on maximal and minimal length of names of buffers to show. The maximal width is bounded by `bs-maximal-buffer-name-column'. See also `bs-minimal-buffer-name-column'." :group 'bs-appearence :type 'integer) (defcustom bs-minimal-buffer-name-column 15 "*Minimum column width for buffer names. The column for buffer names has dynamic width. The width depends on maximal and minimal length of names of buffers to show. The minimal width is bounded by `bs-minimal-buffer-name-column'. See also `bs-maximal-buffer-name-column'." :group 'bs-appearence :type 'integer) (defconst bs-header-lines-length 2 "Number of lines for headers in Buffer Selection Menu.") (defcustom bs-configurations '(("all" nil nil nil nil nil) ("files" nil nil nil bs-visits-non-file bs-sort-buffer-interns-are-last) ("files-and-scratch" "^\\*scratch\\*" nil nil bs-visits-non-file bs-sort-buffer-interns-are-last) ("all-intern-last" nil nil nil nil bs-sort-buffer-interns-are-last)) "*List of all configurations you can use in the Buffer Selection Menu. A configuration describes which buffers appear in Buffer Selection Menu and describes the order of buffers. A configuration is a list with six elements. The first element is a string and describes the configuration. The following five elements represent the values for Buffer Selection Menu configurations variables `bs-dont-show-regexp', `bs-dont-show-function', `bs-must-show-regexp', `bs-must-show-function' and `bs-buffer-sort-function'. By setting these variables you define a configuration." :group 'bs-appearence :type '(repeat sexp)) (defcustom bs-default-configuration "files" "*Name of default configuration used by in the Buffer Selection Menu. \\<bs-mode-map> Will be changed using key \\[bs-select-next-configuration]. Must be a string used in `bs-configurations' for naming a configuration." :group 'bs :type 'string) (defcustom bs-alternative-configuration "all" "*Name of configuration used when calling `bs-show' with \ \\[universal-argument] as prefix key. Must be a string used in `bs-configurations' for naming a configuration." :group 'bs :type 'string) (defvar bs-current-configuration bs-default-configuration "Name of current configuration. Must be a string found in `bs-configurations' for naming a configuration.") (defcustom bs-cycle-configuration-name nil "*Name of configuration used when cycling through the buffer list. A value of nil means to use current configuration `bs-default-configuration'. Must be a string used in `bs-configurations' for naming a configuration." :group 'bs :type '(choice (const :tag "like current configuration" nil) string)) (defcustom bs-string-show-always "+" "*String added in column 1 indicating a buffer will always be shown." :group 'bs-appearence :type 'string) (defcustom bs-string-show-never "-" "*String added in column 1 indicating a buffer will never be shown." :group 'bs-appearence :type 'string) (defcustom bs-string-current "." "*String added in column 1 indicating the current buffer." :group 'bs-appearence :type 'string) (defcustom bs-string-current-marked "#" "*String added in column 1 indicating the current buffer when it is marked." :group 'bs-appearence :type 'string) (defcustom bs-string-marked ">" "*String added in column 1 indicating a marked buffer." :group 'bs-appearence :type 'string) (defcustom bs-string-show-normally " " "*String added in column 1 indicating a unmarked buffer." :group 'bs-appearence :type 'string) (defvar bs--name-entry-length 20 "Maximum length of all displayed buffer names. Used internally, only.") ;; ---------------------------------------------------------------------- ;; Intern globals ;; ---------------------------------------------------------------------- (defvar bs-buffer-show-mark nil "Flag for the current mode for showing this buffer. A value of nil means buffer will be shown depending on the current on current configuration. A value of `never' means to never show the buffer. A value of `always' means to show buffer regardless of the configuration.") (make-variable-buffer-local 'bs-buffer-show-mark) ;; Make face named region (for XEmacs) (unless (facep 'region) (make-face 'region) (set-face-background 'region "gray75")) (defun bs--sort-by-name (b1 b2) "Compare buffers B1 and B2 by buffer name." (string< (buffer-name b1) (buffer-name b2))) (defun bs--sort-by-filename (b1 b2) "Compare buffers B1 and B2 by file name." (string< (or (buffer-file-name b1) "") (or (buffer-file-name b2) ""))) (defun bs--sort-by-mode (b1 b2) "Compare buffers B1 and B2 by mode name." (save-excursion (string< (progn (set-buffer b1) (format "%s" mode-name)) (progn (set-buffer b2) (format "%s" mode-name))))) (defun bs--sort-by-size (b1 b2) "Compare buffers B1 and B2 by buffer size." (save-excursion (< (progn (set-buffer b1) (buffer-size)) (progn (set-buffer b2) (buffer-size))))) (defcustom bs-sort-functions '(("by name" bs--sort-by-name "Buffer" region) ("by size" bs--sort-by-size "Size" region) ("by mode" bs--sort-by-mode "Mode" region) ("by filename" bs--sort-by-filename "File" region) ("by nothing" nil nil nil)) "*List of all possible sorting aspects for Buffer Selection Menu. You can add a new entry with a call to `bs-define-sort-function'. Each element is a list of four elements (NAME FUNCTION REGEXP-FOR-SORTING FACE) NAME specifies the sort order defined by function FUNCTION. FUNCTION nil means don't sort the buffer list. Otherwise the functions must have two parameters - the buffers to compare. REGEXP-FOR-SORTING is a regular expression which describes the column title to highlight. FACE is a face used to fontify the sorted column title. A value of nil means don't highlight." :group 'bs :type '(repeat sexp)) (defun bs-define-sort-function (name fun &optional regexp-for-sorting face) "Define a new function for buffer sorting in Buffer Selection Menu. NAME specifies the sort order defined by function FUN. A value of nil for FUN means don't sort the buffer list. Otherwise the functions must have two parameters - the buffers to compare. REGEXP-FOR-SORTING is a regular expression which describes the column title to highlight. FACE is a face used to fontify the sorted column title. A value of nil means don't highlight. The new sort aspect will be inserted into list `bs-sort-functions'." (let ((tupel (assoc name bs-sort-functions))) (if tupel (setcdr tupel (list fun regexp-for-sorting face)) (setq bs-sort-functions (cons (list name fun regexp-for-sorting face) bs-sort-functions))))) (defvar bs--current-sort-function nil "Description of the current function for sorting the buffer list. This is an element of `bs-sort-functions'.") (defcustom bs-default-sort-name "by nothing" "*Name of default sort behavior. Must be \"by nothing\" or a string used in `bs-sort-functions' for naming a sort behavior. Default is \"by nothing\" which means no sorting." :group 'bs :type 'string :set (lambda (var-name value) (set var-name value) (setq bs--current-sort-function (assoc value bs-sort-functions)))) (defvar bs--buffer-coming-from nil "The buffer in which the user started the current Buffer Selection Menu.") (defvar bs--show-all nil "Flag whether showing all buffers regardless of current configuration. Non nil means to show all buffers. Otherwise show buffers defined by current configuration `bs-current-configuration'.") (defvar bs--window-config-coming-from nil "Window configuration before starting Buffer Selection Menu.") (defvar bs--intern-show-never "^ \\|\\*buffer-selection\\*" "Regular expression specifying which buffers never to show. A buffer whose name matches this regular expression will never be included in the buffer list.") (defvar bs-current-list nil "List of buffers shown in Buffer Selection Menu. Used internally, only.") (defvar bs--marked-buffers nil "Currently marked buffers in Buffer Selection Menu.") (defvar bs-mode-map () "Keymap of `bs-mode'.") (if bs-mode-map () (setq bs-mode-map (make-sparse-keymap)) (define-key bs-mode-map " " 'bs-select) (define-key bs-mode-map "f" 'bs-select) (define-key bs-mode-map "v" 'bs-view) (define-key bs-mode-map "!" 'bs-select-in-one-window) (define-key bs-mode-map [mouse-2] 'bs-mouse-select) ;; for GNU EMACS (define-key bs-mode-map [button2] 'bs-mouse-select) ;; for XEmacs (define-key bs-mode-map "F" 'bs-select-other-frame) (let ((key ?1)) (while (<= key ?9) (define-key bs-mode-map (char-to-string key) 'digit-argument) (setq key (1+ key)))) (define-key bs-mode-map "-" 'negative-argument) (define-key bs-mode-map "\e-" 'negative-argument) (define-key bs-mode-map "o" 'bs-select-other-window) (define-key bs-mode-map "\C-o" 'bs-tmp-select-other-window) ;; for GNU EMACS (define-key bs-mode-map [mouse-3] 'bs-mouse-select-other-frame) ;; for XEmacs (define-key bs-mode-map [button3] 'bs-mouse-select-other-frame) (define-key bs-mode-map [up] 'bs-up) (define-key bs-mode-map "n" 'bs-down) (define-key bs-mode-map "p" 'bs-up) (define-key bs-mode-map [down] 'bs-down) (define-key bs-mode-map "\C-m" 'bs-select) (define-key bs-mode-map "b" 'bs-bury-buffer) (define-key bs-mode-map "s" 'bs-save) (define-key bs-mode-map "S" 'bs-show-sorted) (define-key bs-mode-map "a" 'bs-toggle-show-all) (define-key bs-mode-map "d" 'bs-delete) (define-key bs-mode-map "\C-d" 'bs-delete-backward) (define-key bs-mode-map "k" 'bs-delete) (define-key bs-mode-map "g" 'bs-refresh) (define-key bs-mode-map "C" 'bs-set-configuration-and-refresh) (define-key bs-mode-map "c" 'bs-select-next-configuration) (define-key bs-mode-map "q" 'bs-kill) ;; (define-key bs-mode-map "z" 'bs-kill) (define-key bs-mode-map "\C-c\C-c" 'bs-kill) (define-key bs-mode-map "\C-g" 'bs-abort) (define-key bs-mode-map "\C-]" 'bs-abort) (define-key bs-mode-map "%" 'bs-toggle-readonly) (define-key bs-mode-map "~" 'bs-clear-modified) (define-key bs-mode-map "M" 'bs-toggle-current-to-show) (define-key bs-mode-map "+" 'bs-set-current-buffer-to-show-always) ;;(define-key bs-mode-map "-" 'bs-set-current-buffer-to-show-never) (define-key bs-mode-map "t" 'bs-visit-tags-table) (define-key bs-mode-map "m" 'bs-mark-current) (define-key bs-mode-map "u" 'bs-unmark-current) (define-key bs-mode-map ">" 'scroll-right) (define-key bs-mode-map "<" 'scroll-left) (define-key bs-mode-map "\e\e" nil) (define-key bs-mode-map "\e\e\e" 'bs-kill) (define-key bs-mode-map [escape escape escape] 'bs-kill) (define-key bs-mode-map "?" 'bs-help)) ;; ---------------------------------------------------------------------- ;; Functions ;; ---------------------------------------------------------------------- (defun bs-buffer-list (&optional list sort-description) "Return a list of buffers to be shown. LIST is a list of buffers to test for appearence in Buffer Selection Menu. The result list depends on the global variables `bs-dont-show-regexp', `bs-must-show-regexp', `bs-dont-show-function', `bs-must-show-function' and `bs-buffer-sort-function'. If SORT-DESCRIPTION isn't nil the list will be sorted by a special function. SORT-DESCRIPTION is an element of `bs-sort-functions'." (setq sort-description (or sort-description bs--current-sort-function) list (or list (buffer-list))) (let ((result nil)) (while list (let* ((buffername (buffer-name (car list))) (int-show-never (string-match bs--intern-show-never buffername)) (ext-show-never (and bs-dont-show-regexp (string-match bs-dont-show-regexp buffername))) (extern-must-show (or (and bs-must-always-show-regexp (string-match bs-must-always-show-regexp buffername)) (and bs-must-show-regexp (string-match bs-must-show-regexp buffername)))) (extern-show-never-from-fun (and bs-dont-show-function (funcall bs-dont-show-function (car list)))) (extern-must-show-from-fun (and bs-must-show-function (funcall bs-must-show-function (car list)))) (show-flag (save-excursion (set-buffer (car list)) bs-buffer-show-mark))) (if (or (eq show-flag 'always) (and (or bs--show-all (not (eq show-flag 'never))) (not int-show-never) (or bs--show-all extern-must-show extern-must-show-from-fun (and (not ext-show-never) (not extern-show-never-from-fun))))) (setq result (cons (car list) result))) (setq list (cdr list)))) (setq result (reverse result)) ;; The current buffer which was the start point of bs should be an element ;; of result list, so that we can leave with space and be back in the ;; buffer we started bs-show. (if (and bs--buffer-coming-from (buffer-live-p bs--buffer-coming-from) (not (memq bs--buffer-coming-from result))) (setq result (cons bs--buffer-coming-from result))) ;; sorting (if (and sort-description (nth 1 sort-description)) (setq result (sort result (nth 1 sort-description))) ;; else standard sorting (bs-buffer-sort result)))) (defun bs-buffer-sort (buffer-list) "Sort buffers in BUFFER-LIST according to `bs-buffer-sort-function'." (if bs-buffer-sort-function (sort buffer-list bs-buffer-sort-function) buffer-list)) ;; XEmacs Support (unless (fboundp 'line-end-position) (defun line-end-position () "Return the point at the end of the current line." (save-excursion (end-of-line) (point)))) (defun bs--redisplay (&optional keep-line-p sort-description) "Redisplay whole Buffer Selection Menu. If KEEP-LINE-P is non nil the point will stay on current line. SORT-DESCRIPTION is an element of `bs-sort-functions'" (let ((line (1+ (count-lines 1 (point))))) (bs-show-in-buffer (bs-buffer-list nil sort-description)) (if keep-line-p (goto-line line)) (beginning-of-line))) (defun bs--goto-current-buffer () "Goto line which represents the current buffer; actually the line which begins with character in `bs-string-current' or `bs-string-current-marked'." (let (point (regexp (concat "^" (regexp-quote bs-string-current) "\\|^" (regexp-quote bs-string-current-marked)))) (save-excursion (goto-char (point-min)) (if (search-forward-regexp regexp nil t) (setq point (- (point) 1)))) (if point (goto-char point)))) (defun bs--current-config-message () "Return a string describing the current `bs-mode' configuration." (if bs--show-all "Show all buffers." (format "Show buffer by configuration %S" bs-current-configuration))) (defun bs-mode () "Major mode for editing a subset of Emacs' buffers. \\<bs-mode-map> Aside from two header lines each line describes one buffer. Move to a line representing the buffer you want to edit and select buffer by \\[bs-select] or SPC. Abort buffer list with \\[bs-kill]. There are many key commands similar to `Buffer-menu-mode' for manipulating the buffer list and buffers. For faster navigation each digit key is a digit argument. \\[bs-select] or SPACE -- select current line's buffer and other marked buffers. \\[bs-toggle-show-all] -- toggle between all buffers and a special subset. \\[bs-select-other-window] -- select current line's buffer in other window. \\[bs-tmp-select-other-window] -- make another window display that buffer and remain in Buffer Selection Menu. \\[bs-mouse-select] -- select current line's buffer and other marked buffers. \\[bs-save] -- save current line's buffer immediatly. \\[bs-delete] -- kill current line's buffer immediatly. \\[bs-toggle-readonly] -- toggle read-only status of current line's buffer. \\[bs-clear-modified] -- clear modified-flag on that buffer. \\[bs-mark-current] -- mark current line's buffer to be displayed. \\[bs-unmark-current] -- unmark current line's buffer to be displayed. \\[bs-show-sorted] -- display buffer list sorted by next sort aspect. \\[bs-set-configuration-and-refresh] -- ask user for a configuration and \ apply selected configuration. \\[bs-select-next-configuration] -- select and apply next \ available Buffer Selection Menu configuration. \\[bs-kill] -- leave Buffer Selection Menu without a selection. \\[bs-toggle-current-to-show] -- toggle status of appearence . \\[bs-set-current-buffer-to-show-always] -- mark current line's buffer \ to show always. \\[bs-visit-tags-table] -- call `visit-tags-table' on current line'w buffer. \\[bs-help] -- display this help text." (interactive) (kill-all-local-variables) (use-local-map bs-mode-map) (make-local-variable 'font-lock-defaults) (make-local-variable 'font-lock-verbose) (setq major-mode 'bs-mode mode-name "Buffer-Selection-Menu" buffer-read-only t truncate-lines t font-lock-defaults '(bs-mode-font-lock-keywords t) font-lock-verbose nil) (run-hooks 'bs-mode-hook)) (defun bs-kill () "Let buffer disappear and reset window-configuration." (interactive) (bury-buffer (current-buffer)) (set-window-configuration bs--window-config-coming-from)) (defun bs-abort () "Ding and leave Buffer Selection Menu without a selection." (interactive) (ding) (bs-kill)) (defun bs-set-configuration-and-refresh () "Ask user for a configuration and apply selected configuration. Refresh whole Buffer Selection Menu." (interactive) (let ((starting-buffer (bs--current-buffer t))) (call-interactively 'bs-set-configuration) (setq bs-default-configuration bs-current-configuration) (bs--redisplay t) (bs-goto-buffer starting-buffer))) (defun bs-refresh () "Refresh whole Buffer Selection Menu." (interactive) (bs--redisplay t)) (defun bs--window-for-buffer (buffer-name) "Return a window showing a buffer with name BUFFER-NAME. Take only windows of current frame into account. Return nil if there is no such buffer." (let ((window nil)) (walk-windows (lambda (wind) (if (string= (buffer-name (window-buffer wind)) buffer-name) (setq window wind)))) window)) (defun bs--set-window-height () "Change the height of the selected window to suit the current buffer list." (unless (one-window-p t) (shrink-window (- (window-height (selected-window)) ;; window-height in xemacs includes mode-line (+ (if bs--running-in-xemacs 3 1) bs-header-lines-length (min (length bs-current-list) bs-max-window-height)))))) (defun bs--current-buffer (&optional no-error) "Return buffer on current line. Raise an error if not an a buffer line and NO-ERROR is nil." (beginning-of-line) (let ((line (+ (- bs-header-lines-length) (count-lines 1 (point))))) (if (< line 0) (unless no-error (error "You are on a header row"))) (nth line bs-current-list))) (defun bs--update-current-line () "Update the entry on current line for Buffer Selection Menu." (let ((buffer (bs--current-buffer)) (inhibit-read-only t)) (beginning-of-line) (delete-region (point) (line-end-position)) (bs--insert-one-entry buffer) (beginning-of-line))) (defun bs-view () "View current line's buffer in View mode. Leave Buffer Selection Menu." (interactive) (view-buffer (bs--current-buffer))) (defun bs-select () "Select current line's buffer and other marked buffers. If there are no marked buffers the window configuration before starting Buffer Selectin Menu will be restored. If there are marked buffers each marked buffer and the current line's buffer will be selected in a window. Leave Buffer Selection Menu." (interactive) (let ((buffer (bs--current-buffer))) (bury-buffer (current-buffer)) (set-window-configuration bs--window-config-coming-from) (switch-to-buffer buffer) (if bs--marked-buffers ;; Some marked buffers for selection (let* ((all (delq buffer bs--marked-buffers)) (height (/ (1- (frame-height)) (1+ (length all))))) (delete-other-windows) (switch-to-buffer buffer) (while all (split-window nil height) (other-window 1) (switch-to-buffer (car all)) (setq all (cdr all))) ;; goto window we have started bs. (other-window 1))))) (defun bs-select-other-window () "Select current line's buffer by `switch-to-buffer-other-window'. The window configuration before starting Buffer Selectin Menu will be restored unless there is no other window. In this case a new window will be created. Leave Buffer Selection Menu." (interactive) (let ((buffer (bs--current-buffer))) (bury-buffer (current-buffer)) (set-window-configuration bs--window-config-coming-from) (switch-to-buffer-other-window buffer))) (defun bs-tmp-select-other-window () "Make the other window select this line's buffer. The current window remains selected." (interactive) (let ((buffer (bs--current-buffer))) (display-buffer buffer t))) (defun bs-select-other-frame () "Select current line's buffer in new created frame. Leave Buffer Selection Menu." (interactive) (let ((buffer (bs--current-buffer))) (bury-buffer (current-buffer)) (set-window-configuration bs--window-config-coming-from) (switch-to-buffer-other-frame buffer))) (defun bs-mouse-select-other-frame (event) "Select selected line's buffer in new created frame. Leave Buffer Selection Menu. EVENT: a mouse click EVENT." (interactive "e") (mouse-set-point event) (bs-select-other-frame)) (defun bs-mouse-select (event) "Select buffer on mouse click EVENT. Select buffer by `bs-select'." (interactive "e") (mouse-set-point event) (bs-select)) (defun bs-select-in-one-window () "Select current line's buffer in one window and delete other windows. Leave Buffer Selection Menu." (interactive) (bs-select) (delete-other-windows)) (defun bs-bury-buffer () "Bury buffer on current line." (interactive) (bury-buffer (bs--current-buffer)) (bs--redisplay t)) (defun bs-save () "Save buffer on current line." (interactive) (let ((buffer (bs--current-buffer))) (save-excursion (set-buffer buffer) (save-buffer)) (bs--update-current-line))) (defun bs-visit-tags-table () "Visit the tags table in the buffer on this line. See `visit-tags-table'." (interactive) (let ((file (buffer-file-name (bs--current-buffer)))) (if file (visit-tags-table file) (error "Specified buffer has no file")))) (defun bs-toggle-current-to-show () "Toggle status of showing flag for buffer in current line." (interactive) (let ((buffer (bs--current-buffer)) res) (save-excursion (set-buffer buffer) (setq res (cond ((null bs-buffer-show-mark) 'never) ((eq bs-buffer-show-mark 'never) 'always) (t nil))) (setq bs-buffer-show-mark res)) (bs--update-current-line) (bs--set-window-height) (bs--show-config-message res))) (defun bs-set-current-buffer-to-show-always (&optional not-to-show-p) "Toggle status of buffer on line to `always shown'. NOT-TO-SHOW-P: prefix argument. With no prefix argument the buffer on current line is marked to show always. Otherwise it is marked to show never." (interactive "P") (if not-to-show-p (bs-set-current-buffer-to-show-never) (bs--set-toggle-to-show (bs--current-buffer) 'always))) (defun bs-set-current-buffer-to-show-never () "Toggle status of buffer on line to `never shown'." (interactive) (bs--set-toggle-to-show (bs--current-buffer) 'never)) (defun bs--set-toggle-to-show (buffer what) "Set value `bs-buffer-show-mark' of buffer BUFFER to WHAT. Redisplay current line and display a message describing the status of buffer on current line." (save-excursion (set-buffer buffer) (setq bs-buffer-show-mark what)) (bs--update-current-line) (bs--set-window-height) (bs--show-config-message what)) (defun bs-mark-current (count) "Mark buffers. COUNT is the number of buffers to mark. Move cursor vertically down COUNT lines." (interactive "p") (let ((dir (if (> count 0) 1 -1)) (count (abs count))) (while (> count 0) (let ((buffer (bs--current-buffer))) (if buffer (setq bs--marked-buffers (cons buffer bs--marked-buffers))) (bs--update-current-line) (bs-down dir)) (setq count (1- count))))) (defun bs-unmark-current (count) "Unmark buffers. COUNT is the number of buffers to unmark. Move cursor vertically down COUNT lines." (interactive "p") (let ((dir (if (> count 0) 1 -1)) (count (abs count))) (while (> count 0) (let ((buffer (bs--current-buffer))) (if buffer (setq bs--marked-buffers (delq buffer bs--marked-buffers))) (bs--update-current-line) (bs-down dir)) (setq count (1- count))))) (defun bs--show-config-message (what) "Show message indicating the new showing status WHAT. WHAT is a value of nil, `never', or `always'." (bs-message-without-log (cond ((null what) "Buffer will be shown normally.") ((eq what 'never) "Mark buffer to never be shown.") (t "Mark buffer to show always.")))) (defun bs-delete () "Kill buffer on current line." (interactive) (let ((current (bs--current-buffer)) (inhibit-read-only t)) (setq bs-current-list (delq current bs-current-list)) (kill-buffer current) (beginning-of-line) (delete-region (point) (save-excursion (end-of-line) (if (eobp) (point) (1+ (point))))) (if (eobp) (progn (backward-delete-char 1) (beginning-of-line) (recenter -1))) (bs--set-window-height))) (defun bs-delete-backward () "Like `bs-delete' but go to buffer in front of current." (interactive) (let ((on-last-line-p (save-excursion (end-of-line) (eobp)))) (bs-delete) (unless on-last-line-p (bs-up 1)))) (defun bs-show-sorted () "Show buffer list sorted by buffer name." (interactive) (setq bs--current-sort-function (bs-next-config-aux (car bs--current-sort-function) bs-sort-functions)) (bs--redisplay) (bs--goto-current-buffer) (bs-message-without-log "Sorted %s" (car bs--current-sort-function))) (defun bs-apply-sort-faces (&optional sort-description) "Set text properties for the sort described by SORT-DESCRIPTION. SORT-DESCRIPTION is an element of `bs-sort-functions'. Default is `bs--current-sort-function'." (let ((sort-description (or sort-description bs--current-sort-function))) (save-excursion (goto-char (point-min)) (if (and window-system (nth 2 sort-description) (search-forward-regexp (nth 2 sort-description) nil t)) (let ((inhibit-read-only t)) (put-text-property (match-beginning 0) (match-end 0) 'face (or (nth 3 sort-description) 'region))))))) (defun bs-toggle-show-all () "Toggle show all buffers / show buffers with current configuration." (interactive) (setq bs--show-all (not bs--show-all)) (bs--redisplay) (bs--goto-current-buffer) (bs-message-without-log "%s" (bs--current-config-message))) (defun bs-toggle-readonly () "Toggle read-only status for buffer on current line. Uses Function `vc-toggle-read-only'." (interactive) (let ((buffer (bs--current-buffer))) (save-excursion (set-buffer buffer) (vc-toggle-read-only)) (bs--update-current-line))) (defun bs-clear-modified () "Set modified flag for buffer on current line to nil." (interactive) (let ((buffer (bs--current-buffer))) (save-excursion (set-buffer buffer) (set-buffer-modified-p nil))) (bs--update-current-line)) (defun bs--nth-wrapper (count fun &rest args) "Call COUNT times function FUN with arguments ARGS." (setq count (or count 1)) (while (> count 0) (apply fun args) (setq count (1- count)))) (defun bs-up (arg) "Move cursor vertically up ARG lines in Buffer Selection Menu." (interactive "p") (if (and arg (numberp arg) (< arg 0)) (bs--nth-wrapper (- arg) 'bs--down) (bs--nth-wrapper arg 'bs--up))) (defun bs--up () "Move cursor vertically up one line. If on top of buffer list go to last line." (interactive "p") (previous-line 1) (if (<= (count-lines 1 (point)) (1- bs-header-lines-length)) (progn (goto-char (point-max)) (beginning-of-line) (recenter -1)) (beginning-of-line))) (defun bs-down (arg) "Move cursor vertically down ARG lines in Buffer Selection Menu." (interactive "p") (if (and arg (numberp arg) (< arg 0)) (bs--nth-wrapper (- arg) 'bs--up) (bs--nth-wrapper arg 'bs--down))) (defun bs--down () "Move cursor vertically down one line. If at end of buffer list go to first line." (let ((last (line-end-position))) (if (eq last (point-max)) (goto-line (1+ bs-header-lines-length)) (next-line 1)))) (defun bs-visits-non-file (buffer) "Return t or nil whether BUFFER visits no file. A value of t means BUFFER belongs to no file. A value of nil means BUFFER belongs to a file." (not (buffer-file-name buffer))) (defun bs-sort-buffer-interns-are-last (b1 b2) "Function for sorting intern buffers B1 and B2 at the end of all buffers." (string-match "^\\*" (buffer-name b2))) ;; ---------------------------------------------------------------------- ;; Configurations: ;; ---------------------------------------------------------------------- (defun bs-config-clear () "*Reset all variables which specify a configuration. These variables are `bs-dont-show-regexp', `bs-must-show-regexp', `bs-dont-show-function', `bs-must-show-function' and `bs-buffer-sort-function'." (setq bs-dont-show-regexp nil bs-must-show-regexp nil bs-dont-show-function nil bs-must-show-function nil bs-buffer-sort-function nil)) (defun bs-config--only-files () "Define a configuration for showing only buffers visiting a file." (bs-config-clear) (setq ;; I want to see *-buffers at the end bs-buffer-sort-function 'bs-sort-buffer-interns-are-last ;; Don't show files who don't belong to a file bs-dont-show-function 'bs-visits-non-file)) (defun bs-config--files-and-scratch () "Define a configuration for showing buffer *scratch* and file buffers." (bs-config-clear) (setq ;; I want to see *-buffers at the end bs-buffer-sort-function 'bs-sort-buffer-interns-are-last ;; Don't show files who don't belong to a file bs-dont-show-function 'bs-visits-non-file ;; Show *scratch* buffer. bs-must-show-regexp "^\\*scratch\\*")) (defun bs-config--all () "Define a configuration for showing all buffers. Reset all according variables by `bs-config-clear'." (bs-config-clear)) (defun bs-config--all-intern-last () "Define a configuration for showing all buffers. Intern buffers appear at end of all buffers." (bs-config-clear) ;; I want to see *-buffers at the end (setq bs-buffer-sort-function 'bs-sort-buffer-interns-are-last)) (defun bs-set-configuration (name) "Set configuration to the one saved under string NAME in `bs-configurations'. When called interactively ask user for a configuration and apply selected configuration." (interactive (list (completing-read "Use configuration: " bs-configurations nil t))) (let ((list (assoc name bs-configurations))) (if list (if (listp list) (setq bs-current-configuration name bs-must-show-regexp (nth 1 list) bs-must-show-function (nth 2 list) bs-dont-show-regexp (nth 3 list) bs-dont-show-function (nth 4 list) bs-buffer-sort-function (nth 5 list)) ;; for backward compability (funcall (cdr list))) ;; else (ding) (bs-message-without-log "No bs-configuration named %S." name)))) (defun bs-help () "Help for `bs-show'." (interactive) (describe-function 'bs-mode)) (defun bs-next-config-aux (start-name list) "Get the next assoc after START-NAME in list LIST. Will return the first if START-NAME is at end." (let ((assocs list) (length (length list)) pos) (while (and assocs (not pos)) (if (string= (car (car assocs)) start-name) (setq pos (- length (length assocs)))) (setq assocs (cdr assocs))) (setq pos (1+ pos)) (if (eq pos length) (car list) (nth pos list)))) (defun bs-next-config (name) "Return next configuration with respect to configuration with name NAME." (bs-next-config-aux name bs-configurations)) (defun bs-select-next-configuration (&optional start-name) "Apply next configuration START-NAME and refresh buffer list. If START-NAME is nil the current configuration `bs-current-configuration' will be used." (interactive) (let ((starting-buffer (bs--current-buffer t)) (config (bs-next-config (or start-name bs-current-configuration)))) (bs-set-configuration (car config)) (setq bs-default-configuration bs-current-configuration) (bs--redisplay t) (bs--set-window-height) (bs-goto-buffer starting-buffer) (bs-message-without-log "Selected config: %s" (car config)))) (defun bs-goto-buffer (buffer) "Goto line for buffer BUFFER." (let ((buffers bs-current-list)) (while (and buffers (not (eq (car buffers) buffer))) (setq buffers (cdr buffers))) (if buffers ;; Found it (goto-line (+ 1 bs-header-lines-length (- (length bs-current-list) (length buffers))))))) (defun bs-show-in-buffer (list) "Display buffer list LIST in buffer *buffer-selection*. Select buffer *buffer-selection* and display buffers according to current configuration `bs-current-configuration'. Set window height, fontify buffer and move point to current buffer." (setq bs-current-list list) (switch-to-buffer (get-buffer-create "*buffer-selection*")) (bs-mode) (let* ((inhibit-read-only t) (map-fun (lambda (entry) (length (buffer-name entry)))) (max-length-of-names (apply 'max (cons 0 (mapcar map-fun list)))) (name-entry-length (min bs-maximal-buffer-name-column (max bs-minimal-buffer-name-column max-length-of-names)))) (erase-buffer) (setq bs--name-entry-length name-entry-length) (bs--show-header) (while list (bs--insert-one-entry (car list)) (insert "\n") (setq list (cdr list))) (delete-backward-char 1) (bs--set-window-height) (bs--goto-current-buffer) (font-lock-fontify-buffer) (bs-apply-sort-faces))) (defun bs-next-buffer (&optional buffer-list sorting-p) "Return next buffer and buffer list for buffer cycling in BUFFER-LIST. Ignore sorting when SORTING-P is nil. If BUFFER-LIST is nil the result of `bs-buffer-list' will be used as buffer list. The result is a cons of normally the second element of BUFFER-LIST and the buffer list used for buffer cycling." (let* ((bs--current-sort-function (if sorting-p bs--current-sort-function)) (bs-buffer-list (or buffer-list (bs-buffer-list)))) (cons (or (car (cdr bs-buffer-list)) (car bs-buffer-list) (current-buffer)) bs-buffer-list))) (defun bs-previous-buffer (&optional buffer-list sorting-p) "Return previous buffer and buffer list for buffer cycling in BUFFER-LIST. Ignore sorting when SORTING-P is nil. If BUFFER-LIST is nil the result of `bs-buffer-list' will be used as buffer list. The result is a cons of last element of BUFFER-LIST and the buffer list used for buffer cycling." (let* ((bs--current-sort-function (if sorting-p bs--current-sort-function)) (bs-buffer-list (or buffer-list (bs-buffer-list)))) (cons (or (car (last bs-buffer-list)) (current-buffer)) bs-buffer-list))) (defun bs-message-without-log (&rest args) "Like `message' but don't log it on the message log. All arguments ARGS are transfered to function `message'." (let ((message-log-max nil)) (apply 'message args))) (defvar bs--cycle-list nil "Currentyl buffer list used for cycling.") ;;;###autoload (defun bs-cycle-next () "Select next buffer defined by buffer cycling. The buffers taking part in buffer cycling are defined by buffer configuration `bs-cycle-configuration-name'." (interactive) (let ((bs--buffer-coming-from (current-buffer)) (bs-dont-show-regexp bs-dont-show-regexp) (bs-must-show-regexp bs-must-show-regexp) (bs-dont-show-function bs-dont-show-function) (bs-must-show-function bs-must-show-function) (bs--show-all bs--show-all)) (if bs-cycle-configuration-name (bs-set-configuration bs-cycle-configuration-name)) (let ((bs-buffer-sort-function nil) (bs--current-sort-function nil)) (let* ((tupel (bs-next-buffer (if (or (eq last-command 'bs-cycle-next) (eq last-command 'bs-cycle-previous)) bs--cycle-list))) (next (car tupel)) (cycle-list (cdr tupel))) (setq bs--cycle-list (append (cdr cycle-list) (list (car cycle-list)))) (bury-buffer) (switch-to-buffer next) (bs-message-without-log "Next buffers: %s" (or (cdr bs--cycle-list) "this buffer")))))) ;;;###autoload (defun bs-cycle-previous () "Select previous buffer defined by buffer cycling. The buffers taking part in buffer cycling are defined by buffer configuration `bs-cycle-configuration-name'." (interactive) (let ((bs--buffer-coming-from (current-buffer)) (bs-dont-show-regexp bs-dont-show-regexp) (bs-must-show-regexp bs-must-show-regexp) (bs-dont-show-function bs-dont-show-function) (bs-must-show-function bs-must-show-function) (bs--show-all bs--show-all)) (if bs-cycle-configuration-name (bs-set-configuration bs-cycle-configuration-name)) (let ((bs-buffer-sort-function nil) (bs--current-sort-function nil)) (let* ((tupel (bs-previous-buffer (if (or (eq last-command 'bs-cycle-next) (eq last-command 'bs-cycle-previous)) bs--cycle-list))) (prev-buffer (car tupel)) (cycle-list (cdr tupel))) (setq bs--cycle-list (append (last cycle-list) (reverse (cdr (reverse cycle-list))))) (switch-to-buffer prev-buffer) (bs-message-without-log "Previous buffers: %s" (or (reverse (cdr bs--cycle-list)) "this buffer")))))) (defun bs--get-value (fun &optional args) "Apply function FUN with arguments ARGS. Return result of evaluation. Will return FUN if FUN is a number or a string." (cond ((numberp fun) fun) ((stringp fun) fun) (t (apply fun args)))) (defun bs--get-marked-string (start-buffer all-buffers) "Return a string which describes whether current buffer is marked. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu. The result string is one of `bs-string-current', `bs-string-current-marked', `bs-string-marked', `bs-string-show-normally', `bs-string-show-never', or `bs-string-show-always'." (cond ;; current buffer is the buffer we started buffer selection. ((eq (current-buffer) start-buffer) (if (memq (current-buffer) bs--marked-buffers) bs-string-current-marked ; buffer is marked bs-string-current)) ;; current buffer is marked ((memq (current-buffer) bs--marked-buffers) bs-string-marked) ;; current buffer hasn't a special mark. ((null bs-buffer-show-mark) bs-string-show-normally) ;; current buffer has a mark not to show itself. ((eq bs-buffer-show-mark 'never) bs-string-show-never) ;; otherwise current buffer is marked to show always. (t bs-string-show-always))) (defun bs--get-modified-string (start-buffer all-buffers) "Return a string which describes whether current buffer is modified. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." (if (buffer-modified-p) "*" " ")) (defun bs--get-readonly-string (start-buffer all-buffers) "Return a string which describes whether current buffer is read only. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." (if buffer-read-only "%" " ")) (defun bs--get-size-string (start-buffer all-buffers) "Return a string which describes the size of current buffer. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." (int-to-string (buffer-size))) (defun bs--get-name (start-buffer all-buffers) "Return name of current buffer for Buffer Selection Menu. The name of current buffer gets additional text properties for mouse highlighting. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." (let ((name (copy-sequence (buffer-name)))) (put-text-property 0 (length name) 'mouse-face 'highlight name) (if (< (length name) bs--name-entry-length) (concat name (make-string (- bs--name-entry-length (length name)) ? )) name))) (defun bs--get-mode-name (start-buffer all-buffers) "Return the name of mode of current buffer for Buffer Selection Menu. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." mode-name) (defun bs--get-file-name (start-buffer all-buffers) "Return string for column 'File' in Buffer Selection Menu. This is the variable `buffer-file-name' of current buffer. If current mode is `dired-mode' or shell-mode it returns the default directory. START-BUFFER is the buffer where we started buffer selection. ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." (let ((string (copy-sequence (if (member major-mode '(shell-mode dired-mode)) default-directory (or buffer-file-name ""))))) (put-text-property 0 (length string) 'mouse-face 'highlight string) string)) (defun bs--insert-one-entry (buffer) "Generate one entry for buffer BUFFER in Buffer Selection Menu. It goes over all columns described in `bs-attributes-list' and evaluates corresponding string. Inserts string in current buffer; normally *buffer-selection*." (let ((string "") (columns bs-attributes-list) (to-much 0) (apply-args (append (list bs--buffer-coming-from bs-current-list)))) (save-excursion (while columns (set-buffer buffer) (let ((min (bs--get-value (nth 1 (car columns)))) ;;(max (bs--get-value (nth 2 (car columns)))) refered no more (align (nth 3 (car columns))) (fun (nth 4 (car columns))) (val nil) new-string) (setq val (bs--get-value fun apply-args)) (setq new-string (bs--format-aux val align (- min to-much))) (setq string (concat string new-string)) (if (> (length new-string) min) (setq to-much (- (length new-string) min))) ) ; let (setq columns (cdr columns)))) (insert string) string)) (defun bs--format-aux (string align len) "Generate a string with STRING with alignment ALIGN and length LEN. ALIGN is one of the symbols `left', `middle', or `right'." (let ((length (length string))) (if (>= length len) string (if (eq 'right align) (concat (make-string (- len length) ? ) string) (concat string (make-string (- len length) ? )))))) (defun bs--show-header () "Insert header for Buffer Selection Menu in current buffer." (mapcar '(lambda (string) (insert string "\n")) (bs--create-header))) (defun bs--get-name-length () "Return value of `bs--name-entry-length'." bs--name-entry-length) (defun bs--create-header () "Return all header lines used in Buffer Selection Menu as a list of strings." (list (mapconcat (lambda (column) (bs--format-aux (bs--get-value (car column)) (nth 3 column) ; align (bs--get-value (nth 1 column)))) bs-attributes-list "") (mapconcat (lambda (column) (let ((length (length (bs--get-value (car column))))) (bs--format-aux (make-string length ?-) (nth 3 column) ; align (bs--get-value (nth 1 column))))) bs-attributes-list ""))) (defun bs--show-with-configuration (name &optional arg) "Display buffer list of configuration with NAME name. Set configuration NAME and determine window for Buffer Selection Menu. Unless current buffer is buffer *buffer-selection* we have to save the buffer we started Buffer Selection Menu and the current window configuration to restore buffer and window configuration after a selection. If there is already a window displaying *buffer-selection* select this window for Buffer Selection Menu. Otherwise open a new window. The optional argument ARG is the prefix argument when calling a function for buffer selection." (bs-set-configuration name) (let ((bs--show-all (or bs--show-all arg))) (unless (string= "*buffer-selection*" (buffer-name)) ;; Only when not in buffer *buffer-selection* ;; we have to set the buffer we started the command (progn (setq bs--buffer-coming-from (current-buffer)) (setq bs--window-config-coming-from (current-window-configuration)))) (let ((liste (bs-buffer-list)) (active-window (bs--window-for-buffer "*buffer-selection*"))) (if active-window (select-window active-window) (if (> (window-height (selected-window)) 7) (progn (split-window-vertically) (other-window 1)))) (bs-show-in-buffer liste) (bs-message-without-log "%s" (bs--current-config-message))))) (defun bs--configuration-name-for-prefix-arg (prefix-arg) "Convert prefix argument PREFIX-ARG to a name of a buffer configuration. If PREFIX-ARG is nil return `bs-default-configuration'. If PREFIX-ARG is an integer return PREFIX-ARG element of `bs-configurations'. Otherwise return `bs-alternative-configuration'." (cond ;; usually activation ((null prefix-arg) bs-default-configuration) ;; call with integer as prefix argument ((integerp prefix-arg) (if (and (< 0 prefix-arg) (<= prefix-arg (length bs-configurations))) (car (nth (1- prefix-arg) bs-configurations)) bs-default-configuration)) ;; call by prefix argument C-u (t bs-alternative-configuration))) ;; ---------------------------------------------------------------------- ;; Main function bs-customize and bs-show ;; ---------------------------------------------------------------------- ;;;###autoload (defun bs-customize () "Customization of group bs for Buffer Selection Menu." (interactive) (customize-group "bs")) ;;;###autoload (defun bs-show (arg) "Make a menu of buffers so you can manipulate buffer list or buffers itself. \\<bs-mode-map> There are many key commands similar to `Buffer-menu-mode' for manipulating buffer list and buffers itself. User can move with [up] or [down], select a buffer by \\[bs-select] or [SPC]\n Type \\[bs-kill] to leave Buffer Selection Menu without a selection. Type \\[bs-help] after invocation to get help on commands available. With prefix argument ARG show a different buffer list. Function `bs--configuration-name-for-prefix-arg' determine accordingly name of buffer configuration." (interactive "P") (setq bs--marked-buffers nil) (bs--show-with-configuration (bs--configuration-name-for-prefix-arg arg))) ;;; Now provide feature bs (provide 'bs) ;;; bs.el ends here;; ;; Craig McPheeters ;; cmcpheeters@aw.sgi.com ;; ;; March, 1999. ;; ;; ctags_p4.el ;; ;; ---------------------------------------------------------------------- (provide 'ctags_p4) ;; ;; Declare variables ;; (defvar ctag-vi-compatability t "*Were the tags generated to be compatable with VI? VI has a limit of 30 characters for each tag.") (defvar ctag-case-fold-search nil "*Should tag searches be case insensitive?") (defvar ctag-file-names nil "List of tag files to search") (defvar ctag-last-file nil "List of tag files remaining to search") (defvar ctag-last-point nil "Point of the last successful search") (defvar ctag-last nil "Last tag pattern searched for") (defvar ctag-apropos-last nil "Last pattern searched for by a tag-apropos") (defvar ctag-method-last nil "Last pattern searched for by a tag-methods") (defvar ctag-class-last nil "Last pattern searched for by a tag-class") (defvar ctag-ag-oneliner-last nil "Last pattern searched for by a ctag-ag-oneliner") (defvar ctag-recurse nil "If non-nil, enter a recursive whenever a tag search completes successfully.") (defvar ctag-next-form nil "Form to eval for the ctag-next-search command") (defvar ctag-visit-file-name nil "File name to visit. Set by the ctag-visit-file command.") (defvar ctag-visited-files nil "List of files already visited by this instance of the ctag-visit-file cmd") (defvar ctag-mtags-reuse-window t "If you tag from a buffer named 'mtags.mt' reuse the window") (defvar ctag-tag-buffer nil) ;; ;; Utility functions ;; (defun ctag-visit-tag-file-buffer (name) "\ Select the named tag buffer. If the tag file has not been read in then read the tag file. If the file has been changed, then offer to re-read it." (let ((cur-dir default-directory) buf) (cond (name) (ctag-file-names (setq name (car ctag-file-names))) (t (call-interactively 'ctag-file-add) (setq name (car ctag-file-names)))) (set-buffer (or (find-buffer-visiting name) (progn (message "Reading tags file %s..." name) (setq buf (find-file-noselect name)) buf))) (setq case-fold-search ctag-case-fold-search) (or (verify-visited-file-modtime (find-buffer-visiting name)) (cond ((yes-or-no-p (concat "Tag file " name" has changed, read new contents? ")) (revert-buffer t t)))) (setq default-directory cur-dir) (message ""))) (defun skip-white-space () "\ Skip forward in buffer over the white-space" (while (looking-at "\\s-") (forward-char 1))) (defun skip-to-white-space () "\ Skip forward in buffer to the first white-space" (while (not (looking-at "\\s-")) (forward-char 1))) (defun string-in-list (list str) "\ Given the LIST, return t if the STRING is in it" (let (success) (while list (if (string-equal (car list) str) (progn (setq list nil) (setq success t)) (setq list (cdr list)))) success)) (defun ctag-get-tag () "\ Return the tag string of the current line. Assumes the tag table is the current buffer" (beginning-of-line) (buffer-substring (point) (progn (skip-to-white-space) (point)))) (defun ctag-get-filename () "\ Return the file name of the tag on the line point is at. Assumes the tag table is the current buffer" (beginning-of-line) (skip-to-white-space) (skip-white-space) (buffer-substring (point) (progn (skip-to-white-space) (point)))) (defun ctag-get-line () "\ Get the line number from the current tag line." (let (pat) (beginning-of-line) (skip-to-white-space) (skip-white-space) (skip-to-white-space) (skip-white-space) (setq pat (buffer-substring (point) (progn (end-of-line) (point)))) pat)) (defun ctag-default-tag (cpp) "\ Return a default tag string based upon the text surrounding point in the current buffer" (let ((valid-chars "\\sw\\|\\s_") start end) (if cpp (setq valid-chars (concat valid-chars "\\|:\\|~"))) (save-excursion (while (looking-at valid-chars) (forward-char)) (if (re-search-backward valid-chars nil t) (progn ;; Don't accept Cpp tags of form 'word:' only 'word::' (if (looking-at ":") (progn (forward-char -1) (if (looking-at ":") (forward-char 1)))) (forward-char 1) (setq end (point)) (forward-char -1) (while (looking-at valid-chars) (forward-char -1)) (forward-char 1) (setq start (point)) (buffer-substring start end) ) nil)))) (defun ctag-query-tag (prompt tag) "\ Read a tag to search for after querying the user" (let ((default tag)) (setq tag (read-string (if default (format "%s(default %s) " prompt default) prompt))) (if (string-equal tag "") default tag))) (defun ctag-query-file (prompt) "\ Read a file name to search for after querying the user" (let (default name (pat "[a-zA-Z0-9._]")) (save-excursion (re-search-backward pat nil t) (while (looking-at pat) (forward-char)) (setq default (buffer-substring (point) (progn (if (> (point) 1) (backward-char 1)) (while (and (> (point) 1) (looking-at pat)) (backward-char 1)) (forward-char 1) (point))))) (if (and (> (length default) 2) (string-equal (substring default -2 nil) ".o")) (setq default (concat (substring default 0 -2) ".c"))) (if (and (> (length default) 4) (string-equal (substring default -4 nil) ".obj")) (setq default (concat (substring default 0 -4) ".c"))) (if (eq window-system 'w32) (setq default (concat "\\" default)) (setq default (concat "/" default))) (setq name (read-string prompt default)) (if (string-equal name "") default name))) (defun ctag-truncate-tag (tag) "\ If ctag-vi-compatibility, truncate tags to 30 characters" (if ctag-vi-compatability (if (> (length tag) 30) (substring tag 0 30) tag) tag)) (defun ctag-file-add (file) "\ Add a tag file to the start of the list of tag files to search." (interactive (list (read-file-name "Visit ctag table: (default tags) " default-directory (concat default-directory "tags") t))) (setq file (expand-file-name file)) (if (file-directory-p file) (setq file (concat file "tags"))) (if (file-readable-p file) (setq ctag-file-names (append (list file) ctag-file-names)) (message "Can't read the tag file: %s" file))) (defun ctag-file-remove () "\ Remove the last tag file to be added." (interactive) (if (listp ctag-file-names) (setq ctag-file-names (cdr ctag-file-names))) (ctag-show-files)) (defun ctag-show-files () "\ Display the tag file names searched" (interactive) (message "%s" ctag-file-names)) ;; ;; ;; Main tag functions ;; ;; (defun ctag (tag) "\ Find TAG, starting at the beginning of the tag file list. If tagname is nil, the expression in the buffer at or around point is used as the tagname" (interactive (list (ctag-query-tag "Find tag: " (ctag-default-tag t)))) (ctag-main tag)) (defun ctag-at-point () "\ Find the tag under point" (interactive) (ctag-main (ctag-default-tag t))) (defun ctag-main (tag) "\ Search for the tag given" (if (not ctag-file-names) (call-interactively 'ctag-file-add)) (if (and tag ctag-file-names) (progn (setq tag (ctag-truncate-tag tag)) (setq ctag-last-file ctag-file-names) (setq ctag-last-point 1) (setq ctag-last tag) (setq ctag-next-form '(ctag-find-next-tag 1)) (setq ctag-recurse t) (setq ctag-tag-buffer (current-buffer)) (ctag-find-next-tag 1)) (message "Empty tagname or tagfile list"))) (defun ctag-find-next-tag (n) "\ Find the N'th next occurence of a tag found by ctag. Handle recursion if needed" (interactive "p") (let ((window-config (ctag-window-list)) (found-one nil)) (if ctag-recurse (progn (save-window-excursion (setq found-one (ctag-find-next n)) (if found-one (recursive-edit))) (if found-one (ctag-window-restore window-config))) (setq found-one (ctag-find-next n))) (if (not found-one) (message "Not found, tagname: %s" ctag-last)))) (defun ctag-find-next (n) "\ Find the N'th next occurence of a tag found by ctag. Return nil if not found, otherwise do the search" (interactive "p");; The arg is an integer. (if (and ctag-last-file (> n 0)) (progn (ctag-visit-tag-file-buffer (car ctag-last-file)) (goto-char ctag-last-point) (if (re-search-forward (concat "^" ctag-last) nil t) (progn (setq ctag-last-point (point)) (setq n (1- n)) (if (= n 0) (ctag-do-search) (ctag-find-next n))) (progn (setq ctag-last-file (cdr ctag-last-file)) (setq ctag-last-point 1) (ctag-find-next n)))))) ;; ;; Support routines to ctag ;; (defun ctag-do-search () "\ Assume point is on a tag line. Extract the file and line and then go there. If the search is successful, enter a recursive edit if ctag-recurse is non-nil" (let ((filename (ctag-get-filename)) (linepat (ctag-get-line)) (case case-fold-search) found-point linenum found-it) (setq linenum (string-to-int linepat)) (if (and ctag-mtags-reuse-window ctag-tag-buffer (posix-string-match ".mt$" (buffer-name ctag-tag-buffer))) (find-file (substitute-in-file-name filename)) (find-file-other-window (substitute-in-file-name filename))) (widen) (goto-char (point-min)) (if (= linenum 0) (progn (setq case-fold-search nil) (setq found-it (re-search-forward linepat nil t)) (setq case-fold-search case)) (progn (goto-line linenum) (setq found-it t))) (setq found-point (point)) (if found-it (beginning-of-line)) found-it)) (defun ctag-next-search () "\ Do another tag search, just like the last one" (interactive) (if ctag-next-form (progn (if current-prefix-arg (setq ctag-recurse t) (setq ctag-recurse nil)) (eval ctag-next-form)) (message "No next to search for."))) (defun ctag-apropos (string) "\ Display list of all tags in tag tables that REGEXP match. By default it only prints out the tag itself, given an argument it will display the whole tag entry. The whole entry includes the filename and line number or pattern used in the tag search" (interactive (list (let ((pattern (read-from-minibuffer (concat (if current-prefix-arg "Full listing tag " "Tag ") "apropos (regexp): ") ctag-apropos-last))) (setq ctag-apropos-last pattern)))) (let ((file-list ctag-file-names) (match 0) end) (save-window-excursion (with-output-to-temp-buffer "*Tags List*" (princ "Tags matching regexp ") (prin1 string) (terpri) (while file-list (princ (format "------ In file: %s\n" (car file-list))) (ctag-visit-tag-file-buffer (car file-list)) (goto-char 1) (while (re-search-forward string nil t) (save-excursion (beginning-of-line) (skip-to-white-space) (setq end (point)) (beginning-of-line) (if (re-search-forward string end t) (progn (setq match (1+ match)) (beginning-of-line) (princ (buffer-substring (point) (progn (if current-prefix-arg (progn (end-of-line) (point)) end)))) (terpri)))) (forward-line 1)) (setq file-list (cdr file-list)))) ;; Decide whether or not to display the tag buffer. Don't if there were ;; no matches found, otherwise do. (if (> match 0) (progn (display-buffer "*Tags List*") (message "Found %d matching tag%s" match (if (> match 1) "s" "")) (recursive-edit)) (message "No tags match that pattern: %s" string))))) (defun ctag-method-apropos (string) "\ Display a list of all C++ methods in tag tables that contain the PATTERN" (interactive (list (let ((pattern (read-from-minibuffer "Method contains pattern: " (ctag-default-tag nil)))) (setq ctag-method-last pattern)))) (let ((last-ctag-apropos ctag-apropos-last)) (ctag-apropos (concat "::.*" string)) (setq ctag-apropos-last last-ctag-apropos))) (defun ctag-method-list (name) "\ Display a list of all C++ methods in tag tables that belong to CLASS" (interactive (list (let ((pattern (read-from-minibuffer "Class name : " (ctag-default-tag nil)))) (setq ctag-class-last pattern)))) (let ((last-ctag-apropos ctag-apropos-last)) (ctag-apropos (concat name "::")) (setq ctag-apropos-last last-ctag-apropos))) (defun ctag-visit-file (name) "\ Visit the files in the tag file which match NAME. The next occurence of a file matching name can be found with the ctag-next-search command" (interactive (list (ctag-query-file "Visit tag file: "))) (setq ctag-last-file ctag-file-names) (setq ctag-last-point 1) (setq ctag-visit-file-name name) (setq ctag-visited-files nil) (setq ctag-next-form '(ctag-visit-next-file 1)) (setq ctag-recurse t) (ctag-visit-next-file 1)) (defun ctag-visit-next-file (n) "\ Find the N'th next occurence of a tag file matching the previously set name. Use ctag-visit-file to set the tag file name to match" (interactive "p") (let (start end file found) (while (and (not found) ctag-last-file (> n 0)) (ctag-visit-tag-file-buffer (car ctag-last-file)) (goto-char ctag-last-point) ;; Search for a match (if (search-forward ctag-visit-file-name nil t) (save-excursion (end-of-line) (setq ctag-last-point (point)) (beginning-of-line) (skip-to-white-space) (save-excursion (skip-white-space) (skip-to-white-space) (setq end (point))) ;; Restrict this search to just the filename portion of tag (if (search-forward ctag-visit-file-name end t) (progn ;; Got a file match (setq file (ctag-get-filename)) (if (not (string-in-list ctag-visited-files file)) (progn ;; First time we've visited this file (setq found t) (setq ctag-visited-files (append ctag-visited-files (list file))) ;; We may recurse here... (ctag-visit-file-doit file)))))) (progn ;; No match in this file, try the next file in list (setq ctag-last-file (cdr ctag-last-file)) (setq ctag-last-point 1)))) (if (not found) (message "File not found: %s" ctag-visit-file-name)))) (defun ctag-visit-file-doit (name) "\ Visit the file found in a ctag-visit-next-file call" (if ctag-recurse (save-window-excursion (find-file-other-window (substitute-in-file-name name)) (message "Visiting file: %s" name) (recursive-edit)) (progn (find-file-other-window (substitute-in-file-name name)) (message "Visiting file: %s" name)))) (defun ctag-window-list () "\ Returns a list of Lisp window objects and the point at the top of the window for all Emacs windows" (let* ((first-window (selected-window)) (top-char (save-excursion (move-to-window-line 0) (point))) (windows (cons (cons first-window (cons top-char (cons (point) nil))) nil)) (current-cons windows) (w (next-window first-window nil))) (while (not (eq w first-window)) (select-window w) (setq current-cons (setcdr current-cons (cons (cons w (cons (save-excursion (move-to-window-line 0) (point)) (cons (point) nil))) nil))) (setq w (next-window w nil))) (select-window first-window) windows)) (defun ctag-window-restore (windows) "\ Restore the positioning of the windows from the window LIST Used in conjunction with ctag-window-list" (let* ((this (car windows)) (rest (cdr windows)) (top-char nil) (window-from-list nil) (first-window (selected-window)) the-point) (while this (setq window-from-list (car this)) (setq top-char (car (cdr this))) (setq the-point (car (cdr (cdr this)))) (select-window window-from-list) (set-window-start nil top-char) (goto-char the-point) (setq this (car rest)) (setq rest (cdr rest))) (select-window first-window))) ;; ;; Perforce commands ;; (defun p4-run-command (fresh command) (let (p4buf min) (setq p4buf (get-buffer-create "*Perforce*")) (pop-to-buffer p4buf) (if fresh (erase-buffer) (goto-char (point-max))) (setq min (point)) (insert "% p4 ") (mapcar '(lambda (a) (insert a)(insert " ")) command) (insert "\n---\n\n") (apply 'call-process "p4" nil t nil command) (goto-char 0) (set-buffer-modified-p nil) min)) (defun p4-command (show &rest command) "\ Runs the COMMAND in the buffer *Perforce*" (let (curbuf p4buf min) (if show (progn (setq curbuf (current-buffer)) (setq min (p4-run-command t command)) (pop-to-buffer curbuf)) (save-window-excursion (setq curbuf (current-buffer)) (setq min (p4-run-command t command)) (pop-to-buffer curbuf))) min)) (defun p4-get-line (start wholeLine pattern) (let (curbuf newbuf) (save-window-excursion (setq curbuf (current-buffer)) (setq newbuf (get-buffer-create "*Perforce*")) (pop-to-buffer newbuf) (if start (goto-char 0)) (if (search-forward pattern nil t) (buffer-substring (if wholeLine (progn (beginning-of-line) (point)) (point)) (progn (end-of-line) (point))) nil)))) (defun ctag-p4-is-file-locked () "\ Display information on the file associated with the current buffer" (interactive) (let ((file-name (buffer-file-name)) person lock action msg) (p4-command nil "fstat" file-name) (setq msg (concat " (" file-name ")")) (if (p4-get-line t nil "... clientFile ") (progn (if (setq lock (p4-get-line t nil "... ourLock ")) (setq msg (concat " File is locked by " (user-login-name) ". " msg)) (if (setq lock (p4-get-line t nil "... otherLock ")) (setq msg (concat " File is locked by " lock ". " msg)) (setq msg (concat " File is not locked. " msg)))) (if (setq action (p4-get-line t nil "... action ")) (setq msg (concat "Open for " action ". " msg)))) (setq msg (concat "File is not in the repo. " msg))) (message msg))) (defun ctag-p4-diff (version) "\ Display differences between current buffer and its repo file." (interactive "sVersion (#n, @change, @client, @label): ") (let ((file-name (buffer-file-name)) (window-config (ctag-window-list))) (save-window-excursion (if version (setq file-name (concat file-name version))) (p4-command t "diff" "-f" file-name) (recursive-edit)) (ctag-window-restore window-config))) (defun ctag-p4-get (version) "\ Get a specific version of the current file." (interactive "sVersion (#n, @change, @client, @label): ") (let (file-name buf-name buf (window-config (ctag-window-list))) (save-window-excursion (if version (progn (setq file-name (concat (buffer-file-name) version)) (setq buf-name (concat (buffer-name) version)) (setq buf (get-buffer-create buf-name)) (pop-to-buffer buf) (erase-buffer) (goto-char (point-max)) (call-process "p4" nil t nil "print" file-name) (goto-char 0) (set-buffer-modified-p nil) (recursive-edit)))) (ctag-window-restore window-config))) (defun ctag-p4-filelog () "\ Get the RCS log from the repo file associated with buffer." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list))) (save-window-excursion (p4-command t "filelog" "-i" "-l" file-name) (recursive-edit)) (ctag-window-restore window-config))) (defun ctag-p4-edit () "\ Mark the file for edit." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list)) line) (save-window-excursion (p4-command t "edit" file-name) (if (setq line (p4-get-line t t "- opened for edit")) (progn (setq buffer-read-only nil) (message line)) (recursive-edit))) (ctag-window-restore window-config))) (defun ctag-p4-add () "\ Add the current file to the repo." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list)) line) (save-window-excursion (p4-command t "add" file-name) (if (setq line (p4-get-line t t "- opened for add")) (message line) (recursive-edit))) (ctag-window-restore window-config))) (defun ctag-p4-revert () "\ Revert the current file to the repo version." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list)) line) (if (yes-or-no-p (concat "Revert " file-name ": ")) (save-window-excursion (p4-command t "revert" file-name) (if (setq line (p4-get-line t t "reverted")) (progn (find-file-read-only file-name) (message line)) (recursive-edit))) (ctag-window-restore window-config)))) (defun ctag-p4-lock () "\ Lock the current file." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list)) line) (save-window-excursion (p4-command t "lock" file-name) (if (setq line (p4-get-line t t "- locking")) (message line) (recursive-edit))) (ctag-window-restore window-config))) (defun ctag-p4-unlock () "\ Lock the current file." (interactive) (let ((file-name (buffer-file-name)) (window-config (ctag-window-list)) line) (save-window-excursion (p4-command t "unlock" file-name) (if (setq line (p4-get-line t t "- unlocking")) (message line) (recursive-edit))) (ctag-window-restore window-config))) (defun ctag-p4-opened () "\ Return the list of opened files." (interactive) (let ((window-config (ctag-window-list))) (save-window-excursion (p4-command t "opened") (recursive-edit)) (ctag-window-restore window-config))) ;; ;; Wrappers to a couple of useful commands ;; (defun ctag-softwhere (name) "\ Call the alias 'softwhere' program with the name" (interactive (list (read-string "Softwhere on which string: " (ctag-default-tag nil)))) (let (curbuf newbuf) (save-window-excursion (setq curbuf (current-buffer)) (setq newbuf (get-buffer-create "*Softwhere*")) (pop-to-buffer newbuf) (erase-buffer) (message "Executing: softwhere %s" name) (shell-command (concat "softwhere " name) t) (pop-to-buffer curbuf) (recursive-edit)))) (defun ctag-ag-oneliner (string) "\ Find all occurences of the STRING in the AG one-liners file" (interactive (list (let ((pattern (read-from-minibuffer "AG oneliner search for: " ctag-ag-oneliner-last))) (setq ctag-ag-oneliner-last pattern)))) (let ((location) newbuf) (save-window-excursion (setq newbuf (get-buffer-create "*AG oneliners*")) (if (getenv "AG-ONELINER") (setq location (getenv "AG-ONELINER")) (setq location (concat (getenv "TAGSRC") "/AGv2.7/man/oneliner"))) (pop-to-buffer newbuf) (erase-buffer) (insert "Oneliner file: " location "\n\n") (insert "AG oneliner search for: " ctag-ag-oneliner-last "\n\n") (message (concat "Searching for: " ctag-ag-oneliner-last)) (call-process-region (point-min) (point-max) "/bin/sh" nil newbuf t "-c" (concat "grep" " -i" " " ctag-ag-oneliner-last " " location)) (message "") (goto-char 0) (recursive-edit)))) ;; Make a keymap for the tag stuff (setq ctag-map (make-sparse-keymap)) (define-key ctag-map "." 'ctag) (define-key ctag-map "?" 'ctag-apropos) (define-key ctag-map ":" 'ctag-method-apropos) (define-key ctag-map "+" 'ctag-file-add) (define-key ctag-map "-" 'ctag-file-remove) (define-key ctag-map "=" 'ctag-show-files) (define-key ctag-map "m" 'ctag-method-list) (define-key ctag-map "v" 'ctag-visit-file) (define-key ctag-map "w" 'ctag-softwhere) (define-key ctag-map "A" 'ctag-ag-oneliner) (define-key ctag-map "\^a" 'ctag-ag-oneliner) (define-key ctag-map "\^n" 'ctag-next-search) (define-key ctag-map "\^v" 'ctag-visit-file) (define-key ctag-map "\^w" 'ctag-softwhere) ;; Perforce commands (define-key ctag-map "a" 'ctag-p4-add) (define-key ctag-map "d" 'ctag-p4-diff) (define-key ctag-map "e" 'ctag-p4-edit) (define-key ctag-map "f" 'ctag-p4-filelog) (define-key ctag-map "g" 'ctag-p4-get) (define-key ctag-map "i" 'ctag-p4-is-file-locked) (define-key ctag-map "l" 'ctag-p4-lock) (define-key ctag-map "o" 'ctag-p4-opened) (define-key ctag-map "r" 'ctag-p4-revert) (define-key ctag-map "u" 'ctag-p4-unlock) ;; ;; The old ctag package used to keep the default directory at the directory ;; you started emacs from. This supported the local-work space approach ;; that we were using them. When you have a source tree to work with, you ;; want the default directory to be where each file is. However, you don't ;; want to worry about having to 'cd' back to the home to compile. To get ;; around this, I override the compile command to reset the default directory ;; to a variable which is maintained by a local version of 'cd' This will ;; allow you to tag around the repo, check a file out, edit it, write it ;; in place and then compile and have the compile pick it up. ;; ;; Craig, Mar 1999. ;; (setq ctag-default-directory default-directory) (defun cd (dir) (interactive "DChange directory: ") (setq default-directory dir) (setq ctag-default-directory dir)) (defun ctag-compile () (interactive) (let ((old-dir default-directory)) (setq default-directory ctag-default-directory) (call-interactively 'compile) (setq default-directory old-dir))) (substitute-key-definition 'compile 'ctag-compile global-map) (substitute-key-definition 'compile 'ctag-compile ctl-x-map) (message "Loaded ctags_p4...") ;; Do this to put the map where you want it: ;;(define-key global-map "\^t" ctag-map) ;;; ibs.el --- windows like buffer selection mode by C-TAB. ;; Copyright (C) 2000, 2001, 2002, 2003 Olaf Sylvester ;; Author: Olaf Sylvester <olaf@geekware.de> ;; Maintainer: Olaf Sylvester <olaf@geekware.de> ;; Keywords: convenience ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. ;;; Commentary: ;; This Emacs package provides a minor mode for buffer cycling; ;; more exact: to switch by key C-TAB between Emacs buffers like ;; MS-Windows IDEs. ;; C-TAB starts buffer cycling. Every other key terminates cycling ;; and sets the current buffer at the top of Emacs buffer list. ;; The buffer we started buffer cycling won't be buried !!! ;; You can configure the keys for cycling. ;; Therefore set global `ibs-cycling-key' before loading ibs.el. ;; You can define which buffers will be used for buffer cycling. ;; Set global `ibs-cycle-buffer-function' to a function which ;; returns a buffer list. The default is buffer-list, which returns ;; all buffers in recently order. ;; If package bs is loaded the cycling list of this package ;; will be used. ;;; History: ;; 28.02.2001 ;; Version 0.12 ;; - delete references to ibs-other-meta-char ;; - solved problems with meta key sequences ;; ;; 22.12.2000 ;; Version 0.11 ;; - problems with generic-character-list (XEMACS 21.x) ;; - no more occurrence of eval-when ;; ;; 17.12.2000 ;; First Version 0.1 ;;; Code: ;;; Global variables for customization. (defvar ibs-cycling-key "<C-tab>" "Key sequence for buffer cycling.") (defvar ibs-cycle-buffer-function nil "Function to calculate buffers for cycling. When nil use `buffer-list'. The function needs no arguments and must return a list of buffers.") (defvar ibs-timeout 4 "Seconds of inactivity for deactivating cycling mode.") (defvar ibs-mode-hook nil "Function(s) to call after invoking mode ibs.") (defvar ibs-mode-end-hook nil "Function(s) to call after terminating mode ibs.") (defvar ibs-buffer-list nil "Current buffer list for cycling.") (defvar ibs-start-buffer nil "Buffer we started cycling.") ;;; Define ibs-mode keymap. (defvar ibs-mode-map nil "Keymap for function `ibs-mode'. Derived from `isearch-mode-map'.") ;;(setq ibs-mode-map nil) (or ibs-mode-map (let* ((i 0) (map (make-keymap))) ;; Make characters stop cycling. (if (fboundp 'generic-character-list) (let ((l (generic-character-list)) (table (nth 1 map))) (while l (set-char-table-default table (car l) 'ibs-select-buffer-and-quit) (setq l (cdr l))))) ;; Make function keys, etc, stop cycling. (define-key map [t] 'ibs-select-buffer-and-quit) ;; Control chars, by default, end ibs mode transparently. ;; We need these explicit definitions because, in a dense ;; keymap, the binding for t does not affect characters. ;; We use a dense keymap to save space. (while (< i ?\ ) (define-key map (make-string 1 i) 'ibs-select-buffer-and-quit) (setq i (1+ i))) ;; Single-byte printing chars stop cycling. (setq i ?\ ) (while (< i 256) (define-key map (vector i) 'ibs-select-buffer-and-quit) (setq i (1+ i))) ;; Several non-printing chars change the searching behavior. (define-key map "\C-g" 'ibs-abort) ;; This assumes \e is the meta-prefix-char. (or (= ?\e meta-prefix-char) (error "Inconsistency in ibs.el")) (define-key map (read-kbd-macro ibs-cycling-key) 'ibs-next-buffer) (let ((meta-map (make-sparse-keymap))) (define-key map (char-to-string meta-prefix-char) meta-map) (define-key map [escape] meta-map)) (define-key map (vector meta-prefix-char t) 'ibs-other-meta-char) ;; Pass frame events transparently so they won't exit ;; the search. In particular, if we have more than one ;; display open, then a switch-frame might be generated ;; by someone typing at another keyboard. (define-key map [switch-frame] nil) (define-key map [delete-frame] nil) (define-key map [iconify-frame] nil) (define-key map [make-frame-visible] nil) (setq ibs-mode-map map))) (defun ibs-other-meta-char () "Exit the search normally and reread this key sequence. But only if `search-exit-option' is non-nil, the default. If it is the symbol `edit', the search string is edited in the minibuffer and the meta character is unread so that it applies to editing the string." (interactive) (let* ((key (this-command-keys)) (main-event (aref key 0)) (keylist (listify-key-sequence key))) (cond ((and (= (length key) 1) (let ((lookup (lookup-key function-key-map key))) (not (or (null lookup) (integerp lookup) (keymapp lookup))))) ;; Handle a function key that translates into something else. ;; If the key has a global definition too, ;; exit and unread the key itself, so its global definition runs. ;; Otherwise, unread the translation, ;; so that the translated key takes effect within isearch. (cancel-kbd-macro-events) (if (lookup-key global-map key) (progn (ibs-done) (apply 'ibs-unread keylist)) (apply 'ibs-unread (listify-key-sequence (lookup-key function-key-map key))))) ( ;; Handle an undefined shifted control character ;; by downshifting it if that makes it defined. ;; (As read-key-sequence would normally do, ;; if we didn't have a default definition.) (let ((mods (event-modifiers main-event))) (and (integerp main-event) (memq 'shift mods) (memq 'control mods) (lookup-key ibs-mode-map (let ((copy (copy-sequence key))) (aset copy 0 (- main-event (- ?\C-\S-a ?\C-a))) copy) nil))) (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) (cancel-kbd-macro-events) (apply 'ibs-unread keylist)) (t (let (window) (cancel-kbd-macro-events) (apply 'ibs-unread keylist) ;; Properly handle scroll-bar and mode-line clicks ;; for which a dummy prefix event was generated as (aref key 0). (and (> (length key) 1) (symbolp (aref key 0)) (listp (aref key 1)) (not (numberp (posn-point (event-start (aref key 1))))) ;; Convert the event back into its raw form, ;; with the dummy prefix implicit in the mouse event, ;; so it will get split up once again. (progn (setq unread-command-events (cdr unread-command-events)) (setq main-event (car unread-command-events)) (setcar (cdr (event-start main-event)) (car (nth 1 (event-start main-event)))))) ;; If we got a mouse click, maybe it was read with the buffer ;; it was clicked on. If so, that buffer, not the current one, ;; is in ibs mode. So end the search in that buffer. (if (and (listp main-event) (setq window (posn-window (event-start main-event))) (windowp window) (or (> (minibuffer-depth) 0) (not (window-minibuffer-p window)))) (save-excursion (set-buffer (window-buffer window)) (ibs-done)) (ibs-done))))))) ;; The value of input-method-function when ibs is invoked. (defvar ibs-input-method-function nil) ;; A flag to tell if input-method-function is locally bound when ;; ibs is invoked. (defvar ibs-input-method-local-p nil) ;; Register minor mode (or (assq 'ibs-mode minor-mode-alist) (nconc minor-mode-alist (list '(ibs-mode ibs-mode)))) (defvar ibs-mode nil) (define-key global-map (read-kbd-macro ibs-cycling-key) 'ibs-select) (defun ibs-cancel () "Terminate cycling and signal quit." (interactive) (ibs-done) (signal 'quit nil)) (defun ibs-abort () "Terminate cycling and reselect starting buffer." (interactive) (ibs-done) (switch-to-buffer ibs-start-buffer t)) (defun ibs-select () "Do buffer selection." (interactive) (setq ibs-start-buffer (current-buffer)) (setq ibs-buffer-list (mapcar 'identity (funcall (or ibs-cycle-buffer-function (function buffer-list))))) (if (not (memq (current-buffer) ibs-buffer-list)) (setq ibs-buffer-list (cons (current-buffer) ibs-buffer-list))) (setq ibs-buffer-list (ibs-step-right ibs-buffer-list)) (ibs-mode) (ibs-next-buffer) ) (defun ibs-cancel-after-timeout () "Wait `ibs-timeout' seconds for terminating cycling." (when (sit-for ibs-timeout) (ibs-done t) (message ""))) (defun ibs-mode () "Start ibs minor mode. Called by `ibs-select', etc. \\{ibs-mode-map}" ;; Initialize global vars. (setq ibs-input-method-function input-method-function) (setq ibs-input-method-local-p (local-variable-p 'input-method-function)) ;; We must bypass input method while reading key. ;; When a user type printable character, appropriate input ;; method is turned on in minibuffer to read multibyte ;; charactes. (or ibs-input-method-local-p (make-local-variable 'input-method-function)) (setq input-method-function nil) (setq ibs-mode " I-BS") (force-mode-line-update) (setq overriding-terminal-local-map ibs-mode-map) (run-hooks 'ibs-mode-hook) (add-hook 'mouse-leave-buffer-hook 'ibs-done) t) (defun ibs-done (&optional select-buffer-p) "Terminate ibs normally." (remove-hook 'mouse-leave-buffer-hook 'ibs-done) (setq overriding-terminal-local-map nil) (setq ibs-mode nil) (if ibs-input-method-local-p (setq input-method-function ibs-input-method-function) (kill-local-variable 'input-method-function)) (if select-buffer-p (switch-to-buffer (car (last ibs-buffer-list)))) (force-mode-line-update) (run-hooks 'ibs-mode-end-hook) t) (defun ibs-select-buffer-and-quit () "Exit the cycling normally and reread this key sequence." (interactive) (let* ((key (this-command-keys)) (main-event (aref key 0)) (keylist (listify-key-sequence key))) (cond ((and (= (length key) 1) (let ((lookup (lookup-key function-key-map key))) (not (or (null lookup) (integerp lookup) (keymapp lookup))))) ;; Handle a function key that translates into something ;; else. If the key has a global definition too, ;; exit and unread the key itself, so its global ;; definition runs. Otherwise, unread the translation, ;; so that the translated key takes effect within ibs. (cancel-kbd-macro-events) (if (lookup-key global-map key) (progn (ibs-done t) (apply 'ibs-unread keylist)) (apply 'ibs-unread (listify-key-sequence (lookup-key function-key-map key))))) ( ;; Handle an undefined shifted control character ;; by downshifting it if that makes it defined. ;; (As read-key-sequence would normally do, ;; if we didn't have a default definition.) (let ((mods (event-modifiers main-event))) (and (integerp main-event) (memq 'shift mods) (memq 'control mods) (lookup-key ibs-mode-map (let ((copy (copy-sequence key))) (aset copy 0 (- main-event (- ?\C-\S-a ?\C-a))) copy) nil))) (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) (cancel-kbd-macro-events) (apply 'ibs-unread keylist)) (t (let (window) (cancel-kbd-macro-events) (apply 'ibs-unread keylist) ;; Properly handle scroll-bar and mode-line clicks ;; for which a dummy prefix event was generated as (aref key 0). (and (> (length key) 1) (symbolp (aref key 0)) (listp (aref key 1)) (not (numberp (posn-point (event-start (aref key 1))))) ;; Convert the event back into its raw form, ;; with the dummy prefix implicit in the mouse event, ;; so it will get split up once again. (progn (setq unread-command-events (cdr unread-command-events)) (setq main-event (car unread-command-events)) (setcar (cdr (event-start main-event)) (car (nth 1 (event-start main-event)))))) ;; If we got a mouse click, maybe it was read with the buffer ;; it was clicked on. If so, that buffer, not the current one, ;; is in ibs mode. So end the search in that buffer. (if (and (listp main-event) (setq window (posn-window (event-start main-event))) (windowp window) (or (> (minibuffer-depth) 0) (not (window-minibuffer-p window)))) (save-excursion (set-buffer (window-buffer window)) (ibs-done t) ) (ibs-done t) ))) ))) (defun ibs-unread (&rest char-or-events) "Unread all input events in CHAR-OR-EVENTS." (mapcar 'store-kbd-macro-event char-or-events) (setq unread-command-events (append char-or-events unread-command-events))) (defun ibs-next-buffer () "Switch to next buffer." (interactive) (let ((buff (car ibs-buffer-list))) (switch-to-buffer buff t) (ibs-mode) (setq ibs-buffer-list (ibs-step-right ibs-buffer-list)) (message "%S" (mapcar (function buffer-name) ibs-buffer-list)) (ibs-cancel-after-timeout) )) (defun ibs-step-right (alist) "Return ALIST rotated right." (append (cdr alist) (list (car alist)))) (if (featurep 'bs) (progn (defun bs-cycling-list () "Return buffer list for buffer cycling. The buffers taking part in buffer cycling are defined by buffer configuration `bs-cycle-configuration-name'." (interactive) (let ((bs--buffer-coming-from (current-buffer)) (bs-dont-show-regexp bs-dont-show-regexp) (bs-must-show-regexp bs-must-show-regexp) (bs-dont-show-function bs-dont-show-function) (bs-must-show-function bs-must-show-function) (bs--show-all bs--show-all)) (if bs-cycle-configuration-name (bs-set-configuration bs-cycle-configuration-name)) (let ((bs-buffer-sort-function nil) (bs--current-sort-function nil)) (let* ((tupel (bs-next-buffer))) (cdr tupel))))) (setq ibs-cycle-buffer-function (or ibs-cycle-buffer-function 'bs-cycling-list)))) (provide 'ibs) ;;; ibs.el ends here ;;; p4.el --- Simple Perforce-Emacs Integration ;; ;; $Id: p4.el,v 1.66 2004/05/18 14:52:11 rvgnu Exp $ ;;; Commentary: ;; ;; Applied the GNU G.P.L. to this file - rv 3/27/1997 ;; Programs for Emacs <-> Perforce Integration. ;; Copyright (C) 1996, 1997 Eric Promislow ;; Copyright (C) 1997-2004 Rajesh Vaidheeswarran ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2 of the License, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program; if not, write to the Free Software ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ;; ;; If you have any problems to report, or suggestions, please send them ;; to p4el-bugs@lists.sourceforge.net ;; LCD Archive Entry: ;; p4|Rajesh Vaidheeswarran|rv@NoSpAm.lOsEtHiS.dsmit.com| ;; P4 SCM Integration into Emacs/XEmacs| ;; 2004/06/11|10.5|not_assigned_yet| ;; WARNING: ;; -------- ;; ;; % p4 edit foo.c ;; ... make changes to foo.c in emacs ;; % p4 submit ;; ... keep the writable copy of foo.c in emacs. Start making changes ;; to it. Discover that you can't save it. If you do M-x:p4-edit, ;; you'll lose your changes. You need to do a 'p4 edit' at the ;; command-line. ;; ;; NOTES: ;; ------ ;; ;; It is best if you take this file and byte compile it. To do that, you ;; need to do the following: ;; ;; % emacs -batch -f batch-byte-compile /full/path/to/file/p4.el ;; ;; This creates a binary file p4.elc in the path. Add the path to your ;; load-path variable in .emacs like this: ;; ;; (setq load-path (cons "/full/path/to/file" load-path)) ;; ;; Then add the library like this: ;; ;; (load-library "p4") ;; ;;; Code: (defvar p4-emacs-version "10.5" "The Current P4-Emacs Integration Revision.") ;; Find out what type of emacs we are running in. We will be using this ;; quite a few times in this program. (eval-and-compile (defvar p4-running-emacs nil "If the current Emacs is not XEmacs, then, this is non-nil.") (defvar p4-running-xemacs nil "If the current Emacs is XEmacs/Lucid, then, this is non-nil.") (if (string-match "XEmacs\\|Lucid" emacs-version) (setq p4-running-xemacs t) (setq p4-running-emacs t))) ;; Pick up a couple of missing function defs (if p4-running-xemacs (eval-when-compile (require 'timer) (require 'dired))) (defvar p4-emacs-maintainer "p4.el maintainers <p4el-bugs@lists.sourceforge.net>" "The maintainer(s) of the emacs-p4 integration. Used for bug reports.") (defvar p4-web-page "http://p4el.sourceforge.net/" "The home of p4.el.") ;; For flavors of Emacs which don't define `defgroup' and `defcustom'. (eval-when-compile (if (not (fboundp 'defgroup)) (defmacro defgroup (sym memb doc &rest args) "Null macro for defgroup in all versions of Emacs that don't define defgroup" t)) (if (not (fboundp 'defcustom)) (defmacro defcustom (sym val doc &rest args) "Macro to alias defcustom to defvar in all versions of Emacs that don't define defcustom" `(defvar ,sym ,val ,doc)))) (defgroup p4 nil "Perforce VC System." :group 'tools) ;; This can be set to wherever 'p4' lies using p4-set-p4-executable (eval-and-compile (defun p4-windows-os () (memq system-type '(ms-dos windows-nt))) (defcustom p4-executable (let ((lst (append exec-path (list "/usr/local/bin/p4" (concat (getenv "HOME") "/bin/p4") "p4"))) (p4-progname (if (p4-windows-os) "p4.exe" "p4")) p4ex) (while (and lst (not p4ex)) (let ((tmp (concat (file-name-as-directory (car lst)) p4-progname))) (if (and (file-executable-p tmp) (not (file-directory-p tmp))) (setq p4ex tmp)) (setq lst (cdr lst)))) p4ex) "This is the p4 executable. To set this, use the function `p4-set-p4-executable' or `customize'" :type 'string :group 'p4)) ;; This is a string with default arguments to pass to "p4 diff", ;; "p4 diff2", "p4 describe", etc. (defcustom p4-default-diff-options "-du" "Type of p4 diff output to be displayed. \(regular or context or unified.\)" :type 'string :group 'p4) (defcustom p4-default-depot-completion-prefix "//depot/" "Prefix to be used for completion prompt when prompting user for a depot file." :type 'string :group 'p4) ;; Set this variable to nil to turn off colorized diff buffers. (defcustom p4-colorized-diffs t "Set this to nil to disable colorized diffs." :type 'boolean :group 'p4) ;; Set whether P4CONFIG should be used exclusively for VC checking (defcustom p4-use-p4config-exclusively nil "Whether P4 mode should use P4CONFIG exclusively to check whether a file is under P4 version control. If set to nil, `p4-check-mode' is always called; otherwise, it checks to see if the file named by P4CONFIG exists in this or a parent directory, and if so, only then runs p4-check-mode. This provides for a much faster `p4-find-file-hook'." :type 'boolean :group 'p4) ;; Auto-refresh? (defcustom p4-auto-refresh t "Set this to automatically refresh p4 submitted files in buffers." :type 'boolean :group 'p4) ;; Check for empty diffs at submit time (defcustom p4-check-empty-diffs t "Set this to check for files with empty diffs before submitting." :type 'boolean :group 'p4) (defcustom p4-verbose t "When set, p4 will pop up the output buffer with the result of the command." :type 'boolean :group 'p4) ;; Follow Symlinks? (defcustom p4-follow-symlinks nil "When set, p4 will call `file-truename' on all opened files." :type 'boolean :group 'p4) (defcustom p4-mode-hook nil "Hook run by `p4-mode'." :type 'sexp :group 'p4) (eval-and-compile (defvar p4-output-buffer-name "*P4 Output*" "P4 Output Buffer.")) ;; Set this variable in .emacs if you want p4-set-client-name to complete ;; your client name for you. (defvar p4-my-clients nil "This variable holds the alist of p4 clients that the function `p4-set-client-name' can complete on. Set this variable *only* if you don't want P4 to complete on all the clients in the P4 server. This is a alist, and should be set using the function `p4-set-my-clients'. For example, in your .emacs: \(load-library \"p4\"\) \(p4-set-my-clients \'(client1 client2 client3)\)") ;; Set this variable in .emacs if you want to alter the completion ;; behavior of p4-set-client-name. (defcustom p4-strict-complete t "Set this variable in .emacs \(or using `customize'\) if you want to alter the completion behavior of `p4-set-client-name'. " :type 'boolean :group 'p4) (if (not (getenv "P4PORT")) (setenv "P4PORT" "perforce:1666")) (defvar p4-notify-list (getenv "P4NOTIFY") "The P4 Notify List.") (defcustom p4-sendmail-program (if (boundp 'sendmail-program) sendmail-program nil) "The sendmail program. To set this use `customize'." :type 'string :group 'p4) (defcustom p4-user-email (if (boundp 'user-mail-address) user-mail-address nil) "The e-mail address of the current user. This is used with the notification system, and must be set if notification should take place. To set this, use `customize'." :type 'string :group 'p4) (defcustom p4-notify nil "If this is t then the users in the notification list set by `p4-set-notify-list' will get a notification of any P4 change submitted from within emacs." :type 'boolean :group 'p4) ;; This can be set with p4-toggle-vc-mode (defcustom p4-do-find-file t "If non-nil, the `p4-find-file-hook' will run when opening files." :type 'boolean :group 'p4) ;; Now add a hook to find-file-hooks (add-hook 'find-file-hooks 'p4-find-file-hook) ;; .. and one to kill-buffer-hook (add-hook 'kill-buffer-hook 'p4-kill-buffer-hook) ;; Tell Emacs about this new kind of minor mode (defvar p4-mode nil "Is this file under p4?") (make-variable-buffer-local 'p4-mode) (put 'p4-mode 'permanent-local t) (defvar p4-offline-mode nil "Is this file under p4 but handled in offline mode?") (make-variable-buffer-local 'p4-offline-mode) (put 'p4-offline-mode 'permanent-local t) (defvar p4-minor-map (let ((map (make-sparse-keymap))) (define-key map "\C-x\C-q" 'p4-toggle-read-only) map) "Keymap for p4 minor mode") (fset 'p4-minor-map p4-minor-map) (or (assoc 'p4-mode minor-mode-alist) (setq minor-mode-alist (cons '(p4-mode p4-mode) minor-mode-alist))) (or (assoc 'p4-mode minor-mode-map-alist) (setq minor-mode-map-alist (cons '(p4-mode . p4-minor-map) minor-mode-map-alist))) (or (assoc 'p4-offline-mode minor-mode-alist) (setq minor-mode-alist (cons '(p4-offline-mode p4-offline-mode) minor-mode-alist))) (or (assoc 'p4-offline-mode minor-mode-map-alist) (setq minor-mode-map-alist (cons '(p4-offline-mode . p4-minor-map) minor-mode-map-alist))) (defvar p4-async-minor-mode nil "The minor mode for editing p4 asynchronous command buffers.") (make-variable-buffer-local 'p4-async-minor-mode) (defvar p4-async-minor-map (make-sparse-keymap) "Keymap for p4 async minor mode") (fset 'p4-async-minor-map p4-async-minor-map) (or (assoc 'p4-async-minor-mode minor-mode-alist) (setq minor-mode-alist (cons '(p4-async-minor-mode " P4") minor-mode-alist))) (or (assoc 'p4-async-minor-mode minor-mode-map-alist) (setq minor-mode-map-alist (cons '(p4-async-minor-mode . p4-async-minor-map) minor-mode-map-alist))) (defvar p4-current-command nil) (make-variable-buffer-local 'p4-current-command) (put 'p4-current-command 'permanent-local t) (set-default 'p4-current-command nil) (defvar p4-current-args nil) (make-variable-buffer-local 'p4-current-args) (put 'p4-current-args 'permanent-local t) (set-default 'p4-current-args nil) ;; To check if the current buffer's modeline and menu need to be altered (defvar p4-vc-check nil) (make-variable-buffer-local 'p4-vc-check) (put 'p4-vc-check 'permanent-local t) (set-default 'p4-vc-check nil) (defvar p4-set-client-hooks nil "List of functions to be called after a p4 client is changed. The buffer's local variables (if any) will have been processed before the functions are called.") (if p4-running-emacs (require 'timer)) (defvar p4-timer nil "Timer object that will be set to cleanup the caches periodically.") (defcustom p4-cleanup-time 600 "seconds after which `p4-cache-cleanup' will check for dirty caches." :type 'integer :group 'p4) (defcustom p4-cleanup-cache t "`p4-cache-cleanup' will cleanup the branches/clients/dirs/labels caches once in a while if this is non-nil." :type 'boolean :group 'p4) (defvar p4-all-buffer-files nil "An associated list of all buffers and their files under p4 version control. This is to enable autorefreshing of p4 submitted files being visited by the buffer.") (defvar p4-file-refresh-timer nil "Timer object that will be set to refresh the files in Emacs buffers that have been modified by a `p4-submit'.") (defcustom p4-file-refresh-timer-time 60 "seconds after which `p4-file-refresh' will check for modified files in Emacs buffers. Set this variable to 0 to disable periodic refreshing." :type 'integer :group 'p4) (defvar p4-async-command-hook nil "This hook is run after an async buffer has been set up by `p4-async-process-command'") (defvar p4-window-config-stack nil "Stack of saved window configurations.") (defcustom p4-window-config-stack-size 20 "Maximum stack size for saved window configurations." :type 'integer :group 'p4) (defcustom p4-exec-arg-len-max 20000 "Maximum total length of all arguments to p4 commands." :type 'integer :group 'p4) (defvar p4-basic-map (let ((map (make-sparse-keymap))) (cond (p4-running-xemacs (define-key map [button2] 'p4-buffer-mouse-clicked) (define-key map [button3] 'p4-buffer-mouse-clicked-3)) (p4-running-emacs (define-key map [mouse-2] 'p4-buffer-mouse-clicked) (define-key map [mouse-3] 'p4-buffer-mouse-clicked-3))) (define-key map [return] 'p4-buffer-commands) (define-key map "\r" 'p4-buffer-commands) (define-key map "q" 'p4-quit-current-buffer) (define-key map "k" 'p4-scroll-down-1-line) (define-key map "j" 'p4-scroll-up-1-line) (define-key map "b" 'p4-scroll-down-1-window) (define-key map [backspace] 'p4-scroll-down-1-window) (define-key map " " 'p4-scroll-up-1-window) (define-key map "<" 'p4-top-of-buffer) (define-key map ">" 'p4-bottom-of-buffer) (define-key map "=" 'p4-delete-other-windows) map)) (defun p4-make-derived-map (base-map) (let (map) (cond (p4-running-xemacs (setq map (make-sparse-keymap)) (set-keymap-parents map (list base-map))) (p4-running-emacs (setq map (cons 'keymap base-map)))) map)) (defvar p4-filelog-map (let ((map (p4-make-derived-map p4-basic-map))) (define-key map "d" 'p4-diff2) (define-key map "f" 'p4-find-file-other-window) (define-key map "s" 'p4-filelog-short-format) (define-key map "l" 'p4-filelog-long-format) (define-key map "k" 'p4-scroll-down-1-line-other-w) (define-key map "j" 'p4-scroll-up-1-line-other-w) (define-key map "b" 'p4-scroll-down-1-window-other-w) (define-key map [backspace] 'p4-scroll-down-1-window-other-w) (define-key map " " 'p4-scroll-up-1-window-other-w) (define-key map "<" 'p4-top-of-buffer-other-w) (define-key map ">" 'p4-bottom-of-buffer-other-w) (define-key map "=" 'p4-delete-other-windows) (define-key map "n" 'p4-goto-next-change) (define-key map "p" 'p4-goto-prev-change) (define-key map "N" (lookup-key map "p")) map) "The key map to use for selecting filelog properties.") (defvar p4-opened-map (let ((map (p4-make-derived-map p4-basic-map))) (define-key map "n" 'p4-next-depot-file) (define-key map "p" 'p4-prev-depot-file) (define-key map "N" (lookup-key map "p")) map) "The key map to use for selecting opened files.") (defvar p4-diff-map (let ((map (p4-make-derived-map p4-basic-map))) (define-key map "n" 'p4-goto-next-diff) (define-key map "p" 'p4-goto-prev-diff) (define-key map "N" (lookup-key map "p")) (define-key map "d" 'p4-next-depot-diff) (define-key map "u" 'p4-prev-depot-diff) map)) (defvar p4-print-rev-map (let ((map (p4-make-derived-map p4-basic-map))) (define-key map "n" 'p4-next-change-rev-line) (define-key map "p" 'p4-prev-change-rev-line) (define-key map "N" (lookup-key map "p")) (define-key map "l" 'p4-toggle-line-wrap) map) "The key map to use for browsing print-revs buffers.") ;;; All functions start here. ;; A generic function that we use to execute p4 commands (eval-and-compile (defun p4-exec-p4 (output-buffer args &optional clear-output-buffer) "Internal function called by various p4 commands. Executes p4 in the current buffer's current directory with output to a dedicated output buffer. If successful, adds the P4 menu to the current buffer. Does auto re-highlight management (whatever that is)." (save-excursion (if (eq major-mode 'dired-mode) (let ((dir (dired-current-directory))) (set-buffer output-buffer) (setq default-directory dir))) (if clear-output-buffer (progn (set-buffer output-buffer) (delete-region (point-min) (point-max)))) (let ((result ;; XXX - call-process has changed from using ;; p4-null-device to nil as its second argument ;; in emacs version 21.1.1?? - rv 1/25/2002 (apply 'call-process (p4-check-p4-executable) nil output-buffer nil ; update display? "-d" default-directory ;override "PWD" env var args))) (p4-menu-add) (if (and p4-running-emacs (boundp 'hilit-auto-rehighlight)) (setq hilit-auto-rehighlight nil)) result))) (defun p4-call-p4-here (&rest args) "Internal function called by various p4 commands. Executes p4 in the current buffer (generally a temp)." (apply 'call-process (p4-check-p4-executable) nil t nil ; update display? "-d" default-directory ;override "PWD" env var args))) (defun p4-push-window-config () "Push the current window configuration on the `p4-window-config-stack' stack." (interactive) (setq p4-window-config-stack (cons (current-window-configuration) p4-window-config-stack)) (while (> (length p4-window-config-stack) p4-window-config-stack-size) (setq p4-window-config-stack (reverse (cdr (reverse p4-window-config-stack)))))) (defun p4-pop-window-config (num) "Pop `num' elements from the `p4-window-config-stack' stack and use the last popped element to restore the window configuration." (interactive "p") (while (> num 0) (if (eq p4-window-config-stack nil) (error "window config stack empty")) (set-window-configuration (car p4-window-config-stack)) (setq p4-window-config-stack (cdr p4-window-config-stack)) (setq num (1- num))) (message "window config popped (stack size %d)" (length p4-window-config-stack))) ;; The menu definition is in the XEmacs format. Emacs parses and converts ;; this definition to its own menu creation commands. (defalias 'p4-toggle-vc-mode-off 'p4-toggle-vc-mode) (defalias 'p4-toggle-vc-mode-on 'p4-toggle-vc-mode) (eval-and-compile (defvar p4-menu-def '(["Specify Arguments..." universal-argument t] ["--" nil nil] ["Add Current to P4" p4-add (and (p4-buffer-file-name) (not p4-mode))] ["Check out/Edit" p4-edit (and (p4-buffer-file-name-2) (or (not p4-mode) buffer-read-only))] ["Re-open" p4-reopen (and (p4-buffer-file-name-2) (or (not p4-mode) (not buffer-read-only)))] ["Revert File" p4-revert (and (p4-buffer-file-name-2) (or (not p4-mode) (not buffer-read-only)))] ["Delete File from Depot" p4-delete (and (p4-buffer-file-name-2) (or (not p4-mode) buffer-read-only))] ["Rename Depot File" p4-rename (and (p4-buffer-file-name-2) (or (not p4-mode) buffer-read-only))] ["Submit Changes" p4-submit t] ["--" nil nil] ["Sync/Get Files from Depot" p4-get t] ["--" nil nil] ["Show Opened Files" p4-opened t] ["Filelog" p4-filelog (p4-buffer-file-name-2)] ["Changes" p4-changes t] ["Describe Change" p4-describe t] ["--" nil nil] ["Diff 2 Versions" p4-diff2 (p4-buffer-file-name-2)] ["Diff Current" p4-diff t] ["Diff All Opened Files" p4-diff-all-opened t] ["Diff Current with Ediff" p4-ediff (and (p4-buffer-file-name) (not buffer-read-only) p4-mode)] ["Diff 2 Versions with Ediff" p4-ediff2 (p4-buffer-file-name-2)] ["--" nil nil] ["Schedule Integrations" p4-integ t] ["Resolve Conflicts" p4-resolve t] ["--" nil nil] ["Print" p4-print (p4-buffer-file-name-2)] ["Print with Revision History" p4-blame (p4-buffer-file-name-2)] ["Find File using Depot Spec" p4-depot-find-file p4-do-find-file] ["--" nil nil] ["Edit a Branch Specification" p4-branch t] ["Edit a Label Specification" p4-label t] ["Edit a Client Specification" p4-client t] ["Edit a User Specification" p4-user t] ["--" nil nil] ["Show Version" p4-emacs-version t] ["Disable P4 VC Check" p4-toggle-vc-mode-off p4-do-find-file] ["Enable P4 VC Check" p4-toggle-vc-mode-on (not p4-do-find-file)] ["--" nil nil] ["Set P4 Config" p4-set-client-config p4-do-find-file] ["Get Current P4 Config" p4-get-client-config p4-do-find-file] ["--" nil nil] ["Set P4 Client" p4-set-client-name p4-do-find-file] ["Get Current P4 Client" p4-get-client-name p4-do-find-file] ["--" nil nil] ["Set P4 Server/Port" p4-set-p4-port p4-do-find-file] ["Get Current P4 Server/Port" p4-get-p4-port p4-do-find-file] ["--" nil nil] ["Set P4 Notification List" p4-set-notify-list p4-mode] ["Get P4 Notification List" p4-get-notify-list p4-notify] ["--" nil nil] ["Describe Key Bindings" p4-describe-bindings t] ["Check for later versions of p4.el" p4-browse-web-page t] ["--" nil nil] ["Report Bug in p4.el" p4-bug-report t]) "The P4 menu definition") (cond (p4-running-xemacs ;; Menu Support for XEmacs (require 'easymenu) (defun p4-mode-menu (modestr) (cons modestr p4-menu-def))) (p4-running-emacs ;; Menu support for Emacs (or (lookup-key global-map [menu-bar]) (define-key global-map [menu-bar] (make-sparse-keymap "menu-bar"))) (defvar menu-bar-p4-menu (make-sparse-keymap "P4")) (setq menu-bar-final-items (cons 'p4-menu menu-bar-final-items)) (define-key global-map [menu-bar p4-menu] (cons "P4" menu-bar-p4-menu)) (let ((m (reverse p4-menu-def)) (separator-number 0)) (while m (let ((menu-text (elt (car m) 0)) (menu-action (elt (car m) 1)) (menu-pred (elt (car m) 2))) (if menu-action (progn (define-key menu-bar-p4-menu (vector menu-action) (cons menu-text menu-action)) (put menu-action 'menu-enable menu-pred)) (define-key menu-bar-p4-menu (vector (make-symbol (concat "separator-" (int-to-string separator-number)))) '("--")) (setq separator-number (1+ separator-number)))) (setq m (cdr m)))))) (defun p4-depot-output (command &optional args) "Executes p4 command inside a buffer. Returns the buffer." (let ((buffer (generate-new-buffer p4-output-buffer-name))) (p4-exec-p4 buffer (cons command args) t) buffer)) (defun p4-check-p4-executable () "Check if the `p4-executable' is nil, and if so, prompt the user for a valid `p4-executable'." (interactive) (if (not p4-executable) (call-interactively 'p4-set-p4-executable) p4-executable)) (defun p4-menu-add () "To add the P4 menu bar button for files that are already not in the P4 depot or in the current client view.." (interactive) (cond (p4-running-xemacs (if (not (boundp 'p4-mode)) (setq p4-mode nil)) (easy-menu-add (p4-mode-menu "P4")))) t) (defun p4-help-text (cmd text) (if cmd (let ((buf (generate-new-buffer p4-output-buffer-name)) (help-text "")) (if (= (p4-exec-p4 buf (list "help" cmd) t) 0) (setq help-text (save-excursion (set-buffer buf) (buffer-string)))) (kill-buffer buf) (concat text help-text)) text)) ;; To set the path to the p4 executable (defun p4-set-p4-executable (p4-exe-name) "Set the path to the correct P4 Executable. To set this as a part of the .emacs, add the following to your .emacs: \(load-library \"p4\"\) \(p4-set-p4-executable \"/my/path/to/p4\"\) Argument P4-EXE-NAME The new value of the p4 executable, with full path." (interactive "fFull path to your P4 executable: " ) (setq p4-executable p4-exe-name) p4-executable)) ;; The kill-buffer hook for p4. (defun p4-kill-buffer-hook () "To Remove a file and its associated buffer from our global list of P4 controlled files." (if p4-vc-check (p4-refresh-refresh-list (p4-buffer-file-name) (buffer-name)))) (defmacro defp4cmd (fkn &rest all-args) (let ((args (car all-args)) (help-cmd (cadr all-args)) (help-txt (eval (cadr (cdr all-args)))) (body (cdr (cddr all-args)))) `(defalias ',fkn ,(append (list 'lambda args (p4-help-text help-cmd help-txt)) body)))) (defun p4-noinput-buffer-action (cmd do-revert show-output &optional arguments preserve-buffer) "Internal function called by various p4 commands." (save-excursion (save-excursion (if (not preserve-buffer) (progn (get-buffer-create p4-output-buffer-name);; We do these two lines (kill-buffer p4-output-buffer-name))) ;; to ensure no duplicates (p4-exec-p4 (get-buffer-create p4-output-buffer-name) (append (list cmd) arguments) t)) (p4-partial-cache-cleanup cmd) (if show-output (if (and (eq show-output 's) (= (save-excursion (set-buffer p4-output-buffer-name) (count-lines (point-min) (point-max))) 1) (not (save-excursion (set-buffer p4-output-buffer-name) (goto-char (point-min)) (looking-at "==== ")))) (save-excursion (set-buffer p4-output-buffer-name) (message (buffer-substring (point-min) (save-excursion (goto-char (point-min)) (end-of-line) (point))))) (p4-push-window-config) (if (not (one-window-p)) (delete-other-windows)) (display-buffer p4-output-buffer-name t)))) (if (and do-revert (p4-buffer-file-name)) (revert-buffer t t))) ;; The p4 edit command (defp4cmd p4-edit (show-output) "edit" "To open the current depot file for edit, type \\[p4-edit].\n" (interactive (list p4-verbose)) (let ((args (p4-buffer-file-name)) refresh-after) (if (or current-prefix-arg (not args)) (progn (setq args (if (p4-buffer-file-name-2) (p4-buffer-file-name-2) "")) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 edit: " (cons args 0)))) (setq refresh-after t)) (setq args (list args))) (p4-noinput-buffer-action "edit" t (and show-output 's) args) (if refresh-after (p4-refresh-files-in-buffers))) (p4-check-mode) (p4-update-opened-list)) ;; The p4 reopen command (defp4cmd p4-reopen (show-output) "reopen" "To change the type or changelist number of an opened file, type \\[p4-reopen]. Argument SHOW-OUTPUT displays the *P4 Output* buffer on executing the command if t.\n" (interactive (list p4-verbose)) (let ((args (if (p4-buffer-file-name-2) (p4-buffer-file-name-2) ""))) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 reopen: " (cons args 0)))) (p4-noinput-buffer-action "reopen" t (and show-output 's) args)) (p4-check-mode) (p4-update-opened-list)) ;; The p4 revert command (defp4cmd p4-revert (show-output) "revert" "To revert all change in the current file, type \\[p4-revert].\n" (interactive (list p4-verbose)) (let ((args (p4-buffer-file-name)) refresh-after) (if (or current-prefix-arg (not args)) (progn (setq args (if (p4-buffer-file-name-2) (p4-buffer-file-name-2) "")) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 revert: " args))) (setq refresh-after t)) (setq args (list args))) (if (yes-or-no-p "Really revert changes? ") (progn (p4-noinput-buffer-action "revert" t (and show-output 's) args) (if refresh-after (progn (p4-refresh-files-in-buffers) (p4-check-mode-all-buffers)) (p4-check-mode)) (p4-update-opened-list))))) ;; The p4 lock command (defp4cmd p4-lock () "lock" "To lock an opened file against changelist submission, type \\[p4-lock].\n" (interactive) (let ((args (list (p4-buffer-file-name-2)))) (if (or current-prefix-arg (not (p4-buffer-file-name-2))) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 lock: " (p4-buffer-file-name-2))))) (p4-noinput-buffer-action "lock" t 's args) (p4-update-opened-list))) ;; The p4 unlock command (defp4cmd p4-unlock () "unlock" "To release a locked file but leave open, type \\[p4-unlock].\n" (interactive) (let ((args (list (p4-buffer-file-name-2)))) (if (or current-prefix-arg (not (p4-buffer-file-name-2))) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 unlock: " (p4-buffer-file-name-2))))) (p4-noinput-buffer-action "unlock" t 's args) (p4-update-opened-list))) ;; The p4 diff command (defp4cmd p4-diff () "diff" "To diff the current file and topmost depot version, type \\[p4-diff].\n" (interactive) (let ((args (p4-make-list-from-string p4-default-diff-options))) (if (p4-buffer-file-name-2) (setq args (append args (list (p4-buffer-file-name-2))))) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 diff: " p4-default-diff-options)))) (p4-noinput-buffer-action "diff" nil 's args) (p4-activate-diff-buffer "*P4 diff*"))) (defun p4-diff-all-opened () (interactive) (p4-noinput-buffer-action "diff" nil 's (p4-make-list-from-string p4-default-diff-options)) (p4-activate-diff-buffer "*P4 diff*")) (defun p4-get-file-rev (default-name rev) (if (string-match "^\\([0-9]+\\|none\\|head\\|have\\)$" rev) (setq rev (concat "#" rev))) (cond ((string-match "^[#@]" rev) (concat default-name rev)) ((string= "" rev) default-name) (t rev))) ;; The p4 diff2 command (defp4cmd p4-diff2 (version1 version2) "diff2" "Display diff of two depot files. When visiting a depot file, type \\[p4-diff2] and enter the versions.\n" (interactive (let ((rev (get-char-property (point) 'rev))) (if (and (not rev) (p4-buffer-file-name-2)) (let ((rev-num 0)) (setq rev (p4-is-vc nil (p4-buffer-file-name-2))) (if rev (setq rev-num (string-to-number rev))) (if (> rev-num 1) (setq rev (number-to-string (1- rev-num))) (setq rev nil)))) (list (p4-read-arg-string "First Depot File or Version# to diff: " rev) (p4-read-arg-string "Second Depot File or Version# to diff: ")))) (let (diff-version1 diff-version2 (diff-options (p4-make-list-from-string p4-default-diff-options))) (if current-prefix-arg (setq diff-options (p4-make-list-from-string (p4-read-arg-string "Optional Args: " p4-default-diff-options)))) ;; try to find out if this is a revision number, or a depot file (setq diff-version1 (p4-get-file-rev (p4-buffer-file-name-2) version1)) (setq diff-version2 (p4-get-file-rev (p4-buffer-file-name-2) version2)) (p4-noinput-buffer-action "diff2" nil t (append diff-options (list diff-version1 diff-version2))) (p4-activate-diff-buffer "*P4 diff2*"))) (defp4cmd p4-diff-head () "diff-head" "Display diff of file against the head revision in depot. When visiting a depot file, type \\[p4-diff-head].\n" (interactive) (let (head-revision (diff-options (p4-make-list-from-string p4-default-diff-options))) (if current-prefix-arg (setq diff-options (p4-make-list-from-string (p4-read-arg-string "Optional Args: " p4-default-diff-options)))) (setq head-revision (p4-get-file-rev (p4-buffer-file-name-2) "head")) (p4-noinput-buffer-action "diff" nil t (append diff-options (list head-revision))) (p4-activate-diff-buffer "*P4 diff vs. head*"))) ;; p4-ediff for all those who diff using ediff (defun p4-ediff () "Use ediff to compare file with its original client version." (interactive) (require 'ediff) (if current-prefix-arg (call-interactively 'p4-ediff2) (progn (p4-noinput-buffer-action "print" nil nil (list "-q" (concat (p4-buffer-file-name) "#have"))) (let ((local (current-buffer)) (depot (get-buffer-create p4-output-buffer-name))) (ediff-buffers local depot `((lambda () (make-local-variable 'ediff-cleanup-hook) (setq ediff-cleanup-hook (cons (lambda () (kill-buffer ,depot) (p4-menu-add)) ediff-cleanup-hook))))))))) (defp4cmd p4-ediff2 (version1 version2) "ediff2" "Use ediff to display two versions of a depot file. When visiting a depot file, type \\[p4-ediff2] and enter the versions.\n" (interactive (let ((rev (get-char-property (point) 'rev))) (if (and (not rev) (p4-buffer-file-name-2)) (let ((rev-num 0)) (setq rev (p4-is-vc nil (p4-buffer-file-name-2))) (if rev (setq rev-num (string-to-number rev))) (if (> rev-num 1) (setq rev (number-to-string (1- rev-num))) (setq rev nil)))) (list (p4-read-arg-string "First Depot File or Version# to diff: " rev) (p4-read-arg-string "Second Depot File or Version# to diff: ")))) (let* ((file-name (p4-buffer-file-name-2)) (basename (file-name-nondirectory file-name)) (bufname1 (concat "*P4 ediff " basename "#" version1 "*")) (bufname2 (concat "*P4 ediff " basename "#" version2 "*")) (diff-version1 (p4-get-file-rev file-name version1)) (diff-version2 (p4-get-file-rev file-name version2))) (p4-noinput-buffer-action "print" nil nil (list "-q" diff-version1)) (set-buffer p4-output-buffer-name) (rename-buffer bufname1 t) (p4-noinput-buffer-action "print" nil nil (list "-q" diff-version2)) (set-buffer p4-output-buffer-name) (rename-buffer bufname2 t) (let ((buffer-version-1 (get-buffer-create bufname1)) (buffer-version-2 (get-buffer-create bufname2))) (ediff-buffers buffer-version-1 buffer-version-2 `((lambda () (make-local-variable 'ediff-cleanup-hook) (setq ediff-cleanup-hook (cons (lambda () (kill-buffer ,buffer-version-1) (kill-buffer ,buffer-version-2) (p4-menu-add)) ediff-cleanup-hook)))))))) ;; The p4 add command (defp4cmd p4-add () "add" "To add the current file to the depot, type \\[p4-add].\n" (interactive) (let ((args (p4-buffer-file-name)) refresh-after) (if (or current-prefix-arg (not args)) (progn (setq args (if (p4-buffer-file-name-2) (p4-buffer-file-name-2) "")) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 add: " (cons args 0)))) (setq refresh-after t)) (setq args (list args))) (p4-noinput-buffer-action "add" nil 's args) (if refresh-after (p4-check-mode-all-buffers) (p4-check-mode))) (p4-update-opened-list)) ;; The p4 delete command (defp4cmd p4-delete () "delete" "To delete the current file from the depot, type \\[p4-delete].\n" (interactive) (let ((args (p4-buffer-file-name))) (if (or current-prefix-arg (not args)) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 delete: " (p4-buffer-file-name-2)))) (setq args (list args))) (if (yes-or-no-p "Really delete from depot? ") (p4-noinput-buffer-action "delete" nil 's args))) (p4-check-mode) (p4-update-opened-list)) ;; The p4 filelog command (defp4cmd p4-filelog () "filelog" "To view a history of the change made to the current file, type \\[p4-filelog].\n" (interactive) (let ((file-name (p4-buffer-file-name-2))) (if (or current-prefix-arg (not file-name)) (setq file-name (p4-make-list-from-string (p4-read-arg-string "p4 filelog: " file-name))) (setq file-name (list file-name))) (p4-file-change-log "filelog" file-name))) (defun p4-set-extent-properties (start end prop-list) (cond (p4-running-xemacs (let ((ext (make-extent start end))) (while prop-list (set-extent-property ext (caar prop-list) (cdar prop-list)) (setq prop-list (cdr prop-list))))) (p4-running-emacs (let ((ext (make-overlay start end))) (while prop-list (overlay-put ext (caar prop-list) (cdar prop-list)) (setq prop-list (cdr prop-list))))))) (defun p4-create-active-link (start end prop-list) (p4-set-extent-properties start end (append (list (cons 'face 'bold) (cons 'mouse-face 'highlight)) prop-list))) (defun p4-move-buffer-point-to-top (buf-name) (if (get-buffer-window buf-name) (save-selected-window (select-window (get-buffer-window buf-name)) (goto-char (point-min))))) (defun p4-file-change-log (cmd file-list-spec) (let ((p4-filelog-buffer (concat "*P4 " cmd ": " (p4-list-to-string file-list-spec) "*"))) (p4-noinput-buffer-action cmd nil t (cons "-l" file-list-spec)) (p4-activate-file-change-log-buffer p4-filelog-buffer))) (defun p4-activate-file-change-log-buffer (bufname) (let (p4-cur-rev p4-cur-change p4-cur-action p4-cur-user p4-cur-client) (p4-activate-print-buffer bufname nil) (set-buffer bufname) (setq buffer-read-only nil) (goto-char (point-min)) (while (re-search-forward (concat "^\\(\\.\\.\\. #\\([0-9]+\\) \\)?[Cc]hange " "\\([0-9]+\\) \\([a-z]+\\)?.*on.*by " "\\([^ @]+\\)@\\([^ \n]+\\).*\n" "\\(\\(\\([ \t].*\\)?\n\\)*\\)") nil t) (let ((rev-match 2) (ch-match 3) (act-match 4) (user-match 5) (cl-match 6) (desc-match 7)) (setq p4-cur-rev (match-string rev-match)) (setq p4-cur-change (match-string ch-match)) (setq p4-cur-action (match-string act-match)) (setq p4-cur-user (match-string user-match)) (setq p4-cur-client (match-string cl-match)) (if (match-beginning rev-match) (p4-create-active-link (match-beginning rev-match) (match-end rev-match) (list (cons 'rev p4-cur-rev)))) (p4-create-active-link (match-beginning ch-match) (match-end ch-match) (list (cons 'change p4-cur-change))) (if (match-beginning act-match) (p4-create-active-link (match-beginning act-match) (match-end act-match) (list (cons 'action p4-cur-action) (cons 'rev p4-cur-rev)))) (p4-create-active-link (match-beginning user-match) (match-end user-match) (list (cons 'user p4-cur-user))) (p4-create-active-link (match-beginning cl-match) (match-end cl-match) (list (cons 'client p4-cur-client))) (p4-set-extent-properties (match-beginning desc-match) (match-end desc-match) (list (cons 'invisible t) (cons 'isearch-open-invisible t))))) (p4-find-change-numbers bufname (point-min) (point-max)) (use-local-map p4-filelog-map) (setq buffer-invisibility-spec (list)) (setq buffer-read-only t) (p4-move-buffer-point-to-top bufname))) ;; Scan specified region for references to change numbers ;; and make the change numbers clickable. (defun p4-find-change-numbers (buffer start end) (save-excursion (set-buffer buffer) (goto-char start) (while (re-search-forward "\\(changes?\\|submit\\|p4\\)[:#]?[ \t\n]+" end t) (while (looking-at (concat "\\([#@]\\|number\\|no\\.\\|\\)[ \t\n]*" "\\([0-9]+\\)[-, \t\n]*" "\\(and/or\\|and\\|&\\|or\\|\\)[ \t\n]*")) (let ((ch-start (match-beginning 2)) (ch-end (match-end 2)) (ch-str (match-string 2)) (next (match-end 0))) (set-text-properties 0 (length ch-str) nil ch-str) (p4-create-active-link ch-start ch-end (list (cons 'change ch-str))) (goto-char next)))))) ;; The p4 files command (defp4cmd p4-files () "files" "List files in the depot. Type, \\[p4-files].\n" (interactive) (let ((args (p4-buffer-file-name-2))) (if (or current-prefix-arg (not args)) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 files: " (p4-buffer-file-name-2)))) (setq args (list args))) (p4-noinput-buffer-action "files" nil t args) (save-excursion (set-buffer p4-output-buffer-name) (p4-find-change-numbers p4-output-buffer-name (point-min) (point-max))) (p4-make-depot-list-buffer (concat "*P4 Files: (" (p4-current-client) ") " (car args) "*")))) (defvar p4-server-version-cache nil) (defun p4-get-server-version () "To get the version number of the p4 server." (let ((p4-port (p4-current-server-port)) ser-ver pmin) (setq ser-ver (cdr (assoc p4-port p4-server-version-cache))) (if (not ser-ver) (save-excursion (get-buffer-create p4-output-buffer-name) (set-buffer p4-output-buffer-name) (goto-char (point-max)) (setq pmin (point)) (if (zerop (p4-call-p4-here "info")) (progn (goto-char pmin) (re-search-forward "^Server version: .*\/.*\/\\(\\([0-9]+\\)\.[0-9]+\\)\/.*(.*)$") (setq ser-ver (string-to-number (match-string 2))) (setq p4-server-version-cache (cons (cons p4-port ser-ver) p4-server-version-cache)) (delete-region pmin (point-max)))))) ser-ver)) (defun p4-get-client-root (client-name) "To get the current value of Client's root type \\[p4-get-client-root]. This can be used by any other macro that requires this value." (let (p4-client-root pmin) (save-excursion (get-buffer-create p4-output-buffer-name) (set-buffer p4-output-buffer-name) (goto-char (point-max)) (setq pmin (point)) (if (zerop (p4-call-p4-here "client" "-o" client-name)) (progn (goto-char pmin) (re-search-forward "^Root:[ \t]+\\(.*\\)$") (setq p4-client-root (p4-canonize-client-root (match-string 1))) (delete-region pmin (point-max))))) p4-client-root)) (defun p4-canonize-client-root (p4-client-root) "Canonizes client root" (let ((len (length p4-client-root))) ;; For Windows, since the client root may be terminated with ;; a \ as in c:\ or drive:\foo\bar\, we need to strip the ;; trailing \ . (if (and (p4-windows-os) (> len 1) (equal (substring p4-client-root (1- len) len) "\\")) (setq p4-client-root (substring p4-client-root 0 (1- len)))) p4-client-root)) (defun p4-map-depot-files (file-list) "Map a list of files in the depot on the current client. Return a list of pairs, where each pair consists of a depot name and a client name." (let (file-map) (while file-list (let (sub-list (arg-len 0) elt) (while (and file-list (< arg-len p4-exec-arg-len-max)) (setq elt (car file-list)) (setq file-list (cdr file-list)) (setq sub-list (cons elt sub-list)) (setq arg-len (+ arg-len (length elt) 1))) (setq file-map (append file-map (p4-map-depot-files-int sub-list))))) file-map)) (defun p4-map-depot-files-int (file-list) (let* ((current-client (p4-current-client)) (client-root (p4-get-client-root current-client)) (re-current-client (regexp-quote current-client)) (re-client-root (regexp-quote client-root)) files pmin) (save-excursion (get-buffer-create p4-output-buffer-name) (set-buffer p4-output-buffer-name) (goto-char (point-max)) (setq pmin (point)) (insert "\n") (apply 'p4-call-p4-here "where" file-list) (goto-char pmin) (if (< (p4-get-server-version) 98) (while (re-search-forward (concat "^\\([^\n]+\\) //" re-current-client "\\(.*\\)$") nil t) (setq files (cons (cons (match-string 1) (concat client-root (match-string 2))) files))) (while (re-search-forward (concat "^\\([^\n]+\\) //" re-current-client "\\([^\n]+\\) \\(" re-client-root ".*\\)$") nil t) (setq files (cons (cons (match-string 1) (match-string 3)) files)))) (delete-region pmin (point-max))) files)) (defun p4-make-face (face-name fg bg) "Creates a new face if it does not already exist." (let ((face (facep face-name))) (cond ((null face) (make-face face-name) (if (not (null bg)) (set-face-background face-name bg) t) (if (not (null fg)) (set-face-foreground face-name fg) t))))) (p4-make-face 'p4-depot-unmapped-face "grey30" nil) (p4-make-face 'p4-depot-deleted-face "red" nil) (p4-make-face 'p4-depot-added-face "blue" nil) (p4-make-face 'p4-depot-branch-op-face "blue4" nil) (defun p4-make-depot-list-buffer (bufname &optional print-buffer) "Take the p4-output-buffer-name buffer, rename it to bufname, and make all depot file names active, so that clicking them opens the corresponding client file." (let (args files depot-regexp) (set-buffer p4-output-buffer-name) (goto-char (point-min)) (setq depot-regexp (if print-buffer "\\(^\\)\\(//[^/@# ][^/@#]*/[^@#]+\\)#[0-9]+ - " "^\\(\\.\\.\\. [^/\n]*\\|==== \\)?\\(//[^/@# ][^/@#]*/[^#\n]*\\)")) (while (re-search-forward depot-regexp nil t) (setq args (cons (match-string 2) args))) (setq files (p4-map-depot-files args)) (get-buffer-create bufname);; We do these two lines (kill-buffer bufname);; to ensure no duplicates (set-buffer p4-output-buffer-name) (rename-buffer bufname t) (goto-char (point-min)) (while (re-search-forward depot-regexp nil t) (let ((p4-client-file (cdr (assoc (match-string 2) files))) (p4-depot-file (match-string 2)) (start (match-beginning 2)) (end (match-end 2)) (branching-op-p (and (match-string 1) (string-match "\\.\\.\\. \\.\\.\\..*" (match-string 1)))) prop-list) (if (and p4-client-file (file-readable-p p4-client-file)) (setq prop-list (list (cons 'link-client-name p4-client-file))) (setq prop-list (list (cons 'link-depot-name p4-depot-file)))) ;; some kind of operation related to branching/integration (if branching-op-p (setq prop-list (append (list (cons 'history-for p4-depot-file) (cons 'face 'p4-depot-branch-op-face)) prop-list))) (cond ((not p4-client-file) (p4-set-extent-properties start end (append (list (cons 'face 'p4-depot-unmapped-face)) prop-list))) ((save-excursion (goto-char end) (looking-at ".* deleted?[ \n]")) (p4-set-extent-properties start end (append (list (cons 'face 'p4-depot-deleted-face)) prop-list))) ((save-excursion (goto-char end) (looking-at ".* \\(add\\|branch\\)\\(ed\\)?[ \n]")) (p4-create-active-link start end (append (list (cons 'face 'p4-depot-added-face)) prop-list))) (t (p4-create-active-link start end prop-list))))) (use-local-map p4-opened-map) (setq buffer-read-only t) (p4-move-buffer-point-to-top bufname))) ;; The p4 print command (defp4cmd p4-print () "print" "To print a depot file to a buffer, type \\[p4-print].\n" (interactive) (let ((arg-string (p4-buffer-file-name-2)) (rev (get-char-property (point) 'rev)) (change (get-char-property (point) 'change))) (cond (rev (setq arg-string (concat arg-string "#" rev))) (change (setq arg-string (concat arg-string "@" change)))) (if (or current-prefix-arg (not arg-string)) (setq arg-string (p4-make-list-from-string (p4-read-arg-string "p4 print: " arg-string))) (setq arg-string (list arg-string))) (p4-noinput-buffer-action "print" nil t arg-string) (p4-activate-print-buffer "*P4 print*" t))) ;; Insert text in a buffer, but make sure that the inserted text doesn't ;; inherit any properties from surrounding text. This is needed for xemacs ;; because the insert function makes the inserted text inherit properties. (defun p4-insert-no-properties (str) (let ((start (point)) end) (insert str) (setq end (point)) (set-text-properties start end nil))) (defun p4-font-lock-buffer (buf-name) (save-excursion (let (file-name (first-line "")) (set-buffer buf-name) (goto-char (point-min)) (if (looking-at "^//[^#@]+/\\([^/#@]+\\)") (progn (setq file-name (match-string 1)) (forward-line 1) (setq first-line (buffer-substring (point-min) (point))) (delete-region (point-min) (point)))) (setq buffer-file-name file-name) (set-auto-mode) (setq buffer-file-name nil) (condition-case nil (font-lock-fontify-buffer) (error nil)) (fundamental-mode) (if (and p4-running-emacs (boundp 'hilit-auto-rehighlight)) (setq hilit-auto-rehighlight nil)) (goto-char (point-min)) (p4-insert-no-properties first-line)))) (defun p4-activate-print-buffer (buffer-name print-buffer) (if print-buffer (p4-font-lock-buffer p4-output-buffer-name)) (p4-make-depot-list-buffer buffer-name print-buffer) (let ((depot-regexp (if print-buffer "^\\(//[^/@# ][^/@#]*/\\)[^@#]+#[0-9]+ - " "^\\(//[^/@# ][^/@#]*/\\)"))) (save-excursion (set-buffer buffer-name) (setq buffer-read-only nil) (goto-char (point-min)) (while (re-search-forward depot-regexp nil t) (let ((link-client-name (get-char-property (match-end 1) 'link-client-name)) (link-depot-name (get-char-property (match-end 1) 'link-depot-name)) (start (match-beginning 1)) (end (point-max))) (save-excursion (if (re-search-forward depot-regexp nil t) (setq end (match-beginning 1)))) (if link-client-name (p4-set-extent-properties start end (list (cons 'block-client-name link-client-name)))) (if link-depot-name (p4-set-extent-properties start end (list (cons 'block-depot-name link-depot-name)))))) (setq buffer-read-only t)))) (defconst p4-blame-change-regex (concat "^\\.\\.\\. #" "\\([0-9]+\\)" ;; revision "\\s-+change\\s-+" "\\([0-9]+\\)" ;; change "\\s-+" "\\([^ \t]+\\)" ;; type "\\s-+on\\s-+" "\\([^ \t]+\\)" ;; date "\\s-+by\\s-+" "\\([^ \t]+\\)" ;; author "@")) (defconst p4-blame-branch-regex "^\\.\\.\\. \\.\\.\\. branch from \\(//[^#]*\\)#") (defconst p4-blame-revision-regex (concat "^\\([0-9]+\\),?" "\\([0-9]*\\)" "\\([acd]\\)" "\\([0-9]+\\),?" "\\([0-9]*\\)")) (defconst p4-blame-index-regex (concat " *\\([0-9]+\\)" ;; change " *\\([0-9]+\\)" ;; revision " *\\([0-9]+/[0-9]+/[0-9]+\\)" ;; date "\\s-+\\([^:]*\\)" ;; author ":")) (defconst P4-REV 0) (defconst P4-DATE 1) (defconst P4-AUTH 2) (defconst P4-FILE 3) (defun p4-blame () "To Print a depot file with revision history to a buffer, type \\[p4-blame]" (interactive) (let ((arg-string (p4-buffer-file-name-2)) (rev (get-char-property (point) 'rev)) (change (get-char-property (point) 'change))) (cond (rev (setq arg-string (concat arg-string "#" rev))) (change (setq arg-string (concat arg-string "@" change)))) (if (or current-prefix-arg (not arg-string)) (setq arg-string (p4-read-arg-string "p4 print-revs: " arg-string))) (p4-blame-int arg-string))) (defalias 'p4-print-with-rev-history 'p4-blame) (defun p4-blame-int (file-spec) (get-buffer-create p4-output-buffer-name);; We do these two lines (kill-buffer p4-output-buffer-name) ;; to ensure no duplicates (let ((file-name file-spec) (buffer (get-buffer-create p4-output-buffer-name)) head-name ;; file spec of the head revision for this blame assignment branch-p ;; have we tracked into a branch? cur-file ;; file name of the current branch during blame assignment change ch-alist fullname head-rev headseen) ;; we asked for blame constrained by a change number (if (string-match "\\(.*\\)@\\([0-9]+\\)" file-spec) (progn (setq file-name (match-string 1 file-spec)) (setq change (string-to-int (match-string 2 file-spec))))) ;; we asked for blame constrained by a revision (if (string-match "\\(.*\\)#\\([0-9]+\\)" file-spec) (progn (setq file-name (match-string 1 file-spec)) (setq head-rev (string-to-int (match-string 2 file-spec))))) ;; make sure the filespec is unambiguous (p4-exec-p4 buffer (list "files" file-name) t) (save-excursion (set-buffer buffer) (if (> (count-lines (point-min) (point-max)) 1) (error "File pattern maps to more than one file."))) ;; get the file change history: (p4-exec-p4 buffer (list "filelog" "-i" file-spec) t) (setq fullname (p4-read-depot-output buffer) cur-file fullname head-name fullname) ;; parse the history: (save-excursion (set-buffer buffer) (goto-char (point-min)) (while (< (point) (point-max)) ;; record the current file name (and the head file name, ;; if we have not yet seen one): (if (looking-at "^\\(//.*\\)$") (setq cur-file (match-string 1))) ;; a non-branch change: (if (looking-at p4-blame-change-regex) (let ((rev (string-to-int (match-string 1))) (ch (string-to-int (match-string 2))) (op (match-string 3)) (date (match-string 4)) (author (match-string 5))) (cond ;; after the change constraint, OR ;; after the revision constraint _for this file_ ;; [remember, branches complicate this]: ((or (and change (< change ch)) (and head-rev (< head-rev rev) (string= head-name cur-file))) nil) ;; file has been deleted, can't assign blame: ((string= op "delete") (if (not headseen) (goto-char (point-max)))) ;; OK, we actually want to look at this one: (t (setq ch-alist (cons (cons ch (list rev date author cur-file)) ch-alist)) (if (not head-rev) (setq head-rev rev)) (setq headseen t)) )) ;; not if we have entered a branch (this used to be used, isn't ;; right now - maybe again later: (if (and headseen (looking-at p4-blame-branch-regex)) (setq branch-p t)) ) (forward-line))) (if (< (length ch-alist) 1) (error "Head revision not available")) (let ((base-ch (int-to-string (caar ch-alist))) (ch-buffer (get-buffer-create "p4-ch-buf")) (tmp-alst (copy-alist ch-alist))) (p4-exec-p4 ch-buffer (list "print" "-q" (concat cur-file "@" base-ch)) t) (save-excursion (set-buffer ch-buffer) (goto-char (point-min)) (while (re-search-forward ".*\n" nil t) (replace-match (concat base-ch "\n")))) (while (> (length tmp-alst) 1) (let ((ch-1 (car (car tmp-alst))) (ch-2 (car (cadr tmp-alst))) (file1 (nth P4-FILE (cdr (car tmp-alst)))) (file2 (nth P4-FILE (cdr (cadr tmp-alst)))) ins-string) (setq ins-string (format "%d\n" ch-2)) (p4-exec-p4 buffer (list "diff2" (format "%s@%d" file1 ch-1) (format "%s@%d" file2 ch-2)) t) (save-excursion (set-buffer buffer) (goto-char (point-max)) (while (re-search-backward p4-blame-revision-regex nil t) (let ((la (string-to-int (match-string 1))) (lb (string-to-int (match-string 2))) (op (match-string 3)) (ra (string-to-int (match-string 4))) (rb (string-to-int (match-string 5)))) (if (= lb 0) (setq lb la)) (if (= rb 0) (setq rb ra)) (cond ((string= op "a") (setq la (1+ la))) ((string= op "d") (setq ra (1+ ra)))) (save-excursion (set-buffer ch-buffer) (goto-line la) (let ((beg (point))) (forward-line (1+ (- lb la))) (delete-region beg (point))) (while (<= ra rb) (insert ins-string) (setq ra (1+ ra))))))) (setq tmp-alst (cdr tmp-alst)))) (p4-noinput-buffer-action "print" nil t (list (format "%s#%d" fullname head-rev)) t) (p4-font-lock-buffer p4-output-buffer-name) (let (line cnum (old-cnum 0) change-data xth-rev xth-date xth-auth xth-file) (save-excursion (set-buffer buffer) (goto-line 2) (move-to-column 0) (p4-insert-no-properties "Change Rev Date Author\n") (while (setq line (p4-read-depot-output ch-buffer)) (setq cnum (string-to-int line)) (if (= cnum old-cnum) (p4-insert-no-properties (format "%29s : " "")) ;; extract the change data from our alist: remember, ;; `eq' works for integers so we can use assq here: (setq change-data (cdr (assq cnum ch-alist)) xth-rev (nth P4-REV change-data) xth-date (nth P4-DATE change-data) xth-auth (nth P4-AUTH change-data) xth-file (nth P4-FILE change-data)) (p4-insert-no-properties (format "%6d %4d %10s %7s: " cnum xth-rev xth-date xth-auth)) (move-to-column 0) (if (looking-at p4-blame-index-regex) (let ((nth-cnum (match-string 1)) (nth-revn (match-string 2)) (nth-user (match-string 4))) (p4-create-active-link (match-beginning 1) (match-end 1) (list (cons 'change nth-cnum))) ;; revision needs to be linked to a file now that we ;; follow integrations (branches): (p4-create-active-link (match-beginning 2) (match-end 2) (list (cons 'rev nth-revn) (cons 'link-depot-name xth-file))) (p4-create-active-link (match-beginning 4) (match-end 4) (list (cons 'user nth-user))) ;; truncate the user name: (let ((start (+ (match-beginning 4) 7)) (end (match-end 4))) (if (> end start) (delete-region start end)))))) (setq old-cnum cnum) (forward-line)))) (kill-buffer ch-buffer)) (let ((buffer-name (concat "*P4 print-revs " file-name "*"))) (p4-activate-print-buffer buffer-name nil) (save-excursion (set-buffer buffer-name) (setq truncate-lines t) (use-local-map p4-print-rev-map))))) ;; The p4 refresh command (defp4cmd p4-refresh () "sync" "Refresh the contents of an unopened file. \\[p4-refresh]. This is equivalent to \"sync -f\" " (interactive) (let ((args (p4-buffer-file-name))) (if (or current-prefix-arg (not args)) (setq args (p4-make-list-from-string (p4-read-arg-string "p4 refresh: "))) (setq args (list args))) (p4-noinput-buffer-action "refresh" nil t args) (p4-refresh-files-in-buffers) (p4-make-depot-list-buffer (concat "*P4 Refresh: (" (p4-current-client) ") " (car args) "*")))) ;; The p4 get/sync command (defp4cmd p4-sync () "sync" "To synchronise the local view with the depot, type \\[p4-get].\n" (interactive) (p4-get)) (defp4cmd p4-get () "sync" "To synchronise the local view with the depot, type \\[p4-get].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 get: ")))) (p4-noinput-buffer-action "get" nil t args) (p4-refresh-files-in-buffers) (p4-make-depot-list-buffer (concat "*P4 Get: (" (p4-current-client) ") " (car args) "*")))) ;; The p4 have command (defp4cmd p4-have () "have" "To list revisions last gotten, type \\[p4-have].\n" (interactive) (let ((args (list "..."))) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 have: " (p4-buffer-file-name-2))))) (p4-noinput-buffer-action "have" nil t args) (p4-make-depot-list-buffer (concat "*P4 Have: (" (p4-current-client) ") " (car args) "*")))) ;; The p4 changes command (defp4cmd p4-changes () "changes" "To list changes, type \\[p4-changes].\n" (interactive) (let ((arg-list (list "-m" "200" "..."))) (if current-prefix-arg (setq arg-list (p4-make-list-from-string (p4-read-arg-string "p4 changes: " "-m 200")))) (p4-file-change-log "changes" arg-list))) ;; The p4 help command (defp4cmd p4-help (arg) "help" "To print help message, type \\[p4-help]. Argument ARG command for which help is needed. " (interactive (list (p4-make-list-from-string (p4-read-arg-string "Help on which command: " nil "help")))) (p4-noinput-buffer-action "help" nil t arg) (p4-make-basic-buffer "*P4 help*")) (defun p4-make-basic-buffer (buf-name &optional map) "rename `p4-output-buffer-name' to buf-name \(which will be killed first if it already exists\), set its local map to map, if specified, or `p4-basic-map' otherwise. Makes the buffer read only." (get-buffer-create buf-name) (kill-buffer buf-name) (set-buffer p4-output-buffer-name) (goto-char (point-min)) (rename-buffer buf-name t) (use-local-map (if (keymapp map) map p4-basic-map)) (setq buffer-read-only t) (p4-move-buffer-point-to-top buf-name)) ;; The p4 info command (defp4cmd p4-info () "info" "To print out client/server information, type \\[p4-info].\n" (interactive) (p4-noinput-buffer-action "info" nil t) (p4-make-basic-buffer "*P4 info*")) ;; The p4 integrate command (defp4cmd p4-integ () "integ" "To schedule integrations between branches, type \\[p4-integ].\n" (interactive) (let ((args (p4-make-list-from-string (p4-read-arg-string "p4 integ: " "-b ")))) (p4-noinput-buffer-action "integ" nil t args) (p4-make-depot-list-buffer "*P4 integ*"))) (defp4cmd p4-resolve () "resolve" "To merge open files with other revisions or files, type \\[p4-resolve].\n" (interactive) (let (buffer args (buf-name "*p4 resolve*")) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 resolve: " nil)))) (setq buffer (get-buffer buf-name)) (if (and (buffer-live-p buffer) (not (comint-check-proc buffer))) (save-excursion (let ((cur-dir default-directory)) (set-buffer buffer) (cd cur-dir) (goto-char (point-max)) (insert "\n--------\n\n")))) (setq args (cons "resolve" args)) (setq buffer (apply 'make-comint "p4 resolve" p4-executable nil "-d" default-directory args)) (set-buffer buffer) (comint-mode) (display-buffer buffer) (select-window (get-buffer-window buffer)) (goto-char (point-max)))) (defp4cmd p4-rename () "rename" "To rename a file in the depot, type \\[p4-rename]. This command will execute the integrate/delete commands automatically. " (interactive) (let (from-file to-file) (setq from-file (p4-read-arg-string "rename from: " (p4-buffer-file-name-2))) (setq to-file (p4-read-arg-string "rename to: " (p4-buffer-file-name-2))) (p4-noinput-buffer-action "integ" nil t (list from-file to-file)) (p4-exec-p4 (get-buffer-create p4-output-buffer-name) (list "delete" from-file) nil))) (defun p4-scroll-down-1-line () "Scroll down one line" (interactive) (scroll-down 1)) (defun p4-scroll-up-1-line () "Scroll up one line" (interactive) (scroll-up 1)) (defun p4-scroll-down-1-window () "Scroll down one window" (interactive) (scroll-down (- (window-height) next-screen-context-lines))) (defun p4-scroll-up-1-window () "Scroll up one window" (interactive) (scroll-up (- (window-height) next-screen-context-lines))) (defun p4-top-of-buffer () "Top of buffer" (interactive) (goto-char (point-min))) (defun p4-bottom-of-buffer () "Bottom of buffer" (interactive) (goto-char (point-max))) (defun p4-delete-other-windows () "Make buffer full height" (interactive) (delete-other-windows)) (defun p4-goto-next-diff () "Next diff" (interactive) (goto-char (window-start)) (if (= (point) (point-max)) (error "At bottom")) (forward-line 1) (re-search-forward "^====" nil "") (beginning-of-line) (set-window-start (selected-window) (point))) (defun p4-goto-prev-diff () "Previous diff" (interactive) (if (= (point) (point-min)) (error "At top")) (goto-char (window-start)) (re-search-backward "^====" nil "") (set-window-start (selected-window) (point))) (defun p4-next-depot-file () "Next file" (interactive) (goto-char (window-start)) (if (= (point) (point-max)) (error "At bottom")) (forward-line 1) (re-search-forward "^//[^/@# ][^/@#]*/[^@#]+#[0-9]+ - " nil "") (beginning-of-line) (set-window-start (selected-window) (point))) (defun p4-prev-depot-file () "Previous file" (interactive) (if (= (point) (point-min)) (error "At top")) (goto-char (window-start)) (re-search-backward "^//[^/@# ][^/@#]*/[^@#]+#[0-9]+ - " nil "") (set-window-start (selected-window) (point))) (defun p4-next-depot-diff () "Next diff" (interactive) (goto-char (window-start)) (if (= (point) (point-max)) (error "At bottom")) (forward-line 1) (re-search-forward "^\\(@@\\|\\*\\*\\* \\|[0-9]+[,acd]\\)" nil "") (beginning-of-line) (set-window-start (selected-window) (point))) (defun p4-prev-depot-diff () "Previous diff" (interactive) (if (= (point) (point-min)) (error "At top")) (goto-char (window-start)) (re-search-backward "^\\(@@\\|\\*\\*\\* \\|[0-9]+[,acd]\\)" nil "") (set-window-start (selected-window) (point))) (defun p4-moveto-print-rev-column (old-column) (let ((colon (save-excursion (move-to-column 0) (if (looking-at "[^:\n]*:") (progn (goto-char (match-end 0)) (current-column)) 0)))) (move-to-column old-column) (if (and (< (current-column) colon) (re-search-forward "[^ ][ :]" nil t)) (goto-char (match-beginning 0))))) (defun p4-next-change-rev-line () "Next change/revision line" (interactive) (let ((c (current-column))) (move-to-column 1) (re-search-forward "^ *[0-9]+ +[0-9]+[^:]+:" nil "") (p4-moveto-print-rev-column c))) (defun p4-prev-change-rev-line () "Previous change/revision line" (interactive) (let ((c (current-column))) (forward-line -1) (move-to-column 32) (re-search-backward "^ *[0-9]+ +[0-9]+[^:]*:" nil "") (p4-moveto-print-rev-column c))) (defun p4-toggle-line-wrap () "Toggle line wrap mode" (interactive) (setq truncate-lines (not truncate-lines)) (save-window-excursion (recenter))) (defun p4-quit-current-buffer (pnt) "Quit a buffer" (interactive "d") (if (not (one-window-p)) (delete-window) (bury-buffer))) (defun p4-buffer-mouse-clicked (event) "Function to translate the mouse clicks in a P4 filelog buffer to character events" (interactive "e") (let (win pnt) (cond (p4-running-xemacs (setq win (event-window event)) (setq pnt (event-point event))) (p4-running-emacs (setq win (posn-window (event-end event))) (setq pnt (posn-point (event-start event))))) (select-window win) (goto-char pnt) (p4-buffer-commands pnt))) (defun p4-buffer-mouse-clicked-3 (event) "Function to translate the mouse clicks in a P4 filelog buffer to character events" (interactive "e") (let (win pnt) (cond (p4-running-xemacs (setq win (event-window event)) (setq pnt (event-point event))) (p4-running-emacs (setq win (posn-window (event-end event))) (setq pnt (posn-point (event-start event))))) (select-window win) (goto-char pnt) (let ((link-name (or (get-char-property pnt 'link-client-name) (get-char-property pnt 'link-depot-name))) (rev (get-char-property pnt 'rev))) (cond (link-name (p4-diff)) (rev (p4-diff2 rev "#head")) (t (error "No file to diff!")))))) (defun p4-buffer-commands (pnt) "Function to get a given property and do the appropriate command on it" (interactive "d") (let ((rev (get-char-property pnt 'rev)) (change (get-char-property pnt 'change)) (action (get-char-property pnt 'action)) (user (get-char-property pnt 'user)) (group (get-char-property pnt 'group)) (client (get-char-property pnt 'client)) (label (get-char-property pnt 'label)) (branch (get-char-property pnt 'branch)) (filename (p4-buffer-file-name-2))) (cond ((and (not action) rev) (let ((fn1 (concat filename "#" rev))) (p4-noinput-buffer-action "print" nil t (list fn1)) (p4-activate-print-buffer "*P4 print*" t))) (action (let* ((rev2 (int-to-string (1- (string-to-int rev)))) (fn1 (concat filename "#" rev)) (fn2 (concat filename "#" rev2))) (if (> (string-to-int rev2) 0) (progn (p4-noinput-buffer-action "diff2" nil t (append (p4-make-list-from-string p4-default-diff-options) (list fn2 fn1))) (p4-activate-diff-buffer "*P4 diff*")) (error "There is no earlier revision to diff.")))) (change (p4-describe-internal (append (p4-make-list-from-string p4-default-diff-options) (list change)))) (user (p4-async-process-command "user" nil (concat "*P4 User: " user "*") "user" (list user))) (client (p4-async-process-command "client" "Description:\n\t" (concat "*P4 Client: " client "*") "client" (list client))) (label (p4-label (list label))) (branch (p4-branch (list branch))) ;; Check if a "filename link" or an active "diff buffer area" was ;; selected. (t (let ((link-client-name (get-char-property pnt 'link-client-name)) (link-depot-name (get-char-property pnt 'link-depot-name)) (block-client-name (get-char-property pnt 'block-client-name)) (block-depot-name (get-char-property pnt 'block-depot-name)) (p4-history-for (get-char-property pnt 'history-for)) (first-line (get-char-property pnt 'first-line)) (start (get-char-property pnt 'start))) (cond (p4-history-for (p4-file-change-log "filelog" (list p4-history-for))) ((or link-client-name link-depot-name) (p4-find-file-or-print-other-window link-client-name link-depot-name)) ((or block-client-name block-depot-name) (if first-line (let ((c (max 0 (- pnt (save-excursion (goto-char pnt) (beginning-of-line) (point)) 1))) (r first-line)) (save-excursion (goto-char start) (while (re-search-forward "^[ +>].*\n" pnt t) (setq r (1+ r)))) (p4-find-file-or-print-other-window block-client-name block-depot-name) (goto-line r) (if (not block-client-name) (forward-line 1)) (beginning-of-line) (goto-char (+ (point) c))) (p4-find-file-or-print-other-window block-client-name block-depot-name))) (t (error "There is no file at that cursor location!")))))))) (defun p4-find-file-or-print-other-window (client-name depot-name) (if client-name (find-file-other-window client-name) (p4-noinput-buffer-action "print" nil t (list depot-name)) (p4-activate-print-buffer depot-name t) (other-window 1))) (defun p4-find-file-other-window () "Open/print file" (interactive) (let ((link-client-name (get-char-property (point) 'link-client-name)) (link-depot-name (get-char-property (point) 'link-depot-name)) (block-client-name (get-char-property (point) 'block-client-name)) (block-depot-name (get-char-property (point) 'block-depot-name))) (cond ((or link-client-name link-depot-name) (p4-find-file-or-print-other-window link-client-name link-depot-name) (other-window 1)) ((or block-client-name block-depot-name) (p4-find-file-or-print-other-window block-client-name block-depot-name) (other-window 1))))) (defun p4-filelog-short-format () "Short format" (interactive) (setq buffer-invisibility-spec t) (redraw-display)) (defun p4-filelog-long-format () "Long format" (interactive) (setq buffer-invisibility-spec (list)) (redraw-display)) (defun p4-scroll-down-1-line-other-w () "Scroll other window down one line" (interactive) (scroll-other-window -1)) (defun p4-scroll-up-1-line-other-w () "Scroll other window up one line" (interactive) (scroll-other-window 1)) (defun p4-scroll-down-1-window-other-w () "Scroll other window down one window" (interactive) (scroll-other-window (- next-screen-context-lines (window-height)))) (defun p4-scroll-up-1-window-other-w () "Scroll other window up one window" (interactive) (scroll-other-window (- (window-height) next-screen-context-lines))) (defun p4-top-of-buffer-other-w () "Top of buffer, other window" (interactive) (other-window 1) (goto-char (point-min)) (other-window -1)) (defun p4-bottom-of-buffer-other-w () "Bottom of buffer, other window" (interactive) (other-window 1) (goto-char (point-max)) (other-window -1)) (defun p4-goto-next-change () "Next change" (interactive) (let ((c (current-column))) (forward-line 1) (while (get-char-property (point) 'invisible) (forward-line 1)) (move-to-column c))) (defun p4-goto-prev-change () "Previous change" (interactive) (let ((c (current-column))) (forward-line -1) (while (get-char-property (point) 'invisible) (forward-line -1)) (move-to-column c))) ;; Activate special handling for a buffer generated with a diff-like command (p4-make-face 'p4-diff-file-face nil "gray90") (p4-make-face 'p4-diff-head-face nil "gray95") (p4-make-face 'p4-diff-ins-face "blue" nil) (p4-make-face 'p4-diff-del-face "red" nil) (p4-make-face 'p4-diff-change-face "dark green" nil) (defun p4-buffer-set-face-property (regexp face-property) (save-excursion (goto-char (point-min)) (while (re-search-forward regexp nil t) (let ((start (match-beginning 0)) (end (match-end 0))) (p4-set-extent-properties start end (list (cons 'face face-property))))))) (defun p4-activate-diff-buffer (buffer-name) (p4-make-depot-list-buffer buffer-name) (save-excursion (set-buffer buffer-name) (setq buffer-read-only nil) (if p4-colorized-diffs (progn (p4-buffer-set-face-property "^=.*\n" 'p4-diff-file-face) (p4-buffer-set-face-property "^[@*].*" 'p4-diff-head-face) (p4-buffer-set-face-property "^\\([+>].*\n\\)+" 'p4-diff-ins-face) (p4-buffer-set-face-property "^\\([-<].*\n\\)+" 'p4-diff-del-face) (p4-buffer-set-face-property "^\\(!.*\n\\)+" 'p4-diff-change-face))) (goto-char (point-min)) (while (re-search-forward "^\\(==== //\\).*\n" nil t) (let* ((link-client-name (get-char-property (match-end 1) 'link-client-name)) (link-depot-name (get-char-property (match-end 1) 'link-depot-name)) (start (match-beginning 0)) (end (save-excursion (if (re-search-forward "^==== " nil t) (match-beginning 0) (point-max))))) (if link-client-name (p4-set-extent-properties start end (list (cons 'block-client-name link-client-name)))) (if link-depot-name (p4-set-extent-properties start end (list (cons 'block-depot-name link-depot-name)))))) (goto-char (point-min)) (while (re-search-forward (concat "^[@0-9].*\\([cad+]\\)\\([0-9]*\\).*\n" "\\(\\(\n\\|[^@0-9\n].*\n\\)*\\)") nil t) (let ((first-line (string-to-int (match-string 2))) (start (match-beginning 3)) (end (match-end 3))) (p4-set-extent-properties start end (list (cons 'first-line first-line) (cons 'start start))))) (goto-char (point-min)) (let ((stop (if (re-search-forward "^\\(\\.\\.\\.\\|====\\)" nil t) (match-beginning 0) (point-max)))) (p4-find-change-numbers buffer-name (point-min) stop)) (goto-char (point-min)) (if (looking-at "^Change [0-9]+ by \\([^ @]+\\)@\\([^ \n]+\\)") (let ((user-match 1) (cl-match 2) cur-user cur-client) (setq cur-user (match-string user-match)) (setq cur-client (match-string cl-match)) (p4-create-active-link (match-beginning user-match) (match-end user-match) (list (cons 'user cur-user))) (p4-create-active-link (match-beginning cl-match) (match-end cl-match) (list (cons 'client cur-client))))) (use-local-map p4-diff-map) (setq buffer-read-only t))) ;; The p4 describe command (defp4cmd p4-describe () "describe" "To get a description for a change number, type \\[p4-describe].\n" (interactive) (let ((arg-string (p4-make-list-from-string (read-string "p4 describe: " (concat p4-default-diff-options " "))))) (p4-describe-internal arg-string))) ;; Internal version of the p4 describe command (defun p4-describe-internal (arg-string) (p4-noinput-buffer-action "describe" nil t arg-string) (p4-activate-diff-buffer (concat "*P4 describe: " (p4-list-to-string arg-string) "*"))) ;; The p4 opened command (defp4cmd p4-opened () "opened" "To display list of files opened for pending change, type \\[p4-opened].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 opened: " (p4-buffer-file-name-2))))) (p4-opened-internal args))) (defun p4-opened-internal (args) (let ((p4-client (p4-current-client))) (p4-noinput-buffer-action "opened" nil t args) (p4-make-depot-list-buffer (concat "*Opened Files: " p4-client "*")))) (defun p4-update-opened-list () (if (get-buffer-window (concat "*Opened Files: " (p4-current-client) "*")) (progn (setq current-prefix-arg nil) (p4-opened-internal nil)))) (defun p4-regexp-create-links (buffer-name regexp property) (save-excursion (set-buffer buffer-name) (setq buffer-read-only nil) (goto-char (point-min)) (while (re-search-forward regexp nil t) (let ((start (match-beginning 1)) (end (match-end 1)) (str (match-string 1))) (p4-create-active-link start end (list (cons property str))))) (setq buffer-read-only t))) ;; The p4 users command (defp4cmd p4-users () "users" "To display list of known users, type \\[p4-users].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 users: " nil "user")))) (p4-noinput-buffer-action "users" nil t args)) (p4-make-basic-buffer "*P4 users*") (p4-regexp-create-links "*P4 users*" "^\\([^ ]+\\).*\n" 'user)) (defp4cmd p4-groups () "groups" "To display list of known groups, type \\[p4-groups].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 groups: " nil "group")))) (p4-noinput-buffer-action "groups" nil t args)) (p4-make-basic-buffer "*P4 groups*") (p4-regexp-create-links "*P4 groups*" "^\\(.*\\)\n" 'group)) ;; The p4 jobs command (defp4cmd p4-jobs () "jobs" "To display list of jobs, type \\[p4-jobs].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 jobs: ")))) (p4-noinput-buffer-action "jobs" nil t args)) (p4-make-basic-buffer "*P4 jobs*")) ;; The p4 fix command (defp4cmd p4-fix () "fix" "To mark jobs as being fixed by a changelist number, type \\[p4-fix].\n" (interactive) (let ((args (p4-make-list-from-string (p4-read-arg-string "p4 fix: " nil "job")))) (p4-noinput-buffer-action "fix" nil t args))) ;; The p4 fixes command (defp4cmd p4-fixes () "fixes" "To list what changelists fix what jobs, type \\[p4-fixes].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 fixes: ")))) (p4-noinput-buffer-action "fixes" nil t args) (p4-make-basic-buffer "*P4 fixes*"))) ;; The p4 where command (defp4cmd p4-where () "where" "To show how local file names map into depot names, type \\[p4-where].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 where: " (p4-buffer-file-name-2))))) (p4-noinput-buffer-action "where" nil 's args))) (defun p4-async-process-command (p4-this-command &optional p4-regexp p4-this-buffer p4-out-command p4-in-args p4-out-args) "Internal function to call an asynchronous process with a local buffer, instead of calling an external client editor to run within emacs. Arguments: P4-THIS-COMMAND is the command that called this internal function. P4-REGEXP is the optional regular expression to search for to set the cursor on. P4-THIS-BUFFER is the optional buffer to create. (Default is *P4 <command>*). P4-OUT-COMMAND is the optional command that will be used as the command to be called when `p4-async-call-process' is called. P4-IN-ARGS is the optional argument passed that will be used as the list of arguments to the P4-THIS-COMMAND. P4-OUT-ARGS is the optional argument passed that will be used as the list of arguments to P4-OUT-COMMAND." (let ((dir default-directory)) (if p4-this-buffer (set-buffer (get-buffer-create p4-this-buffer)) (set-buffer (get-buffer-create (concat "*P4 " p4-this-command "*")))) (setq p4-current-command p4-this-command) (cd dir)) (if (zerop (apply 'call-process-region (point-min) (point-max) (p4-check-p4-executable) t t nil "-d" default-directory p4-current-command "-o" p4-in-args)) (progn (goto-char (point-min)) (insert (concat "# Created using " (p4-emacs-version) ".\n" "# Type C-c C-c to submit changes and exit buffer.\n" "# Type C-x k to kill current changes.\n" "#\n")) (if p4-regexp (re-search-forward p4-regexp)) (indented-text-mode) (setq p4-async-minor-mode t) (setq fill-column 79) (p4-push-window-config) (switch-to-buffer-other-window (current-buffer)) (if p4-out-command (setq p4-current-command p4-out-command)) (setq p4-current-args p4-out-args) (setq buffer-offer-save t) (define-key p4-async-minor-map "\C-c\C-c" 'p4-async-call-process) (run-hooks 'p4-async-command-hook) (set-buffer-modified-p nil) (message "C-c C-c to finish editing and exit buffer.")) (error "%s %s -o failed to complete successfully." (p4-check-p4-executable) p4-current-command))) (defun p4-async-call-process () "Internal function called by `p4-async-process-command' to process the buffer after editing is done using the minor mode key mapped to `C-c C-c'." (interactive) (message "p4 %s ..." p4-current-command) (let ((max (point-max)) msg (current-command p4-current-command) (current-args p4-current-args)) (goto-char max) (if (zerop (apply 'call-process-region (point-min) max (p4-check-p4-executable) nil '(t t) nil "-d" default-directory current-command "-i" current-args)) (progn (goto-char max) (setq msg (buffer-substring max (point-max))) (delete-region max (point-max)) (save-excursion (set-buffer (get-buffer-create p4-output-buffer-name)) (delete-region (point-min) (point-max)) (insert msg)) (kill-buffer nil) (display-buffer p4-output-buffer-name) (p4-partial-cache-cleanup current-command) (message "p4 %s done." current-command) (if (equal current-command "submit") (progn (p4-refresh-files-in-buffers) (p4-check-mode-all-buffers) (if p4-notify (p4-notify p4-notify-list))))) (error "%s %s -i failed to complete successfully." (p4-check-p4-executable) current-command)))) (defun p4-cmd-line-flags (args) (memq t (mapcar (lambda (x) (not (not (string-match "^-" x)))) args))) ;; The p4 change command (defp4cmd p4-change () "change" "To edit the change specification, type \\[p4-change].\n" (interactive) (let (args (change-buf-name "*P4 New Change*")) (if (buffer-live-p (get-buffer change-buf-name)) (switch-to-buffer-other-window (get-buffer change-buf-name)) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 change: " nil)))) (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "change" nil t args) (p4-async-process-command "change" "Description:\n\t" change-buf-name nil args))))) ;; The p4 client command (defp4cmd p4-client () "client" "To edit a client specification, type \\[p4-client].\n" (interactive) (let (args (client-buf-name "*P4 client*")) (if (buffer-live-p (get-buffer client-buf-name)) (switch-to-buffer-other-window (get-buffer client-buf-name)) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 client: " nil "client")))) (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "client" nil t args) (p4-async-process-command "client" "\\(Description\\|View\\):\n\t" client-buf-name nil args))))) (defp4cmd p4-clients () "clients" "To list all clients, type \\[p4-clients].\n" (interactive) (p4-noinput-buffer-action "clients" nil t nil) (p4-make-basic-buffer "*P4 clients*") (p4-regexp-create-links "*P4 clients*" "^Client \\([^ ]+\\).*\n" 'client)) (defp4cmd p4-branch (args) "branch" "Edit a P4-BRANCH specification using \\[p4-branch]." (interactive (list (p4-make-list-from-string (p4-read-arg-string "p4 branch: " nil "branch")))) (if (or (null args) (equal args (list ""))) (error "Branch must be specified!") (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "branch" nil t args) (p4-async-process-command "branch" "Description:\n\t" (concat "*P4 Branch: " (car (reverse args)) "*") "branch" args)))) (defp4cmd p4-branches () "branches" "To list all branches, type \\[p4-branches].\n" (interactive) (p4-noinput-buffer-action "branches" nil t nil) (p4-make-basic-buffer "*P4 branches*") (p4-regexp-create-links "*P4 branches*" "^Branch \\([^ ]+\\).*\n" 'branch)) (defp4cmd p4-label (args) "label" "Edit a P4-label specification using \\[p4-label].\n" (interactive (list (p4-make-list-from-string (p4-read-arg-string "p4 label: " nil "label")))) (if (or (null args) (equal args (list ""))) (error "label must be specified!") (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "label" nil t args) (p4-async-process-command "label" "Description:\n\t" (concat "*P4 label: " (car (reverse args)) "*") "label" args)))) (defp4cmd p4-labels () "labels" "To display list of defined labels, type \\[p4-labels].\n" (interactive) (p4-noinput-buffer-action "labels" nil t nil) (p4-make-basic-buffer "*P4 labels*") (p4-regexp-create-links "*P4 labels*" "^Label \\([^ ]+\\).*\n" 'label)) ;; The p4 labelsync command (defp4cmd p4-labelsync () "labelsync" "To synchronize a label with the current client contents, type \\[p4-labelsync].\n" (interactive) (let ((args (p4-make-list-from-string (p4-read-arg-string "p4 labelsync: ")))) (p4-noinput-buffer-action "labelsync" nil t args)) (p4-make-depot-list-buffer "*P4 labelsync*")) (defun p4-filter-out (pred lst) (let (res) (while lst (if (not (funcall pred (car lst))) (setq res (cons (car lst) res))) (setq lst (cdr lst))) (reverse res))) ;; The p4 submit command (defp4cmd p4-submit (&optional arg) "submit" "To submit a pending change to the depot, type \\[p4-submit].\n" (interactive "P") (let (args (submit-buf-name "*P4 Submit*") (change-list (if (integerp arg) arg))) (if (buffer-live-p (get-buffer submit-buf-name)) (switch-to-buffer-other-window (get-buffer submit-buf-name)) (if change-list (setq args (list "-c" (int-to-string change-list))) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 submit: " nil))))) (setq args (p4-filter-out (lambda (x) (string= x "-c")) args)) (p4-save-opened-files) (if (or (not (and p4-check-empty-diffs (p4-empty-diff-p))) (progn (ding t) (yes-or-no-p "File with empty diff opened for edit. Submit anyway? "))) (p4-async-process-command "change" "Description:\n\t" submit-buf-name "submit" args))))) ;; The p4 user command (defp4cmd p4-user () "user" "To create or edit a user specification, type \\[p4-user].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 user: " nil "user")))) (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "user" nil t args) (p4-async-process-command "user" nil nil nil args)))) ;; The p4 group command (defp4cmd p4-group () "group" "To create or edit a group specification, type \\[p4-group].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 group: " nil "group")))) (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "group" nil t args) (p4-async-process-command "group" nil nil nil args)))) ;; The p4 job command (defp4cmd p4-job () "job" "To create or edit a job, type \\[p4-job].\n" (interactive) (let (args) (if current-prefix-arg (setq args (p4-make-list-from-string (p4-read-arg-string "p4 job: " nil "job")))) (if (p4-cmd-line-flags args) (p4-noinput-buffer-action "job" nil t args) (p4-async-process-command "job" "Description:\n\t" nil nil args)))) ;; The p4 jobspec command (defp4cmd p4-jobspec () "jobspec" "To edit the job template, type \\[p4-jobspec].\n" (interactive) (p4-async-process-command "jobspec")) ;; A function to set the current P4 client name (defun p4-set-client-name (p4-new-client-name) "To set the current value of P4CLIENT, type \\[p4-set-client-name]. This will change the current client from the previous client to the new given value. Setting this value to nil would disable P4 Version Checking. `p4-set-client-name' will complete any client names set using the function `p4-set-my-clients'. The strictness of completion will depend on the variable `p4-strict-complete' (default is t). Argument P4-NEW-CLIENT-NAME The new client to set to. The default value is the current client." (interactive (list (completing-read "Change Client to: " (if p4-my-clients p4-my-clients 'p4-clients-completion) nil p4-strict-complete (p4-current-client)) )) (if (or (null p4-new-client-name) (equal p4-new-client-name "nil")) (progn (setenv "P4CLIENT" nil) (if (not (getenv "P4CONFIG")) (message "P4 Version check disabled. Set a valid client name to enable." ))) (setenv "P4CLIENT" p4-new-client-name) (message "P4CLIENT changed to %s" p4-new-client-name) (run-hooks 'p4-set-client-hooks))) (defun p4-get-client-config () "To get the current value of the environment variable P4CONFIG, type \\[p4-get-client-config]. This will be the current configuration that is in use for access through Emacs P4." (interactive) (message "P4CONFIG is %s" (getenv "P4CONFIG"))) (defun p4-set-client-config (p4config) "To set the P4CONFIG variable, for use with the current versions of the p4 client. P4CONFIG is a more flexible mechanism wherein p4 will find the current client automatically by checking the config file found at the root of a directory \(recursing all the way to the top\). In this scenario, a P4CLIENT variable need not be explicitly set. " (interactive "sP4 Config: ") (if (or (null p4config) (equal p4config "")) (message "P4CONFIG not changed.") (setenv "P4CONFIG" p4config) (message "P4CONFIG changed to %s" p4config))) (defun p4-set-my-clients (client-list) "To set the client completion list used by `p4-set-client-name', use this function in your .emacs (or any lisp interaction buffer). This will change the current client list from the previous list to the new given value. Setting this value to nil would disable client completion by `p4-set-client-name'. The strictness of completion will depend on the variable `p4-strict-complete' (default is t). Argument CLIENT-LIST is the 'list' of clients. To set your clients using your .emacs, use the following: \(load-library \"p4\"\) \(p4-set-my-clients \'(client1 client2 client3)\)" (setq p4-my-clients nil) (let (p4-tmp-client-var) (while client-list (setq p4-tmp-client-var (format "%s" (car client-list))) (setq client-list (cdr client-list)) (setq p4-my-clients (append p4-my-clients (list (list p4-tmp-client-var))))))) ;; A function to get the current P4PORT (defun p4-get-p4-port () "To get the current value of the environment variable P4PORT, type \ \\[p4-get-p4-port]. This will be the current server/port that is in use for access through Emacs P4." (interactive) (let ((port (p4-current-server-port))) (message "P4PORT is [local: %s], [global: %s]" port (getenv "P4PORT")) port)) ;; A function to set the current P4PORT (defun p4-set-p4-port (p4-new-p4-port) "To set the current value of P4PORT, type \\[p4-set-p4-port]. This will change the current server from the previous server to the new given value. Argument P4-NEW-P4-PORT The new server:port to set to. The default value is the current value of P4PORT." (interactive (list (let ((symbol (read-string "Change server:port to: " (getenv "P4PORT")))) (if (equal symbol "") (getenv "P4PORT") symbol)))) (if (or (null p4-new-p4-port) (equal p4-new-p4-port "nil")) (progn (setenv "P4PORT" nil) (if (not (getenv "P4CONFIG")) (message "P4 Version check disabled. Set a valid server:port to enable."))) (setenv "P4PORT" p4-new-p4-port) (message "P4PORT changed to %s" p4-new-p4-port))) ;; The find-file hook for p4. (defun p4-find-file-hook () "To check while loading the file, if it is a P4 version controlled file." (if (or (getenv "P4CONFIG") (getenv "P4CLIENT")) (p4-detect-p4))) (defun p4-refresh-refresh-list (buffile bufname) "Refresh the list of files to be refreshed." (setq p4-all-buffer-files (delete (list buffile bufname) p4-all-buffer-files)) (if (not p4-all-buffer-files) (progn (if (and p4-running-emacs (timerp p4-file-refresh-timer)) (cancel-timer p4-file-refresh-timer)) (if (and p4-running-xemacs p4-file-refresh-timer) (disable-timeout p4-file-refresh-timer)) (setq p4-file-refresh-timer nil)))) ;; Set keymap. We use the C-x p Keymap for all perforce commands (defvar p4-prefix-map (let ((map (make-sparse-keymap))) (define-key map "a" 'p4-add) (define-key map "b" 'p4-bug-report) (define-key map "B" 'p4-branch) (define-key map "c" 'p4-client) (define-key map "C" 'p4-changes) (define-key map "d" 'p4-diff2) (define-key map "D" 'p4-describe) (define-key map "e" 'p4-edit) (define-key map "E" 'p4-reopen) (define-key map "\C-f" 'p4-depot-find-file) (define-key map "f" 'p4-filelog) (define-key map "F" 'p4-files) (define-key map "g" 'p4-get-client-name) (define-key map "G" 'p4-get) (define-key map "h" 'p4-help) (define-key map "H" 'p4-have) (define-key map "i" 'p4-info) (define-key map "I" 'p4-integ) (define-key map "j" 'p4-job) (define-key map "J" 'p4-jobs) (define-key map "l" 'p4-label) (define-key map "L" 'p4-labels) (define-key map "\C-l" 'p4-labelsync) (define-key map "m" 'p4-rename) (define-key map "n" 'p4-notify) (define-key map "o" 'p4-opened) (define-key map "p" 'p4-print) (define-key map "P" 'p4-set-p4-port) (define-key map "q" 'p4-pop-window-config) (define-key map "r" 'p4-revert) (define-key map "R" 'p4-refresh) (define-key map "\C-r" 'p4-resolve) (define-key map "s" 'p4-set-client-name) (define-key map "S" 'p4-submit) (define-key map "t" 'p4-toggle-vc-mode) (define-key map "u" 'p4-user) (define-key map "U" 'p4-users) (define-key map "v" 'p4-emacs-version) (define-key map "V" 'p4-blame) (define-key map "w" 'p4-where) (define-key map "x" 'p4-delete) (define-key map "X" 'p4-fix) (define-key map "=" 'p4-diff) (define-key map "-" 'p4-ediff) (define-key map "?" 'p4-describe-bindings) map) "The Prefix for P4 Library Commands.") (if (not (keymapp (lookup-key global-map "\C-xp"))) (define-key global-map "\C-xp" p4-prefix-map)) ;; For users interested in notifying a change, a notification list can be ;; set up using this function. (defun p4-set-notify-list (p4-new-notify-list &optional p4-supress-stat) "To set the current value of P4NOTIFY, type \\[p4-set-notify-list]. This will change the current notify list from the existing list to the new given value. An empty string will disable notification. Argument P4-NEW-NOTIFY-LIST is new value of the notification list. Optional argument P4-SUPRESS-STAT when t will suppress display of the status message. " (interactive (list (let ((symbol (read-string "Change Notification List to: " p4-notify-list))) (if (equal symbol "") nil symbol)))) (let ((p4-old-notify-list p4-notify-list)) (setenv "P4NOTIFY" p4-new-notify-list) (setq p4-notify-list p4-new-notify-list) (setq p4-notify (not (null p4-new-notify-list))) (if (not p4-supress-stat) (message "Notification list changed from '%s' to '%s'" p4-old-notify-list p4-notify-list)))) ;; To get the current notification list. (defun p4-get-notify-list () "To get the current value of the environment variable P4NOTIFY, type \\[p4-get-notify-list]. This will be the current notification list that is in use for mailing change notifications through Emacs P4." (interactive) (message "P4NOTIFY is %s" p4-notify-list)) (defun p4-notify (users) "To notify a list of users of a change submission manually, type \\[p4-notify]. To do auto-notification, set the notification list with `p4-set-notify-list' and on each submission, the users in the list will be notified of the change. Since this uses the sendmail program, it is mandatory to set the correct path to the sendmail program in the variable `p4-sendmail-program'. Also, it is mandatory to set the user's email address in the variable `p4-user-email'. Argument USERS The users to notify to. The default value is the notification list." (interactive (list (let ((symbol (read-string "Notify whom? " p4-notify-list))) (if (equal symbol "") nil symbol)))) (p4-set-notify-list users t) (if (and p4-sendmail-program p4-user-email) (p4-do-notify) (message "Please set p4-sendmail-program and p4-user-email variables."))) (defun p4-do-notify () "This is the internal notification function called by `p4-notify'." (save-excursion (if (and p4-notify-list (not (equal p4-notify-list ""))) (save-excursion (set-buffer (get-buffer-create p4-output-buffer-name)) (goto-char (point-min)) (if (re-search-forward "[0-9]+.*submitted" (point-max) t) (let (p4-matched-change) (setq p4-matched-change (substring (match-string 0) 0 -10)) (set-buffer (get-buffer-create "*P4 Notify*")) (delete-region (point-min) (point-max)) (call-process-region (point-min) (point-max) (p4-check-p4-executable) t t nil "-d" default-directory "describe" "-s" p4-matched-change) (switch-to-buffer "*P4 Notify*") (goto-char (point-min)) (let (p4-chg-desc) (if (re-search-forward "^Change.*$" (point-max) t) (setq p4-chg-desc (match-string 0)) (setq p4-chg-desc (concat "Notification of Change " p4-matched-change))) (goto-char (point-min)) (insert "From: " p4-user-email "\n" "To: P4 Notification Recipients:;\n" "Subject: " p4-chg-desc "\n") (call-process-region (point-min) (point-max) p4-sendmail-program t t nil "-odi" "-oi" p4-notify-list) (kill-buffer nil))) (save-excursion (set-buffer (get-buffer-create p4-output-buffer-name)) (goto-char (point-max)) (insert "\np4-do-notify: No Change Submissions found.")))) (save-excursion (set-buffer (get-buffer-create p4-output-buffer-name)) (goto-char (point-max)) (insert "\np4-do-notify: Notification list not set."))))) ;; Function to return the current version. (defun p4-emacs-version () "Return the current Emacs-P4 Integration version." (interactive) (message (concat (cond (p4-running-xemacs "X")) "Emacs-P4 Integration v%s") p4-emacs-version)) (defun p4-find-p4-config-file () (let ((p4config (getenv "P4CONFIG")) (p4-cfg-dir (cond ((p4-buffer-file-name) (file-name-directory (file-truename (p4-buffer-file-name)))) (t (file-truename default-directory))))) (if (not p4config) nil (let (found at-root) (while (not (or found at-root)) (let ((parent-dir (file-name-directory (directory-file-name p4-cfg-dir)))) (if (file-exists-p (concat p4-cfg-dir p4config)) (setq found (concat p4-cfg-dir p4config))) (setq at-root (string-equal parent-dir p4-cfg-dir)) (setq p4-cfg-dir parent-dir))) found)))) (defun p4-detect-p4 () (if (or (not p4-use-p4config-exclusively) (p4-find-p4-config-file)) (p4-check-mode))) (defun p4-get-add-branch-files (&optional name-list) (let ((output-buffer (p4-depot-output "opened" name-list)) files depot-map) (save-excursion (set-buffer output-buffer) (goto-char (point-min)) (while (re-search-forward "^\\(//[^/@#]+/[^#\n]*\\)#[0-9]+ - add " nil t) (setq files (cons (cons (match-string 1) "Add") files))) (goto-char (point-min)) (while (re-search-forward "^\\(//[^/@#]+/[^#\n]*\\)#[0-9]+ - branch " nil t) (setq files (cons (cons (match-string 1) "Branch") files)))) (kill-buffer output-buffer) (setq depot-map (p4-map-depot-files (mapcar 'car files))) (mapcar (lambda (x) (cons (cdr (assoc (car x) depot-map)) (cdr x))) files))) (defun p4-get-have-files (file-list) (let ((output-buffer (p4-depot-output "have" file-list)) line files depot-map elt) (while (setq line (p4-read-depot-output output-buffer)) (if (string-match "^\\(//[^/@#]+/[^#\n]*\\)#\\([0-9]+\\) - " line) (setq files (cons (cons (match-string 1 line) (match-string 2 line)) files)))) (kill-buffer output-buffer) (setq depot-map (p4-map-depot-files (mapcar 'car files))) (setq files (mapcar (lambda (x) (cons (cdr (assoc (car x) depot-map)) (cdr x))) files)) (while file-list (setq elt (car file-list)) (setq file-list (cdr file-list)) (if (not (assoc elt files)) (setq files (cons (cons elt nil) files)))) files)) ;; A function to check if the file being opened is version controlled by p4. (defun p4-is-vc (&optional file-mode-cache filename) "If a file is controlled by P4 then return version else return nil." (if (not filename) (setq filename (p4-buffer-file-name))) (let (version done) (let ((el (assoc filename file-mode-cache))) (setq done el) (setq version (cdr el))) (if (and (not done) filename) (let ((output-buffer (p4-depot-output "have" (list filename))) line) (setq line (p4-read-depot-output output-buffer)) (kill-buffer output-buffer) (if (string-match "^//[^/@#]+/[^#\n]*#\\([0-9]+\\) - " line) (setq version (match-string 1 line))) (setq done version))) (if (and (not done) (not file-mode-cache)) (progn (setq file-mode-cache (p4-get-add-branch-files (and filename (list filename)))) (setq version (cdr (assoc filename file-mode-cache))))) version)) (defun p4-check-mode (&optional file-mode-cache) "Check to see whether we should export the menu map to this buffer. Turning on P4 mode calls the hooks in the variable `p4-mode-hook' with no args." (setq p4-mode nil) (if p4-do-find-file (progn (setq p4-vc-check (p4-is-vc file-mode-cache)) (if p4-vc-check (progn (p4-menu-add) (setq p4-mode (concat " P4:" p4-vc-check)))) (p4-force-mode-line-update) (let ((buffile (p4-buffer-file-name)) (bufname (buffer-name))) (if (and p4-vc-check (not (member (list buffile bufname) p4-all-buffer-files))) (add-to-list 'p4-all-buffer-files (list buffile bufname)))) (if (and (not p4-file-refresh-timer) (not (= p4-file-refresh-timer-time 0))) (setq p4-file-refresh-timer (cond (p4-running-emacs (run-at-time nil p4-file-refresh-timer-time 'p4-refresh-files-in-buffers)) (p4-running-xemacs (add-timeout p4-file-refresh-timer-time 'p4-refresh-files-in-buffers nil p4-file-refresh-timer-time))))) ;; run hooks (and p4-vc-check (run-hooks 'p4-mode-hook)) p4-vc-check))) (defun p4-refresh-files-in-buffers (&optional arg) "Check to see if all the files that are under P4 version control are actually up-to-date, if in buffers, or need refreshing." (interactive) (let ((p4-all-my-files p4-all-buffer-files) buffile bufname thiselt) (while p4-all-my-files (setq thiselt (car p4-all-my-files)) (setq p4-all-my-files (cdr p4-all-my-files)) (setq buffile (car thiselt)) (setq bufname (cadr thiselt)) (if (buffer-live-p (get-buffer bufname)) (save-excursion (let ((buf (get-buffer bufname))) (set-buffer buf) (if p4-auto-refresh (if (not (buffer-modified-p buf)) (if (not (verify-visited-file-modtime buf)) (if (file-readable-p buffile) (revert-buffer t t) (p4-check-mode)))) (if (file-readable-p buffile) (find-file-noselect buffile t) (p4-check-mode))) (setq buffer-read-only (not (file-writable-p (p4-buffer-file-name)))))) (p4-refresh-refresh-list buffile bufname))))) (defun p4-check-mode-all-buffers () "Call p4-check-mode for all buffers under P4 version control" (let ((p4-all-my-files p4-all-buffer-files) buffile bufname thiselt file-mode-cache) (if (and p4-all-my-files p4-do-find-file) (setq file-mode-cache (append (p4-get-add-branch-files) (p4-get-have-files (mapcar 'car p4-all-my-files))))) (while p4-all-my-files (setq thiselt (car p4-all-my-files)) (setq p4-all-my-files (cdr p4-all-my-files)) (setq buffile (car thiselt)) (setq bufname (cadr thiselt)) (if (buffer-live-p (get-buffer bufname)) (save-excursion (set-buffer (get-buffer bufname)) (p4-check-mode file-mode-cache)) (p4-refresh-refresh-list buffile bufname))))) ;; Force mode line updation for different Emacs versions (defun p4-force-mode-line-update () "To Force the mode line update for different flavors of Emacs." (cond (p4-running-xemacs (redraw-modeline)) (p4-running-emacs (force-mode-line-update)))) ;; In case, the P4 server is not available, or when operating off-line, the ;; p4-find-file-hook becomes a pain... this functions toggles the use of the ;; hook when opening files. (defun p4-toggle-vc-mode () "In case, the P4 server is not available, or when working off-line, toggle the VC check on/off when opening files." (interactive) (setq p4-do-find-file (not p4-do-find-file)) (message (concat "P4 mode check " (if p4-do-find-file "enabled." "disabled.")))) ;; Wrap C-x C-q to allow p4-edit/revert and also to ensure that ;; we don't stomp on vc-toggle-read-only. (defun p4-toggle-read-only (&optional arg) "If p4-mode is non-nil, \\[p4-toggle-read-only] toggles between `p4-edit' and `p4-revert'. If ARG is non-nil, p4-offline-mode will be enabled for this buffer before the toggling takes place. In p4-offline-mode, toggle between making the file writable and write protected." (interactive "P") (if (and arg p4-mode) (setq p4-mode nil p4-offline-mode t)) (cond (p4-mode (if buffer-read-only (p4-edit p4-verbose) (p4-revert p4-verbose))) (p4-offline-mode (toggle-read-only) (if buffer-file-name (let ((mode (file-modes buffer-file-name))) (if buffer-read-only (setq mode (logand mode (lognot 128))) (setq mode (logior mode 128))) (set-file-modes buffer-file-name mode)))))) (defun p4-browse-web-page () "Browse the p4.el web page." (interactive) (require 'browse-url) (browse-url p4-web-page)) (defun p4-bug-report () (interactive) (if (string-match " 19\\." (emacs-version)) ;; unfortunately GNU Emacs 19.x doesn't have compose-mail (mail nil p4-emacs-maintainer (concat "BUG REPORT: " (p4-emacs-version))) (compose-mail p4-emacs-maintainer (concat "BUG REPORT: " (p4-emacs-version)))) (goto-char (point-min)) (re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n")) ;; Insert warnings for novice users. (insert "This bug report will be sent to the P4-Emacs Integration Maintainer,\n" p4-emacs-maintainer "\n\n") (insert (concat (emacs-version) "\n\n")) (insert "A brief description of the problem and how to reproduce it:\n") (save-excursion (let ((message-buf (get-buffer (cond (p4-running-xemacs " *Message-Log*") (p4-running-emacs "*Messages*"))))) (if message-buf (let (beg-pos (end-pos (point-max))) (save-excursion (set-buffer message-buf) (goto-char end-pos) (forward-line -10) (setq beg-pos (point))) (insert "\n\nRecent messages:\n") (insert-buffer-substring message-buf beg-pos end-pos)))))) (defun p4-describe-bindings () "A function to list the key bindings for the p4 prefix map" (interactive) (save-excursion (p4-push-window-config) (let ((map (make-sparse-keymap)) (p4-bindings-buffer "*P4 key bindings*")) (get-buffer-create p4-bindings-buffer) (cond (p4-running-xemacs (set-buffer p4-bindings-buffer) (delete-region (point-min) (point-max)) (insert "Key Bindings for P4 Mode\n------------------------\n") (describe-bindings-internal p4-prefix-map)) (p4-running-emacs (kill-buffer p4-bindings-buffer) (describe-bindings "\C-xp") (set-buffer "*Help*") (rename-buffer p4-bindings-buffer))) (define-key map "q" 'p4-quit-current-buffer) (use-local-map map) (display-buffer p4-bindings-buffer)))) ;; Break up a string into a list of words ;; (p4-make-list-from-string "ab c de f") -> ("ab" "c" "de" "f") (defun p4-make-list-from-string (str) (let (lst) (while (or (string-match "^ *\"\\([^\"]*\\)\"" str) (string-match "^ *\'\\([^\']*\\)\'" str) (string-match "^ *\\([^ ]+\\)" str)) (setq lst (append lst (list (match-string 1 str)))) (setq str (substring str (match-end 0)))) lst)) (defun p4-list-to-string (lst) (mapconcat (lambda (x) x) lst " ")) ;; Return the file name associated with a buffer. If the real buffer file ;; name doesn't exist, try special filename tags set in some of the p4 ;; buffers. (defun p4-buffer-file-name-2 () (cond ((p4-buffer-file-name)) ((get-char-property (point) 'link-client-name)) ((get-char-property (point) 'link-depot-name)) ((get-char-property (point) 'block-client-name)) ((get-char-property (point) 'block-depot-name)) ((if (and (fboundp 'dired-get-filename) (dired-get-filename nil t)) (p4-follow-link-name (dired-get-filename nil t)))))) (defun p4-buffer-file-name () (cond (buffer-file-name (p4-follow-link-name buffer-file-name)) (t nil))) (defun p4-follow-link-name (name) (if p4-follow-symlinks (file-truename name) name)) (defvar p4-depot-filespec-history nil "History for p4-depot filespecs.") (defvar p4-depot-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a filespec and cdr is the list of anwers") (defvar p4-branches-history nil "History for p4 clients.") (defvar p4-branches-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a client and cdr is the list of answers??") (defvar p4-clients-history nil "History for p4 clients.") (defvar p4-clients-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a client and cdr is the list of answers??") (defvar p4-jobs-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a job and cdr is the list of answers??") (defvar p4-labels-history nil "History for p4 clients.") (defvar p4-labels-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a label and cdr is the list of answers??") (defvar p4-users-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a user and cdr is the list of answers??") (defvar p4-groups-completion-cache nil "Cache for `p4-depot-completion'. It is a list of lists whose car is a group and cdr is the list of answers??") (defvar p4-arg-string-history nil "History for p4 command arguments") (defun p4-depot-completion-search (filespec cmd) "Look into `p4-depot-completion-cache' for filespec. Filespec is the candidate for completion, so the exact file specification is \"filespec*\". If found in cache, return a list whose car is FILESPEC and cdr is the list of matches. If not found in cache, return nil. So the 'no match' answer is different from 'not in cache'." (let ((l (cond ((equal cmd "branches") p4-branches-completion-cache) ((equal cmd "clients") p4-clients-completion-cache) ((equal cmd "dirs") p4-depot-completion-cache) ((equal cmd "jobs") p4-jobs-completion-cache) ((equal cmd "labels") p4-labels-completion-cache) ((equal cmd "users") p4-users-completion-cache) ((equal cmd "groups") p4-groups-completion-cache))) dir list) (if (and p4-cleanup-cache (not p4-timer)) (setq p4-timer (cond (p4-running-emacs (run-at-time p4-cleanup-time nil 'p4-cache-cleanup)) (p4-running-xemacs (add-timeout p4-cleanup-time 'p4-cache-cleanup nil nil))))) (while l (if (string-match (concat "^" (car (car l)) "[^/]*$") filespec) (progn ;; filespec is included in cache (if (string= (car (car l)) filespec) (setq list (cdr (car l))) (setq dir (cdr (car l))) (while dir (if (string-match (concat "^" filespec) (car dir)) (setq list (cons (car dir) list))) (setq dir (cdr dir)))) (setq l nil list (cons filespec list)))) (setq l (cdr l))) list)) (defun p4-cache-cleanup (&optional arg) "Cleanup all the completion caches." (message "Cleaning up the p4 caches ...") (setq p4-branches-completion-cache nil) (setq p4-clients-completion-cache nil) (setq p4-depot-completion-cache nil) (setq p4-jobs-completion-cache nil) (setq p4-labels-completion-cache nil) (setq p4-users-completion-cache nil) (setq p4-groups-completion-cache nil) (if (and p4-running-emacs (timerp p4-timer)) (cancel-timer p4-timer)) (if (and p4-running-xemacs p4-timer) (disable-timeout p4-timer)) (setq p4-timer nil) (message "Cleaning up the p4 caches ... done.")) (defun p4-partial-cache-cleanup (type) "Cleanup a specific completion cache." (cond ((string= type "branch") (setq p4-branches-completion-cache nil)) ((string= type "client") (setq p4-clients-completion-cache nil)) ((or (string= type "submit") (string= type "change")) (setq p4-depot-completion-cache nil)) ((string= type "job") (setq p4-jobs-completion-cache nil)) ((string= type "label") (setq p4-labels-completion-cache nil)) ((string= type "user") (setq p4-users-completion-cache nil)) ((string= type "group") (setq p4-groups-completion-cache nil)))) (defun p4-read-depot-output (buffer &optional regexp) "Reads first line of BUFFER and returns it. Read lines are deleted from buffer. If optional REGEXP is passed in, return the substring of the first line that matched the REGEXP." (save-excursion (set-buffer buffer) (goto-char (point-min)) (forward-line) (let ((line (buffer-substring (point-min) (point)))) (if (string= line "") nil (delete-region (point-min) (point)) (if (and regexp (string-match regexp line)) (setq line (substring line (match-beginning 1) (match-end 1)))) ;; remove trailing newline (if (equal (substring line (1- (length line)) (length line)) "\n") (substring line 0 (1- (length line))) line))))) (defun p4-completion-helper (filespec cmd var regexp) (let (output-buffer line list) (message "Making %s completion list..." cmd) (setq output-buffer (p4-depot-output cmd)) (while (setq line (p4-read-depot-output output-buffer regexp)) (if line (setq list (cons line list)))) (kill-buffer output-buffer) (set var (cons (cons filespec list) (eval var))) list)) (defun p4-depot-completion-build (filespec cmd) "Ask Perforce for a list of files and directories beginning with FILESPEC." (let (output-buffer line list) (cond ((equal cmd "branches") (setq list (p4-completion-helper filespec cmd 'p4-branches-completion-cache "^Branch \\([^ \n]*\\) [0-9][0-9][0-9][0-9]/.*$"))) ((equal cmd "clients") (setq list (p4-completion-helper filespec cmd 'p4-clients-completion-cache "^Client \\([^ \n]*\\) [0-9][0-9][0-9][0-9]/.*$"))) ((equal cmd "dirs") (message "Making p4 completion list...") (setq output-buffer (p4-depot-output cmd (list (concat filespec "*")))) (while (setq line (p4-read-depot-output output-buffer)) (if (not (string-match "no such file" line)) (setq list (cons (concat line "/") list)))) (kill-buffer output-buffer) (setq output-buffer (p4-depot-output "files" (list (concat filespec "*")))) (while (setq line (p4-read-depot-output output-buffer)) (if (string-match "^\\(.+\\)#[0-9]+ - " line) (setq list (cons (match-string 1 line) list)))) (kill-buffer output-buffer) (setq p4-depot-completion-cache (cons (cons filespec list) p4-depot-completion-cache))) ((equal cmd "jobs") (setq list (p4-completion-helper filespec cmd 'p4-jobs-completion-cache "\\([^ \n]*\\) on [0-9][0-9][0-9][0-9]/.*$"))) ((equal cmd "labels") (setq list (p4-completion-helper filespec cmd 'p4-labels-completion-cache "^Label \\([^ \n]*\\) [0-9][0-9][0-9][0-9]/.*$"))) ((equal cmd "users") (setq list (p4-completion-helper filespec cmd 'p4-users-completion-cache "^\\([^ ]+\\).*$"))) ((equal cmd "groups") (setq list (p4-completion-helper filespec cmd 'p4-groups-completion-cache "^\\(.*\\)$")))) (message nil) (cons filespec list))) (defun p4-completion-builder (type) `(lambda (string predicate action) ,(concat "Completion function for Perforce " type ". Using the mouse in completion buffer on a client will select it and exit, unlike standard selection. This is because `choose-completion-string' (in simple.el) has a special code for file name selection.") (let (list) ,(if (string= type "dirs") ;; when testing for an exact match, remove trailing / `(if (and (eq action 'lambda) (eq (aref string (1- (length string))) ?/)) (setq string (substring string 0 (1- (length string)))))) ;; First, look in cache (setq list (p4-depot-completion-search string ,type)) ;; If not found in cache, build list. (if (not list) (setq list (p4-depot-completion-build string ,type))) (cond ;; try completion ((null action) (try-completion string (mapcar 'list (cdr list)) predicate)) ;; all completions ((eq action t) (let ((lst (all-completions string (mapcar 'list (cdr list)) predicate))) ,(if (string= type "dirs") `(setq lst (mapcar (lambda (s) (if (string-match ".*/\\(.+\\)" s) (match-string 1 s) s)) lst))) lst)) ;; Test for an exact match (t (and (>= (length list) 2) (member (car list) (cdr list)))))))) (defalias 'p4-branches-completion (p4-completion-builder "branches")) (defalias 'p4-clients-completion (p4-completion-builder "clients")) (defalias 'p4-depot-completion (p4-completion-builder "dirs")) (defalias 'p4-jobs-completion (p4-completion-builder "jobs")) (defalias 'p4-labels-completion (p4-completion-builder "labels")) (defalias 'p4-users-completion (p4-completion-builder "users")) (defalias 'p4-groups-completion (p4-completion-builder "groups")) (defun p4-read-arg-string (prompt &optional initial type) (let ((minibuffer-local-completion-map (copy-keymap minibuffer-local-completion-map))) (define-key minibuffer-local-completion-map " " 'self-insert-command) (completing-read prompt (cond ((not type) 'p4-arg-string-completion) ((string= type "branch") 'p4-branch-string-completion) ((string= type "client") 'p4-client-string-completion) ((string= type "label") 'p4-label-string-completion) ((string= type "job") 'p4-job-string-completion) ((string= type "user") 'p4-user-string-completion) ((string= type "group") 'p4-group-string-completion)) nil nil initial 'p4-arg-string-history))) (defun p4-arg-string-completion (string predicate action) (let ((first-part "") completion) (if (string-match "^\\(.* +\\)\\(.*\\)" string) (progn (setq first-part (match-string 1 string)) (setq string (match-string 2 string)))) (cond ((string-match "-b +$" first-part) (setq completion (p4-branches-completion string predicate action))) ((string-match "-t +$" first-part) (setq completion (p4-list-completion string (list "text " "xtext " "binary " "xbinary " "symlink ") predicate action))) ((string-match "-j +$" first-part) (setq completion (p4-jobs-completion string predicate action))) ((string-match "-l +$" first-part) (setq completion (p4-labels-completion string predicate action))) ((string-match "\\(.*status=\\)\\(.*\\)" string) (setq first-part (concat first-part (match-string 1 string))) (setq string (match-string 2 string)) (setq completion (p4-list-completion string (list "open " "closed " "suspended ") predicate action))) ((or (string-match "\\(.*@.+,\\)\\(.*\\)" string) (string-match "\\(.*@\\)\\(.*\\)" string)) (setq first-part (concat first-part (match-string 1 string))) (setq string (match-string 2 string)) (setq completion (p4-labels-completion string predicate action))) ((string-match "\\(.*#\\)\\(.*\\)" string) (setq first-part (concat first-part (match-string 1 string))) (setq string (match-string 2 string)) (setq completion (p4-list-completion string (list "none" "head" "have") predicate action))) ((string-match "^//" string) (setq completion (p4-depot-completion string predicate action))) ((string-match "\\(^-\\)\\(.*\\)" string) (setq first-part (concat first-part (match-string 1 string))) (setq string (match-string 2 string)) (setq completion (p4-list-completion string (list "a " "af " "am " "as " "at " "ay " "b " "c " "d " "dc " "dn " "ds " "du " "e " "f " "i " "j " "l " "m " "n " "q " "r " "s " "sa " "sd " "se " "sr " "t " "v ") predicate action))) (t (setq completion (p4-file-name-completion string predicate action)))) (cond ((null action) ;; try-completion (if (stringp completion) (concat first-part completion) completion)) ((eq action t) ;; all-completions completion) (t ;; exact match completion)))) (defun p4-list-completion (string lst predicate action) (let ((collection (mapcar 'list lst))) (cond ((not action) (try-completion string collection predicate)) ((eq action t) (all-completions string collection predicate)) (t (eq (try-completion string collection predicate) t))))) (defun p4-file-name-completion (string predicate action) (if (string-match "//\\(.*\\)" string) (setq string (concat "/" (match-string 1 string)))) (setq string (substitute-in-file-name string)) (setq string (p4-follow-link-name (expand-file-name string))) (let ((dir-path "") completion) (if (string-match "^\\(.*[/\\]\\)\\(.*\\)" string) (progn (setq dir-path (match-string 1 string)) (setq string (match-string 2 string)))) (cond ((not action) (setq completion (file-name-completion string dir-path)) (if (stringp completion) (concat dir-path completion) completion)) ((eq action t) (file-name-all-completions string dir-path)) (t (eq (file-name-completion string dir-path) t))))) (defun p4-string-completion-builder (completion-function) `(lambda (string predicate action) (let ((first-part "") completion) (if (string-match "^\\(.* +\\)\\(.*\\)" string) (progn (setq first-part (match-string 1 string)) (setq string (match-string 2 string)))) (cond ((string-match "^-" string) (setq completion nil)) (t (setq completion (,completion-function string predicate action)))) (cond ((null action);; try-completion (if (stringp completion) (concat first-part completion) completion)) ((eq action t);; all-completions completion) (t;; exact match completion))))) (defalias 'p4-branch-string-completion (p4-string-completion-builder 'p4-branches-completion)) (defalias 'p4-client-string-completion (p4-string-completion-builder 'p4-clients-completion)) (defalias 'p4-job-string-completion (p4-string-completion-builder 'p4-jobs-completion)) (defalias 'p4-label-string-completion (p4-string-completion-builder 'p4-labels-completion)) (defalias 'p4-user-string-completion (p4-string-completion-builder 'p4-users-completion)) (defalias 'p4-group-string-completion (p4-string-completion-builder 'p4-groups-completion)) (defun p4-depot-find-file (file) (interactive (list (completing-read "Enter filespec: " 'p4-depot-completion nil nil p4-default-depot-completion-prefix 'p4-depot-filespec-history))) (let ((lfile (cdar (p4-map-depot-files (list file))))) (if lfile (find-file lfile) (if (get-file-buffer file) (switch-to-buffer-other-window file) (get-buffer-create file) (set-buffer file) (p4-noinput-buffer-action "print" nil t (list file)) (p4-activate-print-buffer file t))))) ;; A function to get the current P4 client name (defun p4-get-client-name () "To get the current value of the environment variable P4CLIENT, type \\[p4-get-client-name]. This will be the current client that is in use for access through Emacs P4." (interactive) (let ((client (p4-current-client))) (message "P4CLIENT [local: %s], [global: %s]" client (getenv "P4CLIENT")) client)) (defun p4-get-config-info (file-name token) (let ((output-buffer (generate-new-buffer p4-output-buffer-name)) (data (getenv token))) (save-excursion (set-buffer output-buffer) (goto-char (point-min)) (insert-file-contents file-name) (goto-char (point-min)) (if (re-search-forward (concat "^" (regexp-quote token) "=\\(.*\\)") nil t) (setq data (match-string 1)))) (kill-buffer output-buffer) data)) (defun p4-current-client () "Get the current local client, or the global client, if that." (let ((p4-config-file (p4-find-p4-config-file)) cur-client pmin) (if (not p4-config-file) (setq cur-client (getenv "P4CLIENT")) (setq cur-client (p4-get-config-info p4-config-file "P4CLIENT"))) (if (not cur-client) (save-excursion (get-buffer-create p4-output-buffer-name) (set-buffer p4-output-buffer-name) (goto-char (point-max)) (setq pmin (point)) (if (zerop (p4-call-p4-here "info")) (progn (goto-char pmin) (if (re-search-forward "^Client name:[ \t]+\\(.*\\)$" nil t) (setq cur-client (match-string 1))) (delete-region pmin (point-max)))))) cur-client)) (defun p4-current-server-port () "Get the current local server:port address, or the global server:port, if that." (let ((p4-config-file (p4-find-p4-config-file))) (if (not p4-config-file) (getenv "P4PORT") (p4-get-config-info p4-config-file "P4PORT")))) (defun p4-save-opened-files () (get-buffer-create p4-output-buffer-name);; We do these two lines (kill-buffer p4-output-buffer-name) ;; to ensure no duplicates (let ((output-buffer (p4-depot-output "opened")) opened) (save-excursion (set-buffer output-buffer) (goto-char (point-min)) (while (re-search-forward "^\\(.*\\)#[0-9]+ - " nil t) (setq opened (cons (match-string 1) opened)))) (kill-buffer output-buffer) (setq opened (mapcar 'cdr (p4-map-depot-files opened))) (save-window-excursion (map-y-or-n-p (function (lambda (buffer) (and (buffer-modified-p buffer) (not (buffer-base-buffer buffer)) (buffer-file-name buffer) (member (buffer-file-name buffer) opened) (format "Save file %s? " (buffer-file-name buffer))))) (function (lambda (buffer) (set-buffer buffer) (save-buffer))) (buffer-list) '("buffer" "buffers" "save"))))) (defun p4-empty-diff-p () "Return t if there exists a file opened for edit with an empty diff" (let ((buffer (get-buffer-create "p4-edp-buf")) opened empty-diff) (p4-exec-p4 buffer (list "opened") t) (save-excursion (set-buffer buffer) (goto-char (point-min)) (while (re-search-forward "^\\(.*\\)#[0-9]* - edit.*" nil t) (setq opened (cons (match-string 1) opened)))) (if opened (progn (p4-exec-p4 buffer (list "diff") t) (save-excursion (set-buffer buffer) (goto-char (point-max)) (insert "====\n") (goto-char (point-min)) (while (re-search-forward "^==== \\([^#\n]+\\)#.*\n====" nil t) (if (member (match-string 1) opened) (progn (setq empty-diff t) (goto-char (point-max)))))))) (kill-buffer buffer) empty-diff)) ;; this next chunk is not currently used, but my plan is to ;; reintroduce it as configurable bury-or-kill-on-q behaviour: ;; (defcustom p4-blame-2ary-disp-method 'default ;; "Method to use when displaying p4-blame secondary buffers ;; (currently change and rev buffers) ;; new-frame -- pop a new frame for the buffer ;; new-window -- create a new window for the buffer ;; default -- just do what `display-buffer' would do ;; Any other value is equivalent to default." ;; :type '(radio (const default) (const new-frame) (const new-window)) ;; :group 'p4) (defun p4-blame-kill-blame () "Don\'t ask any questions, just kill the current buffer" (interactive) (set-buffer-modified-p nil) (kill-buffer (current-buffer))) (defun p4-blame-secondary-buffer-cleanup () "Attempt to clean up a` p4-blame' secondary buffer neatly, deleting windows or frames when we think that\'s necessary" (let* ((this-buffer (current-buffer)) (this-window (get-buffer-window this-buffer t))) (cond ;; in new-frame mode, delete the frame ((eq p4-blame-2ary-disp-method 'new-frame) (if (one-window-p 'ignore-minibuffer 'just-this-frame) (delete-frame (window-frame this-window)) (delete-window this-window)) t) ;; in new-window mode, just zap the window, ;; provided it is not the only one: ((eq p4-blame-2ary-disp-method 'new-window) (if (not (one-window-p 'ignore-minibuffer 'just-this-frame)) (delete-window this-window)) t) ;; any other mode, nothing special need be done (t t)))) (provide 'p4) ;;; p4.el ends here ;;; python-mode.el --- Major mode for editing Python programs ;; Copyright (C) 1992,1993,1994 Tim Peters ;; Author: 1995-1998 Barry A. Warsaw ;; 1992-1994 Tim Peters ;; Maintainer: python-mode@python.org ;; Created: Feb 1992 ;; Keywords: python languages oop (defconst py-version "3.105" "`python-mode' version number.") ;; This software is provided as-is, without express or implied ;; warranty. Permission to use, copy, modify, distribute or sell this ;; software, without fee, for any purpose and by any individual or ;; organization, is hereby granted, provided that the above copyright ;; notice and this paragraph appear in all copies. ;;; Commentary: ;; This is a major mode for editing Python programs. It was developed ;; by Tim Peters after an original idea by Michael A. Guravage. Tim ;; subsequently left the net; in 1995, Barry Warsaw inherited the mode ;; and is the current maintainer. Tim's now back but disavows all ;; responsibility for the mode. Smart Tim :-) ;; This version of python-mode.el is no longer compatible with Emacs ;; 18. I am striving to maintain compatibility with the X/Emacs 19 ;; lineage but as time goes on that becomes more and more difficult. ;; I current recommend that you upgrade to the latest stable released ;; version of your favorite branch: Emacs 20.3 or better, or XEmacs ;; 20.4 or better (XEmacs 21.0 is in beta testing as of this writing ;; 27-Oct-1998 appears to work fine with this version of ;; python-mode.el). Even Windows users should be using at least ;; NTEmacs 20.3, and XEmacs 21.0 will work very nicely on Windows when ;; it is released. ;; FOR MORE INFORMATION: ;; For more information on installing python-mode.el, especially with ;; respect to compatibility information, please see ;; ;; http://www.python.org/emacs/python-mode/ ;; ;; This site also contains links to other packages that you might find ;; useful, such as pdb interfaces, OO-Browser links, etc. ;; BUG REPORTING: ;; To submit bug reports, use C-c C-b. Please include a complete, but ;; concise code sample and a recipe for reproducing the bug. Send ;; suggestions and other comments to python-mode@python.org. ;; When in a Python mode buffer, do a C-h m for more help. It's ;; doubtful that a texinfo manual would be very useful, but if you ;; want to contribute one, I'll certainly accept it! ;; TO DO LIST: ;; - Better integration with pdb.py and gud-mode for debugging. ;; - Rewrite according to GNU Emacs Lisp standards. ;; - have py-execute-region on indented code act as if the region is ;; left justified. Avoids syntax errors. ;; - add a py-goto-block-down, bound to C-c C-d ;;; Code: (require 'comint) (require 'custom) (eval-when-compile (require 'cl) (if (not (and (condition-case nil (require 'custom) (error nil)) ;; Stock Emacs 19.34 has a broken/old Custom library ;; that does more harm than good. Fortunately, it is ;; missing defcustom (fboundp 'defcustom))) (error "STOP! STOP! STOP! STOP! The Custom library was not found or is out of date. A more current version is required. Please download and install the latest version of the Custom library from: <http://www.dina.kvl.dk/~abraham/custom/> See the Python Mode home page for details: <http://www.python.org/emacs/python-mode> "))) ;; user definable variables ;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv (defgroup python nil "Support for the Python programming language, <http://www.python.org/>" :group 'languages :prefix "py-") (defcustom py-python-command "python" "*Shell command used to start Python interpreter." :type 'string :group 'python) (defcustom py-jpython-command "jpython" "*Shell command used to start the JPython interpreter." :type 'string :group 'python :tag "JPython Command") (defcustom py-default-interpreter 'cpython "*Which Python interpreter is used by default. The value for this variable can be either `cpython' or `jpython'. When the value is `cpython', the variables `py-python-command' and `py-python-command-args' are consulted to determine the interpreter and arguments to use. When the value is `jpython', the variables `py-jpython-command' and `py-jpython-command-args' are consulted to determine the interpreter and arguments to use. Note that this variable is consulted only the first time that a Python mode buffer is visited during an Emacs session. After that, use \\[py-toggle-shells] to change the interpreter shell." :type '(choice (const :tag "Python (a.k.a. CPython)" cpython) (const :tag "JPython" jpython)) :group 'python) (defcustom py-python-command-args '("-i") "*List of string arguments to be used when starting a Python shell." :type '(repeat string) :group 'python) (defcustom py-jpython-command-args '("-i") "*List of string arguments to be used when starting a JPython shell." :type '(repeat string) :group 'python :tag "JPython Command Args") (defcustom py-indent-offset 4 "*Amount of offset per level of indentation. `\\[py-guess-indent-offset]' can usually guess a good value when you're editing someone else's Python code." :type 'integer :group 'python) (defcustom py-smart-indentation t "*Should `python-mode' try to automagically set some indentation variables? When this variable is non-nil, two things happen when a buffer is set to `python-mode': 1. `py-indent-offset' is guessed from existing code in the buffer. Only guessed values between 2 and 8 are considered. If a valid guess can't be made (perhaps because you are visiting a new file), then the value in `py-indent-offset' is used. 2. `indent-tabs-mode' is turned off if `py-indent-offset' does not equal `tab-width' (`indent-tabs-mode' is never turned on by Python mode). This means that for newly written code, tabs are only inserted in indentation if one tab is one indentation level, otherwise only spaces are used. Note that both these settings occur *after* `python-mode-hook' is run, so if you want to defeat the automagic configuration, you must also set `py-smart-indentation' to nil in your `python-mode-hook'." :type 'boolean :group 'python) (defcustom py-align-multiline-strings-p t "*Flag describing how multi-line triple quoted strings are aligned. When this flag is non-nil, continuation lines are lined up under the preceding line's indentation. When this flag is nil, continuation lines are aligned to column zero." :type '(choice (const :tag "Align under preceding line" t) (const :tag "Align to column zero" nil)) :group 'python) (defcustom py-block-comment-prefix "##" "*String used by \\[comment-region] to comment out a block of code. This should follow the convention for non-indenting comment lines so that the indentation commands won't get confused (i.e., the string should be of the form `#x...' where `x' is not a blank or a tab, and `...' is arbitrary). However, this string should not end in whitespace." :type 'string :group 'python) (defcustom py-honor-comment-indentation t "*Controls how comment lines influence subsequent indentation. When nil, all comment lines are skipped for indentation purposes, and if possible, a faster algorithm is used (i.e. X/Emacs 19 and beyond). When t, lines that begin with a single `#' are a hint to subsequent line indentation. If the previous line is such a comment line (as opposed to one that starts with `py-block-comment-prefix'), then its indentation is used as a hint for this line's indentation. Lines that begin with `py-block-comment-prefix' are ignored for indentation purposes. When not nil or t, comment lines that begin with a `#' are used as indentation hints, unless the comment character is in column zero." :type '(choice (const :tag "Skip all comment lines (fast)" nil) (const :tag "Single # `sets' indentation for next line" t) (const :tag "Single # `sets' indentation except at column zero" other) ) :group 'python) (defcustom py-temp-directory (let ((ok '(lambda (x) (and x (setq x (expand-file-name x)) ; always true (file-directory-p x) (file-writable-p x) x)))) (or (funcall ok (getenv "TMPDIR")) (funcall ok "/usr/tmp") (funcall ok "/tmp") (funcall ok ".") (error "Couldn't find a usable temp directory -- set `py-temp-directory'"))) "*Directory used for temp files created by a *Python* process. By default, the first directory from this list that exists and that you can write into: the value (if any) of the environment variable TMPDIR, /usr/tmp, /tmp, or the current directory." :type 'string :group 'python) (defcustom py-beep-if-tab-change t "*Ring the bell if `tab-width' is changed. If a comment of the form \t# vi:set tabsize=<number>: is found before the first code line when the file is entered, and the current value of (the general Emacs variable) `tab-width' does not equal <number>, `tab-width' is set to <number>, a message saying so is displayed in the echo area, and if `py-beep-if-tab-change' is non-nil the Emacs bell is also rung as a warning." :type 'boolean :group 'python) (defcustom py-jump-on-exception t "*Jump to innermost exception frame in *Python Output* buffer. When this variable is non-nil and an exception occurs when running Python code synchronously in a subprocess, jump immediately to the source code of the innermost traceback frame." :type 'boolean :group 'python) (defcustom py-ask-about-save t "If not nil, ask about which buffers to save before executing some code. Otherwise, all modified buffers are saved without asking." :type 'boolean :group 'python) (defcustom py-backspace-function 'backward-delete-char-untabify "*Function called by `py-electric-backspace' when deleting backwards." :type 'function :group 'python) (defcustom py-delete-function 'delete-char "*Function called by `py-electric-delete' when deleting forwards." :type 'function :group 'python) (defcustom py-imenu-show-method-args-p nil "*Controls echoing of arguments of functions & methods in the Imenu buffer. When non-nil, arguments are printed." :type 'boolean :group 'python) (make-variable-buffer-local 'py-indent-offset) ;; Not customizable (defvar py-master-file nil "If non-nil, execute the named file instead of the buffer's file. The intent is to allow you to set this variable in the file's local variable section, e.g.: # Local Variables: # py-master-file: \"master.py\" # End: so that typing \\[py-execute-buffer] in that buffer executes the named master file instead of the buffer's file. If the file name has a relative path, the value of variable `default-directory' for the buffer is prepended to come up with a file name.") (make-variable-buffer-local 'py-master-file) ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;; NO USER DEFINABLE VARIABLES BEYOND THIS POINT (defconst py-emacs-features (let (features) ;; NTEmacs 19.34.6 has a broken make-temp-name; it always returns ;; the same string. (let ((tmp1 (make-temp-name "")) (tmp2 (make-temp-name ""))) (if (string-equal tmp1 tmp2) (push 'broken-temp-names features))) ;; return the features features) "A list of features extant in the Emacs you are using. There are many flavors of Emacs out there, with different levels of support for features needed by `python-mode'.") (defvar python-font-lock-keywords (let ((kw1 (mapconcat 'identity '("and" "assert" "break" "class" "continue" "def" "del" "elif" "else" "except" "exec" "for" "from" "global" "if" "import" "in" "is" "lambda" "not" "or" "pass" "print" "raise" "return" "while" ) "\\|")) (kw2 (mapconcat 'identity '("else:" "except:" "finally:" "try:") "\\|")) ) (list ;; keywords (cons (concat "\\b\\(" kw1 "\\)\\b[ \n\t(]") 1) ;; block introducing keywords with immediately following colons. ;; Yes "except" is in both lists. (cons (concat "\\b\\(" kw2 "\\)[ \n\t(]") 1) ;; classes '("\\bclass[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 font-lock-type-face) ;; functions '("\\bdef[ \t]+\\([a-zA-Z_]+[a-zA-Z0-9_]*\\)" 1 font-lock-function-name-face) )) "Additional expressions to highlight in Python mode.") (put 'python-mode 'font-lock-defaults '(python-font-lock-keywords)) ;; have to bind py-file-queue before installing the kill-emacs-hook (defvar py-file-queue nil "Queue of Python temp files awaiting execution. Currently-active file is at the head of the list.") ;; Constants (defconst py-stringlit-re (concat ;; These fail if backslash-quote ends the string (not worth ;; fixing?). They precede the short versions so that the first two ;; quotes don't look like an empty short string. ;; ;; (maybe raw), long single quoted triple quoted strings (SQTQ), ;; with potential embedded single quotes "[rR]?'''[^']*\\(\\('[^']\\|''[^']\\)[^']*\\)*'''" "\\|" ;; (maybe raw), long double quoted triple quoted strings (DQTQ), ;; with potential embedded double quotes "[rR]?\"\"\"[^\"]*\\(\\(\"[^\"]\\|\"\"[^\"]\\)[^\"]*\\)*\"\"\"" "\\|" "[rR]?'\\([^'\n\\]\\|\\\\.\\)*'" ; single-quoted "\\|" ; or "[rR]?\"\\([^\"\n\\]\\|\\\\.\\)*\"" ; double-quoted ) "Regular expression matching a Python string literal.") (defconst py-continued-re ;; This is tricky because a trailing backslash does not mean ;; continuation if it's in a comment (concat "\\(" "[^#'\"\n\\]" "\\|" py-stringlit-re "\\)*" "\\\\$") "Regular expression matching Python backslash continuation lines.") (defconst py-blank-or-comment-re "[ \t]*\\($\\|#\\)" "Regular expression matching a blank or comment line.") (defconst py-outdent-re (concat "\\(" (mapconcat 'identity '("else:" "except\\(\\s +.*\\)?:" "finally:" "elif\\s +.*:") "\\|") "\\)") "Regular expression matching statements to be dedented one level.") (defconst py-block-closing-keywords-re "\\(return\\|raise\\|break\\|continue\\|pass\\)" "Regular expression matching keywords which typically close a block.") (defconst py-no-outdent-re (concat "\\(" (mapconcat 'identity (list "try:" "except\\(\\s +.*\\)?:" "while\\s +.*:" "for\\s +.*:" "if\\s +.*:" "elif\\s +.*:" (concat py-block-closing-keywords-re "[ \t\n]") ) "\\|") "\\)") "Regular expression matching lines not to dedent after.") (defconst py-defun-start-re "^\\([ \t]*\\)def[ \t]+\\([a-zA-Z_0-9]+\\)\\|\\(^[a-zA-Z_0-9]+\\)[ \t]*=" ;; If you change this, you probably have to change py-current-defun ;; as well. This is only used by py-current-defun to find the name ;; for add-log.el. "Regular expression matching a function, method, or variable assignment.") (defconst py-class-start-re "^class[ \t]*\\([a-zA-Z_0-9]+\\)" ;; If you change this, you probably have to change py-current-defun ;; as well. This is only used by py-current-defun to find the name ;; for add-log.el. "Regular expression for finding a class name.") (defconst py-traceback-line-re "[ \t]+File \"\\([^\"]+\\)\", line \\([0-9]+\\)" "Regular expression that describes tracebacks.") ;; Major mode boilerplate ;; define a mode-specific abbrev table for those who use such things (defvar python-mode-abbrev-table nil "Abbrev table in use in `python-mode' buffers.") (define-abbrev-table 'python-mode-abbrev-table nil) (defvar python-mode-hook nil "*Hook called by `python-mode'.") ;; In previous version of python-mode.el, the hook was incorrectly ;; called py-mode-hook, and was not defvar'd. Deprecate its use. (and (fboundp 'make-obsolete-variable) (make-obsolete-variable 'py-mode-hook 'python-mode-hook)) (defvar py-mode-map () "Keymap used in `python-mode' buffers.") (if py-mode-map nil (setq py-mode-map (make-sparse-keymap)) ;; electric keys (define-key py-mode-map ":" 'py-electric-colon) ;; indentation level modifiers (define-key py-mode-map "\C-c\C-l" 'py-shift-region-left) (define-key py-mode-map "\C-c\C-r" 'py-shift-region-right) (define-key py-mode-map "\C-c<" 'py-shift-region-left) (define-key py-mode-map "\C-c>" 'py-shift-region-right) ;; subprocess commands (define-key py-mode-map "\C-c\C-c" 'py-execute-buffer) (define-key py-mode-map "\C-c\C-m" 'py-execute-import-or-reload) (define-key py-mode-map "\C-c\C-s" 'py-execute-string) (define-key py-mode-map "\C-c|" 'py-execute-region) (define-key py-mode-map "\e\C-x" 'py-execute-def-or-class) (define-key py-mode-map "\C-c!" 'py-shell) (define-key py-mode-map "\C-c\C-t" 'py-toggle-shells) ;; Caution! Enter here at your own risk. We are trying to support ;; several behaviors and it gets disgusting. :-( This logic ripped ;; largely from CC Mode. ;; ;; In XEmacs 19, Emacs 19, and Emacs 20, we use this to bind ;; backwards deletion behavior to DEL, which both Delete and ;; Backspace get translated to. There's no way to separate this ;; behavior in a clean way, so deal with it! Besides, it's been ;; this way since the dawn of time. (if (not (boundp 'delete-key-deletes-forward)) (define-key py-mode-map "\177" 'py-electric-backspace) ;; However, XEmacs 20 actually achieved enlightenment. It is ;; possible to sanely define both backward and forward deletion ;; behavior under X separately (TTYs are forever beyond hope, but ;; who cares? XEmacs 20 does the right thing with these too). (define-key py-mode-map [delete] 'py-electric-delete) (define-key py-mode-map [backspace] 'py-electric-backspace)) ;; Separate M-BS from C-M-h. The former should remain ;; backward-kill-word. (define-key py-mode-map [(control meta h)] 'py-mark-def-or-class) (define-key py-mode-map "\C-c\C-k" 'py-mark-block) ;; Miscellaneous (define-key py-mode-map "\C-c:" 'py-guess-indent-offset) (define-key py-mode-map "\C-c\t" 'py-indent-region) (define-key py-mode-map "\C-c\C-n" 'py-next-statement) (define-key py-mode-map "\C-c\C-p" 'py-previous-statement) (define-key py-mode-map "\C-c\C-u" 'py-goto-block-up) (define-key py-mode-map "\C-c#" 'py-comment-region) (define-key py-mode-map "\C-c?" 'py-describe-mode) (define-key py-mode-map "\C-c\C-hm" 'py-describe-mode) (define-key py-mode-map "\e\C-a" 'py-beginning-of-def-or-class) (define-key py-mode-map "\e\C-e" 'py-end-of-def-or-class) (define-key py-mode-map "\C-c-" 'py-up-exception) (define-key py-mode-map "\C-c=" 'py-down-exception) ;; stuff that is `standard' but doesn't interface well with ;; python-mode, which forces us to rebind to special commands (define-key py-mode-map "\C-xnd" 'py-narrow-to-defun) ;; information (define-key py-mode-map "\C-c\C-b" 'py-submit-bug-report) (define-key py-mode-map "\C-c\C-v" 'py-version) ;; shadow global bindings for newline-and-indent w/ the py- version. ;; BAW - this is extremely bad form, but I'm not going to change it ;; for now. (mapcar #'(lambda (key) (define-key py-mode-map key 'py-newline-and-indent)) (where-is-internal 'newline-and-indent)) ;; Force RET to be py-newline-and-indent even if it didn't get ;; mapped by the above code. motivation: Emacs' default binding for ;; RET is `newline' and C-j is `newline-and-indent'. Most Pythoneers ;; expect RET to do a `py-newline-and-indent' and any Emacsers who ;; dislike this are probably knowledgeable enough to do a rebind. ;; However, we do *not* change C-j since many Emacsers have already ;; swapped RET and C-j and they don't want C-j bound to `newline' to ;; change. (define-key py-mode-map "\C-m" 'py-newline-and-indent) ) (defvar py-mode-output-map nil "Keymap used in *Python Output* buffers.") (if py-mode-output-map nil (setq py-mode-output-map (make-sparse-keymap)) (define-key py-mode-output-map [button2] 'py-mouseto-exception) (define-key py-mode-output-map "\C-c\C-c" 'py-goto-exception) ;; TBD: Disable all self-inserting keys. This is bogus, we should ;; really implement this as *Python Output* buffer being read-only (mapcar #' (lambda (key) (define-key py-mode-output-map key #'(lambda () (interactive) (beep)))) (where-is-internal 'self-insert-command)) ) (defvar py-shell-map nil "Keymap used in *Python* shell buffers.") (if py-shell-map nil (setq py-shell-map (copy-keymap comint-mode-map)) (define-key py-shell-map [tab] 'tab-to-tab-stop) (define-key py-shell-map "\C-c-" 'py-up-exception) (define-key py-shell-map "\C-c=" 'py-down-exception) ) (defvar py-mode-syntax-table nil "Syntax table used in `python-mode' buffers.") (if py-mode-syntax-table nil (setq py-mode-syntax-table (make-syntax-table)) (modify-syntax-entry ?\( "()" py-mode-syntax-table) (modify-syntax-entry ?\) ")(" py-mode-syntax-table) (modify-syntax-entry ?\[ "(]" py-mode-syntax-table) (modify-syntax-entry ?\] ")[" py-mode-syntax-table) (modify-syntax-entry ?\{ "(}" py-mode-syntax-table) (modify-syntax-entry ?\} "){" py-mode-syntax-table) ;; Add operator symbols misassigned in the std table (modify-syntax-entry ?\$ "." py-mode-syntax-table) (modify-syntax-entry ?\% "." py-mode-syntax-table) (modify-syntax-entry ?\& "." py-mode-syntax-table) (modify-syntax-entry ?\* "." py-mode-syntax-table) (modify-syntax-entry ?\+ "." py-mode-syntax-table) (modify-syntax-entry ?\- "." py-mode-syntax-table) (modify-syntax-entry ?\/ "." py-mode-syntax-table) (modify-syntax-entry ?\< "." py-mode-syntax-table) (modify-syntax-entry ?\= "." py-mode-syntax-table) (modify-syntax-entry ?\> "." py-mode-syntax-table) (modify-syntax-entry ?\| "." py-mode-syntax-table) ;; For historical reasons, underscore is word class instead of ;; symbol class. GNU conventions say it should be symbol class, but ;; there's a natural conflict between what major mode authors want ;; and what users expect from `forward-word' and `backward-word'. ;; Guido and I have hashed this out and have decided to keep ;; underscore in word class. If you're tempted to change it, try ;; binding M-f and M-b to py-forward-into-nomenclature and ;; py-backward-into-nomenclature instead. This doesn't help in all ;; situations where you'd want the different behavior ;; (e.g. backward-kill-word). (modify-syntax-entry ?\_ "w" py-mode-syntax-table) ;; Both single quote and double quote are string delimiters (modify-syntax-entry ?\' "\"" py-mode-syntax-table) (modify-syntax-entry ?\" "\"" py-mode-syntax-table) ;; backquote is open and close paren (modify-syntax-entry ?\` "$" py-mode-syntax-table) ;; comment delimiters (modify-syntax-entry ?\# "<" py-mode-syntax-table) (modify-syntax-entry ?\n ">" py-mode-syntax-table) ) ;; Utilities (defmacro py-safe (&rest body) "Safely execute BODY, return nil if an error occurred." (` (condition-case nil (progn (,@ body)) (error nil)))) (defsubst py-keep-region-active () "Keep the region active in XEmacs." ;; Ignore byte-compiler warnings you might see. Also note that ;; FSF's Emacs 19 does it differently; its policy doesn't require us ;; to take explicit action. (and (boundp 'zmacs-region-stays) (setq zmacs-region-stays t))) (defsubst py-point (position) "Returns the value of point at certain commonly referenced POSITIONs. POSITION can be one of the following symbols: bol -- beginning of line eol -- end of line bod -- beginning of def or class eod -- end of def or class bob -- beginning of buffer eob -- end of buffer boi -- back to indentation bos -- beginning of statement This function does not modify point or mark." (let ((here (point))) (cond ((eq position 'bol) (beginning-of-line)) ((eq position 'eol) (end-of-line)) ((eq position 'bod) (py-beginning-of-def-or-class)) ((eq position 'eod) (py-end-of-def-or-class)) ;; Kind of funny, I know, but useful for py-up-exception. ((eq position 'bob) (beginning-of-buffer)) ((eq position 'eob) (end-of-buffer)) ((eq position 'boi) (back-to-indentation)) ((eq position 'bos) (py-goto-initial-line)) (t (error "Unknown buffer position requested: %s" position)) ) (prog1 (point) (goto-char here)))) (defsubst py-highlight-line (from to file line) (cond ((fboundp 'make-extent) ;; XEmacs (let ((e (make-extent from to))) (set-extent-property e 'mouse-face 'highlight) (set-extent-property e 'py-exc-info (cons file line)) (set-extent-property e 'keymap py-mode-output-map))) (t ;; Emacs -- Please port this! ) )) (defun py-in-literal (&optional lim) "Return non-nil if point is in a Python literal (a comment or string). Optional argument LIM indicates the beginning of the containing form, i.e. the limit on how far back to scan." ;; This is the version used for non-XEmacs, which has a nicer ;; interface. ;; ;; WARNING: Watch out for infinite recursion. (let* ((lim (or lim (py-point 'bod))) (state (parse-partial-sexp lim (point)))) (cond ((nth 3 state) 'string) ((nth 4 state) 'comment) (t nil)))) ;; XEmacs has a built-in function that should make this much quicker. ;; In this case, lim is ignored (defun py-fast-in-literal (&optional lim) "Fast version of `py-in-literal', used only by XEmacs. Optional LIM is ignored." ;; don't have to worry about context == 'block-comment (buffer-syntactic-context)) (if (fboundp 'buffer-syntactic-context) (defalias 'py-in-literal 'py-fast-in-literal)) ;; Menu definitions, only relevent if you have the easymenu.el package ;; (standard in the latest Emacs 19 and XEmacs 19 distributions). (defvar py-menu nil "Menu for Python Mode. This menu will get created automatically if you have the `easymenu' package. Note that the latest X/Emacs releases contain this package.") (and (py-safe (require 'easymenu) t) (easy-menu-define py-menu py-mode-map "Python Mode menu" '("Python" ["Comment Out Region" py-comment-region (mark)] ["Uncomment Region" (py-comment-region (point) (mark) '(4)) (mark)] "-" ["Mark current block" py-mark-block t] ["Mark current def" py-mark-def-or-class t] ["Mark current class" (py-mark-def-or-class t) t] "-" ["Shift region left" py-shift-region-left (mark)] ["Shift region right" py-shift-region-right (mark)] "-" ["Import/reload file" py-execute-import-or-reload t] ["Execute buffer" py-execute-buffer t] ["Execute region" py-execute-region (mark)] ["Execute def or class" py-execute-def-or-class (mark)] ["Execute string" py-execute-string t] ["Start interpreter..." py-shell t] "-" ["Go to start of block" py-goto-block-up t] ["Go to start of class" (py-beginning-of-def-or-class t) t] ["Move to end of class" (py-end-of-def-or-class t) t] ["Move to start of def" py-beginning-of-def-or-class t] ["Move to end of def" py-end-of-def-or-class t] "-" ["Describe mode" py-describe-mode t] ))) ;; Imenu definitions (defvar py-imenu-class-regexp (concat ; <<classes>> "\\(" ; "^[ \t]*" ; newline and maybe whitespace "\\(class[ \t]+[a-zA-Z0-9_]+\\)" ; class name ; possibly multiple superclasses "\\([ \t]*\\((\\([a-zA-Z0-9_,. \t\n]\\)*)\\)?\\)" "[ \t]*:" ; and the final : "\\)" ; >>classes<< ) "Regexp for Python classes for use with the Imenu package." ) (defvar py-imenu-method-regexp (concat ; <<methods and functions>> "\\(" ; "^[ \t]*" ; new line and maybe whitespace "\\(def[ \t]+" ; function definitions start with def "\\([a-zA-Z0-9_]+\\)" ; name is here ; function arguments... ;; "[ \t]*(\\([-+/a-zA-Z0-9_=,\* \t\n.()\"'#]*\\))" "[ \t]*(\\([^:#]*\\))" "\\)" ; end of def "[ \t]*:" ; and then the : "\\)" ; >>methods and functions<< ) "Regexp for Python methods/functions for use with the Imenu package." ) (defvar py-imenu-method-no-arg-parens '(2 8) "Indices into groups of the Python regexp for use with Imenu. Using these values will result in smaller Imenu lists, as arguments to functions are not listed. See the variable `py-imenu-show-method-args-p' for more information.") (defvar py-imenu-method-arg-parens '(2 7) "Indices into groups of the Python regexp for use with imenu. Using these values will result in large Imenu lists, as arguments to functions are listed. See the variable `py-imenu-show-method-args-p' for more information.") ;; Note that in this format, this variable can still be used with the ;; imenu--generic-function. Otherwise, there is no real reason to have ;; it. (defvar py-imenu-generic-expression (cons (concat py-imenu-class-regexp "\\|" ; or... py-imenu-method-regexp ) py-imenu-method-no-arg-parens) "Generic Python expression which may be used directly with Imenu. Used by setting the variable `imenu-generic-expression' to this value. Also, see the function \\[py-imenu-create-index] for a better alternative for finding the index.") ;; These next two variables are used when searching for the Python ;; class/definitions. Just saving some time in accessing the ;; generic-python-expression, really. (defvar py-imenu-generic-regexp nil) (defvar py-imenu-generic-parens nil) (defun py-imenu-create-index-function () "Python interface function for the Imenu package. Finds all Python classes and functions/methods. Calls function \\[py-imenu-create-index-engine]. See that function for the details of how this works." (setq py-imenu-generic-regexp (car py-imenu-generic-expression) py-imenu-generic-parens (if py-imenu-show-method-args-p py-imenu-method-arg-parens py-imenu-method-no-arg-parens)) (goto-char (point-min)) ;; Warning: When the buffer has no classes or functions, this will ;; return nil, which seems proper according to the Imenu API, but ;; causes an error in the XEmacs port of Imenu. Sigh. (py-imenu-create-index-engine nil)) (defun py-imenu-create-index-engine (&optional start-indent) "Function for finding Imenu definitions in Python. Finds all definitions (classes, methods, or functions) in a Python file for the Imenu package. Returns a possibly nested alist of the form (INDEX-NAME . INDEX-POSITION) The second element of the alist may be an alist, producing a nested list as in (INDEX-NAME . INDEX-ALIST) This function should not be called directly, as it calls itself recursively and requires some setup. Rather this is the engine for the function \\[py-imenu-create-index-function]. It works recursively by looking for all definitions at the current indention level. When it finds one, it adds it to the alist. If it finds a definition at a greater indentation level, it removes the previous definition from the alist. In its place it adds all definitions found at the next indentation level. When it finds a definition that is less indented then the current level, it returns the alist it has created thus far. The optional argument START-INDENT indicates the starting indentation at which to continue looking for Python classes, methods, or functions. If this is not supplied, the function uses the indentation of the first definition found." (let (index-alist sub-method-alist looking-p def-name prev-name cur-indent def-pos (class-paren (first py-imenu-generic-parens)) (def-paren (second py-imenu-generic-parens))) (setq looking-p (re-search-forward py-imenu-generic-regexp (point-max) t)) (while looking-p (save-excursion ;; used to set def-name to this value but generic-extract-name ;; is new to imenu-1.14. this way it still works with ;; imenu-1.11 ;;(imenu--generic-extract-name py-imenu-generic-parens)) (let ((cur-paren (if (match-beginning class-paren) class-paren def-paren))) (setq def-name (buffer-substring-no-properties (match-beginning cur-paren) (match-end cur-paren)))) (save-match-data (py-beginning-of-def-or-class 'either)) (beginning-of-line) (setq cur-indent (current-indentation))) ;; HACK: want to go to the next correct definition location. We ;; explicitly list them here but it would be better to have them ;; in a list. (setq def-pos (or (match-beginning class-paren) (match-beginning def-paren))) ;; if we don't have a starting indent level, take this one (or start-indent (setq start-indent cur-indent)) ;; if we don't have class name yet, take this one (or prev-name (setq prev-name def-name)) ;; what level is the next definition on? must be same, deeper ;; or shallower indentation (cond ;; at the same indent level, add it to the list... ((= start-indent cur-indent) (push (cons def-name def-pos) index-alist)) ;; deeper indented expression, recurse ((< start-indent cur-indent) ;; the point is currently on the expression we're supposed to ;; start on, so go back to the last expression. The recursive ;; call will find this place again and add it to the correct ;; list (re-search-backward py-imenu-generic-regexp (point-min) 'move) (setq sub-method-alist (py-imenu-create-index-engine cur-indent)) (if sub-method-alist ;; we put the last element on the index-alist on the start ;; of the submethod alist so the user can still get to it. (let ((save-elmt (pop index-alist))) (push (cons prev-name (cons save-elmt sub-method-alist)) index-alist)))) ;; found less indented expression, we're done. (t (setq looking-p nil) (re-search-backward py-imenu-generic-regexp (point-min) t))) ;; end-cond (setq prev-name def-name) (and looking-p (setq looking-p (re-search-forward py-imenu-generic-regexp (point-max) 'move)))) (nreverse index-alist))) ;;;###autoload (defun python-mode () "Major mode for editing Python files. To submit a problem report, enter `\\[py-submit-bug-report]' from a `python-mode' buffer. Do `\\[py-describe-mode]' for detailed documentation. To see what version of `python-mode' you are running, enter `\\[py-version]'. This mode knows about Python indentation, tokens, comments and continuation lines. Paragraphs are separated by blank lines only. COMMANDS \\{py-mode-map} VARIABLES py-indent-offset\t\tindentation increment py-block-comment-prefix\t\tcomment string used by `comment-region' py-python-command\t\tshell command to invoke Python interpreter py-temp-directory\t\tdirectory used for temp files (if needed) py-beep-if-tab-change\t\tring the bell if `tab-width' is changed" (interactive) ;; set up local variables (kill-all-local-variables) (make-local-variable 'font-lock-defaults) (make-local-variable 'paragraph-separate) (make-local-variable 'paragraph-start) (make-local-variable 'require-final-newline) (make-local-variable 'comment-start) (make-local-variable 'comment-end) (make-local-variable 'comment-start-skip) (make-local-variable 'comment-column) (make-local-variable 'comment-indent-function) (make-local-variable 'indent-region-function) (make-local-variable 'indent-line-function) (make-local-variable 'add-log-current-defun-function) ;; (set-syntax-table py-mode-syntax-table) (setq major-mode 'python-mode mode-name "Python" local-abbrev-table python-mode-abbrev-table font-lock-defaults '(python-font-lock-keywords) paragraph-separate "^[ \t]*$" paragraph-start "^[ \t]*$" require-final-newline t comment-start "# " comment-end "" comment-start-skip "# *" comment-column 40 comment-indent-function 'py-comment-indent-function indent-region-function 'py-indent-region indent-line-function 'py-indent-line ;; tell add-log.el how to find the current function/method/variable add-log-current-defun-function 'py-current-defun ) (use-local-map py-mode-map) ;; add the menu (if py-menu (easy-menu-add py-menu)) ;; Emacs 19 requires this (if (boundp 'comment-multi-line) (setq comment-multi-line nil)) ;; Install Imenu if available (when (py-safe (require 'imenu)) (setq imenu-create-index-function #'py-imenu-create-index-function) (setq imenu-generic-expression py-imenu-generic-expression) (if (fboundp 'imenu-add-to-menubar) (imenu-add-to-menubar (format "%s-%s" "IM" mode-name))) ) ;; Run the mode hook. Note that py-mode-hook is deprecated. (if python-mode-hook (run-hooks 'python-mode-hook) (run-hooks 'py-mode-hook)) ;; Now do the automagical guessing (if py-smart-indentation (let ((offset py-indent-offset)) ;; It's okay if this fails to guess a good value (if (and (py-safe (py-guess-indent-offset)) (<= py-indent-offset 8) (>= py-indent-offset 2)) (setq offset py-indent-offset)) (setq py-indent-offset offset) ;; Only turn indent-tabs-mode off if tab-width != ;; py-indent-offset. Never turn it on, because the user must ;; have explicitly turned it off. (if (/= tab-width py-indent-offset) (setq indent-tabs-mode nil)) )) ;; Set the default shell if not already set (when (null py-which-shell) (py-toggle-shells py-default-interpreter)) ) ;; electric characters (defun py-outdent-p () "Returns non-nil if the current line should dedent one level." (save-excursion (and (progn (back-to-indentation) (looking-at py-outdent-re)) ;; short circuit infloop on illegal construct (not (bobp)) (progn (forward-line -1) (py-goto-initial-line) (back-to-indentation) (while (or (looking-at py-blank-or-comment-re) (bobp)) (backward-to-indentation 1)) (not (looking-at py-no-outdent-re))) ))) (defun py-electric-colon (arg) "Insert a colon. In certain cases the line is dedented appropriately. If a numeric argument ARG is provided, that many colons are inserted non-electrically. Electric behavior is inhibited inside a string or comment." (interactive "P") (self-insert-command (prefix-numeric-value arg)) ;; are we in a string or comment? (if (save-excursion (let ((pps (parse-partial-sexp (save-excursion (py-beginning-of-def-or-class) (point)) (point)))) (not (or (nth 3 pps) (nth 4 pps))))) (save-excursion (let ((here (point)) (outdent 0) (indent (py-compute-indentation t))) (if (and (not arg) (py-outdent-p) (= indent (save-excursion (py-next-statement -1) (py-compute-indentation t))) ) (setq outdent py-indent-offset)) ;; Don't indent, only dedent. This assumes that any lines ;; that are already dedented relative to ;; py-compute-indentation were put there on purpose. It's ;; highly annoying to have `:' indent for you. Use TAB, C-c ;; C-l or C-c C-r to adjust. TBD: Is there a better way to ;; determine this??? (if (< (current-indentation) indent) nil (goto-char here) (beginning-of-line) (delete-horizontal-space) (indent-to (- indent outdent)) ))))) ;; Python subprocess utilities and filters (defun py-execute-file (proc filename) "Send to Python interpreter process PROC \"execfile('FILENAME')\". Make that process's buffer visible and force display. Also make comint believe the user typed this string so that `kill-output-from-shell' does The Right Thing." (let ((curbuf (current-buffer)) (procbuf (process-buffer proc)) ; (comint-scroll-to-bottom-on-output t) (msg (format "## working on region in file %s...\n" filename)) (cmd (format "execfile(r'%s')\n" filename))) (unwind-protect (save-excursion (set-buffer procbuf) (goto-char (point-max)) (move-marker (process-mark proc) (point)) (funcall (process-filter proc) proc msg)) (set-buffer curbuf)) (process-send-string proc cmd))) (defun py-comint-output-filter-function (string) "Watch output for Python prompt and exec next file waiting in queue. This function is appropriate for `comint-output-filter-functions'." ;; TBD: this should probably use split-string (when (and (or (string-equal string ">>> ") (and (>= (length string) 5) (string-equal (substring string -5) "\n>>> "))) py-file-queue) (py-safe (delete-file (car py-file-queue))) (setq py-file-queue (cdr py-file-queue)) (if py-file-queue (let ((pyproc (get-buffer-process (current-buffer)))) (py-execute-file pyproc (car py-file-queue)))) )) (defun py-postprocess-output-buffer (buf) "Highlight exceptions found in BUF. If an exception occurred return t, otherwise return nil. BUF must exist." (let (line file bol err-p) (save-excursion (set-buffer buf) (beginning-of-buffer) (while (re-search-forward py-traceback-line-re nil t) (setq file (match-string 1) line (string-to-int (match-string 2)) bol (py-point 'bol)) (py-highlight-line bol (py-point 'eol) file line))) (when (and py-jump-on-exception line) (beep) (py-jump-to-exception file line) (setq err-p t)) err-p)) ;;; Subprocess commands ;; only used when (memq 'broken-temp-names py-emacs-features) (defvar py-serial-number 0) (defvar py-exception-buffer nil) (defconst py-output-buffer "*Python Output*") (make-variable-buffer-local 'py-output-buffer) ;; for toggling between CPython and JPython (defvar py-which-shell nil) (defvar py-which-args py-python-command-args) (defvar py-which-bufname "Python") (make-variable-buffer-local 'py-which-shell) (make-variable-buffer-local 'py-which-args) (make-variable-buffer-local 'py-which-bufname) (defun py-toggle-shells (arg) "Toggles between the CPython and JPython shells. With positive argument ARG (interactively \\[universal-argument]), uses the CPython shell, with negative ARG uses the JPython shell, and with a zero argument, toggles the shell. Programmatically, ARG can also be one of the symbols `cpython' or `jpython', equivalent to positive arg and negative arg respectively." (interactive "P") ;; default is to toggle (if (null arg) (setq arg 0)) ;; preprocess arg (cond ((equal arg 0) ;; toggle (if (string-equal py-which-bufname "Python") (setq arg -1) (setq arg 1))) ((equal arg 'cpython) (setq arg 1)) ((equal arg 'jpython) (setq arg -1))) (let (msg) (cond ((< 0 arg) ;; set to CPython (setq py-which-shell py-python-command py-which-args py-python-command-args py-which-bufname "Python" msg "CPython" mode-name "Python")) ((> 0 arg) (setq py-which-shell py-jpython-command py-which-args py-jpython-command-args py-which-bufname "JPython" msg "JPython" mode-name "JPython")) ) (message "Using the %s shell" msg) (setq py-output-buffer (format "*%s Output*" py-which-bufname)))) ;;;###autoload (defun py-shell (&optional argprompt) "Start an interactive Python interpreter in another window. This is like Shell mode, except that Python is running in the window instead of a shell. See the `Interactive Shell' and `Shell Mode' sections of the Emacs manual for details, especially for the key bindings active in the `*Python*' buffer. With optional \\[universal-argument], the user is prompted for the flags to pass to the Python interpreter. This has no effect when this command is used to switch to an existing process, only when a new process is started. If you use this, you will probably want to ensure that the current arguments are retained (they will be included in the prompt). This argument is ignored when this function is called programmatically, or when running in Emacs 19.34 or older. Note: You can toggle between using the CPython interpreter and the JPython interpreter by hitting \\[py-toggle-shells]. This toggles buffer local variables which control whether all your subshell interactions happen to the `*JPython*' or `*Python*' buffers (the latter is the name used for the CPython buffer). Warning: Don't use an interactive Python if you change sys.ps1 or sys.ps2 from their default values, or if you're running code that prints `>>> ' or `... ' at the start of a line. `python-mode' can't distinguish your output from Python's output, and assumes that `>>> ' at the start of a line is a prompt from Python. Similarly, the Emacs Shell mode code assumes that both `>>> ' and `... ' at the start of a line are Python prompts. Bad things can happen if you fool either mode. Warning: If you do any editing *in* the process buffer *while* the buffer is accepting output from Python, do NOT attempt to `undo' the changes. Some of the output (nowhere near the parts you changed!) may be lost if you do. This appears to be an Emacs bug, an unfortunate interaction between undo and process filters; the same problem exists in non-Python process buffers using the default (Emacs-supplied) process filter." (interactive "P") ;; Set the default shell if not already set (when (null py-which-shell) (py-toggle-shells py-default-interpreter)) (let ((args py-which-args)) (when (and argprompt (interactive-p) (fboundp 'split-string)) ;; TBD: Perhaps force "-i" in the final list? (setq args (split-string (read-string (concat py-which-bufname " arguments: ") (concat (mapconcat 'identity py-which-args " ") " ") )))) (switch-to-buffer-other-window (apply 'make-comint py-which-bufname py-which-shell nil args)) (make-local-variable 'comint-prompt-regexp) (setq comint-prompt-regexp "^>>> \\|^[.][.][.] \\|^(pdb) ") (add-hook 'comint-output-filter-functions 'py-comint-output-filter-function) (set-syntax-table py-mode-syntax-table) (use-local-map py-shell-map) )) (defun py-clear-queue () "Clear the queue of temporary files waiting to execute." (interactive) (let ((n (length py-file-queue))) (mapcar 'delete-file py-file-queue) (setq py-file-queue nil) (message "%d pending files de-queued." n))) (defun py-execute-region (start end &optional async) "Execute the region in a Python interpreter. The region is first copied into a temporary file (in the directory `py-temp-directory'). If there is no Python interpreter shell running, this file is executed synchronously using `shell-command-on-region'. If the program is long running, use \\[universal-argument] to run the command asynchronously in its own buffer. When this function is used programmatically, arguments START and END specify the region to execute, and optional third argument ASYNC, if non-nil, specifies to run the command asynchronously in its own buffer. If the Python interpreter shell is running, the region is execfile()'d in that shell. If you try to execute regions too quickly, `python-mode' will queue them up and execute them one at a time when it sees a `>>> ' prompt from Python. Each time this happens, the process buffer is popped into a window (if it's not already in some window) so you can see it, and a comment of the form \t## working on region in file <name>... is inserted at the end. See also the command `py-clear-queue'." (interactive "r\nP") (or (< start end) (error "Region is empty")) (let* ((proc (get-process py-which-bufname)) (temp (if (memq 'broken-temp-names py-emacs-features) (let ((sn py-serial-number) (pid (and (fboundp 'emacs-pid) (emacs-pid)))) (setq py-serial-number (1+ py-serial-number)) (if pid (format "python-%d-%d" sn pid) (format "python-%d" sn))) (make-temp-name "python-"))) (file (expand-file-name temp py-temp-directory))) (write-region start end file nil 'nomsg) (cond ;; always run the code in its own asynchronous subprocess (async (let* ((buf (generate-new-buffer-name py-output-buffer)) ;; TBD: a horrible hack, but why create new Custom variables? (arg (if (string-equal py-which-bufname "Python") "-u" ""))) (start-process py-which-bufname buf py-which-shell arg file) (pop-to-buffer buf) (py-postprocess-output-buffer buf) )) ;; if the Python interpreter shell is running, queue it up for ;; execution there. (proc ;; use the existing python shell (if (not py-file-queue) (py-execute-file proc file) (message "File %s queued for execution" file)) (setq py-file-queue (append py-file-queue (list file))) (setq py-exception-buffer (cons file (current-buffer)))) (t ;; TBD: a horrible hack, buy why create new Custom variables? (let ((cmd (concat py-which-shell (if (string-equal py-which-bufname "JPython") " -" "")))) ;; otherwise either run it synchronously in a subprocess (shell-command-on-region start end cmd py-output-buffer) ;; shell-command-on-region kills the output buffer if it never ;; existed and there's no output from the command (if (not (get-buffer py-output-buffer)) (message "No output.") (setq py-exception-buffer (current-buffer)) (let ((err-p (py-postprocess-output-buffer py-output-buffer))) (pop-to-buffer py-output-buffer) (if err-p (pop-to-buffer py-exception-buffer))) ))) ))) ;; Code execution commands (defun py-execute-buffer (&optional async) "Send the contents of the buffer to a Python interpreter. If the file local variable `py-master-file' is non-nil, execute the named file instead of the buffer's file. If there is a *Python* process buffer it is used. If a clipping restriction is in effect, only the accessible portion of the buffer is sent. A trailing newline will be supplied if needed. See the `\\[py-execute-region]' docs for an account of some subtleties, including the use of the optional ASYNC argument." (interactive "P") (if py-master-file (let* ((filename (expand-file-name py-master-file)) (buffer (or (get-file-buffer filename) (find-file-noselect filename)))) (set-buffer buffer))) (py-execute-region (point-min) (point-max) async)) (defun py-execute-import-or-reload (&optional async) "Import the current buffer's file in a Python interpreter. If the file has already been imported, then do reload instead to get the latest version. If the file's name does not end in \".py\", then do execfile instead. If the current buffer is not visiting a file, do `py-execute-buffer' instead. If the file local variable `py-master-file' is non-nil, import or reload the named file instead of the buffer's file. The file may be saved based on the value of `py-execute-import-or-reload-save-p'. See the `\\[py-execute-region]' docs for an account of some subtleties, including the use of the optional ASYNC argument. This may be preferable to `\\[py-execute-buffer]' because: - Definitions stay in their module rather than appearing at top level, where they would clutter the global namespace and not affect uses of qualified names (MODULE.NAME). - The Python debugger gets line number information about the functions." (interactive "P") ;; Check file local variable py-master-file (if py-master-file (let* ((filename (expand-file-name py-master-file)) (buffer (or (get-file-buffer filename) (find-file-noselect filename)))) (set-buffer buffer))) (let ((file (buffer-file-name (current-buffer)))) (if file (progn ;; Maybe save some buffers (save-some-buffers (not py-ask-about-save) nil) (py-execute-string (if (string-match "\\.py$" file) (let ((f (file-name-sans-extension (file-name-nondirectory file)))) (format "if globals().has_key('%s'):\n reload(%s)\nelse:\n import %s\n" f f f)) (format "execfile(r'%s')\n" file)) async)) ;; else (py-execute-buffer async)))) (defun py-execute-def-or-class (&optional async) "Send the current function or class definition to a Python interpreter. If there is a *Python* process buffer it is used. See the `\\[py-execute-region]' docs for an account of some subtleties, including the use of the optional ASYNC argument." (interactive "P") (save-excursion (py-mark-def-or-class) ;; mark is before point (py-execute-region (mark) (point) async))) (defun py-execute-string (string &optional async) "Send the argument STRING to a Python interpreter. If there is a *Python* process buffer it is used. See the `\\[py-execute-region]' docs for an account of some subtleties, including the use of the optional ASYNC argument." (interactive "sExecute Python command: ") (save-excursion (set-buffer (get-buffer-create (generate-new-buffer-name " *Python Command*"))) (insert string) (py-execute-region (point-min) (point-max) async))) (defun py-jump-to-exception (file line) "Jump to the Python code in FILE at LINE." (let ((buffer (cond ((string-equal file "<stdin>") (if (consp py-exception-buffer) (cdr py-exception-buffer) py-exception-buffer)) ((and (consp py-exception-buffer) (string-equal file (car py-exception-buffer))) (cdr py-exception-buffer)) ((py-safe (find-file-noselect file))) ;; could not figure out what file the exception ;; is pointing to, so prompt for it (t (find-file (read-file-name "Exception file: " nil file t)))))) (pop-to-buffer buffer) ;; Force Python mode (if (not (eq major-mode 'python-mode)) (python-mode)) (goto-line line) (message "Jumping to exception in file %s on line %d" file line))) (defun py-mouseto-exception (event) "Jump to the code which caused the Python exception at EVENT. EVENT is usually a mouse click." (interactive "e") (cond ((fboundp 'event-point) ;; XEmacs (let* ((point (event-point event)) (buffer (event-buffer event)) (e (and point buffer (extent-at point buffer 'py-exc-info))) (info (and e (extent-property e 'py-exc-info)))) (message "Event point: %d, info: %s" point info) (and info (py-jump-to-exception (car info) (cdr info))) )) ;; Emacs -- Please port this! )) (defun py-goto-exception () "Go to the line indicated by the traceback." (interactive) (let (file line) (save-excursion (beginning-of-line) (if (looking-at py-traceback-line-re) (setq file (match-string 1) line (string-to-int (match-string 2))))) (if (not file) (error "Not on a traceback line")) (py-jump-to-exception file line))) (defun py-find-next-exception (start buffer searchdir errwhere) "Find the next Python exception and jump to the code that caused it. START is the buffer position in BUFFER from which to begin searching for an exception. SEARCHDIR is a function, either `re-search-backward' or `re-search-forward' indicating the direction to search. ERRWHERE is used in an error message if the limit (top or bottom) of the trackback stack is encountered." (let (file line) (save-excursion (set-buffer buffer) (goto-char (py-point start)) (if (funcall searchdir py-traceback-line-re nil t) (setq file (match-string 1) line (string-to-int (match-string 2))))) (if (and file line) (py-jump-to-exception file line) (error "%s of traceback" errwhere)))) (defun py-down-exception (&optional bottom) "Go to the next line down in the traceback. With \\[univeral-argument] (programmatically, optional argument BOTTOM), jump to the bottom (innermost) exception in the exception stack." (interactive "P") (let* ((proc (get-process "Python")) (buffer (if proc "*Python*" py-output-buffer))) (if bottom (py-find-next-exception 'eob buffer 're-search-backward "Bottom") (py-find-next-exception 'eol buffer 're-search-forward "Bottom")))) (defun py-up-exception (&optional top) "Go to the previous line up in the traceback. With \\[universal-argument] (programmatically, optional argument TOP) jump to the top (outermost) exception in the exception stack." (interactive "P") (let* ((proc (get-process "Python")) (buffer (if proc "*Python*" py-output-buffer))) (if top (py-find-next-exception 'bob buffer 're-search-forward "Top") (py-find-next-exception 'bol buffer 're-search-backward "Top")))) ;; Electric deletion (defun py-electric-backspace (arg) "Delete preceding character or levels of indentation. Deletion is performed by calling the function in `py-backspace-function' with a single argument (the number of characters to delete). If point is at the leftmost column, delete the preceding newline. Otherwise, if point is at the leftmost non-whitespace character of a line that is neither a continuation line nor a non-indenting comment line, or if point is at the end of a blank line, this command reduces the indentation to match that of the line that opened the current block of code. The line that opened the block is displayed in the echo area to help you keep track of where you are. With \\[universal-argument] dedents that many blocks (but not past column zero). Otherwise the preceding character is deleted, converting a tab to spaces if needed so that only a single column position is deleted. \\[universal-argument] specifies how many characters to delete; default is 1. When used programmatically, argument ARG specifies the number of blocks to dedent, or the number of characters to delete, as indicated above." (interactive "*p") (if (or (/= (current-indentation) (current-column)) (bolp) (py-continuation-line-p) ; (not py-honor-comment-indentation) ; (looking-at "#[^ \t\n]") ; non-indenting # ) (funcall py-backspace-function arg) ;; else indent the same as the colon line that opened the block ;; force non-blank so py-goto-block-up doesn't ignore it (insert-char ?* 1) (backward-char) (let ((base-indent 0) ; indentation of base line (base-text "") ; and text of base line (base-found-p nil)) (save-excursion (while (< 0 arg) (condition-case nil ; in case no enclosing block (progn (py-goto-block-up 'no-mark) (setq base-indent (current-indentation) base-text (py-suck-up-leading-text) base-found-p t)) (error nil)) (setq arg (1- arg)))) (delete-char 1) ; toss the dummy character (delete-horizontal-space) (indent-to base-indent) (if base-found-p (message "Closes block: %s" base-text))))) (defun py-electric-delete (arg) "Delete preceding or following character or levels of whitespace. The behavior of this function depends on the variable `delete-key-deletes-forward'. If this variable is nil (or does not exist, as in older Emacsen and non-XEmacs versions), then this function behaves identically to \\[c-electric-backspace]. If `delete-key-deletes-forward' is non-nil and is supported in your Emacs, then deletion occurs in the forward direction, by calling the function in `py-delete-function'. \\[universal-argument] (programmatically, argument ARG) specifies the number of characters to delete (default is 1)." (interactive "*p") (if (or (and (fboundp 'delete-forward-p) ;XEmacs 21 (delete-forward-p)) (and (boundp 'delete-key-deletes-forward) ;XEmacs 20 delete-key-deletes-forward)) (funcall py-delete-function arg) (py-electric-backspace arg))) ;; required for pending-del and delsel modes (put 'py-electric-backspace 'delete-selection 'supersede) ;delsel (put 'py-electric-backspace 'pending-delete 'supersede) ;pending-del (put 'py-electric-delete 'delete-selection 'supersede) ;delsel (put 'py-electric-delete 'pending-delete 'supersede) ;pending-del (defun py-indent-line (&optional arg) "Fix the indentation of the current line according to Python rules. With \\[universal-argument] (programmatically, the optional argument ARG non-nil), ignore dedenting rules for block closing statements (e.g. return, raise, break, continue, pass) This function is normally bound to `indent-line-function' so \\[indent-for-tab-command] will call it." (interactive "P") (let* ((ci (current-indentation)) (move-to-indentation-p (<= (current-column) ci)) (need (py-compute-indentation (not arg)))) ;; see if we need to dedent (if (py-outdent-p) (setq need (- need py-indent-offset))) (if (/= ci need) (save-excursion (beginning-of-line) (delete-horizontal-space) (indent-to need))) (if move-to-indentation-p (back-to-indentation)))) (defun py-newline-and-indent () "Strives to act like the Emacs `newline-and-indent'. This is just `strives to' because correct indentation can't be computed from scratch for Python code. In general, deletes the whitespace before point, inserts a newline, and takes an educated guess as to how you want the new line indented." (interactive) (let ((ci (current-indentation))) (if (< ci (current-column)) ; if point beyond indentation (newline-and-indent) ;; else try to act like newline-and-indent "normally" acts (beginning-of-line) (insert-char ?\n 1) (move-to-column ci)))) (defun py-compute-indentation (honor-block-close-p) "Compute Python indentation. When HONOR-BLOCK-CLOSE-P is non-nil, statements such as `return', `raise', `break', `continue', and `pass' force one level of dedenting." (save-excursion (beginning-of-line) (let* ((bod (py-point 'bod)) (pps (parse-partial-sexp bod (point))) (boipps (parse-partial-sexp bod (py-point 'boi))) placeholder) (cond ;; are we inside a multi-line string or comment? ((or (and (nth 3 pps) (nth 3 boipps)) (and (nth 4 pps) (nth 4 boipps))) (save-excursion (if (not py-align-multiline-strings-p) 0 ;; skip back over blank & non-indenting comment lines ;; note: will skip a blank or non-indenting comment line ;; that happens to be a continuation line too (re-search-backward "^[ \t]*\\([^ \t\n#]\\|#[ \t\n]\\)" nil 'move) (back-to-indentation) (current-column)))) ;; are we on a continuation line? ((py-continuation-line-p) (let ((startpos (point)) (open-bracket-pos (py-nesting-level)) endpos searching found state) (if open-bracket-pos (progn ;; align with first item in list; else a normal ;; indent beyond the line with the open bracket (goto-char (1+ open-bracket-pos)) ; just beyond bracket ;; is the first list item on the same line? (skip-chars-forward " \t") (if (null (memq (following-char) '(?\n ?# ?\\))) ; yes, so line up with it (current-column) ;; first list item on another line, or doesn't exist yet (forward-line 1) (while (and (< (point) startpos) (looking-at "[ \t]*[#\n\\\\]")) ; skip noise (forward-line 1)) (if (and (< (point) startpos) (/= startpos (save-excursion (goto-char (1+ open-bracket-pos)) (forward-comment (point-max)) (point)))) ;; again mimic the first list item (current-indentation) ;; else they're about to enter the first item (goto-char open-bracket-pos) (setq placeholder (point)) (py-goto-initial-line) (py-goto-beginning-of-tqs (save-excursion (nth 3 (parse-partial-sexp placeholder (point))))) (+ (current-indentation) py-indent-offset)))) ;; else on backslash continuation line (forward-line -1) (if (py-continuation-line-p) ; on at least 3rd line in block (current-indentation) ; so just continue the pattern ;; else started on 2nd line in block, so indent more. ;; if base line is an assignment with a start on a RHS, ;; indent to 2 beyond the leftmost "="; else skip first ;; chunk of non-whitespace characters on base line, + 1 more ;; column (end-of-line) (setq endpos (point) searching t) (back-to-indentation) (setq startpos (point)) ;; look at all "=" from left to right, stopping at first ;; one not nested in a list or string (while searching (skip-chars-forward "^=" endpos) (if (= (point) endpos) (setq searching nil) (forward-char 1) (setq state (parse-partial-sexp startpos (point))) (if (and (zerop (car state)) ; not in a bracket (null (nth 3 state))) ; & not in a string (progn (setq searching nil) ; done searching in any case (setq found (not (or (eq (following-char) ?=) (memq (char-after (- (point) 2)) '(?< ?> ?!))))))))) (if (or (not found) ; not an assignment (looking-at "[ \t]*\\\\")) ; <=><spaces><backslash> (progn (goto-char startpos) (skip-chars-forward "^ \t\n"))) (1+ (current-column)))))) ;; not on a continuation line ((bobp) (current-indentation)) ;; Dfn: "Indenting comment line". A line containing only a ;; comment, but which is treated like a statement for ;; indentation calculation purposes. Such lines are only ;; treated specially by the mode; they are not treated ;; specially by the Python interpreter. ;; The rules for indenting comment lines are a line where: ;; - the first non-whitespace character is `#', and ;; - the character following the `#' is whitespace, and ;; - the line is dedented with respect to (i.e. to the left ;; of) the indentation of the preceding non-blank line. ;; The first non-blank line following an indenting comment ;; line is given the same amount of indentation as the ;; indenting comment line. ;; All other comment-only lines are ignored for indentation ;; purposes. ;; Are we looking at a comment-only line which is *not* an ;; indenting comment line? If so, we assume that it's been ;; placed at the desired indentation, so leave it alone. ;; Indenting comment lines are aligned as statements down ;; below. ((and (looking-at "[ \t]*#[^ \t\n]") ;; NOTE: this test will not be performed in older Emacsen (fboundp 'forward-comment) (<= (current-indentation) (save-excursion (forward-comment (- (point-max))) (current-indentation)))) (current-indentation)) ;; else indentation based on that of the statement that ;; precedes us; use the first line of that statement to ;; establish the base, in case the user forced a non-std ;; indentation for the continuation lines (if any) (t ;; skip back over blank & non-indenting comment lines note: ;; will skip a blank or non-indenting comment line that ;; happens to be a continuation line too. use fast Emacs 19 ;; function if it's there. (if (and (eq py-honor-comment-indentation nil) (fboundp 'forward-comment)) (forward-comment (- (point-max))) (let ((prefix-re (concat py-block-comment-prefix "[ \t]*")) done) (while (not done) (re-search-backward "^[ \t]*\\([^ \t\n#]\\|#\\)" nil 'move) (setq done (or (bobp) (and (eq py-honor-comment-indentation t) (save-excursion (back-to-indentation) (not (looking-at prefix-re)) )) (and (not (eq py-honor-comment-indentation t)) (save-excursion (back-to-indentation) (not (zerop (current-column))))) )) ))) ;; if we landed inside a string, go to the beginning of that ;; string. this handles triple quoted, multi-line spanning ;; strings. (py-goto-beginning-of-tqs (nth 3 (parse-partial-sexp bod (point)))) ;; now skip backward over continued lines (setq placeholder (point)) (py-goto-initial-line) ;; we may *now* have landed in a TQS, so find the beginning of ;; this string. (py-goto-beginning-of-tqs (save-excursion (nth 3 (parse-partial-sexp placeholder (point))))) (+ (current-indentation) (if (py-statement-opens-block-p) py-indent-offset (if (and honor-block-close-p (py-statement-closes-block-p)) (- py-indent-offset) 0))) ))))) (defun py-guess-indent-offset (&optional global) "Guess a good value for, and change, `py-indent-offset'. By default, make a buffer-local copy of `py-indent-offset' with the new value, so that other Python buffers are not affected. With \\[universal-argument] (programmatically, optional argument GLOBAL), change the global value of `py-indent-offset'. This affects all Python buffers (that don't have their own buffer-local copy), both those currently existing and those created later in the Emacs session. Some people use a different value for `py-indent-offset' than you use. There's no excuse for such foolishness, but sometimes you have to deal with their ugly code anyway. This function examines the file and sets `py-indent-offset' to what it thinks it was when they created the mess. Specifically, it searches forward from the statement containing point, looking for a line that opens a block of code. `py-indent-offset' is set to the difference in indentation between that line and the Python statement following it. If the search doesn't succeed going forward, it's tried again going backward." (interactive "P") ; raw prefix arg (let (new-value (start (point)) (restart (point)) (found nil) colon-indent) (py-goto-initial-line) (while (not (or found (eobp))) (when (and (re-search-forward ":[ \t]*\\($\\|[#\\]\\)" nil 'move) (not (py-in-literal restart))) (setq restart (point)) (py-goto-initial-line) (if (py-statement-opens-block-p) (setq found t) (goto-char restart)))) (unless found (goto-char start) (py-goto-initial-line) (while (not (or found (bobp))) (setq found (and (re-search-backward ":[ \t]*\\($\\|[#\\]\\)" nil 'move) (or (py-goto-initial-line) t) ; always true -- side effect (py-statement-opens-block-p))))) (setq colon-indent (current-indentation) found (and found (zerop (py-next-statement 1))) new-value (- (current-indentation) colon-indent)) (goto-char start) (if (not found) (error "Sorry, couldn't guess a value for py-indent-offset") (funcall (if global 'kill-local-variable 'make-local-variable) 'py-indent-offset) (setq py-indent-offset new-value) (or noninteractive (message "%s value of py-indent-offset set to %d" (if global "Global" "Local") py-indent-offset))) )) (defun py-comment-indent-function () "Python version of `comment-indent-function'." ;; This is required when filladapt is turned off. Without it, when ;; filladapt is not used, comments which start in column zero ;; cascade one character to the right (save-excursion (beginning-of-line) (let ((eol (py-point 'eol))) (and comment-start-skip (re-search-forward comment-start-skip eol t) (setq eol (match-beginning 0))) (goto-char eol) (skip-chars-backward " \t") (max comment-column (+ (current-column) (if (bolp) 0 1))) ))) (defun py-narrow-to-defun (&optional class) "Make text outside current defun invisible. The defun visible is the one that contains point or follows point. Optional CLASS is passed directly to `py-beginning-of-def-or-class'." (interactive "P") (save-excursion (widen) (py-end-of-def-or-class class) (let ((end (point))) (py-beginning-of-def-or-class class) (narrow-to-region (point) end)))) (defun py-shift-region (start end count) "Indent lines from START to END by COUNT spaces." (save-excursion (goto-char end) (beginning-of-line) (setq end (point)) (goto-char start) (beginning-of-line) (setq start (point)) (indent-rigidly start end count))) (defun py-shift-region-left (start end &optional count) "Shift region of Python code to the left. The lines from the line containing the start of the current region up to (but not including) the line containing the end of the region are shifted to the left, by `py-indent-offset' columns. If a prefix argument is given, the region is instead shifted by that many columns. With no active region, dedent only the current line. You cannot dedent the region if any line is already at column zero." (interactive (let ((p (point)) (m (mark)) (arg current-prefix-arg)) (if m (list (min p m) (max p m) arg) (list p (save-excursion (forward-line 1) (point)) arg)))) ;; if any line is at column zero, don't shift the region (save-excursion (goto-char start) (while (< (point) end) (back-to-indentation) (if (and (zerop (current-column)) (not (looking-at "\\s *$"))) (error "Region is at left edge")) (forward-line 1))) (py-shift-region start end (- (prefix-numeric-value (or count py-indent-offset)))) (py-keep-region-active)) (defun py-shift-region-right (start end &optional count) "Shift region of Python code to the right. The lines from the line containing the start of the current region up to (but not including) the line containing the end of the region are shifted to the right, by `py-indent-offset' columns. If a prefix argument is given, the region is instead shifted by that many columns. With no active region, indent only the current line." (interactive (let ((p (point)) (m (mark)) (arg current-prefix-arg)) (if m (list (min p m) (max p m) arg) (list p (save-excursion (forward-line 1) (point)) arg)))) (py-shift-region start end (prefix-numeric-value (or count py-indent-offset))) (py-keep-region-active)) (defun py-indent-region (start end &optional indent-offset) "Reindent a region of Python code. The lines from the line containing the start of the current region up to (but not including) the line containing the end of the region are reindented. If the first line of the region has a non-whitespace character in the first column, the first line is left alone and the rest of the region is reindented with respect to it. Else the entire region is reindented with respect to the (closest code or indenting comment) statement immediately preceding the region. This is useful when code blocks are moved or yanked, when enclosing control structures are introduced or removed, or to reformat code using a new value for the indentation offset. If a numeric prefix argument is given, it will be used as the value of the indentation offset. Else the value of `py-indent-offset' will be used. Warning: The region must be consistently indented before this function is called! This function does not compute proper indentation from scratch (that's impossible in Python), it merely adjusts the existing indentation to be correct in context. Warning: This function really has no idea what to do with non-indenting comment lines, and shifts them as if they were indenting comment lines. Fixing this appears to require telepathy. Special cases: whitespace is deleted from blank lines; continuation lines are shifted by the same amount their initial line was shifted, in order to preserve their relative indentation with respect to their initial line; and comment lines beginning in column 1 are ignored." (interactive "*r\nP") ; region; raw prefix arg (save-excursion (goto-char end) (beginning-of-line) (setq end (point-marker)) (goto-char start) (beginning-of-line) (let ((py-indent-offset (prefix-numeric-value (or indent-offset py-indent-offset))) (indents '(-1)) ; stack of active indent levels (target-column 0) ; column to which to indent (base-shifted-by 0) ; amount last base line was shifted (indent-base (if (looking-at "[ \t\n]") (py-compute-indentation t) 0)) ci) (while (< (point) end) (setq ci (current-indentation)) ;; figure out appropriate target column (cond ((or (eq (following-char) ?#) ; comment in column 1 (looking-at "[ \t]*$")) ; entirely blank (setq target-column 0)) ((py-continuation-line-p) ; shift relative to base line (setq target-column (+ ci base-shifted-by))) (t ; new base line (if (> ci (car indents)) ; going deeper; push it (setq indents (cons ci indents)) ;; else we should have seen this indent before (setq indents (memq ci indents)) ; pop deeper indents (if (null indents) (error "Bad indentation in region, at line %d" (save-restriction (widen) (1+ (count-lines 1 (point))))))) (setq target-column (+ indent-base (* py-indent-offset (- (length indents) 2)))) (setq base-shifted-by (- target-column ci)))) ;; shift as needed (if (/= ci target-column) (progn (delete-horizontal-space) (indent-to target-column))) (forward-line 1)))) (set-marker end nil)) (defun py-comment-region (beg end &optional arg) "Like `comment-region' but uses double hash (`#') comment starter." (interactive "r\nP") (let ((comment-start py-block-comment-prefix)) (comment-region beg end arg))) ;; Functions for moving point (defun py-previous-statement (count) "Go to the start of the COUNTth preceding Python statement. By default, goes to the previous statement. If there is no such statement, goes to the first statement. Return count of statements left to move. `Statements' do not include blank, comment, or continuation lines." (interactive "p") ; numeric prefix arg (if (< count 0) (py-next-statement (- count)) (py-goto-initial-line) (let (start) (while (and (setq start (point)) ; always true -- side effect (> count 0) (zerop (forward-line -1)) (py-goto-statement-at-or-above)) (setq count (1- count))) (if (> count 0) (goto-char start))) count)) (defun py-next-statement (count) "Go to the start of next Python statement. If the statement at point is the i'th Python statement, goes to the start of statement i+COUNT. If there is no such statement, goes to the last statement. Returns count of statements left to move. `Statements' do not include blank, comment, or continuation lines." (interactive "p") ; numeric prefix arg (if (< count 0) (py-previous-statement (- count)) (beginning-of-line) (let (start) (while (and (setq start (point)) ; always true -- side effect (> count 0) (py-goto-statement-below)) (setq count (1- count))) (if (> count 0) (goto-char start))) count)) (defun py-goto-block-up (&optional nomark) "Move up to start of current block. Go to the statement that starts the smallest enclosing block; roughly speaking, this will be the closest preceding statement that ends with a colon and is indented less than the statement you started on. If successful, also sets the mark to the starting point. `\\[py-mark-block]' can be used afterward to mark the whole code block, if desired. If called from a program, the mark will not be set if optional argument NOMARK is not nil." (interactive) (let ((start (point)) (found nil) initial-indent) (py-goto-initial-line) ;; if on blank or non-indenting comment line, use the preceding stmt (if (looking-at "[ \t]*\\($\\|#[^ \t\n]\\)") (progn (py-goto-statement-at-or-above) (setq found (py-statement-opens-block-p)))) ;; search back for colon line indented less (setq initial-indent (current-indentation)) (if (zerop initial-indent) ;; force fast exit (goto-char (point-min))) (while (not (or found (bobp))) (setq found (and (re-search-backward ":[ \t]*\\($\\|[#\\]\\)" nil 'move) (or (py-goto-initial-line) t) ; always true -- side effect (< (current-indentation) initial-indent) (py-statement-opens-block-p)))) (if found (progn (or nomark (push-mark start)) (back-to-indentation)) (goto-char start) (error "Enclosing block not found")))) (defun py-beginning-of-def-or-class (&optional class count) "Move point to start of `def' or `class'. Searches back for the closest preceding `def'. If you supply a prefix arg, looks for a `class' instead. The docs below assume the `def' case; just substitute `class' for `def' for the other case. Programmatically, if CLASS is `either', then moves to either `class' or `def'. When second optional argument is given programmatically, move to the COUNTth start of `def'. If point is in a `def' statement already, and after the `d', simply moves point to the start of the statement. Otherwise (i.e. when point is not in a `def' statement, or at or before the `d' of a `def' statement), searches for the closest preceding `def' statement, and leaves point at its start. If no such statement can be found, leaves point at the start of the buffer. Returns t iff a `def' statement is found by these rules. Note that doing this command repeatedly will take you closer to the start of the buffer each time. To mark the current `def', see `\\[py-mark-def-or-class]'." (interactive "P") ; raw prefix arg (setq count (or count 1)) (let ((at-or-before-p (<= (current-column) (current-indentation))) (start-of-line (goto-char (py-point 'bol))) (start-of-stmt (goto-char (py-point 'bos))) (start-re (cond ((eq class 'either) "^[ \t]*\\(class\\|def\\)\\>") (class "^[ \t]*class\\>") (t "^[ \t]*def\\>"))) ) ;; searching backward (if (and (< 0 count) (or (/= start-of-stmt start-of-line) (not at-or-before-p))) (end-of-line)) ;; search forward (if (and (> 0 count) (zerop (current-column)) (looking-at start-re)) (end-of-line)) (if (re-search-backward start-re nil 'move count) (goto-char (match-beginning 0))))) ;; Backwards compatibility (defalias 'beginning-of-python-def-or-class 'py-beginning-of-def-or-class) (defun py-end-of-def-or-class (&optional class count) "Move point beyond end of `def' or `class' body. By default, looks for an appropriate `def'. If you supply a prefix arg, looks for a `class' instead. The docs below assume the `def' case; just substitute `class' for `def' for the other case. Programmatically, if CLASS is `either', then moves to either `class' or `def'. When second optional argument is given programmatically, move to the COUNTth end of `def'. If point is in a `def' statement already, this is the `def' we use. Else, if the `def' found by `\\[py-beginning-of-def-or-class]' contains the statement you started on, that's the `def' we use. Otherwise, we search forward for the closest following `def', and use that. If a `def' can be found by these rules, point is moved to the start of the line immediately following the `def' block, and the position of the start of the `def' is returned. Else point is moved to the end of the buffer, and nil is returned. Note that doing this command repeatedly will take you closer to the end of the buffer each time. To mark the current `def', see `\\[py-mark-def-or-class]'." (interactive "P") ; raw prefix arg (if (and count (/= count 1)) (py-beginning-of-def-or-class (- 1 count))) (let ((start (progn (py-goto-initial-line) (point))) (which (cond ((eq class 'either) "\\(class\\|def\\)") (class "class") (t "def"))) (state 'not-found)) ;; move point to start of appropriate def/class (if (looking-at (concat "[ \t]*" which "\\>")) ; already on one (setq state 'at-beginning) ;; else see if py-beginning-of-def-or-class hits container (if (and (py-beginning-of-def-or-class class) (progn (py-goto-beyond-block) (> (point) start))) (setq state 'at-end) ;; else search forward (goto-char start) (if (re-search-forward (concat "^[ \t]*" which "\\>") nil 'move) (progn (setq state 'at-beginning) (beginning-of-line))))) (cond ((eq state 'at-beginning) (py-goto-beyond-block) t) ((eq state 'at-end) t) ((eq state 'not-found) nil) (t (error "Internal error in `py-end-of-def-or-class'"))))) ;; Backwards compabitility (defalias 'end-of-python-def-or-class 'py-end-of-def-or-class) ;; Functions for marking regions (defun py-mark-block (&optional extend just-move) "Mark following block of lines. With prefix arg, mark structure. Easier to use than explain. It sets the region to an `interesting' block of succeeding lines. If point is on a blank line, it goes down to the next non-blank line. That will be the start of the region. The end of the region depends on the kind of line at the start: - If a comment, the region will include all succeeding comment lines up to (but not including) the next non-comment line (if any). - Else if a prefix arg is given, and the line begins one of these structures: if elif else try except finally for while def class the region will be set to the body of the structure, including following blocks that `belong' to it, but excluding trailing blank and comment lines. E.g., if on a `try' statement, the `try' block and all (if any) of the following `except' and `finally' blocks that belong to the `try' structure will be in the region. Ditto for if/elif/else, for/else and while/else structures, and (a bit degenerate, since they're always one-block structures) def and class blocks. - Else if no prefix argument is given, and the line begins a Python block (see list above), and the block is not a `one-liner' (i.e., the statement ends with a colon, not with code), the region will include all succeeding lines up to (but not including) the next code statement (if any) that's indented no more than the starting line, except that trailing blank and comment lines are excluded. E.g., if the starting line begins a multi-statement `def' structure, the region will be set to the full function definition, but without any trailing `noise' lines. - Else the region will include all succeeding lines up to (but not including) the next blank line, or code or indenting-comment line indented strictly less than the starting line. Trailing indenting comment lines are included in this case, but not trailing blank lines. A msg identifying the location of the mark is displayed in the echo area; or do `\\[exchange-point-and-mark]' to flip down to the end. If called from a program, optional argument EXTEND plays the role of the prefix arg, and if optional argument JUST-MOVE is not nil, just moves to the end of the block (& does not set mark or display a msg)." (interactive "P") ; raw prefix arg (py-goto-initial-line) ;; skip over blank lines (while (and (looking-at "[ \t]*$") ; while blank line (not (eobp))) ; & somewhere to go (forward-line 1)) (if (eobp) (error "Hit end of buffer without finding a non-blank stmt")) (let ((initial-pos (point)) (initial-indent (current-indentation)) last-pos ; position of last stmt in region (followers '((if elif else) (elif elif else) (else) (try except finally) (except except) (finally) (for else) (while else) (def) (class) ) ) first-symbol next-symbol) (cond ;; if comment line, suck up the following comment lines ((looking-at "[ \t]*#") (re-search-forward "^[ \t]*[^ \t#]" nil 'move) ; look for non-comment (re-search-backward "^[ \t]*#") ; and back to last comment in block (setq last-pos (point))) ;; else if line is a block line and EXTEND given, suck up ;; the whole structure ((and extend (setq first-symbol (py-suck-up-first-keyword) ) (assq first-symbol followers)) (while (and (or (py-goto-beyond-block) t) ; side effect (forward-line -1) ; side effect (setq last-pos (point)) ; side effect (py-goto-statement-below) (= (current-indentation) initial-indent) (setq next-symbol (py-suck-up-first-keyword)) (memq next-symbol (cdr (assq first-symbol followers)))) (setq first-symbol next-symbol))) ;; else if line *opens* a block, search for next stmt indented <= ((py-statement-opens-block-p) (while (and (setq last-pos (point)) ; always true -- side effect (py-goto-statement-below) (> (current-indentation) initial-indent)) nil)) ;; else plain code line; stop at next blank line, or stmt or ;; indenting comment line indented < (t (while (and (setq last-pos (point)) ; always true -- side effect (or (py-goto-beyond-final-line) t) (not (looking-at "[ \t]*$")) ; stop at blank line (or (>= (current-indentation) initial-indent) (looking-at "[ \t]*#[^ \t\n]"))) ; ignore non-indenting # nil))) ;; skip to end of last stmt (goto-char last-pos) (py-goto-beyond-final-line) ;; set mark & display (if just-move () ; just return (push-mark (point) 'no-msg) (forward-line -1) (message "Mark set after: %s" (py-suck-up-leading-text)) (goto-char initial-pos)))) (defun py-mark-def-or-class (&optional class) "Set region to body of def (or class, with prefix arg) enclosing point. Pushes the current mark, then point, on the mark ring (all language modes do this, but although it's handy it's never documented ...). In most Emacs language modes, this function bears at least a hallucinogenic resemblance to `\\[py-end-of-def-or-class]' and `\\[py-beginning-of-def-or-class]'. And in earlier versions of Python mode, all 3 were tightly connected. Turned out that was more confusing than useful: the `goto start' and `goto end' commands are usually used to search through a file, and people expect them to act a lot like `search backward' and `search forward' string-search commands. But because Python `def' and `class' can nest to arbitrary levels, finding the smallest def containing point cannot be done via a simple backward search: the def containing point may not be the closest preceding def, or even the closest preceding def that's indented less. The fancy algorithm required is appropriate for the usual uses of this `mark' command, but not for the `goto' variations. So the def marked by this command may not be the one either of the `goto' commands find: If point is on a blank or non-indenting comment line, moves back to start of the closest preceding code statement or indenting comment line. If this is a `def' statement, that's the def we use. Else searches for the smallest enclosing `def' block and uses that. Else signals an error. When an enclosing def is found: The mark is left immediately beyond the last line of the def block. Point is left at the start of the def, except that: if the def is preceded by a number of comment lines followed by (at most) one optional blank line, point is left at the start of the comments; else if the def is preceded by a blank line, point is left at its start. The intent is to mark the containing def/class and its associated documentation, to make moving and duplicating functions and classes pleasant." (interactive "P") ; raw prefix arg (let ((start (point)) (which (cond ((eq class 'either) "\\(class\\|def\\)") (class "class") (t "def")))) (push-mark start) (if (not (py-go-up-tree-to-keyword which)) (progn (goto-char start) (error "Enclosing %s not found" (if (eq class 'either) "def or class" which))) ;; else enclosing def/class found (setq start (point)) (py-goto-beyond-block) (push-mark (point)) (goto-char start) (if (zerop (forward-line -1)) ; if there is a preceding line (progn (if (looking-at "[ \t]*$") ; it's blank (setq start (point)) ; so reset start point (goto-char start)) ; else try again (if (zerop (forward-line -1)) (if (looking-at "[ \t]*#") ; a comment ;; look back for non-comment line ;; tricky: note that the regexp matches a blank ;; line, cuz \n is in the 2nd character class (and (re-search-backward "^[ \t]*[^ \t#]" nil 'move) (forward-line 1)) ;; no comment, so go back (goto-char start))))))) (exchange-point-and-mark) (py-keep-region-active)) ;; ripped from cc-mode (defun py-forward-into-nomenclature (&optional arg) "Move forward to end of a nomenclature section or word. With \\[universal-argument] (programmatically, optional argument ARG), do it that many times. A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores." (interactive "p") (let ((case-fold-search nil)) (if (> arg 0) (re-search-forward "\\(\\W\\|[_]\\)*\\([A-Z]*[a-z0-9]*\\)" (point-max) t arg) (while (and (< arg 0) (re-search-backward "\\(\\W\\|[a-z0-9]\\)[A-Z]+\\|\\(\\W\\|[_]\\)\\w+" (point-min) 0)) (forward-char 1) (setq arg (1+ arg))))) (py-keep-region-active)) (defun py-backward-into-nomenclature (&optional arg) "Move backward to beginning of a nomenclature section or word. With optional ARG, move that many times. If ARG is negative, move forward. A `nomenclature' is a fancy way of saying AWordWithMixedCaseNotUnderscores." (interactive "p") (py-forward-into-nomenclature (- arg)) (py-keep-region-active)) ;; Documentation functions ;; dump the long form of the mode blurb; does the usual doc escapes, ;; plus lines of the form ^[vc]:name$ to suck variable & command docs ;; out of the right places, along with the keys they're on & current ;; values (defun py-dump-help-string (str) (with-output-to-temp-buffer "*Help*" (let ((locals (buffer-local-variables)) funckind funcname func funcdoc (start 0) mstart end keys ) (while (string-match "^%\\([vc]\\):\\(.+\\)\n" str start) (setq mstart (match-beginning 0) end (match-end 0) funckind (substring str (match-beginning 1) (match-end 1)) funcname (substring str (match-beginning 2) (match-end 2)) func (intern funcname)) (princ (substitute-command-keys (substring str start mstart))) (cond ((equal funckind "c") ; command (setq funcdoc (documentation func) keys (concat "Key(s): " (mapconcat 'key-description (where-is-internal func py-mode-map) ", ")))) ((equal funckind "v") ; variable (setq funcdoc (documentation-property func 'variable-documentation) keys (if (assq func locals) (concat "Local/Global values: " (prin1-to-string (symbol-value func)) " / " (prin1-to-string (default-value func))) (concat "Value: " (prin1-to-string (symbol-value func)))))) (t ; unexpected (error "Error in py-dump-help-string, tag `%s'" funckind))) (princ (format "\n-> %s:\t%s\t%s\n\n" (if (equal funckind "c") "Command" "Variable") funcname keys)) (princ funcdoc) (terpri) (setq start end)) (princ (substitute-command-keys (substring str start)))) (print-help-return-message))) (defun py-describe-mode () "Dump long form of Python-mode docs." (interactive) (py-dump-help-string "Major mode for editing Python files. Knows about Python indentation, tokens, comments and continuation lines. Paragraphs are separated by blank lines only. Major sections below begin with the string `@'; specific function and variable docs begin with `->'. @EXECUTING PYTHON CODE \\[py-execute-import-or-reload]\timports or reloads the file in the Python interpreter \\[py-execute-buffer]\tsends the entire buffer to the Python interpreter \\[py-execute-region]\tsends the current region \\[py-execute-def-or-class]\tsends the current function or class definition \\[py-execute-string]\tsends an arbitrary string \\[py-shell]\tstarts a Python interpreter window; this will be used by \tsubsequent Python execution commands %c:py-execute-import-or-reload %c:py-execute-buffer %c:py-execute-region %c:py-execute-def-or-class %c:py-execute-string %c:py-shell @VARIABLES py-indent-offset\tindentation increment py-block-comment-prefix\tcomment string used by comment-region py-python-command\tshell command to invoke Python interpreter py-temp-directory\tdirectory used for temp files (if needed) py-beep-if-tab-change\tring the bell if tab-width is changed %v:py-indent-offset %v:py-block-comment-prefix %v:py-python-command %v:py-temp-directory %v:py-beep-if-tab-change @KINDS OF LINES Each physical line in the file is either a `continuation line' (the preceding line ends with a backslash that's not part of a comment, or the paren/bracket/brace nesting level at the start of the line is non-zero, or both) or an `initial line' (everything else). An initial line is in turn a `blank line' (contains nothing except possibly blanks or tabs), a `comment line' (leftmost non-blank character is `#'), or a `code line' (everything else). Comment Lines Although all comment lines are treated alike by Python, Python mode recognizes two kinds that act differently with respect to indentation. An `indenting comment line' is a comment line with a blank, tab or nothing after the initial `#'. The indentation commands (see below) treat these exactly as if they were code lines: a line following an indenting comment line will be indented like the comment line. All other comment lines (those with a non-whitespace character immediately following the initial `#') are `non-indenting comment lines', and their indentation is ignored by the indentation commands. Indenting comment lines are by far the usual case, and should be used whenever possible. Non-indenting comment lines are useful in cases like these: \ta = b # a very wordy single-line comment that ends up being \t #... continued onto another line \tif a == b: ##\t\tprint 'panic!' # old code we've `commented out' \t\treturn a Since the `#...' and `##' comment lines have a non-whitespace character following the initial `#', Python mode ignores them when computing the proper indentation for the next line. Continuation Lines and Statements The Python-mode commands generally work on statements instead of on individual lines, where a `statement' is a comment or blank line, or a code line and all of its following continuation lines (if any) considered as a single logical unit. The commands in this mode generally (when it makes sense) automatically move to the start of the statement containing point, even if point happens to be in the middle of some continuation line. @INDENTATION Primarily for entering new code: \t\\[indent-for-tab-command]\t indent line appropriately \t\\[py-newline-and-indent]\t insert newline, then indent \t\\[py-electric-backspace]\t reduce indentation, or delete single character Primarily for reindenting existing code: \t\\[py-guess-indent-offset]\t guess py-indent-offset from file content; change locally \t\\[universal-argument] \\[py-guess-indent-offset]\t ditto, but change globally \t\\[py-indent-region]\t reindent region to match its context \t\\[py-shift-region-left]\t shift region left by py-indent-offset \t\\[py-shift-region-right]\t shift region right by py-indent-offset Unlike most programming languages, Python uses indentation, and only indentation, to specify block structure. Hence the indentation supplied automatically by Python-mode is just an educated guess: only you know the block structure you intend, so only you can supply correct indentation. The \\[indent-for-tab-command] and \\[py-newline-and-indent] keys try to suggest plausible indentation, based on the indentation of preceding statements. E.g., assuming py-indent-offset is 4, after you enter \tif a > 0: \\[py-newline-and-indent] the cursor will be moved to the position of the `_' (_ is not a character in the file, it's just used here to indicate the location of the cursor): \tif a > 0: \t _ If you then enter `c = d' \\[py-newline-and-indent], the cursor will move to \tif a > 0: \t c = d \t _ Python-mode cannot know whether that's what you intended, or whether \tif a > 0: \t c = d \t_ was your intent. In general, Python-mode either reproduces the indentation of the (closest code or indenting-comment) preceding statement, or adds an extra py-indent-offset blanks if the preceding statement has `:' as its last significant (non-whitespace and non- comment) character. If the suggested indentation is too much, use \\[py-electric-backspace] to reduce it. Continuation lines are given extra indentation. If you don't like the suggested indentation, change it to something you do like, and Python- mode will strive to indent later lines of the statement in the same way. If a line is a continuation line by virtue of being in an unclosed paren/bracket/brace structure (`list', for short), the suggested indentation depends on whether the current line contains the first item in the list. If it does, it's indented py-indent-offset columns beyond the indentation of the line containing the open bracket. If you don't like that, change it by hand. The remaining items in the list will mimic whatever indentation you give to the first item. If a line is a continuation line because the line preceding it ends with a backslash, the third and following lines of the statement inherit their indentation from the line preceding them. The indentation of the second line in the statement depends on the form of the first (base) line: if the base line is an assignment statement with anything more interesting than the backslash following the leftmost assigning `=', the second line is indented two columns beyond that `='. Else it's indented to two columns beyond the leftmost solid chunk of non-whitespace characters on the base line. Warning: indent-region should not normally be used! It calls \\[indent-for-tab-command] repeatedly, and as explained above, \\[indent-for-tab-command] can't guess the block structure you intend. %c:indent-for-tab-command %c:py-newline-and-indent %c:py-electric-backspace The next function may be handy when editing code you didn't write: %c:py-guess-indent-offset The remaining `indent' functions apply to a region of Python code. They assume the block structure (equals indentation, in Python) of the region is correct, and alter the indentation in various ways while preserving the block structure: %c:py-indent-region %c:py-shift-region-left %c:py-shift-region-right @MARKING & MANIPULATING REGIONS OF CODE \\[py-mark-block]\t mark block of lines \\[py-mark-def-or-class]\t mark smallest enclosing def \\[universal-argument] \\[py-mark-def-or-class]\t mark smallest enclosing class \\[comment-region]\t comment out region of code \\[universal-argument] \\[comment-region]\t uncomment region of code %c:py-mark-block %c:py-mark-def-or-class %c:comment-region @MOVING POINT \\[py-previous-statement]\t move to statement preceding point \\[py-next-statement]\t move to statement following point \\[py-goto-block-up]\t move up to start of current block \\[py-beginning-of-def-or-class]\t move to start of def \\[universal-argument] \\[py-beginning-of-def-or-class]\t move to start of class \\[py-end-of-def-or-class]\t move to end of def \\[universal-argument] \\[py-end-of-def-or-class]\t move to end of class The first two move to one statement beyond the statement that contains point. A numeric prefix argument tells them to move that many statements instead. Blank lines, comment lines, and continuation lines do not count as `statements' for these commands. So, e.g., you can go to the first code statement in a file by entering \t\\[beginning-of-buffer]\t to move to the top of the file \t\\[py-next-statement]\t to skip over initial comments and blank lines Or do `\\[py-previous-statement]' with a huge prefix argument. %c:py-previous-statement %c:py-next-statement %c:py-goto-block-up %c:py-beginning-of-def-or-class %c:py-end-of-def-or-class @LITTLE-KNOWN EMACS COMMANDS PARTICULARLY USEFUL IN PYTHON MODE `\\[indent-new-comment-line]' is handy for entering a multi-line comment. `\\[set-selective-display]' with a `small' prefix arg is ideally suited for viewing the overall class and def structure of a module. `\\[back-to-indentation]' moves point to a line's first non-blank character. `\\[indent-relative]' is handy for creating odd indentation. @OTHER EMACS HINTS If you don't like the default value of a variable, change its value to whatever you do like by putting a `setq' line in your .emacs file. E.g., to set the indentation increment to 4, put this line in your .emacs: \t(setq py-indent-offset 4) To see the value of a variable, do `\\[describe-variable]' and enter the variable name at the prompt. When entering a key sequence like `C-c C-n', it is not necessary to release the CONTROL key after doing the `C-c' part -- it suffices to press the CONTROL key, press and release `c' (while still holding down CONTROL), press and release `n' (while still holding down CONTROL), & then release CONTROL. Entering Python mode calls with no arguments the value of the variable `python-mode-hook', if that value exists and is not nil; for backward compatibility it also tries `py-mode-hook'; see the `Hooks' section of the Elisp manual for details. Obscure: When python-mode is first loaded, it looks for all bindings to newline-and-indent in the global keymap, and shadows them with local bindings to py-newline-and-indent.")) ;; Helper functions (defvar py-parse-state-re (concat "^[ \t]*\\(if\\|elif\\|else\\|while\\|def\\|class\\)\\>" "\\|" "^[^ #\t\n]")) (defun py-parse-state () "Return the parse state at point (see `parse-partial-sexp' docs)." (save-excursion (let ((here (point)) pps done) (while (not done) ;; back up to the first preceding line (if any; else start of ;; buffer) that begins with a popular Python keyword, or a ;; non- whitespace and non-comment character. These are good ;; places to start parsing to see whether where we started is ;; at a non-zero nesting level. It may be slow for people who ;; write huge code blocks or huge lists ... tough beans. (re-search-backward py-parse-state-re nil 'move) (beginning-of-line) ;; In XEmacs, we have a much better way to test for whether ;; we're in a triple-quoted string or not. Emacs does not ;; have this built-in function, which is its loss because ;; without scanning from the beginning of the buffer, there's ;; no accurate way to determine this otherwise. (if (not (fboundp 'buffer-syntactic-context)) ;; Emacs (progn (save-excursion (setq pps (parse-partial-sexp (point) here))) ;; make sure we don't land inside a triple-quoted string (setq done (or (not (nth 3 pps)) (bobp))) ;; Just go ahead and short circuit the test back to the ;; beginning of the buffer. This will be slow, but not ;; nearly as slow as looping through many ;; re-search-backwards. (if (not done) (goto-char (point-min)))) ;; XEmacs (setq done (or (not (buffer-syntactic-context)) (bobp))) (when done (setq pps (parse-partial-sexp (point) here))) )) pps))) (defun py-nesting-level () "Return the buffer position of the last unclosed enclosing list. If nesting level is zero, return nil." (let ((status (py-parse-state))) (if (zerop (car status)) nil ; not in a nest (car (cdr status))))) ; char# of open bracket (defun py-backslash-continuation-line-p () "Return t iff preceding line ends with backslash that is not in a comment." (save-excursion (beginning-of-line) (and ;; use a cheap test first to avoid the regexp if possible ;; use 'eq' because char-after may return nil (eq (char-after (- (point) 2)) ?\\ ) ;; make sure; since eq test passed, there is a preceding line (forward-line -1) ; always true -- side effect (looking-at py-continued-re)))) (defun py-continuation-line-p () "Return t iff current line is a continuation line." (save-excursion (beginning-of-line) (or (py-backslash-continuation-line-p) (py-nesting-level)))) (defun py-goto-beginning-of-tqs (delim) "Go to the beginning of the triple quoted string we find ourselves in. DELIM is the TQS string delimiter character we're searching backwards for." (let ((skip (and delim (make-string 1 delim)))) (when skip (save-excursion (py-safe (search-backward skip)) (if (and (eq (char-before) delim) (eq (char-before (1- (point))) delim)) (setq skip (make-string 3 delim)))) ;; we're looking at a triple-quoted string (py-safe (search-backward skip))))) (defun py-goto-initial-line () "Go to the initial line of the current statement. Usually this is the line we're on, but if we're on the 2nd or following lines of a continuation block, we need to go up to the first line of the block." ;; Tricky: We want to avoid quadratic-time behavior for long ;; continued blocks, whether of the backslash or open-bracket ;; varieties, or a mix of the two. The following manages to do that ;; in the usual cases. ;; ;; Also, if we're sitting inside a triple quoted string, this will ;; drop us at the line that begins the string. (let (open-bracket-pos) (while (py-continuation-line-p) (beginning-of-line) (if (py-backslash-continuation-line-p) (while (py-backslash-continuation-line-p) (forward-line -1)) ;; else zip out of nested brackets/braces/parens (while (setq open-bracket-pos (py-nesting-level)) (goto-char open-bracket-pos))))) (beginning-of-line)) (defun py-goto-beyond-final-line () "Go to the point just beyond the fine line of the current statement. Usually this is the start of the next line, but if this is a multi-line statement we need to skip over the continuation lines." ;; Tricky: Again we need to be clever to avoid quadratic time ;; behavior. ;; ;; XXX: Not quite the right solution, but deals with multi-line doc ;; strings (if (looking-at (concat "[ \t]*\\(" py-stringlit-re "\\)")) (goto-char (match-end 0))) ;; (forward-line 1) (let (state) (while (and (py-continuation-line-p) (not (eobp))) ;; skip over the backslash flavor (while (and (py-backslash-continuation-line-p) (not (eobp))) (forward-line 1)) ;; if in nest, zip to the end of the nest (setq state (py-parse-state)) (if (and (not (zerop (car state))) (not (eobp))) (progn (parse-partial-sexp (point) (point-max) 0 nil state) (forward-line 1)))))) (defun py-statement-opens-block-p () "Return t iff the current statement opens a block. I.e., iff it ends with a colon that is not in a comment. Point should be at the start of a statement." (save-excursion (let ((start (point)) (finish (progn (py-goto-beyond-final-line) (1- (point)))) (searching t) (answer nil) state) (goto-char start) (while searching ;; look for a colon with nothing after it except whitespace, and ;; maybe a comment (if (re-search-forward ":\\([ \t]\\|\\\\\n\\)*\\(#.*\\)?$" finish t) (if (eq (point) finish) ; note: no `else' clause; just ; keep searching if we're not at ; the end yet ;; sure looks like it opens a block -- but it might ;; be in a comment (progn (setq searching nil) ; search is done either way (setq state (parse-partial-sexp start (match-beginning 0))) (setq answer (not (nth 4 state))))) ;; search failed: couldn't find another interesting colon (setq searching nil))) answer))) (defun py-statement-closes-block-p () "Return t iff the current statement closes a block. I.e., if the line starts with `return', `raise', `break', `continue', and `pass'. This doesn't catch embedded statements." (let ((here (point))) (py-goto-initial-line) (back-to-indentation) (prog1 (looking-at (concat py-block-closing-keywords-re "\\>")) (goto-char here)))) (defun py-goto-beyond-block () "Go to point just beyond the final line of block begun by the current line. This is the same as where `py-goto-beyond-final-line' goes unless we're on colon line, in which case we go to the end of the block. Assumes point is at the beginning of the line." (if (py-statement-opens-block-p) (py-mark-block nil 'just-move) (py-goto-beyond-final-line))) (defun py-goto-statement-at-or-above () "Go to the start of the first statement at or preceding point. Return t if there is such a statement, otherwise nil. `Statement' does not include blank lines, comments, or continuation lines." (py-goto-initial-line) (if (looking-at py-blank-or-comment-re) ;; skip back over blank & comment lines ;; note: will skip a blank or comment line that happens to be ;; a continuation line too (if (re-search-backward "^[ \t]*[^ \t#\n]" nil t) (progn (py-goto-initial-line) t) nil) t)) (defun py-goto-statement-below () "Go to start of the first statement following the statement containing point. Return t if there is such a statement, otherwise nil. `Statement' does not include blank lines, comments, or continuation lines." (beginning-of-line) (let ((start (point))) (py-goto-beyond-final-line) (while (and (looking-at py-blank-or-comment-re) (not (eobp))) (forward-line 1)) (if (eobp) (progn (goto-char start) nil) t))) (defun py-go-up-tree-to-keyword (key) "Go to begining of statement starting with KEY, at or preceding point. KEY is a regular expression describing a Python keyword. Skip blank lines and non-indenting comments. If the statement found starts with KEY, then stop, otherwise go back to first enclosing block starting with KEY. If successful, leave point at the start of the KEY line and return t. Otherwise, leav point at an undefined place and return nil." ;; skip blanks and non-indenting # (py-goto-initial-line) (while (and (looking-at "[ \t]*\\($\\|#[^ \t\n]\\)") (zerop (forward-line -1))) ; go back nil) (py-goto-initial-line) (let* ((re (concat "[ \t]*" key "\\b")) (case-fold-search nil) ; let* so looking-at sees this (found (looking-at re)) (dead nil)) (while (not (or found dead)) (condition-case nil ; in case no enclosing block (py-goto-block-up 'no-mark) (error (setq dead t))) (or dead (setq found (looking-at re)))) (beginning-of-line) found)) (defun py-suck-up-leading-text () "Return string in buffer from start of indentation to end of line. Prefix with \"...\" if leading whitespace was skipped." (save-excursion (back-to-indentation) (concat (if (bolp) "" "...") (buffer-substring (point) (progn (end-of-line) (point)))))) (defun py-suck-up-first-keyword () "Return first keyword on the line as a Lisp symbol. `Keyword' is defined (essentially) as the regular expression ([a-z]+). Returns nil if none was found." (let ((case-fold-search nil)) (if (looking-at "[ \t]*\\([a-z]+\\)\\b") (intern (buffer-substring (match-beginning 1) (match-end 1))) nil))) (defun py-current-defun () "Python value for `add-log-current-defun-function'. This tells add-log.el how to find the current function/method/variable." (save-excursion (if (re-search-backward py-defun-start-re nil t) (or (match-string 3) (let ((method (match-string 2))) (if (and (not (zerop (length (match-string 1)))) (re-search-backward py-class-start-re nil t)) (concat (match-string 1) "." method) method))) nil))) (defconst py-help-address "python-mode@python.org" "Address accepting submission of bug reports.") (defun py-version () "Echo the current version of `python-mode' in the minibuffer." (interactive) (message "Using `python-mode' version %s" py-version) (py-keep-region-active)) ;; only works under Emacs 19 ;(eval-when-compile ; (require 'reporter)) (defun py-submit-bug-report (enhancement-p) "Submit via mail a bug report on `python-mode'. With \\[universal-argument] (programmatically, argument ENHANCEMENT-P non-nil) just submit an enhancement request." (interactive (list (not (y-or-n-p "Is this a bug report (hit `n' to send other comments)? ")))) (let ((reporter-prompt-for-summary-p (if enhancement-p "(Very) brief summary: " t))) (require 'reporter) (reporter-submit-bug-report py-help-address ;address (concat "python-mode " py-version) ;pkgname ;; varlist (if enhancement-p nil '(py-python-command py-indent-offset py-block-comment-prefix py-temp-directory py-beep-if-tab-change)) nil ;pre-hooks nil ;post-hooks "Dear Barry,") ;salutation (if enhancement-p nil (set-mark (point)) (insert "Please replace this text with a sufficiently large code sample\n\ and an exact recipe so that I can reproduce your problem. Failure\n\ to do so may mean a greater delay in fixing your bug.\n\n") (exchange-point-and-mark) (py-keep-region-active)))) (defun py-kill-emacs-hook () "Delete files in `py-file-queue'. These are Python temporary files awaiting execution." (mapcar #'(lambda (filename) (py-safe (delete-file filename))) py-file-queue)) ;; arrange to kill temp files when Emacs exists (add-hook 'kill-emacs-hook 'py-kill-emacs-hook) (provide 'python-mode) ;;; python-mode.el ends here ;;; yads-mode.el --- yads-mode, major mode for editing YADS files. (defvar yads-font-lock-keywords (eval-when-compile (list ;; Keywords (concat "\\<\\\\\\(" "class\\|" "page\\|" "struct\\|" "class\\|" "page\\|" "struct\\|" "union\\|" "enum\\|" "fn\\|" "var\\|" "def\\|" "namespace\\|" "p1\\|" "p2\\|" "p3\\|" "p4\\|" "p\\|" "code\\|" "verbatim\\|" "table\\|" "end\\|" "super\\|" "bug\\|" "warning\\|" "seealso\\|" "return\\|" "param\\|" "arg\\|" "li\\|" "author\\|" "anchor\\|" "deprecated\\|" "virtual\\|" "example\\|" "insertfile\\|" "defaultpage\\|" "url\\|" "ref\\|" "rem\\|" "q\\|" "b\\|" "c\\|" "i\\|" "new" "\\)\\>"))) "Default expressions to highlight in YADS modes.") (defun yads-mode () "Mode for editing Yadsfile's." (interactive) (setq fill-column 75) (setq indent-tabs-mode nil) (setq paragraph-start "^[ \\. ]\\|^$\\|^<") (setq paragraph-separate paragraph-start) (set (make-local-variable 'font-lock-defaults) '(yads-font-lock-keywords nil nil ((?_ . "w") (?\\ . "w")))) (setq mode-name "yads") (setq major-mode 'yads-mode) (run-hooks 'yads-mode-hook) (font-lock-mode) ) (provide 'yads-mode) 
D
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronDownShapeRenderer.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronDownShapeRenderer~partial.swiftmodule : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChevronDownShapeRenderer~partial.swiftdoc : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Legend.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerImage.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Range.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/AxisBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/ComponentBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Fill.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Platform.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/Description.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/IMarker.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/Transformer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Renderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Animation/Animator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/XAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/YAxis.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Highlight/Highlight.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/MarkerView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/PieChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/LineChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/BarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Components/LegendEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Supporting\ Files/Charts.h /Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
// // Texturen // // Menu const string MENU_BACK_PIC = "menu_ingame.tga"; // outgame/ingame const string MENU_ITEM_BACK_PIC = ""; // Hintergrund für alle anwählbaren Menüpunkte const string MENU_CHOICE_BACK_PIC = "menu_choice_back.tga"; // Hintergrund für Choicebox const string MENU_SLIDER_BACK_PIC = "menu_slider_back.tga"; // Hintergrund für Slider const string MENU_SLIDER_POS_PIC = "menu_slider_pos.tga"; // Textur für Positionsanzeige eines Sliders const string MENU_INPUT_BACK_PIC = ""; // Hintergrund für Eingabefelder const string MENU_KBDINPUT_BACK_PIC = ""; // Hintergrund fürs Definieren der Controls const string MENU_SAVELOAD_BACK_PIC = "menu_saveload_back.tga"; // menu_kbd_back.tga"; // Hintergrund fürs Definieren der Controls // Log const string LOG_BACK_PIC = "log_back.tga"; // Hintergrund für den Log-Screen const string LOG_VIEWER_BACK_PIC = "log_paper.tga"; // Hintergrund des Log-Betrachters // Status-Screen const string STAT_BACK_PIC = "status_back.tga"; // Hintergrund // // Fonts // // Menu const string MENU_FONT_DEFAULT = "font_old_20_white.tga"; const string MENU_FONT_SMALL = "font_old_10_white.tga"; const string MENU_FONT_BRIGHT = "font_old_10_white_hi.tga"; // Log const string LOG_FONT_DEFAULT = "font_old_10_white.tga"; const string LOG_FONT_VIEWER = "font_old_10_white.tga"; const string LOG_FONT_DATETIME = "font_old_10_white_hi.tga"; // Status-Screen const string STAT_FONT_DEFAULT = "font_old_10_white.tga"; const string STAT_FONT_TITLE = "font_old_10_white_hi.tga"; // // Dimensions // const int MENU_SLIDER_DX = 2000; const int MENU_SLIDER_DY = 400; const int MENU_SLIDER_YPLUS = 180; const int MENU_CHOICE_DX = 2000; const int MENU_CHOICE_DY = 400; const int MENU_CHOICE_YPLUS = 180; const int MENU_TITLE_Y = 800; const int MENU_START_Y = 1900; const int MENU_BACK_Y = 6900; // Zeilenhöhe const int MENU_DY = 700; const int MENU_INFO_X = 300; const int MENU_INFO_Y = 7780; // // Texts (muss in die Text.d) // const string MENU_TEXT_NEEDS_APPLY = ""; //const string MENU_TEXT_NEEDS_RESTART = "Einige Einstellungen werden erst nach einem Neustart aktiv"; const string MENU_TEXT_NEEDS_RESTART = "Některá nastavení se projeví až po restartu hry.";
D
/* TEST_OUTPUT: --- fail_compilation/diag10099.d(15): Error: variable diag10099.main.s default construction is disabled for type `S` --- */ struct S { @disable this(); } void main() { S s; }
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DMDSRC _libomf.d) */ module ddmd.libomf; import core.stdc.stdio; import core.stdc.string; import core.stdc.stdlib; import ddmd.globals; import ddmd.utils; import ddmd.lib; import ddmd.root.array; import ddmd.root.file; import ddmd.root.filename; import ddmd.root.outbuffer; import ddmd.root.stringtable; import ddmd.scanomf; enum LOG = false; struct OmfObjSymbol { char* name; OmfObjModule* om; } alias OmfObjModules = Array!(OmfObjModule*); alias OmfObjSymbols = Array!(OmfObjSymbol*); extern (C) uint _rotl(uint value, int shift); extern (C) uint _rotr(uint value, int shift); final class LibOMF : Library { OmfObjModules objmodules; // OmfObjModule[] OmfObjSymbols objsymbols; // OmfObjSymbol[] StringTable tab; extern (D) this() { tab._init(14000); } /*************************************** * Add object module or library to the library. * Examine the buffer to see which it is. * If the buffer is NULL, use module_name as the file name * and load the file. */ override void addObject(const(char)* module_name, const ubyte[] buffer) { static if (LOG) { printf("LibOMF::addObject(%s)\n", module_name ? module_name : ""); } void corrupt(int reason) { error("corrupt OMF object module %s %d", module_name, reason); } auto buf = buffer.ptr; auto buflen = buffer.length; if (!buf) { assert(module_name); File* file = File.create(cast(char*)module_name); readFile(Loc(), file); buf = file.buffer; buflen = file.len; file._ref = 1; } uint g_page_size; ubyte* pstart = cast(ubyte*)buf; bool islibrary = false; /* See if it's an OMF library. * Don't go by file extension. */ struct LibHeader { align(1): ubyte recTyp; // 0xF0 ushort pagesize; uint lSymSeek; ushort ndicpages; } /* Determine if it is an OMF library, an OMF object module, * or something else. */ if (buflen < (LibHeader).sizeof) return corrupt(__LINE__); const lh = cast(const(LibHeader)*)buf; if (lh.recTyp == 0xF0) { /* OMF library * The modules are all at buf[g_page_size .. lh.lSymSeek] */ islibrary = 1; g_page_size = lh.pagesize + 3; buf = cast(ubyte*)(pstart + g_page_size); if (lh.lSymSeek > buflen || g_page_size > buflen) return corrupt(__LINE__); buflen = lh.lSymSeek - g_page_size; } else if (lh.recTyp == '!' && memcmp(lh, cast(char*)"!<arch>\n", 8) == 0) { error("COFF libraries not supported"); return; } else { // Not a library, assume OMF object module g_page_size = 16; } bool firstmodule = true; void addOmfObjModule(char* name, void* base, size_t length) { auto om = new OmfObjModule(); om.base = cast(ubyte*)base; om.page = om.page = cast(ushort)((om.base - pstart) / g_page_size); om.length = cast(uint)length; /* Determine the name of the module */ if (firstmodule && module_name && !islibrary) { // Remove path and extension auto n = strdup(FileName.name(module_name)); om.name = n[0 .. strlen(n)]; char* ext = cast(char*)FileName.ext(n); if (ext) ext[-1] = 0; } else { /* Use THEADR name as module name, * removing path and extension. */ auto n = strdup(FileName.name(name)); om.name = n[0 .. strlen(n)]; char* ext = cast(char*)FileName.ext(n); if (ext) ext[-1] = 0; } firstmodule = false; this.objmodules.push(om); } if (scanOmfLib(&addOmfObjModule, cast(void*)buf, buflen, g_page_size)) return corrupt(__LINE__); } /*****************************************************************************/ void addSymbol(OmfObjModule* om, const(char)* name, int pickAny = 0) { static if (LOG) { printf("LibOMF::addSymbol(%s, %s, %d)\n", om.name.ptr, name, pickAny); } const namelen = strlen(name); StringValue* s = tab.insert(name, namelen, null); if (!s) { // already in table if (!pickAny) { const s2 = tab.lookup(name, namelen); assert(s2); const os = cast(const(OmfObjSymbol)*)s2.ptrvalue; error("multiple definition of %s: %s and %s: %s", om.name.ptr, name, os.om.name.ptr, os.name); } } else { auto os = new OmfObjSymbol(); os.name = strdup(name); os.om = om; s.ptrvalue = cast(void*)os; objsymbols.push(os); } } private: /************************************ * Scan single object module for dictionary symbols. * Send those symbols to LibOMF::addSymbol(). */ void scanObjModule(OmfObjModule* om) { static if (LOG) { printf("LibMSCoff::scanObjModule(%s)\n", om.name.ptr); } extern (D) void addSymbol(const(char)[] name, int pickAny) { this.addSymbol(om, name.ptr, pickAny); } scanOmfObjModule(&addSymbol, om.base[0 .. om.length], om.name.ptr, loc); } /*********************************** * Calculates number of pages needed for dictionary * Returns: * number of pages */ ushort numDictPages(uint padding) { ushort ndicpages; ushort bucksForHash; ushort bucksForSize; uint symSize = 0; for (size_t i = 0; i < objsymbols.dim; i++) { OmfObjSymbol* s = objsymbols[i]; symSize += (strlen(s.name) + 4) & ~1; } for (size_t i = 0; i < objmodules.dim; i++) { OmfObjModule* om = objmodules[i]; size_t len = om.name.length; if (len > 0xFF) len += 2; // Digital Mars long name extension symSize += (len + 4 + 1) & ~1; } bucksForHash = cast(ushort)((objsymbols.dim + objmodules.dim + HASHMOD - 3) / (HASHMOD - 2)); bucksForSize = cast(ushort)((symSize + BUCKETSIZE - padding - padding - 1) / (BUCKETSIZE - padding)); ndicpages = (bucksForHash > bucksForSize) ? bucksForHash : bucksForSize; //printf("ndicpages = %u\n",ndicpages); // Find prime number greater than ndicpages static __gshared uint* primes = [ 1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, //521,523,541,547, 0 ]; for (size_t i = 0; 1; i++) { if (primes[i] == 0) { // Quick and easy way is out. // Now try and find first prime number > ndicpages uint prime; for (prime = (ndicpages + 1) | 1; 1; prime += 2) { // Determine if prime is prime for (uint u = 3; u < prime / 2; u += 2) { if ((prime / u) * u == prime) goto L1; } break; L1: } ndicpages = cast(ushort)prime; break; } if (primes[i] > ndicpages) { ndicpages = cast(ushort)primes[i]; break; } } return ndicpages; } /******************************************* * Write the module and symbol names to the dictionary. * Returns: * false failure */ bool FillDict(ubyte* bucketsP, ushort ndicpages) { // max size that will fit in dictionary enum LIBIDMAX = (512 - 0x25 - 3 - 4); ubyte[4 + LIBIDMAX + 2 + 1] entry; //printf("FillDict()\n"); // Add each of the module names for (size_t i = 0; i < objmodules.dim; i++) { OmfObjModule* om = objmodules[i]; ushort n = cast(ushort)om.name.length; if (n > 255) { entry[0] = 0xFF; entry[1] = 0; *cast(ushort*)(entry.ptr + 2) = cast(ushort)(n + 1); memcpy(entry.ptr + 4, om.name.ptr, n); n += 3; } else { entry[0] = cast(ubyte)(1 + n); memcpy(entry.ptr + 1, om.name.ptr, n); } entry[n + 1] = '!'; *(cast(ushort*)(n + 2 + entry.ptr)) = om.page; if (n & 1) entry[n + 2 + 2] = 0; if (!EnterDict(bucketsP, ndicpages, entry.ptr, n + 1)) return false; } // Sort the symbols qsort(objsymbols.tdata(), objsymbols.dim, (objsymbols[0]).sizeof, cast(_compare_fp_t)&NameCompare); // Add each of the symbols for (size_t i = 0; i < objsymbols.dim; i++) { OmfObjSymbol* os = objsymbols[i]; ushort n = cast(ushort)strlen(os.name); if (n > 255) { entry[0] = 0xFF; entry[1] = 0; *cast(ushort*)(entry.ptr + 2) = n; memcpy(entry.ptr + 4, os.name, n); n += 3; } else { entry[0] = cast(ubyte)n; memcpy(entry.ptr + 1, os.name, n); } *(cast(ushort*)(n + 1 + entry.ptr)) = os.om.page; if ((n & 1) == 0) entry[n + 3] = 0; if (!EnterDict(bucketsP, ndicpages, entry.ptr, n)) { return false; } } return true; } /********************************************** * Create and write library to libbuf. * The library consists of: * library header * object modules... * dictionary header * dictionary pages... */ protected override void WriteLibToBuffer(OutBuffer* libbuf) { /* Scan each of the object modules for symbols * to go into the dictionary */ for (size_t i = 0; i < objmodules.dim; i++) { OmfObjModule* om = objmodules[i]; scanObjModule(om); } uint g_page_size = 16; /* Calculate page size so that the number of pages * fits in 16 bits. This is because object modules * are indexed by page number, stored as an unsigned short. */ while (1) { Lagain: static if (LOG) { printf("g_page_size = %d\n", g_page_size); } uint offset = g_page_size; for (size_t i = 0; i < objmodules.dim; i++) { OmfObjModule* om = objmodules[i]; uint page = offset / g_page_size; if (page > 0xFFFF) { // Page size is too small, double it and try again g_page_size *= 2; goto Lagain; } offset += OMFObjSize(om.base, om.length, om.name.ptr); // Round the size of the file up to the next page size // by filling with 0s uint n = (g_page_size - 1) & offset; if (n) offset += g_page_size - n; } break; } /* Leave one page of 0s at start as a dummy library header. * Fill it in later with the real data. */ libbuf.fill0(g_page_size); /* Write each object module into the library */ for (size_t i = 0; i < objmodules.dim; i++) { OmfObjModule* om = objmodules[i]; uint page = cast(uint)(libbuf.offset / g_page_size); assert(page <= 0xFFFF); om.page = cast(ushort)page; // Write out the object module om writeOMFObj(libbuf, om.base, om.length, om.name.ptr); // Round the size of the file up to the next page size // by filling with 0s uint n = (g_page_size - 1) & libbuf.offset; if (n) libbuf.fill0(g_page_size - n); } // File offset of start of dictionary uint offset = cast(uint)libbuf.offset; // Write dictionary header, then round it to a BUCKETPAGE boundary ushort size = (BUCKETPAGE - (cast(short)offset + 3)) & (BUCKETPAGE - 1); libbuf.writeByte(0xF1); libbuf.writeword(size); libbuf.fill0(size); // Create dictionary ubyte* bucketsP = null; ushort ndicpages; ushort padding = 32; for (;;) { ndicpages = numDictPages(padding); static if (LOG) { printf("ndicpages = %d\n", ndicpages); } // Allocate dictionary if (bucketsP) bucketsP = cast(ubyte*)realloc(bucketsP, ndicpages * BUCKETPAGE); else bucketsP = cast(ubyte*)malloc(ndicpages * BUCKETPAGE); assert(bucketsP); memset(bucketsP, 0, ndicpages * BUCKETPAGE); for (uint u = 0; u < ndicpages; u++) { // 'next available' slot bucketsP[u * BUCKETPAGE + HASHMOD] = (HASHMOD + 1) >> 1; } if (FillDict(bucketsP, ndicpages)) break; padding += 16; // try again with more margins } // Write dictionary libbuf.write(bucketsP, ndicpages * BUCKETPAGE); if (bucketsP) free(bucketsP); // Create library header struct Libheader { align(1): ubyte recTyp; ushort recLen; uint trailerPosn; ushort ndicpages; ubyte flags; uint filler; } Libheader libHeader; memset(&libHeader, 0, (Libheader).sizeof); libHeader.recTyp = 0xF0; libHeader.recLen = 0x0D; libHeader.trailerPosn = offset + (3 + size); libHeader.recLen = cast(ushort)(g_page_size - 3); libHeader.ndicpages = ndicpages; libHeader.flags = 1; // always case sensitive // Write library header at start of buffer memcpy(libbuf.data, &libHeader, (libHeader).sizeof); } } extern (C++) Library LibOMF_factory() { return new LibOMF(); } /*****************************************************************************/ /*****************************************************************************/ struct OmfObjModule { ubyte* base; // where are we holding it in memory uint length; // in bytes ushort page; // page module starts in output file const(char)[] name; // module name, with terminating 0 } /*****************************************************************************/ /*****************************************************************************/ extern (C) { int NameCompare(const(void*) p1, const(void*) p2) { return strcmp((*cast(OmfObjSymbol**)p1).name, (*cast(OmfObjSymbol**)p2).name); } } enum HASHMOD = 0x25; enum BUCKETPAGE = 512; enum BUCKETSIZE = (BUCKETPAGE - HASHMOD - 1); /******************************************* * Write a single entry into dictionary. * Returns: * false failure */ extern (C++) static bool EnterDict(ubyte* bucketsP, ushort ndicpages, ubyte* entry, uint entrylen) { ushort uStartIndex; ushort uStep; ushort uStartPage; ushort uPageStep; ushort uIndex; ushort uPage; ushort n; uint u; uint nbytes; ubyte* aP; ubyte* zP; aP = entry; zP = aP + entrylen; // point at last char in identifier uStartPage = 0; uPageStep = 0; uStartIndex = 0; uStep = 0; u = entrylen; while (u--) { uStartPage = cast(ushort)_rotl(uStartPage, 2) ^ (*aP | 0x20); uStep = cast(ushort)_rotr(uStep, 2) ^ (*aP++ | 0x20); uStartIndex = cast(ushort)_rotr(uStartIndex, 2) ^ (*zP | 0x20); uPageStep = cast(ushort)_rotl(uPageStep, 2) ^ (*zP-- | 0x20); } uStartPage %= ndicpages; uPageStep %= ndicpages; if (uPageStep == 0) uPageStep++; uStartIndex %= HASHMOD; uStep %= HASHMOD; if (uStep == 0) uStep++; uPage = uStartPage; uIndex = uStartIndex; // number of bytes in entry nbytes = 1 + entrylen + 2; if (entrylen > 255) nbytes += 2; while (1) { aP = &bucketsP[uPage * BUCKETPAGE]; uStartIndex = uIndex; while (1) { if (0 == aP[uIndex]) { // n = next available position in this page n = aP[HASHMOD] << 1; assert(n > HASHMOD); // if off end of this page if (n + nbytes > BUCKETPAGE) { aP[HASHMOD] = 0xFF; break; // next page } else { aP[uIndex] = cast(ubyte)(n >> 1); memcpy((aP + n), entry, nbytes); aP[HASHMOD] += (nbytes + 1) >> 1; if (aP[HASHMOD] == 0) aP[HASHMOD] = 0xFF; return true; } } uIndex += uStep; uIndex %= 0x25; /*if (uIndex > 0x25) uIndex -= 0x25;*/ if (uIndex == uStartIndex) break; } uPage += uPageStep; if (uPage >= ndicpages) uPage -= ndicpages; if (uPage == uStartPage) break; } return false; }
D
import std.stdio; import std.math; import std.bigint; import std.conv; import std.typecons; import rbtree; struct Power { uint base; uint exponent; BigInt value; Power(uint base, uint exponent, BigInt value) Power raise() { Power result = this; result.base = base; result.exponent = exponent; value = value * base; } int opCmp(ref const Power p) const { return value.opCmp(p.value); } } void main() { auto queue = RBTree!("a < b", Power)(Power(2, 2, Bigint(4))); foreach(i; queue) { writeln(i); } }
D
module wx.FindReplaceDialog; public import wx.common; public import wx.Dialog; public import wx.CommandEvent; //----------------------------------------------------------------------------- extern(D) class ДиалогНайдиЗамени : Диалог { public const цел wxFR_DOWN = 1; public const цел wxFR_WHOLEWORD = 2; public const цел wxFR_MATCHCASE = 4; public const цел wxFR_REPLACEDIALOG = 1; public const цел wxFR_NOUPDOWN = 2; public const цел wxFR_NOMATCHCASE = 4; public const цел wxFR_NOWHOLEWORD = 8; public this(ЦелУкз вхобъ); public this(); public this(Окно родитель, ДанныеНайдиЗамени данные, ткст титул, цел стиль = 0); public бул создай(Окно родитель, ДанныеНайдиЗамени данные, ткст титул, цел стиль = 0); public ДанныеНайдиЗамени данные(); public проц данные(ДанныеНайдиЗамени значение); public проц Find_Add(ДатчикСобытий значение); public проц Find_Remove(ДатчикСобытий значение); public проц FindNext_Add(ДатчикСобытий значение); public проц FindNext_Remove(ДатчикСобытий значение); public проц FindReplace_Add(ДатчикСобытий значение); public проц FindReplace_Remove(ДатчикСобытий значение); public проц FindReplaceAll_Add(ДатчикСобытий значение); public проц FindReplaceAll_Remove(ДатчикСобытий значение); public проц FindClose_Add(ДатчикСобытий значение); public проц FindClose_Remove(ДатчикСобытий значение); } //----------------------------------------------------------------------------- extern(D) class СобытиеДиалогаПоиска : СобытиеКоманды { ////static this(); public this(ЦелУкз вхобъ); public this(цел типКоманды, цел ид); public static Событие Нов(ЦелУкз укз); public цел флаги(); public проц флаги(цел значение); public ткст найдиТкст(); public проц найдиТкст(ткст значение); public ткст замениТекст(); public проц замениТекст(ткст значение); public ДиалогНайдиЗамени диалог(); } //----------------------------------------------------------------------------- extern(D) class ДанныеНайдиЗамени : ВизОбъект { public this(ЦелУкз вхобъ); public this(); public this(цел флаги); public ткст найдиТкст(); public проц найдиТкст(ткст значение); public ткст замениТекст(); public проц замениТекст(ткст значение); public цел флаги(); public проц флаги(цел значение); public static ВизОбъект Нов(ЦелУкз укз); }
D
import std.stdio, std.algorithm; void main() { auto set1 = [1, 2, 3, 4, 5, 6]; auto set2 = [2, 5, 6, 3, 4, 8].sort; // [2, 3, 4, 5, 6, 8] auto set3 = [1, 2, 5]; assert(equal(setUnion(set1, set2), [1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 8])); assert(equal(setIntersection(set1, set2), [2, 3, 4, 5, 6])); assert(equal(setDifference(set1, set2), [1])); assert(equal(setSymmetricDifference(set1, set2), [1, 8])); assert(equal(setDifference(set3, set1), new int[](0))); // subset assert(set1 != set2); auto set4 = [ [ 1, 4, 7, 8 ], [ 1, 7 ], [ 1, 7, 8], [ 4 ], [ 7 ], ]; auto set5 = [ 1, 1, 1, 4, 4, 7, 7, 7, 7, 8, 8 ]; assert(equal(nWayUnion(set4), set5)); }
D
instance BDT_1030_Morgahard(Npc_Default) { name[0] = "Моргахард"; guild = GIL_OUT; id = 1030; voice = 7; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,4); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Sld_Sword); B_CreateAmbientInv(self); CreateInvItems(self,ItWr_RichterKomproBrief_MIS,1); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Bartholo,BodyTex_N,ItAr_BDT_H); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,60); daily_routine = Rtn_Start_1030; }; func void Rtn_Start_1030() { TA_Smalltalk(8,0,23,0,"NW_BIGFARM_HOUSE_OUT_05"); TA_Smalltalk(23,0,8,0,"NW_BIGFARM_HOUSE_OUT_05"); };
D
INSTANCE Info_Mod_Sylvio_Hi (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Hi_Condition; information = Info_Mod_Sylvio_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_Hi_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Lee_GotoSylvio)) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_Hi_Info() { AI_Output(self, hero, "Info_Mod_Sylvio_Hi_03_00"); //Hey, du bist doch der Typ, der im Alten Lager für uns spionieren soll. AI_Output(hero, self, "Info_Mod_Sylvio_Hi_15_01"); //Ja, das soll ich. AI_Output(self, hero, "Info_Mod_Sylvio_Hi_03_02"); //Ich will dir was sagen: Falls du was herausbekommst, solltest du es zuerst mir berichten, bevor du damit zu Lee rennst, verstanden? AI_Output(self, hero, "Info_Mod_Sylvio_Hi_03_03"); //Damit steigst du im Nu zum Orkjäger auf und kannst dir noch zusätzlich Gold uns Erz verdienen. Wir verstehen uns? B_LogEntry (TOPIC_MOD_SLD_SPY, "Sylvio wollte, dass ich zuerst ihm bericht erstatte, falls ich im Alten Lager etwas erfahren sollte."); }; INSTANCE Info_Mod_Sylvio_InfosAnLee (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_InfosAnLee_Condition; information = Info_Mod_Sylvio_InfosAnLee_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_InfosAnLee_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Lee_SchlachtDabei)) || (Npc_KnowsInfo(hero, Info_Mod_Lee_SchlachtVerpasst)) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_InfosAnLee_Info() { if (!Npc_KnowsInfo(hero, Info_Mod_Sylvio_Infos)) { AI_Output(self, hero, "Info_Mod_Sylvio_InfosAnLee_03_00"); //Hatte ich nicht gesagt, dass du zuerst zu mir kommen sollst? }; AI_Output(self, hero, "Info_Mod_Sylvio_InfosAnLee_03_01"); //Einer meiner besten Orkjäger wurde bloßgestellt und das färbt wiederum auf mich ab. Und so was gefällt mir ganz und gar nicht. AI_Output(self, hero, "Info_Mod_Sylvio_InfosAnLee_03_02"); //Pass besser in Zukunft auf, ob du dir nicht einflussreiche Feinde machst. }; INSTANCE Info_Mod_Sylvio_Infos (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Infos_Condition; information = Info_Mod_Sylvio_Infos_Info; permanent = 0; important = 0; description = "Ich habe wichtige Informationen (...)"; }; FUNC INT Info_Mod_Sylvio_Infos_Condition() { if (Mod_SLD_Spy == 1) && (Npc_HasItems(hero, ItAr_Stt_Mordrag) == 1) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_Infos_Info() { AI_Output(hero, self, "Info_Mod_Lee_Infos_15_00"); //Ich habe wichtige Informationen aus meinen Gesprächen mit einigen Schatten gewonnen. Offenbar ist ein Gardist einem Mord zum Opfer gefallen. AI_Output(hero, self, "Info_Mod_Lee_Infos_15_01"); //Ein anderer Gardist will einen von unseren Männern als Täter ausgemacht haben und das Alte Lager plant einen Überfall auf uns im Morgengrauen der nächsten Tage. AI_Output(self, hero, "Info_Mod_Sylvio_Infos_03_02"); //Das ist interessant. Geh zu Sentenza. Er wird dir die weiteren Anweisungen geben. B_LogEntry (TOPIC_MOD_SLD_SPY, "Ich soll zu Sentenza, um weitere Anweisungen zu erhalten."); Mod_SLD_Spy = 4; Npc_RemoveInvItems (hero, ItAr_Stt_Mordrag, 1); }; INSTANCE Info_Mod_Sylvio_Frauenraub (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Frauenraub_Condition; information = Info_Mod_Sylvio_Frauenraub_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_Frauenraub_Condition() { if (Mod_SLD_Spy == 7) || (Mod_SLD_Spy == 8) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_Frauenraub_Info() { AI_Output(self, hero, "Info_Mod_Sylvio_Frauenraub_03_00"); //Achja, es hat sich übrigens eine weitere Möglichkeit für dich gefunden, dich zu bewähren. AI_Output(self, hero, "Info_Mod_Sylvio_Frauenraub_03_01"); //Geh zu Bullco. Er wird dir alles Weitere mitteilen. AI_Output(hero, self, "Info_Mod_Sylvio_Frauenraub_15_02"); //Aber Bullco ist doch kein Orkjäger. AI_Output(self, hero, "Info_Mod_Sylvio_Frauenraub_03_03"); //Genau, er ist Drachenjäger. Na und? Für mich zu arbeiten lohnt sich eben. Du findest ihn tagsüber meistens vor der Kneipe. Log_CreateTopic (TOPIC_MOD_SLD_BULLCO, LOG_MISSION); B_SetTopicStatus (TOPIC_MOD_SLD_BULLCO, LOG_RUNNING); B_LogEntry (TOPIC_MOD_SLD_BULLCO, "Ich soll zu Bullco, der sich meistens vor der Kneipe befindet, um mir weitere Anweisungen zu holen."); }; INSTANCE Info_Mod_Sylvio_VelayaWeg (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_VelayaWeg_Condition; information = Info_Mod_Sylvio_VelayaWeg_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_VelayaWeg_Condition() { if (Mod_SLD_Velaya == 4) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_VelayaWeg_Info() { AI_Output(self, hero, "Info_Mod_Sylvio_VelayaWeg_03_00"); //Was?! Du hier? Und ohne Begleitung? AI_Output(hero, self, "Info_Mod_Sylvio_VelayaWeg_15_01"); //Es hat leider nicht geklappt. AI_Output(self, hero, "Info_Mod_Sylvio_VelayaWeg_03_02"); //Nicht geklappt?! Nachdem du dir das geleistet hast, wird so manch anderes für dich wahrscheinlich auch nicht klappen. Geh mir aus den Augen. B_SetTopicStatus (TOPIC_MOD_SLD_BULLCO, LOG_SUCCESS); }; INSTANCE Info_Mod_Sylvio_VelayaDabei (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_VelayaDabei_Condition; information = Info_Mod_Sylvio_VelayaDabei_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_VelayaDabei_Condition() { if (Mod_SLD_Velaya == 3) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_VelayaDabei_Info() { AI_Output(self, hero, "Info_Mod_Sylvio_VelayaDabei_03_00"); //Sieh mal einer an, wen man uns hergebracht hat. Sie wird mir schöne Stunden bereiten. AI_Output(self, hero, "Info_Mod_Sylvio_VelayaDabei_03_01"); //(Zu dem Helden) Du hast deine Sache mehr als gut gemacht. Damit bist du der Aufnahme in die Reihen der Orkjäger wesentlich näher gekommen. AI_Output(self, hero, "Info_Mod_Sylvio_VelayaDabei_03_02"); //Hier deine Entlohnung. Die hast du dir redlich verdient. B_ShowGivenThings ("350 Gold, 10 Erz und 12 Stängel Sumpfkraut erhalten"); CreateInvItems (hero, ItMi_Gold, 350); CreateInvItems (hero, ItMi_Nugget, 10); CreateInvItems (hero, ItMi_Joint, 12); B_SetTopicStatus (TOPIC_MOD_SLD_BULLCO, LOG_SUCCESS); B_GivePlayerXP (450); B_StartOtherRoutine (Mod_1621_EBR_Velaya_MT, "ATSYLVIO"); }; INSTANCE Info_Mod_Sylvio_Befoerderung (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Befoerderung_Condition; information = Info_Mod_Sylvio_Befoerderung_Info; permanent = 1; important = 0; description = "Bin ich bereit in die Reihen der Orkjäger aufgenommen zu werden?"; }; FUNC INT Info_Mod_Sylvio_Befoerderung_Condition() { if (Mod_Gilde == 4) && (Mod_SLD_Orkjaeger == 0) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_Befoerderung_Info() { AI_Output(hero, self, "Info_Mod_Sylvio_Befoerderung_15_00"); //Bin ich bereit in die Reihen der Orkjäger aufgenommen zu werden? if (Kapitel == 1) { AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_01"); //Was?! Ach die Aufnahme ... ich denke in ein paar Tagen darüber nach. } else { if (Npc_KnowsInfo(hero, Info_Mod_Sylvio_VelayaDabei)) && (Npc_KnowsInfo(hero, Info_Mod_Sentenza_Cutter)) { AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_02"); //Achja, deine Aufnahme. Du hast gezeigt, dass du auf der richtigen Seite stehst und deine Aufgaben zu meiner vollsten Zufriedenheit erfüllt. AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_03"); //Damit hast du dir deine Aufnahme mehr als verdient. Willkommen bei den Orkjägern. Hier ist deine neue Rüstung. B_ShowGivenThings ("Orkjägerrüstung erhalten"); CreateInvItems (hero, ItAr_Sld_H, 1); AI_UnequipArmor (hero); AI_EquipArmor (hero, ItAr_Sld_H); AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_04"); //Deine Waffe kannst du dir bei Thofeistos abholen. Snd_Play ("LEVELUP"); B_GivePlayerXP (600); B_Göttergefallen(2, 5); Mod_Gilde = 19; Mod_SLD_Orkjaeger = 1; B_SetTopicStatus (TOPIC_MOD_SLD_ORKJAEGER, LOG_SUCCESS); } else if (Npc_KnowsInfo(hero, Info_Mod_Sylvio_VelayaWeg)) && (Npc_KnowsInfo(hero, Info_Mod_Sylvio_InfosAnLee)) { AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_05"); //Achja, die Aufnahme. Du hast mir und meinen Jungs wirklich einigen Kummer gemacht, Bürschchen. AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_06"); //Sei froh, dass du ein ehemaliger Bekannter von Lee bist, sonst würde ich dich mit meiner Waffe in Stücke hacken. AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_07"); //Aufnahme? Bei den Bauern auf dem Reisfeld, aber nicht bei uns. Und jetzt geh mir aus den Augen, bevor ich mich doch noch vergesse. Mod_SLD_Orkjaeger = 2; B_LogEntry (TOPIC_MOD_SLD_ORKJAEGER, "Na toll. Wenn es nach Sylvio geht, bin ich nicht dabei. Ich sollte Lee fragen, ob es nicht doch einen anderen Weg gibt."); } else if ((Npc_KnowsInfo(hero, Info_Mod_Sylvio_VelayaDabei)) || (Npc_KnowsInfo(hero, Info_Mod_Sentenza_Cutter))) && ((Mod_SLD_Rufus == 7) || ((Npc_KnowsInfo(hero, Info_Mod_Reislord_Hi)) && (Npc_KnowsInfo(hero, Info_Mod_Patrick_ShrikeDa)) && (Npc_KnowsInfo(hero, Info_Mod_Fester_BackAtCamp)) && (Mod_SLD_Engardo == 5))) { AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_08"); //Manches hast du hinbekommen, einiges auch verhauen, jedoch alles in allem gute Arbeit geleistet. AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_09"); //Du hast dich zwar nicht mit Ruhm bekleckert, aber für eine Aufnahme bei uns reicht es trotzdem gerade so. Hier ist deine neue Rüstung. B_ShowGivenThings ("Orkjägerrüstung erhalten"); CreateInvItems (hero, ItAr_Sld_H, 1); AI_UnequipArmor (hero); AI_EquipArmor (hero, ItAr_Sld_H); AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_04"); //Deine Waffe kannst du dir bei Thofeistos abholen. Snd_Play ("LEVELUP"); B_GivePlayerXP (600); B_Göttergefallen(2, 5); Mod_Gilde = 19; Mod_SLD_Orkjaeger = 1; B_SetTopicStatus (TOPIC_MOD_SLD_ORKJAEGER, LOG_SUCCESS); } else { AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_10"); //Was, du hast du noch kaum etwas gemacht. AI_Output(self, hero, "Info_Mod_Sylvio_Befoerderung_04_11"); //Ehe du dich nicht bewährt hast, lautet die Antwort nein. }; }; }; INSTANCE Info_Mod_Sylvio_Wettstreit (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Wettstreit_Condition; information = Info_Mod_Sylvio_Wettstreit_Info; permanent = 0; important = 0; description = "Ich fordere dich zum Wettstreit."; }; FUNC INT Info_Mod_Sylvio_Wettstreit_Condition() { if ((Npc_KnowsInfo(hero, Info_Mod_Lee_Wettstreit)) || (Npc_KnowsInfo(hero, Info_Mod_Lee_Orkfriedhof))) && (Mod_Gilde == 4) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_Wettstreit_Info() { AI_Output(hero, self, "Info_Mod_Sylvio_Wettstreit_15_00"); //Ich fordere dich zum Wettstreit. AI_Output(self, hero, "Info_Mod_Sylvio_Wettstreit_03_01"); //Was ... was sagst du? AI_Output(hero, self, "Info_Mod_Sylvio_Wettstreit_15_02"); //Zum Wettstreit um den Posten des 2. Offiziers und Anführers der Orkjäger. AI_Output(self, hero, "Info_Mod_Sylvio_Wettstreit_03_03"); //Du Wicht erdreistest dich ... das wirst du bitter bereuen. AI_Output(hero, self, "Info_Mod_Sylvio_Wettstreit_15_04"); //Wollte auch nur Bescheid sagen und wieder zurück zu Lee. AI_Output(self, hero, "Info_Mod_Sylvio_Wettstreit_03_05"); //Ok, wenn du einen Wettstreit willst, sollst du einen bekommen. }; INSTANCE Info_Mod_Sylvio_AtStonehenge (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_AtStonehenge_Condition; information = Info_Mod_Sylvio_AtStonehenge_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sylvio_AtStonehenge_Condition() { if (Mod_SLD_Wettstreit == 2) { return 1; }; }; FUNC VOID Info_Mod_Sylvio_AtStonehenge_Info() { AI_Output(self, hero, "Info_Mod_Sylvio_AtStonehenge_03_00"); //Du hier? (zu sich selbst) Verdammt, wo bleibt nur Sentenza mit meinem Schlüssel. AI_Output(self, hero, "Info_Mod_Sylvio_AtStonehenge_03_01"); //(Zu dem Helden) Tja, wie es aussieht werde ich dir deinen Schlüssel abnehmen müssen. Du hättest dich besser nicht mit mir anlegen sollen. AI_StopProcessInfos (self); B_Attack (self, hero, AR_GuildEnemy, 0); }; INSTANCE Info_Mod_Sylvio_Pickpocket (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_Pickpocket_Condition; information = Info_Mod_Sylvio_Pickpocket_Info; permanent = 1; important = 0; description = Pickpocket_150; }; FUNC INT Info_Mod_Sylvio_Pickpocket_Condition() { C_Beklauen (129, ItMi_Gold, 65); }; FUNC VOID Info_Mod_Sylvio_Pickpocket_Info() { Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); Info_AddChoice (Info_Mod_Sylvio_Pickpocket, DIALOG_BACK, Info_Mod_Sylvio_Pickpocket_BACK); Info_AddChoice (Info_Mod_Sylvio_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Sylvio_Pickpocket_DoIt); }; FUNC VOID Info_Mod_Sylvio_Pickpocket_BACK() { Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); }; FUNC VOID Info_Mod_Sylvio_Pickpocket_DoIt() { if (B_Beklauen() == TRUE) { Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); } else { Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); Info_AddChoice (Info_Mod_Sylvio_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Sylvio_Pickpocket_Beschimpfen); Info_AddChoice (Info_Mod_Sylvio_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Sylvio_Pickpocket_Bestechung); Info_AddChoice (Info_Mod_Sylvio_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Sylvio_Pickpocket_Herausreden); }; }; FUNC VOID Info_Mod_Sylvio_Pickpocket_Beschimpfen() { B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN"); B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); }; FUNC VOID Info_Mod_Sylvio_Pickpocket_Bestechung() { B_Say (hero, self, "$PICKPOCKET_BESTECHUNG"); var int rnd; rnd = r_max(99); if (rnd < 25) || ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50)) || ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100)) || ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200)) { B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); } else { if (rnd >= 75) { B_GiveInvItems (hero, self, ItMi_Gold, 200); } else if (rnd >= 50) { B_GiveInvItems (hero, self, ItMi_Gold, 100); } else if (rnd >= 25) { B_GiveInvItems (hero, self, ItMi_Gold, 50); }; B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01"); Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); AI_StopProcessInfos (self); }; }; FUNC VOID Info_Mod_Sylvio_Pickpocket_Herausreden() { B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN"); if (r_max(99) < Mod_Verhandlungsgeschick) { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01"); Info_ClearChoices (Info_Mod_Sylvio_Pickpocket); } else { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02"); }; }; INSTANCE Info_Mod_Sylvio_EXIT (C_INFO) { npc = Mod_797_SLD_Sylvio_MT; nr = 1; condition = Info_Mod_Sylvio_EXIT_Condition; information = Info_Mod_Sylvio_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Sylvio_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Sylvio_EXIT_Info() { AI_StopProcessInfos (self); };
D
void main() { testKeysValues1(); testKeysValues2(); testGet1(); testGet2(); testRequire1(); testRequire2(); testRequire3(); testUpdate1(); testUpdate2(); testByKey1(); testByKey2(); testByKey3(); testByKey4(); issue5842(); issue5842Expanded(); issue5925(); issue8583(); issue9052(); issue9119(); issue9852(); issue10381(); issue10720(); issue11761(); issue13078(); issue14104(); issue14626(); issue15290(); issue15367(); issue16974(); issue18071(); issue20440(); testIterationWithConst(); testStructArrayKey(); miscTests1(); miscTests2(); testRemove(); testZeroSizedValue(); testTombstonePurging(); testClear(); } void testKeysValues1() { static struct T { byte b; static size_t count; this(this) { ++count; } } T[int] aa; T t; aa[0] = t; aa[1] = t; assert(T.count == 2); auto vals = aa.values; assert(vals.length == 2); assert(T.count == 4); T.count = 0; int[T] aa2; aa2[t] = 0; assert(T.count == 1); aa2[t] = 1; assert(T.count == 1); auto keys = aa2.keys; assert(keys.length == 1); assert(T.count == 2); } void testKeysValues2() nothrow pure { int[string] aa; assert(aa.keys.length == 0); assert(aa.values.length == 0); aa["hello"] = 3; assert(aa["hello"] == 3); aa["hello"]++; assert(aa["hello"] == 4); assert(aa.length == 1); string[] keys = aa.keys; assert(keys.length == 1); assert(keys[0] == "hello"); int[] values = aa.values; assert(values.length == 1); assert(values[0] == 4); aa.rehash; assert(aa.length == 1); assert(aa["hello"] == 4); aa["foo"] = 1; aa["bar"] = 2; aa["batz"] = 3; assert(aa.keys.length == 4); assert(aa.values.length == 4); foreach (a; aa.keys) { assert(a.length != 0); assert(a.ptr != null); } foreach (v; aa.values) { assert(v != 0); } } void testGet1() @safe { int[string] aa; int a; foreach (val; aa.byKeyValue) { ++aa[val.key]; a = val.value; } } void testGet2() { static class T { static size_t count; this() { ++count; } } T[string] aa; auto a = new T; aa["foo"] = a; assert(T.count == 1); auto b = aa.get("foo", new T); assert(T.count == 1); assert(b is a); auto c = aa.get("bar", new T); assert(T.count == 2); assert(c !is a); //Obviously get doesn't add. assert("bar" !in aa); } void testRequire1() { static class T { static size_t count; this() { ++count; } } T[string] aa; auto a = new T; aa["foo"] = a; assert(T.count == 1); auto b = aa.require("foo", new T); assert(T.count == 1); assert(b is a); auto c = aa.require("bar", null); assert(T.count == 1); assert(c is null); assert("bar" in aa); auto d = aa.require("bar", new T); assert(d is null); auto e = aa.require("baz", new T); assert(T.count == 2); assert(e !is a); assert("baz" in aa); bool created = false; auto f = aa.require("qux", { created = true; return new T; }()); assert(created == true); T g; auto h = aa.require("qux", { g = new T; return g; }()); assert(g !is h); } void testRequire2() { static struct S { int value; } S[string] aa; aa.require("foo").value = 1; assert(aa == ["foo" : S(1)]); aa["bar"] = S(2); auto a = aa.require("bar", S(3)); assert(a == S(2)); auto b = aa["bar"]; assert(b == S(2)); S* c = &aa.require("baz", S(4)); assert(c is &aa["baz"]); assert(*c == S(4)); assert("baz" in aa); auto d = aa["baz"]; assert(d == S(4)); } void testRequire3() pure { string[string] aa; auto a = aa.require("foo", "bar"); assert("foo" in aa); } void testUpdate1() { static class C {} C[string] aa; C orig = new C; aa["foo"] = orig; C newer; C older; void test(string key) { aa.update(key, { newer = new C; return newer; }, (ref C c) { older = c; newer = new C; return newer; }); } test("foo"); assert(older is orig); assert(newer is aa["foo"]); test("bar"); assert(newer is aa["bar"]); } void testUpdate2() { static class C {} C[string] aa; auto created = false; auto updated = false; class Creator { C opCall() { created = true; return new C(); } } class Updater { C opCall(ref C) { updated = true; return new C(); } } aa.update("foo", new Creator, new Updater); assert(created); aa.update("foo", new Creator, new Updater); assert(updated); } void testByKey1() { static assert(!__traits(compiles, () @safe { struct BadValue { int x; this(this) @safe { *(cast(ubyte*)(null) + 100000) = 5; } // not @safe alias x this; } BadValue[int] aa; () @safe { auto x = aa.byKey.front; } (); } )); } void testByKey2() nothrow pure { int[int] a; foreach (i; a.byKey) { assert(false); } foreach (i; a.byValue) { assert(false); } } void testByKey3() /*nothrow*/ pure { auto a = [ 1:"one", 2:"two", 3:"three" ]; auto b = a.dup; assert(b == [ 1:"one", 2:"two", 3:"three" ]); int[] c; foreach (k; a.byKey) { c ~= k; } assert(c.length == 3); assert(c[0] == 1 || c[1] == 1 || c[2] == 1); assert(c[0] == 2 || c[1] == 2 || c[2] == 2); assert(c[0] == 3 || c[1] == 3 || c[2] == 3); } void testByKey4() nothrow pure { string[] keys = ["a", "b", "c", "d", "e", "f"]; // Test forward range capabilities of byKey { int[string] aa; foreach (key; keys) aa[key] = 0; auto keyRange = aa.byKey(); auto savedKeyRange = keyRange.save; // Consume key range once size_t keyCount = 0; while (!keyRange.empty) { aa[keyRange.front]++; keyCount++; keyRange.popFront(); } foreach (key; keys) { assert(aa[key] == 1); } assert(keyCount == keys.length); // Verify it's possible to iterate the range the second time keyCount = 0; while (!savedKeyRange.empty) { aa[savedKeyRange.front]++; keyCount++; savedKeyRange.popFront(); } foreach (key; keys) { assert(aa[key] == 2); } assert(keyCount == keys.length); } // Test forward range capabilities of byValue { size_t[string] aa; foreach (i; 0 .. keys.length) { aa[keys[i]] = i; } auto valRange = aa.byValue(); auto savedValRange = valRange.save; // Consume value range once int[] hasSeen; hasSeen.length = keys.length; while (!valRange.empty) { assert(hasSeen[valRange.front] == 0); hasSeen[valRange.front]++; valRange.popFront(); } foreach (sawValue; hasSeen) { assert(sawValue == 1); } // Verify it's possible to iterate the range the second time hasSeen = null; hasSeen.length = keys.length; while (!savedValRange.empty) { assert(!hasSeen[savedValRange.front]); hasSeen[savedValRange.front] = true; savedValRange.popFront(); } foreach (sawValue; hasSeen) { assert(sawValue); } } } void issue5842() pure nothrow { string[string] test = null; test["test1"] = "test1"; test.remove("test1"); test.rehash; test["test3"] = "test3"; // causes divide by zero if rehash broke the AA } /// expanded test for 5842: increase AA size past the point where the AA /// stops using binit, in order to test another code path in rehash. void issue5842Expanded() pure nothrow { int[int] aa; foreach (int i; 0 .. 32) aa[i] = i; foreach (int i; 0 .. 32) aa.remove(i); aa.rehash; aa[1] = 1; } void issue5925() nothrow pure { const a = [4:0]; const b = [4:0]; assert(a == b); } /// test for bug 8583: ensure Slot and aaA are on the same page wrt value alignment void issue8583() nothrow pure { string[byte] aa0 = [0: "zero"]; string[uint[3]] aa1 = [[1,2,3]: "onetwothree"]; ushort[uint[3]] aa2 = [[9,8,7]: 987]; ushort[uint[4]] aa3 = [[1,2,3,4]: 1234]; string[uint[5]] aa4 = [[1,2,3,4,5]: "onetwothreefourfive"]; assert(aa0.byValue.front == "zero"); assert(aa1.byValue.front == "onetwothree"); assert(aa2.byValue.front == 987); assert(aa3.byValue.front == 1234); assert(aa4.byValue.front == "onetwothreefourfive"); } void issue9052() nothrow pure { static struct Json { Json[string] aa; void opAssign(Json) {} size_t length() const { return aa.length; } // This length() instantiates AssociativeArray!(string, const(Json)) to call AA.length(), and // inside ref Slot opAssign(Slot p); (which is automatically generated by compiler in Slot), // this.value = p.value would actually fail, because both side types of the assignment // are const(Json). } } void issue9119() { int[string] aa; assert(aa.byKeyValue.empty); aa["a"] = 1; aa["b"] = 2; aa["c"] = 3; auto pairs = aa.byKeyValue; auto savedPairs = pairs.save; size_t count = 0; while (!pairs.empty) { assert(pairs.front.key in aa); assert(pairs.front.value == aa[pairs.front.key]); count++; pairs.popFront(); } assert(count == aa.length); // Verify that saved range can iterate over the AA again count = 0; while (!savedPairs.empty) { assert(savedPairs.front.key in aa); assert(savedPairs.front.value == aa[savedPairs.front.key]); count++; savedPairs.popFront(); } assert(count == aa.length); } void issue9852() nothrow pure { // Original test case (revised, original assert was wrong) int[string] a; a["foo"] = 0; a.remove("foo"); assert(a == null); // should not crash int[string] b; assert(b is null); assert(a == b); // should not deref null assert(b == a); // ditto int[string] c; c["a"] = 1; assert(a != c); // comparison with empty non-null AA assert(c != a); assert(b != c); // comparison with null AA assert(c != b); } void issue10381() { alias II = int[int]; II aa1 = [0 : 1]; II aa2 = [0 : 1]; II aa3 = [0 : 2]; assert(aa1 == aa2); // Passes assert(typeid(II).equals(&aa1, &aa2)); assert(!typeid(II).equals(&aa1, &aa3)); } void issue10720() nothrow pure { static struct NC { @disable this(this) { } } NC[string] aa; static assert(!is(aa.nonExistingField)); } /// bug 11761: test forward range functionality void issue11761() pure nothrow { auto aa = ["a": 1]; void testFwdRange(R, T)(R fwdRange, T testValue) { assert(!fwdRange.empty); assert(fwdRange.front == testValue); static assert(is(typeof(fwdRange.save) == typeof(fwdRange))); auto saved = fwdRange.save; fwdRange.popFront(); assert(fwdRange.empty); assert(!saved.empty); assert(saved.front == testValue); saved.popFront(); assert(saved.empty); } testFwdRange(aa.byKey, "a"); testFwdRange(aa.byValue, 1); //testFwdRange(aa.byPair, tuple("a", 1)); } void issue13078() nothrow pure { shared string[][string] map; map.rehash; } void issue14104() { import core.stdc.stdio; alias K = const(ubyte)*; size_t[K] aa; immutable key = cast(K)(cast(size_t) uint.max + 1); aa[key] = 12; assert(key in aa); } void issue14626() { static struct S { string[string] aa; inout(string) key() inout { return aa.byKey().front; } inout(string) val() inout { return aa.byValue().front; } auto keyval() inout { return aa.byKeyValue().front; } } S s = S(["a":"b"]); assert(s.key() == "a"); assert(s.val() == "b"); assert(s.keyval().key == "a"); assert(s.keyval().value == "b"); void testInoutKeyVal(inout(string) key) { inout(string)[typeof(key)] aa; foreach (i; aa.byKey()) {} foreach (i; aa.byValue()) {} foreach (i; aa.byKeyValue()) {} } const int[int] caa; static assert(is(typeof(caa.byValue().front) == const int)); } /// test duplicated keys in AA literal /// https://issues.dlang.org/show_bug.cgi?id=15290 void issue15290() { string[int] aa = [ 0: "a", 0: "b" ]; assert(aa.length == 1); assert(aa.keys == [ 0 ]); } void issue15367() { void f1() {} void f2() {} // TypeInfo_Delegate.getHash int[void delegate()] aa; assert(aa.length == 0); aa[&f1] = 1; assert(aa.length == 1); aa[&f1] = 1; assert(aa.length == 1); auto a1 = [&f2, &f1]; auto a2 = [&f2, &f1]; // TypeInfo_Delegate.equals for (auto i = 0; i < 2; i++) assert(a1[i] == a2[i]); assert(a1 == a2); // TypeInfo_Delegate.compare for (auto i = 0; i < 2; i++) assert(a1[i] <= a2[i]); assert(a1 <= a2); } /// test AA as key /// https://issues.dlang.org/show_bug.cgi?id=16974 void issue16974() { int[int] a = [1 : 2], a2 = [1 : 2]; assert([a : 3] == [a : 3]); assert([a : 3] == [a2 : 3]); assert(typeid(a).getHash(&a) == typeid(a).getHash(&a)); assert(typeid(a).getHash(&a) == typeid(a).getHash(&a2)); } /// test safety for alias-this'd AA that have unsafe opCast /// https://issues.dlang.org/show_bug.cgi?id=18071 void issue18071() { static struct Foo { int[int] aa; auto opCast() pure nothrow @nogc { *cast(uint*)0xdeadbeef = 0xcafebabe;// unsafe return null; } alias aa this; } Foo f; () @safe { assert(f.byKey.empty); }(); } /// Test that `require` works even with types whose opAssign /// doesn't return a reference to the receiver. /// https://issues.dlang.org/show_bug.cgi?id=20440 void issue20440() @safe { static struct S { int value; auto opAssign(S s) { this.value = s.value; return this; } } S[S] aa; assert(aa.require(S(1), S(2)) == S(2)); assert(aa[S(1)] == S(2)); } /// Verify iteration with const. void testIterationWithConst() { auto aa = [1:2, 3:4]; foreach (const t; aa.byKeyValue) { auto k = t.key; auto v = t.value; } } void testStructArrayKey() @safe { struct S { int i; const @safe nothrow: hash_t toHash() { return 0; } bool opEquals(const S) { return true; } int opCmp(const S) { return 0; } } int[S[]] aa = [[S(11)] : 13]; assert(aa[[S(12)]] == 13); } void miscTests1() pure nothrow { string[int] key1 = [1 : "true", 2 : "false"]; string[int] key2 = [1 : "false", 2 : "true"]; string[int] key3; // AA lits create a larger hashtable int[string[int]] aa1 = [key1 : 100, key2 : 200, key3 : 300]; // Ensure consistent hash values are computed for key1 assert((key1 in aa1) !is null); // Manually assigning to an empty AA creates a smaller hashtable int[string[int]] aa2; aa2[key1] = 100; aa2[key2] = 200; aa2[key3] = 300; assert(aa1 == aa2); // Ensure binary-independence of equal hash keys string[int] key2a; key2a[1] = "false"; key2a[2] = "true"; assert(aa1[key2a] == 200); } void miscTests2() { int[int] aa; foreach (k, v; aa) assert(false); foreach (v; aa) assert(false); assert(aa.byKey.empty); assert(aa.byValue.empty); assert(aa.byKeyValue.empty); size_t n; aa = [0 : 3, 1 : 4, 2 : 5]; foreach (k, v; aa) { n += k; assert(k >= 0 && k < 3); assert(v >= 3 && v < 6); } assert(n == 3); n = 0; foreach (v; aa) { n += v; assert(v >= 3 && v < 6); } assert(n == 12); n = 0; foreach (k, v; aa) { ++n; break; } assert(n == 1); n = 0; foreach (v; aa) { ++n; break; } assert(n == 1); } void testRemove() { int[int] aa; assert(!aa.remove(0)); aa = [0 : 1]; assert(aa.remove(0)); assert(!aa.remove(0)); aa[1] = 2; assert(!aa.remove(0)); assert(aa.remove(1)); assert(aa.length == 0); assert(aa.byKey.empty); } /// test zero sized value (hashset) void testZeroSizedValue() { alias V = void[0]; auto aa = [0 : V.init]; assert(aa.length == 1); assert(aa.byKey.front == 0); assert(aa.byValue.front == V.init); aa[1] = V.init; assert(aa.length == 2); aa[0] = V.init; assert(aa.length == 2); assert(aa.remove(0)); aa[0] = V.init; assert(aa.length == 2); assert(aa == [0 : V.init, 1 : V.init]); } void testTombstonePurging() { int[int] aa; foreach (i; 0 .. 6) aa[i] = i; foreach (i; 0 .. 6) assert(aa.remove(i)); foreach (i; 6 .. 10) aa[i] = i; assert(aa.length == 4); foreach (i; 6 .. 10) assert(i in aa); } void testClear() { int[int] aa; assert(aa.length == 0); foreach (i; 0 .. 100) aa[i] = i * 2; assert(aa.length == 100); auto aa2 = aa; assert(aa2.length == 100); aa.clear(); assert(aa.length == 0); assert(aa2.length == 0); aa2[5] = 6; assert(aa.length == 1); assert(aa[5] == 6); }
D
//taken from learning d by Michael Parker template MyTemplate(T) { T val; void printVal() { import std.stdio : writeln; writeln("The type is ", typeid(T)); writeln("The value is ", val); } } void main() { MyTemplate!(int).val = 20; MyTemplate!int.printVal(); alias mtf = MyTemplate!float; mtf.printVal(); }
D
import std.stdio, std.array, std.string, std.conv, std.algorithm; import std.typecons, std.range, std.random, std.math, std.container; import std.numeric, std.bigint, core.bitop, core.stdc.string; immutable long MOD = 10^^9 + 7; long powmod(long a, long x, long m) { long ret = 1; while (x) { if (x % 2) ret = ret * a % MOD; a = a * a % MOD; x /= 2; } return ret; } void main() { immutable long MAX = 2*10^^6+1; immutable long MOD = 10^^9+7; auto modinv = new long[](MAX); modinv[0] = modinv[1] = 1; foreach(i; 2..MAX) { modinv[i] = modinv[MOD % i] * (MOD - MOD / i) % MOD; } auto f_mod = new long[](MAX); auto f_modinv = new long[](MAX); f_mod[0] = f_mod[1] = 1; f_modinv[0] = f_modinv[1] = 1; foreach(i; 2..MAX) { f_mod[i] = (i * f_mod[i-1]) % MOD; f_modinv[i] = (modinv[i] * f_modinv[i-1]) % MOD; } long H(long a, long b) { if (a == 0 && b == 0) return 1; if (a == 0) return 0; if (b == 0) return 1; return f_mod[a+b-1] * f_modinv[a-1] % MOD * f_modinv[b] % MOD; } auto s = readln.split.map!(to!long); auto N = s[0]; auto K = s[1]; auto D = s[2]; auto P = new long[](N+1); P[0] = 1; foreach (i; 0..N) P[i+1] = P[i] * D % MOD; auto X = N / (K-1); auto Y = N % (K-1); if (Y == 0) X -= 1, Y = K-1; if (D == 1) { writeln(Y); return; } long ans = 0; foreach (i; 0..X+1) { // D^i auto nokori = X - i; // nokori 個を (Y-1) 個 に分配する場合の数 auto tmp = Y * powmod(D, i, MOD) % MOD * H(Y-1, X-i) % MOD; ans += Y * powmod(D, i, MOD) % MOD * H(Y-1, X-i) % MOD; ans %= MOD; //writeln(i, " ", tmp); } ans.writeln; }
D
// Written in the D programming language. /** This module contains resource management and drawables implementation. imageCache is RAM cache of decoded images (as DrawBuf). drawableCache is cache of Drawables. Supports nine-patch PNG images in .9.png files (like in Android). Supports state drawables using XML files similar to ones in Android. When your application uses custom resources, you can embed resources into executable and/or specify external resource directory(s). To embed resources, put them into views/res directory, and create file views/resources.list with list of all files to embed. Use following code to embed resources: ---- /// entry point for dlangui based application extern (C) int UIAppMain(string[] args) { // embed non-standard resources listed in views/resources.list into executable embeddedResourceList.addResources(embedResourcesFromList!("resources.list")()); ... ---- Resource list resources.list file may look similar to following: ---- res/i18n/en.ini res/i18n/ru.ini res/mdpi/cr3_logo.png res/mdpi/document-open.png res/mdpi/document-properties.png res/mdpi/document-save.png res/mdpi/edit-copy.png res/mdpi/edit-paste.png res/mdpi/edit-undo.png res/mdpi/tx_fabric.jpg res/theme_custom1.xml ---- As well you can specify list of external directories to get resources from. ---- /// entry point for dlangui based application extern (C) int UIAppMain(string[] args) { // resource directory search paths string[] resourceDirs = [ appendPath(exePath, "../../../res/"), // for Visual D and DUB builds appendPath(exePath, "../../../res/mdpi/"), // for Visual D and DUB builds appendPath(exePath, "../../../../res/"),// for Mono-D builds appendPath(exePath, "../../../../res/mdpi/"),// for Mono-D builds appendPath(exePath, "res/"), // when res dir is located at the same directory as executable appendPath(exePath, "../res/"), // when res dir is located at project directory appendPath(exePath, "../../res/"), // when res dir is located at the same directory as executable appendPath(exePath, "res/mdpi/"), // when res dir is located at the same directory as executable appendPath(exePath, "../res/mdpi/"), // when res dir is located at project directory appendPath(exePath, "../../res/mdpi/") // when res dir is located at the same directory as executable ]; // setup resource directories - will use only existing directories Platform.instance.resourceDirs = resourceDirs; ---- When same file exists in both embedded and external resources, one from external resource directory will be used - it's useful for developing and testing of resources. Synopsis: ---- import dlangui.graphics.resources; // embed non-standard resources listed in views/resources.list into executable embeddedResourceList.addResources(embedResourcesFromList!("resources.list")()); ---- Copyright: Vadim Lopatin, 2014 License: Boost License 1.0 Authors: Vadim Lopatin, coolreader.org@gmail.com */ module dlangui.graphics.resources; import dlangui.core.config; import dlangui.graphics.images; import dlangui.graphics.drawbuf; import dlangui.graphics.colors; import dlangui.core.logger; import std.file; import std.algorithm; import std.xml; import std.conv; import std.string; import std.path; /// filename prefix for embedded resources immutable string EMBEDDED_RESOURCE_PREFIX = "@embedded@/"; struct EmbeddedResource { immutable string name; immutable ubyte[] data; this(immutable string name, immutable ubyte[] data) { this.name = name; this.data = data; } } struct EmbeddedResourceList { private EmbeddedResource[] list; void addResources(EmbeddedResource[] resources) { list ~= resources; } /// find by exact file name EmbeddedResource * find(string name) { // search backwards to allow overriding standard resources (which are added first) if (SCREEN_DPI > 110 && (name.endsWith(".png") || name.endsWith(".jpg") || name.endsWith(".jpeg"))) { // HIGH DPI resources are in /hdpi/ directory and started with hdpi_ prefix string prefixedName = "hdpi_" ~ name; for (int i = cast(int)list.length - 1; i >= 0; i--) if (prefixedName.equal(list[i].name)) { Log.d("found hdpi resource ", prefixedName); return &list[i]; } } for (int i = cast(int)list.length - 1; i >= 0; i--) if (name.equal(list[i].name)) return &list[i]; return null; } /// find by name w/o extension EmbeddedResource * findAutoExtension(string name) { string xmlname = name ~ ".xml"; string pngname = name ~ ".png"; string png9name = name ~ ".9.png"; string jpgname = name ~ ".jpg"; string jpegname = name ~ ".jpeg"; string xpmname = name ~ ".xpm"; // search backwards to allow overriding standard resources (which are added first) for (int i = cast(int)list.length - 1; i >= 0; i--) { string s = list[i].name; if (s.equal(xmlname) || s.equal(pngname) || s.equal(png9name) || s.equal(jpgname) || s.equal(jpegname) || s.equal(xpmname)) return &list[i]; } return null; } } __gshared EmbeddedResourceList embeddedResourceList; EmbeddedResource[] embedResource(string resourceName)() { immutable string name = baseName(resourceName); static if (name.length > 0) { immutable ubyte[] data = cast(immutable ubyte[])import(name); static if (data.length > 0) return [EmbeddedResource(name, data)]; else return []; } else return []; } /// embed all resources from list EmbeddedResource[] embedResources(string[] resourceNames)() { static if (resourceNames.length == 0) return []; static if (resourceNames.length == 1) return embedResource!(resourceNames[0])(); else return embedResources!(resourceNames[0 .. $/2])() ~ embedResources!(resourceNames[$/2 .. $])(); } /// split string into lines, autodetect line endings string[] splitLines(string s) { auto lines_crlf = split(s, "\r\n"); auto lines_cr = split(s, "\r"); auto lines_lf = split(s, "\n"); if (lines_crlf.length >= lines_cr.length && lines_crlf.length >= lines_lf.length) return lines_crlf; if (lines_cr.length > lines_lf.length) return lines_cr; return lines_lf; } /// embed all resources from list EmbeddedResource[] embedResourcesFromList(string resourceList)() { return embedResources!(splitLines(import(resourceList)))(); } __gshared static this() { version (EmbedStandardResources) { embeddedResourceList.addResources(embedResourcesFromList!("standard_resources.list")()); } } /// load resource bytes from embedded resource or file immutable(ubyte[]) loadResourceBytes(string filename) { if (filename.startsWith(EMBEDDED_RESOURCE_PREFIX)) { EmbeddedResource * embedded = embeddedResourceList.find(filename[EMBEDDED_RESOURCE_PREFIX.length .. $]); if (embedded) return embedded.data; return null; } else { try { immutable ubyte[] data = cast(immutable ubyte[])std.file.read(filename); return data; } catch (Exception e) { Log.e("exception while loading file ", filename); return null; } } } /// Base class for all drawables class Drawable : RefCountedObject { debug static __gshared int _instanceCount; debug @property static int instanceCount() { return _instanceCount; } this() { debug ++_instanceCount; //Log.d("Created drawable, count=", ++_instanceCount); } ~this() { //Log.d("Destroyed drawable, count=", --_instanceCount); debug --_instanceCount; } abstract void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0); @property abstract int width(); @property abstract int height(); @property Rect padding() { return Rect(0,0,0,0); } } /// Custom drawing inside openGL class OpenGLDrawable : Drawable { private OpenGLDrawableDelegate _drawHandler; @property OpenGLDrawableDelegate drawHandler() { return _drawHandler; } @property OpenGLDrawable drawHandler(OpenGLDrawableDelegate handler) { _drawHandler = handler; return this; } this(OpenGLDrawableDelegate drawHandler = null) { _drawHandler = drawHandler; } void onDraw(Rect windowRect, Rect rc) { // either override this method or assign draw handler if (_drawHandler) { _drawHandler(windowRect, rc); } } override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { buf.drawCustomOpenGLScene(rc, &onDraw); } override @property int width() { return 20; // dummy size } override @property int height() { return 20; // dummy size } } class EmptyDrawable : Drawable { override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { } @property override int width() { return 0; } @property override int height() { return 0; } } class SolidFillDrawable : Drawable { protected uint _color; this(uint color) { _color = color; } override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { if ((_color >> 24) != 0xFF) // not fully transparent buf.fillRect(rc, _color); } @property override int width() { return 1; } @property override int height() { return 1; } } /// solid borders (may be of different width) and, optionally, solid inner area class FrameDrawable : Drawable { protected uint _frameColor; // frame color protected Rect _frameWidths; // left, top, right, bottom border widths, in pixels protected uint _middleColor; // middle area color (may be transparent) this(uint frameColor, Rect borderWidths, uint innerAreaColor = 0xFFFFFFFF) { _frameColor = frameColor; _frameWidths = borderWidths; _middleColor = innerAreaColor; } this(uint frameColor, int borderWidth, uint innerAreaColor = 0xFFFFFFFF) { _frameColor = frameColor; _frameWidths = Rect(borderWidth, borderWidth, borderWidth, borderWidth); _middleColor = innerAreaColor; } override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { buf.drawFrame(rc, _frameColor, _frameWidths, _middleColor); } @property override int width() { return 1 + _frameWidths.left + _frameWidths.right; } @property override int height() { return 1 + _frameWidths.top + _frameWidths.bottom; } @property override Rect padding() { return _frameWidths; } } enum DimensionUnits { pixels, points, percents } /// decode size string, e.g. 1px or 2 or 3pt static uint decodeDimension(string s) { uint value = 0; DimensionUnits units = DimensionUnits.pixels; bool dotFound = false; uint afterPointValue = 0; uint afterPointDivider = 1; foreach(c; s) { int digit = -1; if (c >='0' && c <= '9') digit = c - '0'; if (digit >= 0) { if (dotFound) { afterPointValue = afterPointValue * 10 + digit; afterPointDivider *= 10; } else { value = value * 10 + digit; } } else if (c == 't') // just test by containing 't' - for NNNpt units = DimensionUnits.points; // "pt" else if (c == '%') units = DimensionUnits.percents; else if (c == '.') dotFound = true; } // TODO: convert points to pixels switch(units) { case DimensionUnits.points: // need to convert points to pixels value |= SIZE_IN_POINTS_FLAG; break; case DimensionUnits.percents: // need to convert percents value = ((value * 100) + (afterPointValue * 100 / afterPointDivider)) | SIZE_IN_PERCENTS_FLAG; break; default: break; } return value; } /// decode solid color / gradient / frame drawable from string like #AARRGGBB, e.g. #5599AA /// /// SolidFillDrawable: #AARRGGBB - e.g. #8090A0 or #80ffffff /// FrameDrawable: #frameColor,frameWidth[,#middleColor] /// or #frameColor,leftBorderWidth,topBorderWidth,rightBorderWidth,bottomBorderWidth[,#middleColor] /// e.g. #000000,2,#C0FFFFFF - black frame of width 2 with 75% transparent white middle /// e.g. #0000FF,2,3,4,5,#FFFFFF - blue frame with left,top,right,bottom borders of width 2,3,4,5 and white inner area static Drawable createColorDrawable(string s) { Log.d("creating color drawable ", s); uint[6] values; int valueCount = 0; int start = 0; for (int i = 0; i <= s.length; i++) { if (i == s.length || s[i] == ',') { if (i > start) { string item = s[start .. i]; if (item.startsWith("#")) values[valueCount++] = decodeHexColor(item); else values[valueCount++] = decodeDimension(item); if (valueCount >= 6) break; } start = i + 1; } } if (valueCount == 1) // only color #AARRGGBB return new SolidFillDrawable(values[0]); else if (valueCount == 2) // frame color and frame width, with transparent inner area - #AARRGGBB,NN return new FrameDrawable(values[0], values[1]); else if (valueCount == 3) // frame color, frame width, inner area color - #AARRGGBB,NN,#AARRGGBB return new FrameDrawable(values[0], values[1], values[2]); else if (valueCount == 5) // frame color, frame widths for left,top,right,bottom and transparent inner area - #AARRGGBB,NNleft,NNtop,NNright,NNbottom return new FrameDrawable(values[0], Rect(values[1], values[2], values[3], values[4])); else if (valueCount == 6) // frame color, frame widths for left,top,right,bottom, inner area color - #AARRGGBB,NNleft,NNtop,NNright,NNbottom,#AARRGGBB return new FrameDrawable(values[0], Rect(values[1], values[2], values[3], values[4]), values[5]); Log.e("Invalid drawable string format: ", s); return new EmptyDrawable(); // invalid format - just return empty drawable } class ImageDrawable : Drawable { protected DrawBufRef _image; protected bool _tiled; debug static __gshared int _instanceCount; debug @property static int instanceCount() { return _instanceCount; } this(ref DrawBufRef image, bool tiled = false, bool ninePatch = false) { _image = image; _tiled = tiled; if (ninePatch) _image.detectNinePatch(); debug _instanceCount++; debug(resalloc) Log.d("Created ImageDrawable, count=", _instanceCount); } ~this() { _image.clear(); debug _instanceCount--; debug(resalloc) Log.d("Destroyed ImageDrawable, count=", _instanceCount); } @property override int width() { if (_image.isNull) return 0; if (_image.hasNinePatch) return _image.width - 2; return _image.width; } @property override int height() { if (_image.isNull) return 0; if (_image.hasNinePatch) return _image.height - 2; return _image.height; } @property override Rect padding() { if (!_image.isNull && _image.hasNinePatch) return _image.ninePatch.padding; return Rect(0,0,0,0); } private static void correctFrameBounds(ref int n1, ref int n2, ref int n3, ref int n4) { if (n1 > n2) { //assert(n2 - n1 == n4 - n3); int middledist = (n1 + n2) / 2 - n1; n1 = n2 = n1 + middledist; n3 = n4 = n3 + middledist; } } override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { if (_image.isNull) return; if (_image.hasNinePatch) { // draw nine patch const NinePatch * p = _image.ninePatch; //Log.d("drawing nine patch image with frame ", p.frame, " padding ", p.padding); int w = width; int h = height; Rect srcrect = Rect(1, 1, w + 1, h + 1); if (true) { //buf.applyClipping(dstrect, srcrect)) { int x0 = srcrect.left; int x1 = srcrect.left + p.frame.left; int x2 = srcrect.right - p.frame.right; int x3 = srcrect.right; int y0 = srcrect.top; int y1 = srcrect.top + p.frame.top; int y2 = srcrect.bottom - p.frame.bottom; int y3 = srcrect.bottom; int dstx0 = rc.left; int dstx1 = rc.left + p.frame.left; int dstx2 = rc.right - p.frame.right; int dstx3 = rc.right; int dsty0 = rc.top; int dsty1 = rc.top + p.frame.top; int dsty2 = rc.bottom - p.frame.bottom; int dsty3 = rc.bottom; //Log.d("x bounds: ", x0, ", ", x1, ", ", x2, ", ", x3, " dst ", dstx0, ", ", dstx1, ", ", dstx2, ", ", dstx3); //Log.d("y bounds: ", y0, ", ", y1, ", ", y2, ", ", y3, " dst ", dsty0, ", ", dsty1, ", ", dsty2, ", ", dsty3); correctFrameBounds(x1, x2, dstx1, dstx2); correctFrameBounds(y1, y2, dsty1, dsty2); //correctFrameBounds(x1, x2); //correctFrameBounds(y1, y2); //correctFrameBounds(dstx1, dstx2); //correctFrameBounds(dsty1, dsty2); if (y0 < y1 && dsty0 < dsty1) { // top row if (x0 < x1 && dstx0 < dstx1) buf.drawFragment(dstx0, dsty0, _image.get, Rect(x0, y0, x1, y1)); // top left if (x1 < x2 && dstx1 < dstx2) buf.drawRescaled(Rect(dstx1, dsty0, dstx2, dsty1), _image.get, Rect(x1, y0, x2, y1)); // top center if (x2 < x3 && dstx2 < dstx3) buf.drawFragment(dstx2, dsty0, _image.get, Rect(x2, y0, x3, y1)); // top right } if (y1 < y2 && dsty1 < dsty2) { // middle row if (x0 < x1 && dstx0 < dstx1) buf.drawRescaled(Rect(dstx0, dsty1, dstx1, dsty2), _image.get, Rect(x0, y1, x1, y2)); // middle center if (x1 < x2 && dstx1 < dstx2) buf.drawRescaled(Rect(dstx1, dsty1, dstx2, dsty2), _image.get, Rect(x1, y1, x2, y2)); // center if (x2 < x3 && dstx2 < dstx3) buf.drawRescaled(Rect(dstx2, dsty1, dstx3, dsty2), _image.get, Rect(x2, y1, x3, y2)); // middle center } if (y2 < y3 && dsty2 < dsty3) { // bottom row if (x0 < x1 && dstx0 < dstx1) buf.drawFragment(dstx0, dsty2, _image.get, Rect(x0, y2, x1, y3)); // bottom left if (x1 < x2 && dstx1 < dstx2) buf.drawRescaled(Rect(dstx1, dsty2, dstx2, dsty3), _image.get, Rect(x1, y2, x2, y3)); // bottom center if (x2 < x3 && dstx2 < dstx3) buf.drawFragment(dstx2, dsty2, _image.get, Rect(x2, y2, x3, y3)); // bottom right } } } else if (_tiled) { // tiled int imgdx = _image.width; int imgdy = _image.height; tilex0 %= imgdx; if (tilex0 < 0) tilex0 += imgdx; tiley0 %= imgdy; if (tiley0 < 0) tiley0 += imgdy; int xx0 = rc.left; int yy0 = rc.top; if (tilex0) xx0 -= imgdx - tilex0; if (tiley0) yy0 -= imgdy - tiley0; for (int yy = yy0; yy < rc.bottom; yy += imgdy) { for (int xx = xx0; xx < rc.right; xx += imgdx) { Rect dst = Rect(xx, yy, xx + imgdx, yy + imgdy); Rect src = Rect(0, 0, imgdx, imgdy); if (dst.intersects(rc)) buf.drawFragment(dst.left, dst.top, _image.get, src); } } } else { // rescaled or normal if (rc.width != _image.width || rc.height != _image.height) buf.drawRescaled(rc, _image.get, Rect(0, 0, _image.width, _image.height)); else buf.drawImage(rc.left, rc.top, _image); } } } string attrValue(Element item, string attrname, string attrname2 = null) { if (attrname in item.tag.attr) return item.tag.attr[attrname]; if (attrname2 && attrname2 in item.tag.attr) return item.tag.attr[attrname2]; return null; } string attrValue(ref string[string] attr, string attrname, string attrname2 = null) { if (attrname in attr) return attr[attrname]; if (attrname2 && attrname2 in attr) return attr[attrname2]; return null; } void extractStateFlag(ref string[string] attr, string attrName, string attrName2, State state, ref uint stateMask, ref uint stateValue) { string value = attrValue(attr, attrName, attrName2); if (value !is null) { if (value.equal("true")) stateValue |= state; stateMask |= state; } } /// converts XML attribute name to State (see http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList) void extractStateFlags(ref string[string] attr, ref uint stateMask, ref uint stateValue) { extractStateFlag(attr, "state_pressed", "android:state_pressed", State.Pressed, stateMask, stateValue); extractStateFlag(attr, "state_focused", "android:state_focused", State.Focused, stateMask, stateValue); extractStateFlag(attr, "state_default", "android:state_default", State.Default, stateMask, stateValue); extractStateFlag(attr, "state_hovered", "android:state_hovered", State.Hovered, stateMask, stateValue); extractStateFlag(attr, "state_selected", "android:state_selected", State.Selected, stateMask, stateValue); extractStateFlag(attr, "state_checkable", "android:state_checkable", State.Checkable, stateMask, stateValue); extractStateFlag(attr, "state_checked", "android:state_checked", State.Checked, stateMask, stateValue); extractStateFlag(attr, "state_enabled", "android:state_enabled", State.Enabled, stateMask, stateValue); extractStateFlag(attr, "state_activated", "android:state_activated", State.Activated, stateMask, stateValue); extractStateFlag(attr, "state_window_focused", "android:state_window_focused", State.WindowFocused, stateMask, stateValue); } /* sample: (prefix android: is optional) <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" android:constantSize=["true" | "false"] android:dither=["true" | "false"] android:variablePadding=["true" | "false"] > <item android:drawable="@[package:]drawable/drawable_resource" android:state_pressed=["true" | "false"] android:state_focused=["true" | "false"] android:state_hovered=["true" | "false"] android:state_selected=["true" | "false"] android:state_checkable=["true" | "false"] android:state_checked=["true" | "false"] android:state_enabled=["true" | "false"] android:state_activated=["true" | "false"] android:state_window_focused=["true" | "false"] /> </selector> */ /// Drawable which is drawn depending on state (see http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList) class StateDrawable : Drawable { static class StateItem { uint stateMask; uint stateValue; ColorTransform transform; DrawableRef drawable; @property bool matchState(uint state) { return (stateMask & state) == stateValue; } } // list of states protected StateItem[] _stateList; // max paddings for all states protected Rect _paddings; // max drawable size for all states protected Point _size; ~this() { foreach(ref item; _stateList) destroy(item); _stateList = null; } void addState(uint stateMask, uint stateValue, string resourceId, ref ColorTransform transform) { StateItem item = new StateItem(); item.stateMask = stateMask; item.stateValue = stateValue; item.drawable = drawableCache.get(resourceId, transform); itemAdded(item); } void addState(uint stateMask, uint stateValue, DrawableRef drawable) { StateItem item = new StateItem(); item.stateMask = stateMask; item.stateValue = stateValue; item.drawable = drawable; itemAdded(item); } private void itemAdded(StateItem item) { _stateList ~= item; if (!item.drawable.isNull) { if (_size.x < item.drawable.width) _size.x = item.drawable.width; if (_size.y < item.drawable.height) _size.y = item.drawable.height; _paddings.setMax(item.drawable.padding); } } /// parse 4 comma delimited integers static bool parseList4(T)(string value, ref T[4] items) { int index = 0; int p = 0; int start = 0; for (;p < value.length && index < 4; p++) { while (p < value.length && value[p] != ',') p++; if (p > start) { int end = p; string s = value[start .. end]; items[index++] = to!T(s); start = p + 1; } } return index == 4; } private static uint colorTransformFromStringAdd(string value) { if (value is null) return COLOR_TRANSFORM_OFFSET_NONE; int [4]n; if (!parseList4(value, n)) return COLOR_TRANSFORM_OFFSET_NONE; foreach (ref item; n) { item = item / 2 + 0x80; if (item < 0) item = 0; if (item > 0xFF) item = 0xFF; } return (n[0] << 24) | (n[1] << 16) | (n[2] << 8) | (n[3] << 0); } private static uint colorTransformFromStringMult(string value) { if (value is null) return COLOR_TRANSFORM_MULTIPLY_NONE; float[4] n; uint[4] nn; if (!parseList4!float(value, n)) return COLOR_TRANSFORM_MULTIPLY_NONE; foreach(i; 0 .. 4) { int res = cast(int)(n[i] * 0x40); if (res < 0) res = 0; if (res > 0xFF) res = 0xFF; nn[i] = res; } return (nn[0] << 24) | (nn[1] << 16) | (nn[2] << 8) | (nn[3] << 0); } bool load(Element element) { foreach(item; element.elements) { if (item.tag.name.equal("item")) { string drawableId = attrValue(item, "drawable", "android:drawable"); if (drawableId.startsWith("@drawable/")) drawableId = drawableId[10 .. $]; ColorTransform transform; transform.addBefore = colorTransformFromStringAdd(attrValue(item, "color_transform_add1", "android:transform_color_add1")); transform.multiply = colorTransformFromStringMult(attrValue(item, "color_transform_mul", "android:transform_color_mul")); transform.addAfter = colorTransformFromStringAdd(attrValue(item, "color_transform_add2", "android:transform_color_add2")); if (drawableId !is null) { uint stateMask, stateValue; extractStateFlags(item.tag.attr, stateMask, stateValue); if (drawableId !is null) { addState(stateMask, stateValue, drawableId, transform); } } } } return _stateList.length > 0; } /// load from XML file bool load(string filename) { try { string s = cast(string)loadResourceBytes(filename); if (!s) { Log.e("Cannot read drawable resource from file ", filename); return false; } // Check for well-formedness //check(s); // Make a DOM tree auto doc = new Document(s); return load(doc); } catch (CheckException e) { Log.e("Invalid XML file ", filename); return false; } } override void drawTo(DrawBuf buf, Rect rc, uint state = 0, int tilex0 = 0, int tiley0 = 0) { foreach(ref item; _stateList) if (item.matchState(state)) { if (!item.drawable.isNull) { item.drawable.drawTo(buf, rc, state, tilex0, tiley0); } return; } } @property override int width() { return _size.x; } @property override int height() { return _size.y; } @property override Rect padding() { return _paddings; } } alias DrawableRef = Ref!Drawable; /// decoded raster images cache (png, jpeg) -- access by filenames class ImageCache { static class ImageCacheItem { string _filename; DrawBufRef _drawbuf; DrawBufRef[ColorTransform] _transformMap; bool _error; // flag to avoid loading of file if it has been failed once bool _used; this(string filename) { _filename = filename; } /// get normal image @property ref DrawBufRef get() { if (!_drawbuf.isNull || _error) { _used = true; return _drawbuf; } immutable ubyte[] data = loadResourceBytes(_filename); if (data) { _drawbuf = loadImage(data, _filename); if (_filename.endsWith(".9.png")) _drawbuf.detectNinePatch(); _used = true; } if (_drawbuf.isNull) _error = true; return _drawbuf; } /// get color transformed image @property ref DrawBufRef get(ref ColorTransform transform) { if (transform.empty) return get(); if (transform in _transformMap) return _transformMap[transform]; DrawBufRef src = get(); if (src.isNull) _transformMap[transform] = src; else { DrawBufRef t = src.transformColors(transform); _transformMap[transform] = t; } return _transformMap[transform]; } /// remove from memory, will cause reload on next access void compact() { if (!_drawbuf.isNull) _drawbuf.clear(); } /// mark as not used void checkpoint() { _used = false; } /// cleanup if unused since last checkpoint void cleanup() { if (!_used) compact(); } } ImageCacheItem[string] _map; /// get and cache image ref DrawBufRef get(string filename) { if (filename in _map) { return _map[filename].get; } ImageCacheItem item = new ImageCacheItem(filename); _map[filename] = item; return item.get; } /// get and cache color transformed image ref DrawBufRef get(string filename, ref ColorTransform transform) { if (transform.empty) return get(filename); if (filename in _map) { return _map[filename].get(transform); } ImageCacheItem item = new ImageCacheItem(filename); _map[filename] = item; return item.get(transform); } // clear usage flags for all entries void checkpoint() { foreach (item; _map) item.checkpoint(); } // removes entries not used after last call of checkpoint() or cleanup() void cleanup() { foreach (item; _map) item.cleanup(); } this() { debug Log.i("Creating ImageCache"); } ~this() { debug Log.i("Destroying ImageCache"); foreach (ref item; _map) { destroy(item); item = null; } _map.destroy(); } } __gshared ImageCache _imageCache; /// image cache singleton @property ImageCache imageCache() { return _imageCache; } /// image cache singleton @property void imageCache(ImageCache cache) { if (_imageCache !is null) destroy(_imageCache); _imageCache = cache; } __gshared DrawableCache _drawableCache; /// drawable cache singleton @property DrawableCache drawableCache() { return _drawableCache; } /// drawable cache singleton @property void drawableCache(DrawableCache cache) { if (_drawableCache !is null) destroy(_drawableCache); _drawableCache = cache; } shared static this() { _imageCache = new ImageCache(); _drawableCache = new DrawableCache(); } class DrawableCache { static class DrawableCacheItem { string _id; string _filename; bool _tiled; bool _error; bool _used; DrawableRef _drawable; DrawableRef[ColorTransform] _transformed; debug private static __gshared int _instanceCount; debug @property static int instanceCount() { return _instanceCount; } this(string id, string filename, bool tiled) { _id = id; _filename = filename; _tiled = tiled; _error = filename is null; debug ++_instanceCount; debug(resalloc) Log.d("Created DrawableCacheItem, count=", _instanceCount); } ~this() { _drawable.clear(); foreach(ref t; _transformed) t.clear(); _transformed.destroy(); debug --_instanceCount; debug(resalloc) Log.d("Destroyed DrawableCacheItem, count=", _instanceCount); } /// remove from memory, will cause reload on next access void compact() { if (!_drawable.isNull) _drawable.clear(); foreach(t; _transformed) t.clear(); _transformed.destroy(); } /// mark as not used void checkpoint() { _used = false; } /// cleanup if unused since last checkpoint void cleanup() { if (!_used) compact(); } /// returns drawable (loads from file if necessary) @property ref DrawableRef drawable() { _used = true; if (!_drawable.isNull || _error) return _drawable; if (_filename !is null) { // reload from file if (_filename.endsWith(".xml")) { // XML drawables support StateDrawable d = new StateDrawable(); if (!d.load(_filename)) { destroy(d); _error = true; } else { _drawable = d; } } else if (_filename.startsWith("#")) { // color reference #AARRGGBB, e.g. #5599AA, or FrameDrawable description string #frameColor,frameSize,#innerColor _drawable = createColorDrawable(_filename); } else { // PNG/JPEG drawables support DrawBufRef image = imageCache.get(_filename); if (!image.isNull) { bool ninePatch = _filename.endsWith(".9.png"); _drawable = new ImageDrawable(image, _tiled, ninePatch); } else _error = true; } } return _drawable; } /// returns drawable (loads from file if necessary) @property ref DrawableRef drawable(ref ColorTransform transform) { if (transform.empty) return drawable(); if (transform in _transformed) return _transformed[transform]; _used = true; if (!_drawable.isNull || _error) return _drawable; if (_filename !is null) { // reload from file if (_filename.endsWith(".xml") || _filename.endsWith(".XML")) { // XML drawables support StateDrawable d = new StateDrawable(); if (!d.load(_filename)) { Log.e("failed to load .xml drawable from ", _filename); destroy(d); _error = true; } else { Log.d("loaded .xml drawable from ", _filename); _drawable = d; } } else if (_filename.startsWith("#")) { // color reference #AARRGGBB, e.g. #5599AA, or FrameDrawable description string #frameColor,frameSize,#innerColor _drawable = createColorDrawable(_filename); } else { // PNG/JPEG drawables support DrawBufRef image = imageCache.get(_filename, transform); if (!image.isNull) { bool ninePatch = _filename.endsWith(".9.png") || _filename.endsWith(".9.PNG"); _transformed[transform] = new ImageDrawable(image, _tiled, ninePatch); return _transformed[transform]; } else { Log.e("failed to load image from ", _filename); _error = true; } } } return _drawable; } } void clear() { Log.d("DrawableCache.clear()"); _idToFileMap.destroy(); foreach(DrawableCacheItem item; _idToDrawableMap) item.drawable.clear(); _idToDrawableMap.destroy(); } // clear usage flags for all entries void checkpoint() { foreach (item; _idToDrawableMap) item.checkpoint(); } // removes entries not used after last call of checkpoint() or cleanup() void cleanup() { foreach (item; _idToDrawableMap) item.cleanup(); } string[] _resourcePaths; string[string] _idToFileMap; DrawableCacheItem[string] _idToDrawableMap; DrawableRef _nullDrawable; ref DrawableRef get(string id) { if (id.equal("@null")) return _nullDrawable; if (id in _idToDrawableMap) return _idToDrawableMap[id].drawable; string resourceId = id; bool tiled = false; if (id.endsWith(".tiled")) { resourceId = id[0..$-6]; // remove .tiled tiled = true; } string filename = findResource(resourceId); DrawableCacheItem item = new DrawableCacheItem(id, filename, tiled); _idToDrawableMap[id] = item; return item.drawable; } ref DrawableRef get(string id, ref ColorTransform transform) { if (transform.empty) return get(id); if (id.equal("@null")) return _nullDrawable; if (id in _idToDrawableMap) return _idToDrawableMap[id].drawable(transform); string resourceId = id; bool tiled = false; if (id.endsWith(".tiled")) { resourceId = id[0..$-6]; // remove .tiled tiled = true; } string filename = findResource(resourceId); DrawableCacheItem item = new DrawableCacheItem(id, filename, tiled); _idToDrawableMap[id] = item; return item.drawable(transform); } @property string[] resourcePaths() { return _resourcePaths; } /// set resource directory paths as variable number of parameters void setResourcePaths(string[] paths ...) { resourcePaths(paths); } /// set resource directory paths array (only existing dirs will be added) @property void resourcePaths(string[] paths) { string[] existingPaths; foreach(path; paths) { if (exists(path) && isDir(path)) { existingPaths ~= path; Log.d("DrawableCache: adding path ", path, " to resource dir list."); } else { Log.d("DrawableCache: path ", path, " does not exist."); } } _resourcePaths = existingPaths; clear(); } /// concatenates path with resource id and extension, returns pathname if there is such file, null if file does not exist private string checkFileName(string path, string id, string extension) { char[] fn = path.dup; fn ~= id; fn ~= extension; if (exists(fn) && isFile(fn)) return fn.dup; return null; } /// get resource file full pathname by resource id, null if not found string findResource(string id) { if (id.startsWith("#")) return id; // it's not a file name, just a color #AARRGGBB if (id in _idToFileMap) return _idToFileMap[id]; EmbeddedResource * embedded = embeddedResourceList.findAutoExtension(id); if (embedded) { string fn = EMBEDDED_RESOURCE_PREFIX ~ embedded.name; _idToFileMap[id] = fn; return fn; } foreach(string path; _resourcePaths) { string fn; fn = checkFileName(path, id, ".xml"); if (fn is null) fn = checkFileName(path, id, ".png"); if (fn is null) fn = checkFileName(path, id, ".9.png"); if (fn is null) fn = checkFileName(path, id, ".jpg"); if (fn !is null) { _idToFileMap[id] = fn; return fn; } } Log.w("resource ", id, " is not found"); return null; } /// get image (DrawBuf) from imageCache by resource id DrawBufRef getImage(string id) { DrawBufRef res; string fname = findResource(id); if (fname.endsWith(".png") || fname.endsWith(".jpg")) return imageCache.get(fname); return res; } this() { debug Log.i("Creating DrawableCache"); } ~this() { debug(resalloc) Log.e("Drawable instace count before destroying of DrawableCache: ", ImageDrawable.instanceCount); //Log.i("Destroying DrawableCache _idToDrawableMap.length=", _idToDrawableMap.length); Log.i("Destroying DrawableCache"); foreach (ref item; _idToDrawableMap) { destroy(item); item = null; } _idToDrawableMap.destroy(); debug if(ImageDrawable.instanceCount) Log.e("Drawable instace count after destroying of DrawableCache: ", ImageDrawable.instanceCount); } }
D
<?xml version="1.0" encoding="UTF-8"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="oneProfileApplied.notation#_LLO-QPVCEeKaxaN6QZe_iw"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
# FIXED LaunchPad.obj: C:/Users/Kyle//\ Maiorana/Desktop/tirslk_maze_1_00_01/tirslk_maze_1_00_00/inc/LaunchPad.c LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/msp.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/msp432p401r.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/stdint.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/cdefs.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_types.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_types.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_stdint.h LaunchPad.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_stdint.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/msp_compatibility.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/msp432p401r_classic.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/core_cm4.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/cmsis_compiler.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/cmsis_ccs.h LaunchPad.obj: C:/ti/ccs910/ccs/ccs_base/arm/include/system_msp432p401r.h C:/Users/Kyle//\ Maiorana/Desktop/tirslk_maze_1_00_01/tirslk_maze_1_00_00/inc/LaunchPad.c: C:/ti/ccs910/ccs/ccs_base/arm/include/msp.h: C:/ti/ccs910/ccs/ccs_base/arm/include/msp432p401r.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/stdint.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/cdefs.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_types.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_types.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/machine/_stdint.h: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/sys/_stdint.h: C:/ti/ccs910/ccs/ccs_base/arm/include/msp_compatibility.h: C:/ti/ccs910/ccs/ccs_base/arm/include/msp432p401r_classic.h: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/core_cm4.h: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/cmsis_compiler.h: C:/ti/ccs910/ccs/ccs_base/arm/include/CMSIS/cmsis_ccs.h: C:/ti/ccs910/ccs/ccs_base/arm/include/system_msp432p401r.h:
D
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/Interfaces.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/Interfaces~partial.swiftmodule : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/Interfaces~partial.swiftdoc : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/System.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /usr/share/swift/usr/lib/swift/linux/x86_64/Glibc.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIOConcurrencyHelpers.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/share/swift/usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/share/swift/usr/lib/swift/linux/x86_64/glibc.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOSHA1.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CCryptoOpenSSL.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOZlib.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIODarwin.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOHTTPParser.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOAtomics.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/CNIOLinux.build/module.modulemap /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio-zlib-support/module.modulemap
D
struct CC(JB, DC) { struct FC { JB HC; } alias RC = FC; static RC[] SC; struct TC { uint CD ; JB* HC() { return &SC[CD].HC; } alias HC this; } }
D
import std.stdio; import std.range; import std.algorithm; void main(){ //Given an array of strings, filter it so that only strings less than 4 characters remain //Hint: you can do str.length to get length of str string[] words = ["hi","greetings","bye","farewell","d", "dlang"]; auto result = words.filter!(x => x.length < 4);//Your code here -> Use a higher order function! writeln(result); } void answer(){ string[] words = ["hi","greetings","bye","farewell","d", "dlang"]; auto result = words.filter!(x => x.length < 4); writeln(result); }
D
/** * Common string functions including filename manipulation. * * Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/string.d, common/_string.d) * Documentation: https://dlang.org/phobos/dmd_common_string.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/string.d */ module dmd.common.string; nothrow: /** Defines a temporary array using a fixed-length buffer as back store. If the length of the buffer suffices, it is readily used. Otherwise, `malloc` is used to allocate memory for the array and `free` is used for deallocation in the destructor. This type is meant to use exclusively as an automatic variable. It is not default constructible or copyable. */ struct SmallBuffer(T) { import core.stdc.stdlib : malloc, free; private T[] _extent; private bool needsFree; nothrow: @disable this(); // no default ctor @disable this(ref const SmallBuffer!T); // noncopyable, nonassignable this(size_t len, T[] buffer) { if (len <= buffer.length) { _extent = buffer[0 .. len]; } else { _extent = (cast(typeof(_extent.ptr)) malloc(len * _extent[0].sizeof))[0 .. len]; _extent.ptr || assert(0, "Out of memory."); needsFree = true; } assert(this.length == len); } ~this() { if (needsFree) free(_extent.ptr); } void create(size_t len) { if (len <= _extent.length) { _extent = _extent[0 .. len]; } else { __dtor(); _extent = (cast(typeof(_extent.ptr)) malloc(len * _extent[0].sizeof))[0 .. len]; _extent.ptr || assert(0, "Out of memory."); needsFree = true; } assert(this.length == len); } // Force accesses to extent to be scoped. scope inout extent() { return _extent; } alias extent this; } /// ditto unittest { char[230] buf = void; auto a = SmallBuffer!char(10, buf); assert(a[] is buf[0 .. 10]); auto b = SmallBuffer!char(1000, buf); assert(b[] !is buf[]); b.create(1000); assert(b.length == 1000); assert(b[] !is buf[]); } /** Converts a zero-terminated C string to a D slice. Takes linear time and allocates no memory. Params: stringz = the C string to be converted Returns: a slice comprehending the string. The terminating 0 is not part of the slice. */ auto asDString(C)(C* stringz) pure @nogc nothrow { import core.stdc.string : strlen; return stringz[0 .. strlen(stringz)]; } /// unittest { const char* p = "123".ptr; assert(p.asDString == "123"); } /** (Windows only) Converts a narrow string to a wide string using `buffer` as strorage. Returns a slice managed by `buffer` containing the converted string. The terminating zero is not part of the returned slice, but is guaranteed to follow it. */ version(Windows) wchar[] toWStringz(const(char)[] narrow, ref SmallBuffer!wchar buffer) nothrow { import core.sys.windows.winnls : CP_ACP, MultiByteToWideChar; // assume filenames encoded in system default Windows ANSI code page enum CodePage = CP_ACP; if (narrow is null) return null; const requiredLength = MultiByteToWideChar(CodePage, 0, narrow.ptr, cast(int) narrow.length, buffer.ptr, cast(int) buffer.length); if (requiredLength < cast(int) buffer.length) { buffer[requiredLength] = 0; return buffer[0 .. requiredLength]; } buffer.create(requiredLength + 1); const length = MultiByteToWideChar(CodePage, 0, narrow.ptr, cast(int) narrow.length, buffer.ptr, requiredLength); assert(length == requiredLength); buffer[length] = 0; return buffer[0 .. length]; } /************************************** * Converts a path to one suitable to be passed to Win32 API * functions that can deal with paths longer than 248 * characters then calls the supplied function on it. * * Params: * path = The Path to call F on. * * Returns: * The result of calling F on path. * * References: * https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx */ version(Windows) auto extendedPathThen(alias F)(const(char)[] path) { import core.sys.windows.winbase; import core.sys.windows.winnt; if (!path.length) return F((wchar[]).init); wchar[1024] buf = void; auto store = SmallBuffer!wchar(buf.length, buf); auto wpath = toWStringz(path, store); // GetFullPathNameW expects a sized buffer to store the result in. Since we don't // know how large it has to be, we pass in null and get the needed buffer length // as the return code. const pathLength = GetFullPathNameW(&wpath[0], 0 /*length8*/, null /*output buffer*/, null /*filePartBuffer*/); if (pathLength == 0) { return F((wchar[]).init); } // wpath is the UTF16 version of path, but to be able to use // extended paths, we need to prefix with `\\?\` and the absolute // path. static immutable prefix = `\\?\`w; // prefix only needed for long names and non-UNC names const needsPrefix = pathLength >= MAX_PATH && (wpath[0] != '\\' || wpath[1] != '\\'); const prefixLength = needsPrefix ? prefix.length : 0; // +1 for the null terminator const bufferLength = pathLength + prefixLength + 1; wchar[1024] absBuf = void; auto absPath = SmallBuffer!wchar(bufferLength, absBuf); absPath[0 .. prefixLength] = prefix[0 .. prefixLength]; const absPathRet = GetFullPathNameW(&wpath[0], cast(uint)(absPath.length - prefixLength - 1), &absPath[prefixLength], null /*filePartBuffer*/); if (absPathRet == 0 || absPathRet > absPath.length - prefixLength) { return F((wchar[]).init); } absPath[$ - 1] = '\0'; // Strip null terminator from the slice return F(absPath[0 .. $ - 1]); }
D
/Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/HTTPMethod.o : /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/WeatherTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/WeatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/HTTPMethod~partial.swiftmodule : /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/WeatherTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/WeatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/HTTPMethod~partial.swiftdoc : /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AlamofireExtended.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPMethod.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/OperationQueue+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Result+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLRequest+Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Alamofire.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Response.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/SessionDelegate.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoding.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Session.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Validation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ServerTrustEvaluation.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ResponseSerialization.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestTaskMap.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/URLEncodedFormEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/ParameterEncoder.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/CachedResponseHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RedirectHandler.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/AFError.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Protector.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/EventMonitor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RequestInterceptor.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Notifications.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/HTTPHeaders.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/Request.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/RetryPolicy.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/WeatherTask/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/MohamedNawar/Desktop/WeatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * DSSS command "build" * * Authors: * Gregor Richards * * License: * Copyright (c) 2006, 2007 Gregor Richards * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ module sss.build; import std.file; import std.process; import std.stdio; import std.array; import std.string; import std.c.stdlib; import hcf.path; import hcf.process; import sss.conf; import sss.system; /** The entry function to the DSSS "build" command */ int build(string[] buildElems, DSSSConf conf = null, string forceFlags = "") { // get the configuration if (conf is null) conf = readConfig(buildElems); // buildElems are by either soure or target, so we need one by source only string[] buildSources; // get the sources buildSources = sourcesByElems(buildElems, conf); // also get a complete list, since some steps need it string[] allSources = sourcesByElems(null, conf); /* building is fairly complicated, involves these steps: * 1) Make .di files * (so that you link against your own libraries) * 2) Make fake shared libraries * (they need to exist so that other libraries can link against them) * 3) Make real shared libraries * 4) Make binaries */ // make the basic build line string bl = dsss_build ~ forceFlags ~ " "; // add -oq if we don't have such a setting if (indexOf(forceFlags, "-o") == -1) { mkdirP("dsss_objs" ~ std.path.sep ~ compilerShort()); bl ~= "-oqdsss_objs" ~ std.path.sep ~ compilerShort() ~ " "; } // 1) Make .di files for everything foreach (build; allSources) { string[string] settings = conf.settings[build]; // basic info string type = settings["type"]; string target = settings["target"]; if (type == "library" && libsSafe()) { writefln("Creating imports for %s", target); // do the predigen if ("predigen" in settings) { dsssScriptedStep(conf, settings["predigen"]); } // this is a library, so make .di files string[] srcFiles = targetToFiles(build, conf); // generate .di files foreach (file; srcFiles) { string ifile = "dsss_imports" ~ std.path.sep ~ file ~ "i"; if (!exists(ifile) || fileNewer(file, ifile)) { /* BIG FAT NOTE slash FIXME: * .di files do NOT include interfaces! So, we need to just * cast .d files as .di until that's fixed */ mkdirP(getDirName(ifile)); // now edit the .di file to reference the appropriate library // usname = name_with_underscores string usname = replace(build, std.path.sep, "_"); // if we aren't building a debug library, the debug conditional will fall through string debugPrefix = null; if (buildDebug) debugPrefix = "debug-"; /* generate the pragmas (FIXME: this should be done in a * nicer way) */ string defaultLibName = libraryName(build); if (defaultLibName == target) { std.file.write(ifile, std.file.read(file) ~ ` version (build) { debug { version (GNU) { pragma(link, "` ~ debugPrefix ~ `DG` ~ target[2..$] ~ `"); } else version (DigitalMars) { pragma(link, "` ~ debugPrefix ~ `DD` ~ target[2..$] ~ `"); } else { pragma(link, "` ~ debugPrefix ~ `DO` ~ target[2..$] ~ `"); } } else { version (GNU) { pragma(link, "DG` ~ target[2..$] ~ `"); } else version (DigitalMars) { pragma(link, "DD` ~ target[2..$] ~ `"); } else { pragma(link, "DO` ~ target[2..$] ~ `"); } } } `); } else { std.file.write(ifile, std.file.read(file) ~ ` version (build) { debug { pragma(link, "` ~ debugPrefix ~ target ~ `"); } else { pragma(link, "` ~ target ~ `"); } } `); } } } // do the postdigen if ("postdigen" in settings) { dsssScriptedStep(conf, settings["postdigen"]); } writefln(""); } } // 2) Make fake shared libraries writeln("shared libs"); if (shLibSupport()) { foreach (build; allSources) { string[string] settings = conf.settings[build]; // ignore this if we're not building a shared library if (!("shared" in settings)) continue; // basic info string type = settings["type"]; string target = settings["target"]; if (type == "library" && libsSafe()) { string shlibname = getShLibName(settings); string[] shortshlibnames = getShortShLibNames(settings); string shlibflag = getShLibFlag(settings); if (exists(shlibname)) continue; writefln("Building stub shared library for %s", target); // make the stub if (targetGNUOrPosix()) { string stubbl = bl ~ "-fPIC -shlib " ~ stubDLoc ~ " -of" ~ shlibname ~ " " ~ shlibflag; vSaySystemRDie(stubbl, "-rf", shlibname ~ "_stub.rf", deleteRFiles); if (targetVersion("Posix")) { foreach (ssln; shortshlibnames) { vSaySystemDie("ln -sf " ~ shlibname ~ " " ~ ssln); } } } else { assert(0); } writefln(""); } } } string docbl = ""; /// A function to prepare for creating documentation for this build void prepareDocs(string build, bool doc) { // prepare for documentation docbl = ""; if (doc) { string docdir = "dsss_docs" ~ std.path.sep ~ build; mkdirP(docdir); docbl ~= "-full -Dq" ~ docdir ~ " -candydoc "; // now extract candydoc there string origcwd = getcwd(); chdir(docdir); version (Windows) { vSayAndSystem("bsdtar -xf " ~ candyDocPrefix); } else { vSayAndSystem("gunzip -c " ~ candyDocPrefix ~ " | tar -xf -"); } chdir(origcwd); } } // 3) Make real libraries and do special steps and subdirs writeln("make real libraries"); foreach (build; buildSources) { string[string] settings = conf.settings[build]; // basic info string type = settings["type"]; string target = settings["target"]; if (type == "library" || type == "sourcelibrary") { string dotname = replace(build, std.path.sep, "."); // get the list of files string[] files = targetToFiles(build, conf); // and other necessary data string bflags, debugflags, releaseflags; if ("buildflags" in settings) { bflags = settings["buildflags"] ~ " "; } if ("debugflags" in settings) { debugflags = settings["debugflags"] ~ " "; } else { debugflags = "-debug -gc "; } if ("releaseflags" in settings) { releaseflags = settings["releaseflags"] ~ " "; } // output what we're building writefln("%s => %s", build, target); if (files.length == 0) { writefln("WARNING: Section %s has no files.", build); continue; } // prepare to do documentation prepareDocs(build, doDocs); // do the prebuild if ("prebuild" in settings) { dsssScriptedStep(conf, settings["prebuild"]); } // get the file list string fileList = std.string.join(targetToFiles(build, conf), " "); // if we should, build the library if ((type == "library" && libsSafe()) || doDocs /* need to build the library to get docs */ || testLibs /* need to build the ilbrary to test it */) { writeln("buildlibrary called"); if (buildDebug) { buildLibrary("debug-" ~ target, bl, bflags ~ debugflags, docbl, fileList, settings); } buildLibrary(target, bl, bflags ~ releaseflags, docbl, fileList, settings); } // do the postbuild if ("postbuild" in settings) { dsssScriptedStep(conf, settings["postbuild"]); } // an extra line for clarity writefln(""); } else if (type == "special") { // special type, do pre/post writefln("%s", target); if ("prebuild" in settings) { dsssScriptedStep(conf, settings["prebuild"]); } if ("postbuild" in settings) { dsssScriptedStep(conf, settings["postbuild"]); } writefln(""); } else if (type == "subdir") { // recurse string origcwd = getcwd(); chdir(build); // the one thing that's passed in is build flags string orig_dsss_build = dsss_build; if ("buildflags" in settings) { dsss_build ~= settings["buildflags"] ~ " "; } int buildret = sss.build.build(null); chdir(origcwd); dsss_build = orig_dsss_build; } } // 4) Binaries writeln("binaries"); foreach (build; buildSources) { string[string] settings = conf.settings[build]; // basic info string bfile = build; string type = settings["type"]; string target = settings["target"]; sizediff_t bfileplus = indexOf(bfile, '+'); if (bfileplus != -1) { bfile = bfile[0..bfileplus]; } if (type == "binary") { // our binary build line string bflags; if ("buildflags" in settings) { bflags = settings["buildflags"]; } if (buildDebug) { if ("debugflags" in settings) { bflags ~= " " ~ settings["debugflags"]; } else { bflags ~= " -debug -gc"; } } else { if ("releaseflags" in settings) { bflags ~= " " ~ settings["releaseflags"]; } } string bbl = bl ~ bflags ~ " "; // output what we're building writefln("%s => %s", bfile, target); // prepare for documentation prepareDocs(build, doDocs && doDocBinaries); bbl ~= docbl; // do the prebuild if ("prebuild" in settings) { dsssScriptedStep(conf, settings["prebuild"]); } // build a build line string ext = std.string.tolower(getExt(bfile)); if (ext == "d") { bbl ~= bfile ~ " -of" ~ target ~ " "; } else if (ext == "brf") { bbl ~= "@" ~ getName(bfile) ~ " "; } else { writefln("ERROR: I don't know how to build something with extension %s", ext); return 1; } // then do it vSaySystemRDie(bbl, "-rf", target ~ ".rf", deleteRFiles); // do the postbuild if ("postbuild" in settings) { dsssScriptedStep(conf, settings["postbuild"]); } // an extra line for clarity writefln(""); } writeln("binaries done"); } return 0; } /** * Helper function to build libraries * * Params: * target = target file name (minus platform-specific parts) * bl = the base build line * bflags = build flags * docbl = build flags for documentation ("" for no docs) * fileList = list of files to be compiled into the library * settings = settings for this section from DSSSConf */ void buildLibrary(string target, string bl, string bflags, string docbl, string fileList, string[string] settings) { string shlibname = getShLibName(settings); string[] shortshlibnames = getShortShLibNames(settings); string shlibflag = getShLibFlag(settings); if (targetGNUOrPosix()) { // first do a static library if (exists("lib" ~ target ~ ".a")) std.file.remove("lib" ~ target ~ ".a"); string stbl = bl ~ docbl ~ bflags ~ " -explicit -lib " ~ fileList ~ " -oflib" ~ target ~ ".a"; if (testLibs || (shLibSupport() && ("shared" in settings))) stbl ~= " -full"; vSaySystemRDie(stbl, "-rf", target ~ "_static.rf", deleteRFiles); // perhaps test the static library if (testLibs) { writefln("Testing %s", target); string tbl = bl ~ bflags ~ " -unittest -full " ~ fileList ~ " " ~ dsssLibTestDPrefix ~ " -oftest_" ~ target; vSaySystemRDie(tbl, "-rf", target ~ "_test.rf", deleteRFiles); vSaySystemDie("./test_" ~ target); } if (shLibSupport() && ("shared" in settings)) { // then make the shared library if (exists(shlibname)) std.file.remove(shlibname); string shbl = bl ~ bflags ~ " -fPIC -explicit -shlib -full " ~ fileList ~ " -of" ~ shlibname ~ " " ~ shlibflag; // finally, the shared compile vSaySystemRDie(shbl, "-rf", target ~ "_shared.rf", deleteRFiles); } } else if (targetVersion("Windows")) { // for the moment, only do a static library if (exists(target ~ ".lib")) std.file.remove(target ~ ".lib"); string stbl = bl ~ docbl ~ bflags ~ " -explicit -lib " ~ fileList ~ " -of" ~ target ~ ".lib"; if (testLibs) stbl ~= " -full"; vSaySystemRDie(stbl, "-rf", target ~ "_static.rf", deleteRFiles); // perhaps test the static library if (testLibs) { writefln("Testing %s", target); string tbl = bl ~ bflags ~ " -unittest -full " ~ fileList ~ " " ~ dsssLibTestDPrefix ~ " -oftest_" ~ target ~ ".exe"; vSaySystemRDie(tbl, "-rf", target ~ "_test.rf", deleteRFiles); vSaySystemDie("test_" ~ target ~ ".exe"); } } else { assert(0); } }
D
/Users/meiting/Desktop/Recipe/Recipe/Build/Intermediates.noindex/Recipe.build/Debug-iphonesimulator/Recipe.build/Objects-normal/x86_64/Recipe+CoreDataClass.o : /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/ModelData.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Persistence.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeEditPage.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/Profile.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/UserHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/DiscoverHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeModel.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/RecipeApp.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeDetails.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/ContentView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeListView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeCategory.swift /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/meiting/Desktop/Recipe/Recipe/Build/Intermediates.noindex/Recipe.build/Debug-iphonesimulator/Recipe.build/Objects-normal/x86_64/Recipe+CoreDataClass~partial.swiftmodule : /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/ModelData.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Persistence.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeEditPage.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/Profile.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/UserHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/DiscoverHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeModel.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/RecipeApp.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeDetails.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/ContentView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeListView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeCategory.swift /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/meiting/Desktop/Recipe/Recipe/Build/Intermediates.noindex/Recipe.build/Debug-iphonesimulator/Recipe.build/Objects-normal/x86_64/Recipe+CoreDataClass~partial.swiftdoc : /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/ModelData.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Persistence.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeEditPage.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/Profile.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/UserHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/DiscoverHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeModel.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/RecipeApp.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeDetails.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/ContentView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeListView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeCategory.swift /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/meiting/Desktop/Recipe/Recipe/Build/Intermediates.noindex/Recipe.build/Debug-iphonesimulator/Recipe.build/Objects-normal/x86_64/Recipe+CoreDataClass~partial.swiftsourceinfo : /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/ModelData.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Persistence.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeEditPage.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/Profile.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/UserHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/DiscoverHome.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeModel.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryItem.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/RecipeApp.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataProperties.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeDetails.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Ingredient+CoreDataClass.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/ContentView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Recipe/RecipeListView.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/TopItem/TopItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/NewItem/NewItemRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Views/Category/CategoryRow.swift /Users/meiting/Desktop/Recipe/Recipe/Recipe/Model/RecipeCategory.swift /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module ui.outputpanel; import dlangui; import dlangide.ui.frame; import std.utf; import std.regex; import std.algorithm : startsWith; import std.string; /// event listener to navigate by error/warning position interface CompilerLogIssueClickHandler { bool onCompilerLogIssueClick(dstring filename, int line, int column); } /// Log widget with parsing of compiler output class CompilerLogWidget : LogWidget { Signal!CompilerLogIssueClickHandler compilerLogIssueClickHandler; auto ctr = ctRegex!(r"(.+)\((\d+)\): (Error|Warning|Deprecation): (.+)"d); /// forward to super c'tor this(string ID) { super(ID); } protected uint _filenameColor = 0x0000C0; protected uint _errorColor = 0xFF0000; protected uint _warningColor = 0x606000; protected uint _deprecationColor = 0x802040; /// handle theme change: e.g. reload some themed resources override void onThemeChanged() { _filenameColor = style.customColor("build_log_filename_color", 0x0000C0); _errorColor = style.customColor("build_log_error_color", 0xFF0000); _warningColor = style.customColor("build_log_warning_color", 0x606000); _deprecationColor = style.customColor("build_log_deprecation_color", 0x802040); super.onThemeChanged(); } /** Custom text color and style highlight (using text highlight) support. Return null if no syntax highlight required for line. */ override protected CustomCharProps[] handleCustomLineHighlight(int line, dstring txt, ref CustomCharProps[] buf) { auto match = matchFirst(txt, ctr); uint defColor = textColor; uint flags = 0; if(!match.empty) { if (buf.length < txt.length) buf.length = txt.length; CustomCharProps[] colors = buf[0..txt.length]; uint cl = _filenameColor; flags = TextFlag.Underline; for (int i = 0; i < txt.length; i++) { dstring rest = txt[i..$]; if (rest.startsWith(" Error"d)) { cl = _errorColor; flags = 0; } else if (rest.startsWith(" Warning"d)) { cl = _warningColor; flags = 0; } else if (rest.startsWith(" Deprecation"d)) { cl = _deprecationColor; flags = 0; } colors[i].color = cl; colors[i].textFlags = flags; } return colors; } else if (txt.startsWith("Building ")) { CustomCharProps[] colors = new CustomCharProps[txt.length]; uint cl = defColor; for (int i = 0; i < txt.length; i++) { dstring rest = txt[i..$]; if (i == 9) { cl = _filenameColor; flags = TextFlag.Underline; } else if (rest.startsWith(" configuration"d)) { cl = defColor; flags = 0; } colors[i].color = cl; colors[i].textFlags = flags; } return colors; } return null; } /// override bool onMouseEvent(MouseEvent event) { if (event.action == MouseAction.ButtonDown && event.button == MouseButton.Left) { super.onMouseEvent(event); auto logLine = this.content.line(this._caretPos.line); //src\tetris.d(49): Error: found 'return' when expecting ';' following statement auto match = matchFirst(logLine, ctr); if(!match.empty) { if (compilerLogIssueClickHandler.assigned) { import std.conv:to; compilerLogIssueClickHandler(match[1], to!int(match[2]), 0); } } return true; } return super.onMouseEvent(event); } } /// class OutputPanel : DockWindow { Signal!CompilerLogIssueClickHandler compilerLogIssueClickHandler; protected CompilerLogWidget _logWidget; TabWidget _tabs; @property TabWidget getTabs() { return _tabs;} this(string id) { _showCloseButton = false; dockAlignment = DockAlignment.Bottom; super(id); } override protected Widget createBodyWidget() { layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); _tabs = new TabWidget("OutputPanelTabs", Align.Bottom); //_tabs.setStyles(STYLE_DOCK_HOST_BODY, STYLE_TAB_UP_DARK, STYLE_TAB_UP_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT); _tabs.setStyles(null, STYLE_TAB_DOWN_DARK, STYLE_TAB_DOWN_BUTTON_DARK, STYLE_TAB_UP_BUTTON_DARK_TEXT); _tabs.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); _tabs.tabHost.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); _logWidget = new CompilerLogWidget("logwidget"); _logWidget.readOnly = true; _logWidget.layoutWidth(FILL_PARENT).layoutHeight(FILL_PARENT); _logWidget.compilerLogIssueClickHandler = &onIssueClick; //_tabs.tabHost.styleId = STYLE_DOCK_WINDOW_BODY; _tabs.addTab(_logWidget, "Compiler Log"d); _tabs.selectTab("logwidget"); return _tabs; } override protected void init() { //styleId = STYLE_DOCK_WINDOW; styleId = null; _bodyWidget = createBodyWidget(); //_bodyWidget.styleId = STYLE_DOCK_WINDOW_BODY; addChild(_bodyWidget); } //TODO: Refactor OutputPanel to expose CompilerLogWidget void appendText(string category, dstring msg) { _logWidget.appendText(msg); } void logLine(string category, dstring msg) { appendText(category, msg ~ "\n"); } void logLine(dstring msg) { logLine(null, msg); } void logLine(string category, string msg) { appendText(category, toUTF32(msg ~ "\n")); } void logLine(string msg) { logLine(null, msg); } void clear(string category = null) { _logWidget.text = ""d; } private bool onIssueClick(dstring fn, int line, int column) { if (compilerLogIssueClickHandler.assigned) { compilerLogIssueClickHandler(fn, line, column); } return true; } }
D
module dhe.graphics.compoundimage; import derelict.sdl.sdl; import dhe.graphics.image; class CompoundImage { Image child; void draw(short x, short y, SDL_Surface *source, SDL_Surface *destination) { SDL_Rect offset; offset.x = x; offset.y = y; SDL_BlitSurface(source, null, destination, &offset); } }
D
/++ $(H2 Scriptlike $(SCRIPTLIKE_VERSION)) Extra Scriptlike-only functionality to complement and wrap $(MODULE_STD_PATH), providing extra functionality, such as no-fail "try*" alternatives, and support for Scriptlike's $(API_PATH_EXTR Path), command echoing and dry-run features. Modules: $(UL $(LI $(MODULE_PATH_EXTR) ) $(LI $(MODULE_PATH_WRAP) ) ) Copyright: Copyright (C) 2014-2015 Nick Sabalausky License: zlib/libpng Authors: Nick Sabalausky +/ module scriptlike.path; public import scriptlike.path.extras; public import scriptlike.path.wrappers; // The unittests in this module mainly check that all the templates compile // correctly and that the appropriate Phobos functions are correctly called. // // A completely thorough testing of the behavior of such functions is // occasionally left to Phobos itself as it is outside the scope of these tests. version(unittest_scriptlike_d) unittest { import std.algorithm; import std.conv; import std.datetime; import std.file; import std.process; import std.range; import std.stdio; import std.string; import std.traits; import std.typecons; import std.typetuple; import std.stdio : writeln; writeln("Running Scriptlike unittests: std.path wrappers"); alias dirSep = dirSeparator; { auto e = Ext(".txt"); assert(e != Ext(".dat")); assert(e == Ext(".txt")); version(Windows) assert(e == Ext(".TXT")); else version(OSX) assert(e == Ext(".TXT")); else version(Posix) assert(e != Ext(".TXT")); else static assert(0, "This platform not supported."); // Test the other comparison overloads assert(e != Ext(".dat")); assert(e == Ext(".txt")); assert(Ext(".dat") != e); assert(Ext(".txt") == e); assert(".dat" != e); assert(".txt" == e); assert(Ext("foo")); assert(Ext("")); assert(Ext(null).toRawString() is null); assert(!Ext(null)); } auto p = Path(); assert(p.toRawString() == "."); assert(!p.empty); assert(Path("").empty); assert(Path("foo")); assert(Path("")); assert(Path(null).toRawString() is null); assert(!Path(null)); version(Windows) auto testStrings = ["/foo/bar", "/foo/bar/", `\foo\bar`, `\foo\bar\`]; else version(Posix) auto testStrings = ["/foo/bar", "/foo/bar/"]; else static assert(0, "This platform not supported."); foreach(str; testStrings) { writeln(" testing str: ", str); p = Path(str); assert(!p.empty); assert(p.toRawString() == dirSep~"foo"~dirSep~"bar"); p = Path(str); assert(p.toRawString() == dirSep~"foo"~dirSep~"bar"); assert(p.toRawString() == p.toRawString()); assert(p.toString() == p.toRawString().to!string()); assert(p.up.toString() == dirSep~"foo"); assert(p.up.up.toString() == dirSep); assert((p~"sub").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"sub"); assert((p~"sub"~"2").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"sub"~dirSep~"2"); assert((p~Path("sub")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"sub"); version(Windows) assert((p~"sub dir").toString() == `"`~dirSep~"foo"~dirSep~"bar"~dirSep~"sub dir"~`"`); else version(Posix) assert((p~"sub dir").toString() == `'`~dirSep~"foo"~dirSep~"bar"~dirSep~`sub dir'`); else static assert(0, "This platform not supported."); assert(("dir"~p).toString() == dirSep~"foo"~dirSep~"bar"); assert(("dir"~Path(str[1..$])).toString() == "dir"~dirSep~"foo"~dirSep~"bar"); p ~= "blah"; assert(p.toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"blah"); p ~= Path("more"); assert(p.toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"blah"~dirSep~"more"); p ~= ".."; assert(p.toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"blah"); p ~= Path(".."); assert(p.toString() == dirSep~"foo"~dirSep~"bar"); p ~= "sub dir"; p ~= ".."; assert(p.toString() == dirSep~"foo"~dirSep~"bar"); p ~= "filename"; assert((p~Ext(".txt")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert((p~Ext("txt")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert((p~Ext("")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename"); p ~= Ext(".ext"); assert(p.toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(p.baseName().toString() == "filename.ext"); assert(p.dirName().toString() == dirSep~"foo"~dirSep~"bar"); assert(p.rootName().toString() == dirSep); assert(p.driveName().toString() == ""); assert(p.stripDrive().toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); version(Windows) { assert(( Path("C:"~p.toRawString()) ).toString() == "C:"~dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(( Path("C:"~p.toRawString()) ).stripDrive().toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); } assert(p.extension().toString() == ".ext"); assert(p.stripExtension().toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename"); assert(p.setExtension(".txt").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert(p.setExtension("txt").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert(p.setExtension("").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename"); assert(p.setExtension(Ext(".txt")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert(p.setExtension(Ext("txt")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.txt"); assert(p.setExtension(Ext("")).toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename"); assert(p.defaultExtension(".dat").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(p.stripExtension().defaultExtension(".dat").toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.dat"); assert(equal(p.pathSplitter(), [dirSep, "foo", "bar", "filename.ext"])); assert(p.isRooted()); version(Windows) assert(!p.isAbsolute()); else version(Posix) assert(p.isAbsolute()); else static assert(0, "This platform not supported."); assert(!( Path("dir"~p.toRawString()) ).isRooted()); assert(!( Path("dir"~p.toRawString()) ).isAbsolute()); version(Windows) { assert(( Path("dir"~p.toRawString()) ).absolutePath("C:/main").toString() == "C:"~dirSep~"main"~dirSep~"dir"~dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(( Path("C:"~p.toRawString()) ).relativePath("C:/foo").toString() == "bar"~dirSep~"filename.ext"); assert(( Path("C:"~p.toRawString()) ).relativePath("C:/foo/bar").toString() == "filename.ext"); } else version(Posix) { assert(( Path("dir"~p.toRawString()) ).absolutePath("/main").toString() == dirSep~"main"~dirSep~"dir"~dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(p.relativePath("/foo").toString() == "bar"~dirSep~"filename.ext"); assert(p.relativePath("/foo/bar").toString() == "filename.ext"); } else static assert(0, "This platform not supported."); assert(p.filenameCmp(dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext") == 0); assert(p.filenameCmp(dirSep~"faa"~dirSep~"bat"~dirSep~"filename.ext") != 0); assert(p.globMatch("*foo*name.ext")); assert(!p.globMatch("*foo*Bname.ext")); assert(!p.isValidFilename()); assert(p.baseName().isValidFilename()); assert(p.isValidPath()); assert(p.expandTilde().toString() == dirSep~"foo"~dirSep~"bar"~dirSep~"filename.ext"); assert(p != Path("/dir/subdir/filename.ext")); assert(p == Path("/foo/bar/filename.ext")); version(Windows) assert(p == Path("/FOO/BAR/FILENAME.EXT")); else version(OSX) assert(p == Path("/FOO/BAR/FILENAME.EXT")); else version(Posix) assert(p != Path("/FOO/BAR/FILENAME.EXT")); else static assert(0, "This platform not supported."); // Test the other comparison overloads assert(p != Path("/dir/subdir/filename.ext")); assert(p == Path("/foo/bar/filename.ext")); assert(Path("/dir/subdir/filename.ext") != p); assert(Path("/foo/bar/filename.ext") == p); assert("/dir/subdir/filename.ext" != p); assert("/foo/bar/filename.ext" == p); } }
D
the incineration of a dead body
D
/** * Copyright: Copyright Digital Mars 2010. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Jacob Carlborg * Version: Initial created: Mar 16, 2010 */ /* Copyright Digital Mars 2010. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module core.sys.osx.mach.getsect; version (OSX): extern (C): public import core.sys.osx.mach.loader; const(section)* getsectbynamefromheader(in mach_header* mhp, in char* segname, in char* sectname); const(section_64)* getsectbynamefromheader_64(in mach_header_64* mhp, in char* segname, in char* sectname);
D
/Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/Objects-normal/x86_64/SearchVideoDuration.o : /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ResourceID.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeDataAPI.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoSyndicated.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Localized.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/HTTPMethod.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchSafeMode.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoEmbeddable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/QueryParameterable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requestable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchResourceType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchEventType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoLicense.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayerDelegate.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/MyRating.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Thumbnail.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDimension.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/ApiSession.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDuration.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDefinition.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoCaption.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PageInfo.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/ResultOrder.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Filter.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayer.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/ResponseError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/RequestError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Statistics.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ContentDetails.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/RequestableExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/BoolExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/DictionaryExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyConstants.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentModerationStatus.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentTextFormat.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Snippet.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeKit.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/Result.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Part.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityInsertRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SearchListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CaptionListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentThreadsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nLanguagesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/GuideCategoriesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistItemsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nRegionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelSectionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SubscriptionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoAbuseReportReasonsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoCategoryListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SearchList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CaptionList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentThreadsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nLanguagesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/GuideCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistItemsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nRegionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelSectionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SubscriptionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoAbuseReportReasonsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ActivityList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/VideoCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/radibarq/developer/NasaInArabic/Pods/Target\ Support\ Files/YoutubeKit/YoutubeKit-umbrella.h /Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/Objects-normal/x86_64/SearchVideoDuration~partial.swiftmodule : /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ResourceID.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeDataAPI.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoSyndicated.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Localized.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/HTTPMethod.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchSafeMode.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoEmbeddable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/QueryParameterable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requestable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchResourceType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchEventType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoLicense.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayerDelegate.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/MyRating.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Thumbnail.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDimension.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/ApiSession.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDuration.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDefinition.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoCaption.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PageInfo.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/ResultOrder.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Filter.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayer.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/ResponseError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/RequestError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Statistics.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ContentDetails.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/RequestableExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/BoolExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/DictionaryExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyConstants.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentModerationStatus.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentTextFormat.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Snippet.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeKit.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/Result.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Part.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityInsertRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SearchListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CaptionListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentThreadsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nLanguagesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/GuideCategoriesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistItemsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nRegionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelSectionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SubscriptionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoAbuseReportReasonsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoCategoryListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SearchList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CaptionList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentThreadsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nLanguagesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/GuideCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistItemsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nRegionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelSectionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SubscriptionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoAbuseReportReasonsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ActivityList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/VideoCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/radibarq/developer/NasaInArabic/Pods/Target\ Support\ Files/YoutubeKit/YoutubeKit-umbrella.h /Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/Objects-normal/x86_64/SearchVideoDuration~partial.swiftdoc : /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ResourceID.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeDataAPI.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoSyndicated.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Localized.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/HTTPMethod.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchSafeMode.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoEmbeddable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/QueryParameterable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requestable.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchResourceType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchEventType.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoLicense.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayerDelegate.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/MyRating.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Thumbnail.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDimension.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/ApiSession.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDuration.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoDefinition.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/SearchVideoCaption.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PageInfo.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/ResultOrder.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Filter.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyPlayer.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/ResponseError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Error/RequestError.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Statistics.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ContentDetails.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/RequestableExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/BoolExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Extensions/DictionaryExtensions.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Player/YTSwiftyConstants.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentModerationStatus.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/CommentTextFormat.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/Snippet.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeKit.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/Common/Result.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/Part.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityInsertRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SearchListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CaptionListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentThreadsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nLanguagesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/GuideCategoriesListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistItemsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/I18nRegionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ChannelSectionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/SubscriptionsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoAbuseReportReasonsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/PlaylistsListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/CommentListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/VideoCategoryListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Requests/ActivityListRequest.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SearchList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CaptionList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentThreadsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nLanguagesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/GuideCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoCategoriesList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistItemsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/I18nRegionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ChannelSectionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/SubscriptionsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/VideoAbuseReportReasonsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/PlaylistsList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/CommentList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ActivityList.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Constants/VideoCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/radibarq/developer/NasaInArabic/Pods/Target\ Support\ Files/YoutubeKit/YoutubeKit-umbrella.h /Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
INSTANCE Info_Mod_Den_Hi (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Hi_Condition; information = Info_Mod_Den_Hi_Info; permanent = 0; important = 0; description = "Wer bist du?"; }; FUNC INT Info_Mod_Den_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Den_Hi_Info() { B_Say (hero, self, "$WHOAREYOU"); AI_Output(self, hero, "Info_Mod_Den_Hi_01_01"); //Ich bin Den, Stadtwache von Khorinis. }; INSTANCE Info_Mod_Den_Stadtwache (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Stadtwache_Condition; information = Info_Mod_Den_Stadtwache_Info; permanent = 0; important = 0; description = "Du bist also bei der Stadtwache?"; }; FUNC INT Info_Mod_Den_Stadtwache_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Hi)) { return 1; }; }; FUNC VOID Info_Mod_Den_Stadtwache_Info() { AI_Output(hero, self, "Info_Mod_Den_Stadtwache_15_00"); //Du bist also bei der Stadtwache? AI_Output(self, hero, "Info_Mod_Den_Stadtwache_01_01"); //He, warum der vorwurfsvolle Unterton? AI_Output(hero, self, "Info_Mod_Den_Stadtwache_15_02"); //Welcher vorwurfsvolle Unterton? AI_Output(self, hero, "Info_Mod_Den_Stadtwache_01_03"); //Meinst wohl, das höre ich nicht? Aber wir sind gar nicht alle so schlimm bei der Miliz, nur die wenigsten arbeiten mit der Diebesgilde zusammen und mit den Diebstählen vor drei Tagen habe ich nicht das geringste zu tun! AI_Output(hero, self, "Info_Mod_Den_Stadtwache_15_04"); //Na, dann brauchst du ja keine Angst vor meinen Fragen zu haben. AI_Output(self, hero, "Info_Mod_Den_Stadtwache_01_05"); //Ich will mir bloß nichts anhängen lassen! Meine Methoden sind absolut sauber und ich habe mir in meiner knapp dreijährigen Dienstzeit noch nichts zuschulden kommen lassen! }; INSTANCE Info_Mod_Den_Raeuber (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Raeuber_Condition; information = Info_Mod_Den_Raeuber_Info; permanent = 0; important = 0; description = "Hilda hat mir von einer Räuberbande vor Khorinis erzählt."; }; FUNC INT Info_Mod_Den_Raeuber_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Stadtwache)) && (Npc_KnowsInfo(hero, Info_Mod_Hilda_Argez)) { return 1; }; }; FUNC VOID Info_Mod_Den_Raeuber_Info() { AI_Output(hero, self, "Info_Mod_Den_Raeuber_15_00"); //Hilda hat mir von einer Räuberbande vor Khorinis erzählt. Was weißt du darüber? AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_01"); //Kaum etwas. Hilda hat uns nicht ausreichend genug in ihren leckeren Fleischpasteten wühlen lassen, damit wir nennenswerte Hinweise finden konnten. AI_Output(hero, self, "Info_Mod_Den_Raeuber_15_02"); //Was hat Fleischpastete mit dem Stehlen von Schafen zu tun? AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_03"); //Das kann man vorher ja nicht wissen. AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_04"); //Und ohne Einsichtnahme in die Fleischpasteten war die Hausdurchsuchung nicht vollständig, und somit konnte ich keinen Abschlussbericht schreiben, was uns auf der Suche nach den Verbrechern auch nicht gerade weiterhilft! AI_Output(hero, self, "Info_Mod_Den_Raeuber_15_05"); //Was wisst ihr denn jetzt überhaupt von den Räubern? AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_06"); //Eine einfache Bande von Vogelfreien, die seit ein paar Monaten in der Gegend umherstreift und in der letzten Zeit offensichtlich ein eigenes Lager gefunden hat. AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_07"); //Wie viele Überfälle genau auf ihr Konto gehen, wissen wir nicht. Generell unterscheiden sie sich von den anderen Banditen dadurch, dass sie keinen Ehrenkodex haben. AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_08"); //Ich kenne jemanden, der auch jemanden kennt, der kurzfristigen Kontakt zu den Dieben in dieser Stadt hatte und der erfahren hat, dass selbst die Diebe diese Räuber verachten. AI_Output(self, hero, "Info_Mod_Den_Raeuber_01_09"); //Diese Halunken machen sich also keine Freunde, und wenn sie keine Verbindungsmänner finden, wird es dauerhaft schwierig für sie, oh ja. }; INSTANCE Info_Mod_Den_Dienstzeit (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Dienstzeit_Condition; information = Info_Mod_Den_Dienstzeit_Info; permanent = 0; important = 0; description = "Seit drei Jahren im Amt? Was hast du vorher gemacht?"; }; FUNC INT Info_Mod_Den_Dienstzeit_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Stadtwache)) { return 1; }; }; FUNC VOID Info_Mod_Den_Dienstzeit_Info() { AI_Output(hero, self, "Info_Mod_Den_Dienstzeit_15_00"); //Seit drei Jahren im Amt? Was hast du vorher gemacht? AI_Output(self, hero, "Info_Mod_Den_Dienstzeit_01_01"); //(abwehrend) Gar nichts! Gar nichts Schlimmes! Die Sache mit der Diebesgilde, das war was Einmaliges! AI_Output(hero, self, "Info_Mod_Den_Dienstzeit_15_02"); //Du standest mit der Diebesgilde in Kontakt? AI_Output(self, hero, "Info_Mod_Den_Dienstzeit_01_03"); //Ich komme aus dem Hafenviertel, da muss man sehen, wo man bleibt. Es wird keiner zugeben, aber die Diebesgilde kontrolliert weite Teile des Viertels. AI_Output(self, hero, "Info_Mod_Den_Dienstzeit_01_04"); //Jeder dort kommt früher oder später mit ihr in Kontakt. }; INSTANCE Info_Mod_Den_Problem (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Problem_Condition; information = Info_Mod_Den_Problem_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Den_Problem_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Stadtwache)) && (Wld_GetDay() >= 4) { return 1; }; }; FUNC VOID Info_Mod_Den_Problem_Info() { AI_Output(self, hero, "Info_Mod_Den_Problem_01_00"); //Pst! Hör mal! AI_Output(hero, self, "Info_Mod_Den_Problem_15_01"); //Meinst du mich? AI_Output(self, hero, "Info_Mod_Den_Problem_01_02"); //Ja, genau. Du hast mich doch letztens so ausgefragt. AI_Output(hero, self, "Info_Mod_Den_Problem_15_03"); //Wenn du es so nennen willst. AI_Output(self, hero, "Info_Mod_Den_Problem_01_04"); //Ich hab dir alles erzählt, was du hören wolltest. Im Gegenzug könntest du mir vielleicht einen Gefallen tun - nichts Großes, keine Angst. AI_Output(hero, self, "Info_Mod_Den_Problem_15_05"); //Worum geht's? AI_Output(self, hero, "Info_Mod_Den_Problem_01_06"); //Ich hab so langsam das Patrouillieren satt. Jeden Tag latsch ich mir die Füße platt, das sollte was für die jungen Greenhorns sein. AI_Output(self, hero, "Info_Mod_Den_Problem_01_07"); //In der Kaserne ist jetzt eine Stelle frei geworden, Ruga ist abgehauen. Tja, aber nicht ich bin der heißeste Anwärter auf den Posten, sondern Rangar, der faule Drecksack. AI_Output(self, hero, "Info_Mod_Den_Problem_01_08"); //Rangar hat garantiert Dreck am Stecken, aber komischerweise will Lord Andre davon nichts wissen. Da müssen ihm mal die Augen geöffnet werden. AI_Output(hero, self, "Info_Mod_Den_Problem_15_09"); //Was schwebt dir da vor? AI_Output(self, hero, "Info_Mod_Den_Problem_01_10"); //Du sollst ein schlechtes Licht auf Rangar werfen. Verbreite Gerüchte über ihn, schmuggle verbotene Waren in seine Truhe, und dann berichte Lord Andre davon. AI_Output(self, hero, "Info_Mod_Den_Problem_01_11"); //Kriegst du das hin? Info_ClearChoices (Info_Mod_Den_Problem); Info_AddChoice (Info_Mod_Den_Problem, "Zu gefährlich. Damit will ich nichts zu tun haben.", Info_Mod_Den_Problem_B); Info_AddChoice (Info_Mod_Den_Problem, "Klar. Aber das ist dir doch sicher auch was wert ...", Info_Mod_Den_Problem_A); }; FUNC VOID Info_Mod_Den_Problem_B() { AI_Output(hero, self, "Info_Mod_Den_Problem_B_15_00"); //Zu gefährlich. Damit will ich nichts zu tun haben. AI_Output(self, hero, "Info_Mod_Den_Problem_B_01_01"); //Du bist ja nicht gerade ein guter Freund. Info_ClearChoices (Info_Mod_Den_Problem); }; FUNC VOID Info_Mod_Den_Problem_A() { AI_Output(hero, self, "Info_Mod_Den_Problem_A_15_00"); //Klar. Aber das ist dir doch sicher auch was wert ... AI_Output(self, hero, "Info_Mod_Den_Problem_A_01_01"); //Ein paar Münzen würden für dich als Bezahlung rausspringen. Log_CreateTopic (TOPIC_MOD_DENSPROBLEM, LOG_MISSION); B_SetTopicStatus (TOPIC_MOD_DENSPROBLEM, LOG_RUNNING); B_LogEntry (TOPIC_MOD_DENSPROBLEM, "Der Milizsoldat Den wartet vergeblich auf eine Beförderung, da Rangar ihn scheinbar bei Lord Andre schlecht macht. Ich soll jetzt das Gleiche mit Rangar machen: Gerüchte über ihn verbreiten, verbotene Waren in seine Truhe schmuggeln und ihn dann bei Lord Andre anschwärzen."); Info_ClearChoices (Info_Mod_Den_Problem); Mod_Den_Problem = 1; }; INSTANCE Info_Mod_Den_Verbotenes (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Verbotenes_Condition; information = Info_Mod_Den_Verbotenes_Info; permanent = 0; important = 0; description = "Was für verbotene Waren meinst du?"; }; FUNC INT Info_Mod_Den_Verbotenes_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Problem)) && (!Npc_KnowsInfo(hero, Info_Mod_Andre_Rangar)) && (Mod_DenVerpfiffen == 0) && (Mod_Den_Problem == 1) { return 1; }; }; FUNC VOID Info_Mod_Den_Verbotenes_Info() { AI_Output(hero, self, "Info_Mod_Den_Verbotenes_15_00"); //Was für verbotene Waren meinst du? AI_Output(self, hero, "Info_Mod_Den_Verbotenes_01_01"); //Ein Stängel Sumpfkraut würde schon reichen. Lord Andre hat uns das Zeug untersagt. AI_Output(self, hero, "Info_Mod_Den_Verbotenes_01_02"); //Wenn er jemanden von der Miliz damit erwischt, dann gibt das richtig Ärger. AI_Output(self, hero, "Info_Mod_Den_Verbotenes_01_03"); //Noch besser wäre natürlich ein ganzes Paket Sumpfkraut, aber da kommst du nicht so leicht ran. B_LogEntry (TOPIC_MOD_DENSPROBLEM, "Bei den verbotenen Waren, die Den vorschweben, handelt es sich um Sumpfkraut. Ein Stängel sollte schon reichen, ein ganzes Paket wäre aber noch besser. Den meint nur, dass man da nicht so leicht ran kommen wird."); }; INSTANCE Info_Mod_Den_RangarsTruhe (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_RangarsTruhe_Condition; information = Info_Mod_Den_RangarsTruhe_Info; permanent = 0; important = 0; description = "Wo finde ich Rangars Truhe?"; }; FUNC INT Info_Mod_Den_RangarsTruhe_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Problem)) && (!Npc_KnowsInfo(hero, Info_Mod_Andre_Rangar)) && (Mod_DenVerpfiffen == 0) && (Mod_Den_Problem == 1) { return 1; }; }; FUNC VOID Info_Mod_Den_RangarsTruhe_Info() { AI_Output(hero, self, "Info_Mod_Den_RangarsTruhe_15_00"); //Wo finde ich Rangars Truhe? AI_Output(self, hero, "Info_Mod_Den_RangarsTruhe_01_01"); //Die steht in seiner Nähe, an der Mauer beim Freibierstand. B_LogEntry (TOPIC_MOD_DENSPROBLEM, "Rangars Truhe finde ich in seiner Nähe, an der Mauer beim Freibierstand."); }; INSTANCE Info_Mod_Den_Rangar (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Rangar_Condition; information = Info_Mod_Den_Rangar_Info; permanent = 0; important = 0; description = "Ich hab mit Lord Andre gesprochen."; }; FUNC INT Info_Mod_Den_Rangar_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Andre_Rangar)) { return 1; }; }; FUNC VOID Info_Mod_Den_Rangar_Info() { AI_Output(hero, self, "Info_Mod_Den_Rangar_15_00"); //Ich hab mit Lord Andre gesprochen. AI_Output(self, hero, "Info_Mod_Den_Rangar_01_01"); //Und was hat er gesagt? AI_Output(hero, self, "Info_Mod_Den_Rangar_15_02"); //Er wird die Sachen überprüfen. AI_Output(self, hero, "Info_Mod_Den_Rangar_01_03"); //Sehr gut, hier ist deine Belohnung. B_GiveInvItems (self, hero, ItMi_Gold, 150); B_GivePlayerXP (100); B_SetTopicStatus (TOPIC_MOD_DENSPROBLEM, LOG_SUCCESS); CurrentNQ += 1; }; INSTANCE Info_Mod_Den_Checker (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Checker_Condition; information = Info_Mod_Den_Checker_Info; permanent = 0; important = 0; description = "Du weißt ja wirklich gut Bescheid ..."; }; FUNC INT Info_Mod_Den_Checker_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Den_Dienstzeit)) { return 1; }; }; FUNC VOID Info_Mod_Den_Checker_Info() { AI_Output(hero, self, "Info_Mod_Den_Checker_15_00"); //Du weißt ja wirklich gut Bescheid ... AI_Output(self, hero, "Info_Mod_Den_Checker_01_01"); //He, ich erledige meinen Job eben gewissenhaft! So viel Wissen kann man sich auch aneignen, ohne jahrelang Botengänge für die Diebesgilde erledigt zu haben! }; INSTANCE Info_Mod_Den_Lernen_Armbrust (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Lernen_Armbrust_Condition; information = Info_Mod_Den_Lernen_Armbrust_Info; permanent = 1; important = 0; description = "Bring mir Armbrustschießen bei."; }; FUNC INT Info_Mod_Den_Lernen_Armbrust_Condition() { if (hero.hitchance[NPC_TALENT_CrossBow] < 50) && (Mod_Schwierigkeit != 4) && (Mod_Miliz_Armbrust) && (Mod_Den_Problem == 1) && (Mod_DenVerpfiffen == 0) { return 1; }; }; FUNC VOID Info_Mod_Den_Lernen_Armbrust_Info() { AI_Output(hero, self, "Info_Mod_Den_Lernen_Armbrust_15_00"); //Bring mir Armbrustschießen bei. Info_ClearChoices (Info_Mod_Den_Lernen_Armbrust); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, "Zurück.", Info_Mod_Den_Lernen_Armbrust_BACK); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow5, B_GetLearnCostTalent_New(hero, NPC_TALENT_CrossBow)), Info_Mod_Den_Lernen_Armbrust_5); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow1, B_GetLearnCostTalent(hero, NPC_TALENT_CrossBow, 1)), Info_Mod_Den_Lernen_Armbrust_1); }; FUNC VOID Info_Mod_Den_Lernen_Armbrust_BACK() { Info_ClearChoices (Info_Mod_Den_Lernen_Armbrust); }; FUNC VOID Info_Mod_Den_Lernen_Armbrust_5() { B_TeachFightTalentPercent_New (self, hero, NPC_TALENT_CrossBow, 5, 60); Info_ClearChoices (Info_Mod_Den_Lernen_Armbrust); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, "Zurück.", Info_Mod_Den_Lernen_Armbrust_BACK); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow5, B_GetLearnCostTalent_New(hero, NPC_TALENT_CrossBow)), Info_Mod_Den_Lernen_Armbrust_5); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow1, B_GetLearnCostTalent(hero, NPC_TALENT_CrossBow, 1)), Info_Mod_Den_Lernen_Armbrust_1); }; FUNC VOID Info_Mod_Den_Lernen_Armbrust_1() { B_TeachFightTalentPercent (self, hero, NPC_TALENT_CrossBow, 1, 60); Info_ClearChoices (Info_Mod_Den_Lernen_Armbrust); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, "Zurück.", Info_Mod_Den_Lernen_Armbrust_BACK); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow5, B_GetLearnCostTalent_New(hero, NPC_TALENT_CrossBow)), Info_Mod_Den_Lernen_Armbrust_5); Info_AddChoice (Info_Mod_Den_Lernen_Armbrust, B_BuildLearnString(PRINT_LearnCrossBow1, B_GetLearnCostTalent(hero, NPC_TALENT_CrossBow, 1)), Info_Mod_Den_Lernen_Armbrust_1); }; INSTANCE Info_Mod_Den_Pickpocket (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_Pickpocket_Condition; information = Info_Mod_Den_Pickpocket_Info; permanent = 1; important = 0; description = Pickpocket_60; }; FUNC INT Info_Mod_Den_Pickpocket_Condition() { C_Beklauen (60, ItMi_Gold, 18); }; FUNC VOID Info_Mod_Den_Pickpocket_Info() { Info_ClearChoices (Info_Mod_Den_Pickpocket); Info_AddChoice (Info_Mod_Den_Pickpocket, DIALOG_BACK, Info_Mod_Den_Pickpocket_BACK); Info_AddChoice (Info_Mod_Den_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Den_Pickpocket_DoIt); }; FUNC VOID Info_Mod_Den_Pickpocket_BACK() { Info_ClearChoices (Info_Mod_Den_Pickpocket); }; FUNC VOID Info_Mod_Den_Pickpocket_DoIt() { if (B_Beklauen() == TRUE) { Info_ClearChoices (Info_Mod_Den_Pickpocket); } else { Info_ClearChoices (Info_Mod_Den_Pickpocket); Info_AddChoice (Info_Mod_Den_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Den_Pickpocket_Beschimpfen); Info_AddChoice (Info_Mod_Den_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Den_Pickpocket_Bestechung); Info_AddChoice (Info_Mod_Den_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Den_Pickpocket_Herausreden); }; }; FUNC VOID Info_Mod_Den_Pickpocket_Beschimpfen() { B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN"); B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Den_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); }; FUNC VOID Info_Mod_Den_Pickpocket_Bestechung() { B_Say (hero, self, "$PICKPOCKET_BESTECHUNG"); var int rnd; rnd = r_max(99); if (rnd < 25) || ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50)) || ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100)) || ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200)) { B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Den_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); } else { if (rnd >= 75) { B_GiveInvItems (hero, self, ItMi_Gold, 200); } else if (rnd >= 50) { B_GiveInvItems (hero, self, ItMi_Gold, 100); } else if (rnd >= 25) { B_GiveInvItems (hero, self, ItMi_Gold, 50); }; B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01"); Info_ClearChoices (Info_Mod_Den_Pickpocket); AI_StopProcessInfos (self); }; }; FUNC VOID Info_Mod_Den_Pickpocket_Herausreden() { B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN"); if (r_max(99) < Mod_Verhandlungsgeschick) { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01"); Info_ClearChoices (Info_Mod_Den_Pickpocket); } else { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02"); }; }; INSTANCE Info_Mod_Den_EXIT (C_INFO) { npc = Mod_969_MIL_Den_NW; nr = 1; condition = Info_Mod_Den_EXIT_Condition; information = Info_Mod_Den_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Den_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Den_EXIT_Info() { AI_StopProcessInfos (self); };
D
/* * Hunt - a framework for web and console application based on Collie using Dlang development * * Copyright (C) 2015-2017 Shanghai Putao Technology Co., Ltd * * Developer: HuntLabs * * Licensed under the Apache-2.0 License. * */ module hunt; public import hunt.application; public import hunt.routing; public import hunt.cache;
D
import std.stdio; import std.conv; import std.string; import core.memory; import bindbc.opengl; import bindbc.glfw; import arc.core; import arc.engine; import arc.input; import arc.math; import arc.gfx.shader; import arc.gfx.buffers; import arc.gfx.mesh; import arc.gfx.texture; public class MyGame : IApp { string vs = " #version 330 in vec4 a_position; in vec2 a_texCoord0; out vec2 v_texCoords; void main() { v_texCoords = a_texCoord0; gl_Position = a_position; } "; string fs = " #version 330 in vec2 v_texCoords; uniform sampler2D u_texture; out vec4 f_color; void main() { vec3 color = texture2D(u_texture, v_texCoords).rgb; f_color = vec4(color, 1.0); } "; ShaderProgram _shader; Mesh _mesh; Texture2D _tex; public void create() { _tex = Texture2D.fromFile("data/bg_stars.png"); _mesh = new Mesh(true, 6, 0, new VertexAttribute(Usage.Position, 3, "a_position"), new VertexAttribute(Usage.TextureCoordinates, 2, "a_texCoord0")); _mesh.setVertices([ -1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 0.0f, 1.0f, 1.0f, -1.0f, -1.0f, 0.0f, 0.0f, 1.0f, ]); //_mesh.setIndices([ // 0, 1, 2, // first triangle // 3,4,5 // ]); _shader = new ShaderProgram(vs, fs); assert(_shader.isCompiled(), _shader.getLog()); } public void update(float dt) { } public void render(float dt) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClearColor(0.2f, 0.3f, 0.3f, 1.0f); _shader.begin(); _tex.bind(); _shader.setUniformi("u_texture", 0); _mesh.render(_shader, GL_TRIANGLES); _shader.end(); } public void resize(int width, int height) { } public void dispose() { } } int main() { auto config = new Configuration; config.windowTitle = "Sample 04 - Textured Quad"; auto game = new MyGame; auto engine = new Engine(game, config); engine.run(); return 0; }
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Log/LogProtocol.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/LogProtocol~partial.swiftmodule : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/LogProtocol~partial.swiftdoc : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
module android.java.android.text.method.DateTimeKeyListener_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import2 = android.java.java.lang.CharSequence_d_interface; import import4 = android.java.android.view.View_d_interface; import import0 = android.java.java.util.Locale_d_interface; import import5 = android.java.android.text.Editable_d_interface; import import8 = android.java.java.lang.Class_d_interface; import import1 = android.java.android.text.method.DateTimeKeyListener_d_interface; import import6 = android.java.android.view.KeyEvent_d_interface; import import7 = android.java.android.text.Spannable_d_interface; import import3 = android.java.android.text.Spanned_d_interface; final class DateTimeKeyListener : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import this(arsd.jni.Default); @Import this(import0.Locale); @Import int getInputType(); @Import static import1.DateTimeKeyListener getInstance(); @Import static import1.DateTimeKeyListener getInstance(import0.Locale); @Import import2.CharSequence filter(import2.CharSequence, int, int, import3.Spanned, int, int); @Import bool onKeyDown(import4.View, import5.Editable, int, import6.KeyEvent); @Import bool backspace(import4.View, import5.Editable, int, import6.KeyEvent); @Import bool forwardDelete(import4.View, import5.Editable, int, import6.KeyEvent); @Import bool onKeyOther(import4.View, import5.Editable, import6.KeyEvent); @Import static void resetMetaState(import7.Spannable); @Import static int getMetaState(import2.CharSequence); @Import static int getMetaState(import2.CharSequence, import6.KeyEvent); @Import static int getMetaState(import2.CharSequence, int); @Import static int getMetaState(import2.CharSequence, int, import6.KeyEvent); @Import static void adjustMetaAfterKeypress(import7.Spannable); @Import static bool isMetaTracker(import2.CharSequence, IJavaObject); @Import static bool isSelectingMetaTracker(import2.CharSequence, IJavaObject); @Import bool onKeyUp(import4.View, import5.Editable, int, import6.KeyEvent); @Import void clearMetaKeyState(import4.View, import5.Editable, int); @Import static void clearMetaKeyState(import5.Editable, int); @Import static long resetLockedMeta(long); @Import static int getMetaState(long); @Import static int getMetaState(long, int); @Import static long adjustMetaAfterKeypress(long); @Import static long handleKeyDown(long, int, import6.KeyEvent); @Import static long handleKeyUp(long, int, import6.KeyEvent); @Import long clearMetaKeyState(long, int); @Import import8.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/text/method/DateTimeKeyListener;"; }
D
/* * This file is part of serpent. * * Copyright © 2019-2020 Lispy Snake, Ltd. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. */ module serpent.core.transform; public import gfm.math; public import serpent.ecs.component : serpentComponent; /** * A TransformComponent is used to provide position, scale and rotation * information for entities within a 3D space. * * Note that even 2D entities must conform to this too, as they are expressed * as 2D planes viewed orthographically. When using 2D APIs such as Sprites, * X/Y will map to game-window coordinates, with Z becoming the depth. */ @serpentComponent final struct TransformComponent { vec3f position = vec3f(0.0f, 0.0f, 0.0f); vec3f scale = vec3f(1.0f, 1.0f, 1.0f); }
D
import diet.internal.html : htmlEscape, htmlAttribEscape; import std.format : formattedWrite; #line 1 "layout.dt" import qv.enums; { #line 1 "layout.dt" } _diet_output.put("<!DOCTYPE html><head><!--/ Blobal CSS and JS--><link rel=\"stylesheet\" href=\"/"); #line 6 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.css); _diet_output.put("/app.css\"/><script type=\"text/javascript\" src=\"/"); #line 8 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.js); _diet_output.put("/jquery-3.1.1.min.js\"></script><script type=\"text/javascript\" src=\"/"); #line 9 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.js); _diet_output.put("/app.js\"></script><!--/ Insert head template here-->"); #line 4 "user.dt" import std.conv: to; { #line 4 "user.dt" } #line 5 "user.dt" string pageTitle = "Profile of " ~ user.fullName ~ " | Quertiv"; { #line 5 "user.dt" } #line 6 "user.dt" string pageDescription = "Sign in your existing account or create an account"; { #line 6 "user.dt" } _diet_output.put("<link rel=\"stylesheet\" href=\"/"); #line 8 "user.dt" _diet_output.htmlAttribEscape(AssetsURL.css); _diet_output.put("/user.css\"/><link rel=\"stylesheet\" href=\"/"); #line 9 "user.dt" _diet_output.htmlAttribEscape(AssetsURL.css); _diet_output.put("/tivs.css\"/><!--/ script(type=\"text/javascript\", src=\"/#{AssetsURL.js}/user.js\")--><!-- Global head elements--><title>"); #line 15 "layout.dt" _diet_output.htmlEscape(pageTitle); _diet_output.put("</title><meta charset=\"utf-8\"/><link rel=\"shortcut icon\" type=\"image/ico\" href=\"/"); #line 18 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.img); _diet_output.put("/favicon.ico\"/><meta name=\"viewport\" content=\"width=&#39;device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"/><meta name=\"description\""); #line 20 "layout.dt" static if (is(typeof(pageDescription) == bool)) { #line 20 "layout.dt" if (pageDescription) _diet_output.put(" content"); #line 20 "layout.dt" } else static if (is(typeof(pageDescription) : const(char)[])) {{ #line 20 "layout.dt" auto val = pageDescription; #line 20 "layout.dt" if (val !is null) { _diet_output.put(" content=\""); #line 20 "layout.dt" _diet_output.filterHTMLAttribEscape(val); _diet_output.put("\""); #line 20 "layout.dt" } #line 20 "layout.dt" }} else { _diet_output.put(" content=\""); #line 20 "layout.dt" _diet_output.htmlAttribEscape(pageDescription); _diet_output.put("\""); #line 20 "layout.dt" } _diet_output.put("/></head><body><header id=\"header\"><div class=\"wrapper\"><nav><ul class=\"thumb-menu\"><li><a href=\"/\">Tivs</a></li><li><a href=\"/discover\">Discover</a></li><li><a href=\"/blog\">Blog</a></li></ul><figure class=\"logo\"><a href=\"/\"><img src=\"/"); #line 33 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.img); _diet_output.put("/logo.png\" alt=\"Quertiv Logo\"/></a></figure><ul class=\"main-menu\"><li><a href=\"/\">Tivs</a></li><li><a href=\"/discover\">Discover</a></li><li><a href=\"/blog\">Blog</a></li></ul><form class=\"form\"><input type=\"search\" name=\"search\" placeholder=\"Search ...\"/><input type=\"hidden\" name=\"category\" value=\"all\"/><input type=\"hidden\" name=\"filter_by\" value=\"all\"/></form><figure class=\"account-thumb\"><img src=\"/img/avatar.jpg\"/></figure></nav></div></header><div id=\"content-wrapper\" class=\"wrapper\"><main id=\"content\"><section class=\"user-section has-box-shadow\"><section class=\"user\"><div class=\"profile\"><figure><img src=\"/media/avatar.jpg\" alt=\"Profile Photo\"/></figure><ul><li>"); #line 21 "user.dt" _diet_output.htmlEscape(user.fullName); _diet_output.put("</li><li>"); #line 22 "user.dt" _diet_output.htmlEscape(user.skillName); _diet_output.put("</li><li>"); #line 23 "user.dt" _diet_output.htmlEscape(user.location); _diet_output.put("</li></ul></div><ul class=\"about\"><li>"); #line 26 "user.dt" _diet_output.htmlEscape(user.bio); _diet_output.put("</li><li><a"); #line 27 "user.dt" static if (is(typeof(user.websiteURL) == bool)) { #line 27 "user.dt" if (user.websiteURL) _diet_output.put(" href"); #line 27 "user.dt" } else static if (is(typeof(user.websiteURL) : const(char)[])) {{ #line 27 "user.dt" auto val = user.websiteURL; #line 27 "user.dt" if (val !is null) { _diet_output.put(" href=\""); #line 27 "user.dt" _diet_output.filterHTMLAttribEscape(val); _diet_output.put("\""); #line 27 "user.dt" } #line 27 "user.dt" }} else { _diet_output.put(" href=\""); #line 27 "user.dt" _diet_output.htmlAttribEscape(user.websiteURL); _diet_output.put("\""); #line 27 "user.dt" } _diet_output.put(">"); #line 27 "user.dt" _diet_output.htmlEscape(user.websiteURL); _diet_output.put("</a></li></ul><div class=\"follow\"><p class=\"arrow\"></p><button class=\"button\" type=\"button\">Follow</button><div>200</div></div></section><section class=\"map\"><div></div></section></section><section class=\"authored-tivs-section has-box-shadow\"><h3>Tivs Authored</h3><form class=\"form user-tivs-search-form\"><div><label>Search authored tivs:</label><input type=\"search\" name=\"search_user_tiv\" placeholder=\"Enter a keyword or phrase to search ...\"/><button type=\"button\" name=\"button\">Search</button></div></form><div class=\"search-status\"><p>Search results for <em>ice cream</em></p></div></section><section class=\"tivs-section\">"); #line 51 "user.dt" if (tivs.length) { #line 52 "user.dt" foreach(tiv; tivs) { _diet_output.put("<section class=\"tiv has-box-shadow\"><span class=\"category-tag\"><a href=\"/explore/"); #line 54 "user.dt" _diet_output.htmlAttribEscape(tiv.categoryName); _diet_output.put("\">"); #line 54 "user.dt" _diet_output.htmlEscape(tiv.categoryName); _diet_output.put("</a></span><div><figure><a href=\"/tivs/"); #line 58 "user.dt" _diet_output.htmlAttribEscape(tiv.tivID); _diet_output.put("\"><img src=\"/"); #line 58 "user.dt" _diet_output.htmlAttribEscape(AssetsURL.media); _diet_output.put("/"); #line 58 "user.dt" _diet_output.htmlAttribEscape(tiv.mediaFile1); _diet_output.put("\" alt=\"Cover image for &#39;"); #line 58 "user.dt" _diet_output.htmlAttribEscape(tiv.title); _diet_output.put("&#39;\"/></a></figure><h3><a href=\"/tivs/"); #line 59 "user.dt" _diet_output.htmlAttribEscape(tiv.tivID); _diet_output.put("\">"); #line 59 "user.dt" _diet_output.htmlEscape(tiv.title); _diet_output.put("</a></h3></div><div class=\"author clearfix\"><figure><img src=\"/"); #line 63 "user.dt" _diet_output.htmlAttribEscape(AssetsURL.media); _diet_output.put("/avatar.jpg\" alt=\"Avatar\"/></figure><div><ul><li><a href=\"/users/"); #line 66 "user.dt" _diet_output.htmlAttribEscape(tiv.userID); _diet_output.put("\">"); #line 66 "user.dt" _diet_output.htmlEscape(tiv.fullName); _diet_output.put("</a></li><li>"); #line 67 "user.dt" _diet_output.htmlEscape(tiv.skillName); _diet_output.put("</li><li>"); #line 68 "user.dt" _diet_output.htmlEscape(tiv.location); _diet_output.put("</li></ul></div><div><ul> <li></li><li>2 h</li><li>+ 20</li></ul></div></div></section>"); #line 52 "user.dt" } #line 51 "user.dt" } #line 74 "user.dt" else { _diet_output.put("<p>No tiv is published this user.</p>"); #line 74 "user.dt" } _diet_output.put("<!-- Pagination-->"); #line 79 "user.dt" if (pagination.totalPages() > 1) { _diet_output.put("<section class=\"pagination\"></section>"); #line 79 "user.dt" } _diet_output.put("</section></main></div></body>");
D
module dnes.ppu.mirroring; import dnes.rom; import dnes.util; /** * Handles PPU nametable mirroring * * Params: * addr = The address trying to be read or written to * * Returns: The real address that will be read or written to */ nothrow @safe @nogc ushort nametableMirroring(ushort addr) in (addr >= 0x2000 && addr < 0x3000) out (r; r >= 0x2000 && r < 0x3000) { auto ret = addr; switch (rom.header.mirroring()) { // Horizontal mirroring // | A | A | // | B | B | case Mirroring.HORIZONTAL: if ((addr >= 0x2400) && (addr < 0x2800)) ret = wrap!ushort(addr - 0x400); else if ((addr >= 0x2c00) && (addr < 0x3000)) ret = wrap!ushort(addr - 0x400); break; // Vertical mirroring // | A | B | // | A | B | case Mirroring.VERTICAL: if ((addr >= 0x2800) && (addr < 0x2c00)) ret = wrap!ushort(addr - 0x800); else if ((addr >= 0x2c00) && (addr < 0x3000)) ret = wrap!ushort(addr - 0x800); break; default: break; } return ret; }
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 2005 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module core.sys.posix.utime; private import core.sys.posix.config; public import core.sys.posix.sys.types; // for time_t version (Posix): extern (C): // // Required // /* struct utimbuf { time_t actime; time_t modtime; } int utime(in char*, in utimbuf*); */ version( linux ) { struct utimbuf { time_t actime; time_t modtime; } int utime(in char*, in utimbuf*); } else version( OSX ) { struct utimbuf { time_t actime; time_t modtime; } int utime(in char*, in utimbuf*); } else version( FreeBSD ) { struct utimbuf { time_t actime; time_t modtime; } int utime(in char*, in utimbuf*); } else version( Android ) { struct utimbuf { time_t actime; time_t modtime; } int utime(in char*, in utimbuf*); }
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DMDSRC _clone.d) */ module ddmd.clone; import core.stdc.stdio; import ddmd.aggregate; import ddmd.arraytypes; import ddmd.declaration; import ddmd.dscope; import ddmd.dstruct; import ddmd.dsymbol; import ddmd.dtemplate; import ddmd.expression; import ddmd.expressionsem; import ddmd.func; import ddmd.globals; import ddmd.id; import ddmd.identifier; import ddmd.init; import ddmd.mtype; import ddmd.opover; import ddmd.statement; import ddmd.tokens; /******************************************* * Merge function attributes pure, nothrow, @safe, @nogc, and @disable */ extern (C++) StorageClass mergeFuncAttrs(StorageClass s1, FuncDeclaration f) { if (!f) return s1; StorageClass s2 = (f.storage_class & STCdisable); TypeFunction tf = cast(TypeFunction)f.type; if (tf.trust == TRUSTsafe) s2 |= STCsafe; else if (tf.trust == TRUSTsystem) s2 |= STCsystem; else if (tf.trust == TRUSTtrusted) s2 |= STCtrusted; if (tf.purity != PUREimpure) s2 |= STCpure; if (tf.isnothrow) s2 |= STCnothrow; if (tf.isnogc) s2 |= STCnogc; StorageClass stc = 0; StorageClass sa = s1 & s2; StorageClass so = s1 | s2; if (so & STCsystem) stc |= STCsystem; else if (sa & STCtrusted) stc |= STCtrusted; else if ((so & (STCtrusted | STCsafe)) == (STCtrusted | STCsafe)) stc |= STCtrusted; else if (sa & STCsafe) stc |= STCsafe; if (sa & STCpure) stc |= STCpure; if (sa & STCnothrow) stc |= STCnothrow; if (sa & STCnogc) stc |= STCnogc; if (so & STCdisable) stc |= STCdisable; return stc; } /******************************************* * Check given aggregate actually has an identity opAssign or not. * Params: * ad = struct or class * sc = current scope * Returns: * if found, returns FuncDeclaration of opAssign, otherwise null */ extern (C++) FuncDeclaration hasIdentityOpAssign(AggregateDeclaration ad, Scope* sc) { Dsymbol assign = search_function(ad, Id.assign); if (assign) { /* check identity opAssign exists */ scope er = new NullExp(ad.loc, ad.type); // dummy rvalue scope el = new IdentifierExp(ad.loc, Id.p); // dummy lvalue el.type = ad.type; Expressions a; a.setDim(1); const errors = global.startGagging(); // Do not report errors, even if the template opAssign fbody makes it. sc = sc.push(); sc.tinst = null; sc.minst = null; a[0] = er; auto f = resolveFuncCall(ad.loc, sc, assign, null, ad.type, &a, 1); if (!f) { a[0] = el; f = resolveFuncCall(ad.loc, sc, assign, null, ad.type, &a, 1); } sc = sc.pop(); global.endGagging(errors); if (f) { if (f.errors) return null; int varargs; auto fparams = f.getParameters(&varargs); if (fparams.dim >= 1) { auto fparam0 = Parameter.getNth(fparams, 0); if (fparam0.type.toDsymbol(null) != ad) f = null; } } // BUGS: This detection mechanism cannot find some opAssign-s like follows: // struct S { void opAssign(ref immutable S) const; } return f; } return null; } /******************************************* * We need an opAssign for the struct if * it has a destructor or a postblit. * We need to generate one if a user-specified one does not exist. */ private bool needOpAssign(StructDeclaration sd) { //printf("StructDeclaration::needOpAssign() %s\n", sd.toChars()); if (sd.isUnionDeclaration()) return false; if (sd.hasIdentityAssign) goto Lneed; // because has identity==elaborate opAssign if (sd.dtor || sd.postblit) goto Lneed; /* If any of the fields need an opAssign, then we * need it too. */ for (size_t i = 0; i < sd.fields.dim; i++) { VarDeclaration v = sd.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) // if field of a union continue; // user must handle it themselves Type tv = v.type.baseElemOf(); if (tv.ty == Tstruct) { TypeStruct ts = cast(TypeStruct)tv; if (ts.sym.isUnionDeclaration()) continue; if (needOpAssign(ts.sym)) goto Lneed; } } //printf("\tdontneed\n"); return false; Lneed: //printf("\tneed\n"); return true; } /****************************************** * Build opAssign for struct. * ref S opAssign(S s) { ... } * * Note that s will be constructed onto the stack, and probably * copy-constructed in caller site. * * If S has copy copy construction and/or destructor, * the body will make bit-wise object swap: * S __swap = this; // bit copy * this = s; // bit copy * __swap.dtor(); * Instead of running the destructor on s, run it on tmp instead. * * Otherwise, the body will make member-wise assignments: * Then, the body is: * this.field1 = s.field1; * this.field2 = s.field2; * ...; */ extern (C++) FuncDeclaration buildOpAssign(StructDeclaration sd, Scope* sc) { if (FuncDeclaration f = hasIdentityOpAssign(sd, sc)) { sd.hasIdentityAssign = true; return f; } // Even if non-identity opAssign is defined, built-in identity opAssign // will be defined. if (!needOpAssign(sd)) return null; //printf("StructDeclaration::buildOpAssign() %s\n", sd.toChars()); StorageClass stc = STCsafe | STCnothrow | STCpure | STCnogc; Loc declLoc = sd.loc; Loc loc = Loc(); // internal code should have no loc to prevent coverage // One of our sub-field might have `@disable opAssign` so we need to // check for it. // In this event, it will be reflected by having `stc` (opAssign's // storage class) include `STCdisabled`. for (size_t i = 0; i < sd.fields.dim; i++) { VarDeclaration v = sd.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) continue; Type tv = v.type.baseElemOf(); if (tv.ty != Tstruct) continue; StructDeclaration sdv = (cast(TypeStruct)tv).sym; stc = mergeFuncAttrs(stc, hasIdentityOpAssign(sdv, sc)); } if (sd.dtor || sd.postblit) { if (!sd.type.isAssignable()) // https://issues.dlang.org/show_bug.cgi?id=13044 return null; stc = mergeFuncAttrs(stc, sd.dtor); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; } auto fparams = new Parameters(); fparams.push(new Parameter(STCnodtor, sd.type, Id.p, null)); auto tf = new TypeFunction(fparams, sd.handleType(), 0, LINKd, stc | STCref); auto fop = new FuncDeclaration(declLoc, Loc(), Id.assign, stc, tf); fop.storage_class |= STCinference; fop.generated = true; Expression e = null; if (stc & STCdisable) { } else if (sd.dtor || sd.postblit) { /* Do swap this and rhs. * __swap = this; this = s; __swap.dtor(); */ //printf("\tswap copy\n"); Identifier idtmp = Identifier.generateId("__swap"); VarDeclaration tmp = null; AssignExp ec = null; if (sd.dtor) { tmp = new VarDeclaration(loc, sd.type, idtmp, new VoidInitializer(loc)); tmp.storage_class |= STCnodtor | STCtemp | STCctfe; e = new DeclarationExp(loc, tmp); ec = new BlitExp(loc, new VarExp(loc, tmp), new ThisExp(loc)); e = Expression.combine(e, ec); } ec = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id.p)); e = Expression.combine(e, ec); if (sd.dtor) { /* Instead of running the destructor on s, run it * on tmp. This avoids needing to copy tmp back in to s. */ Expression ec2 = new DotVarExp(loc, new VarExp(loc, tmp), sd.dtor, false); ec2 = new CallExp(loc, ec2); e = Expression.combine(e, ec2); } } else { /* Do memberwise copy. * * If sd is a nested struct, its vthis field assignment is: * 1. If it's nested in a class, it's a rebind of class reference. * 2. If it's nested in a function or struct, it's an update of void*. * In both cases, it will change the parent context. */ //printf("\tmemberwise copy\n"); for (size_t i = 0; i < sd.fields.dim; i++) { VarDeclaration v = sd.fields[i]; // this.v = s.v; auto ec = new AssignExp(loc, new DotVarExp(loc, new ThisExp(loc), v), new DotVarExp(loc, new IdentifierExp(loc, Id.p), v)); e = Expression.combine(e, ec); } } if (e) { Statement s1 = new ExpStatement(loc, e); /* Add: * return this; */ e = new ThisExp(loc); Statement s2 = new ReturnStatement(loc, e); fop.fbody = new CompoundStatement(loc, s1, s2); tf.isreturn = true; } sd.members.push(fop); fop.addMember(sc, sd); sd.hasIdentityAssign = true; // temporary mark identity assignable uint errors = global.startGagging(); // Do not report errors, even if the template opAssign fbody makes it. Scope* sc2 = sc.push(); sc2.stc = 0; sc2.linkage = LINKd; fop.semantic(sc2); fop.semantic2(sc2); // https://issues.dlang.org/show_bug.cgi?id=15044 // fop.semantic3 isn't run here for lazy forward reference resolution. sc2.pop(); if (global.endGagging(errors)) // if errors happened { // Disable generated opAssign, because some members forbid identity assignment. fop.storage_class |= STCdisable; fop.fbody = null; // remove fbody which contains the error } //printf("-StructDeclaration::buildOpAssign() %s, errors = %d\n", sd.toChars(), (fop.storage_class & STCdisable) != 0); return fop; } /******************************************* * We need an opEquals for the struct if * any fields has an opEquals. * Generate one if a user-specified one does not exist. */ extern (C++) bool needOpEquals(StructDeclaration sd) { //printf("StructDeclaration::needOpEquals() %s\n", sd.toChars()); if (sd.isUnionDeclaration()) goto Ldontneed; if (sd.hasIdentityEquals) goto Lneed; /* If any of the fields has an opEquals, then we * need it too. */ for (size_t i = 0; i < sd.fields.dim; i++) { VarDeclaration v = sd.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) continue; Type tv = v.type.toBasetype(); auto tvbase = tv.baseElemOf(); if (tvbase.ty == Tstruct) { TypeStruct ts = cast(TypeStruct)tvbase; if (ts.sym.isUnionDeclaration()) continue; if (needOpEquals(ts.sym)) goto Lneed; if (ts.sym.aliasthis) // https://issues.dlang.org/show_bug.cgi?id=14806 goto Lneed; } if (tv.isfloating()) { // This is necessray for: // 1. comparison of +0.0 and -0.0 should be true. // 2. comparison of NANs should be false always. goto Lneed; } if (tv.ty == Tarray) goto Lneed; if (tv.ty == Taarray) goto Lneed; if (tv.ty == Tclass) goto Lneed; } Ldontneed: //printf("\tdontneed\n"); return false; Lneed: //printf("\tneed\n"); return true; } /******************************************* * Check given aggregate actually has an identity opEquals or not. */ extern (C++) FuncDeclaration hasIdentityOpEquals(AggregateDeclaration ad, Scope* sc) { Dsymbol eq = search_function(ad, Id.eq); if (eq) { /* check identity opEquals exists */ scope er = new NullExp(ad.loc, null); // dummy rvalue scope el = new IdentifierExp(ad.loc, Id.p); // dummy lvalue Expressions a; a.setDim(1); foreach (i; 0 .. 5) { Type tthis = null; // dead-store to prevent spurious warning final switch (i) { case 0: tthis = ad.type; break; case 1: tthis = ad.type.constOf(); break; case 2: tthis = ad.type.immutableOf(); break; case 3: tthis = ad.type.sharedOf(); break; case 4: tthis = ad.type.sharedConstOf(); break; } FuncDeclaration f = null; const errors = global.startGagging(); // Do not report errors, even if the template opAssign fbody makes it. sc = sc.push(); sc.tinst = null; sc.minst = null; foreach (j; 0 .. 2) { a[0] = (j == 0 ? er : el); a[0].type = tthis; f = resolveFuncCall(ad.loc, sc, eq, null, tthis, &a, 1); if (f) break; } sc = sc.pop(); global.endGagging(errors); if (f) { if (f.errors) return null; return f; } } } return null; } /****************************************** * Build opEquals for struct. * const bool opEquals(const S s) { ... } * * By fixing https://issues.dlang.org/show_bug.cgi?id=3789 * opEquals is changed to be never implicitly generated. * Now, struct objects comparison s1 == s2 is translated to: * s1.tupleof == s2.tupleof * to calculate structural equality. See EqualExp.op_overload. */ extern (C++) FuncDeclaration buildOpEquals(StructDeclaration sd, Scope* sc) { if (hasIdentityOpEquals(sd, sc)) { sd.hasIdentityEquals = true; } return null; } /****************************************** * Build __xopEquals for TypeInfo_Struct * static bool __xopEquals(ref const S p, ref const S q) * { * return p == q; * } * * This is called by TypeInfo.equals(p1, p2). If the struct does not support * const objects comparison, it will throw "not implemented" Error in runtime. */ extern (C++) FuncDeclaration buildXopEquals(StructDeclaration sd, Scope* sc) { if (!needOpEquals(sd)) return null; // bitwise comparison would work //printf("StructDeclaration::buildXopEquals() %s\n", sd.toChars()); if (Dsymbol eq = search_function(sd, Id.eq)) { if (FuncDeclaration fd = eq.isFuncDeclaration()) { TypeFunction tfeqptr; { Scope scx; /* const bool opEquals(ref const S s); */ auto parameters = new Parameters(); parameters.push(new Parameter(STCref | STCconst, sd.type, null, null)); tfeqptr = new TypeFunction(parameters, Type.tbool, 0, LINKd); tfeqptr.mod = MODconst; tfeqptr = cast(TypeFunction)tfeqptr.semantic(Loc(), &scx); } fd = fd.overloadExactMatch(tfeqptr); if (fd) return fd; } } if (!sd.xerreq) { // object._xopEquals Identifier id = Identifier.idPool("_xopEquals"); Expression e = new IdentifierExp(sd.loc, Id.empty); e = new DotIdExp(sd.loc, e, Id.object); e = new DotIdExp(sd.loc, e, id); e = e.semantic(sc); Dsymbol s = getDsymbol(e); assert(s); sd.xerreq = s.isFuncDeclaration(); } Loc declLoc = Loc(); // loc is unnecessary so __xopEquals is never called directly Loc loc = Loc(); // loc is unnecessary so errors are gagged auto parameters = new Parameters(); parameters.push(new Parameter(STCref | STCconst, sd.type, Id.p, null)); parameters.push(new Parameter(STCref | STCconst, sd.type, Id.q, null)); auto tf = new TypeFunction(parameters, Type.tbool, 0, LINKd); Identifier id = Id.xopEquals; auto fop = new FuncDeclaration(declLoc, Loc(), id, STCstatic, tf); fop.generated = true; Expression e1 = new IdentifierExp(loc, Id.p); Expression e2 = new IdentifierExp(loc, Id.q); Expression e = new EqualExp(TOKequal, loc, e1, e2); fop.fbody = new ReturnStatement(loc, e); uint errors = global.startGagging(); // Do not report errors Scope* sc2 = sc.push(); sc2.stc = 0; sc2.linkage = LINKd; fop.semantic(sc2); fop.semantic2(sc2); sc2.pop(); if (global.endGagging(errors)) // if errors happened fop = sd.xerreq; return fop; } /****************************************** * Build __xopCmp for TypeInfo_Struct * static bool __xopCmp(ref const S p, ref const S q) * { * return p.opCmp(q); * } * * This is called by TypeInfo.compare(p1, p2). If the struct does not support * const objects comparison, it will throw "not implemented" Error in runtime. */ extern (C++) FuncDeclaration buildXopCmp(StructDeclaration sd, Scope* sc) { //printf("StructDeclaration::buildXopCmp() %s\n", toChars()); if (Dsymbol cmp = search_function(sd, Id.cmp)) { if (FuncDeclaration fd = cmp.isFuncDeclaration()) { TypeFunction tfcmpptr; { Scope scx; /* const int opCmp(ref const S s); */ auto parameters = new Parameters(); parameters.push(new Parameter(STCref | STCconst, sd.type, null, null)); tfcmpptr = new TypeFunction(parameters, Type.tint32, 0, LINKd); tfcmpptr.mod = MODconst; tfcmpptr = cast(TypeFunction)tfcmpptr.semantic(Loc(), &scx); } fd = fd.overloadExactMatch(tfcmpptr); if (fd) return fd; } } else { version (none) // FIXME: doesn't work for recursive alias this { /* Check opCmp member exists. * Consider 'alias this', but except opDispatch. */ Expression e = new DsymbolExp(sd.loc, sd); e = new DotIdExp(sd.loc, e, Id.cmp); Scope* sc2 = sc.push(); e = e.trySemantic(sc2); sc2.pop(); if (e) { Dsymbol s = null; switch (e.op) { case TOKoverloadset: s = (cast(OverExp)e).vars; break; case TOKscope: s = (cast(ScopeExp)e).sds; break; case TOKvar: s = (cast(VarExp)e).var; break; default: break; } if (!s || s.ident != Id.cmp) e = null; // there's no valid member 'opCmp' } if (!e) return null; // bitwise comparison would work /* Essentially, a struct which does not define opCmp is not comparable. * At this time, typeid(S).compare might be correct that throwing "not implement" Error. * But implementing it would break existing code, such as: * * struct S { int value; } // no opCmp * int[S] aa; // Currently AA key uses bitwise comparison * // (It's default behavior of TypeInfo_Strust.compare). * * Not sure we should fix this inconsistency, so just keep current behavior. */ } else { return null; } } if (!sd.xerrcmp) { // object._xopCmp Identifier id = Identifier.idPool("_xopCmp"); Expression e = new IdentifierExp(sd.loc, Id.empty); e = new DotIdExp(sd.loc, e, Id.object); e = new DotIdExp(sd.loc, e, id); e = e.semantic(sc); Dsymbol s = getDsymbol(e); assert(s); sd.xerrcmp = s.isFuncDeclaration(); } Loc declLoc = Loc(); // loc is unnecessary so __xopCmp is never called directly Loc loc = Loc(); // loc is unnecessary so errors are gagged auto parameters = new Parameters(); parameters.push(new Parameter(STCref | STCconst, sd.type, Id.p, null)); parameters.push(new Parameter(STCref | STCconst, sd.type, Id.q, null)); auto tf = new TypeFunction(parameters, Type.tint32, 0, LINKd); Identifier id = Id.xopCmp; auto fop = new FuncDeclaration(declLoc, Loc(), id, STCstatic, tf); fop.generated = true; Expression e1 = new IdentifierExp(loc, Id.p); Expression e2 = new IdentifierExp(loc, Id.q); Expression e = new CallExp(loc, new DotIdExp(loc, e2, Id.cmp), e1); fop.fbody = new ReturnStatement(loc, e); uint errors = global.startGagging(); // Do not report errors Scope* sc2 = sc.push(); sc2.stc = 0; sc2.linkage = LINKd; fop.semantic(sc2); fop.semantic2(sc2); sc2.pop(); if (global.endGagging(errors)) // if errors happened fop = sd.xerrcmp; return fop; } /******************************************* * We need a toHash for the struct if * any fields has a toHash. * Generate one if a user-specified one does not exist. */ private bool needToHash(StructDeclaration sd) { //printf("StructDeclaration::needToHash() %s\n", sd.toChars()); if (sd.isUnionDeclaration()) goto Ldontneed; if (sd.xhash) goto Lneed; /* If any of the fields has an opEquals, then we * need it too. */ for (size_t i = 0; i < sd.fields.dim; i++) { VarDeclaration v = sd.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) continue; Type tv = v.type.toBasetype(); auto tvbase = tv.baseElemOf(); if (tvbase.ty == Tstruct) { TypeStruct ts = cast(TypeStruct)tvbase; if (ts.sym.isUnionDeclaration()) continue; if (needToHash(ts.sym)) goto Lneed; if (ts.sym.aliasthis) // https://issues.dlang.org/show_bug.cgi?id=14948 goto Lneed; } if (tv.isfloating()) { // This is necessray for: // 1. comparison of +0.0 and -0.0 should be true. goto Lneed; } if (tv.ty == Tarray) goto Lneed; if (tv.ty == Taarray) goto Lneed; if (tv.ty == Tclass) goto Lneed; } Ldontneed: //printf("\tdontneed\n"); return false; Lneed: //printf("\tneed\n"); return true; } /****************************************** * Build __xtoHash for non-bitwise hashing * static hash_t xtoHash(ref const S p) nothrow @trusted; */ extern (C++) FuncDeclaration buildXtoHash(StructDeclaration sd, Scope* sc) { if (Dsymbol s = search_function(sd, Id.tohash)) { static __gshared TypeFunction tftohash; if (!tftohash) { tftohash = new TypeFunction(null, Type.thash_t, 0, LINKd); tftohash.mod = MODconst; tftohash = cast(TypeFunction)tftohash.merge(); } if (FuncDeclaration fd = s.isFuncDeclaration()) { fd = fd.overloadExactMatch(tftohash); if (fd) return fd; } } if (!needToHash(sd)) return null; //printf("StructDeclaration::buildXtoHash() %s\n", sd.toPrettyChars()); Loc declLoc = Loc(); // loc is unnecessary so __xtoHash is never called directly Loc loc = Loc(); // internal code should have no loc to prevent coverage auto parameters = new Parameters(); parameters.push(new Parameter(STCref | STCconst, sd.type, Id.p, null)); auto tf = new TypeFunction(parameters, Type.thash_t, 0, LINKd, STCnothrow | STCtrusted); Identifier id = Id.xtoHash; auto fop = new FuncDeclaration(declLoc, Loc(), id, STCstatic, tf); fop.generated = true; /* Do memberwise hashing. * * If sd is a nested struct, and if it's nested in a class, the calculated * hash value will also contain the result of parent class's toHash(). */ const(char)* code = "size_t h = 0;" ~ "foreach (i, T; typeof(p.tupleof))" ~ " h += typeid(T).getHash(cast(const void*)&p.tupleof[i]);" ~ "return h;"; fop.fbody = new CompileStatement(loc, new StringExp(loc, cast(char*)code)); Scope* sc2 = sc.push(); sc2.stc = 0; sc2.linkage = LINKd; fop.semantic(sc2); fop.semantic2(sc2); sc2.pop(); //printf("%s fop = %s %s\n", sd.toChars(), fop.toChars(), fop.type.toChars()); return fop; } /***************************************** * Create inclusive postblit for struct by aggregating * all the postblits in postblits[] with the postblits for * all the members. * Note the close similarity with AggregateDeclaration::buildDtor(), * and the ordering changes (runs forward instead of backwards). */ extern (C++) FuncDeclaration buildPostBlit(StructDeclaration sd, Scope* sc) { //printf("StructDeclaration::buildPostBlit() %s\n", sd.toChars()); if (sd.isUnionDeclaration()) return null; StorageClass stc = STCsafe | STCnothrow | STCpure | STCnogc; Loc declLoc = sd.postblits.dim ? sd.postblits[0].loc : sd.loc; Loc loc = Loc(); // internal code should have no loc to prevent coverage for (size_t i = 0; i < sd.postblits.dim; i++) { stc |= sd.postblits[i].storage_class & STCdisable; } auto a = new Statements(); for (size_t i = 0; i < sd.fields.dim && !(stc & STCdisable); i++) { auto v = sd.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) continue; Type tv = v.type.baseElemOf(); if (tv.ty != Tstruct) continue; auto sdv = (cast(TypeStruct)tv).sym; if (!sdv.postblit) continue; assert(!sdv.isUnionDeclaration()); sdv.postblit.functionSemantic(); stc = mergeFuncAttrs(stc, sdv.postblit); stc = mergeFuncAttrs(stc, sdv.dtor); if (stc & STCdisable) { a.setDim(0); break; } Expression ex; tv = v.type.toBasetype(); if (tv.ty == Tstruct) { // this.v.__xpostblit() ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call postblits on const/immutable objects. ex = new AddrExp(loc, ex); ex = new CastExp(loc, ex, v.type.mutableOf().pointerTo()); ex = new PtrExp(loc, ex); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new DotVarExp(loc, ex, sdv.postblit, false); ex = new CallExp(loc, ex); } else { // _ArrayPostblit((cast(S*)this.v.ptr)[0 .. n]) uinteger_t n = 1; while (tv.ty == Tsarray) { n *= (cast(TypeSArray)tv).dim.toUInteger(); tv = tv.nextOf().toBasetype(); } if (n == 0) continue; ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call postblits on const/immutable objects. ex = new DotIdExp(loc, ex, Id.ptr); ex = new CastExp(loc, ex, sdv.type.pointerTo()); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), new IntegerExp(loc, n, Type.tsize_t)); // Prevent redundant bounds check (cast(SliceExp)ex).upperIsInBounds = true; (cast(SliceExp)ex).lowerIsLessThanUpper = true; ex = new CallExp(loc, new IdentifierExp(loc, Id._ArrayPostblit), ex); } a.push(new ExpStatement(loc, ex)); // combine in forward order /* https://issues.dlang.org/show_bug.cgi?id=10972 * When the following field postblit calls fail, * this field should be destructed for Exception Safety. */ if (!sdv.dtor) continue; sdv.dtor.functionSemantic(); tv = v.type.toBasetype(); if (tv.ty == Tstruct) { // this.v.__xdtor() ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call destructors on const/immutable objects. ex = new AddrExp(loc, ex); ex = new CastExp(loc, ex, v.type.mutableOf().pointerTo()); ex = new PtrExp(loc, ex); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new DotVarExp(loc, ex, sdv.dtor, false); ex = new CallExp(loc, ex); } else { // _ArrayDtor((cast(S*)this.v.ptr)[0 .. n]) uinteger_t n = 1; while (tv.ty == Tsarray) { n *= (cast(TypeSArray)tv).dim.toUInteger(); tv = tv.nextOf().toBasetype(); } //if (n == 0) // continue; ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call destructors on const/immutable objects. ex = new DotIdExp(loc, ex, Id.ptr); ex = new CastExp(loc, ex, sdv.type.pointerTo()); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), new IntegerExp(loc, n, Type.tsize_t)); // Prevent redundant bounds check (cast(SliceExp)ex).upperIsInBounds = true; (cast(SliceExp)ex).lowerIsLessThanUpper = true; ex = new CallExp(loc, new IdentifierExp(loc, Id._ArrayDtor), ex); } a.push(new OnScopeStatement(loc, TOKon_scope_failure, new ExpStatement(loc, ex))); } // Build our own "postblit" which executes a, but only if needed. if (a.dim || (stc & STCdisable)) { //printf("Building __fieldPostBlit()\n"); auto dd = new PostBlitDeclaration(declLoc, Loc(), stc, Id.__fieldPostblit); dd.generated = true; dd.storage_class |= STCinference; dd.fbody = (stc & STCdisable) ? null : new CompoundStatement(loc, a); sd.postblits.shift(dd); sd.members.push(dd); dd.semantic(sc); } FuncDeclaration xpostblit = null; switch (sd.postblits.dim) { case 0: break; case 1: xpostblit = sd.postblits[0]; break; default: Expression e = null; stc = STCsafe | STCnothrow | STCpure | STCnogc; for (size_t i = 0; i < sd.postblits.dim; i++) { auto fd = sd.postblits[i]; stc = mergeFuncAttrs(stc, fd); if (stc & STCdisable) { e = null; break; } Expression ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, fd, false); ex = new CallExp(loc, ex); e = Expression.combine(e, ex); } auto dd = new PostBlitDeclaration(declLoc, Loc(), stc, Id.__aggrPostblit); dd.generated = true; dd.storage_class |= STCinference; dd.fbody = new ExpStatement(loc, e); sd.members.push(dd); dd.semantic(sc); xpostblit = dd; break; } // Add an __xpostblit alias to make the inclusive postblit accessible if (xpostblit) { auto _alias = new AliasDeclaration(Loc(), Id.__xpostblit, xpostblit); _alias.semantic(sc); sd.members.push(_alias); _alias.addMember(sc, sd); // add to symbol table } return xpostblit; } /***************************************** * Create inclusive destructor for struct/class by aggregating * all the destructors in dtors[] with the destructors for * all the members. * Note the close similarity with StructDeclaration::buildPostBlit(), * and the ordering changes (runs backward instead of forwards). */ extern (C++) FuncDeclaration buildDtor(AggregateDeclaration ad, Scope* sc) { //printf("AggregateDeclaration::buildDtor() %s\n", ad.toChars()); if (ad.isUnionDeclaration()) return null; StorageClass stc = STCsafe | STCnothrow | STCpure | STCnogc; Loc declLoc = ad.dtors.dim ? ad.dtors[0].loc : ad.loc; Loc loc = Loc(); // internal code should have no loc to prevent coverage Expression e = null; for (size_t i = 0; i < ad.fields.dim; i++) { auto v = ad.fields[i]; if (v.storage_class & STCref) continue; if (v.overlapped) continue; auto tv = v.type.baseElemOf(); if (tv.ty != Tstruct) continue; auto sdv = (cast(TypeStruct)tv).sym; if (!sdv.dtor) continue; sdv.dtor.functionSemantic(); stc = mergeFuncAttrs(stc, sdv.dtor); if (stc & STCdisable) { e = null; break; } Expression ex; tv = v.type.toBasetype(); if (tv.ty == Tstruct) { // this.v.__xdtor() ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call destructors on const/immutable objects. ex = new AddrExp(loc, ex); ex = new CastExp(loc, ex, v.type.mutableOf().pointerTo()); ex = new PtrExp(loc, ex); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new DotVarExp(loc, ex, sdv.dtor, false); ex = new CallExp(loc, ex); } else { // _ArrayDtor((cast(S*)this.v.ptr)[0 .. n]) uinteger_t n = 1; while (tv.ty == Tsarray) { n *= (cast(TypeSArray)tv).dim.toUInteger(); tv = tv.nextOf().toBasetype(); } if (n == 0) continue; ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, v); // This is a hack so we can call destructors on const/immutable objects. ex = new DotIdExp(loc, ex, Id.ptr); ex = new CastExp(loc, ex, sdv.type.pointerTo()); if (stc & STCsafe) stc = (stc & ~STCsafe) | STCtrusted; ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type.tsize_t), new IntegerExp(loc, n, Type.tsize_t)); // Prevent redundant bounds check (cast(SliceExp)ex).upperIsInBounds = true; (cast(SliceExp)ex).lowerIsLessThanUpper = true; ex = new CallExp(loc, new IdentifierExp(loc, Id._ArrayDtor), ex); } e = Expression.combine(ex, e); // combine in reverse order } /* Build our own "destructor" which executes e */ if (e || (stc & STCdisable)) { //printf("Building __fieldDtor()\n"); auto dd = new DtorDeclaration(declLoc, Loc(), stc, Id.__fieldDtor); dd.generated = true; dd.storage_class |= STCinference; dd.fbody = new ExpStatement(loc, e); ad.dtors.shift(dd); ad.members.push(dd); dd.semantic(sc); } FuncDeclaration xdtor = null; switch (ad.dtors.dim) { case 0: break; case 1: xdtor = ad.dtors[0]; break; default: e = null; stc = STCsafe | STCnothrow | STCpure | STCnogc; for (size_t i = 0; i < ad.dtors.dim; i++) { FuncDeclaration fd = ad.dtors[i]; stc = mergeFuncAttrs(stc, fd); if (stc & STCdisable) { e = null; break; } Expression ex = new ThisExp(loc); ex = new DotVarExp(loc, ex, fd, false); ex = new CallExp(loc, ex); e = Expression.combine(ex, e); } auto dd = new DtorDeclaration(declLoc, Loc(), stc, Id.__aggrDtor); dd.generated = true; dd.storage_class |= STCinference; dd.fbody = new ExpStatement(loc, e); ad.members.push(dd); dd.semantic(sc); xdtor = dd; break; } // Add an __xdtor alias to make the inclusive dtor accessible if (xdtor) { auto _alias = new AliasDeclaration(Loc(), Id.__xdtor, xdtor); _alias.semantic(sc); ad.members.push(_alias); _alias.addMember(sc, ad); // add to symbol table } return xdtor; } /****************************************** * Create inclusive invariant for struct/class by aggregating * all the invariants in invs[]. * void __invariant() const [pure nothrow @trusted] * { * invs[0](), invs[1](), ...; * } */ extern (C++) FuncDeclaration buildInv(AggregateDeclaration ad, Scope* sc) { StorageClass stc = STCsafe | STCnothrow | STCpure | STCnogc; Loc declLoc = ad.loc; Loc loc = Loc(); // internal code should have no loc to prevent coverage switch (ad.invs.dim) { case 0: return null; case 1: // Don't return invs[0] so it has uniquely generated name. /* fall through */ default: Expression e = null; StorageClass stcx = 0; for (size_t i = 0; i < ad.invs.dim; i++) { stc = mergeFuncAttrs(stc, ad.invs[i]); if (stc & STCdisable) { // What should do? } StorageClass stcy = (ad.invs[i].storage_class & STCsynchronized) | (ad.invs[i].type.mod & MODshared ? STCshared : 0); if (i == 0) stcx = stcy; else if (stcx ^ stcy) { version (all) { // currently rejects ad.error(ad.invs[i].loc, "mixing invariants with shared/synchronized differene is not supported"); e = null; break; } } e = Expression.combine(e, new CallExp(loc, new VarExp(loc, ad.invs[i], false))); } auto inv = new InvariantDeclaration(declLoc, Loc(), stc | stcx, Id.classInvariant, new ExpStatement(loc, e)); ad.members.push(inv); inv.semantic(sc); return inv; } }
D
import std.stdio; import Dgame.Graphic; import Dgame.Math; import Dgame.Audio; import Dgame.System; import Dgame.Window; debug { pragma(msg, Color4b.sizeof); pragma(msg, Color4f.sizeof); pragma(msg, Matrix4x4.sizeof); pragma(msg, Window.sizeof); pragma(msg, Event.sizeof); pragma(msg, Surface.sizeof); pragma(msg, Texture.sizeof); pragma(msg, Font.sizeof); pragma(msg, Vector2i.sizeof); pragma(msg, Vector3i.sizeof); pragma(msg, Rect.sizeof); pragma(msg, Vertex.sizeof); pragma(msg, GLContextSettings.sizeof); pragma(msg, Shader.sizeof); pragma(msg, ShaderProgram.sizeof); pragma(msg, Battery.sizeof); pragma(msg, StopWatch.sizeof); pragma(msg, Time.sizeof); } void main() { Window wnd = Window(480, 640, "Dgame App - Test", Window.Style.Default); wnd.setVerticalSync(Window.VerticalSync.Enable); immutable int display_count = DisplayMode.getNumOfDisplays(); writeln("Display count = ", display_count); writeln("All Display modes:"); for (ubyte i = 0; i < display_count; i++) { writeln("Modes of Display #", i); foreach (ref const DisplayMode dm; DisplayMode.listModes(i)) { writeln("\t", dm.width, ':', dm.height, ':', dm.refreshRate); } } immutable uint black = Color4b.Black.asHex(); immutable uint blue = Color4b.Blue.asHex(); uint[256] xpixels = [ blue, black, black, black, black, black, black, black, black, black, black, black, black, black, black, blue, black, blue, black, black, black, black, black, black, black, black, black, black, black, black, blue, black, black, black, blue, black, black, black, black, black, black, black, black, black, black, blue, black, black, black, black, black, blue, black, black, black, black, black, black, black, black, blue, black, black, black, black, black, black, black, blue, black, black, black, black, black, black, blue, black, black, black, black, black, black, black, black, black, blue, black, black, black, black, blue, black, black, black, black, black, black, black, black, black, black, black, blue, black, black, blue, black, black, black, black, black, black, black, black, black, black, black, black, black, blue, blue, black, black, black, black, black, black, black, black, black, black, black, black, black, black, blue, blue, black, black, black, black, black, black, black, black, black, black, black, black, black, blue, black, black, blue, black, black, black, black, black, black, black, black, black, black, black, blue, black, black, black, black, blue, black, black, black, black, black, black, black, black, black, blue, black, black, black, black, black, black, blue, black, black, black, black, black, black, black, blue, black, black, black, black, black, black, black, black, blue, black, black, black, black, black, blue, black, black, black, black, black, black, black, black, black, black, blue, black, black, black, blue, black, black, black, black, black, black, black, black, black, black, black, black, blue, black, blue, black, black, black, black, black, black, black, black, black, black, black, black, black, black, blue, ]; Surface xs = Surface(xpixels.ptr, 16, 16); xs.saveToFile("samples/images/XS.png"); wnd.setIcon(xs); ushort[256] sdl_pixels = [ 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0aab, 0x0789, 0x0bcc, 0x0eee, 0x09aa, 0x099a, 0x0ddd, 0x0fff, 0x0eee, 0x0899, 0x0fff, 0x0fff, 0x1fff, 0x0dde, 0x0dee, 0x0fff, 0xabbc, 0xf779, 0x8cdd, 0x3fff, 0x9bbc, 0xaaab, 0x6fff, 0x0fff, 0x3fff, 0xbaab, 0x0fff, 0x0fff, 0x6689, 0x6fff, 0x0dee, 0xe678, 0xf134, 0x8abb, 0xf235, 0xf678, 0xf013, 0xf568, 0xf001, 0xd889, 0x7abc, 0xf001, 0x0fff, 0x0fff, 0x0bcc, 0x9124, 0x5fff, 0xf124, 0xf356, 0x3eee, 0x0fff, 0x7bbc, 0xf124, 0x0789, 0x2fff, 0xf002, 0xd789, 0xf024, 0x0fff, 0x0fff, 0x0002, 0x0134, 0xd79a, 0x1fff, 0xf023, 0xf000, 0xf124, 0xc99a, 0xf024, 0x0567, 0x0fff, 0xf002, 0xe678, 0xf013, 0x0fff, 0x0ddd, 0x0fff, 0x0fff, 0xb689, 0x8abb, 0x0fff, 0x0fff, 0xf001, 0xf235, 0xf013, 0x0fff, 0xd789, 0xf002, 0x9899, 0xf001, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0xe789, 0xf023, 0xf000, 0xf001, 0xe456, 0x8bcc, 0xf013, 0xf002, 0xf012, 0x1767, 0x5aaa, 0xf013, 0xf001, 0xf000, 0x0fff, 0x7fff, 0xf124, 0x0fff, 0x089a, 0x0578, 0x0fff, 0x089a, 0x0013, 0x0245, 0x0eff, 0x0223, 0x0dde, 0x0135, 0x0789, 0x0ddd, 0xbbbc, 0xf346, 0x0467, 0x0fff, 0x4eee, 0x3ddd, 0x0edd, 0x0dee, 0x0fff, 0x0fff, 0x0dee, 0x0def, 0x08ab, 0x0fff, 0x7fff, 0xfabc, 0xf356, 0x0457, 0x0467, 0x0fff, 0x0bcd, 0x4bde, 0x9bcc, 0x8dee, 0x8eff, 0x8fff, 0x9fff, 0xadee, 0xeccd, 0xf689, 0xc357, 0x2356, 0x0356, 0x0467, 0x0467, 0x0fff, 0x0ccd, 0x0bdd, 0x0cdd, 0x0aaa, 0x2234, 0x4135, 0x4346, 0x5356, 0x2246, 0x0346, 0x0356, 0x0467, 0x0356, 0x0467, 0x0467, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff, 0x0fff ]; Surface sdl_logo = Surface(sdl_pixels.ptr, 16, 16, 16, Masks(0x0f00, 0x00f0, 0x000f, 0xf000)); sdl_logo.saveToFile("samples/images/sdl_logo.png"); wnd.setIcon(sdl_logo); Surface blit_test = Surface(64, 64); blit_test.blit(xs); Rect dest = Rect(16, 0, 16, 16); blit_test.blit(sdl_logo, null, &dest); blit_test.saveToFile("samples/images/blit_test.png"); string filenameWithTail = "samples/images/XS.png;trailing chars goes here"; string cleanFilename = filenameWithTail[0 .. 21]; writeln("Clean filename is ", cleanFilename); Surface xs2 = Surface(cleanFilename); xs2.saveToFile("samples/images/xs2.png"); Surface wiki_srfc = Surface("samples/images/wiki.png"); wiki_srfc.saveToFile("samples/images/wiki_copy.png"); Texture wiki_tex = Texture(wiki_srfc); wiki_tex.setSmooth(true); writeln(wiki_tex.id, ':', wiki_tex.width, ':', wiki_tex.height, ':', wiki_tex.format); Joystick controller; // Check for joysticks if (Joystick.count() < 1) writeln("Warning: No joysticks connected!"); else { controller = Joystick(0); writeln("Game Controller Name: ", controller.getName()); } Sprite wiki = new Sprite(wiki_tex); wiki.setPosition(300, 300); Texture ship_tex = Texture(Surface("samples/images/starship_sprite.png")); Spritesheet ship = new Spritesheet(ship_tex, Rect(0, 0, 64, 64)); ship.setPosition(200, 32); ship.setRotationCenter(32, 32); Shape qs = new Shape( Geometry.Quads, [ Vertex( 75, 75), Vertex(175, 75), Vertex(175, 175), Vertex( 75, 175) ] ); qs.fill = Shape.Fill.Line; qs.setColor(Color4b.Blue); qs.setPosition(250, 10); Shape circle = new Shape(25, Vector2f(180, 380)); circle.setColor(Color4b.Green); Shape many = new Shape(Geometry.Quads, [ Vertex(55, 55), Vertex(60, 55), Vertex(60, 60), Vertex(55, 60), Vertex(15, 15), Vertex(20, 15), Vertex(20, 20), Vertex(15, 20), Vertex(30, 30), Vertex(35, 30), Vertex(35, 35), Vertex(30, 35), Vertex(40, 40), Vertex(45, 40), Vertex(45, 45), Vertex(40, 45) ] ); many.fill = Shape.Fill.Full; many.setColor(Color4b.Red); Shape texQuad = new Shape( Geometry.Quads, [ Vertex( 0, 0), Vertex(140, 0), Vertex(140, 140), Vertex( 0, 140) ] ); texQuad.setTexture(&wiki_tex); texQuad.setColor(Color4b.Green.withTransparency(125)); texQuad.setPosition(175, 425); texQuad.setRotationCenter(70, 70); texQuad.setRotation(25); Shape tri = new Shape( Geometry.TriangleStrip, [ Vertex(Vector2f(100, 100), Vector2f.init, Color4b.Red), Vertex(Vector2f(300, 100), Vector2f.init, Color4b.Green), Vertex(Vector2f( 0, 300), Vector2f.init, Color4b.Blue), ] ); Shape s1 = new Shape(Geometry.Quads, [Vertex(0, 0), Vertex(100, 0), Vertex(100, 100), Vertex(0, 100)]); s1.setColor(Color4b.Green); //s1.setRotationCenter(50, 50); s1.setOrigin(50, 50); s1.setRotation(45); s1.setPosition(240, 320); Shape s2 = new Shape(Geometry.Quads, [Vertex(0, 0), Vertex(50, 0), Vertex(50, 50), Vertex(0, 50)]); s2.setColor(Color4b.Blue); //s2.setRotationCenter(25, 25); s2.setOrigin(25, 25); s2.setPosition(240, 320); Shape s3 = new Shape(10, Vector2f(0, 0)); s3.setColor(Color4b.Red); s3.setRotation(90); s3.setPosition(240, 320); Font fnt = Font("samples/font/arial.ttf", 22); Text curFps = new Text(fnt); curFps.setPosition(200, 10); StopWatch fps_sw; //StopWatch sw; //immutable ubyte FPS = 60; //immutable ubyte TicksPerFrame = 1000 / FPS; Sound explosion_sound = Sound("samples/audio/expl.wav"); //explosion_sound.setVolume(75); Surface explo_srfc = Surface("samples/images/explosion.png"); Texture explosion_tex = Texture(explo_srfc); Spritesheet explosion = new Spritesheet(explosion_tex, Rect(0, 0, 256, 256)); explosion.setPosition(100, 100); Texture frames_tex = Texture(Surface("samples/images/frames.png")); Spritesheet frames = new Spritesheet(frames_tex, Rect(0, 0, 32, 32)); ubyte idx = 0; Event event; // //ushort fps = 0; Shape fightbox = new Shape(Geometry.Quads, [ Vertex(50 , 50 ), Vertex(200 , 50 ), Vertex(200 , 200), Vertex(50 , 200) ] ); fightbox.fill = Shape.Fill.Line; fightbox.setColor(Color4b.White); fightbox.lineWidth = 4; Surface test_surface = Surface("samples/images/orange.png"); Texture test_texture = Texture(test_surface); Sprite test_sprite = new Sprite(test_texture); test_sprite.setPosition(50, 100); bool loop = true; while (loop) { //if (sw.getElapsedTicks() < TicksPerFrame) // continue; //else // sw.reset(); //if (sw.getElapsedTime().msecs >= 1000) { // printf("FPS: %d\n", fps); // curFps.format("Current FPS: %d.", fps); // fps = 0; // sw.reset(); //} else // fps++; // curFps.format("Current FPS: %d.", fps_sw.getCurrentFPS()); while (wnd.poll(&event)) { if (event.type == Event.Type.Quit) { loop = false; } else if (event.type == Event.Type.KeyDown) { if (event.keyboard.key == Keyboard.Key.Esc) wnd.push(Event.Type.Quit); else if (event.keyboard.key == Keyboard.Key.S) wnd.capture().saveToFile("samples/images/capture.png"); else if (event.keyboard.key == Keyboard.Key.Space) { explosion_sound.play(); explosion.slideTextureRect(); } else if (event.keyboard.key == Keyboard.Key.Dot) { frames.selectFrame(idx); writeln(idx); idx++; ship.rotate(20); } else if (event.keyboard.key == Keyboard.Key.Comma) writeln("Window is on display ", wnd.getDisplayIndex()); else if (event.keyboard.key == Keyboard.Key.F) wnd.toggleFullscreen(); else if (event.keyboard.key == Keyboard.Key.D) wnd.setFullscreen(Window.Style.Desktop); } else if (event.type == Event.Type.JoystickAxisMotion) { writeln("Joystick #", event.joystick.motion.which, " moved about ", event.joystick.motion.value, " around axis ", event.joystick.motion.axis); } else if (event.type == Event.Type.JoystickHatMotion) { writeln("Joystick #", event.joystick.hat.which, " moved about ", event.joystick.hat.value, " around hat ", event.joystick.hat.hat); } else if (event.type == Event.Type.JoystickButtonDown) { writeln("Joystick #", event.joystick.button.which, " pressed button ", event.joystick.button.button); } } wnd.clear(); wnd.draw(ship); wnd.draw(wiki); wnd.draw(qs); wnd.draw(circle); wnd.draw(many); wnd.draw(texQuad); wnd.draw(tri); wnd.draw(s1); wnd.draw(s2); wnd.draw(s3); wnd.draw(explosion); wnd.draw(frames); wnd.draw(curFps); if (Keyboard.isPressed(Keyboard.Key.Esc)) { loop = false; } auto vect = wnd.getPosition(); if (Keyboard.isPressed(Keyboard.Key.F)) { writeln("Window Position = x(",vect.x, "), y(",vect.y,")"); } wnd.draw(test_sprite); // #1 wnd.draw(fightbox);// #2 wnd.draw(test_sprite); // #3 wnd.display(); } }
D
var int npcobsessedbydmt; var int npcobsessedbydmt_brutus; var int npcobsessedbydmt_engrom; var int npcobsessedbydmt_vino; var int npcobsessedbydmt_malak; var int npcobsessedbydmt_fernando; var int npcobsessedbydmt_bromor; var int npcobsessedbydmt_sekob; var int npcobsessedbydmt_randolph; func void b_dmtwurm() { AI_Output(self,other,"DIA_NoName_ObsessedByDMT_19_00"); //My tě vidět, červe. Ty nemoct utéct. }; func void b_npcclearobsessionbydmt(var C_NPC medium) { AI_StopProcessInfos(medium); if(NPCOBSESSEDBYDMT == TRUE) { Npc_RemoveInvItems(medium,itar_dementor,1); AI_EquipBestArmor(medium); NPCOBSESSEDBYDMT = FALSE; medium.flags = 0; b_attack(medium,other,AR_NONE,1); Wld_StopEffect("DEMENTOR_FX"); Snd_Play("MFX_FEAR_CAST"); b_scisobsessed(medium); if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(malak)) { Npc_SetTarget(bau_962_bauer,other); AI_StartState(bau_962_bauer,zs_flee,0,""); Npc_SetTarget(bau_964_bauer,other); AI_StartState(bau_964_bauer,zs_flee,0,""); Npc_SetTarget(bau_965_bauer,other); AI_StartState(bau_965_bauer,zs_flee,0,""); Npc_SetTarget(bau_966_bauer,other); AI_StartState(bau_966_bauer,zs_flee,0,""); Npc_SetTarget(bau_967_bauer,other); AI_StartState(bau_967_bauer,zs_flee,0,""); Npc_SetTarget(bau_968_bauer,other); AI_StartState(bau_968_bauer,zs_flee,0,""); Npc_SetTarget(bau_969_bauer,other); AI_StartState(bau_969_bauer,zs_flee,0,""); }; }; }; func void b_npcobsessedbydmt(var C_NPC medium) { if(NPCOBSESSEDBYDMT == FALSE) { Wld_PlayEffect("DEMENTOR_FX",hero,hero,0,0,0,FALSE); CreateInvItems(medium,itar_dementor,1); AI_UnequipArmor(medium); AI_EquipArmor(medium,itar_dementor); AI_PlayAni(medium,"T_PRACTICEMAGIC5"); Wld_PlayEffect("spellFX_Fear",medium,medium,0,0,0,FALSE); NPCOBSESSEDBYDMT = TRUE; if(Npc_HasItems(medium,itwr_dementorobsessionbook_mis) == FALSE) { CreateInvItems(medium,itwr_dementorobsessionbook_mis,1); }; if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(brutus)) { if(MIS_OCGATEOPEN == TRUE) { AI_Output(self,other,"DIA_Brutus_ObsessedByDMT_19_00"); //Otevření brány představovat velká služba našemu Pán, malý smrtelník. My postavit svatyni na jeho počest na tvůj hrob. } else { b_dmtwurm(); }; NPCOBSESSEDBYDMT_BRUTUS = TRUE; } else if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(engrom)) { AI_Output(self,other,"DIA_Engrom_ObsessedByDMT_19_00"); //Obrať sebe, dokud pro tebe nebýt příliš pozdě. NPCOBSESSEDBYDMT_ENGROM = TRUE; } else if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(vino)) { AI_Output(self,other,"DIA_Vino_ObsessedByDMT_19_00"); //Už brzo jim budeme všem velet. Ty pro nás se svými žalostnými magickými schopnostmi nepředstavuješ žádné nebezpečí. NPCOBSESSEDBYDMT_VINO = TRUE; } else if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(malak)) { AI_Output(self,other,"DIA_Malak_ObsessedByDMT_19_00"); //Nemůžeš tuhle duši nijak zachránit, mágu. Nikdy se nevrátí do svého těla. NPCOBSESSEDBYDMT_MALAK = TRUE; } else if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(sekob)) { AI_Output(self,other,"DIA_Sekob_ObsessedByDMT_19_00"); //Vzdej to, mágu. Nemůžeš vyhrát. NPCOBSESSEDBYDMT_SEKOB = TRUE; } else if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(randolph)) { AI_Output(self,other,"DIA_Randolph_ObsessedByDMT_19_00"); //Nezabývej se se slabochy. Všechny si je podrobíme. NPCOBSESSEDBYDMT_RANDOLPH = TRUE; } else { b_dmtwurm(); if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(bromor)) { NPCOBSESSEDBYDMT_BROMOR = TRUE; }; if(Hlp_GetInstanceID(medium) == Hlp_GetInstanceID(fernando)) { NPCOBSESSEDBYDMT_FERNANDO = TRUE; }; }; b_giveplayerxp(XP_SCFOUNDOBSESSEDNPC); } else { b_npcclearobsessionbydmt(medium); }; };
D
/Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintRelation.o : /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Constraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConfig.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDescription.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsets.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintItem.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMaker.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelation.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Debugging.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/LayoutConstraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutGuide+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintRelation~partial.swiftmodule : /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Constraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConfig.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDescription.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsets.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintItem.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMaker.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelation.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Debugging.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/LayoutConstraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutGuide+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintRelation~partial.swiftdoc : /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Constraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConfig.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDescription.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsets.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintItem.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMaker.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintRelation.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintView.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/Debugging.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/LayoutConstraint.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutGuide+Extensions.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
/** Generator for direct compiler builds. Copyright: © 2013-2013 rejectedsoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module dub.generators.build; import dub.compilers.compiler; import dub.generators.generator; import dub.internal.utils; import dub.internal.vibecompat.core.file; import dub.internal.vibecompat.core.log; import dub.internal.vibecompat.inet.path; import dub.package_; import dub.packagemanager; import dub.project; import std.algorithm; import std.array; import std.conv; import std.exception; import std.file; import std.process; import std.string; class BuildGenerator : ProjectGenerator { private { Project m_project; PackageManager m_packageMan; Path[] m_temporaryFiles; } this(Project app, PackageManager mgr) { super(app); m_project = app; m_packageMan = mgr; } override void generateTargets(GeneratorSettings settings, in TargetInfo[string] targets) { scope (exit) cleanupTemporaries(); bool[string] visited; void buildTargetRec(string target) { if (target in visited) return; visited[target] = true; auto ti = targets[target]; foreach (dep; ti.dependencies) buildTargetRec(dep); auto bs = ti.buildSettings.dup; if (bs.targetType != TargetType.staticLibrary) foreach (ldep; ti.linkDependencies) { auto dbs = targets[ldep].buildSettings; bs.addSourceFiles((Path(dbs.targetPath) ~ getTargetFileName(dbs, settings.platform)).toNativeString()); } buildTarget(settings, bs, ti.pack, ti.config); } // build all targets buildTargetRec(m_project.mainPackage.name); // run the generated executable auto buildsettings = targets[m_project.mainPackage.name].buildSettings; if (settings.run && !(buildsettings.options & BuildOptions.syntaxOnly)) { auto exe_file_path = Path(buildsettings.targetPath) ~ getTargetFileName(buildsettings, settings.platform); runTarget(exe_file_path, buildsettings, settings.runArgs); } } private void buildTarget(GeneratorSettings settings, BuildSettings buildsettings, in Package pack, string config) { auto cwd = Path(getcwd()); bool generate_binary = !(buildsettings.options & BuildOptions.syntaxOnly); auto build_id = computeBuildID(config, buildsettings, settings); // make all paths relative to shrink the command line string makeRelative(string path) { auto p = Path(path); if (p.absolute) p = p.relativeTo(cwd); return p.toNativeString(); } foreach (ref f; buildsettings.sourceFiles) f = makeRelative(f); foreach (ref p; buildsettings.importPaths) p = makeRelative(p); foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p); // perform the actual build if (settings.rdmd) performRDMDBuild(settings, buildsettings, pack, config); else if (settings.direct || !generate_binary) performDirectBuild(settings, buildsettings, pack, config); else performCachedBuild(settings, buildsettings, pack, config, build_id); // run post-build commands if (buildsettings.postBuildCommands.length) { logInfo("Running post-build commands..."); runBuildCommands(buildsettings.postBuildCommands, buildsettings); } } void performCachedBuild(GeneratorSettings settings, BuildSettings buildsettings, in Package pack, string config, string build_id) { auto cwd = Path(getcwd()); auto target_path = pack.path ~ format(".dub/build/%s/", build_id); if (!settings.force && isUpToDate(target_path, buildsettings, settings.platform)) { logInfo("Target is up to date. Using existing build in %s. Use --force to force a rebuild.", target_path.toNativeString()); copyTargetFile(target_path, buildsettings, settings.platform); return; } if (!isWritableDir(target_path, true)) { logInfo("Build directory %s is not writable. Falling back to direct build in the system's temp folder.", target_path.relativeTo(cwd).toNativeString()); performDirectBuild(settings, buildsettings, pack, config); return; } // determine basic build properties auto generate_binary = !(buildsettings.options & BuildOptions.syntaxOnly); // run pre-/post-generate commands and copy "copyFiles" prepareGeneration(buildsettings); finalizeGeneration(buildsettings, generate_binary); logInfo("Building %s configuration \"%s\", build type %s.", pack.name, config, settings.buildType); if( buildsettings.preBuildCommands.length ){ logInfo("Running pre-build commands..."); runBuildCommands(buildsettings.preBuildCommands, buildsettings); } // override target path auto cbuildsettings = buildsettings; cbuildsettings.targetPath = target_path.relativeTo(cwd).toNativeString(); buildWithCompiler(settings, cbuildsettings); copyTargetFile(target_path, buildsettings, settings.platform); } void performRDMDBuild(GeneratorSettings settings, ref BuildSettings buildsettings, in Package pack, string config) { auto cwd = Path(getcwd()); //Added check for existance of [AppNameInPackagejson].d //If exists, use that as the starting file. auto mainsrc = buildsettings.mainSourceFile.length ? pack.path ~ buildsettings.mainSourceFile : getMainSourceFile(pack); // do not pass all source files to RDMD, only the main source file buildsettings.sourceFiles = buildsettings.sourceFiles.filter!(s => !s.endsWith(".d"))().array(); settings.compiler.prepareBuildSettings(buildsettings, BuildSetting.commandLine); auto generate_binary = !buildsettings.dflags.canFind("-o-"); // Create start script, which will be used by the calling bash/cmd script. // build "rdmd --force %DFLAGS% -I%~dp0..\source -Jviews -Isource @deps.txt %LIBS% source\app.d" ~ application arguments // or with "/" instead of "\" Path exe_file_path; bool tmp_target = false; if (generate_binary) { if (settings.run && !isWritableDir(Path(buildsettings.targetPath), true)) { import std.random; auto rnd = to!string(uniform(uint.min, uint.max)) ~ "-"; auto tmpdir = getTempDir()~".rdmd/source/"; buildsettings.targetPath = tmpdir.toNativeString(); buildsettings.targetName = rnd ~ buildsettings.targetName; m_temporaryFiles ~= tmpdir; tmp_target = true; } exe_file_path = Path(buildsettings.targetPath) ~ getTargetFileName(buildsettings, settings.platform); settings.compiler.setTarget(buildsettings, settings.platform); } logDiagnostic("Application output name is '%s'", getTargetFileName(buildsettings, settings.platform)); string[] flags = ["--build-only", "--compiler="~settings.platform.compilerBinary]; if (settings.force) flags ~= "--force"; flags ~= buildsettings.dflags; flags ~= mainsrc.relativeTo(cwd).toNativeString(); prepareGeneration(buildsettings); finalizeGeneration(buildsettings, generate_binary); if (buildsettings.preBuildCommands.length){ logInfo("Running pre-build commands..."); runCommands(buildsettings.preBuildCommands); } logInfo("Building configuration "~config~", build type "~settings.buildType); logInfo("Running rdmd..."); logDiagnostic("rdmd %s", join(flags, " ")); auto rdmd_pid = spawnProcess("rdmd" ~ flags); auto result = rdmd_pid.wait(); enforce(result == 0, "Build command failed with exit code "~to!string(result)); if (tmp_target) { m_temporaryFiles ~= exe_file_path; foreach (f; buildsettings.copyFiles) m_temporaryFiles ~= Path(buildsettings.targetPath).parentPath ~ Path(f).head; } } void performDirectBuild(GeneratorSettings settings, ref BuildSettings buildsettings, in Package pack, string config) { auto cwd = Path(getcwd()); auto generate_binary = !(buildsettings.options & BuildOptions.syntaxOnly); auto is_static_library = buildsettings.targetType == TargetType.staticLibrary || buildsettings.targetType == TargetType.library; // make file paths relative to shrink the command line foreach (ref f; buildsettings.sourceFiles) { auto fp = Path(f); if( fp.absolute ) fp = fp.relativeTo(cwd); f = fp.toNativeString(); } logInfo("Building configuration \""~config~"\", build type "~settings.buildType); prepareGeneration(buildsettings); // make all target/import paths relative string makeRelative(string path) { auto p = Path(path); if (p.absolute) p = p.relativeTo(cwd); return p.toNativeString(); } buildsettings.targetPath = makeRelative(buildsettings.targetPath); foreach (ref p; buildsettings.importPaths) p = makeRelative(p); foreach (ref p; buildsettings.stringImportPaths) p = makeRelative(p); Path exe_file_path; bool is_temp_target = false; if (generate_binary) { if (settings.run && !isWritableDir(Path(buildsettings.targetPath), true)) { import std.random; auto rnd = to!string(uniform(uint.min, uint.max)); auto tmppath = getTempDir()~("dub/"~rnd~"/"); buildsettings.targetPath = tmppath.toNativeString(); m_temporaryFiles ~= tmppath; is_temp_target = true; } exe_file_path = Path(buildsettings.targetPath) ~ getTargetFileName(buildsettings, settings.platform); } finalizeGeneration(buildsettings, generate_binary); if( buildsettings.preBuildCommands.length ){ logInfo("Running pre-build commands..."); runBuildCommands(buildsettings.preBuildCommands, buildsettings); } buildWithCompiler(settings, buildsettings); if (is_temp_target) { m_temporaryFiles ~= exe_file_path; foreach (f; buildsettings.copyFiles) m_temporaryFiles ~= Path(buildsettings.targetPath).parentPath ~ Path(f).head; } } private string computeBuildID(string config, in BuildSettings buildsettings, GeneratorSettings settings) { import std.digest.digest; import std.digest.md; MD5 hash; hash.start(); void addHash(in string[] strings...) { foreach (s; strings) { hash.put(cast(ubyte[])s); hash.put(0); } hash.put(0); } addHash(buildsettings.versions); addHash(buildsettings.debugVersions); //addHash(buildsettings.versionLevel); //addHash(buildsettings.debugLevel); addHash(buildsettings.dflags); addHash(buildsettings.lflags); addHash((cast(uint)buildsettings.options).to!string); addHash(buildsettings.stringImportPaths); addHash(settings.platform.architecture); addHash(settings.platform.compiler); //addHash(settings.platform.frontendVersion); auto hashstr = hash.finish().toHexString().idup; return format("%s-%s-%s-%s-%s-%s", config, settings.buildType, settings.platform.platform.join("."), settings.platform.architecture.join("."), settings.platform.compilerBinary, hashstr); } private void copyTargetFile(Path build_path, BuildSettings buildsettings, BuildPlatform platform) { auto filename = getTargetFileName(buildsettings, platform); auto src = build_path ~ filename; logDiagnostic("Copying target from %s to %s", src.toNativeString(), buildsettings.targetPath); copyFile(src, Path(buildsettings.targetPath) ~ filename, true); } private bool isUpToDate(Path target_path, BuildSettings buildsettings, BuildPlatform platform) { import std.datetime; auto targetfile = target_path ~ getTargetFileName(buildsettings, platform); if (!existsFile(targetfile)) { logDiagnostic("Target '%s' doesn't exist, need rebuild.", targetfile.toNativeString()); return false; } auto targettime = getFileInfo(targetfile).timeModified; auto allfiles = appender!(string[]); allfiles ~= buildsettings.sourceFiles; allfiles ~= buildsettings.importFiles; allfiles ~= buildsettings.stringImportFiles; // TODO: add library files /*foreach (p; m_project.getTopologicalPackageList()) allfiles ~= p.packageInfoFile.toNativeString();*/ foreach (file; allfiles.data) { auto ftime = getFileInfo(file).timeModified; if (ftime > Clock.currTime) logWarn("File '%s' was modified in the future. Please re-save.", file); if (ftime > targettime) { logDiagnostic("File '%s' modified, need rebuild.", file); return false; } } return true; } void buildWithCompiler(GeneratorSettings settings, BuildSettings buildsettings) { auto generate_binary = !(buildsettings.options & BuildOptions.syntaxOnly); auto is_static_library = buildsettings.targetType == TargetType.staticLibrary || buildsettings.targetType == TargetType.library; Path target_file; scope (failure) { logInfo("FAIL %s %s %s" , buildsettings.targetPath, buildsettings.targetName, buildsettings.targetType); auto tpath = Path(buildsettings.targetPath) ~ getTargetFileName(buildsettings, settings.platform); if (generate_binary && existsFile(tpath)) removeFile(tpath); } /* NOTE: for DMD experimental separate compile/link is used, but this is not yet implemented on the other compilers. Later this should be integrated somehow in the build process (either in the package.json, or using a command line flag) */ if (settings.platform.compilerBinary != "dmd" || !generate_binary || is_static_library) { // setup for command line if (generate_binary) settings.compiler.setTarget(buildsettings, settings.platform); settings.compiler.prepareBuildSettings(buildsettings, BuildSetting.commandLine); // don't include symbols of dependencies (will be included by the top level target) if (is_static_library) buildsettings.sourceFiles = buildsettings.sourceFiles.filter!(f => !f.isLinkerFile()).array; // invoke the compiler logInfo("Running %s...", settings.platform.compilerBinary); settings.compiler.invoke(buildsettings, settings.platform); } else { // determine path for the temporary object file string tempobjname = buildsettings.targetName; version(Windows) tempobjname ~= ".obj"; else tempobjname ~= ".o"; Path tempobj = Path(buildsettings.targetPath) ~ tempobjname; // setup linker command line auto lbuildsettings = buildsettings; lbuildsettings.sourceFiles = lbuildsettings.sourceFiles.filter!(f => isLinkerFile(f)).array; settings.compiler.setTarget(lbuildsettings, settings.platform); settings.compiler.prepareBuildSettings(lbuildsettings, BuildSetting.commandLineSeparate|BuildSetting.sourceFiles); // setup compiler command line buildsettings.libs = null; buildsettings.lflags = null; buildsettings.addDFlags("-c", "-of"~tempobj.toNativeString()); buildsettings.sourceFiles = buildsettings.sourceFiles.filter!(f => !isLinkerFile(f)).array; settings.compiler.prepareBuildSettings(buildsettings, BuildSetting.commandLine); logInfo("Compiling..."); settings.compiler.invoke(buildsettings, settings.platform); logInfo("Linking..."); settings.compiler.invokeLinker(lbuildsettings, settings.platform, [tempobj.toNativeString()]); } } void runTarget(Path exe_file_path, in BuildSettings buildsettings, string[] run_args) { if (buildsettings.targetType == TargetType.executable) { auto cwd = Path(getcwd()); auto runcwd = cwd; if (buildsettings.workingDirectory.length) { runcwd = Path(buildsettings.workingDirectory); if (!runcwd.absolute) runcwd = cwd ~ runcwd; logDiagnostic("Switching to %s", runcwd.toNativeString()); chdir(runcwd.toNativeString()); } scope(exit) chdir(cwd.toNativeString()); if (!exe_file_path.absolute) exe_file_path = cwd ~ exe_file_path; auto exe_path_string = exe_file_path.relativeTo(runcwd).toNativeString(); version (Posix) { if (!exe_path_string.startsWith(".") && !exe_path_string.startsWith("/")) exe_path_string = "./" ~ exe_path_string; } version (Windows) { if (!exe_path_string.startsWith(".") && (exe_path_string.length < 2 || exe_path_string[1] != ':')) exe_path_string = ".\\" ~ exe_path_string; } logInfo("Running %s %s", exe_path_string, run_args.join(" ")); auto prg_pid = spawnProcess(exe_path_string ~ run_args); auto result = prg_pid.wait(); enforce(result == 0, "Program exited with code "~to!string(result)); } else logInfo("Target is a library. Skipping execution."); } void cleanupTemporaries() { foreach_reverse (f; m_temporaryFiles) { try { if (f.endsWithSlash) rmdir(f.toNativeString()); else remove(f.toNativeString()); } catch (Exception e) { logWarn("Failed to remove temporary file '%s': %s", f.toNativeString(), e.msg); logDiagnostic("Full error: %s", e.toString().sanitize); } } m_temporaryFiles = null; } } private Path getMainSourceFile(in Package prj) { foreach (f; ["source/app.d", "src/app.d", "source/"~prj.name~".d", "src/"~prj.name~".d"]) if (existsFile(prj.path ~ f)) return prj.path ~ f; return prj.path ~ "source/app.d"; } unittest { version (Windows) { assert(isLinkerFile("test.obj")); assert(isLinkerFile("test.lib")); assert(isLinkerFile("test.res")); assert(!isLinkerFile("test.o")); assert(!isLinkerFile("test.d")); } else { assert(isLinkerFile("test.o")); assert(isLinkerFile("test.a")); assert(isLinkerFile("test.so")); assert(isLinkerFile("test.dylib")); assert(!isLinkerFile("test.obj")); assert(!isLinkerFile("test.d")); } }
D
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/EventLoopFuture/Future+Transform.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue+Sequence.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolSource.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Future.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Throwing.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Optional.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolItem.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Transform.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolError.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureExtensions.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/Exports.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/EventLoopFuture/Future+Transform~partial.swiftmodule : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue+Sequence.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolSource.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Future.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Throwing.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Optional.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolItem.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Transform.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolError.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureExtensions.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/Exports.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/EventLoopFuture/Future+Transform~partial.swiftdoc : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue+Sequence.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolSource.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Future.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Throwing.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Optional.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolItem.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Transform.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolError.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureExtensions.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/Exports.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/EventLoopFuture/Future+Transform~partial.swiftsourceinfo : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue+Sequence.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolSource.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Future.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/EventLoopFutureQueue.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Throwing.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Optional.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/EventLoopGroupConnectionPool.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolItem.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Transform.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Collection+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoop/EventLoop+Flatten.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/Future+Collection.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/ConnectionPool/ConnectionPoolError.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureExtensions.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/EventLoopFuture/FutureOperators.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/async-kit/Sources/AsyncKit/Exports.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP2.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_Vapor3.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHPACK.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CJWTKitBoringSSL.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FCM.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/BSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FineJSON.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresNIO.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNS.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWT.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOExtrasZlib.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Backtrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CBacktrace.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolConformance.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombine.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtocolType.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKittenCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoCore.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketInfrastructure.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ApodiniDatabase.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ProtobufferCoding.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Casting.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineDispatch.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Apodini.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKitBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoKitten.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SwifCron.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_MongoKittenCrypto.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CURLParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RichJSONParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CMultipartParser.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMySQLDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentSQLiteDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentMongoDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentPostgresDriver.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTVapor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AssociatedTypeRequirementsVisitor.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOExtras.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Jobs.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Metrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CoreMetrics.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTransportServices.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOTestUtils.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Yams.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/_NIO1APIShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CCryptoBoringSSLShims.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Notifications.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/COpenCombineHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ValuePointers.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/APNSwift.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenAPIKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MySQLKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/JWTKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/SQLiteKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/RoutingKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/PostgresKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/WebSocketKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/FluentKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/AsyncHTTPClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/DNSClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MongoClient.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/XCTFluent.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CContext.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Meow.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Leaf.build/Buffer/BufferProtocol.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Byte+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Constants.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Context.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/HTMLEscape.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafComponent.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Link.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/List.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Node+Rendered.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/NSData+File.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Parameter.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Render.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Spawn.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/BasicTag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Tag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/TagTemplate.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Else.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Embed.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Equal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Export.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Extend.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/If.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Import.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Index.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Loop.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Raw.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Node.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/PathIndexable.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Leaf.build/BufferProtocol~partial.swiftmodule : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Byte+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Constants.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Context.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/HTMLEscape.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafComponent.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Link.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/List.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Node+Rendered.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/NSData+File.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Parameter.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Render.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Spawn.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/BasicTag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Tag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/TagTemplate.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Else.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Embed.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Equal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Export.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Extend.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/If.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Import.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Index.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Loop.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Raw.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Node.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/PathIndexable.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Leaf.build/BufferProtocol~partial.swiftdoc : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Byte+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Constants.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Context.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/HTMLEscape.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafComponent.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/LeafError.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Link.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/List.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Node+Rendered.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/NSData+File.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Parameter.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Render.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem+Spawn.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Stem.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer+Leaf.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/Buffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Buffer/BufferProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/BasicTag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Tag.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/TagTemplate.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Else.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Embed.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Equal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Export.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Extend.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/If.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Import.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Index.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Loop.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Raw.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Uppercased.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Tag/Models/Variable.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Node.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/PathIndexable.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Polymorphic.swiftmodule
D
CheckVowel.elf: file format elf32-littleriscv Disassembly of section .text: 01000000 <main>: 1000000: fd010113 addi sp,sp,-48 1000004: 02112623 sw ra,44(sp) 1000008: 00012e23 sw zero,28(sp) 100000c: 00012c23 sw zero,24(sp) 1000010: 010007b7 lui a5,0x1000 1000014: 1e87a603 lw a2,488(a5) # 10001e8 <fail+0xc> 1000018: 1e878713 addi a4,a5,488 100001c: 00472683 lw a3,4(a4) 1000020: 1e878713 addi a4,a5,488 1000024: 00872703 lw a4,8(a4) 1000028: 00c12223 sw a2,4(sp) 100002c: 00d12423 sw a3,8(sp) 1000030: 00e12623 sw a4,12(sp) 1000034: 1e878793 addi a5,a5,488 1000038: 00c7c783 lbu a5,12(a5) 100003c: 00f10823 sb a5,16(sp) 1000040: 000108a3 sb zero,17(sp) 1000044: 00010923 sb zero,18(sp) 1000048: 000109a3 sb zero,19(sp) 100004c: 00010a23 sb zero,20(sp) 1000050: 00010aa3 sb zero,21(sp) 1000054: 00010b23 sb zero,22(sp) 1000058: 00010ba3 sb zero,23(sp) 100005c: 00012e23 sw zero,28(sp) 1000060: 10c0006f j 100016c <main+0x16c> 1000064: 01c12783 lw a5,28(sp) 1000068: 02010713 addi a4,sp,32 100006c: 00f707b3 add a5,a4,a5 1000070: fe47c703 lbu a4,-28(a5) 1000074: 06100793 li a5,97 1000078: 0cf70e63 beq a4,a5,1000154 <main+0x154> 100007c: 01c12783 lw a5,28(sp) 1000080: 02010713 addi a4,sp,32 1000084: 00f707b3 add a5,a4,a5 1000088: fe47c703 lbu a4,-28(a5) 100008c: 04100793 li a5,65 1000090: 0cf70263 beq a4,a5,1000154 <main+0x154> 1000094: 01c12783 lw a5,28(sp) 1000098: 02010713 addi a4,sp,32 100009c: 00f707b3 add a5,a4,a5 10000a0: fe47c703 lbu a4,-28(a5) 10000a4: 06500793 li a5,101 10000a8: 0af70663 beq a4,a5,1000154 <main+0x154> 10000ac: 01c12783 lw a5,28(sp) 10000b0: 02010713 addi a4,sp,32 10000b4: 00f707b3 add a5,a4,a5 10000b8: fe47c703 lbu a4,-28(a5) 10000bc: 04500793 li a5,69 10000c0: 08f70a63 beq a4,a5,1000154 <main+0x154> 10000c4: 01c12783 lw a5,28(sp) 10000c8: 02010713 addi a4,sp,32 10000cc: 00f707b3 add a5,a4,a5 10000d0: fe47c703 lbu a4,-28(a5) 10000d4: 06900793 li a5,105 10000d8: 06f70e63 beq a4,a5,1000154 <main+0x154> 10000dc: 01c12783 lw a5,28(sp) 10000e0: 02010713 addi a4,sp,32 10000e4: 00f707b3 add a5,a4,a5 10000e8: fe47c703 lbu a4,-28(a5) 10000ec: 04900793 li a5,73 10000f0: 06f70263 beq a4,a5,1000154 <main+0x154> 10000f4: 01c12783 lw a5,28(sp) 10000f8: 02010713 addi a4,sp,32 10000fc: 00f707b3 add a5,a4,a5 1000100: fe47c703 lbu a4,-28(a5) 1000104: 06f00793 li a5,111 1000108: 04f70663 beq a4,a5,1000154 <main+0x154> 100010c: 01c12783 lw a5,28(sp) 1000110: 02010713 addi a4,sp,32 1000114: 00f707b3 add a5,a4,a5 1000118: fe47c703 lbu a4,-28(a5) 100011c: 04f00793 li a5,79 1000120: 02f70a63 beq a4,a5,1000154 <main+0x154> 1000124: 01c12783 lw a5,28(sp) 1000128: 02010713 addi a4,sp,32 100012c: 00f707b3 add a5,a4,a5 1000130: fe47c703 lbu a4,-28(a5) 1000134: 07500793 li a5,117 1000138: 00f70e63 beq a4,a5,1000154 <main+0x154> 100013c: 01c12783 lw a5,28(sp) 1000140: 02010713 addi a4,sp,32 1000144: 00f707b3 add a5,a4,a5 1000148: fe47c703 lbu a4,-28(a5) 100014c: 05500793 li a5,85 1000150: 00f71863 bne a4,a5,1000160 <main+0x160> 1000154: 01812783 lw a5,24(sp) 1000158: 00178793 addi a5,a5,1 100015c: 00f12c23 sw a5,24(sp) 1000160: 01c12783 lw a5,28(sp) 1000164: 00178793 addi a5,a5,1 1000168: 00f12e23 sw a5,28(sp) 100016c: 01c12703 lw a4,28(sp) 1000170: 01300793 li a5,19 1000174: eee7d8e3 bge a5,a4,1000064 <main+0x64> 1000178: 01812503 lw a0,24(sp) 100017c: 018000ef jal ra,1000194 <test> 1000180: 00050793 mv a5,a0 1000184: 00078513 mv a0,a5 1000188: 02c12083 lw ra,44(sp) 100018c: 03010113 addi sp,sp,48 1000190: 00008067 ret 01000194 <test>: 1000194: fe010113 addi sp,sp,-32 1000198: 00112e23 sw ra,28(sp) 100019c: 00a12623 sw a0,12(sp) 10001a0: 00c12703 lw a4,12(sp) 10001a4: 00300793 li a5,3 10001a8: 00f71863 bne a4,a5,10001b8 <test+0x24> 10001ac: 024000ef jal ra,10001d0 <pass> 10001b0: 00050793 mv a5,a0 10001b4: 00c0006f j 10001c0 <test+0x2c> 10001b8: 024000ef jal ra,10001dc <fail> 10001bc: 00050793 mv a5,a0 10001c0: 00078513 mv a0,a5 10001c4: 01c12083 lw ra,28(sp) 10001c8: 02010113 addi sp,sp,32 10001cc: 00008067 ret 010001d0 <pass>: 10001d0: 00100793 li a5,1 10001d4: 00078513 mv a0,a5 10001d8: 00008067 ret 010001dc <fail>: 10001dc: 00000793 li a5,0 10001e0: 00078513 mv a0,a5 10001e4: 00008067 ret Disassembly of section .rodata: 010001e8 <_end-0xe18>: 10001e8: 63656843 fmadd.d fa6,fa0,fs6,fa2,unknown 10001ec: 776f566b 0x776f566b 10001f0: 6c65 lui s8,0x19 10001f2: 0a21 addi s4,s4,8 ... Disassembly of section .comment: 00000000 <.comment>: 0: 3a434347 fmsub.d ft6,ft6,ft4,ft7,rmm 4: 2820 fld fs0,80(s0) 6: 29554e47 fmsub.s ft8,fa0,fs5,ft5,rmm a: 3820 fld fs0,112(s0) c: 332e fld ft6,232(sp) e: 302e fld ft0,232(sp) ... Disassembly of section .riscv.attributes: 00000000 <.riscv.attributes>: 0: 1941 addi s2,s2,-16 2: 0000 unimp 4: 7200 flw fs0,32(a2) 6: 7369 lui t1,0xffffa 8: 01007663 bgeu zero,a6,14 <main-0xffffec> c: 0000000f fence unknown,unknown 10: 7205 lui tp,0xfffe1 12: 3376 fld ft6,376(sp) 14: 6932 flw fs2,12(sp) 16: 7032 flw ft0,44(sp) 18: 0030 addi a2,sp,8
D
module android.java.android.view.inspector.PropertyReader; public import android.java.android.view.inspector.PropertyReader_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!PropertyReader; import import1 = android.java.java.lang.Class;
D
# FIXED drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c1294xl-boostxl-senshub/drivers/eth_client_lwip.c drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdint.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/stdint.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/cdefs.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/_types.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/machine/_types.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/machine/_stdint.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/_stdint.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdbool.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_memmap.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_types.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/flash.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/gpio.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/interrupt.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/sysctl.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/systick.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c1294xl-boostxl-senshub/drivers/eth_client_lwip.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/lwiplib.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/opt.h drivers/eth_client_lwip.obj: C:/Users/user1/workspace_v8/senshub_iot/lwipopts.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/debug.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/arch.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/ports/tiva-tm4c129/include/arch/cc.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/opt.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/api.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/netifapi.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcp.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/mem.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/pbuf.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/err.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/ip.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/def.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/ip_addr.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/netif.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/icmp.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/udp.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcpip.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/api_msg.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/sys.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/ports/tiva-tm4c129/include/arch/sys_arch.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/FreeRTOS.h drivers/eth_client_lwip.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stddef.h drivers/eth_client_lwip.obj: C:/Users/user1/workspace_v8/senshub_iot/FreeRTOSConfig.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/projdefs.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/portable.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/deprecated_definitions.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/mpu_wrappers.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/task.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/list.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/queue.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/semphr.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/timers.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/sockets.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/stats.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/memp.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/memp_std.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcp_impl.h drivers/eth_client_lwip.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/dns.h C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c1294xl-boostxl-senshub/drivers/eth_client_lwip.c: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/cdefs.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/_types.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/machine/_types.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/machine/_stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/_stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdbool.h: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_memmap.h: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_types.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/flash.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/gpio.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/interrupt.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/sysctl.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/systick.h: C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c1294xl-boostxl-senshub/drivers/eth_client_lwip.h: C:/ti/TivaWare_C_Series-2.1.4.178/utils/lwiplib.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/opt.h: C:/Users/user1/workspace_v8/senshub_iot/lwipopts.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/debug.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/arch.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/ports/tiva-tm4c129/include/arch/cc.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/opt.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/api.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/netifapi.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcp.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/mem.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/pbuf.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/err.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/ip.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/def.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/ip_addr.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/netif.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/ipv4/lwip/icmp.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/udp.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcpip.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/api_msg.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/sys.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/ports/tiva-tm4c129/include/arch/sys_arch.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/FreeRTOS.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stddef.h: C:/Users/user1/workspace_v8/senshub_iot/FreeRTOSConfig.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/projdefs.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/portable.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/deprecated_definitions.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/mpu_wrappers.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/task.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/list.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/queue.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/include/semphr.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/timers.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/sockets.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/stats.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/memp.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/memp_std.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/tcp_impl.h: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/lwip-1.4.1/src/include/lwip/dns.h:
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module TagLib.TagLib; static import TagLibD_im; static import std.conv; static import std.string; import std.conv; import std.string; import core.stdc.stdlib; static import TagLibD; static import TagLibD; static import TagLibD; static import TagLibD; static import TagLibD; class ByteVector { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(ByteVector obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_ByteVector(cast(void*)swigCPtr); } swigCPtr = null; } } } public this() { this(TagLibD_im.new_TagLib_ByteVector__SWIG_0(), true); } public this(uint size, char value) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_1(size, value), true); } public this(uint size) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_2(size), true); } public this(ByteVector v) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_3(ByteVector.swigGetCPtr(v)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public this(char c) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_4(c), true); } public this(string data, uint length) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_5((data ? std.string.toStringz(data) : null), length), true); } public this(string data) { this(TagLibD_im.new_TagLib_ByteVector__SWIG_6((data ? std.string.toStringz(data) : null)), true); } public ByteVector setData(string data, uint length) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_setData__SWIG_0(cast(void*)swigCPtr, (data ? std.string.toStringz(data) : null), length), false); return ret; } public ByteVector setData(string data) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_setData__SWIG_1(cast(void*)swigCPtr, (data ? std.string.toStringz(data) : null)), false); return ret; } public string data() { string ret = std.conv.to!string(TagLibD_im.TagLib_ByteVector_data__SWIG_0(cast(void*)swigCPtr)); return ret; } public ByteVector mid(uint index, uint length) const { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_mid__SWIG_0(cast(void*)swigCPtr, index, length), true); return ret; } public ByteVector mid(uint index) const { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_mid__SWIG_1(cast(void*)swigCPtr, index), true); return ret; } public char at(uint index) const { auto ret = TagLibD_im.TagLib_ByteVector_at(cast(void*)swigCPtr, index); return ret; } public int find(ByteVector pattern, uint offset, int byteAlign) const { auto ret = TagLibD_im.TagLib_ByteVector_find__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset, byteAlign); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int find(ByteVector pattern, uint offset) const { auto ret = TagLibD_im.TagLib_ByteVector_find__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int find(ByteVector pattern) const { auto ret = TagLibD_im.TagLib_ByteVector_find__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern, uint offset, int byteAlign) const { auto ret = TagLibD_im.TagLib_ByteVector_rfind__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset, byteAlign); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern, uint offset) const { auto ret = TagLibD_im.TagLib_ByteVector_rfind__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern) const { auto ret = TagLibD_im.TagLib_ByteVector_rfind__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool containsAt(ByteVector pattern, uint offset, uint patternOffset, uint patternLength) const { bool ret = TagLibD_im.TagLib_ByteVector_containsAt__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset, patternOffset, patternLength) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool containsAt(ByteVector pattern, uint offset, uint patternOffset) const { bool ret = TagLibD_im.TagLib_ByteVector_containsAt__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset, patternOffset) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool containsAt(ByteVector pattern, uint offset) const { bool ret = TagLibD_im.TagLib_ByteVector_containsAt__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), offset) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool startsWith(ByteVector pattern) const { bool ret = TagLibD_im.TagLib_ByteVector_startsWith(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool endsWith(ByteVector pattern) const { bool ret = TagLibD_im.TagLib_ByteVector_endsWith(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public ByteVector replace(ByteVector pattern, ByteVector arg1) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_replace(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), ByteVector.swigGetCPtr(arg1)), false); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int endsWithPartialMatch(ByteVector pattern) const { auto ret = TagLibD_im.TagLib_ByteVector_endsWithPartialMatch(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public ByteVector append(ByteVector v) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_append(cast(void*)swigCPtr, ByteVector.swigGetCPtr(v)), false); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public ByteVector clear() { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_clear(cast(void*)swigCPtr), false); return ret; } public uint size() const { auto ret = TagLibD_im.TagLib_ByteVector_size(cast(void*)swigCPtr); return ret; } public ByteVector resize(uint size, char padding) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_resize__SWIG_0(cast(void*)swigCPtr, size, padding), false); return ret; } public ByteVector resize(uint size) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_resize__SWIG_1(cast(void*)swigCPtr, size), false); return ret; } public TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator begin() { TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator ret = new TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator(TagLibD_im.TagLib_ByteVector_begin__SWIG_0(cast(void*)swigCPtr), true); return ret; } public TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator end() { TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator ret = new TagLibD.SWIGTYPE_p_std__vectorT_char_t__iterator(TagLibD_im.TagLib_ByteVector_end__SWIG_0(cast(void*)swigCPtr), true); return ret; } public bool isNull() const { bool ret = TagLibD_im.TagLib_ByteVector_isNull(cast(void*)swigCPtr) ? true : false; return ret; } public bool isEmpty() const { bool ret = TagLibD_im.TagLib_ByteVector_isEmpty(cast(void*)swigCPtr) ? true : false; return ret; } public uint checksum() const { auto ret = TagLibD_im.TagLib_ByteVector_checksum(cast(void*)swigCPtr); return ret; } public uint toUInt(bool mostSignificantByteFirst) const { auto ret = TagLibD_im.TagLib_ByteVector_toUInt__SWIG_0(cast(void*)swigCPtr, mostSignificantByteFirst); return ret; } public uint toUInt() const { auto ret = TagLibD_im.TagLib_ByteVector_toUInt__SWIG_1(cast(void*)swigCPtr); return ret; } public short toShort(bool mostSignificantByteFirst) const { auto ret = TagLibD_im.TagLib_ByteVector_toShort__SWIG_0(cast(void*)swigCPtr, mostSignificantByteFirst); return ret; } public short toShort() const { auto ret = TagLibD_im.TagLib_ByteVector_toShort__SWIG_1(cast(void*)swigCPtr); return ret; } public long toLongLong(bool mostSignificantByteFirst) const { auto ret = TagLibD_im.TagLib_ByteVector_toLongLong__SWIG_0(cast(void*)swigCPtr, mostSignificantByteFirst); return ret; } public long toLongLong() const { auto ret = TagLibD_im.TagLib_ByteVector_toLongLong__SWIG_1(cast(void*)swigCPtr); return ret; } public static ByteVector fromUInt(uint value, bool mostSignificantByteFirst) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromUInt__SWIG_0(value, mostSignificantByteFirst), true); return ret; } public static ByteVector fromUInt(uint value) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromUInt__SWIG_1(value), true); return ret; } public static ByteVector fromShort(short value, bool mostSignificantByteFirst) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromShort__SWIG_0(value, mostSignificantByteFirst), true); return ret; } public static ByteVector fromShort(short value) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromShort__SWIG_1(value), true); return ret; } public static ByteVector fromLongLong(long value, bool mostSignificantByteFirst) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromLongLong__SWIG_0(value, mostSignificantByteFirst), true); return ret; } public static ByteVector fromLongLong(long value) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromLongLong__SWIG_1(value), true); return ret; } public static ByteVector fromCString(string s, uint length) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromCString__SWIG_0((s ? std.string.toStringz(s) : null), length), true); return ret; } public static ByteVector fromCString(string s) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_fromCString__SWIG_1((s ? std.string.toStringz(s) : null)), true); return ret; } public char opIndex(int index) const { auto ret = TagLibD_im.TagLib_ByteVector_opIndex__SWIG_0(cast(void*)swigCPtr, index); return ret; } public bool swigOpEquals(ByteVector v) const { bool ret = TagLibD_im.TagLib_ByteVector_swigOpEquals__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(v)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool swigOpEquals(string s) const { bool ret = TagLibD_im.TagLib_ByteVector_swigOpEquals__SWIG_1(cast(void*)swigCPtr, (s ? std.string.toStringz(s) : null)) ? true : false; return ret; } public bool swigOpLt(ByteVector v) const { bool ret = TagLibD_im.TagLib_ByteVector_swigOpLt(cast(void*)swigCPtr, ByteVector.swigGetCPtr(v)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public bool swigOpGt(ByteVector v) const { bool ret = TagLibD_im.TagLib_ByteVector_swigOpGt(cast(void*)swigCPtr, ByteVector.swigGetCPtr(v)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public ByteVector swigOpAdd(ByteVector v) const { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVector_swigOpAdd(cast(void*)swigCPtr, ByteVector.swigGetCPtr(v)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public static void _null(ByteVector value) @property { TagLibD_im.TagLib_ByteVector__null_set(ByteVector.swigGetCPtr(value)); } public static ByteVector _null() @property { void* cPtr = TagLibD_im.TagLib_ByteVector__null_get(); ByteVector ret = (cPtr is null) ? null : new ByteVector(cPtr, false); return ret; } } class ByteVectorList : TagLibD.bvList { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(TagLibD_im.TagLib_ByteVectorList_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(ByteVectorList obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_ByteVectorList(cast(void*)swigCPtr); } swigCPtr = null; super.dispose(); } } } public this() { this(TagLibD_im.new_TagLib_ByteVectorList__SWIG_0(), true); } public this(ByteVectorList l) { this(TagLibD_im.new_TagLib_ByteVectorList__SWIG_1(ByteVectorList.swigGetCPtr(l)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public ByteVector toByteVector(ByteVector separator) const { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVectorList_toByteVector__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(separator)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public ByteVector toByteVector() const { ByteVector ret = new ByteVector(TagLibD_im.TagLib_ByteVectorList_toByteVector__SWIG_1(cast(void*)swigCPtr), true); return ret; } public static ByteVectorList split(ByteVector v, ByteVector pattern, int byteAlign) { ByteVectorList ret = new ByteVectorList(TagLibD_im.TagLib_ByteVectorList_split__SWIG_0(ByteVector.swigGetCPtr(v), ByteVector.swigGetCPtr(pattern), byteAlign), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public static ByteVectorList split(ByteVector v, ByteVector pattern) { ByteVectorList ret = new ByteVectorList(TagLibD_im.TagLib_ByteVectorList_split__SWIG_1(ByteVector.swigGetCPtr(v), ByteVector.swigGetCPtr(pattern)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public static ByteVectorList split(ByteVector v, ByteVector pattern, int byteAlign, int max) { ByteVectorList ret = new ByteVectorList(TagLibD_im.TagLib_ByteVectorList_split__SWIG_2(ByteVector.swigGetCPtr(v), ByteVector.swigGetCPtr(pattern), byteAlign, max), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } } class StringList : TagLibD.strList { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(TagLibD_im.TagLib_StringList_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(StringList obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_StringList(cast(void*)swigCPtr); } swigCPtr = null; super.dispose(); } } } public this() { this(TagLibD_im.new_TagLib_StringList__SWIG_0(), true); } public this(StringList l) { this(TagLibD_im.new_TagLib_StringList__SWIG_1(StringList.swigGetCPtr(l)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public this(string s) { this(TagLibD_im.new_TagLib_StringList__SWIG_2(cast(char*)toStringz(s)), true); } public this(ByteVectorList vl) { this(TagLibD_im.new_TagLib_StringList__SWIG_3(ByteVectorList.swigGetCPtr(vl)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public string toWString(string separator) const { char* cstr = TagLibD_im.TagLib_StringList_toWString__SWIG_0(cast(void*)swigCPtr, cast(char*)toStringz(separator)); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } public string toWString() const { char* cstr = TagLibD_im.TagLib_StringList_toWString__SWIG_1(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } public StringList append(string s) { StringList ret = new StringList(TagLibD_im.TagLib_StringList_append__SWIG_0(cast(void*)swigCPtr, cast(char*)toStringz(s)), false); return ret; } public StringList append(StringList l) { StringList ret = new StringList(TagLibD_im.TagLib_StringList_append__SWIG_1(cast(void*)swigCPtr, StringList.swigGetCPtr(l)), false); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } alias TagLibD.strList.append append; public static StringList split(string s, string pattern) { StringList ret = new StringList(TagLibD_im.TagLib_StringList_split(cast(char*)toStringz(s), cast(char*)toStringz(pattern)), true); return ret; } } class AudioProperties { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(AudioProperties obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_AudioProperties(cast(void*)swigCPtr); } swigCPtr = null; } } } enum ReadStyle { Fast, Average, Accurate } @property int length() const { auto ret = TagLibD_im.TagLib_AudioProperties_length(cast(void*)swigCPtr); return ret; } @property int bitrate() const { auto ret = TagLibD_im.TagLib_AudioProperties_bitrate(cast(void*)swigCPtr); return ret; } @property int sampleRate() const { auto ret = TagLibD_im.TagLib_AudioProperties_sampleRate(cast(void*)swigCPtr); return ret; } @property int channels() const { auto ret = TagLibD_im.TagLib_AudioProperties_channels(cast(void*)swigCPtr); return ret; } } class Tag { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(Tag obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_Tag(cast(void*)swigCPtr); } swigCPtr = null; } } } @property string title() const { char* cstr = TagLibD_im.TagLib_Tag_title__SWIG_0(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } @property string artist() const { char* cstr = TagLibD_im.TagLib_Tag_artist__SWIG_0(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } @property string album() const { char* cstr = TagLibD_im.TagLib_Tag_album__SWIG_0(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } @property string comment() const { char* cstr = TagLibD_im.TagLib_Tag_comment__SWIG_0(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } @property string genre() const { char* cstr = TagLibD_im.TagLib_Tag_genre__SWIG_0(cast(void*)swigCPtr); string tmp; try tmp = to!string(cstr); finally free(cstr); return tmp; } @property uint year() const { auto ret = TagLibD_im.TagLib_Tag_year__SWIG_0(cast(void*)swigCPtr); return ret; } @property uint track() const { auto ret = TagLibD_im.TagLib_Tag_track__SWIG_0(cast(void*)swigCPtr); return ret; } @property void title(string s) { TagLibD_im.TagLib_Tag_title__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(s)); } @property void artist(string s) { TagLibD_im.TagLib_Tag_artist__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(s)); } @property void album(string s) { TagLibD_im.TagLib_Tag_album__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(s)); } @property void comment(string s) { TagLibD_im.TagLib_Tag_comment__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(s)); } @property void genre(string s) { TagLibD_im.TagLib_Tag_genre__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(s)); } @property void year(uint i) { TagLibD_im.TagLib_Tag_year__SWIG_1(cast(void*)swigCPtr, i); } @property void track(uint i) { TagLibD_im.TagLib_Tag_track__SWIG_1(cast(void*)swigCPtr, i); } public bool isEmpty() const { bool ret = TagLibD_im.TagLib_Tag_isEmpty(cast(void*)swigCPtr) ? true : false; return ret; } public static void duplicate(Tag source, Tag target, bool overwrite) { TagLibD_im.TagLib_Tag_duplicate__SWIG_0(Tag.swigGetCPtr(source), Tag.swigGetCPtr(target), overwrite); } public static void duplicate(Tag source, Tag target) { TagLibD_im.TagLib_Tag_duplicate__SWIG_1(Tag.swigGetCPtr(source), Tag.swigGetCPtr(target)); } } class File { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(File obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_File(cast(void*)swigCPtr); } swigCPtr = null; } } } enum Position { Beginning, Current, End } public string name() const { return to!string(TagLibD_im.TagLib_File_name(cast(void*)swigCPtr)); } public Tag tag() const { void* cPtr = TagLibD_im.TagLib_File_tag(cast(void*)swigCPtr); Tag ret = (cPtr is null) ? null : new Tag(cPtr, false); return ret; } public AudioProperties audioProperties() const { void* cPtr = TagLibD_im.TagLib_File_audioProperties(cast(void*)swigCPtr); AudioProperties ret = (cPtr is null) ? null : new AudioProperties(cPtr, false); return ret; } public bool save() { bool ret = TagLibD_im.TagLib_File_save(cast(void*)swigCPtr) ? true : false; return ret; } public ByteVector readBlock(uint length) { ByteVector ret = new ByteVector(TagLibD_im.TagLib_File_readBlock(cast(void*)swigCPtr, length), true); return ret; } public void writeBlock(ByteVector data) { TagLibD_im.TagLib_File_writeBlock(cast(void*)swigCPtr, ByteVector.swigGetCPtr(data)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public int find(ByteVector pattern, int fromOffset, ByteVector before) { auto ret = TagLibD_im.TagLib_File_find__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), fromOffset, ByteVector.swigGetCPtr(before)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int find(ByteVector pattern, int fromOffset) { auto ret = TagLibD_im.TagLib_File_find__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), fromOffset); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int find(ByteVector pattern) { auto ret = TagLibD_im.TagLib_File_find__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern, int fromOffset, ByteVector before) { auto ret = TagLibD_im.TagLib_File_rfind__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), fromOffset, ByteVector.swigGetCPtr(before)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern, int fromOffset) { auto ret = TagLibD_im.TagLib_File_rfind__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern), fromOffset); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public int rfind(ByteVector pattern) { auto ret = TagLibD_im.TagLib_File_rfind__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(pattern)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public void insert(ByteVector data, uint start, uint replace) { TagLibD_im.TagLib_File_insert__SWIG_0(cast(void*)swigCPtr, ByteVector.swigGetCPtr(data), start, replace); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public void insert(ByteVector data, uint start) { TagLibD_im.TagLib_File_insert__SWIG_1(cast(void*)swigCPtr, ByteVector.swigGetCPtr(data), start); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public void insert(ByteVector data) { TagLibD_im.TagLib_File_insert__SWIG_2(cast(void*)swigCPtr, ByteVector.swigGetCPtr(data)); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public void removeBlock(uint start, uint length) { TagLibD_im.TagLib_File_removeBlock__SWIG_0(cast(void*)swigCPtr, start, length); } public void removeBlock(uint start) { TagLibD_im.TagLib_File_removeBlock__SWIG_1(cast(void*)swigCPtr, start); } public void removeBlock() { TagLibD_im.TagLib_File_removeBlock__SWIG_2(cast(void*)swigCPtr); } public bool readOnly() const { bool ret = TagLibD_im.TagLib_File_readOnly(cast(void*)swigCPtr) ? true : false; return ret; } public bool isOpen() const { bool ret = TagLibD_im.TagLib_File_isOpen(cast(void*)swigCPtr) ? true : false; return ret; } public bool isValid() const { bool ret = TagLibD_im.TagLib_File_isValid(cast(void*)swigCPtr) ? true : false; return ret; } public void seek(int offset, File.Position p) { TagLibD_im.TagLib_File_seek__SWIG_0(cast(void*)swigCPtr, offset, cast(int)p); } public void seek(int offset) { TagLibD_im.TagLib_File_seek__SWIG_1(cast(void*)swigCPtr, offset); } public void clear() { TagLibD_im.TagLib_File_clear(cast(void*)swigCPtr); } public int tell() const { auto ret = TagLibD_im.TagLib_File_tell(cast(void*)swigCPtr); return ret; } public int length() { auto ret = TagLibD_im.TagLib_File_length(cast(void*)swigCPtr); return ret; } public static bool isReadable(string file) { bool ret = TagLibD_im.TagLib_File_isReadable((file ? std.string.toStringz(file) : null)) ? true : false; return ret; } public static bool isWritable(string name) { bool ret = TagLibD_im.TagLib_File_isWritable((name ? std.string.toStringz(name) : null)) ? true : false; return ret; } } class CPP_FileRef { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(CPP_FileRef obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_CPP_FileRef(cast(void*)swigCPtr); } swigCPtr = null; } } } public this() { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_0(), true); } public this(string fileName, bool readAudioProperties, AudioProperties.ReadStyle audioPropertiesStyle) { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_1(std.string.toStringz(fileName), readAudioProperties, cast(int)audioPropertiesStyle), true); } public this(string fileName, bool readAudioProperties) { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_2(std.string.toStringz(fileName), readAudioProperties), true); } public this(string fileName) { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_3(std.string.toStringz(fileName)), true); } public this(File file) { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_4(File.swigGetCPtr(file)), true); } public this(CPP_FileRef arg0) { this(TagLibD_im.new_TagLib_CPP_FileRef__SWIG_5(CPP_FileRef.swigGetCPtr(arg0)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public Tag tag() const { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_tag(cast(void*)swigCPtr); Tag ret = (cPtr is null) ? null : new Tag(cPtr, false); return ret; } public AudioProperties audioProperties() const { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_audioProperties(cast(void*)swigCPtr); AudioProperties ret = (cPtr is null) ? null : new AudioProperties(cPtr, false); return ret; } public File file() const { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_file(cast(void*)swigCPtr); File ret = (cPtr is null) ? null : new File(cPtr, false); return ret; } public bool save() { bool ret = TagLibD_im.TagLib_CPP_FileRef_save(cast(void*)swigCPtr) ? true : false; return ret; } public static TagLibD.FileTypeResolver addFileTypeResolver(TagLibD.FileTypeResolver resolver) { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_addFileTypeResolver(TagLibD.FileTypeResolver.swigGetCPtr(resolver)); TagLibD.FileTypeResolver ret = (cPtr is null) ? null : new TagLibD.FileTypeResolver(cPtr, false); return ret; } public static StringList defaultFileExtensions() { StringList ret = new StringList(TagLibD_im.TagLib_CPP_FileRef_defaultFileExtensions(), true); return ret; } public bool isNull() const { bool ret = TagLibD_im.TagLib_CPP_FileRef_isNull(cast(void*)swigCPtr) ? true : false; return ret; } public bool swigOpEquals(CPP_FileRef arg0) const { bool ret = TagLibD_im.TagLib_CPP_FileRef_swigOpEquals(cast(void*)swigCPtr, CPP_FileRef.swigGetCPtr(arg0)) ? true : false; if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public static File create(string fileName, bool readAudioProperties, AudioProperties.ReadStyle audioPropertiesStyle) { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_create__SWIG_0(std.string.toStringz(fileName), readAudioProperties, cast(int)audioPropertiesStyle); File ret = (cPtr is null) ? null : new File(cPtr, false); return ret; } public static File create(string fileName, bool readAudioProperties) { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_create__SWIG_1(std.string.toStringz(fileName), readAudioProperties); File ret = (cPtr is null) ? null : new File(cPtr, false); return ret; } public static File create(string fileName) { void* cPtr = TagLibD_im.TagLib_CPP_FileRef_create__SWIG_2(std.string.toStringz(fileName)); File ret = (cPtr is null) ? null : new File(cPtr, false); return ret; } } class genreMap { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(genreMap obj) { return (obj is null) ? null : obj.swigCPtr; } mixin TagLibD_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; TagLibD_im.delete_TagLib_genreMap(cast(void*)swigCPtr); } swigCPtr = null; } } } public this() { this(TagLibD_im.new_TagLib_genreMap__SWIG_0(), true); } public this(genreMap m) { this(TagLibD_im.new_TagLib_genreMap__SWIG_1(genreMap.swigGetCPtr(m)), true); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); } public TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator begin() { TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator ret = new TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator(TagLibD_im.TagLib_genreMap_begin__SWIG_0(cast(void*)swigCPtr), true); return ret; } public TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator end() { TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator ret = new TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator(TagLibD_im.TagLib_genreMap_end__SWIG_0(cast(void*)swigCPtr), true); return ret; } public genreMap insert(string key, int value) { genreMap ret = new genreMap(TagLibD_im.TagLib_genreMap_insert(cast(void*)swigCPtr, cast(char*)toStringz(key), value), false); return ret; } public genreMap clear() { genreMap ret = new genreMap(TagLibD_im.TagLib_genreMap_clear(cast(void*)swigCPtr), false); return ret; } public uint size() const { auto ret = TagLibD_im.TagLib_genreMap_size(cast(void*)swigCPtr); return ret; } public bool isEmpty() const { bool ret = TagLibD_im.TagLib_genreMap_isEmpty(cast(void*)swigCPtr) ? true : false; return ret; } public TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator find(string key) { TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator ret = new TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator(TagLibD_im.TagLib_genreMap_find__SWIG_0(cast(void*)swigCPtr, cast(char*)toStringz(key)), true); return ret; } public bool contains(string key) const { bool ret = TagLibD_im.TagLib_genreMap_contains(cast(void*)swigCPtr, cast(char*)toStringz(key)) ? true : false; return ret; } public genreMap erase(TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator it) { genreMap ret = new genreMap(TagLibD_im.TagLib_genreMap_erase__SWIG_0(cast(void*)swigCPtr, TagLibD.SWIGTYPE_p_std__mapT_TagLib__String_int_t__iterator.swigGetCPtr(it)), false); if (TagLibD_im.SwigPendingException.isPending) throw TagLibD_im.SwigPendingException.retrieve(); return ret; } public genreMap erase(string key) { genreMap ret = new genreMap(TagLibD_im.TagLib_genreMap_erase__SWIG_1(cast(void*)swigCPtr, cast(char*)toStringz(key)), false); return ret; } public int opIndex(string key) const { auto ret = TagLibD_im.TagLib_genreMap_opIndex__SWIG_0(cast(void*)swigCPtr, cast(char*)toStringz(key)); return ret; } }
D
// PERMUTE_ARGS: // Copyright (c) 1999-2012 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com import std.stdio; version (D_PIC) { int main() { return 0; } } else version (D_InlineAsm_X86) { struct M128 { int a,b,c,d; }; struct M64 { int a,b; }; /****************************************************/ void test1() { int foo; int bar; static const int x = 4; asm { align x; ; mov EAX, __LOCAL_SIZE ; mov foo[EBP], EAX ; } assert(foo == 8); } /****************************************************/ void test2() { int foo; int bar; asm { even ; mov EAX,0 ; inc EAX ; mov foo[EBP], EAX ; } assert(foo == 1); } /****************************************************/ void test3() { int foo; int bar; asm { mov EAX,5 ; jmp $ + 1 ; db 0x40,0x48 ; // inc EAX, dec EAX mov foo[EBP],EAX ; } assert(foo == 4); } /****************************************************/ void test4() { int foo; int bar; asm { xor EAX,EAX ; add EAX,5 ; jne L1 ; db 0x40,0x48 ; // inc EAX, dec EAX L1: db 0x48 ; mov foo[EBP],EAX ; } assert(foo == 4); } /****************************************************/ void test5() { int foo; ubyte *p; ushort *w; uint *u; ulong *ul; float *f; double *d; real *e; static float fs = 1.1; static double ds = 1.2; static real es = 1.3; asm { call L1 ; db 0x40,0x48 ; // inc EAX, dec EAX db "abc" ; ds "def" ; di "ghi" ; dl 0x12345678ABCDEF ; df 1.1 ; dd 1.2 ; de 1.3 ; L1: pop EBX ; mov p[EBP],EBX ; } assert(p[0] == 0x40); assert(p[1] == 0x48); assert(p[2] == 'a'); assert(p[3] == 'b'); assert(p[4] == 'c'); w = cast(ushort *)(p + 5); assert(w[0] == 'd'); assert(w[1] == 'e'); assert(w[2] == 'f'); u = cast(uint *)(w + 3); assert(u[0] == 'g'); assert(u[1] == 'h'); assert(u[2] == 'i'); ul = cast(ulong *)(u + 3); assert(ul[0] == 0x12345678ABCDEF); f = cast(float *)(ul + 1); assert(*f == fs); d = cast(double *)(f + 1); assert(*d == ds); e = cast(real *)(d + 1); assert(*e == es); } /****************************************************/ void test6() { ubyte *p; static ubyte data[] = [ 0x8B, 0x01, // mov EAX,[ECX] 0x8B, 0x04, 0x19, // mov EAX,[EBX][ECX] 0x8B, 0x04, 0x4B, // mov EAX,[ECX*2][EBX] 0x8B, 0x04, 0x5A, // mov EAX,[EBX*2][EDX] 0x8B, 0x04, 0x8E, // mov EAX,[ECX*4][ESI] 0x8B, 0x04, 0xF9, // mov EAX,[EDI*8][ECX] 0x2B, 0x1C, 0x19, // sub EBX,[EBX][ECX] 0x3B, 0x0C, 0x4B, // cmp ECX,[ECX*2][EBX] 0x03, 0x14, 0x5A, // add EDX,[EBX*2][EDX] 0x33, 0x34, 0x8E, // xor ESI,[ECX*4][ESI] 0x29, 0x1C, 0x19, // sub [EBX][ECX],EBX 0x39, 0x0C, 0x4B, // cmp [ECX*2][EBX],ECX 0x01, 0x24, 0x5A, // add [EBX*2][EDX],ESP 0x31, 0x2C, 0x8E, // xor [ECX*4][ESI],EBP 0xA8, 0x03, // test AL,3 0x66, 0xA9, 0x04, 0x00, // test AX,4 0xA9, 0x05, 0x00, 0x00, 0x00, // test EAX,5 0x85, 0x3C, 0xF9, // test [EDI*8][ECX],EDI ]; int i; asm { call L1 ; mov EAX,[ECX] ; mov EAX,[ECX][EBX] ; mov EAX,[ECX*2][EBX] ; mov EAX,[EDX][EBX*2] ; mov EAX,[ECX*4][ESI] ; mov EAX,[ECX][EDI*8] ; sub EBX,[ECX][EBX] ; cmp ECX,[ECX*2][EBX] ; add EDX,[EDX][EBX*2] ; xor ESI,[ECX*4][ESI] ; sub [ECX][EBX],EBX ; cmp [ECX*2][EBX],ECX ; add [EDX][EBX*2],ESP ; xor [ECX*4][ESI],EBP ; test AL,3 ; test AX,4 ; test EAX,5 ; test [ECX][EDI*8],EDI ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test7() { ubyte *p; static ubyte data[] = [ 0x26,0xA1,0x24,0x13,0x00,0x00, // mov EAX,ES:[01324h] 0x36,0x66,0xA1,0x78,0x56,0x00,0x00, // mov AX,SS:[05678h] 0xA0,0x78,0x56,0x00,0x00, // mov AL,[05678h] 0x2E,0x8A,0x25,0x78,0x56,0x00,0x00, // mov AH,CS:[05678h] 0x64,0x8A,0x1D,0x78,0x56,0x00,0x00, // mov BL,FS:[05678h] 0x65,0x8A,0x3D,0x78,0x56,0x00,0x00, // mov BH,GS:[05678h] ]; int i; asm { call L1 ; mov EAX,ES:[0x1324] ; mov AX,SS:[0x5678] ; mov AL,DS:[0x5678] ; mov AH,CS:[0x5678] ; mov BL,FS:[0x5678] ; mov BH,GS:[0x5678] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test8() { ubyte *p; static ubyte data[] = [ 0x8C,0xD0, // mov AX,SS 0x8C,0xDB, // mov BX,DS 0x8C,0xC1, // mov CX,ES 0x8C,0xCA, // mov DX,CS 0x8C,0xE6, // mov SI,FS 0x8C,0xEF, // mov DI,GS 0x8E,0xD0, // mov SS,AX 0x8E,0xDB, // mov DS,BX 0x8E,0xC1, // mov ES,CX 0x8E,0xCA, // mov CS,DX 0x8E,0xE6, // mov FS,SI 0x8E,0xEF, // mov GS,DI 0x0F,0x22,0xC0, // mov CR0,EAX 0x0F,0x22,0xD3, // mov CR2,EBX 0x0F,0x22,0xD9, // mov CR3,ECX 0x0F,0x22,0xE2, // mov CR4,EDX 0x0F,0x20,0xC0, // mov EAX,CR0 0x0F,0x20,0xD3, // mov EBX,CR2 0x0F,0x20,0xD9, // mov ECX,CR3 0x0F,0x20,0xE2, // mov EDX,CR4 0x0F,0x23,0xC0, // mov DR0,EAX 0x0F,0x23,0xCE, // mov DR1,ESI 0x0F,0x23,0xD3, // mov DR2,EBX 0x0F,0x23,0xD9, // mov DR3,ECX 0x0F,0x23,0xE2, // mov DR4,EDX 0x0F,0x23,0xEF, // mov DR5,EDI 0x0F,0x23,0xF4, // mov DR6,ESP 0x0F,0x23,0xFD, // mov DR7,EBP 0x0F,0x21,0xC4, // mov ESP,DR0 0x0F,0x21,0xCD, // mov EBP,DR1 0x0F,0x21,0xD0, // mov EAX,DR2 0x0F,0x21,0xDB, // mov EBX,DR3 0x0F,0x21,0xE1, // mov ECX,DR4 0x0F,0x21,0xEA, // mov EDX,DR5 0x0F,0x21,0xF6, // mov ESI,DR6 0x0F,0x21,0xFF, // mov EDI,DR7 0xA4, // movsb 0x66,0xA5, // movsw 0xA5, // movsd ]; int i; asm { call L1 ; mov AX,SS ; mov BX,DS ; mov CX,ES ; mov DX,CS ; mov SI,FS ; mov DI,GS ; mov SS,AX ; mov DS,BX ; mov ES,CX ; mov CS,DX ; mov FS,SI ; mov GS,DI ; mov CR0,EAX ; mov CR2,EBX ; mov CR3,ECX ; mov CR4,EDX ; mov EAX,CR0 ; mov EBX,CR2 ; mov ECX,CR3 ; mov EDX,CR4 ; mov DR0,EAX ; mov DR1,ESI ; mov DR2,EBX ; mov DR3,ECX ; mov DR4,EDX ; mov DR5,EDI ; mov DR6,ESP ; mov DR7,EBP ; mov ESP,DR0 ; mov EBP,DR1 ; mov EAX,DR2 ; mov EBX,DR3 ; mov ECX,DR4 ; mov EDX,DR5 ; mov ESI,DR6 ; mov EDI,DR7 ; movsb ; movsw ; movsd ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test9() { ubyte *p; static ubyte data[] = [ 0x67,0x66,0x8B,0x00, // mov AX,[BX+SI] 0x67,0x66,0x8B,0x01, // mov AX,[BX+DI] 0x67,0x66,0x8B,0x02, // mov AX,[BP+SI] 0x67,0x66,0x8B,0x03, // mov AX,[BP+DI] 0x67,0x66,0x8B,0x04, // mov AX,[SI] 0x67,0x66,0x8B,0x05, // mov AX,[DI] 0x66,0xB8,0xD2,0x04, // mov AX,04D2h 0x67,0x66,0x8B,0x07, // mov AX,[BX] 0x67,0x66,0x8B,0x40,0x01, // mov AX,1[BX+SI] 0x67,0x66,0x8B,0x41,0x02, // mov AX,2[BX+DI] 0x67,0x66,0x8B,0x42,0x03, // mov AX,3[BP+SI] 0x67,0x66,0x8B,0x43,0x04, // mov AX,4[BP+DI] 0x67,0x66,0x8B,0x44,0x05, // mov AX,5[SI] 0x67,0x66,0x8B,0x45,0x06, // mov AX,6[DI] 0x67,0x66,0x8B,0x43,0x07, // mov AX,7[BP+DI] 0x67,0x66,0x8B,0x47,0x08, // mov AX,8[BX] 0x67,0x8B,0x80,0x21,0x01, // mov EAX,0121h[BX+SI] 0x67,0x66,0x8B,0x81,0x22,0x01, // mov AX,0122h[BX+DI] 0x67,0x66,0x8B,0x82,0x43,0x23, // mov AX,02343h[BP+SI] 0x67,0x66,0x8B,0x83,0x54,0x45, // mov AX,04554h[BP+DI] 0x67,0x66,0x8B,0x84,0x45,0x66, // mov AX,06645h[SI] 0x67,0x66,0x8B,0x85,0x36,0x12, // mov AX,01236h[DI] 0x67,0x66,0x8B,0x86,0x67,0x45, // mov AX,04567h[BP] 0x67,0x8A,0x87,0x08,0x01, // mov AL,0108h[BX] ]; int i; asm { call L1 ; mov AX,[BX+SI] ; mov AX,[BX+DI] ; mov AX,[BP+SI] ; mov AX,[BP+DI] ; mov AX,[SI] ; mov AX,[DI] ; mov AX,[1234] ; mov AX,[BX] ; mov AX,1[BX+SI] ; mov AX,2[BX+DI] ; mov AX,3[BP+SI] ; mov AX,4[BP+DI] ; mov AX,5[SI] ; mov AX,6[DI] ; mov AX,7[DI+BP] ; mov AX,8[BX] ; mov EAX,0x121[BX+SI] ; mov AX,0x122[BX+DI] ; mov AX,0x2343[BP+SI] ; mov AX,0x4554[BP+DI] ; mov AX,0x6645[SI] ; mov AX,0x1236[DI] ; mov AX,0x4567[BP] ; mov AL,0x108[BX] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ shared int bar10 = 78; shared int baz10[2]; void test10() { ubyte *p; int foo; static ubyte data[] = [ ]; int i; asm { mov bar10,0x12 ; mov baz10,0x13 ; mov ESI,1 ; mov baz10[ESI*4],0x14 ; } assert(bar10 == 0x12); assert(baz10[0] == 0x13); assert(baz10[1] == 0x14); } /****************************************************/ struct Foo11 { int c; int a; int b; } void test11() { ubyte *p; int x1; int x2; int x3; int x4; asm { mov x1,Foo11.a.sizeof ; mov x2,Foo11.b.offsetof ; mov x3,Foo11.sizeof ; mov x4,Foo11.sizeof + 7 ; } assert(x1 == int.sizeof); assert(x2 == 8); assert(x3 == 12); assert(x4 == 19); } /****************************************************/ void test12() { ubyte *p; static ubyte data[] = [ 0x37, // aaa 0xD5,0x0A, // aad 0xD4,0x0A, // aam 0x3F, // aas 0x67,0x63,0x3C, // arpl [SI],DI 0x14,0x05, // adc AL,5 0x83,0xD0,0x14, // adc EAX,014h 0x80,0x55,0xF8,0x17, // adc byte ptr -8[EBP],017h 0x83,0x55,0xFC,0x17, // adc dword ptr -4[EBP],017h 0x81,0x55,0xFC,0x34,0x12,0x00,0x00, // adc dword ptr -4[EBP],01234h 0x10,0x7D,0xF8, // adc -8[EBP],BH 0x11,0x5D,0xFC, // adc -4[EBP],EBX 0x12,0x5D,0xF8, // adc BL,-8[EBP] 0x13,0x55,0xFC, // adc EDX,-4[EBP] 0x04,0x05, // add AL,5 0x83,0xC0,0x14, // add EAX,014h 0x80,0x45,0xF8,0x17, // add byte ptr -8[EBP],017h 0x83,0x45,0xFC,0x17, // add dword ptr -4[EBP],017h 0x81,0x45,0xFC,0x34,0x12,0x00,0x00, // add dword ptr -4[EBP],01234h 0x00,0x7D,0xF8, // add -8[EBP],BH 0x01,0x5D,0xFC, // add -4[EBP],EBX 0x02,0x5D,0xF8, // add BL,-8[EBP] 0x03,0x55,0xFC, // add EDX,-4[EBP] 0x24,0x05, // and AL,5 0x83,0xE0,0x14, // and EAX,014h 0x80,0x65,0xF8,0x17, // and byte ptr -8[EBP],017h 0x83,0x65,0xFC,0x17, // and dword ptr -4[EBP],017h 0x81,0x65,0xFC,0x34,0x12,0x00,0x00, // and dword ptr -4[EBP],01234h 0x20,0x7D,0xF8, // and -8[EBP],BH 0x21,0x5D,0xFC, // and -4[EBP],EBX 0x22,0x5D,0xF8, // and BL,-8[EBP] 0x23,0x55,0xFC, // and EDX,-4[EBP] 0x3C,0x05, // cmp AL,5 0x83,0xF8,0x14, // cmp EAX,014h 0x80,0x7D,0xF8,0x17, // cmp byte ptr -8[EBP],017h 0x83,0x7D,0xFC,0x17, // cmp dword ptr -4[EBP],017h 0x81,0x7D,0xFC,0x34,0x12,0x00,0x00, // cmp dword ptr -4[EBP],01234h 0x38,0x7D,0xF8, // cmp -8[EBP],BH 0x39,0x5D,0xFC, // cmp -4[EBP],EBX 0x3A,0x5D,0xF8, // cmp BL,-8[EBP] 0x3B,0x55,0xFC, // cmp EDX,-4[EBP] 0x0C,0x05, // or AL,5 0x83,0xC8,0x14, // or EAX,014h 0x80,0x4D,0xF8,0x17, // or byte ptr -8[EBP],017h 0x83,0x4D,0xFC,0x17, // or dword ptr -4[EBP],017h 0x81,0x4D,0xFC,0x34,0x12,0x00,0x00, // or dword ptr -4[EBP],01234h 0x08,0x7D,0xF8, // or -8[EBP],BH 0x09,0x5D,0xFC, // or -4[EBP],EBX 0x0A,0x5D,0xF8, // or BL,-8[EBP] 0x0B,0x55,0xFC, // or EDX,-4[EBP] 0x1C,0x05, // sbb AL,5 0x83,0xD8,0x14, // sbb EAX,014h 0x80,0x5D,0xF8,0x17, // sbb byte ptr -8[EBP],017h 0x83,0x5D,0xFC,0x17, // sbb dword ptr -4[EBP],017h 0x81,0x5D,0xFC,0x34,0x12,0x00,0x00, // sbb dword ptr -4[EBP],01234h 0x18,0x7D,0xF8, // sbb -8[EBP],BH 0x19,0x5D,0xFC, // sbb -4[EBP],EBX 0x1A,0x5D,0xF8, // sbb BL,-8[EBP] 0x1B,0x55,0xFC, // sbb EDX,-4[EBP] 0x2C,0x05, // sub AL,5 0x83,0xE8,0x14, // sub EAX,014h 0x80,0x6D,0xF8,0x17, // sub byte ptr -8[EBP],017h 0x83,0x6D,0xFC,0x17, // sub dword ptr -4[EBP],017h 0x81,0x6D,0xFC,0x34,0x12,0x00,0x00, // sub dword ptr -4[EBP],01234h 0x28,0x7D,0xF8, // sub -8[EBP],BH 0x29,0x5D,0xFC, // sub -4[EBP],EBX 0x2A,0x5D,0xF8, // sub BL,-8[EBP] 0x2B,0x55,0xFC, // sub EDX,-4[EBP] 0xA8,0x05, // test AL,5 0xA9,0x14,0x00,0x00,0x00, // test EAX,014h 0xF6,0x45,0xF8,0x17, // test byte ptr -8[EBP],017h 0xF7,0x45,0xFC,0x17,0x00,0x00,0x00, // test dword ptr -4[EBP],017h 0xF7,0x45,0xFC,0x34,0x12,0x00,0x00, // test dword ptr -4[EBP],01234h 0x84,0x7D,0xF8, // test -8[EBP],BH 0x85,0x5D,0xFC, // test -4[EBP],EBX 0x34,0x05, // xor AL,5 0x83,0xF0,0x14, // xor EAX,014h 0x80,0x75,0xF8,0x17, // xor byte ptr -8[EBP],017h 0x83,0x75,0xFC,0x17, // xor dword ptr -4[EBP],017h 0x81,0x75,0xFC,0x34,0x12,0x00,0x00, // xor dword ptr -4[EBP],01234h 0x30,0x7D,0xF8, // xor -8[EBP],BH 0x31,0x5D,0xFC, // xor -4[EBP],EBX 0x32,0x5D,0xF8, // xor BL,-8[EBP] 0x33,0x55,0xFC, // xor EDX,-4[EBP] ]; int i; byte rm8; int rm32; static int m32; asm { call L1 ; aaa ; aad ; aam ; aas ; arpl [SI],DI ; adc AL,5 ; adc EAX,20 ; adc rm8[EBP],23 ; adc rm32[EBP],23 ; adc rm32[EBP],0x1234 ; adc rm8[EBP],BH ; adc rm32[EBP],EBX ; adc BL,rm8[EBP] ; adc EDX,rm32[EBP] ; add AL,5 ; add EAX,20 ; add rm8[EBP],23 ; add rm32[EBP],23 ; add rm32[EBP],0x1234 ; add rm8[EBP],BH ; add rm32[EBP],EBX ; add BL,rm8[EBP] ; add EDX,rm32[EBP] ; and AL,5 ; and EAX,20 ; and rm8[EBP],23 ; and rm32[EBP],23 ; and rm32[EBP],0x1234 ; and rm8[EBP],BH ; and rm32[EBP],EBX ; and BL,rm8[EBP] ; and EDX,rm32[EBP] ; cmp AL,5 ; cmp EAX,20 ; cmp rm8[EBP],23 ; cmp rm32[EBP],23 ; cmp rm32[EBP],0x1234 ; cmp rm8[EBP],BH ; cmp rm32[EBP],EBX ; cmp BL,rm8[EBP] ; cmp EDX,rm32[EBP] ; or AL,5 ; or EAX,20 ; or rm8[EBP],23 ; or rm32[EBP],23 ; or rm32[EBP],0x1234 ; or rm8[EBP],BH ; or rm32[EBP],EBX ; or BL,rm8[EBP] ; or EDX,rm32[EBP] ; sbb AL,5 ; sbb EAX,20 ; sbb rm8[EBP],23 ; sbb rm32[EBP],23 ; sbb rm32[EBP],0x1234 ; sbb rm8[EBP],BH ; sbb rm32[EBP],EBX ; sbb BL,rm8[EBP] ; sbb EDX,rm32[EBP] ; sub AL,5 ; sub EAX,20 ; sub rm8[EBP],23 ; sub rm32[EBP],23 ; sub rm32[EBP],0x1234 ; sub rm8[EBP],BH ; sub rm32[EBP],EBX ; sub BL,rm8[EBP] ; sub EDX,rm32[EBP] ; test AL,5 ; test EAX,20 ; test rm8[EBP],23 ; test rm32[EBP],23 ; test rm32[EBP],0x1234 ; test rm8[EBP],BH ; test rm32[EBP],EBX ; xor AL,5 ; xor EAX,20 ; xor rm8[EBP],23 ; xor rm32[EBP],23 ; xor rm32[EBP],0x1234 ; xor rm8[EBP],BH ; xor rm32[EBP],EBX ; xor BL,rm8[EBP] ; xor EDX,rm32[EBP] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { //printf("p[%d] = x%02x, data = x%02x\n", i, p[i], data[i]); assert(p[i] == data[i]); } } /****************************************************/ void test13() { int m32; long m64; M128 m128; ubyte *p; static ubyte data[] = [ 0x0F,0x0B, // ud2 0x0F,0x05, // syscall 0x0F,0x34, // sysenter 0x0F,0x35, // sysexit 0x0F,0x07, // sysret 0x0F,0xAE,0xE8, // lfence 0x0F,0xAE,0xF0, // mfence 0x0F,0xAE,0xF8, // sfence 0x0F,0xAE,0x00, // fxsave [EAX] 0x0F,0xAE,0x08, // fxrstor [EAX] 0x0F,0xAE,0x10, // ldmxcsr [EAX] 0x0F,0xAE,0x18, // stmxcsr [EAX] 0x0F,0xAE,0x38, // clflush [EAX] 0x0F,0x58,0x08, // addps XMM1,[EAX] 0x0F,0x58,0xCA, // addps XMM1,XMM2 0x66, 0x0F,0x58,0x03, // addpd XMM0,[EBX] 0x66, 0x0F,0x58,0xD1, // addpd XMM2,XMM1 0xF2,0x0F,0x58,0x08, // addsd XMM1,[EAX] 0xF2,0x0F,0x58,0xCA, // addsd XMM1,XMM2 0xF3,0x0F,0x58,0x2E, // addss XMM5,[ESI] 0xF3,0x0F,0x58,0xF7, // addss XMM6,XMM7 0x0F,0x54,0x08, // andps XMM1,[EAX] 0x0F,0x54,0xCA, // andps XMM1,XMM2 0x66, 0x0F,0x54,0x03, // andpd XMM0,[EBX] 0x66, 0x0F,0x54,0xD1, // andpd XMM2,XMM1 0x0F,0x55,0x08, // andnps XMM1,[EAX] 0x0F,0x55,0xCA, // andnps XMM1,XMM2 0x66, 0x0F,0x55,0x03, // andnpd XMM0,[EBX] 0x66, 0x0F,0x55,0xD1, // andnpd XMM2,XMM1 0xA7, // cmpsd 0x0F,0xC2,0x08,0x01, // cmpps XMM1,[EAX],1 0x0F,0xC2,0xCA,0x02, // cmpps XMM1,XMM2,2 0x66, 0x0F,0xC2,0x03,0x03, // cmppd XMM0,[EBX],3 0x66, 0x0F,0xC2,0xD1,0x04, // cmppd XMM2,XMM1,4 0xF2,0x0F,0xC2,0x08,0x05, // cmpsd XMM1,[EAX],5 0xF2,0x0F,0xC2,0xCA,0x06, // cmpsd XMM1,XMM2,6 0xF3,0x0F,0xC2,0x2E,0x07, // cmpss XMM5,[ESI],7 0xF3,0x0F,0xC2,0xF7,0x00, // cmpss XMM6,XMM7,0 0x66, 0x0F,0x2F,0x08, // comisd XMM1,[EAX] 0x66, 0x0F,0x2F,0x4D,0xE0, // comisd XMM1,-020h[EBP] 0x66, 0x0F,0x2F,0xCA, // comisd XMM1,XMM2 0x0F,0x2F,0x2E, // comiss XMM5,[ESI] 0x0F,0x2F,0xF7, // comiss XMM6,XMM7 0xF3,0x0F,0xE6,0xDC, // cvtdq2pd XMM3,XMM4 0xF3,0x0F,0xE6,0x5D,0xE0, // cvtdq2pd XMM3,-020h[EBP] 0x0F,0x5B,0xDC, // cvtdq2ps XMM3,XMM4 0x0F,0x5B,0x5D,0xE8, // cvtdq2ps XMM3,-018h[EBP] 0xF2,0x0F,0xE6,0xDC, // cvtpd2dq XMM3,XMM4 0xF2,0x0F,0xE6,0x5D,0xE8, // cvtpd2dq XMM3,-018h[EBP] 0x66, 0x0F,0x2D,0xDC, // cvtpd2pi MM3,XMM4 0x66, 0x0F,0x2D,0x5D,0xE8, // cvtpd2pi MM3,-018h[EBP] 0x66, 0x0F,0x5A,0xDC, // cvtpd2ps XMM3,XMM4 0x66, 0x0F,0x5A,0x5D,0xE8, // cvtpd2ps XMM3,-018h[EBP] 0x66, 0x0F,0x2A,0xDC, // cvtpi2pd XMM3,MM4 0x66, 0x0F,0x2A,0x5D,0xE0, // cvtpi2pd XMM3,-020h[EBP] 0x0F,0x2A,0xDC, // cvtpi2ps XMM3,MM4 0x0F,0x2A,0x5D,0xE0, // cvtpi2ps XMM3,-020h[EBP] 0x66, 0x0F,0x5B,0xDC, // cvtps2dq XMM3,XMM4 0x66, 0x0F,0x5B,0x5D,0xE8, // cvtps2dq XMM3,-018h[EBP] 0x0F,0x5A,0xDC, // cvtps2pd XMM3,XMM4 0x0F,0x5A,0x5D,0xE0, // cvtps2pd XMM3,-020h[EBP] 0x0F,0x2D,0xDC, // cvtps2pi MM3,XMM4 0x0F,0x2D,0x5D,0xE0, // cvtps2pi MM3,-020h[EBP] 0xF2,0x0F,0x2D,0xCC, // cvtsd2si XMM1,XMM4 0xF2,0x0F,0x2D,0x55,0xE0, // cvtsd2si XMM2,-020h[EBP] 0xF2,0x0F,0x5A,0xDC, // cvtsd2ss XMM3,XMM4 0xF2,0x0F,0x5A,0x5D,0xE0, // cvtsd2ss XMM3,-020h[EBP] 0xF2,0x0F,0x2A,0xDA, // cvtsi2sd XMM3,EDX 0xF2,0x0F,0x2A,0x5D,0xD8, // cvtsi2sd XMM3,-028h[EBP] 0xF3,0x0F,0x2A,0xDA, // cvtsi2ss XMM3,EDX 0xF3,0x0F,0x2A,0x5D,0xD8, // cvtsi2ss XMM3,-028h[EBP] 0xF3,0x0F,0x5A,0xDC, // cvtss2sd XMM3,XMM4 0xF3,0x0F,0x5A,0x5D,0xD8, // cvtss2sd XMM3,-028h[EBP] 0xF3,0x0F,0x2D,0xFC, // cvtss2si XMM7,XMM4 0xF3,0x0F,0x2D,0x7D,0xD8, // cvtss2si XMM7,-028h[EBP] 0x66, 0x0F,0x2C,0xDC, // cvttpd2pi MM3,XMM4 0x66, 0x0F,0x2C,0x7D,0xE8, // cvttpd2pi MM7,-018h[EBP] 0x66, 0x0F,0xE6,0xDC, // cvttpd2dq XMM3,XMM4 0x66, 0x0F,0xE6,0x7D,0xE8, // cvttpd2dq XMM7,-018h[EBP] 0xF3,0x0F,0x5B,0xDC, // cvttps2dq XMM3,XMM4 0xF3,0x0F,0x5B,0x7D,0xE8, // cvttps2dq XMM7,-018h[EBP] 0x0F,0x2C,0xDC, // cvttps2pi MM3,XMM4 0x0F,0x2C,0x7D,0xE0, // cvttps2pi MM7,-020h[EBP] 0xF2,0x0F,0x2C,0xC4, // cvttsd2si EAX,XMM4 0xF2,0x0F,0x2C,0x4D,0xE8, // cvttsd2si ECX,-018h[EBP] 0xF3,0x0F,0x2C,0xC4, // cvttss2si EAX,XMM4 0xF3,0x0F,0x2C,0x4D,0xD8, // cvttss2si ECX,-028h[EBP] 0x66, 0x0F,0x5E,0xE8, // divpd XMM5,XMM0 0x66, 0x0F,0x5E,0x6D,0xE8, // divpd XMM5,-018h[EBP] 0x0F,0x5E,0xE8, // divps XMM5,XMM0 0x0F,0x5E,0x6D,0xE8, // divps XMM5,-018h[EBP] 0xF2,0x0F,0x5E,0xE8, // divsd XMM5,XMM0 0xF2,0x0F,0x5E,0x6D,0xE0, // divsd XMM5,-020h[EBP] 0xF3,0x0F,0x5E,0xE8, // divss XMM5,XMM0 0xF3,0x0F,0x5E,0x6D,0xD8, // divss XMM5,-028h[EBP] 0x66, 0x0F,0xF7,0xD1, // maskmovdqu XMM2,XMM1 0x0F,0xF7,0xE3, // maskmovq MM4,MM3 0x66, 0x0F,0x5F,0xC0, // maxpd XMM0,XMM0 0x66, 0x0F,0x5F,0x4D,0xE8, // maxpd XMM1,-018h[EBP] 0x0F,0x5F,0xD1, // maxps XMM2,XMM1 0x0F,0x5F,0x5D,0xE8, // maxps XMM3,-018h[EBP] 0xF2,0x0F,0x5F,0xE2, // maxsd XMM4,XMM2 0xF2,0x0F,0x5F,0x6D,0xE0, // maxsd XMM5,-020h[EBP] 0xF3,0x0F,0x5F,0xF3, // maxss XMM6,XMM3 0xF3,0x0F,0x5F,0x7D,0xD8, // maxss XMM7,-028h[EBP] 0x66, 0x0F,0x5D,0xC0, // minpd XMM0,XMM0 0x66, 0x0F,0x5D,0x4D,0xE8, // minpd XMM1,-018h[EBP] 0x0F,0x5D,0xD1, // minps XMM2,XMM1 0x0F,0x5D,0x5D,0xE8, // minps XMM3,-018h[EBP] 0xF2,0x0F,0x5D,0xE2, // minsd XMM4,XMM2 0xF2,0x0F,0x5D,0x6D,0xE0, // minsd XMM5,-020h[EBP] 0xF3,0x0F,0x5D,0xF3, // minss XMM6,XMM3 0xF3,0x0F,0x5D,0x7D,0xD8, // minss XMM7,-028h[EBP] 0x66, 0x0F,0x28,0xCA, // movapd XMM1,XMM2 0x66, 0x0F,0x28,0x5D,0xE8, // movapd XMM3,-018h[EBP] 0x66, 0x0F,0x29,0x65,0xE8, // movapd -018h[EBP],XMM4 0x0F,0x28,0xCA, // movaps XMM1,XMM2 0x0F,0x28,0x5D,0xE8, // movaps XMM3,-018h[EBP] 0x0F,0x29,0x65,0xE8, // movaps -018h[EBP],XMM4 0x0F,0x6E,0xCB, // movd MM1,EBX 0x0F,0x6E,0x55,0xD8, // movd MM2,-028h[EBP] 0x0F,0x7E,0xDB, // movd EBX,MM3 0x0F,0x7E,0x65,0xD8, // movd -028h[EBP],MM4 0x66, 0x0F,0x6E,0xCB, // movd XMM1,EBX 0x66, 0x0F,0x6E,0x55,0xD8, // movd XMM2,-028h[EBP] 0x66, 0x0F,0x7E,0xDB, // movd EBX,XMM3 0x66, 0x0F,0x7E,0x65,0xD8, // movd -028h[EBP],XMM4 0x66, 0x0F,0x6F,0xCA, // movdqa XMM1,XMM2 0x66, 0x0F,0x6F,0x55,0xE8, // movdqa XMM2,-018h[EBP] 0x66, 0x0F,0x7F,0x65,0xE8, // movdqa -018h[EBP],XMM4 0xF3,0x0F,0x6F,0xCA, // movdqu XMM1,XMM2 0xF3,0x0F,0x6F,0x55,0xE8, // movdqu XMM2,-018h[EBP] 0xF3,0x0F,0x7F,0x65,0xE8, // movdqu -018h[EBP],XMM4 0xF2,0x0F,0xD6,0xDC, // movdq2q MM4,XMM3 0x0F,0x12,0xDC, // movhlps XMM4,XMM3 0x66, 0x0F,0x16,0x55,0xE0, // movhpd XMM2,-020h[EBP] 0x66, 0x0F,0x17,0x7D,0xE0, // movhpd -020h[EBP],XMM7 0x0F,0x16,0x55,0xE0, // movhps XMM2,-020h[EBP] 0x0F,0x17,0x7D,0xE0, // movhps -020h[EBP],XMM7 0x0F,0x16,0xDC, // movlhps XMM4,XMM3 0x66, 0x0F,0x12,0x55,0xE0, // movlpd XMM2,-020h[EBP] 0x66, 0x0F,0x13,0x7D,0xE0, // movlpd -020h[EBP],XMM7 0x0F,0x12,0x55,0xE0, // movlps XMM2,-020h[EBP] 0x0F,0x13,0x7D,0xE0, // movlps -020h[EBP],XMM7 0x66, 0x0F,0x50,0xF3, // movmskpd ESI,XMM3 0x0F,0x50,0xF3, // movmskps ESI,XMM3 0x66, 0x0F,0x59,0xC0, // mulpd XMM0,XMM0 0x66, 0x0F,0x59,0x4D,0xE8, // mulpd XMM1,-018h[EBP] 0x0F,0x59,0xD1, // mulps XMM2,XMM1 0x0F,0x59,0x5D,0xE8, // mulps XMM3,-018h[EBP] 0xF2,0x0F,0x59,0xE2, // mulsd XMM4,XMM2 0xF2,0x0F,0x59,0x6D,0xE0, // mulsd XMM5,-020h[EBP] 0xF3,0x0F,0x59,0xF3, // mulss XMM6,XMM3 0xF3,0x0F,0x59,0x7D,0xD8, // mulss XMM7,-028h[EBP] 0x66, 0x0F,0x51,0xC4, // sqrtpd XMM0,XMM4 0x66, 0x0F,0x51,0x4D,0xE8, // sqrtpd XMM1,-018h[EBP] 0x0F,0x51,0xD5, // sqrtps XMM2,XMM5 0x0F,0x51,0x5D,0xE8, // sqrtps XMM3,-018h[EBP] 0xF2,0x0F,0x51,0xE6, // sqrtsd XMM4,XMM6 0xF2,0x0F,0x51,0x6D,0xE0, // sqrtsd XMM5,-020h[EBP] 0xF3,0x0F,0x51,0xF7, // sqrtss XMM6,XMM7 0xF3,0x0F,0x51,0x7D,0xD8, // sqrtss XMM7,-028h[EBP] 0x66, 0x0F,0x5C,0xC4, // subpd XMM0,XMM4 0x66, 0x0F,0x5C,0x4D,0xE8, // subpd XMM1,-018h[EBP] 0x0F,0x5C,0xD5, // subps XMM2,XMM5 0x0F,0x5C,0x5D,0xE8, // subps XMM3,-018h[EBP] 0xF2,0x0F,0x5C,0xE6, // subsd XMM4,XMM6 0xF2,0x0F,0x5C,0x6D,0xE0, // subsd XMM5,-020h[EBP] 0xF3,0x0F,0x5C,0xF7, // subss XMM6,XMM7 0xF3,0x0F,0x5C,0x7D,0xD8, // subss XMM7,-028h[EBP] 0x0F,0x01,0xE0, // smsw EAX ]; int i; asm { call L1 ; ud2 ; syscall ; sysenter ; sysexit ; sysret ; lfence ; mfence ; sfence ; fxsave [EAX] ; fxrstor [EAX] ; ldmxcsr [EAX] ; stmxcsr [EAX] ; clflush [EAX] ; addps XMM1,[EAX] ; addps XMM1,XMM2 ; addpd XMM0,[EBX] ; addpd XMM2,XMM1 ; addsd XMM1,[EAX] ; addsd XMM1,XMM2 ; addss XMM5,[ESI] ; addss XMM6,XMM7 ; andps XMM1,[EAX] ; andps XMM1,XMM2 ; andpd XMM0,[EBX] ; andpd XMM2,XMM1 ; andnps XMM1,[EAX] ; andnps XMM1,XMM2 ; andnpd XMM0,[EBX] ; andnpd XMM2,XMM1 ; cmpsd ; cmpps XMM1,[EAX],1 ; cmpps XMM1,XMM2,2 ; cmppd XMM0,[EBX],3 ; cmppd XMM2,XMM1,4 ; cmpsd XMM1,[EAX],5 ; cmpsd XMM1,XMM2,6 ; cmpss XMM5,[ESI],7 ; cmpss XMM6,XMM7,0 ; comisd XMM1,[EAX] ; comisd XMM1,m64[EBP] ; comisd XMM1,XMM2 ; comiss XMM5,[ESI] ; comiss XMM6,XMM7 ; cvtdq2pd XMM3,XMM4 ; cvtdq2pd XMM3,m64[EBP] ; cvtdq2ps XMM3,XMM4 ; cvtdq2ps XMM3,m128[EBP] ; cvtpd2dq XMM3,XMM4 ; cvtpd2dq XMM3,m128[EBP] ; cvtpd2pi MM3,XMM4 ; cvtpd2pi MM3,m128[EBP] ; cvtpd2ps XMM3,XMM4 ; cvtpd2ps XMM3,m128[EBP] ; cvtpi2pd XMM3,MM4 ; cvtpi2pd XMM3,m64[EBP] ; cvtpi2ps XMM3,MM4 ; cvtpi2ps XMM3,m64[EBP] ; cvtps2dq XMM3,XMM4 ; cvtps2dq XMM3,m128[EBP] ; cvtps2pd XMM3,XMM4 ; cvtps2pd XMM3,m64[EBP] ; cvtps2pi MM3,XMM4 ; cvtps2pi MM3,m64[EBP] ; cvtsd2si ECX,XMM4 ; cvtsd2si EDX,m64[EBP] ; cvtsd2ss XMM3,XMM4 ; cvtsd2ss XMM3,m64[EBP] ; cvtsi2sd XMM3,EDX ; cvtsi2sd XMM3,m32[EBP] ; cvtsi2ss XMM3,EDX ; cvtsi2ss XMM3,m32[EBP] ; cvtss2sd XMM3,XMM4 ; cvtss2sd XMM3,m32[EBP] ; cvtss2si EDI,XMM4 ; cvtss2si EDI,m32[EBP] ; cvttpd2pi MM3,XMM4 ; cvttpd2pi MM7,m128[EBP] ; cvttpd2dq XMM3,XMM4 ; cvttpd2dq XMM7,m128[EBP] ; cvttps2dq XMM3,XMM4 ; cvttps2dq XMM7,m128[EBP] ; cvttps2pi MM3,XMM4 ; cvttps2pi MM7,m64[EBP] ; cvttsd2si EAX,XMM4 ; cvttsd2si ECX,m128[EBP] ; cvttss2si EAX,XMM4 ; cvttss2si ECX,m32[EBP] ; divpd XMM5,XMM0 ; divpd XMM5,m128[EBP] ; divps XMM5,XMM0 ; divps XMM5,m128[EBP] ; divsd XMM5,XMM0 ; divsd XMM5,m64[EBP] ; divss XMM5,XMM0 ; divss XMM5,m32[EBP] ; maskmovdqu XMM1,XMM2 ; maskmovq MM3,MM4 ; maxpd XMM0,XMM0 ; maxpd XMM1,m128[EBP] ; maxps XMM2,XMM1 ; maxps XMM3,m128[EBP] ; maxsd XMM4,XMM2 ; maxsd XMM5,m64[EBP] ; maxss XMM6,XMM3 ; maxss XMM7,m32[EBP] ; minpd XMM0,XMM0 ; minpd XMM1,m128[EBP] ; minps XMM2,XMM1 ; minps XMM3,m128[EBP] ; minsd XMM4,XMM2 ; minsd XMM5,m64[EBP] ; minss XMM6,XMM3 ; minss XMM7,m32[EBP] ; movapd XMM1,XMM2 ; movapd XMM3,m128[EBP] ; movapd m128[EBP],XMM4 ; movaps XMM1,XMM2 ; movaps XMM3,m128[EBP] ; movaps m128[EBP],XMM4 ; movd MM1,EBX ; movd MM2,m32[EBP] ; movd EBX,MM3 ; movd m32[EBP],MM4 ; movd XMM1,EBX ; movd XMM2,m32[EBP] ; movd EBX,XMM3 ; movd m32[EBP],XMM4 ; movdqa XMM1,XMM2 ; movdqa XMM2,m128[EBP] ; movdqa m128[EBP],XMM4 ; movdqu XMM1,XMM2 ; movdqu XMM2,m128[EBP] ; movdqu m128[EBP],XMM4 ; movdq2q MM3,XMM4 ; movhlps XMM3,XMM4 ; movhpd XMM2,m64[EBP] ; movhpd m64[EBP],XMM7 ; movhps XMM2,m64[EBP] ; movhps m64[EBP],XMM7 ; movlhps XMM3,XMM4 ; movlpd XMM2,m64[EBP] ; movlpd m64[EBP],XMM7 ; movlps XMM2,m64[EBP] ; movlps m64[EBP],XMM7 ; movmskpd ESI,XMM3 ; movmskps ESI,XMM3 ; mulpd XMM0,XMM0 ; mulpd XMM1,m128[EBP] ; mulps XMM2,XMM1 ; mulps XMM3,m128[EBP] ; mulsd XMM4,XMM2 ; mulsd XMM5,m64[EBP] ; mulss XMM6,XMM3 ; mulss XMM7,m32[EBP] ; sqrtpd XMM0,XMM4 ; sqrtpd XMM1,m128[EBP] ; sqrtps XMM2,XMM5 ; sqrtps XMM3,m128[EBP] ; sqrtsd XMM4,XMM6 ; sqrtsd XMM5,m64[EBP] ; sqrtss XMM6,XMM7 ; sqrtss XMM7,m32[EBP] ; subpd XMM0,XMM4 ; subpd XMM1,m128[EBP] ; subps XMM2,XMM5 ; subps XMM3,m128[EBP] ; subsd XMM4,XMM6 ; subsd XMM5,m64[EBP] ; subss XMM6,XMM7 ; subss XMM7,m32[EBP] ; smsw EAX ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { //printf("[%d] = %02x %02x\n", i, p[i], data[i]); assert(p[i] == data[i]); } } /****************************************************/ void test14() { byte m8; short m16; int m32; long m64; M128 m128; ubyte *p; static ubyte data[] = [ 0x66, 0x0F,0x50,0xF3, // movmskpd ESI,XMM3 0x0F,0x50,0xF3, // movmskps ESI,XMM3 0x66, 0x0F,0xE7,0x55,0xE8, // movntdq -018h[EBP],XMM2 0x0F,0xC3,0x4D,0xDC, // movnti -024h[EBP],ECX 0x66, 0x0F,0x2B,0x5D,0xE8, // movntpd -018h[EBP],XMM3 0x0F,0x2B,0x65,0xE8, // movntps -018h[EBP],XMM4 0x0F,0xE7,0x6D,0xE0, // movntq -020h[EBP],MM5 0x0F,0x6F,0xCA, // movq MM1,MM2 0x0F,0x6F,0x55,0xE0, // movq MM2,-020h[EBP] 0x0F,0x7F,0x5D,0xE0, // movq -020h[EBP],MM3 0xF3,0x0F,0x7E,0xCA, // movq XMM1,XMM2 0xF3,0x0F,0x7E,0x55,0xE0, // movq XMM2,-020h[EBP] 0x66, 0x0F,0xD6,0x5D,0xE0, // movq -020h[EBP],XMM3 0xF3,0x0F,0xD6,0xDA, // movq2dq XMM3,MM2 0xA5, // movsd 0xF2,0x0F,0x10,0xCA, // movsd XMM1,XMM2 0xF2,0x0F,0x10,0x5D,0xE0, // movsd XMM3,-020h[EBP] 0xF2,0x0F,0x11,0x65,0xE0, // movsd -020h[EBP],XMM4 0xF3,0x0F,0x10,0xCA, // movss XMM1,XMM2 0xF3,0x0F,0x10,0x5D,0xDC, // movss XMM3,-024h[EBP] 0xF3,0x0F,0x11,0x65,0xDC, // movss -024h[EBP],XMM4 0x66, 0x0F,0x10,0xCA, // movupd XMM1,XMM2 0x66, 0x0F,0x10,0x5D,0xE8, // movupd XMM3,-018h[EBP] 0x66, 0x0F,0x11,0x65,0xE8, // movupd -018h[EBP],XMM4 0x0F,0x10,0xCA, // movups XMM1,XMM2 0x0F,0x10,0x5D,0xE8, // movups XMM3,-018h[EBP] 0x0F,0x11,0x65,0xE8, // movups -018h[EBP],XMM4 0x66, 0x0F,0x56,0xCA, // orpd XMM1,XMM2 0x66, 0x0F,0x56,0x5D,0xE8, // orpd XMM3,-018h[EBP] 0x0F,0x56,0xCA, // orps XMM1,XMM2 0x0F,0x56,0x5D,0xE8, // orps XMM3,-018h[EBP] 0x0F,0x63,0xCA, // packsswb MM1,MM2 0x0F,0x63,0x5D,0xE0, // packsswb MM3,-020h[EBP] 0x66, 0x0F,0x63,0xCA, // packsswb XMM1,XMM2 0x66, 0x0F,0x63,0x5D,0xE8, // packsswb XMM3,-018h[EBP] 0x0F,0x6B,0xCA, // packssdw MM1,MM2 0x0F,0x6B,0x5D,0xE0, // packssdw MM3,-020h[EBP] 0x66, 0x0F,0x6B,0xCA, // packssdw XMM1,XMM2 0x66, 0x0F,0x6B,0x5D,0xE8, // packssdw XMM3,-018h[EBP] 0x0F,0x67,0xCA, // packuswb MM1,MM2 0x0F,0x67,0x5D,0xE0, // packuswb MM3,-020h[EBP] 0x66, 0x0F,0x67,0xCA, // packuswb XMM1,XMM2 0x66, 0x0F,0x67,0x5D,0xE8, // packuswb XMM3,-018h[EBP] 0x0F,0xFC,0xCA, // paddb MM1,MM2 0x0F,0xFC,0x5D,0xE0, // paddb MM3,-020h[EBP] 0x66, 0x0F,0xFC,0xCA, // paddb XMM1,XMM2 0x66, 0x0F,0xFC,0x5D,0xE8, // paddb XMM3,-018h[EBP] 0x0F,0xFD,0xCA, // paddw MM1,MM2 0x0F,0xFD,0x5D,0xE0, // paddw MM3,-020h[EBP] 0x66, 0x0F,0xFD,0xCA, // paddw XMM1,XMM2 0x66, 0x0F,0xFD,0x5D,0xE8, // paddw XMM3,-018h[EBP] 0x0F,0xFE,0xCA, // paddd MM1,MM2 0x0F,0xFE,0x5D,0xE0, // paddd MM3,-020h[EBP] 0x66, 0x0F,0xFE,0xCA, // paddd XMM1,XMM2 0x66, 0x0F,0xFE,0x5D,0xE8, // paddd XMM3,-018h[EBP] 0x0F,0xD4,0xCA, // paddq MM1,MM2 0x0F,0xD4,0x5D,0xE0, // paddq MM3,-020h[EBP] 0x66, 0x0F,0xD4,0xCA, // paddq XMM1,XMM2 0x66, 0x0F,0xD4,0x5D,0xE8, // paddq XMM3,-018h[EBP] 0x0F,0xEC,0xCA, // paddsb MM1,MM2 0x0F,0xEC,0x5D,0xE0, // paddsb MM3,-020h[EBP] 0x66, 0x0F,0xEC,0xCA, // paddsb XMM1,XMM2 0x66, 0x0F,0xEC,0x5D,0xE8, // paddsb XMM3,-018h[EBP] 0x0F,0xED,0xCA, // paddsw MM1,MM2 0x0F,0xED,0x5D,0xE0, // paddsw MM3,-020h[EBP] 0x66, 0x0F,0xED,0xCA, // paddsw XMM1,XMM2 0x66, 0x0F,0xED,0x5D,0xE8, // paddsw XMM3,-018h[EBP] 0x0F,0xDC,0xCA, // paddusb MM1,MM2 0x0F,0xDC,0x5D,0xE0, // paddusb MM3,-020h[EBP] 0x66, 0x0F,0xDC,0xCA, // paddusb XMM1,XMM2 0x66, 0x0F,0xDC,0x5D,0xE8, // paddusb XMM3,-018h[EBP] 0x0F,0xDD,0xCA, // paddusw MM1,MM2 0x0F,0xDD,0x5D,0xE0, // paddusw MM3,-020h[EBP] 0x66, 0x0F,0xDD,0xCA, // paddusw XMM1,XMM2 0x66, 0x0F,0xDD,0x5D,0xE8, // paddusw XMM3,-018h[EBP] 0x0F,0xDB,0xCA, // pand MM1,MM2 0x0F,0xDB,0x5D,0xE0, // pand MM3,-020h[EBP] 0x66, 0x0F,0xDB,0xCA, // pand XMM1,XMM2 0x66, 0x0F,0xDB,0x5D,0xE8, // pand XMM3,-018h[EBP] 0x0F,0xDF,0xCA, // pandn MM1,MM2 0x0F,0xDF,0x5D,0xE0, // pandn MM3,-020h[EBP] 0x66, 0x0F,0xDF,0xCA, // pandn XMM1,XMM2 0x66, 0x0F,0xDF,0x5D,0xE8, // pandn XMM3,-018h[EBP] 0x0F,0xE0,0xCA, // pavgb MM1,MM2 0x0F,0xE0,0x5D,0xE0, // pavgb MM3,-020h[EBP] 0x66, 0x0F,0xE0,0xCA, // pavgb XMM1,XMM2 0x66, 0x0F,0xE0,0x5D,0xE8, // pavgb XMM3,-018h[EBP] 0x0F,0xE3,0xCA, // pavgw MM1,MM2 0x0F,0xE3,0x5D,0xE0, // pavgw MM3,-020h[EBP] 0x66, 0x0F,0xE3,0xCA, // pavgw XMM1,XMM2 0x66, 0x0F,0xE3,0x5D,0xE8, // pavgw XMM3,-018h[EBP] 0x0F,0x74,0xCA, // pcmpeqb MM1,MM2 0x0F,0x74,0x5D,0xE0, // pcmpeqb MM3,-020h[EBP] 0x66, 0x0F,0x74,0xCA, // pcmpeqb XMM1,XMM2 0x66, 0x0F,0x74,0x5D,0xE8, // pcmpeqb XMM3,-018h[EBP] 0x0F,0x75,0xCA, // pcmpeqw MM1,MM2 0x0F,0x75,0x5D,0xE0, // pcmpeqw MM3,-020h[EBP] 0x66, 0x0F,0x75,0xCA, // pcmpeqw XMM1,XMM2 0x66, 0x0F,0x75,0x5D,0xE8, // pcmpeqw XMM3,-018h[EBP] 0x0F,0x76,0xCA, // pcmpeqd MM1,MM2 0x0F,0x76,0x5D,0xE0, // pcmpeqd MM3,-020h[EBP] 0x66, 0x0F,0x76,0xCA, // pcmpeqd XMM1,XMM2 0x66, 0x0F,0x76,0x5D,0xE8, // pcmpeqd XMM3,-018h[EBP] 0x0F,0x64,0xCA, // pcmpgtb MM1,MM2 0x0F,0x64,0x5D,0xE0, // pcmpgtb MM3,-020h[EBP] 0x66, 0x0F,0x64,0xCA, // pcmpgtb XMM1,XMM2 0x66, 0x0F,0x64,0x5D,0xE8, // pcmpgtb XMM3,-018h[EBP] 0x0F,0x65,0xCA, // pcmpgtw MM1,MM2 0x0F,0x65,0x5D,0xE0, // pcmpgtw MM3,-020h[EBP] 0x66, 0x0F,0x65,0xCA, // pcmpgtw XMM1,XMM2 0x66, 0x0F,0x65,0x5D,0xE8, // pcmpgtw XMM3,-018h[EBP] 0x0F,0x66,0xCA, // pcmpgtd MM1,MM2 0x0F,0x66,0x5D,0xE0, // pcmpgtd MM3,-020h[EBP] 0x66, 0x0F,0x66,0xCA, // pcmpgtd XMM1,XMM2 0x66, 0x0F,0x66,0x5D,0xE8, // pcmpgtd XMM3,-018h[EBP] 0x0F,0xC5,0xD6,0x07, // pextrw EDX,MM6,7 0x66, 0x0F,0xC5,0xD6,0x07, // pextrw EDX,XMM6,7 0x0F,0xC4,0xF2,0x07, // pinsrw MM6,EDX,7 0x0F,0xC4,0x75,0xDA,0x07, // pinsrw MM6,-026h[EBP],7 0x66, 0x0F,0xC4,0xF2,0x07, // pinsrw XMM6,EDX,7 0x66, 0x0F,0xC4,0x75,0xDA,0x07, // pinsrw XMM6,-026h[EBP],7 0x0F,0xF5,0xCA, // pmaddwd MM1,MM2 0x0F,0xF5,0x5D,0xE0, // pmaddwd MM3,-020h[EBP] 0x66, 0x0F,0xF5,0xCA, // pmaddwd XMM1,XMM2 0x66, 0x0F,0xF5,0x5D,0xE8, // pmaddwd XMM3,-018h[EBP] 0x0F,0xEE,0xCA, // pmaxsw MM1,XMM2 0x0F,0xEE,0x5D,0xE0, // pmaxsw MM3,-020h[EBP] 0x66, 0x0F,0xEE,0xCA, // pmaxsw XMM1,XMM2 0x66, 0x0F,0xEE,0x5D,0xE8, // pmaxsw XMM3,-018h[EBP] 0x0F,0xDE,0xCA, // pmaxub MM1,XMM2 0x0F,0xDE,0x5D,0xE0, // pmaxub MM3,-020h[EBP] 0x66, 0x0F,0xDE,0xCA, // pmaxub XMM1,XMM2 0x66, 0x0F,0xDE,0x5D,0xE8, // pmaxub XMM3,-018h[EBP] 0x0F,0xEA,0xCA, // pminsw MM1,MM2 0x0F,0xEA,0x5D,0xE0, // pminsw MM3,-020h[EBP] 0x66, 0x0F,0xEA,0xCA, // pminsw XMM1,XMM2 0x66, 0x0F,0xEA,0x5D,0xE8, // pminsw XMM3,-018h[EBP] 0x0F,0xDA,0xCA, // pminub MM1,MM2 0x0F,0xDA,0x5D,0xE0, // pminub MM3,-020h[EBP] 0x66, 0x0F,0xDA,0xCA, // pminub XMM1,XMM2 0x66, 0x0F,0xDA,0x5D,0xE8, // pminub XMM3,-018h[EBP] 0x0F,0xD7,0xC8, // pmovmskb ECX,MM0 0x66, 0x0F,0xD7,0xCE, // pmovmskb ECX,XMM6 0x0F,0xE4,0xCA, // pmulhuw MM1,MM2 0x0F,0xE4,0x5D,0xE0, // pmulhuw MM3,-020h[EBP] 0x66, 0x0F,0xE4,0xCA, // pmulhuw XMM1,XMM2 0x66, 0x0F,0xE4,0x5D,0xE8, // pmulhuw XMM3,-018h[EBP] 0x0F,0xE5,0xCA, // pmulhw MM1,MM2 0x0F,0xE5,0x5D,0xE0, // pmulhw MM3,-020h[EBP] 0x66, 0x0F,0xE5,0xCA, // pmulhw XMM1,XMM2 0x66, 0x0F,0xE5,0x5D,0xE8, // pmulhw XMM3,-018h[EBP] 0x0F,0xD5,0xCA, // pmullw MM1,MM2 0x0F,0xD5,0x5D,0xE0, // pmullw MM3,-020h[EBP] 0x66, 0x0F,0xD5,0xCA, // pmullw XMM1,XMM2 0x66, 0x0F,0xD5,0x5D,0xE8, // pmullw XMM3,-018h[EBP] 0x0F,0xF4,0xCA, // pmuludq MM1,MM2 0x0F,0xF4,0x5D,0xE0, // pmuludq MM3,-020h[EBP] 0x66, 0x0F,0xF4,0xCA, // pmuludq XMM1,XMM2 0x66, 0x0F,0xF4,0x5D,0xE8, // pmuludq XMM3,-018h[EBP] 0x0F,0xEB,0xCA, // por MM1,MM2 0x0F,0xEB,0x5D,0xE0, // por MM3,-020h[EBP] 0x66, 0x0F,0xEB,0xCA, // por XMM1,XMM2 0x66, 0x0F,0xEB,0x5D,0xE8, // por XMM3,-018h[EBP] 0x0F,0x18,0x4D,0xD8, // prefetcht0 -028h[EBP] 0x0F,0x18,0x55,0xD8, // prefetcht1 -028h[EBP] 0x0F,0x18,0x5D,0xD8, // prefetcht2 -028h[EBP] 0x0F,0x18,0x45,0xD8, // prefetchnta -028h[EBP] 0x0F,0xF6,0xCA, // psadbw MM1,MM2 0x0F,0xF6,0x5D,0xE0, // psadbw MM3,-020h[EBP] 0x66, 0x0F,0xF6,0xCA, // psadbw XMM1,XMM2 0x66, 0x0F,0xF6,0x5D,0xE8, // psadbw XMM3,-018h[EBP] 0x66, 0x0F,0x70,0xCA,0x03, // pshufd XMM1,XMM2 0x66, 0x0F,0x70,0x5D,0xE8,0x03, // pshufd XMM3,-018h[EBP] 0xF3,0x0F,0x70,0xCA,0x03, // pshufhw XMM1,XMM2 0xF3,0x0F,0x70,0x5D,0xE8,0x03, // pshufhw XMM3,-018h[EBP] 0xF2,0x0F,0x70,0xCA,0x03, // pshuflw XMM1,XMM2 0xF2,0x0F,0x70,0x5D,0xE8,0x03, // pshuflw XMM3,-018h[EBP] 0x0F,0x70,0xCA,0x03, // pshufw MM1,MM2 0x0F,0x70,0x5D,0xE0,0x03, // pshufw MM3,-020h[EBP] 0x66, 0x0F,0x73,0xF9,0x18, // pslldq XMM1,018h 0x0F,0xF1,0xCA, // psllw MM1,MM2 0x0F,0xF1,0x4D,0xE0, // psllw MM1,-020h[EBP] 0x66, 0x0F,0xF1,0xCA, // psllw XMM1,XMM2 0x66, 0x0F,0xF1,0x4D,0xE8, // psllw XMM1,-018h[EBP] 0x0F,0x71,0xF1,0x15, // psraw MM1,015h 0x66, 0x0F,0x71,0xF1,0x15, // psraw XMM1,015h 0x0F,0xF2,0xCA, // pslld MM1,MM2 0x0F,0xF2,0x4D,0xE0, // pslld MM1,-020h[EBP] 0x66, 0x0F,0xF2,0xCA, // pslld XMM1,XMM2 0x66, 0x0F,0xF2,0x4D,0xE8, // pslld XMM1,-018h[EBP] 0x0F,0x72,0xF1,0x15, // psrad MM1,015h 0x66, 0x0F,0x72,0xF1,0x15, // psrad XMM1,015h 0x0F,0xF3,0xCA, // psllq MM1,MM2 0x0F,0xF3,0x4D,0xE0, // psllq MM1,-020h[EBP] 0x66, 0x0F,0xF3,0xCA, // psllq XMM1,XMM2 0x66, 0x0F,0xF3,0x4D,0xE8, // psllq XMM1,-018h[EBP] 0x0F,0x73,0xF1,0x15, // psllq MM1,015h 0x66, 0x0F,0x73,0xF1,0x15, // psllq XMM1,015h 0x0F,0xE1,0xCA, // psraw MM1,MM2 0x0F,0xE1,0x4D,0xE0, // psraw MM1,-020h[EBP] 0x66, 0x0F,0xE1,0xCA, // psraw XMM1,XMM2 0x66, 0x0F,0xE1,0x4D,0xE8, // psraw XMM1,-018h[EBP] 0x0F,0x71,0xE1,0x15, // psraw MM1,015h 0x66, 0x0F,0x71,0xE1,0x15, // psraw XMM1,015h 0x0F,0xE2,0xCA, // psrad MM1,MM2 0x0F,0xE2,0x4D,0xE0, // psrad MM1,-020h[EBP] 0x66, 0x0F,0xE2,0xCA, // psrad XMM1,XMM2 0x66, 0x0F,0xE2,0x4D,0xE8, // psrad XMM1,-018h[EBP] 0x0F,0x72,0xE1,0x15, // psrad MM1,015h 0x66, 0x0F,0x72,0xE1,0x15, // psrad XMM1,015h 0x66, 0x0F,0x73,0xD9,0x18, // psrldq XMM1,018h 0x0F,0xD1,0xCA, // psrlw MM1,MM2 0x0F,0xD1,0x4D,0xE0, // psrlw MM1,-020h[EBP] 0x66, 0x0F,0xD1,0xCA, // psrlw XMM1,XMM2 0x66, 0x0F,0xD1,0x4D,0xE8, // psrlw XMM1,-018h[EBP] 0x0F,0x71,0xD1,0x15, // psrlw MM1,015h 0x66, 0x0F,0x71,0xD1,0x15, // psrlw XMM1,015h 0x0F,0xD2,0xCA, // psrld MM1,MM2 0x0F,0xD2,0x4D,0xE0, // psrld MM1,-020h[EBP] 0x66, 0x0F,0xD2,0xCA, // psrld XMM1,XMM2 0x66, 0x0F,0xD2,0x4D,0xE8, // psrld XMM1,-018h[EBP] 0x0F,0x72,0xD1,0x15, // psrld MM1,015h 0x66, 0x0F,0x72,0xD1,0x15, // psrld XMM1,015h 0x0F,0xD3,0xCA, // psrlq MM1,MM2 0x0F,0xD3,0x4D,0xE0, // psrlq MM1,-020h[EBP] 0x66, 0x0F,0xD3,0xCA, // psrlq XMM1,XMM2 0x66, 0x0F,0xD3,0x4D,0xE8, // psrlq XMM1,-018h[EBP] 0x0F,0x73,0xD1,0x15, // psrlq MM1,015h 0x66, 0x0F,0x73,0xD1,0x15, // psrlq XMM1,015h 0x0F,0xF8,0xCA, // psubb MM1,MM2 0x0F,0xF8,0x4D,0xE0, // psubb MM1,-020h[EBP] 0x66, 0x0F,0xF8,0xCA, // psubb XMM1,XMM2 0x66, 0x0F,0xF8,0x4D,0xE8, // psubb XMM1,-018h[EBP] 0x0F,0xF9,0xCA, // psubw MM1,MM2 0x0F,0xF9,0x4D,0xE0, // psubw MM1,-020h[EBP] 0x66, 0x0F,0xF9,0xCA, // psubw XMM1,XMM2 0x66, 0x0F,0xF9,0x4D,0xE8, // psubw XMM1,-018h[EBP] 0x0F,0xFA,0xCA, // psubd MM1,MM2 0x0F,0xFA,0x4D,0xE0, // psubd MM1,-020h[EBP] 0x66, 0x0F,0xFA,0xCA, // psubd XMM1,XMM2 0x66, 0x0F,0xFA,0x4D,0xE8, // psubd XMM1,-018h[EBP] 0x0F,0xFB,0xCA, // psubq MM1,MM2 0x0F,0xFB,0x4D,0xE0, // psubq MM1,-020h[EBP] 0x66, 0x0F,0xFB,0xCA, // psubq XMM1,XMM2 0x66, 0x0F,0xFB,0x4D,0xE8, // psubq XMM1,-018h[EBP] 0x0F,0xE8,0xCA, // psubsb MM1,MM2 0x0F,0xE8,0x4D,0xE0, // psubsb MM1,-020h[EBP] 0x66, 0x0F,0xE8,0xCA, // psubsb XMM1,XMM2 0x66, 0x0F,0xE8,0x4D,0xE8, // psubsb XMM1,-018h[EBP] 0x0F,0xE9,0xCA, // psubsw MM1,MM2 0x0F,0xE9,0x4D,0xE0, // psubsw MM1,-020h[EBP] 0x66, 0x0F,0xE9,0xCA, // psubsw XMM1,XMM2 0x66, 0x0F,0xE9,0x4D,0xE8, // psubsw XMM1,-018h[EBP] 0x0F,0xD8,0xCA, // psubusb MM1,MM2 0x0F,0xD8,0x4D,0xE0, // psubusb MM1,-020h[EBP] 0x66, 0x0F,0xD8,0xCA, // psubusb XMM1,XMM2 0x66, 0x0F,0xD8,0x4D,0xE8, // psubusb XMM1,-018h[EBP] 0x0F,0xD9,0xCA, // psubusw MM1,MM2 0x0F,0xD9,0x4D,0xE0, // psubusw MM1,-020h[EBP] 0x66, 0x0F,0xD9,0xCA, // psubusw XMM1,XMM2 0x66, 0x0F,0xD9,0x4D,0xE8, // psubusw XMM1,-018h[EBP] 0x0F,0x68,0xCA, // punpckhbw MM1,MM2 0x0F,0x68,0x4D,0xE0, // punpckhbw MM1,-020h[EBP] 0x66, 0x0F,0x68,0xCA, // punpckhbw XMM1,XMM2 0x66, 0x0F,0x68,0x4D,0xE8, // punpckhbw XMM1,-018h[EBP] 0x0F,0x69,0xCA, // punpckhwd MM1,MM2 0x0F,0x69,0x4D,0xE0, // punpckhwd MM1,-020h[EBP] 0x66, 0x0F,0x69,0xCA, // punpckhwd XMM1,XMM2 0x66, 0x0F,0x69,0x4D,0xE8, // punpckhwd XMM1,-018h[EBP] 0x0F,0x6A,0xCA, // punpckhdq MM1,MM2 0x0F,0x6A,0x4D,0xE0, // punpckhdq MM1,-020h[EBP] 0x66, 0x0F,0x6A,0xCA, // punpckhdq XMM1,XMM2 0x66, 0x0F,0x6A,0x4D,0xE8, // punpckhdq XMM1,-018h[EBP] 0x66, 0x0F,0x6D,0xCA, // punpckhqdq XMM1,XMM2 0x66, 0x0F,0x6D,0x4D,0xE8, // punpckhqdq XMM1,-018h[EBP] 0x0F,0x60,0xCA, // punpcklbw MM1,MM2 0x0F,0x60,0x4D,0xE0, // punpcklbw MM1,-020h[EBP] 0x66, 0x0F,0x60,0xCA, // punpcklbw XMM1,XMM2 0x66, 0x0F,0x60,0x4D,0xE8, // punpcklbw XMM1,-018h[EBP] 0x0F,0x61,0xCA, // punpcklwd MM1,MM2 0x0F,0x61,0x4D,0xE0, // punpcklwd MM1,-020h[EBP] 0x66, 0x0F,0x61,0xCA, // punpcklwd XMM1,XMM2 0x66, 0x0F,0x61,0x4D,0xE8, // punpcklwd XMM1,-018h[EBP] 0x0F,0x62,0xCA, // punpckldq MM1,MM2 0x0F,0x62,0x4D,0xE0, // punpckldq MM1,-020h[EBP] 0x66, 0x0F,0x62,0xCA, // punpckldq XMM1,XMM2 0x66, 0x0F,0x62,0x4D,0xE8, // punpckldq XMM1,-018h[EBP] 0x66, 0x0F,0x6C,0xCA, // punpcklqdq XMM1,XMM2 0x66, 0x0F,0x6C,0x4D,0xE8, // punpcklqdq XMM1,-018h[EBP] 0x0F,0xEF,0xCA, // pxor MM1,MM2 0x0F,0xEF,0x4D,0xE0, // pxor MM1,-020h[EBP] 0x66, 0x0F,0xEF,0xCA, // pxor XMM1,XMM2 0x66, 0x0F,0xEF,0x4D,0xE8, // pxor XMM1,-018h[EBP] 0x0F,0x53,0xCA, // rcpps XMM1,XMM2 0x0F,0x53,0x4D,0xE8, // rcpps XMM1,-018h[EBP] 0xF3,0x0F,0x53,0xCA, // rcpss XMM1,XMM2 0xF3,0x0F,0x53,0x4D,0xDC, // rcpss XMM1,-024h[EBP] 0x0F,0x52,0xCA, // rsqrtps XMM1,XMM2 0x0F,0x52,0x4D,0xE8, // rsqrtps XMM1,-018h[EBP] 0xF3,0x0F,0x52,0xCA, // rsqrtss XMM1,XMM2 0xF3,0x0F,0x52,0x4D,0xDC, // rsqrtss XMM1,-024h[EBP] 0x66, 0x0F,0xC6,0xCA,0x03, // shufpd XMM1,XMM2,3 0x66, 0x0F,0xC6,0x4D,0xE8,0x04, // shufpd XMM1,-018h[EBP],4 0x0F,0xC6,0xCA,0x03, // shufps XMM1,XMM2,3 0x0F,0xC6,0x4D,0xE8,0x04, // shufps XMM1,-018h[EBP],4 0x66, 0x0F,0x2E,0xE6, // ucimisd XMM4,XMM6 0x66, 0x0F,0x2E,0x6D,0xE0, // ucimisd XMM5,-020h[EBP] 0x0F,0x2E,0xF7, // ucomiss XMM6,XMM7 0x0F,0x2E,0x7D,0xDC, // ucomiss XMM7,-024h[EBP] 0x66, 0x0F,0x15,0xE6, // uppckhpd XMM4,XMM6 0x66, 0x0F,0x15,0x6D,0xE8, // uppckhpd XMM5,-018h[EBP] 0x0F,0x15,0xE6, // unpckhps XMM4,XMM6 0x0F,0x15,0x6D,0xE8, // unpckhps XMM5,-018h[EBP] 0x66, 0x0F,0x14,0xE6, // uppcklpd XMM4,XMM6 0x66, 0x0F,0x14,0x6D,0xE8, // uppcklpd XMM5,-018h[EBP] 0x0F,0x14,0xE6, // unpcklps XMM4,XMM6 0x0F,0x14,0x6D,0xE8, // unpcklps XMM5,-018h[EBP] 0x66, 0x0F,0x57,0xCA, // xorpd XMM1,XMM2 0x66, 0x0F,0x57,0x4D,0xE8, // xorpd XMM1,-018h[EBP] 0x0F,0x57,0xCA, // xorps XMM1,XMM2 0x0F,0x57,0x4D,0xE8, // xorps XMM1,-018h[EBP] ]; int i; asm { call L1 ; movmskpd ESI,XMM3 ; movmskps ESI,XMM3 ; movntdq m128[EBP],XMM2 ; movnti m32[EBP],ECX ; movntpd m128[EBP],XMM3 ; movntps m128[EBP],XMM4 ; movntq m64[EBP],MM5 ; movq MM1,MM2 ; movq MM2,m64[EBP] ; movq m64[EBP],MM3 ; movq XMM1,XMM2 ; movq XMM2,m64[EBP] ; movq m64[EBP],XMM3 ; movq2dq XMM3,MM2 ; movsd ; movsd XMM1,XMM2 ; movsd XMM3,m64[EBP] ; movsd m64[EBP],XMM4 ; movss XMM1,XMM2 ; movss XMM3,m32[EBP] ; movss m32[EBP],XMM4 ; movupd XMM1,XMM2 ; movupd XMM3,m128[EBP] ; movupd m128[EBP],XMM4 ; movups XMM1,XMM2 ; movups XMM3,m128[EBP] ; movups m128[EBP],XMM4 ; orpd XMM1,XMM2 ; orpd XMM3,m128[EBP] ; orps XMM1,XMM2 ; orps XMM3,m128[EBP] ; packsswb MM1,MM2 ; packsswb MM3,m64[EBP] ; packsswb XMM1,XMM2 ; packsswb XMM3,m128[EBP] ; packssdw MM1,MM2 ; packssdw MM3,m64[EBP] ; packssdw XMM1,XMM2 ; packssdw XMM3,m128[EBP] ; packuswb MM1,MM2 ; packuswb MM3,m64[EBP] ; packuswb XMM1,XMM2 ; packuswb XMM3,m128[EBP] ; paddb MM1,MM2 ; paddb MM3,m64[EBP] ; paddb XMM1,XMM2 ; paddb XMM3,m128[EBP] ; paddw MM1,MM2 ; paddw MM3,m64[EBP] ; paddw XMM1,XMM2 ; paddw XMM3,m128[EBP] ; paddd MM1,MM2 ; paddd MM3,m64[EBP] ; paddd XMM1,XMM2 ; paddd XMM3,m128[EBP] ; paddq MM1,MM2 ; paddq MM3,m64[EBP] ; paddq XMM1,XMM2 ; paddq XMM3,m128[EBP] ; paddsb MM1,MM2 ; paddsb MM3,m64[EBP] ; paddsb XMM1,XMM2 ; paddsb XMM3,m128[EBP] ; paddsw MM1,MM2 ; paddsw MM3,m64[EBP] ; paddsw XMM1,XMM2 ; paddsw XMM3,m128[EBP] ; paddusb MM1,MM2 ; paddusb MM3,m64[EBP] ; paddusb XMM1,XMM2 ; paddusb XMM3,m128[EBP] ; paddusw MM1,MM2 ; paddusw MM3,m64[EBP] ; paddusw XMM1,XMM2 ; paddusw XMM3,m128[EBP] ; pand MM1,MM2 ; pand MM3,m64[EBP] ; pand XMM1,XMM2 ; pand XMM3,m128[EBP] ; pandn MM1,MM2 ; pandn MM3,m64[EBP] ; pandn XMM1,XMM2 ; pandn XMM3,m128[EBP] ; pavgb MM1,MM2 ; pavgb MM3,m64[EBP] ; pavgb XMM1,XMM2 ; pavgb XMM3,m128[EBP] ; pavgw MM1,MM2 ; pavgw MM3,m64[EBP] ; pavgw XMM1,XMM2 ; pavgw XMM3,m128[EBP] ; pcmpeqb MM1,MM2 ; pcmpeqb MM3,m64[EBP] ; pcmpeqb XMM1,XMM2 ; pcmpeqb XMM3,m128[EBP] ; pcmpeqw MM1,MM2 ; pcmpeqw MM3,m64[EBP] ; pcmpeqw XMM1,XMM2 ; pcmpeqw XMM3,m128[EBP] ; pcmpeqd MM1,MM2 ; pcmpeqd MM3,m64[EBP] ; pcmpeqd XMM1,XMM2 ; pcmpeqd XMM3,m128[EBP] ; pcmpgtb MM1,MM2 ; pcmpgtb MM3,m64[EBP] ; pcmpgtb XMM1,XMM2 ; pcmpgtb XMM3,m128[EBP] ; pcmpgtw MM1,MM2 ; pcmpgtw MM3,m64[EBP] ; pcmpgtw XMM1,XMM2 ; pcmpgtw XMM3,m128[EBP] ; pcmpgtd MM1,MM2 ; pcmpgtd MM3,m64[EBP] ; pcmpgtd XMM1,XMM2 ; pcmpgtd XMM3,m128[EBP] ; pextrw EDX,MM6,7 ; pextrw EDX,XMM6,7 ; pinsrw MM6,EDX,7 ; pinsrw MM6,m16[EBP],7 ; pinsrw XMM6,EDX,7 ; pinsrw XMM6,m16[EBP],7 ; pmaddwd MM1,MM2 ; pmaddwd MM3,m64[EBP] ; pmaddwd XMM1,XMM2 ; pmaddwd XMM3,m128[EBP] ; pmaxsw MM1,MM2 ; pmaxsw MM3,m64[EBP] ; pmaxsw XMM1,XMM2 ; pmaxsw XMM3,m128[EBP] ; pmaxub MM1,MM2 ; pmaxub MM3,m64[EBP] ; pmaxub XMM1,XMM2 ; pmaxub XMM3,m128[EBP] ; pminsw MM1,MM2 ; pminsw MM3,m64[EBP] ; pminsw XMM1,XMM2 ; pminsw XMM3,m128[EBP] ; pminub MM1,MM2 ; pminub MM3,m64[EBP] ; pminub XMM1,XMM2 ; pminub XMM3,m128[EBP] ; pmovmskb ECX,MM0 ; pmovmskb ECX,XMM6 ; pmulhuw MM1,MM2 ; pmulhuw MM3,m64[EBP] ; pmulhuw XMM1,XMM2 ; pmulhuw XMM3,m128[EBP] ; pmulhw MM1,MM2 ; pmulhw MM3,m64[EBP] ; pmulhw XMM1,XMM2 ; pmulhw XMM3,m128[EBP] ; pmullw MM1,MM2 ; pmullw MM3,m64[EBP] ; pmullw XMM1,XMM2 ; pmullw XMM3,m128[EBP] ; pmuludq MM1,MM2 ; pmuludq MM3,m64[EBP] ; pmuludq XMM1,XMM2 ; pmuludq XMM3,m128[EBP] ; por MM1,MM2 ; por MM3,m64[EBP] ; por XMM1,XMM2 ; por XMM3,m128[EBP] ; prefetcht0 m8[EBP] ; prefetcht1 m8[EBP] ; prefetcht2 m8[EBP] ; prefetchnta m8[EBP] ; psadbw MM1,MM2 ; psadbw MM3,m64[EBP] ; psadbw XMM1,XMM2 ; psadbw XMM3,m128[EBP] ; pshufd XMM1,XMM2,3 ; pshufd XMM3,m128[EBP],3 ; pshufhw XMM1,XMM2,3 ; pshufhw XMM3,m128[EBP],3 ; pshuflw XMM1,XMM2,3 ; pshuflw XMM3,m128[EBP],3 ; pshufw MM1,MM2,3 ; pshufw MM3,m64[EBP],3 ; pslldq XMM1,0x18 ; psllw MM1,MM2 ; psllw MM1,m64[EBP] ; psllw XMM1,XMM2 ; psllw XMM1,m128[EBP] ; psllw MM1,0x15 ; psllw XMM1,0x15 ; pslld MM1,MM2 ; pslld MM1,m64[EBP] ; pslld XMM1,XMM2 ; pslld XMM1,m128[EBP] ; pslld MM1,0x15 ; pslld XMM1,0x15 ; psllq MM1,MM2 ; psllq MM1,m64[EBP] ; psllq XMM1,XMM2 ; psllq XMM1,m128[EBP] ; psllq MM1,0x15 ; psllq XMM1,0x15 ; psraw MM1,MM2 ; psraw MM1,m64[EBP] ; psraw XMM1,XMM2 ; psraw XMM1,m128[EBP] ; psraw MM1,0x15 ; psraw XMM1,0x15 ; psrad MM1,MM2 ; psrad MM1,m64[EBP] ; psrad XMM1,XMM2 ; psrad XMM1,m128[EBP] ; psrad MM1,0x15 ; psrad XMM1,0x15 ; psrldq XMM1,0x18 ; psrlw MM1,MM2 ; psrlw MM1,m64[EBP] ; psrlw XMM1,XMM2 ; psrlw XMM1,m128[EBP] ; psrlw MM1,0x15 ; psrlw XMM1,0x15 ; psrld MM1,MM2 ; psrld MM1,m64[EBP] ; psrld XMM1,XMM2 ; psrld XMM1,m128[EBP] ; psrld MM1,0x15 ; psrld XMM1,0x15 ; psrlq MM1,MM2 ; psrlq MM1,m64[EBP] ; psrlq XMM1,XMM2 ; psrlq XMM1,m128[EBP] ; psrlq MM1,0x15 ; psrlq XMM1,0x15 ; psubb MM1,MM2 ; psubb MM1,m64[EBP] ; psubb XMM1,XMM2 ; psubb XMM1,m128[EBP] ; psubw MM1,MM2 ; psubw MM1,m64[EBP] ; psubw XMM1,XMM2 ; psubw XMM1,m128[EBP] ; psubd MM1,MM2 ; psubd MM1,m64[EBP] ; psubd XMM1,XMM2 ; psubd XMM1,m128[EBP] ; psubq MM1,MM2 ; psubq MM1,m64[EBP] ; psubq XMM1,XMM2 ; psubq XMM1,m128[EBP] ; psubsb MM1,MM2 ; psubsb MM1,m64[EBP] ; psubsb XMM1,XMM2 ; psubsb XMM1,m128[EBP] ; psubsw MM1,MM2 ; psubsw MM1,m64[EBP] ; psubsw XMM1,XMM2 ; psubsw XMM1,m128[EBP] ; psubusb MM1,MM2 ; psubusb MM1,m64[EBP] ; psubusb XMM1,XMM2 ; psubusb XMM1,m128[EBP] ; psubusw MM1,MM2 ; psubusw MM1,m64[EBP] ; psubusw XMM1,XMM2 ; psubusw XMM1,m128[EBP] ; punpckhbw MM1,MM2 ; punpckhbw MM1,m64[EBP] ; punpckhbw XMM1,XMM2 ; punpckhbw XMM1,m128[EBP] ; punpckhwd MM1,MM2 ; punpckhwd MM1,m64[EBP] ; punpckhwd XMM1,XMM2 ; punpckhwd XMM1,m128[EBP] ; punpckhdq MM1,MM2 ; punpckhdq MM1,m64[EBP] ; punpckhdq XMM1,XMM2 ; punpckhdq XMM1,m128[EBP] ; punpckhqdq XMM1,XMM2 ; punpckhqdq XMM1,m128[EBP] ; punpcklbw MM1,MM2 ; punpcklbw MM1,m64[EBP] ; punpcklbw XMM1,XMM2 ; punpcklbw XMM1,m128[EBP] ; punpcklwd MM1,MM2 ; punpcklwd MM1,m64[EBP] ; punpcklwd XMM1,XMM2 ; punpcklwd XMM1,m128[EBP] ; punpckldq MM1,MM2 ; punpckldq MM1,m64[EBP] ; punpckldq XMM1,XMM2 ; punpckldq XMM1,m128[EBP] ; punpcklqdq XMM1,XMM2 ; punpcklqdq XMM1,m128[EBP] ; pxor MM1,MM2 ; pxor MM1,m64[EBP] ; pxor XMM1,XMM2 ; pxor XMM1,m128[EBP] ; rcpps XMM1,XMM2 ; rcpps XMM1,m128[EBP] ; rcpss XMM1,XMM2 ; rcpss XMM1,m32[EBP] ; rsqrtps XMM1,XMM2 ; rsqrtps XMM1,m128[EBP] ; rsqrtss XMM1,XMM2 ; rsqrtss XMM1,m32[EBP] ; shufpd XMM1,XMM2,3 ; shufpd XMM1,m128[EBP],4 ; shufps XMM1,XMM2,3 ; shufps XMM1,m128[EBP],4 ; ucomisd XMM4,XMM6 ; ucomisd XMM5,m64[EBP] ; ucomiss XMM6,XMM7 ; ucomiss XMM7,m32[EBP] ; unpckhpd XMM4,XMM6 ; unpckhpd XMM5,m128[EBP] ; unpckhps XMM4,XMM6 ; unpckhps XMM5,m128[EBP] ; unpcklpd XMM4,XMM6 ; unpcklpd XMM5,m128[EBP] ; unpcklps XMM4,XMM6 ; unpcklps XMM5,m128[EBP] ; xorpd XMM1,XMM2 ; xorpd XMM1,m128[EBP] ; xorps XMM1,XMM2 ; xorps XMM1,m128[EBP] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test15() { int m32; long m64; M128 m128; ubyte *p; static ubyte data[] = [ 0x0F,0x0F,0xDC,0xBF, // pavgusb MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xBF, // pavgusb MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x1D, // pf2id MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x1D, // pf2id MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xAE, // pfacc MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xAE, // pfacc MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x9E, // pfadd MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x9E, // pfadd MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xB0, // pfcmpeq MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xB0, // pfcmpeq MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x90, // pfcmpge MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x90, // pfcmpge MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xA0, // pfcmpgt MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xA0, // pfcmpgt MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xA4, // pfmax MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x94, // pfmin MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xB4, // pfmul MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xB4, // pfmul MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x8A, // pfnacc MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x8E, // pfpnacc MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x96, // pfrcp MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x96, // pfrcp MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xA6, // pfrcpit1 MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xA6, // pfrcpit1 MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xB6, // pfrcpit2 MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xB6, // pfrcpit2 MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x97, // pfrsqrt MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xA7, // pfrsqit1 MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x9A, // pfsub MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x9A, // pfsub MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xAA, // pfsubr MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xAA, // pfsubr MM3,-020h[EBP] 0x0F,0x0F,0xDC,0x0D, // pi2fd MM3,MM4 0x0F,0x0F,0x5D,0xE0,0x0D, // pi2fd MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xB7, // pmulhrw MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xB7, // pmulhrw MM3,-020h[EBP] 0x0F,0x0F,0xDC,0xBB, // pswapd MM3,MM4 0x0F,0x0F,0x5D,0xE0,0xBB, // pswapd MM3,-020h[EBP] ]; int i; asm { call L1 ; pavgusb MM3,MM4 ; pavgusb MM3,m64[EBP] ; pf2id MM3,MM4 ; pf2id MM3,m64[EBP] ; pfacc MM3,MM4 ; pfacc MM3,m64[EBP] ; pfadd MM3,MM4 ; pfadd MM3,m64[EBP] ; pfcmpeq MM3,MM4 ; pfcmpeq MM3,m64[EBP] ; pfcmpge MM3,MM4 ; pfcmpge MM3,m64[EBP] ; pfcmpgt MM3,MM4 ; pfcmpgt MM3,m64[EBP] ; pfmax MM3,MM4 ; pfmin MM3,m64[EBP] ; pfmul MM3,MM4 ; pfmul MM3,m64[EBP] ; pfnacc MM3,MM4 ; pfpnacc MM3,m64[EBP] ; pfrcp MM3,MM4 ; pfrcp MM3,m64[EBP] ; pfrcpit1 MM3,MM4 ; pfrcpit1 MM3,m64[EBP] ; pfrcpit2 MM3,MM4 ; pfrcpit2 MM3,m64[EBP] ; pfrsqrt MM3,MM4 ; pfrsqit1 MM3,m64[EBP] ; pfsub MM3,MM4 ; pfsub MM3,m64[EBP] ; pfsubr MM3,MM4 ; pfsubr MM3,m64[EBP] ; pi2fd MM3,MM4 ; pi2fd MM3,m64[EBP] ; pmulhrw MM3,MM4 ; pmulhrw MM3,m64[EBP] ; pswapd MM3,MM4 ; pswapd MM3,m64[EBP] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ struct S17 { char x[6]; } __gshared S17 xx17; void test17() { ubyte *p; static ubyte data[] = [ 0x0F, 0x01, 0x10, // lgdt [EAX] 0x0F, 0x01, 0x18, // lidt [EAX] 0x0F, 0x01, 0x00, // sgdt [EAX] 0x0F, 0x01, 0x08, // sidt [EAX] ]; int i; asm { call L1 ; lgdt [EAX] ; lidt [EAX] ; sgdt [EAX] ; sidt [EAX] ; lgdt xx17 ; lidt xx17 ; sgdt xx17 ; sidt xx17 ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test18() { ubyte *p; static ubyte data[] = [ 0xDB, 0xF1, // fcomi ST,ST(1) 0xDB, 0xF0, // fcomi ST,ST(0) 0xDB, 0xF2, // fcomi ST,ST(2) 0xDF, 0xF1, // fcomip ST,ST(1) 0xDF, 0xF0, // fcomip ST,ST(0) 0xDF, 0xF2, // fcomip ST,ST(2) 0xDB, 0xE9, // fucomi ST,ST(1) 0xDB, 0xE8, // fucomi ST,ST(0) 0xDB, 0xEB, // fucomi ST,ST(3) 0xDF, 0xE9, // fucomip ST,ST(1) 0xDF, 0xED, // fucomip ST,ST(5) 0xDF, 0xEC, // fucomip ST,ST(4) ]; int i; asm { call L1 ; fcomi ; fcomi ST(0) ; fcomi ST,ST(2) ; fcomip ; fcomip ST(0) ; fcomip ST,ST(2) ; fucomi ; fucomi ST(0) ; fucomi ST,ST(3) ; fucomip ; fucomip ST(5) ; fucomip ST,ST(4) ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ extern (C) { void foo19() { } } void test19() { void function() fp; int x; int *p; asm { lea EAX, dword ptr [foo19]; mov fp, EAX; mov x, EAX; mov p, EAX; call fp; } (*fp)(); } /****************************************************/ void test20() { ubyte *p; static ubyte data[] = [ 0x9B, 0xDB, 0xE0, // feni 0xDB, 0xE0, // fneni 0x9B, 0xDB, 0xE1, // fdisi 0xDB, 0xE1, // fndisi 0x9B, 0xDB, 0xE2, // fclex 0xDB, 0xE2, // fnclex 0x9B, 0xDB, 0xE3, // finit 0xDB, 0xE3, // fninit 0xDB, 0xE4, // fsetpm ]; int i; asm { call L1 ; feni ; fneni ; fdisi ; fndisi ; finit ; fninit ; fclex ; fnclex ; finit ; fninit ; fsetpm ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test21() { ubyte *p; static ubyte data[] = [ 0xE4, 0x06, // in AL,6 0x66, 0xE5, 0x07, // in AX,7 0xE5, 0x08, // in EAX,8 0xEC, // in AL,DX 0x66, 0xED, // in AX,DX 0xED, // in EAX,DX 0xE6, 0x06, // out 6,AL 0x66, 0xE7, 0x07, // out 7,AX 0xE7, 0x08, // out 8,EAX 0xEE, // out DX,AL 0x66, 0xEF, // out DX,AX 0xEF, // out DX,EAX ]; int i; asm { call L1 ; in AL,6 ; in AX,7 ; in EAX,8 ; in AL,DX ; in AX,DX ; in EAX,DX ; out 6,AL ; out 7,AX ; out 8,EAX ; out DX,AL ; out DX,AX ; out DX,EAX ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test22() { ubyte *p; static ubyte data[] = [ 0x0F, 0xC7, 0x4D, 0xF8 // cmpxchg8b ]; int i; M64 m64; asm { call L1 ; cmpxchg8b m64 ; L1: pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test23() { short m16; int m32; long m64; M128 m128; ubyte *p; static ubyte data[] = [ 0xD9, 0xC9, // fxch ST(1), ST(0) 0xDF, 0x5D, 0xD8, // fistp word ptr -018h[EBP] 0xDB, 0x5D, 0xDC, // fistp dword ptr -014h[EBP] 0xDF, 0x7D, 0xE0, // fistp long64 ptr -010h[EBP] 0xDF, 0x4D, 0xD8, // fisttp short ptr -018h[EBP] 0xDB, 0x4D, 0xDC, // fisttp word ptr -014h[EBP] 0xDD, 0x4D, 0xE0, // fisttp long64 ptr -010h[EBP] 0x0F, 0x01, 0xC8, // monitor 0x0F, 0x01, 0xC9, // mwait 0x0F, 0x01, 0xD0, // xgetbv 0x66, 0x0F, 0xD0, 0xCA, // addsubpd XMM1,XMM2 0x66, 0x0F, 0xD0, 0x4D, 0xE8, // addsubpd XMM1,-010h[EBP] 0xF2, 0x0F, 0xD0, 0xCA, // addsubps XMM1,XMM2 0xF2, 0x0F, 0xD0, 0x4D, 0xE8, // addsubps XMM1,-010h[EBP] 0x66, 0x0F, 0x7C, 0xCA, // haddpd XMM1,XMM2 0x66, 0x0F, 0x7C, 0x4D, 0xE8, // haddpd XMM1,-010h[EBP] 0xF2, 0x0F, 0x7C, 0xCA, // haddps XMM1,XMM2 0xF2, 0x0F, 0x7C, 0x4D, 0xE8, // haddps XMM1,-010h[EBP] 0x66, 0x0F, 0x7D, 0xCA, // hsubpd XMM1,XMM2 0x66, 0x0F, 0x7D, 0x4D, 0xE8, // hsubpd XMM1,-010h[EBP] 0xF2, 0x0F, 0x7D, 0xCA, // hsubps XMM1,XMM2 0xF2, 0x0F, 0x7D, 0x4D, 0xE8, // hsubps XMM1,-010h[EBP] 0xF2, 0x0F, 0xF0, 0x4D, 0xE8, // lddqu XMM1,-010h[EBP] 0xF2, 0x0F, 0x12, 0xCA, // movddup XMM1,XMM2 0xF2, 0x0F, 0x12, 0x4D, 0xE0, // movddup XMM1,-018h[EBP] 0xF3, 0x0F, 0x16, 0xCA, // movshdup XMM1,XMM2 0xF3, 0x0F, 0x16, 0x4D, 0xE8, // movshdup XMM1,-010h[EBP] 0xF3, 0x0F, 0x12, 0xCA, // movsldup XMM1,XMM2 0xF3, 0x0F, 0x12, 0x4D, 0xE8, // movsldup XMM1,-010h[EBP] ]; int i; asm { call L1 ; fxch ST(1), ST(0) ; fistp m16[EBP] ; fistp m32[EBP] ; fistp m64[EBP] ; fisttp m16[EBP] ; fisttp m32[EBP] ; fisttp m64[EBP] ; monitor ; mwait ; xgetbv ; addsubpd XMM1,XMM2 ; addsubpd XMM1,m128[EBP] ; addsubps XMM1,XMM2 ; addsubps XMM1,m128[EBP] ; haddpd XMM1,XMM2 ; haddpd XMM1,m128[EBP] ; haddps XMM1,XMM2 ; haddps XMM1,m128[EBP] ; hsubpd XMM1,XMM2 ; hsubpd XMM1,m128[EBP] ; hsubps XMM1,XMM2 ; hsubps XMM1,m128[EBP] ; lddqu XMM1,m128[EBP] ; movddup XMM1,XMM2 ; movddup XMM1,m64[EBP] ; movshdup XMM1,XMM2 ; movshdup XMM1,m128[EBP] ; movsldup XMM1,XMM2 ; movsldup XMM1,m128[EBP] ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test24() { version(D_InlineAsm) { ushort i; asm { lea AX, i; mov i, AX; } assert(cast(ushort)&i == i); } } /****************************************************/ void test25() { short m16; int m32; long m64; M128 m128; ubyte *p; static ubyte data[] = [ 0x66, 0x0F, 0x7E, 0xC1, // movd ECX,XMM0 0x66, 0x0F, 0x7E, 0xC9, // movd ECX,XMM1 0x66, 0x0F, 0x7E, 0xD1, // movd ECX,XMM2 0x66, 0x0F, 0x7E, 0xD9, // movd ECX,XMM3 0x66, 0x0F, 0x7E, 0xE1, // movd ECX,XMM4 0x66, 0x0F, 0x7E, 0xE9, // movd ECX,XMM5 0x66, 0x0F, 0x7E, 0xF1, // movd ECX,XMM6 0x66, 0x0F, 0x7E, 0xF9, // movd ECX,XMM7 0x0F, 0x7E, 0xC1, // movd ECX,MM0 0x0F, 0x7E, 0xC9, // movd ECX,MM1 0x0F, 0x7E, 0xD1, // movd ECX,MM2 0x0F, 0x7E, 0xD9, // movd ECX,MM3 0x0F, 0x7E, 0xE1, // movd ECX,MM4 0x0F, 0x7E, 0xE9, // movd ECX,MM5 0x0F, 0x7E, 0xF1, // movd ECX,MM6 0x0F, 0x7E, 0xF9, // movd ECX,MM7 0x66, 0x0F, 0x6E, 0xC1, // movd XMM0,ECX 0x66, 0x0F, 0x6E, 0xC9, // movd XMM1,ECX 0x66, 0x0F, 0x6E, 0xD1, // movd XMM2,ECX 0x66, 0x0F, 0x6E, 0xD9, // movd XMM3,ECX 0x66, 0x0F, 0x6E, 0xE1, // movd XMM4,ECX 0x66, 0x0F, 0x6E, 0xE9, // movd XMM5,ECX 0x66, 0x0F, 0x6E, 0xF1, // movd XMM6,ECX 0x66, 0x0F, 0x6E, 0xF9, // movd XMM7,ECX 0x0F, 0x6E, 0xC1, // movd MM0,ECX 0x0F, 0x6E, 0xC9, // movd MM1,ECX 0x0F, 0x6E, 0xD1, // movd MM2,ECX 0x0F, 0x6E, 0xD9, // movd MM3,ECX 0x0F, 0x6E, 0xE1, // movd MM4,ECX 0x0F, 0x6E, 0xE9, // movd MM5,ECX 0x0F, 0x6E, 0xF1, // movd MM6,ECX 0x0F, 0x6E, 0xF9, // movd MM7,ECX 0x66, 0x0F, 0x7E, 0xC8, // movd EAX,XMM1 0x66, 0x0F, 0x7E, 0xCB, // movd EBX,XMM1 0x66, 0x0F, 0x7E, 0xC9, // movd ECX,XMM1 0x66, 0x0F, 0x7E, 0xCA, // movd EDX,XMM1 0x66, 0x0F, 0x7E, 0xCE, // movd ESI,XMM1 0x66, 0x0F, 0x7E, 0xCF, // movd EDI,XMM1 0x66, 0x0F, 0x7E, 0xCD, // movd EBP,XMM1 0x66, 0x0F, 0x7E, 0xCC, // movd ESP,XMM1 0x0F, 0x7E, 0xC8, // movd EAX,MM1 0x0F, 0x7E, 0xCB, // movd EBX,MM1 0x0F, 0x7E, 0xC9, // movd ECX,MM1 0x0F, 0x7E, 0xCA, // movd EDX,MM1 0x0F, 0x7E, 0xCE, // movd ESI,MM1 0x0F, 0x7E, 0xCF, // movd EDI,MM1 0x0F, 0x7E, 0xCD, // movd EBP,MM1 0x0F, 0x7E, 0xCC, // movd ESP,MM1 0x66, 0x0F, 0x6E, 0xC8, // movd XMM1,EAX 0x66, 0x0F, 0x6E, 0xCB, // movd XMM1,EBX 0x66, 0x0F, 0x6E, 0xC9, // movd XMM1,ECX 0x66, 0x0F, 0x6E, 0xCA, // movd XMM1,EDX 0x66, 0x0F, 0x6E, 0xCE, // movd XMM1,ESI 0x66, 0x0F, 0x6E, 0xCF, // movd XMM1,EDI 0x66, 0x0F, 0x6E, 0xCD, // movd XMM1,EBP 0x66, 0x0F, 0x6E, 0xCC, // movd XMM1,ESP 0x0F, 0x6E, 0xC8, // movd MM1,EAX 0x0F, 0x6E, 0xCB, // movd MM1,EBX 0x0F, 0x6E, 0xC9, // movd MM1,ECX 0x0F, 0x6E, 0xCA, // movd MM1,EDX 0x0F, 0x6E, 0xCE, // movd MM1,ESI 0x0F, 0x6E, 0xCF, // movd MM1,EDI 0x0F, 0x6E, 0xCD, // movd MM1,EBP 0x0F, 0x6E, 0xCC, // movd MM1,ESP ]; int i; asm { call L1 ; movd ECX, XMM0; movd ECX, XMM1; movd ECX, XMM2; movd ECX, XMM3; movd ECX, XMM4; movd ECX, XMM5; movd ECX, XMM6; movd ECX, XMM7; movd ECX, MM0; movd ECX, MM1; movd ECX, MM2; movd ECX, MM3; movd ECX, MM4; movd ECX, MM5; movd ECX, MM6; movd ECX, MM7; movd XMM0, ECX; movd XMM1, ECX; movd XMM2, ECX; movd XMM3, ECX; movd XMM4, ECX; movd XMM5, ECX; movd XMM6, ECX; movd XMM7, ECX; movd MM0, ECX; movd MM1, ECX; movd MM2, ECX; movd MM3, ECX; movd MM4, ECX; movd MM5, ECX; movd MM6, ECX; movd MM7, ECX; movd EAX, XMM1; movd EBX, XMM1; movd ECX, XMM1; movd EDX, XMM1; movd ESI, XMM1; movd EDI, XMM1; movd EBP, XMM1; movd ESP, XMM1; movd EAX, MM1; movd EBX, MM1; movd ECX, MM1; movd EDX, MM1; movd ESI, MM1; movd EDI, MM1; movd EBP, MM1; movd ESP, MM1; movd XMM1, EAX; movd XMM1, EBX; movd XMM1, ECX; movd XMM1, EDX; movd XMM1, ESI; movd XMM1, EDI; movd XMM1, EBP; movd XMM1, ESP; movd MM1, EAX; movd MM1, EBX; movd MM1, ECX; movd MM1, EDX; movd MM1, ESI; movd MM1, EDI; movd MM1, EBP; movd MM1, ESP; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void fn26(ref byte val) { asm { mov EAX, val; inc byte ptr [EAX]; } } void test26() { byte b; //printf( "%i\n", b ); assert(b == 0); fn26(b); //printf( "%i\n", b ); assert(b == 1); } /****************************************************/ void test27() { static const ubyte[16] a = [0, 1, 2, 3, 4, 5, 6, 7, 8 ,9, 0xA, 0xB, 0xC, 0xD, 0xE, 0xF]; version (Windows) { asm { movdqu XMM0, a; pslldq XMM0, 2; } } } /****************************************************/ /* PASS: cfloat z; cfloat[1] z; double z; double[1] b; long z; long[1] z; FAIL: (bad type/size of operands 'movq') byte[8] z; char[8] z; dchar[2] z; float[2] z; int[2] z; short[4] z; wchar[4] z; XPASS: (too small, but accecpted by DMD) cfloat[0] z; double[0] z; long[0] z; */ void test28() { version (Windows) { cfloat[4] z; static const ubyte[8] A = [3, 4, 9, 0, 1, 3, 7, 2]; ubyte[8] b; asm{ movq MM0, z; movq MM0, A; movq b, MM0; } for(size_t i = 0; i < A.length; i++) { if(A[i] != b[i]) { assert(0); } } } } /****************************************************/ shared int[5] bar29 = [3, 4, 5, 6, 7]; void test29() { int* x; asm { push offsetof bar29; pop EAX; mov x, EAX; } assert(*x == 3); asm { mov EAX, offsetof bar29; mov x, EAX; } assert(*x == 3); } /****************************************************/ const int CONST_OFFSET30 = 10; void foo30() { asm { mov EDX, 10; mov EAX, [EDX + CONST_OFFSET30]; } } void test30() { } /****************************************************/ void test31() { ubyte *p; static ubyte data[] = [ 0xF7, 0xD8, // neg EAX 0x74, 0x04, // je L8 0xF7, 0xD8, // neg EAX 0x75, 0xFC, // jne L4 0x40, // inc EAX ]; int i; asm { call L1 ; neg EAX; je L2; L3: neg EAX; jne L3; L2: inc EAX; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void infiniteAsmLoops() { /* This crashes DMD 0.162: */ for (;;) asm { inc EAX; } /* It doesn't seem to matter what you use. These all crash: */ //for (;;) asm { mov EAX, EBX; } //for (;;) asm { xor EAX, EAX; } //for (;;) asm { push 0; pop EAX; } //for (;;) asm { jmp infiniteAsmLoops; } /* This is a workaround: */ for (bool a = true; a;) asm { hlt; } // compiles /* But this isn't: */ //for (const bool a = true; a;) asm{ hlt; } // crashes DMD /* It's not restricted to for-statements: */ //while(1) asm { hlt; } // crashes DMD /* This compiles: */ { bool a = true; while(a) asm { hlt; } } /* But again, this doesn't: */ /* { const bool a = true; // note the const while(a) asm { hlt; } } //*/ //do { asm { hlt; } } while (1); // crashes DMD /* This, of course, compiles: */ { bool a = true; do asm { hlt; } while (a); } /* But predicably, this doesn't: */ /* { const bool a = true; do asm { hlt; } while (a); } //**/ /* Not even hand-coding the loop works: */ /* { label: asm { hlt; } // commenting out this line to make it compile goto label; } //*/ /* Unless you go all the way: (i.e. this compiles) */ asm { L1: hlt; jmp L1; } /* or like this (also compiles): */ static void test() { asm { naked; hlt; jmp test; } } test(); /* Wait... it gets weirder: */ /* This also doesn't compile: */ /* for (;;) { writef(""); asm { hlt; } } //*/ /* But this does: */ //* for (;;) { asm { hlt; } writef(""); } //*/ /* The same loop that doesn't compile above * /does/ compile after previous one: */ //* for (;;) { writef(""); asm { hlt; } } //*/ /* Note: this one is at the end because it seems to also trigger the * "now it works" event of the loop above. */ /* There has to be /something/ in that asm block: */ for (;;) asm {} // compiles } void test32() { } /****************************************************/ void test33() { int x = 1; alias x y; asm { mov EAX, x; mov EAX, y; } } /****************************************************/ int test34() { asm{ jmp label; } return 0; label: return 1; } /****************************************************/ void foo35() { printf("hello\n"); } void test35() { void function() p; uint q; asm { mov ECX, foo35 ; mov q, ECX ; lea EDX, foo35 ; mov p, EDX ; } assert(p == &foo35); assert(q == *cast(uint *)p); } /****************************************************/ void func36() { } int test36() { void* a = &func36; uint* b = cast(uint*) a; uint f = *b; uint g; asm{ mov EAX, func36; mov g, EAX; } if(f != g){ assert(0); } } /****************************************************/ void a37(X...)(X expr) { alias expr[0] var1; asm { fld double ptr expr[0]; fstp double ptr var1; } } void test37() { a37(3.6); } /****************************************************/ int f38(X...)(X x) { asm { mov EAX, int ptr x[1]; } } int g38(X...)(X x) { asm { mov EAX, x[1]; } } void test38() { assert(456 == f38(123, 456)); assert(456 == g38(123, 456)); } /****************************************************/ void test39() { const byte z = 35; goto end; asm { db z; } end: ; } /****************************************************/ void test40() { printf(""); const string s = "abcdefghi"; asm { jmp L1; ds s; L1:; } end: ; } /****************************************************/ void test41() { ubyte *p; static ubyte data[] = [ 0x66,0x0F,0x28,0x0C,0x06, // movapd XMM1,[EAX][ESI] 0x66,0x0F,0x28,0x0C,0x06, // movapd XMM1,[EAX][ESI] 0x66,0x0F,0x28,0x0C,0x46, // movapd XMM1,[EAX*2][ESI] 0x66,0x0F,0x28,0x0C,0x86, // movapd XMM1,[EAX*4][ESI] 0x66,0x0F,0x28,0x0C,0xC6, // movapd XMM1,[EAX*8][ESI] ]; int i; asm { call L1 ; movapd XMM1, [ESI+EAX]; movapd XMM1, [ESI+1*EAX]; movapd XMM1, [ESI+2*EAX]; movapd XMM1, [ESI+4*EAX]; movapd XMM1, [ESI+8*EAX]; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ enum { enumeration42 = 1, } void test42() { asm { mov EAX, enumeration42; } } /****************************************************/ void foo43() { asm {lea EAX, [0*4+EAX]; } asm {lea EAX, [4*0+EAX]; } asm {lea EAX, [EAX+4*0]; } asm {lea EAX, [0+EAX]; } asm {lea EAX, [7*7+EAX]; } } void test43() { } /****************************************************/ enum n1 = 42; enum { n2 = 42 } uint retN1() { asm { mov EAX,n1; // No! - mov EAX,-4[EBP] } } uint retN2() { asm { mov EAX,n2; // OK - mov EAX,02Ah } } void test44() { assert(retN1() == 42); assert(retN2() == 42); } /****************************************************/ void test45() { ubyte *p; static ubyte data[] = [ 0xDA, 0xC0, // fcmovb ST(0) 0xDA, 0xC1, // fcmovb 0xDA, 0xCA, // fcmove ST(2) 0xDA, 0xD3, // fcmovbe ST(3) 0xDA, 0xDC, // fcmovu ST(4) 0xDB, 0xC5, // fcmovnb ST(5) 0xDB, 0xCE, // fcmovne ST(6) 0xDB, 0xD7, // fcmovnbe ST(7) 0xDB, 0xD9, // fcmovnu ]; int i; asm { call L1 ; fcmovb ST, ST(0); fcmovb ST, ST(1); fcmove ST, ST(2); fcmovbe ST, ST(3); fcmovu ST, ST(4); fcmovnb ST, ST(5); fcmovne ST, ST(6); fcmovnbe ST, ST(7); fcmovnu ST, ST(1); L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test46() { ubyte *p; static ubyte data[] = [ 0x66, 0x0F, 0x3A, 0x41, 0xCA, 0x08, // dppd XMM1,XMM2,8 0x66, 0x0F, 0x3A, 0x40, 0xDC, 0x07, // dpps XMM3,XMM4,7 0x66, 0x0F, 0x50, 0xF3, // movmskpd ESI,XMM3 0x66, 0x0F, 0x50, 0xC7, // movmskpd EAX,XMM7 0x0F, 0x50, 0xC7, // movmskps EAX,XMM7 0x0F, 0xD7, 0xC7, // pmovmskb EAX,MM7 0x66, 0x0F, 0xD7, 0xC7, // pmovmskb EAX,XMM7 ]; int i; asm { call L1 ; dppd XMM1,XMM2,8 ; dpps XMM3,XMM4,7 ; movmskpd ESI,XMM3 ; movmskpd EAX,XMM7 ; movmskps EAX,XMM7 ; pmovmskb EAX,MM7 ; pmovmskb EAX,XMM7 ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ struct Foo47 { float x,y; } void bar47(Foo47 f) { int i; asm { mov EAX, offsetof f; mov i, EAX; } assert(i == 8); } void test47() { Foo47 f; bar47(f); } /****************************************************/ void func48(void delegate () callback) { callback(); } void test48() { func48(() { asm{ mov EAX,EAX; }; }); } /****************************************************/ void test49() { ubyte *p; static ubyte data[] = [ 0x00, 0xC0, // add AL,AL 0x00, 0xD8, // add AL,BL 0x00, 0xC8, // add AL,CL 0x00, 0xD0, // add AL,DL 0x00, 0xE0, // add AL,AH 0x00, 0xF8, // add AL,BH 0x00, 0xE8, // add AL,CH 0x00, 0xF0, // add AL,DH 0x00, 0xC4, // add AH,AL 0x00, 0xDC, // add AH,BL 0x00, 0xCC, // add AH,CL 0x00, 0xD4, // add AH,DL 0x00, 0xE4, // add AH,AH 0x00, 0xFC, // add AH,BH 0x00, 0xEC, // add AH,CH 0x00, 0xF4, // add AH,DH 0x00, 0xC3, // add BL,AL 0x00, 0xDB, // add BL,BL 0x00, 0xCB, // add BL,CL 0x00, 0xD3, // add BL,DL 0x00, 0xE3, // add BL,AH 0x00, 0xFB, // add BL,BH 0x00, 0xEB, // add BL,CH 0x00, 0xF3, // add BL,DH 0x00, 0xC7, // add BH,AL 0x00, 0xDF, // add BH,BL 0x00, 0xCF, // add BH,CL 0x00, 0xD7, // add BH,DL 0x00, 0xE7, // add BH,AH 0x00, 0xFF, // add BH,BH 0x00, 0xEF, // add BH,CH 0x00, 0xF7, // add BH,DH 0x00, 0xC1, // add CL,AL 0x00, 0xD9, // add CL,BL 0x00, 0xC9, // add CL,CL 0x00, 0xD1, // add CL,DL 0x00, 0xE1, // add CL,AH 0x00, 0xF9, // add CL,BH 0x00, 0xE9, // add CL,CH 0x00, 0xF1, // add CL,DH 0x00, 0xC5, // add CH,AL 0x00, 0xDD, // add CH,BL 0x00, 0xCD, // add CH,CL 0x00, 0xD5, // add CH,DL 0x00, 0xE5, // add CH,AH 0x00, 0xFD, // add CH,BH 0x00, 0xED, // add CH,CH 0x00, 0xF5, // add CH,DH 0x00, 0xC2, // add DL,AL 0x00, 0xDA, // add DL,BL 0x00, 0xCA, // add DL,CL 0x00, 0xD2, // add DL,DL 0x00, 0xE2, // add DL,AH 0x00, 0xFA, // add DL,BH 0x00, 0xEA, // add DL,CH 0x00, 0xF2, // add DL,DH 0x00, 0xC6, // add DH,AL 0x00, 0xDE, // add DH,BL 0x00, 0xCE, // add DH,CL 0x00, 0xD6, // add DH,DL 0x00, 0xE6, // add DH,AH 0x00, 0xFE, // add DH,BH 0x00, 0xEE, // add DH,CH 0x00, 0xF6, // add DH,DH 0x66, 0x01, 0xC0, // add AX,AX 0x66, 0x01, 0xD8, // add AX,BX 0x66, 0x01, 0xC8, // add AX,CX 0x66, 0x01, 0xD0, // add AX,DX 0x66, 0x01, 0xF0, // add AX,SI 0x66, 0x01, 0xF8, // add AX,DI 0x66, 0x01, 0xE8, // add AX,BP 0x66, 0x01, 0xE0, // add AX,SP 0x66, 0x01, 0xC3, // add BX,AX 0x66, 0x01, 0xDB, // add BX,BX 0x66, 0x01, 0xCB, // add BX,CX 0x66, 0x01, 0xD3, // add BX,DX 0x66, 0x01, 0xF3, // add BX,SI 0x66, 0x01, 0xFB, // add BX,DI 0x66, 0x01, 0xEB, // add BX,BP 0x66, 0x01, 0xE3, // add BX,SP 0x66, 0x01, 0xC1, // add CX,AX 0x66, 0x01, 0xD9, // add CX,BX 0x66, 0x01, 0xC9, // add CX,CX 0x66, 0x01, 0xD1, // add CX,DX 0x66, 0x01, 0xF1, // add CX,SI 0x66, 0x01, 0xF9, // add CX,DI 0x66, 0x01, 0xE9, // add CX,BP 0x66, 0x01, 0xE1, // add CX,SP 0x66, 0x01, 0xC2, // add DX,AX 0x66, 0x01, 0xDA, // add DX,BX 0x66, 0x01, 0xCA, // add DX,CX 0x66, 0x01, 0xD2, // add DX,DX 0x66, 0x01, 0xF2, // add DX,SI 0x66, 0x01, 0xFA, // add DX,DI 0x66, 0x01, 0xEA, // add DX,BP 0x66, 0x01, 0xE2, // add DX,SP 0x66, 0x01, 0xC6, // add SI,AX 0x66, 0x01, 0xDE, // add SI,BX 0x66, 0x01, 0xCE, // add SI,CX 0x66, 0x01, 0xD6, // add SI,DX 0x66, 0x01, 0xF6, // add SI,SI 0x66, 0x01, 0xFE, // add SI,DI 0x66, 0x01, 0xEE, // add SI,BP 0x66, 0x01, 0xE6, // add SI,SP 0x66, 0x01, 0xC7, // add DI,AX 0x66, 0x01, 0xDF, // add DI,BX 0x66, 0x01, 0xCF, // add DI,CX 0x66, 0x01, 0xD7, // add DI,DX 0x66, 0x01, 0xF7, // add DI,SI 0x66, 0x01, 0xFF, // add DI,DI 0x66, 0x01, 0xEF, // add DI,BP 0x66, 0x01, 0xE7, // add DI,SP 0x66, 0x01, 0xC5, // add BP,AX 0x66, 0x01, 0xDD, // add BP,BX 0x66, 0x01, 0xCD, // add BP,CX 0x66, 0x01, 0xD5, // add BP,DX 0x66, 0x01, 0xF5, // add BP,SI 0x66, 0x01, 0xFD, // add BP,DI 0x66, 0x01, 0xED, // add BP,BP 0x66, 0x01, 0xE5, // add BP,SP 0x66, 0x01, 0xC4, // add SP,AX 0x66, 0x01, 0xDC, // add SP,BX 0x66, 0x01, 0xCC, // add SP,CX 0x66, 0x01, 0xD4, // add SP,DX 0x66, 0x01, 0xF4, // add SP,SI 0x66, 0x01, 0xFC, // add SP,DI 0x66, 0x01, 0xEC, // add SP,BP 0x66, 0x01, 0xE4, // add SP,SP 0x01, 0xC0, // add EAX,EAX 0x01, 0xD8, // add EAX,EBX 0x01, 0xC8, // add EAX,ECX 0x01, 0xD0, // add EAX,EDX 0x01, 0xF0, // add EAX,ESI 0x01, 0xF8, // add EAX,EDI 0x01, 0xE8, // add EAX,EBP 0x01, 0xE0, // add EAX,ESP 0x01, 0xC3, // add EBX,EAX 0x01, 0xDB, // add EBX,EBX 0x01, 0xCB, // add EBX,ECX 0x01, 0xD3, // add EBX,EDX 0x01, 0xF3, // add EBX,ESI 0x01, 0xFB, // add EBX,EDI 0x01, 0xEB, // add EBX,EBP 0x01, 0xE3, // add EBX,ESP 0x01, 0xC1, // add ECX,EAX 0x01, 0xD9, // add ECX,EBX 0x01, 0xC9, // add ECX,ECX 0x01, 0xD1, // add ECX,EDX 0x01, 0xF1, // add ECX,ESI 0x01, 0xF9, // add ECX,EDI 0x01, 0xE9, // add ECX,EBP 0x01, 0xE1, // add ECX,ESP 0x01, 0xC2, // add EDX,EAX 0x01, 0xDA, // add EDX,EBX 0x01, 0xCA, // add EDX,ECX 0x01, 0xD2, // add EDX,EDX 0x01, 0xF2, // add EDX,ESI 0x01, 0xFA, // add EDX,EDI 0x01, 0xEA, // add EDX,EBP 0x01, 0xE2, // add EDX,ESP 0x01, 0xC6, // add ESI,EAX 0x01, 0xDE, // add ESI,EBX 0x01, 0xCE, // add ESI,ECX 0x01, 0xD6, // add ESI,EDX 0x01, 0xF6, // add ESI,ESI 0x01, 0xFE, // add ESI,EDI 0x01, 0xEE, // add ESI,EBP 0x01, 0xE6, // add ESI,ESP 0x01, 0xC7, // add EDI,EAX 0x01, 0xDF, // add EDI,EBX 0x01, 0xCF, // add EDI,ECX 0x01, 0xD7, // add EDI,EDX 0x01, 0xF7, // add EDI,ESI 0x01, 0xFF, // add EDI,EDI 0x01, 0xEF, // add EDI,EBP 0x01, 0xE7, // add EDI,ESP 0x01, 0xC5, // add EBP,EAX 0x01, 0xDD, // add EBP,EBX 0x01, 0xCD, // add EBP,ECX 0x01, 0xD5, // add EBP,EDX 0x01, 0xF5, // add EBP,ESI 0x01, 0xFD, // add EBP,EDI 0x01, 0xED, // add EBP,EBP 0x01, 0xE5, // add EBP,ESP 0x01, 0xC4, // add ESP,EAX 0x01, 0xDC, // add ESP,EBX 0x01, 0xCC, // add ESP,ECX 0x01, 0xD4, // add ESP,EDX 0x01, 0xF4, // add ESP,ESI 0x01, 0xFC, // add ESP,EDI 0x01, 0xEC, // add ESP,EBP 0x01, 0xE4, // add ESP,ESP ]; int i; asm { call L1 ; add AL,AL ; add AL,BL ; add AL,CL ; add AL,DL ; add AL,AH ; add AL,BH ; add AL,CH ; add AL,DH ; add AH,AL ; add AH,BL ; add AH,CL ; add AH,DL ; add AH,AH ; add AH,BH ; add AH,CH ; add AH,DH ; add BL,AL ; add BL,BL ; add BL,CL ; add BL,DL ; add BL,AH ; add BL,BH ; add BL,CH ; add BL,DH ; add BH,AL ; add BH,BL ; add BH,CL ; add BH,DL ; add BH,AH ; add BH,BH ; add BH,CH ; add BH,DH ; add CL,AL ; add CL,BL ; add CL,CL ; add CL,DL ; add CL,AH ; add CL,BH ; add CL,CH ; add CL,DH ; add CH,AL ; add CH,BL ; add CH,CL ; add CH,DL ; add CH,AH ; add CH,BH ; add CH,CH ; add CH,DH ; add DL,AL ; add DL,BL ; add DL,CL ; add DL,DL ; add DL,AH ; add DL,BH ; add DL,CH ; add DL,DH ; add DH,AL ; add DH,BL ; add DH,CL ; add DH,DL ; add DH,AH ; add DH,BH ; add DH,CH ; add DH,DH ; add AX,AX ; add AX,BX ; add AX,CX ; add AX,DX ; add AX,SI ; add AX,DI ; add AX,BP ; add AX,SP ; add BX,AX ; add BX,BX ; add BX,CX ; add BX,DX ; add BX,SI ; add BX,DI ; add BX,BP ; add BX,SP ; add CX,AX ; add CX,BX ; add CX,CX ; add CX,DX ; add CX,SI ; add CX,DI ; add CX,BP ; add CX,SP ; add DX,AX ; add DX,BX ; add DX,CX ; add DX,DX ; add DX,SI ; add DX,DI ; add DX,BP ; add DX,SP ; add SI,AX ; add SI,BX ; add SI,CX ; add SI,DX ; add SI,SI ; add SI,DI ; add SI,BP ; add SI,SP ; add DI,AX ; add DI,BX ; add DI,CX ; add DI,DX ; add DI,SI ; add DI,DI ; add DI,BP ; add DI,SP ; add BP,AX ; add BP,BX ; add BP,CX ; add BP,DX ; add BP,SI ; add BP,DI ; add BP,BP ; add BP,SP ; add SP,AX ; add SP,BX ; add SP,CX ; add SP,DX ; add SP,SI ; add SP,DI ; add SP,BP ; add SP,SP ; add EAX,EAX ; add EAX,EBX ; add EAX,ECX ; add EAX,EDX ; add EAX,ESI ; add EAX,EDI ; add EAX,EBP ; add EAX,ESP ; add EBX,EAX ; add EBX,EBX ; add EBX,ECX ; add EBX,EDX ; add EBX,ESI ; add EBX,EDI ; add EBX,EBP ; add EBX,ESP ; add ECX,EAX ; add ECX,EBX ; add ECX,ECX ; add ECX,EDX ; add ECX,ESI ; add ECX,EDI ; add ECX,EBP ; add ECX,ESP ; add EDX,EAX ; add EDX,EBX ; add EDX,ECX ; add EDX,EDX ; add EDX,ESI ; add EDX,EDI ; add EDX,EBP ; add EDX,ESP ; add ESI,EAX ; add ESI,EBX ; add ESI,ECX ; add ESI,EDX ; add ESI,ESI ; add ESI,EDI ; add ESI,EBP ; add ESI,ESP ; add EDI,EAX ; add EDI,EBX ; add EDI,ECX ; add EDI,EDX ; add EDI,ESI ; add EDI,EDI ; add EDI,EBP ; add EDI,ESP ; add EBP,EAX ; add EBP,EBX ; add EBP,ECX ; add EBP,EDX ; add EBP,ESI ; add EBP,EDI ; add EBP,EBP ; add EBP,ESP ; add ESP,EAX ; add ESP,EBX ; add ESP,ECX ; add ESP,EDX ; add ESP,ESI ; add ESP,EDI ; add ESP,EBP ; add ESP,ESP ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ void test50() { ubyte *p; static ubyte data[] = [ 0x66, 0x98, // cbw 0xF8, // clc 0xFC, // cld 0xFA, // cli 0xF5, // cmc 0xA6, // cmpsb 0x66, 0xA7, // cmpsw 0xA7, // cmpsd 0x66, 0x99, // cwd 0x27, // daa 0x2F, // das 0x48, // dec EAX 0xF6, 0xF1, // div CL 0x66, 0xF7, 0xF3, // div BX 0xF7, 0xF2, // div EDX 0xF4, // hlt 0xF6, 0xFB, // idiv BL 0x66, 0xF7, 0xFA, // idiv DX 0xF7, 0xFE, // idiv ESI 0xF6, 0xEB, // imul BL 0x66, 0xF7, 0xEA, // imul DX 0xF7, 0xEE, // imul ESI 0xEC, // in AL,DX 0x66, 0xED, // in AX,DX 0x43, // inc EBX 0xCC, // int 3 0xCD, 0x67, // int 067h 0xCE, // into 0x66, 0xCF, // iret 0x77, 0xFC, // ja L30 0x77, 0xFA, // ja L30 0x73, 0xF8, // jae L30 0x73, 0xF6, // jae L30 0x73, 0xF4, // jae L30 0x72, 0xF2, // jb L30 0x72, 0xF0, // jb L30 0x76, 0xEE, // jbe L30 0x76, 0xEC, // jbe L30 0x72, 0xEA, // jb L30 0x67, 0xE3, 0xE7, // jcxz L30 0x74, 0xE5, // je L30 0x74, 0xE3, // je L30 0x7F, 0xE1, // jg L30 0x7F, 0xDF, // jg L30 0x7D, 0xDD, // jge L30 0x7D, 0xDB, // jge L30 0x7C, 0xD9, // jl L30 0x7C, 0xD7, // jl L30 0x7E, 0xD5, // jle L30 0x7E, 0xD3, // jle L30 0xEB, 0xD1, // jmp short L30 0x75, 0xCF, // jne L30 0x75, 0xCD, // jne L30 0x71, 0xCB, // jno L30 0x79, 0xC9, // jns L30 0x7B, 0xC7, // jnp L30 0x7B, 0xC5, // jnp L30 0x70, 0xC3, // jo L30 0x7A, 0xC1, // jp L30 0x7A, 0xBF, // jp L30 0x78, 0xBD, // js L30 0x9F, // lahf 0xC5, 0x30, // lds ESI,[EAX] 0x8B, 0xFB, // mov EDI,EBX 0xC4, 0x29, // les EBP,[ECX] 0xF0, // lock 0xAC, // lodsb 0x66, 0xAD, // lodsw 0xAD, // lodsd 0xE2, 0xAF, // loop L30 0xE1, 0xAD, // loope L30 0xE1, 0xAB, // loope L30 0xE0, 0xA9, // loopne L30 0xE0, 0xA7, // loopne L30 0xA4, // movsb 0x66, 0xA5, // movsw 0xA5, // movsd 0xF6, 0xE4, // mul AH 0x66, 0xF7, 0xE1, // mul CX 0xF7, 0xE5, // mul EBP 0x90, // nop 0xF7, 0xD7, // not EDI 0x66, 0xE7, 0x44, // out 044h,AX 0xEE, // out DX,AL 0x66, 0x9D, // popf 0x66, 0x9C, // pushf 0xD1, 0xDB, // rcr EBX,1 0xF3, // rep 0xF3, // rep 0xF2, // repne 0xF3, // rep 0xF2, // repne 0xC3, // ret 0xC2, 0x04, 0x00, // ret 4 0xD1, 0xC1, // rol ECX,1 0xD1, 0xCA, // ror EDX,1 0x9E, // sahf 0xD1, 0xE5, // shl EBP,1 0xD1, 0xE4, // shl ESP,1 0xD1, 0xFF, // sar EDI,1 0xAE, // scasb 0x66, 0xAF, // scasw 0xAF, // scasd 0xD1, 0xEE, // shr ESI,1 0xFD, // std 0xF9, // stc 0xFB, // sti 0xAA, // stosb 0x66, 0xAB, // stosw 0xAB, // stosd 0x9B, // wait 0x91, // xchg EAX,ECX 0xD7, // xlat ]; int i; asm { call L1 ; cbw ; clc ; cld ; cli ; cmc ; cmpsb ; cmpsw ; cmpsd ; cwd ; daa ; das ; dec EAX ; div CL ; div BX ; div EDX ; hlt ; idiv BL ; idiv DX ; idiv ESI ; imul BL ; imul DX ; imul ESI ; in AL,DX ; in AX,DX ; inc EBX ; int 3 ; int 0x67 ; into ; L10: iret ; ja L10 ; jnbe L10 ; jae L10 ; jnb L10 ; jnc L10 ; jb L10 ; jnae L10 ; jbe L10 ; jna L10 ; jc L10 ; jcxz L10 ; je L10 ; jz L10 ; jg L10 ; jnle L10 ; jge L10 ; jnl L10 ; jl L10 ; jnge L10 ; jle L10 ; jng L10 ; jmp short L10 ; jne L10 ; jnz L10 ; jno L10 ; jns L10 ; jnp L10 ; jpo L10 ; jo L10 ; jp L10 ; jpe L10 ; js L10 ; lahf ; lds ESI,[EAX] ; lea EDI,[EBX] ; les EBP,[ECX] ; lock ; lodsb ; lodsw ; lodsd ; loop L10 ; loope L10 ; loopz L10 ; loopnz L10 ; loopne L10 ; movsb ; movsw ; movsd ; mul AH ; mul CX ; mul EBP ; nop ; not EDI ; out 0x44,AX ; out DX,AL ; popf ; pushf ; rcr EBX,1 ; rep ; repe ; repne ; repz ; repnz ; ret ; ret 4 ; rol ECX,1 ; ror EDX,1 ; sahf ; sal EBP,1 ; shl ESP,1 ; sar EDI,1 ; scasb ; scasw ; scasd ; shr ESI,1 ; std ; stc ; sti ; stosb ; stosw ; stosd ; wait ; xchg EAX,ECX ; xlat ; L1: ; pop EBX ; mov p[EBP],EBX ; } for (i = 0; i < data.length; i++) { assert(p[i] == data[i]); } } /****************************************************/ class Test51 { void test(int n) { asm { mov EAX, this; } } } /****************************************************/ void test52() { int x; ubyte* p; static ubyte data[] = [ 0xF6, 0xD8, // neg AL 0x66, 0xF7, 0xD8, // neg AX 0xF7, 0xD8, // neg EAX 0xF6, 0xDC, // neg AH 0xF7, 0x5D, 0xe8, // neg dword ptr -8[EBP] 0xF6, 0x1B, // neg byte ptr [EBX] ]; asm { call L1 ; neg AL ; neg AX ; neg EAX ; neg AH ; // neg b ; // neg w ; // neg i ; // neg l ; neg x ; neg [EBX] ; L1: pop EAX ; mov p[EBP],EAX ; } foreach (ref i, b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ void test53() { int x; ubyte* p; static ubyte data[] = [ 0x8D, 0x04, 0x00, // lea EAX,[EAX][EAX] 0x8D, 0x04, 0x08, // lea EAX,[ECX][EAX] 0x8D, 0x04, 0x10, // lea EAX,[EDX][EAX] 0x8D, 0x04, 0x18, // lea EAX,[EBX][EAX] 0x8D, 0x04, 0x28, // lea EAX,[EBP][EAX] 0x8D, 0x04, 0x30, // lea EAX,[ESI][EAX] 0x8D, 0x04, 0x38, // lea EAX,[EDI][EAX] 0x8D, 0x04, 0x00, // lea EAX,[EAX][EAX] 0x8D, 0x04, 0x01, // lea EAX,[EAX][ECX] 0x8D, 0x04, 0x02, // lea EAX,[EAX][EDX] 0x8D, 0x04, 0x03, // lea EAX,[EAX][EBX] 0x8D, 0x04, 0x04, // lea EAX,[EAX][ESP] 0x8D, 0x44, 0x05, 0x00, // lea EAX,0[EAX][EBP] 0x8D, 0x04, 0x06, // lea EAX,[EAX][ESI] 0x8D, 0x04, 0x07, // lea EAX,[EAX][EDI] 0x8D, 0x44, 0x01, 0x12, // lea EAX,012h[EAX][ECX] 0x8D, 0x84, 0x01, 0x34, 0x12, 0x00, 0x00, // lea EAX,01234h[EAX][ECX] 0x8D, 0x84, 0x01, 0x78, 0x56, 0x34, 0x12, // lea EAX,012345678h[EAX][ECX] 0x8D, 0x44, 0x05, 0x12, // lea EAX,012h[EAX][EBP] 0x8D, 0x84, 0x05, 0x34, 0x12, 0x00, 0x00, // lea EAX,01234h[EAX][EBP] 0x8D, 0x84, 0x05, 0x78, 0x56, 0x34, 0x12, // lea EAX,012345678h[EAX][EBP] ]; asm { call L1 ; // Right lea EAX, [EAX+EAX]; lea EAX, [EAX+ECX]; lea EAX, [EAX+EDX]; lea EAX, [EAX+EBX]; //lea EAX, [EAX+ESP]; ESP can't be on the right lea EAX, [EAX+EBP]; lea EAX, [EAX+ESI]; lea EAX, [EAX+EDI]; // Left lea EAX, [EAX+EAX]; lea EAX, [ECX+EAX]; lea EAX, [EDX+EAX]; lea EAX, [EBX+EAX]; lea EAX, [ESP+EAX]; lea EAX, [EBP+EAX]; // Good gets disp+8 correctly lea EAX, [ESI+EAX]; lea EAX, [EDI+EAX]; // Disp8/32 checks lea EAX, [ECX+EAX+0x12]; lea EAX, [ECX+EAX+0x1234]; lea EAX, [ECX+EAX+0x1234_5678]; lea EAX, [EBP+EAX+0x12]; lea EAX, [EBP+EAX+0x1234]; lea EAX, [EBP+EAX+0x1234_5678]; L1: pop EAX ; mov p[EBP],EAX ; } foreach (i,b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ void test54() { int x; ubyte* p; static ubyte data[] = [ 0xFE, 0xC8, // dec AL 0xFE, 0xCC, // dec AH 0x66, 0x48, // dec AX 0x48, // dec EAX 0xFE, 0xC0, // inc AL 0xFE, 0xC4, // inc AH 0x66, 0x40, // inc AX 0x40, // inc EAX 0x66, 0x0F, 0xA4, 0xC8, 0x04, // shld AX, CX, 4 0x66, 0x0F, 0xA5, 0xC8, // shld AX, CX, CL 0x0F, 0xA4, 0xC8, 0x04, // shld EAX, ECX, 4 0x0F, 0xA5, 0xC8, // shld EAX, ECX, CL 0x66, 0x0F, 0xAC, 0xC8, 0x04, // shrd AX, CX, 4 0x66, 0x0F, 0xAD, 0xC8, // shrd AX, CX, CL 0x0F, 0xAC, 0xC8, 0x04, // shrd EAX, ECX, 4 0x0F, 0xAD, 0xC8, // shrd EAX, ECX, CL ]; asm { call L1; dec AL; dec AH; dec AX; dec EAX; inc AL; inc AH; inc AX; inc EAX; shld AX, CX, 4; shld AX, CX, CL; shld EAX, ECX, 4; shld EAX, ECX, CL; shrd AX, CX, 4; shrd AX, CX, CL; shrd EAX, ECX, 4; shrd EAX, ECX, CL; L1: pop EAX; mov p[EBP],EAX; } foreach (i,b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ void test55() { int x; ubyte* p; enum NOP = 0x9090_9090_9090_9090; static ubyte data[] = [ 0x0F, 0x87, 0xFF, 0xFF, 0, 0, // ja $ + 0xFFFF 0x72, 0x18, // jb Lb 0x0F, 0x82, 0x92, 0x00, 0, 0, // jc Lc 0x0F, 0x84, 0x0C, 0x01, 0, 0, // je Le 0xEB, 0x0A, // jmp Lb 0xE9, 0x85, 0x00, 0x00, 0, // jmp Lc 0xE9, 0x00, 0x01, 0x00, 0, // jmp Le ]; asm { call L1; ja $+0x0_FFFF; jb Lb; jc Lc; je Le; jmp Lb; jmp Lc; jmp Le; Lb: dq NOP,NOP,NOP,NOP; // 32 dq NOP,NOP,NOP,NOP; // 64 dq NOP,NOP,NOP,NOP; // 96 dq NOP,NOP,NOP,NOP; // 128 Lc: dq NOP,NOP,NOP,NOP; // 160 dq NOP,NOP,NOP,NOP; // 192 dq NOP,NOP,NOP,NOP; // 224 dq NOP,NOP,NOP,NOP; // 256 Le: nop; L1: pop EAX; mov p[EBP],EAX; } foreach (i,b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ void test56() { int x; x = foo56(); assert(x == 42); } int foo56() { asm { naked; xor EAX,EAX; jz bar56; ret; } } void bar56() { asm { naked; mov EAX, 42; ret; } } /****************************************************/ /* ======================= SSSE3 ======================= */ void test57() { ubyte* p; M64 m64; M128 m128; static ubyte data[] = [ 0x0F, 0x3A, 0x0F, 0xCA, 0x03, // palignr MM1, MM2, 3 0x66, 0x0F, 0x3A, 0x0F, 0xCA, 0x03, // palignr XMM1, XMM2, 3 0x0F, 0x3A, 0x0F, 0x5D, 0xD8, 0x03, // palignr MM3, -0x28[EBP], 3 0x66, 0x0F, 0x3A, 0x0F, 0x5D, 0xE0, 0x03, // palignr XMM3, -0x20[EBP], 3 0x0F, 0x38, 0x02, 0xCA, // phaddd MM1, MM2 0x66, 0x0F, 0x38, 0x02, 0xCA, // phaddd XMM1, XMM2 0x0F, 0x38, 0x02, 0x5D, 0xD8, // phaddd MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x02, 0x5D, 0xE0, // phaddd XMM3, -0x20[EBP] 0x0F, 0x38, 0x01, 0xCA, // phaddw MM1, MM2 0x66, 0x0F, 0x38, 0x01, 0xCA, // phaddw XMM1, XMM2 0x0F, 0x38, 0x01, 0x5D, 0xD8, // phaddw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x01, 0x5D, 0xE0, // phaddw XMM3, -0x20[EBP] 0x0F, 0x38, 0x03, 0xCA, // phaddsw MM1, MM2 0x66, 0x0F, 0x38, 0x03, 0xCA, // phaddsw XMM1, XMM2 0x0F, 0x38, 0x03, 0x5D, 0xD8, // phaddsw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x03, 0x5D, 0xE0, // phaddsw XMM3, -0x20[EBP] 0x0F, 0x38, 0x06, 0xCA, // phsubd MM1, MM2 0x66, 0x0F, 0x38, 0x06, 0xCA, // phsubd XMM1, XMM2 0x0F, 0x38, 0x06, 0x5D, 0xD8, // phsubd MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x06, 0x5D, 0xE0, // phsubd XMM3, -0x20[EBP] 0x0F, 0x38, 0x05, 0xCA, // phsubw MM1, MM2 0x66, 0x0F, 0x38, 0x05, 0xCA, // phsubw XMM1, XMM2 0x0F, 0x38, 0x05, 0x5D, 0xD8, // phsubw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x05, 0x5D, 0xE0, // phsubw XMM3, -0x20[EBP] 0x0F, 0x38, 0x07, 0xCA, // phsubsw MM1, MM2 0x66, 0x0F, 0x38, 0x07, 0xCA, // phsubsw XMM1, XMM2 0x0F, 0x38, 0x07, 0x5D, 0xD8, // phsubsw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x07, 0x5D, 0xE0, // phsubsw XMM3, -0x20[EBP] 0x0F, 0x38, 0x04, 0xCA, // pmaddubsw MM1, MM2 0x66, 0x0F, 0x38, 0x04, 0xCA, // pmaddubsw XMM1, XMM2 0x0F, 0x38, 0x04, 0x5D, 0xD8, // pmaddubsw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x04, 0x5D, 0xE0, // pmaddubsw XMM3, -0x20[EBP] 0x0F, 0x38, 0x0B, 0xCA, // pmulhrsw MM1, MM2 0x66, 0x0F, 0x38, 0x0B, 0xCA, // pmulhrsw XMM1, XMM2 0x0F, 0x38, 0x0B, 0x5D, 0xD8, // pmulhrsw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x0B, 0x5D, 0xE0, // pmulhrsw XMM3, -0x20[EBP] 0x0F, 0x38, 0x00, 0xCA, // pshufb MM1, MM2 0x66, 0x0F, 0x38, 0x00, 0xCA, // pshufb XMM1, XMM2 0x0F, 0x38, 0x00, 0x5D, 0xD8, // pshufb MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x00, 0x5D, 0xE0, // pshufb XMM3, -0x20[EBP] 0x0F, 0x38, 0x1C, 0xCA, // pabsb MM1, MM2 0x66, 0x0F, 0x38, 0x1C, 0xCA, // pabsb XMM1, XMM2 0x0F, 0x38, 0x1C, 0x5D, 0xD8, // pabsb MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x1C, 0x5D, 0xE0, // pabsb XMM3, -0x20[EBP] 0x0F, 0x38, 0x1E, 0xCA, // pabsd MM1, MM2 0x66, 0x0F, 0x38, 0x1E, 0xCA, // pabsd XMM1, XMM2 0x0F, 0x38, 0x1E, 0x5D, 0xD8, // pabsd MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x1E, 0x5D, 0xE0, // pabsd XMM3, -0x20[EBP] 0x0F, 0x38, 0x1D, 0xCA, // pabsw MM1, MM2 0x66, 0x0F, 0x38, 0x1D, 0xCA, // pabsw XMM1, XMM2 0x0F, 0x38, 0x1D, 0x5D, 0xD8, // pabsw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x1D, 0x5D, 0xE0, // pabsw XMM3, -0x20[EBP] 0x0F, 0x38, 0x08, 0xCA, // psignb MM1, MM2 0x66, 0x0F, 0x38, 0x08, 0xCA, // psignb XMM1, XMM2 0x0F, 0x38, 0x08, 0x5D, 0xD8, // psignb MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x08, 0x5D, 0xE0, // psignb XMM3, -0x20[EBP] 0x0F, 0x38, 0x0A, 0xCA, // psignd MM1, MM2 0x66, 0x0F, 0x38, 0x0A, 0xCA, // psignd XMM1, XMM2 0x0F, 0x38, 0x0A, 0x5D, 0xD8, // psignd MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x0A, 0x5D, 0xE0, // psignd XMM3, -0x20[EBP] 0x0F, 0x38, 0x09, 0xCA, // psignw MM1, MM2 0x66, 0x0F, 0x38, 0x09, 0xCA, // psignw XMM1, XMM2 0x0F, 0x38, 0x09, 0x5D, 0xD8, // psignw MM3, -0x28[EBP] 0x66, 0x0F, 0x38, 0x09, 0x5D, 0xE0, // psignw XMM3, -0x20[EBP] ]; asm { call L1; palignr MM1, MM2, 3; palignr XMM1, XMM2, 3; palignr MM3, m64 , 3; palignr XMM3, m128, 3; phaddd MM1, MM2; phaddd XMM1, XMM2; phaddd MM3, m64; phaddd XMM3, m128; phaddw MM1, MM2; phaddw XMM1, XMM2; phaddw MM3, m64; phaddw XMM3, m128; phaddsw MM1, MM2; phaddsw XMM1, XMM2; phaddsw MM3, m64; phaddsw XMM3, m128; phsubd MM1, MM2; phsubd XMM1, XMM2; phsubd MM3, m64; phsubd XMM3, m128; phsubw MM1, MM2; phsubw XMM1, XMM2; phsubw MM3, m64; phsubw XMM3, m128; phsubsw MM1, MM2; phsubsw XMM1, XMM2; phsubsw MM3, m64; phsubsw XMM3, m128; pmaddubsw MM1, MM2; pmaddubsw XMM1, XMM2; pmaddubsw MM3, m64; pmaddubsw XMM3, m128; pmulhrsw MM1, MM2; pmulhrsw XMM1, XMM2; pmulhrsw MM3, m64; pmulhrsw XMM3, m128; pshufb MM1, MM2; pshufb XMM1, XMM2; pshufb MM3, m64; pshufb XMM3, m128; pabsb MM1, MM2; pabsb XMM1, XMM2; pabsb MM3, m64; pabsb XMM3, m128; pabsd MM1, MM2; pabsd XMM1, XMM2; pabsd MM3, m64; pabsd XMM3, m128; pabsw MM1, MM2; pabsw XMM1, XMM2; pabsw MM3, m64; pabsw XMM3, m128; psignb MM1, MM2; psignb XMM1, XMM2; psignb MM3, m64; psignb XMM3, m128; psignd MM1, MM2; psignd XMM1, XMM2; psignd MM3, m64; psignd XMM3, m128; psignw MM1, MM2; psignw XMM1, XMM2; psignw MM3, m64; psignw XMM3, m128; L1: pop EAX; mov p[EBP],EAX; } foreach (ref i, b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ /* ======================= SSE4.1 ======================= */ void test58() { ubyte* p; byte m8; short m16; int m32; M64 m64; M128 m128; static ubyte data[] = [ 0x66, 0x0F, 0x3A, 0x0D, 0xCA, 3,// blendpd XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x0D, 0x5D, 0xE0, 3,// blendpd XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x3A, 0x0C, 0xCA, 3,// blendps XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x0C, 0x5D, 0xE0, 3,// blendps XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x38, 0x15, 0xCA, // blendvpd XMM1,XMM2,XMM0 0x66, 0x0F, 0x38, 0x15, 0x5D, 0xE0, // blendvpd XMM3,XMMWORD PTR [RBP-0x20],XMM0 0x66, 0x0F, 0x38, 0x14, 0xCA, // blendvps XMM1,XMM2,XMM0 0x66, 0x0F, 0x38, 0x14, 0x5D, 0xE0, // blendvps XMM3,XMMWORD PTR [RBP-0x20],XMM0 0x66, 0x0F, 0x3A, 0x41, 0xCA, 3,// dppd XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x41, 0x5D, 0xE0, 3,// dppd XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x3A, 0x40, 0xCA, 3,// dpps XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x40, 0x5D, 0xE0, 3,// dpps XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x3A, 0x17, 0xD2, 3,// extractps EDX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x17, 0x55, 0xC8, 3,// extractps DWORD PTR [RBP-0x38],XMM2,0x3 0x66, 0x0F, 0x3A, 0x21, 0xCA, 3,// insertps XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x21, 0x5D, 0xC8, 3,// insertps XMM3,DWORD PTR [RBP-0x38],0x3 0x66, 0x0F, 0x38, 0x2A, 0x4D, 0xE0, // movntdqa XMM1,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x3A, 0x42, 0xCA, 3,// mpsadbw XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x42, 0x5D, 0xE0, 3,// mpsadbw XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x38, 0x2B, 0xCA, // packusdw XMM1,XMM2 0x66, 0x0F, 0x38, 0x2B, 0x5D, 0xE0, // packusdw XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x10, 0xCA, // pblendvb XMM1,XMM2,XMM0 0x66, 0x0F, 0x38, 0x10, 0x5D, 0xE0, // pblendvb XMM3,XMMWORD PTR [RBP-0x20],XMM0 0x66, 0x0F, 0x3A, 0x0E, 0xCA, 3,// pblendw XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x0E, 0x5D, 0xE0, 3,// pblendw XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x38, 0x29, 0xCA, // pcmpeqq XMM1,XMM2 0x66, 0x0F, 0x38, 0x29, 0x5D, 0xE0, // pcmpeqq XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x3A, 0x14, 0xD0, 3,// pextrb EAX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x14, 0xD3, 3,// pextrb EBX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x14, 0xD1, 3,// pextrb ECX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x14, 0xD2, 3,// pextrb EDX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x14, 0x5D, 0xC4, 3,// pextrb BYTE PTR [RBP-0x3C],XMM3,0x3 0x66, 0x0F, 0x3A, 0x16, 0xD0, 3,// pextrd EAX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x16, 0xD3, 3,// pextrd EBX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x16, 0xD1, 3,// pextrd ECX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x16, 0xD2, 3,// pextrd EDX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x16, 0x5D, 0xC8, 3,// pextrd DWORD PTR [RBP-0x38],XMM3,0x3 0x66, 0x0F, 0xC5, 0xC2, 3,// pextrw EAX,XMM2,0x3 0x66, 0x0F, 0xC5, 0xDA, 3,// pextrw EBX,XMM2,0x3 0x66, 0x0F, 0xC5, 0xCA, 3,// pextrw ECX,XMM2,0x3 0x66, 0x0F, 0xC5, 0xD2, 3,// pextrw EDX,XMM2,0x3 0x66, 0x0F, 0x3A, 0x15, 0x5D, 0xC6, 3,// pextrw WORD PTR [RBP-0x3A],XMM3,0x3 0x66, 0x0F, 0x38, 0x41, 0xCA, // phminposuw XMM1,XMM2 0x66, 0x0F, 0x38, 0x41, 0x5D, 0xE0, // phminposuw XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x3A, 0x20, 0xC8, 3,// pinsrb XMM1,EAX,0x3 0x66, 0x0F, 0x3A, 0x20, 0xCB, 3,// pinsrb XMM1,EBX,0x3 0x66, 0x0F, 0x3A, 0x20, 0xC9, 3,// pinsrb XMM1,ECX,0x3 0x66, 0x0F, 0x3A, 0x20, 0xCA, 3,// pinsrb XMM1,EDX,0x3 0x66, 0x0F, 0x3A, 0x20, 0x5D, 0xC4, 3,// pinsrb XMM3,BYTE PTR [RBP-0x3C],0x3 0x66, 0x0F, 0x3A, 0x22, 0xC8, 3,// pinsrd XMM1,EAX,0x3 0x66, 0x0F, 0x3A, 0x22, 0xCB, 3,// pinsrd XMM1,EBX,0x3 0x66, 0x0F, 0x3A, 0x22, 0xC9, 3,// pinsrd XMM1,ECX,0x3 0x66, 0x0F, 0x3A, 0x22, 0xCA, 3,// pinsrd XMM1,EDX,0x3 0x66, 0x0F, 0x3A, 0x22, 0x5D, 0xC8, 3,// pinsrd XMM3,DWORD PTR [RBP-0x38],0x3 0x66, 0x0F, 0x38, 0x3C, 0xCA, // pmaxsb XMM1,XMM2 0x66, 0x0F, 0x38, 0x3C, 0x5D, 0xE0, // pmaxsb XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x3D, 0xCA, // pmaxsd XMM1,XMM2 0x66, 0x0F, 0x38, 0x3D, 0x5D, 0xE0, // pmaxsd XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x3F, 0xCA, // pmaxud XMM1,XMM2 0x66, 0x0F, 0x38, 0x3F, 0x5D, 0xE0, // pmaxud XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x3E, 0xCA, // pmaxuw XMM1,XMM2 0x66, 0x0F, 0x38, 0x3E, 0x5D, 0xE0, // pmaxuw XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x38, 0xCA, // pminsb XMM1,XMM2 0x66, 0x0F, 0x38, 0x38, 0x5D, 0xE0, // pminsb XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x39, 0xCA, // pminsd XMM1,XMM2 0x66, 0x0F, 0x38, 0x39, 0x5D, 0xE0, // pminsd XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x3B, 0xCA, // pminud XMM1,XMM2 0x66, 0x0F, 0x38, 0x3B, 0x5D, 0xE0, // pminud XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x3A, 0xCA, // pminuw XMM1,XMM2 0x66, 0x0F, 0x38, 0x3A, 0x5D, 0xE0, // pminuw XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x20, 0xCA, // pmovsxbw XMM1,XMM2 0x66, 0x0F, 0x38, 0x20, 0x5D, 0xD0, // pmovsxbw XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x21, 0xCA, // pmovsxbd XMM1,XMM2 0x66, 0x0F, 0x38, 0x21, 0x5D, 0xC8, // pmovsxbd XMM3,DWORD PTR [RBP-0x38] 0x66, 0x0F, 0x38, 0x22, 0xCA, // pmovsxbq XMM1,XMM2 0x66, 0x0F, 0x38, 0x22, 0x5D, 0xC6, // pmovsxbq XMM3,WORD PTR [RBP-0x3A] 0x66, 0x0F, 0x38, 0x23, 0xCA, // pmovsxwd XMM1,XMM2 0x66, 0x0F, 0x38, 0x23, 0x5D, 0xD0, // pmovsxwd XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x24, 0xCA, // pmovsxwq XMM1,XMM2 0x66, 0x0F, 0x38, 0x24, 0x5D, 0xC8, // pmovsxwq XMM3,DWORD PTR [RBP-0x38] 0x66, 0x0F, 0x38, 0x25, 0xCA, // pmovsxdq XMM1,XMM2 0x66, 0x0F, 0x38, 0x25, 0x5D, 0xD0, // pmovsxdq XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x30, 0xCA, // pmovzxbw XMM1,XMM2 0x66, 0x0F, 0x38, 0x30, 0x5D, 0xD0, // pmovzxbw XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x31, 0xCA, // pmovzxbd XMM1,XMM2 0x66, 0x0F, 0x38, 0x31, 0x5D, 0xC8, // pmovzxbd XMM3,DWORD PTR [RBP-0x38] 0x66, 0x0F, 0x38, 0x32, 0xCA, // pmovzxbq XMM1,XMM2 0x66, 0x0F, 0x38, 0x32, 0x5D, 0xC6, // pmovzxbq XMM3,WORD PTR [RBP-0x3A] 0x66, 0x0F, 0x38, 0x33, 0xCA, // pmovzxwd XMM1,XMM2 0x66, 0x0F, 0x38, 0x33, 0x5D, 0xD0, // pmovzxwd XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x34, 0xCA, // pmovzxwq XMM1,XMM2 0x66, 0x0F, 0x38, 0x34, 0x5D, 0xC8, // pmovzxwq XMM3,DWORD PTR [RBP-0x38] 0x66, 0x0F, 0x38, 0x35, 0xCA, // pmovzxdq XMM1,XMM2 0x66, 0x0F, 0x38, 0x35, 0x5D, 0xD0, // pmovzxdq XMM3,QWORD PTR [RBP-0x30] 0x66, 0x0F, 0x38, 0x28, 0xCA, // pmuldq XMM1,XMM2 0x66, 0x0F, 0x38, 0x28, 0x5D, 0xE0, // pmuldq XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x40, 0xCA, // pmulld XMM1,XMM2 0x66, 0x0F, 0x38, 0x40, 0x5D, 0xE0, // pmulld XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x38, 0x17, 0xCA, // ptest XMM1,XMM2 0x66, 0x0F, 0x38, 0x17, 0x5D, 0xE0, // ptest XMM3,XMMWORD PTR [RBP-0x20] 0x66, 0x0F, 0x3A, 0x09, 0xCA, 3,// roundpd XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x09, 0x5D, 0xE0, 3,// roundpd XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x3A, 0x08, 0xCA, 3,// roundps XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x08, 0x5D, 0xE0, 3,// roundps XMM3,XMMWORD PTR [RBP-0x20],0x3 0x66, 0x0F, 0x3A, 0x0B, 0xCA, 3,// roundsd XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x0B, 0x5D, 0xD0, 3,// roundsd XMM3,QWORD PTR [RBP-0x30],0x3 0x66, 0x0F, 0x3A, 0x0A, 0xCA, 3,// roundss XMM1,XMM2,0x3 0x66, 0x0F, 0x3A, 0x0A, 0x4D, 0xC8, 3,// roundss xmm1,dword ptr [rbp-0x38],0x3 ]; asm { call L1; blendpd XMM1, XMM2, 3; blendpd XMM3, m128, 3; blendps XMM1, XMM2, 3; blendps XMM3, m128, 3; blendvpd XMM1, XMM2, XMM0; blendvpd XMM3, m128, XMM0; blendvps XMM1, XMM2, XMM0; blendvps XMM3, m128, XMM0; dppd XMM1, XMM2, 3; dppd XMM3, m128, 3; dpps XMM1, XMM2, 3; dpps XMM3, m128, 3; extractps EDX, XMM2, 3; extractps m32, XMM2, 3; insertps XMM1, XMM2, 3; insertps XMM3, m32, 3; movntdqa XMM1, m128; mpsadbw XMM1, XMM2, 3; mpsadbw XMM3, m128, 3; packusdw XMM1, XMM2; packusdw XMM3, m128; pblendvb XMM1, XMM2, XMM0; pblendvb XMM3, m128, XMM0; pblendw XMM1, XMM2, 3; pblendw XMM3, m128, 3; pcmpeqq XMM1, XMM2; pcmpeqq XMM3, m128; pextrb EAX, XMM2, 3; pextrb EBX, XMM2, 3; pextrb ECX, XMM2, 3; pextrb EDX, XMM2, 3; pextrb m8, XMM3, 3; pextrd EAX, XMM2, 3; pextrd EBX, XMM2, 3; pextrd ECX, XMM2, 3; pextrd EDX, XMM2, 3; pextrd m32, XMM3, 3; pextrw EAX, XMM2, 3; pextrw EBX, XMM2, 3; pextrw ECX, XMM2, 3; pextrw EDX, XMM2, 3; pextrw m16, XMM3, 3; phminposuw XMM1, XMM2; phminposuw XMM3, m128; pinsrb XMM1, EAX, 3; pinsrb XMM1, EBX, 3; pinsrb XMM1, ECX, 3; pinsrb XMM1, EDX, 3; pinsrb XMM3, m8, 3; pinsrd XMM1, EAX, 3; pinsrd XMM1, EBX, 3; pinsrd XMM1, ECX, 3; pinsrd XMM1, EDX, 3; pinsrd XMM3, m32, 3; pmaxsb XMM1, XMM2; pmaxsb XMM3, m128; pmaxsd XMM1, XMM2; pmaxsd XMM3, m128; pmaxud XMM1, XMM2; pmaxud XMM3, m128; pmaxuw XMM1, XMM2; pmaxuw XMM3, m128; pminsb XMM1, XMM2; pminsb XMM3, m128; pminsd XMM1, XMM2; pminsd XMM3, m128; pminud XMM1, XMM2; pminud XMM3, m128; pminuw XMM1, XMM2; pminuw XMM3, m128; pmovsxbw XMM1, XMM2; pmovsxbw XMM3, m64; pmovsxbd XMM1, XMM2; pmovsxbd XMM3, m32; pmovsxbq XMM1, XMM2; pmovsxbq XMM3, m16; pmovsxwd XMM1, XMM2; pmovsxwd XMM3, m64; pmovsxwq XMM1, XMM2; pmovsxwq XMM3, m32; pmovsxdq XMM1, XMM2; pmovsxdq XMM3, m64; pmovzxbw XMM1, XMM2; pmovzxbw XMM3, m64; pmovzxbd XMM1, XMM2; pmovzxbd XMM3, m32; pmovzxbq XMM1, XMM2; pmovzxbq XMM3, m16; pmovzxwd XMM1, XMM2; pmovzxwd XMM3, m64; pmovzxwq XMM1, XMM2; pmovzxwq XMM3, m32; pmovzxdq XMM1, XMM2; pmovzxdq XMM3, m64; pmuldq XMM1, XMM2; pmuldq XMM3, m128; pmulld XMM1, XMM2; pmulld XMM3, m128; ptest XMM1, XMM2; ptest XMM3, m128; roundpd XMM1, XMM2, 3; roundpd XMM3, m128, 3; roundps XMM1, XMM2, 3; roundps XMM3, m128, 3; roundsd XMM1, XMM2, 3; roundsd XMM3, m64, 3; roundss XMM1, XMM2, 3; roundss XMM1, m32, 3; L1: pop EAX; mov p[EBP],EAX; } foreach (ref i, b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /****************************************************/ /* ======================= SSE4.2 ======================= */ void test59() { ubyte* p; byte m8; short m16; int m32; M64 m64; M128 m128; static ubyte data[] = [ 0xF2, 0x0F, 0x38, 0xF0, 0xC1, // crc32 EAX, CL 0x66, 0xF2, 0x0F, 0x38, 0xF1, 0xC1, // crc32 EAX, CX 0xF2, 0x0F, 0x38, 0xF1, 0xC1, // crc32 EAX, ECX 0xF2, 0x0F, 0x38, 0xF0, 0x55, 0xC4, // crc32 EDX, byte ptr [RBP-0x3C] 0x66, 0xF2, 0x0F, 0x38, 0xF1, 0x55, 0xC6, // crc32 EDX, word ptr [RBP-0x3A] 0xF2, 0x0F, 0x38, 0xF1, 0x55, 0xC8, // crc32 EDX,dword ptr [RBP-0x38] 0x66, 0x0F, 0x3A, 0x61, 0xCA, 2, // pcmpestri XMM1,XMM2, 2 0x66, 0x0F, 0x3A, 0x61, 0x5D, 0xE0, 2, // pcmpestri XMM3,xmmword ptr [RBP-0x20], 2 0x66, 0x0F, 0x3A, 0x60, 0xCA, 2, // pcmpestrm XMM1,XMM2, 2 0x66, 0x0F, 0x3A, 0x60, 0x5D, 0xE0, 2, // pcmpestrm XMM3,xmmword ptr [RBP-0x20], 2 0x66, 0x0F, 0x3A, 0x63, 0xCA, 2, // pcmpistri XMM1,XMM2, 2 0x66, 0x0F, 0x3A, 0x63, 0x5D, 0xE0, 2, // pcmpistri XMM3,xmmword ptr [RBP-0x20], 2 0x66, 0x0F, 0x3A, 0x62, 0xCA, 2, // pcmpistrm XMM1,XMM2, 2 0x66, 0x0F, 0x3A, 0x62, 0x5D, 0xE0, 2, // pcmpistrm XMM3,xmmword ptr [RBP-0x20], 2 0x66, 0x0F, 0x38, 0x37, 0xCA, // pcmpgtq XMM1,XMM2 0x66, 0x0F, 0x38, 0x37, 0x5D, 0xE0, // pcmpgtq XMM3,xmmword ptr [RBP-0x20] 0x66, 0xF3, 0x0F, 0xB8, 0xC1, // popcnt AX, CX 0xF3, 0x0F, 0xB8, 0xC1, // popcnt EAX, ECX 0x66, 0xF3, 0x0F, 0xB8, 0x55, 0xC6, // popcnt DX, word ptr [RBP-0x3A] 0xF3, 0x0F, 0xB8, 0x55, 0xC8, // popcnt EDX,dword ptr [RBP-0x38] ]; asm { call L1; crc32 EAX, CL; crc32 EAX, CX; crc32 EAX, ECX; crc32 EDX, m8; crc32 EDX, m16; crc32 EDX, m32; pcmpestri XMM1, XMM2, 2; pcmpestri XMM3, m128, 2; pcmpestrm XMM1, XMM2, 2; pcmpestrm XMM3, m128, 2; pcmpistri XMM1, XMM2, 2; pcmpistri XMM3, m128, 2; pcmpistrm XMM1, XMM2, 2; pcmpistrm XMM3, m128, 2; pcmpgtq XMM1, XMM2; pcmpgtq XMM3, m128; popcnt AX, CX; popcnt EAX, ECX; popcnt DX, m16; popcnt EDX, m32; L1: pop EAX; mov p[EBP],EAX; } foreach (ref i, b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } /* ======================= SHA ========================== */ void test60() { ubyte* p; byte m8; short m16; int m32; M64 m64; M128 m128; static ubyte data[] = [ 0x0F, 0x3A, 0xCC, 0xD1, 0x01, // sha1rnds4 XMM2, XMM1, 1; 0x0F, 0x3A, 0xCC, 0x10, 0x01, // sha1rnds4 XMM2, [RAX], 1; 0x0F, 0x38, 0xC8, 0xD1, // sha1nexte XMM2, XMM1; 0x0F, 0x38, 0xC8, 0x10, // sha1nexte XMM2, [RAX]; 0x0F, 0x38, 0xC9, 0xD1, // sha1msg1 XMM2, XMM1; 0x0F, 0x38, 0xC9, 0x10, // sha1msg1 XMM2, [RAX]; 0x0F, 0x38, 0xCA, 0xD1, // sha1msg2 XMM2, XMM1; 0x0F, 0x38, 0xCA, 0x10, // sha1msg2 XMM2, [RAX]; 0x0F, 0x38, 0xCB, 0xD1, // sha256rnds2 XMM2, XMM1; 0x0F, 0x38, 0xCB, 0x10, // sha256rnds2 XMM2, [RAX]; 0x0F, 0x38, 0xCC, 0xD1, // sha256msg1 XMM2, XMM1; 0x0F, 0x38, 0xCC, 0x10, // sha256msg1 XMM2, [RAX]; 0x0F, 0x38, 0xCD, 0xD1, // sha256msg2 XMM2, XMM1; 0x0F, 0x38, 0xCD, 0x10, // sha256msg2 XMM2, [RAX]; ]; asm { call L1; sha1rnds4 XMM2, XMM1, 1; sha1rnds4 XMM2, [EAX], 1; sha1nexte XMM2, XMM1; sha1nexte XMM2, [EAX]; sha1msg1 XMM2, XMM1; sha1msg1 XMM2, [EAX]; sha1msg2 XMM2, XMM1; sha1msg2 XMM2, [EAX]; sha256rnds2 XMM2, XMM1; sha256rnds2 XMM2, [EAX]; sha256msg1 XMM2, XMM1; sha256msg1 XMM2, [EAX]; sha256msg2 XMM2, XMM1; sha256msg2 XMM2, [EAX]; L1: pop EAX; mov p[EBP],EAX; } foreach (ref i, b; data) { //printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } } void test9866() { ubyte* p; static ubyte data[] = [ 0x66, 0x0f, 0xbe, 0xc0, // movsx AX, AL; 0x66, 0x0f, 0xbe, 0x00, // movsx AX, byte ptr [EAX]; 0x0f, 0xbe, 0xc0, // movsx EAX, AL; 0x0f, 0xbe, 0x00, // movsx EAX, byte ptr [EAX]; 0x66, 0x0f, 0xbf, 0xc0, // movsx AX, AX; 0x66, 0x0f, 0xbf, 0x00, // movsx AX, word ptr [EAX]; 0x0f, 0xbf, 0xc0, // movsx EAX, AX; 0x0f, 0xbf, 0x00, // movsx EAX, word ptr [EAX]; 0x66, 0x0f, 0xb6, 0xc0, // movzx AX, AL; 0x66, 0x0f, 0xb6, 0x00, // movzx AX, byte ptr [EAX]; 0x0f, 0xb6, 0xc0, // movzx EAX, AL; 0x0f, 0xb6, 0x00, // movzx EAX, byte ptr [EAX]; 0x66, 0x0f, 0xb7, 0xc0, // movzx AX, AX; 0x66, 0x0f, 0xb7, 0x00, // movzx AX, word ptr [EAX]; 0x0f, 0xb7, 0xc0, // movzx EAX, AX; 0x0f, 0xb7, 0x00, // movzx EAX, word ptr [EAX]; ]; asm { call L1; movsx AX, AL; movsx AX, byte ptr [EAX]; movsx EAX, AL; movsx EAX, byte ptr [EAX]; movsx AX, AX; movsx AX, word ptr [EAX]; movsx EAX, AX; movsx EAX, word ptr [EAX]; movzx AX, AL; movzx AX, byte ptr [EAX]; movzx EAX, AL; movzx EAX, byte ptr [EAX]; movzx AX, AX; movzx AX, word ptr [EAX]; movzx EAX, AX; movzx EAX, word ptr [EAX]; L1: pop EAX; mov p[EBP],EAX; } foreach (ref i, b; data) { // printf("data[%d] = 0x%02x, should be 0x%02x\n", i, p[i], b); assert(p[i] == b); } assert(p[data.length] == 0x58); // pop EAX } /****************************************************/ void test5012() { void bar() {} asm { mov EAX, bar; } } /****************************************************/ int main() { printf("Testing iasm.d\n"); test1(); test2(); test3(); test4(); version (OSX) { } else { test5(); test6(); test7(); test8(); test9(); test10(); test11(); test12(); test13(); test14(); test15(); //test16(); // add this one from \cbx\test\iasm.c ? test17(); test18(); test19(); //test20(); test21(); test22(); test23(); test24(); test25(); test26(); test27(); test28(); test29(); test30(); test31(); test32(); test33(); test34(); test35(); test36(); test37(); test38(); test39(); test40(); test41(); test42(); test43(); test44(); test45(); test46(); test47(); test48(); test49(); test50(); //Test51 test52(); test53(); test54(); test55(); test56(); test57(); test58(); test59(); test60(); test9866(); } printf("Success\n"); return 0; } } else { int main() { return 0; } }
D
/Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/RamonEvandro.build/Debug-iphonesimulator/RamonEvandro.build/Objects-normal/x86_64/BuyListViewController.o : /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/StateMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/Validate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/AppDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductTableViewCell.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BaseViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/TotalViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyTabBarViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/SettingsViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/CreateProductViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/EmptyDataSet_Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet_Swift-Swift.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/module.modulemap /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/RamonEvandro.build/Debug-iphonesimulator/RamonEvandro.build/Objects-normal/x86_64/BuyListViewController~partial.swiftmodule : /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/StateMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/Validate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/AppDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductTableViewCell.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BaseViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/TotalViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyTabBarViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/SettingsViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/CreateProductViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/EmptyDataSet_Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet_Swift-Swift.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/module.modulemap /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Intermediates.noindex/RamonEvandro.build/Debug-iphonesimulator/RamonEvandro.build/Objects-normal/x86_64/BuyListViewController~partial.swiftdoc : /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/StateMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductMO.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/Validate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/AppDelegate.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/ProductTableViewCell.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BaseViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/TotalViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyTabBarViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/SettingsViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/CreateProductViewController.swift /Users/ramonhonorio/workspace/ios/fiap/BuyList/BuyList/BuyListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/EmptyDataSet_Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet-Swift-umbrella.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Headers/EmptyDataSet_Swift-Swift.h /Users/ramonhonorio/workspace/ios/fiap/BuyList/DerivedData/BuyList/Build/Products/Debug-iphonesimulator/EmptyDataSet-Swift/EmptyDataSet_Swift.framework/Modules/module.modulemap
D
module mixin_utilities; /*********************************** * Borrowed from BindBC.SFML - Created by mdparker * * Original source: * https://github.com/BindBC/bindbc-sfml/blob/40b08ffa045a139585720a113b619d4357cd89c2/source/bindbc/sfml/config.d#L46 */ enum expandEnum(EnumType, string fqnEnumType = EnumType.stringof) = (){ string expandEnum = "enum {"; foreach(m;__traits(allMembers, EnumType)) { expandEnum ~= m ~ " = " ~ fqnEnumType ~ "." ~ m ~ ","; } expandEnum ~= "}"; return expandEnum; }();
D
// This source code is in the public domain. /* Diagram: MyMenuBar FileMenuHeader FileMenu ExtraLargeCheckMenuItem FancyCheckMenuItem FortifiedCheckMenuItem Soft&FluffyCheckMenuItem Exit */ import std.stdio; import gtk.MainWindow; import gtk.Box; import gtk.Main; import gtk.Menu; import gtk.MenuBar; import gtk.MenuItem; import gtk.CheckMenuItem; import gtk.Widget; import gdk.Event; void main(string[] args) { TestRigWindow testRigWindow; Main.init(args); testRigWindow = new TestRigWindow(); Main.run(); } // main() class TestRigWindow : MainWindow { string title = "CheckMenuItems - Multiple"; ObservedFeaturesList observedList; this() { super(title); setDefaultSize(640, 480); addOnDestroy(&quitApp); observedList = new ObservedFeaturesList(); AppBox appBox = new AppBox(observedList); add(appBox); showAll(); } // this() void quitApp(Widget w) { observedList.listFeatures(); Main.quit(); } // quitApp() } // testRigWindow class AppBox : Box { int padding = 10; MyMenuBar menuBar; this(ObservedFeaturesList extObservedList) { super(Orientation.VERTICAL, padding); menuBar = new MyMenuBar(extObservedList); packStart(menuBar, false, false, 0); } // this() } // class AppBox class MyMenuBar : MenuBar { FileMenuHeader fileMenuHeader; this(ObservedFeaturesList extObservedList) { super(); fileMenuHeader = new FileMenuHeader(extObservedList); append(fileMenuHeader); } // this() } // class MyMenuBar class FileMenuHeader : MenuItem { string headerTitle = "File"; FileMenu fileMenu; this(ObservedFeaturesList extObservedList) { super(headerTitle); fileMenu = new FileMenu(extObservedList); setSubmenu(fileMenu); } // this() } // class FileMenu class FileMenu : Menu { FeatureCheckMenuItem[] featureItemArray; FeatureCheckMenuItem featureItem; ExitItem exitItem; this(ObservedFeaturesList extObservedList) { super(); foreach(itemKey, itemValue; extObservedList.features) { featureItem = new FeatureCheckMenuItem(extObservedList, itemKey); featureItemArray ~= featureItem; append(featureItem); } exitItem = new ExitItem(extObservedList); append(exitItem); } // this() } // class FileMenu class FeatureCheckMenuItem : CheckMenuItem { string labelText; ObservedFeaturesList observedList; this(ObservedFeaturesList extObservedList, string extLabelText) { labelText = extLabelText; super(labelText); observedList = extObservedList; addOnToggled(&toggleFeature); setActive(observedList.getFeature(labelText)); } // this() void toggleFeature(CheckMenuItem mi) { if(getActive() == true) { observedList.setFeature(labelText, true); } else { observedList.setFeature(labelText, false); } } // toggleFeature() } // class FeatureCheckMenuItem class ExitItem : MenuItem { string exitLabel = "Exit"; ObservedFeaturesList observedList; this(ObservedFeaturesList extObservedList) { super(exitLabel); addOnActivate(&exit); observedList = extObservedList; } // this() void exit(MenuItem mi) { observedList.listFeatures(); Main.quit(); } // exit() } // class FileMenuItem class ObservedFeaturesList { bool[string] features; this() { features = ["Fancy" : true, "Fortified" : false, "Extra Large" : false, "Soft & Fluffy" : true]; } // this() void setFeature(string featureName, bool state) { features[featureName] = state; } // setFeature() bool getFeature(string featureName) { return(features[featureName]); } // getFeature() void listFeatures() { foreach(name, feature; features) { writeln(name, " = ", feature); } } // listFeatures() } // class ObservedFeaturesList
D
/* Copyright (c) 2011-2020 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * Copyright: Timur Gafarov 2011-2020. * License: $(LINK2 boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Timur Gafarov */ deprecated("use std.digest instead") module dlib.coding.hash; public: pure int stringHash(string key, int tableSize = 5381) { int hashVal = 0; for (int x = 0; x < key.length; ++x) { hashVal ^= (hashVal << 5) + (hashVal >> 2) + key[x]; } return hashVal % tableSize; } unittest { int h = stringHash("Hello!"); assert(h == -4720); }
D
void main() { int[] data1 = [1,2,3]; long[] data2; void[] arr = data1; // OK, int[] implicit converts to void[]. assert(data1.length == 3); assert(arr.length == 12); // length is implicitly converted to bytes. //data1 = arr; // Illegal: void[] does not implicitly // convert to int[]. int[] data3 = cast(int[]) arr; // OK, can convert with explicit cast. data2 = cast(long[]) arr; // Runtime error: long.sizeof == 8, which // does not divide arr.length, which is 12 // bytes. byte[2] x; int[2] y; void[2] a = x; // OK, lengths match void[2] b = y; // Error: int[2] is 8 bytes long, doesn't fit in 2 bytes. }
D
module troubadour.midi; public { import troubadour.midi.clock; import troubadour.midi.file; import troubadour.midi.sequencer; }
D
/Users/ben/Documents/w/code/project/learn/learn-cargo/target/rls/debug/deps/cargo_hello-e0fb2fb01c397911.rmeta: src/main.rs /Users/ben/Documents/w/code/project/learn/learn-cargo/target/rls/debug/deps/cargo_hello-e0fb2fb01c397911.d: src/main.rs src/main.rs:
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1986-1998 by Symantec * Copyright (C) 2000-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: Distributed under the Boost Software License, Version 1.0. * http://www.boost.org/LICENSE_1_0.txt * Source: https://github.com/dlang/dmd/blob/master/src/dmd/backend/gother.c * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/gother.c */ module dmd.backend.gother; version (SCPP) version = COMPILE; version (MARS) version = COMPILE; version (COMPILE) { import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.time; import dmd.backend.cc; import dmd.backend.cdef; import dmd.backend.code_x86; import dmd.backend.oper; import dmd.backend.global; import dmd.backend.goh; import dmd.backend.el; import dmd.backend.outbuf; import dmd.backend.ty; import dmd.backend.type; import dmd.backend.barray; import dmd.backend.dlist; import dmd.backend.dvec; char symbol_isintab(Symbol *s) { return sytab[s.Sclass] & SCSS; } extern (C++): version (SCPP) import parser; version (MARS) import dmd.backend.errors; /**********************************************************************/ // Lists to help identify ranges of variables struct Elemdata { Elemdata *next; // linked list elem *pelem; // the elem in question block *pblock; // which block it's in list_t rdlist; // list of definition elems for *pelem static Elemdata *ctor(elem *e,block *b,list_t rd) { Elemdata* ed = cast(Elemdata *) calloc(1, Elemdata.sizeof); assert(ed); ed.pelem = e; ed.pblock = b; ed.rdlist = rd; return ed; } /******************************** * Find `e` in Elemdata list. * Params: * e = elem to find * Returns: * Elemdata entry if found, * null if not */ Elemdata* find(elem *e) { Elemdata* edl = &this; for (; edl; edl = edl.next) { if (edl.pelem == e) break; } return edl; } } /***************** * Free list of Elemdata's. */ private void elemdatafree(Elemdata **plist) { Elemdata *eln; for (Elemdata *el = *plist; el; el = eln) { eln = el.next; list_free(&el.rdlist); free(el); } *plist = null; } private __gshared { Elemdata *eqeqlist = null; // list of Elemdata's of OPeqeq & OPne elems Elemdata *rellist = null; // list of Elemdata's of relop elems Elemdata *inclist = null; // list of Elemdata's of increment elems } /*************************** Constant Propagation ***************************/ /************************** * Constant propagation. * Also detects use of variable before any possible def. */ void constprop() { rd_compute(); intranges(); // compute integer ranges eqeqranges(); // see if we can eliminate some relationals elemdatafree(&eqeqlist); elemdatafree(&rellist); elemdatafree(&inclist); } /************************************ * Compute reaching definitions. * Note: RD vectors are destroyed by this. */ private __gshared block *thisblock; private void rd_compute() { if (debugc) printf("constprop()\n"); assert(dfo); flowrd(); /* compute reaching definitions (rd) */ if (go.defnod.length == 0) /* if no reaching defs */ return; assert(rellist == null && inclist == null && eqeqlist == null); block_clearvisit(); foreach (b; dfo[]) // for each block { switch (b.BC) { case BCjcatch: case BC_finally: case BC_lpad: case BCasm: case BCcatch: block_visit(b); break; default: break; } } foreach (i, b; dfo[]) // for each block { thisblock = b; //printf("block %d Bin ",i); vec_println(b.Binrd); //printf(" Bout "); vec_println(b.Boutrd); if (b.Bflags & BFLvisited) continue; // not reliable for this block if (b.Belem) { conpropwalk(b.Belem,b.Binrd); debug if (!(vec_equal(b.Binrd,b.Boutrd))) { int j; printf("block %d Binrd ",i); vec_println(b.Binrd); printf(" Boutrd "); vec_println(b.Boutrd); WReqn(b.Belem); printf("\n"); vec_xorass(b.Binrd,b.Boutrd); j = cast(int)vec_index(0,b.Binrd); WReqn(go.defnod[j].DNelem); printf("\n"); } assert(vec_equal(b.Binrd,b.Boutrd)); } } } /*************************** * Support routine for constprop(). * Visit each elem in order * If elem is a reference to a variable, and * all the reaching defs of that variable are * defining it to be a specific constant, * Replace reference with that constant. * Generate warning if no reaching defs for a * variable, and the variable is on the stack * or in a register. * If elem is an assignment or function call or OPasm * Modify vector of reaching defs. */ private void conpropwalk(elem *n,vec_t IN) { uint op; Elemdata *pdata; vec_t L,R; elem *t; assert(n && IN); //printf("conpropwalk()\n"),elem_print(n); op = n.Eoper; if (op == OPcolon || op == OPcolon2) { L = vec_clone(IN); switch (el_returns(n.EV.E1) * 2 | el_returns(n.EV.E2)) { case 3: // E1 and E2 return conpropwalk(n.EV.E1,L); conpropwalk(n.EV.E2,IN); vec_orass(IN,L); // IN = L | R break; case 2: // E1 returns conpropwalk(n.EV.E1,IN); conpropwalk(n.EV.E2,L); break; case 1: // E2 returns conpropwalk(n.EV.E1,L); conpropwalk(n.EV.E2,IN); break; case 0: // neither returns conpropwalk(n.EV.E1,L); vec_copy(L,IN); conpropwalk(n.EV.E2,L); break; default: break; } vec_free(L); } else if (op == OPandand || op == OPoror) { conpropwalk(n.EV.E1,IN); R = vec_clone(IN); conpropwalk(n.EV.E2,R); if (el_returns(n.EV.E2)) vec_orass(IN,R); // IN |= R vec_free(R); } else if (OTunary(op)) goto L3; else if (ERTOL(n)) { conpropwalk(n.EV.E2,IN); L3: t = n.EV.E1; if (OTassign(op)) { if (t.Eoper == OPvar) { // Note that the following ignores OPnegass if (OTopeq(op) && sytab[t.EV.Vsym.Sclass] & SCRD) { elem *e; list_t rdl; rdl = listrds(IN,t,null); if (!(config.flags & CFGnowarning)) // if warnings are enabled chkrd(t,rdl); e = chkprop(t,rdl); if (e) { // Replace (t op= exp) with (t = e op exp) e = el_copytree(e); e.Ety = t.Ety; n.EV.E2 = el_bin(opeqtoop(op),n.Ety,e,n.EV.E2); n.Eoper = OPeq; } list_free(&rdl); } } else conpropwalk(t,IN); } else conpropwalk(t,IN); } else if (OTbinary(op)) { if (OTassign(op)) { t = n.EV.E1; if (t.Eoper != OPvar) conpropwalk(t,IN); } else conpropwalk(n.EV.E1,IN); conpropwalk(n.EV.E2,IN); } // Collect data for subsequent optimizations if (OTbinary(op) && n.EV.E1.Eoper == OPvar && n.EV.E2.Eoper == OPconst) { switch (op) { case OPlt: case OPgt: case OPle: case OPge: // Collect compare elems and their rd's in the rellist list if (tyintegral(n.EV.E1.Ety) && tyintegral(n.EV.E2.Ety) ) { //printf("appending to rellist\n"); elem_print(n); //printf("\trellist IN: "); vec_print(IN); printf("\n"); pdata = Elemdata.ctor(n,thisblock,listrds(IN,n.EV.E1,null)); pdata.next = rellist; rellist = pdata; } break; case OPaddass: case OPminass: case OPpostinc: case OPpostdec: // Collect increment elems and their rd's in the inclist list if (tyintegral(n.EV.E1.Ety)) { //printf("appending to inclist\n"); elem_print(n); //printf("\tinclist IN: "); vec_print(IN); printf("\n"); pdata = Elemdata.ctor(n,thisblock,listrds(IN,n.EV.E1,null)); pdata.next = inclist; inclist = pdata; } break; case OPne: case OPeqeq: // Collect compare elems and their rd's in the rellist list if (tyintegral(n.EV.E1.Ety)) { //printf("appending to eqeqlist\n"); elem_print(n); pdata = Elemdata.ctor(n,thisblock,listrds(IN,n.EV.E1,null)); pdata.next = eqeqlist; eqeqlist = pdata; } break; default: break; } } if (OTdef(op)) /* if definition elem */ updaterd(n,IN,null); /* then update IN vector */ /* now we get to the part that checks to see if we can */ /* propagate a constant. */ if (op == OPvar && sytab[n.EV.Vsym.Sclass] & SCRD) { list_t rdl; //printf("const prop: %s\n", n.EV.Vsym.Sident); rdl = listrds(IN,n,null); if (!(config.flags & CFGnowarning)) // if warnings are enabled chkrd(n,rdl); elem *e = chkprop(n,rdl); if (e) { tym_t nty; nty = n.Ety; el_copy(n,e); n.Ety = nty; // retain original type } list_free(&rdl); } } /****************************** * Give error if there are no reaching defs for variable v. */ private void chkrd(elem *n,list_t rdlist) { Symbol *sv; int unambig; sv = n.EV.Vsym; assert(sytab[sv.Sclass] & SCRD); if (sv.Sflags & SFLnord) // if already printed a warning return; if (sv.ty() & mTYvolatile) return; unambig = sv.Sflags & SFLunambig; foreach (l; ListRange(rdlist)) { elem *d = cast(elem *) list_ptr(l); elem_debug(d); if (d.Eoper == OPasm) /* OPasm elems ruin everything */ return; if (OTassign(d.Eoper)) { if (d.EV.E1.Eoper == OPvar) { if (d.EV.E1.EV.Vsym == sv) return; } else if (!unambig) return; } else { if (!unambig) return; } } // If there are any asm blocks, don't print the message foreach (b; dfo[]) if (b.BC == BCasm) return; // If variable contains bit fields, don't print message (because if // bit field is the first set, then we get a spurious warning). // STL uses 0 sized structs to transmit type information, so // don't complain about them being used before set. if (type_struct(sv.Stype)) { if (sv.Stype.Ttag.Sstruct.Sflags & (STRbitfields | STR0size)) return; } static if (0) { // If variable is zero length static array, don't print message. // BUG: Suppress error even if variable is initialized with void. if (sv.Stype.Tty == TYarray && sv.Stype.Tdim == 0) { printf("sv.Sident = %s\n", sv.Sident); return; } } version (SCPP) { { Outbuffer buf; char *p2; type_tostring(&buf, sv.Stype); buf.writeByte(' '); buf.write(sv.Sident.ptr); p2 = buf.toString(); warerr(WM.WM_used_b4_set, p2); // variable used before set } } version (MARS) { /* Watch out for: void test() { void[0] x; auto y = x; } */ if (type_size(sv.Stype) != 0) { error(n.Esrcpos.Sfilename, n.Esrcpos.Slinnum, n.Esrcpos.Scharnum, "variable %s used before set", sv.Sident.ptr); } } sv.Sflags |= SFLnord; // no redundant messages //elem_print(n); } /********************************** * Look through the vector of reaching defs (IN) to see * if all defs of n are of the same constant. If so, replace * n with that constant. * Bit fields are gross, so don't propagate anything with assignments * to a bit field. * Note the flaw in the reaching def vector. There is currently no way * to detect RDs from when the function is invoked, i.e. RDs for parameters, * statics and globals. This could be fixed by adding dummy defs for * them before startblock, but we just kludge it and don't propagate * stuff for them. * Returns: * null do not propagate constant * e constant elem that we should replace n with */ private elem * chkprop(elem *n,list_t rdlist) { elem *foundelem = null; int unambig; Symbol *sv; tym_t nty; uint nsize; targ_size_t noff; //printf("checkprop: "); WReqn(n); printf("\n"); assert(n && n.Eoper == OPvar); elem_debug(n); sv = n.EV.Vsym; assert(sytab[sv.Sclass] & SCRD); nty = n.Ety; if (!tyscalar(nty)) goto noprop; nsize = cast(uint)size(nty); noff = n.EV.Voffset; unambig = sv.Sflags & SFLunambig; foreach (l; ListRange(rdlist)) { elem *d = cast(elem *) list_ptr(l); elem_debug(d); //printf("\trd: "); WReqn(d); printf("\n"); if (d.Eoper == OPasm) /* OPasm elems ruin everything */ goto noprop; // Runs afoul of Buzilla 4506 /*if (OTassign(d.Eoper) && EBIN(d))*/ // if assignment elem if (OTassign(d.Eoper)) // if assignment elem { elem *t = d.EV.E1; if (t.Eoper == OPvar) { assert(t.EV.Vsym == sv); if (d.Eoper == OPstreq || !tyscalar(t.Ety)) goto noprop; // not worth bothering with these cases if (d.Eoper == OPnegass) goto noprop; // don't bother with this case, either /* Everything must match or we must skip this variable */ /* (in case of assigning to overlapping unions, etc.) */ if (t.EV.Voffset != noff || /* If sizes match, we are ok */ size(t.Ety) != nsize && !(d.EV.E2.Eoper == OPconst && size(t.Ety) > nsize && !tyfloating(d.EV.E2.Ety))) goto noprop; } else { if (unambig) /* unambiguous assignments only */ continue; goto noprop; } if (d.Eoper != OPeq) goto noprop; } else /* must be a call elem */ { if (unambig) continue; else goto noprop; /* could be affected */ } if (d.EV.E2.Eoper == OPconst || d.EV.E2.Eoper == OPrelconst) { if (foundelem) /* already found one */ { /* then they must be the same */ if (!el_match(foundelem,d.EV.E2)) goto noprop; } else /* else this is it */ foundelem = d.EV.E2; } else goto noprop; } if (foundelem) /* if we got one */ { /* replace n with foundelem */ debug if (debugc) { printf("const prop ("); WReqn(n); printf(" replaced by "); WReqn(foundelem); printf("), %p to %p\n",foundelem,n); } go.changes++; return foundelem; } noprop: return null; } /*********************************** * Find all the reaching defs of OPvar e. * Put into a linked list, or just set the RD bits in a vector. * */ extern (C) list_t listrds(vec_t IN,elem *e,vec_t f) { uint i; uint unambig; Symbol *s; uint nsize; targ_size_t noff; tym_t ty; //printf("listrds: "); WReqn(e); printf("\n"); assert(IN); list_t rdlist = null; assert(e.Eoper == OPvar); s = e.EV.Vsym; ty = e.Ety; if (tyscalar(ty)) nsize = cast(uint)size(ty); noff = e.EV.Voffset; unambig = s.Sflags & SFLunambig; if (f) vec_clear(f); for (i = 0; (i = cast(uint) vec_index(i, IN)) < go.defnod.length; ++i) { elem *d = go.defnod[i].DNelem; //printf("\tlooking at "); WReqn(d); printf("\n"); uint op = d.Eoper; if (op == OPasm) // assume ASM elems define everything goto listit; if (OTassign(op)) { elem *t = d.EV.E1; if (t.Eoper == OPvar && t.EV.Vsym == s) { if (op == OPstreq) goto listit; if (!tyscalar(ty) || !tyscalar(t.Ety)) goto listit; // If t does not overlap e, then it doesn't affect things if (noff + nsize > t.EV.Voffset && t.EV.Voffset + size(t.Ety) > noff) goto listit; // it's an assignment to s } else if (t.Eoper != OPvar && !unambig) goto listit; /* assignment through pointer */ } else if (!unambig) goto listit; /* probably a function call */ continue; listit: //printf("\tlisting "); WReqn(d); printf("\n"); if (f) vec_setbit(i,f); else list_prepend(&rdlist,d); // add the definition node } return rdlist; } /******************************************** * Look at reaching defs for expressions of the form (v == c) and (v != c). * If all definitions of v are c or are not c, then we can replace the * expression with 1 or 0. */ private void eqeqranges() { Symbol *v; int sz; elem *e; targ_llong c; int result; for (Elemdata *rel = eqeqlist; rel; rel = rel.next) { e = rel.pelem; v = e.EV.E1.EV.Vsym; if (!(sytab[v.Sclass] & SCRD)) continue; sz = tysize(e.EV.E1.Ety); c = el_tolong(e.EV.E2); result = -1; // result not known yet foreach (rdl; ListRange(rel.rdlist)) { elem *erd = cast(elem *) list_ptr(rdl); elem *erd1; int szrd; int tmp; elem_debug(erd); if (erd.Eoper != OPeq || (erd1 = erd.EV.E1).Eoper != OPvar || erd.EV.E2.Eoper != OPconst ) goto L1; szrd = tysize(erd1.Ety); if (erd1.EV.Voffset + szrd <= e.EV.E1.EV.Voffset || e.EV.E1.EV.Voffset + sz <= erd1.EV.Voffset) continue; // doesn't affect us, skip it if (szrd != sz || e.EV.E1.EV.Voffset != erd1.EV.Voffset) goto L1; // overlapping - forget it tmp = (c == el_tolong(erd.EV.E2)); if (result == -1) result = tmp; else if (result != tmp) goto L1; } if (result >= 0) { //printf("replacing with %d\n",result); el_free(e.EV.E1); el_free(e.EV.E2); e.EV.Vint = (e.Eoper == OPeqeq) ? result : result ^ 1; e.Eoper = OPconst; } L1: } } /****************************** * Examine rellist and inclist to determine if any of the signed compare * elems in rellist can be replace by unsigned compares. * rellist is list of relationals in function. * inclist is list of increment elems in function. */ private void intranges() { block *rb; block *ib; Symbol *v; elem *rdeq; elem *rdinc; uint incop,relatop; targ_llong initial,increment,final_; if (debugc) printf("intranges()\n"); for (Elemdata *rel = rellist; rel; rel = rel.next) { rb = rel.pblock; //printf("rel.pelem: "); WReqn(rel.pelem); printf("\n"); assert(rel.pelem.EV.E1.Eoper == OPvar); v = rel.pelem.EV.E1.EV.Vsym; // RD info is only reliable for registers and autos if (!(sytab[v.Sclass] & SCRD)) continue; /* Look for two rd's: an = and an increment */ if (list_nitems(rel.rdlist) != 2) continue; rdeq = list_elem(list_next(rel.rdlist)); if (rdeq.Eoper != OPeq) { rdinc = rdeq; rdeq = list_elem(rel.rdlist); if (rdeq.Eoper != OPeq) continue; } else rdinc = list_elem(rel.rdlist); static if (0) { printf("\neq: "); WReqn(rdeq); printf("\n"); printf("rel: "); WReqn(rel.pelem); printf("\n"); printf("inc: "); WReqn(rdinc); printf("\n"); } incop = rdinc.Eoper; if (!OTpost(incop) && incop != OPaddass && incop != OPminass) continue; /* lvalues should be unambiguous defs */ if (rdeq.EV.E1.Eoper != OPvar || rdinc.EV.E1.Eoper != OPvar) continue; /* rvalues should be constants */ if (rdeq.EV.E2.Eoper != OPconst || rdinc.EV.E2.Eoper != OPconst) continue; /* Ensure that the only defs reaching the increment elem (rdinc) */ /* are rdeq and rdinc. */ for (Elemdata *iel = inclist; true; iel = iel.next) { elem *rd1; elem *rd2; if (!iel) goto nextrel; ib = iel.pblock; if (iel.pelem != rdinc) continue; /* not our increment elem */ if (list_nitems(iel.rdlist) != 2) { //printf("!= 2\n"); goto nextrel; } rd1 = list_elem(iel.rdlist); rd2 = list_elem(list_next(iel.rdlist)); /* The rd's for the relational elem (rdeq,rdinc) must be */ /* the same as the rd's for tne increment elem (rd1,rd2). */ if (rd1 == rdeq && rd2 == rdinc || rd1 == rdinc && rd2 == rdeq) break; } // Check that all paths from rdinc to rdinc must pass through rdrel { int i; // ib: block of increment // rb: block of relational i = loopcheck(ib,ib,rb); block_clearvisit(); if (i) continue; } /* Gather initial, increment, and final values for loop */ initial = el_tolong(rdeq.EV.E2); increment = el_tolong(rdinc.EV.E2); if (incop == OPpostdec || incop == OPminass) increment = -increment; relatop = rel.pelem.Eoper; final_ = el_tolong(rel.pelem.EV.E2); //printf("initial = %d, increment = %d, final_ = %d\n",initial,increment,final_); /* Determine if we can make the relational an unsigned */ if (initial >= 0) { if (final_ >= initial) { if (increment > 0 && ((final_ - initial) % increment) == 0) goto makeuns; } else if (final_ >= 0) { /* 0 <= final_ < initial */ if (increment < 0 && ((final_ - initial) % increment) == 0 && !(final_ + increment < 0 && (relatop == OPge || relatop == OPlt) ) ) { makeuns: if (!tyuns(rel.pelem.EV.E2.Ety)) { rel.pelem.EV.E2.Ety = touns(rel.pelem.EV.E2.Ety); rel.pelem.Nflags |= NFLtouns; debug if (debugc) { WReqn(rel.pelem); printf(" made unsigned, initial = %lld, increment = %lld," ~ " final_ = %lld\n",cast(long)initial,cast(long)increment,cast(long)final_); } go.changes++; } static if (0) { // Eliminate loop if it is empty if (relatop == OPlt && rb.BC == BCiftrue && list_block(rb.Bsucc) == rb && rb.Belem.Eoper == OPcomma && rb.Belem.EV.E1 == rdinc && rb.Belem.EV.E2 == rel.pelem ) { rel.pelem.Eoper = OPeq; rel.pelem.Ety = rel.pelem.EV.E1.Ety; rb.BC = BCgoto; list_subtract(&rb.Bsucc,rb); list_subtract(&rb.Bpred,rb); debug if (debugc) { WReqn(rel.pelem); printf(" eliminated loop\n"); } go.changes++; } } } } } nextrel: } } /****************************** * Look for initialization and increment expressions in loop. * Very similar to intranges(). * Params: * rellist = list of relationals in function * inclist = list of increment elems in function. * erel = loop compare expression of the form (v < c) * rdeq = set to loop initialization of v * rdinc = set to loop increment of v * Returns: * false if cannot find rdeq or rdinc */ private bool returnResult(bool result) { elemdatafree(&eqeqlist); elemdatafree(&rellist); elemdatafree(&inclist); return result; } bool findloopparameters(elem* erel, ref elem* rdeq, ref elem* rdinc) { if (debugc) printf("findloopparameters()\n"); const bool log = false; assert(erel.EV.E1.Eoper == OPvar); Symbol* v = erel.EV.E1.EV.Vsym; // RD info is only reliable for registers and autos if (!(sytab[v.Sclass] & SCRD)) return false; rd_compute(); // compute rellist, inclist, eqeqlist /* Find `erel` in `rellist` */ Elemdata* rel = rellist.find(erel); if (!rel) { if (log) printf("\trel not found\n"); return returnResult(false); } block* rb = rel.pblock; //printf("rel.pelem: "); WReqn(rel.pelem); printf("\n"); // Look for one reaching definition: an increment if (list_nitems(rel.rdlist) != 1) { if (log) printf("\tnitems = %d\n", list_nitems(rel.rdlist)); return returnResult(false); } rdinc = list_elem(rel.rdlist); static if (0) { printf("\neq: "); WReqn(rdeq); printf("\n"); printf("rel: "); WReqn(rel.pelem); printf("\n"); printf("inc: "); WReqn(rdinc); printf("\n"); } uint incop = rdinc.Eoper; if (!OTpost(incop) && incop != OPaddass && incop != OPminass) { if (log) printf("\tnot += or -=\n"); return returnResult(false); } Elemdata* iel = inclist.find(rdinc); if (!iel) { if (log) printf("\trdinc not found\n"); return returnResult(false); } /* The increment should have two reaching definitions: * the initialization * the increment itself * We already have the increment (as rdinc), but need the initialization (rdeq) */ if (list_nitems(iel.rdlist) != 2) { if (log) printf("nitems != 2\n"); return returnResult(false); } elem *rd1 = list_elem(iel.rdlist); elem *rd2 = list_elem(list_next(iel.rdlist)); if (rd1 == rdinc) rdeq = rd2; else if (rd2 == rdinc) rdeq = rd1; else { if (log) printf("\tnot (rdeq,rdinc)\n"); return returnResult(false); } // lvalues should be unambiguous defs if (rdeq.Eoper != OPeq || rdeq.EV.E1.Eoper != OPvar || rdinc.EV.E1.Eoper != OPvar) { if (log) printf("\tnot OPvar\n"); return returnResult(false); } // rvalues should be constants if (rdeq.EV.E2.Eoper != OPconst || rdinc.EV.E2.Eoper != OPconst) { if (log) printf("\tnot OPconst\n"); return returnResult(false); } /* Check that all paths from rdinc to rdinc must pass through rdrel * iel.pblock = block of increment * rel.pblock = block of relational */ int i = loopcheck(iel.pblock,iel.pblock,rel.pblock); block_clearvisit(); if (i) { if (log) printf("\tnot loopcheck()\n"); return returnResult(false); } return returnResult(true); } /*********************** * Return true if there is a path from start to inc without * passing through rel. */ private int loopcheck(block *start,block *inc,block *rel) { if (!(start.Bflags & BFLvisited)) { start.Bflags |= BFLvisited; /* guarantee eventual termination */ foreach (list; ListRange(start.Bsucc)) { block *b = cast(block *) list_ptr(list); if (b != rel && (b == inc || loopcheck(b,inc,rel))) return true; } } return false; } /**************************** * Do copy propagation. * Copy propagation elems are of the form OPvar=OPvar, and they are * in go.expnod[]. */ void copyprop() { out_regcand(&globsym); if (debugc) printf("copyprop()\n"); assert(dfo); Louter: while (1) { flowcp(); /* compute available copy statements */ if (go.exptop <= 1) return; // none available static if (0) { foreach (i; 1 .. go.exptop) { printf("go.expnod[%d] = (",i); WReqn(go.expnod[i]); printf(");\n"); } } foreach (i, b; dfo[]) // for each block { if (b.Belem) { bool recalc; static if (0) { printf("B%d, elem (",i); WReqn(b.Belem); printf(")\nBin "); vec_println(b.Bin); recalc = copyPropWalk(b.Belem,b.Bin); printf("Bino "); vec_println(b.Bin); printf("Bout "); vec_println(b.Bout); } else { recalc = copyPropWalk(b.Belem,b.Bin); } /*assert(vec_equal(b.Bin,b.Bout)); */ /* The previous assert() is correct except */ /* for the following case: */ /* a=b; d=a; a=b; */ /* The vectors don't match because the */ /* equations changed to: */ /* a=b; d=b; a=b; */ /* and the d=b copy elem now reaches the end */ /* of the block (the d=a elem didn't). */ if (recalc) continue Louter; } } return; } } /***************************** * Walk tree n, doing copy propagation as we go. * Keep IN up to date. * Params: * n = tree to walk & do copy propagation in * IN = vector of live copy expressions, updated as progress is made * Returns: * true if need to recalculate data flow equations and try again */ private bool copyPropWalk(elem *n,vec_t IN) { bool recalc = false; int nocp = 0; void cpwalk(elem* n, vec_t IN) { assert(n && IN); /*chkvecdim(go.exptop,0);*/ if (recalc) return; elem *t; const op = n.Eoper; if (op == OPcolon || op == OPcolon2) { vec_t L = vec_clone(IN); cpwalk(n.EV.E1,L); cpwalk(n.EV.E2,IN); vec_andass(IN,L); // IN = L & R vec_free(L); } else if (op == OPandand || op == OPoror) { cpwalk(n.EV.E1,IN); vec_t L = vec_clone(IN); cpwalk(n.EV.E2,L); vec_andass(IN,L); // IN = L & R vec_free(L); } else if (OTunary(op)) { t = n.EV.E1; if (OTassign(op)) { if (t.Eoper == OPind) cpwalk(t.EV.E1,IN); } else if (op == OPctor || op == OPdtor) { /* This kludge is necessary because in except_pop() * an el_match is done on the lvalue. If copy propagation * changes the OPctor but not the corresponding OPdtor, * then the match won't happen and except_pop() * will fail. */ nocp++; cpwalk(t,IN); nocp--; } else cpwalk(t,IN); } else if (OTassign(op)) { cpwalk(n.EV.E2,IN); t = n.EV.E1; if (t.Eoper == OPind) cpwalk(t,IN); else { debug if (t.Eoper != OPvar) elem_print(n); assert(t.Eoper == OPvar); } } else if (ERTOL(n)) { cpwalk(n.EV.E2,IN); cpwalk(n.EV.E1,IN); } else if (OTbinary(op)) { cpwalk(n.EV.E1,IN); cpwalk(n.EV.E2,IN); } if (OTdef(op)) // if definition elem { int ambig; /* true if ambiguous def */ ambig = !OTassign(op) || t.Eoper == OPind; uint i; for (i = 0; (i = cast(uint) vec_index(i, IN)) < go.exptop; ++i) // for each active copy elem { Symbol *v; if (op == OPasm) goto clr; /* If this elem could kill the lvalue or the rvalue, */ /* Clear bit in IN. */ v = go.expnod[i].EV.E1.EV.Vsym; if (ambig) { if (!(v.Sflags & SFLunambig)) goto clr; } else { if (v == t.EV.Vsym) goto clr; } v = go.expnod[i].EV.E2.EV.Vsym; if (ambig) { if (!(v.Sflags & SFLunambig)) goto clr; } else { if (v == t.EV.Vsym) goto clr; } continue; clr: /* this copy elem is not available */ vec_clearbit(i,IN); /* so remove it from the vector */ } /* foreach */ /* If this is a copy elem in go.expnod[] */ /* Set bit in IN. */ if ((op == OPeq || op == OPstreq) && n.EV.E1.Eoper == OPvar && n.EV.E2.Eoper == OPvar && n.Eexp) vec_setbit(n.Eexp,IN); } else if (op == OPvar && !nocp) // if reference to variable v { Symbol *v = n.EV.Vsym; //printf("Checking copyprop for '%s', ty=x%x\n",v.Sident,n.Ety); symbol_debug(v); const ty = n.Ety; uint sz = tysize(n.Ety); if (sz == -1 && !tyfunc(n.Ety)) sz = cast(uint)type_size(v.Stype); elem *foundelem = null; Symbol *f; for (uint i = 0; (i = cast(uint) vec_index(i, IN)) < go.exptop; ++i) // for all active copy elems { elem* c = go.expnod[i]; assert(c); uint csz = tysize(c.EV.E1.Ety); if (c.Eoper == OPstreq) csz = cast(uint)type_size(c.ET); assert(cast(int)csz >= 0); //printf("looking at: ("); WReqn(c); printf("), ty=x%x\n",c.EV.E1.Ety); /* Not only must symbol numbers match, but */ /* offsets too (in case of arrays) and sizes */ /* (in case of unions). */ if (v == c.EV.E1.EV.Vsym && n.EV.Voffset >= c.EV.E1.EV.Voffset && n.EV.Voffset + sz <= c.EV.E1.EV.Voffset + csz) { if (foundelem) { if (c.EV.E2.EV.Vsym != f) goto noprop; } else { foundelem = c; f = foundelem.EV.E2.EV.Vsym; } } } if (foundelem) /* if we can do the copy prop */ { debug if (debugc) { printf("Copyprop, from '%s'(%d) to '%s'(%d)\n", (v.Sident[0]) ? cast(char *)v.Sident.ptr : "temp".ptr, v.Ssymnum, (f.Sident[0]) ? cast(char *)f.Sident.ptr : "temp".ptr, f.Ssymnum); } type *nt = n.ET; targ_size_t noffset = n.EV.Voffset; el_copy(n,foundelem.EV.E2); n.Ety = ty; // retain original type n.ET = nt; n.EV.Voffset += noffset - foundelem.EV.E1.EV.Voffset; /* original => rewrite * v = f * g = v => g = f * f = x * d = g => d = f !!error * Therefore, if n appears as an rvalue in go.expnod[], then recalc */ for (size_t j = 1; j < go.exptop; ++j) { //printf("go.expnod[%d]: ", j); elem_print(go.expnod[j]); if (go.expnod[j].EV.E2 == n) { recalc = true; break; } } go.changes++; } //else printf("not found\n"); noprop: { } } } cpwalk(n, IN); return recalc; } /******************************** * Remove dead assignments. Those are assignments to a variable v * for which there are no subsequent uses of v. */ private __gshared { Barray!(elem*) assnod; /* array of pointers to asg elems */ vec_t ambigref; /* vector of assignment elems that */ /* are referenced when an ambiguous */ /* reference is done (as in *p or call) */ } void rmdeadass() { if (debugc) printf("rmdeadass()\n"); flowlv(); /* compute live variables */ foreach (b; dfo[]) // for each block b { if (!b.Belem) /* if no elems at all */ continue; if (b.Btry) // if in try-block guarded body continue; const assnum = numasg(b.Belem); // # of assignment elems if (assnum == 0) // if no assignment elems continue; assnod.setLength(assnum); // pre-allocate sufficient room vec_t DEAD = vec_calloc(assnum); vec_t POSS = vec_calloc(assnum); ambigref = vec_calloc(assnum); assnod.setLength(0); accumda(b.Belem,DEAD,POSS); // fill assnod[], compute DEAD and POSS assert(assnum == assnod.length); vec_free(ambigref); vec_orass(POSS,DEAD); /* POSS |= DEAD */ for (uint j = 0; (j = cast(uint) vec_index(j, POSS)) < assnum; ++j) // for each possible dead asg. { Symbol *v; /* v = target of assignment */ elem *n; elem *nv; n = assnod[j]; nv = n.EV.E1; v = nv.EV.Vsym; if (!symbol_isintab(v)) // not considered continue; //printf("assnod[%d]: ",j); WReqn(n); printf("\n"); //printf("\tPOSS\n"); /* If not positively dead but v is live on a */ /* successor to b, then v is live. */ //printf("\tDEAD=%d, live=%d\n",vec_testbit(j,DEAD),vec_testbit(v.Ssymnum,b.Boutlv)); if (!vec_testbit(j,DEAD) && vec_testbit(v.Ssymnum,b.Boutlv)) continue; /* volatile variables are not dead */ if ((v.ty() | nv.Ety) & mTYvolatile) continue; debug if (debugc) { printf("dead assignment ("); WReqn(n); if (vec_testbit(j,DEAD)) printf(") DEAD\n"); else printf(") Boutlv\n"); } elimass(n); go.changes++; } /* foreach */ vec_free(DEAD); vec_free(POSS); } /* for */ } /*************************** * Remove side effect of assignment elem. */ void elimass(elem *n) { elem *e1; switch (n.Eoper) { case OPvecsto: n.EV.E2.Eoper = OPcomma; goto case OPeq; case OPeq: case OPstreq: /* (V=e) => (random constant,e) */ /* Watch out for (a=b=c) stuff! */ /* Don't screw up assnod[]. */ n.Eoper = OPcomma; n.Ety |= n.EV.E2.Ety & (mTYconst | mTYvolatile | mTYimmutable | mTYshared | mTYfar ); n.EV.E1.Eoper = OPconst; break; /* Convert (V op= e) to (V op e) */ case OPaddass: case OPminass: case OPmulass: case OPdivass: case OPorass: case OPandass: case OPxorass: case OPmodass: case OPshlass: case OPshrass: case OPashrass: n.Eoper = cast(ubyte)opeqtoop(n.Eoper); break; case OPpostinc: /* (V i++ c) => V */ case OPpostdec: /* (V i-- c) => V */ e1 = n.EV.E1; el_free(n.EV.E2); el_copy(n,e1); el_free(e1); break; case OPnegass: n.Eoper = OPneg; break; case OPbtc: case OPbtr: case OPbts: n.Eoper = OPbt; break; case OPcmpxchg: n.Eoper = OPcomma; n.EV.E2.Eoper = OPcomma; break; default: assert(0); } } /************************ * Compute number of =,op=,i++,i--,--i,++i elems. * (Unambiguous assignments only. Ambiguous ones would always be live.) * Some compilers generate better code for ?: than if-then-else. */ private uint numasg(elem *e) { assert(e); if (OTassign(e.Eoper) && e.EV.E1.Eoper == OPvar) { e.Nflags |= NFLassign; return 1 + numasg(e.EV.E1) + (OTbinary(e.Eoper) ? numasg(e.EV.E2) : 0); } e.Nflags &= ~NFLassign; return OTunary(e.Eoper) ? numasg(e.EV.E1) : OTbinary(e.Eoper) ? numasg(e.EV.E1) + numasg(e.EV.E2) : 0; } /****************************** * Tree walk routine for rmdeadass(). * DEAD = assignments which are dead * POSS = assignments which are possibly dead * The algorithm is basically: * if we have an assignment to v, * for all defs of v in POSS * set corresponding bits in DEAD * set bit for this def in POSS * if we have a reference to v, * clear all bits in POSS that are refs of v */ private void accumda(elem *n,vec_t DEAD, vec_t POSS) { assert(n && DEAD && POSS); const op = n.Eoper; switch (op) { case OPcolon: case OPcolon2: { vec_t Pl = vec_clone(POSS); vec_t Pr = vec_clone(POSS); vec_t Dl = vec_calloc(vec_numbits(POSS)); vec_t Dr = vec_calloc(vec_numbits(POSS)); accumda(n.EV.E1,Dl,Pl); accumda(n.EV.E2,Dr,Pr); /* D |= P & (Dl & Dr) | ~P & (Dl | Dr) */ /* P = P & (Pl & Pr) | ~P & (Pl | Pr) */ /* = Pl & Pr | ~P & (Pl | Pr) */ const vecdim = cast(uint)vec_dim(DEAD); for (uint i = 0; i < vecdim; i++) { DEAD[i] |= (POSS[i] & Dl[i] & Dr[i]) | (~POSS[i] & (Dl[i] | Dr[i])); POSS[i] = (Pl[i] & Pr[i]) | (~POSS[i] & (Pl[i] | Pr[i])); } vec_free(Pl); vec_free(Pr); vec_free(Dl); vec_free(Dr); break; } case OPandand: case OPoror: { accumda(n.EV.E1,DEAD,POSS); // Substituting into the above equations Pl=P and Dl=0: // D |= Dr - P // P = Pr vec_t Pr = vec_clone(POSS); vec_t Dr = vec_calloc(vec_numbits(POSS)); accumda(n.EV.E2,Dr,Pr); vec_subass(Dr,POSS); vec_orass(DEAD,Dr); vec_copy(POSS,Pr); vec_free(Pr); vec_free(Dr); break; } case OPvar: { Symbol *v = n.EV.Vsym; targ_size_t voff = n.EV.Voffset; uint vsize = tysize(n.Ety); // We have a reference. Clear all bits in POSS that // could be referenced. foreach (const i; 0 .. cast(uint)assnod.length) { elem *ti = assnod[i].EV.E1; if (v == ti.EV.Vsym && ((vsize == -1 || tysize(ti.Ety) == -1) || // If symbol references overlap (voff + vsize > ti.EV.Voffset && ti.EV.Voffset + tysize(ti.Ety) > voff) ) ) { vec_clearbit(i,POSS); } } break; } case OPasm: // reference everything foreach (const i; 0 .. cast(uint)assnod.length) vec_clearbit(i,POSS); break; case OPbt: accumda(n.EV.E1,DEAD,POSS); accumda(n.EV.E2,DEAD,POSS); vec_subass(POSS,ambigref); // remove possibly refed break; case OPind: case OPucall: case OPucallns: case OPvp_fp: accumda(n.EV.E1,DEAD,POSS); vec_subass(POSS,ambigref); // remove possibly refed // assignments from list // of possibly dead ones break; case OPconst: break; case OPcall: case OPcallns: case OPmemcpy: case OPstrcpy: case OPmemset: accumda(n.EV.E2,DEAD,POSS); goto case OPstrlen; case OPstrlen: accumda(n.EV.E1,DEAD,POSS); vec_subass(POSS,ambigref); // remove possibly refed // assignments from list // of possibly dead ones break; case OPstrcat: case OPstrcmp: case OPmemcmp: accumda(n.EV.E1,DEAD,POSS); accumda(n.EV.E2,DEAD,POSS); vec_subass(POSS,ambigref); // remove possibly refed // assignments from list // of possibly dead ones break; default: if (OTassign(op)) { elem *t; if (ERTOL(n)) accumda(n.EV.E2,DEAD,POSS); t = n.EV.E1; // if not (v = expression) then gen refs of left tree if (op != OPeq && op != OPstreq) accumda(n.EV.E1,DEAD,POSS); else if (OTunary(t.Eoper)) // if (*e = expression) accumda(t.EV.E1,DEAD,POSS); else if (OTbinary(t.Eoper)) { accumda(t.EV.E1,DEAD,POSS); accumda(t.EV.E2,DEAD,POSS); } if (!ERTOL(n) && op != OPnegass) accumda(n.EV.E2,DEAD,POSS); // if unambiguous assignment, post all possibilities // to DEAD if ((op == OPeq || op == OPstreq) && t.Eoper == OPvar) { uint tsz = tysize(t.Ety); if (n.Eoper == OPstreq) tsz = cast(uint)type_size(n.ET); foreach (const i; 0 .. cast(uint)assnod.length) { elem *ti = assnod[i].EV.E1; uint tisz = tysize(ti.Ety); if (assnod[i].Eoper == OPstreq) tisz = cast(uint)type_size(assnod[i].ET); // There may be some problem with this next // statement with unions. if (ti.EV.Vsym == t.EV.Vsym && ti.EV.Voffset == t.EV.Voffset && tisz == tsz && !(t.Ety & mTYvolatile) && //t.EV.Vsym.Sflags & SFLunambig && vec_testbit(i,POSS)) { vec_setbit(i,DEAD); } } } // if assignment operator, post this def to POSS if (n.Nflags & NFLassign) { const i = cast(uint)assnod.length; vec_setbit(i,POSS); // if variable could be referenced by a pointer // or a function call, mark the assignment in // ambigref if (!(t.EV.Vsym.Sflags & SFLunambig)) { vec_setbit(i,ambigref); debug if (debugc) { printf("ambiguous lvalue: "); WReqn(n); printf("\n"); } } assnod.push(n); } } else if (OTrtol(op)) { accumda(n.EV.E2,DEAD,POSS); accumda(n.EV.E1,DEAD,POSS); } else if (OTbinary(op)) { accumda(n.EV.E1,DEAD,POSS); accumda(n.EV.E2,DEAD,POSS); } else if (OTunary(op)) accumda(n.EV.E1,DEAD,POSS); break; } } /*************************** * Mark all dead variables. Only worry about register candidates. * Compute live ranges for register candidates. * Be careful not to compute live ranges for members of structures (CLMOS). */ void deadvar() { assert(dfo); /* First, mark each candidate as dead. */ /* Initialize vectors for live ranges. */ for (SYMIDX i = 0; i < globsym.top; i++) { Symbol *s = globsym.tab[i]; if (s.Sflags & SFLunambig) { s.Sflags |= SFLdead; if (s.Sflags & GTregcand) { s.Srange = vec_realloc(s.Srange, maxblks); vec_clear(s.Srange); } } } /* Go through trees and "liven" each one we see. */ foreach (i, b; dfo[]) if (b.Belem) dvwalk(b.Belem,cast(uint)i); /* Compute live variables. Set bit for block in live range */ /* if variable is in the IN set for that block. */ flowlv(); /* compute live variables */ for (SYMIDX i = 0; i < globsym.top; i++) { if (globsym.tab[i].Srange /*&& globsym.tab[i].Sclass != CLMOS*/) foreach (j, b; dfo[]) if (vec_testbit(i,b.Binlv)) vec_setbit(cast(uint)j,globsym.tab[i].Srange); } /* Print results */ for (SYMIDX i = 0; i < globsym.top; i++) { char *p; Symbol *s = globsym.tab[i]; if (s.Sflags & SFLdead && s.Sclass != SCparameter && s.Sclass != SCregpar) s.Sflags &= ~GTregcand; // do not put dead variables in registers debug { p = cast(char *) s.Sident.ptr ; if (s.Sflags & SFLdead) if (debugc) printf("Symbol %d '%s' is dead\n",i,p); if (debugc && s.Srange /*&& s.Sclass != CLMOS*/) { printf("Live range for %d '%s': ",i,p); vec_println(s.Srange); } } } } /***************************** * Tree walk support routine for deadvar(). * Input: * n = elem to look at * i = block index */ private void dvwalk(elem *n,uint i) { for (; true; n = n.EV.E1) { assert(n); if (n.Eoper == OPvar || n.Eoper == OPrelconst) { Symbol *s = n.EV.Vsym; s.Sflags &= ~SFLdead; if (s.Srange) vec_setbit(i,s.Srange); } else if (!OTleaf(n.Eoper)) { if (OTbinary(n.Eoper)) dvwalk(n.EV.E2,i); continue; } break; } } /********************************* * Optimize very busy expressions (VBEs). */ private __gshared vec_t blockseen; /* which blocks we have visited */ void verybusyexp() { elem **pn; uint j,l; if (debugc) printf("verybusyexp()\n"); flowvbe(); /* compute VBEs */ if (go.exptop <= 1) return; /* if no VBEs */ assert(go.expblk.length); if (blockinit()) return; // can't handle ASM blocks compdom(); /* compute dominators */ /*setvecdim(go.exptop);*/ genkillae(); /* compute Bgen and Bkill for */ /* AEs */ /*chkvecdim(go.exptop,0);*/ blockseen = vec_calloc(dfo.length); /* Go backwards through dfo so that VBEs are evaluated as */ /* close as possible to where they are used. */ foreach_reverse (i, b; dfo[]) // for each block { int done; /* Do not hoist things to blocks that do not */ /* divide the flow of control. */ switch (b.BC) { case BCiftrue: case BCswitch: break; default: continue; } /* Find pointer to last statement in current elem */ pn = &(b.Belem); if (*pn) { while ((*pn).Eoper == OPcomma) pn = &((*pn).EV.E2); /* If last statement has side effects, */ /* don't do these VBEs. Potentially we */ /* could by assigning the result to */ /* a temporary, and rewriting the tree */ /* from (n) to (T=n,T) and installing */ /* the VBE as (T=n,VBE,T). This */ /* may not buy us very much, so we will */ /* just skip it for now. */ /*if (sideeffect(*pn))*/ if (!(*pn).Eexp) continue; } /* Eliminate all elems that have already been */ /* hoisted (indicated by go.expnod[] == 0). */ /* Constants are not useful as VBEs. */ /* Eliminate all elems from Bout that are not in blocks */ /* that are dominated by b. */ static if (0) { printf("block %d Bout = ",i); vec_println(b.Bout); } done = true; for (j = 0; (j = cast(uint) vec_index(j, b.Bout)) < go.exptop; ++j) { if (go.expnod[j] == null || !!OTleaf(go.expnod[j].Eoper) || !dom(b,go.expblk[j])) vec_clearbit(j,b.Bout); else done = false; } if (done) continue; /* Eliminate from Bout all elems that are killed by */ /* a block between b and that elem. */ static if (0) { printf("block %d Bout = ",i); vec_println(b.Bout); } for (j = 0; (j = cast(uint) vec_index(j, b.Bout)) < go.exptop; ++j) { vec_clear(blockseen); foreach (bl; ListRange(go.expblk[j].Bpred)) { if (killed(j,list_block(bl),b)) { vec_clearbit(j,b.Bout); break; } } } /* For each elem still left, make sure that there */ /* exists a path from b to j along which there is */ /* no other use of j (else it would be a CSE, and */ /* it would be a waste of time to hoist it). */ static if (0) { printf("block %d Bout = ",i); vec_println(b.Bout); } for (j = 0; (j = cast(uint) vec_index(j, b.Bout)) < go.exptop; ++j) { vec_clear(blockseen); foreach (bl; ListRange(go.expblk[j].Bpred)) { if (ispath(j,list_block(bl),b)) goto L2; } vec_clearbit(j,b.Bout); /* thar ain't no path */ L2: } /* For each elem that appears more than once in Bout */ /* We have a VBE. */ static if (0) { printf("block %d Bout = ",i); vec_println(b.Bout); } for (j = 0; (j = cast(uint) vec_index(j, b.Bout)) < go.exptop; ++j) { uint k; for (k = j + 1; k < go.exptop; k++) { if (vec_testbit(k,b.Bout) && el_match(go.expnod[j],go.expnod[k])) goto foundvbe; } continue; /* no VBE here */ foundvbe: /* we got one */ debug { if (debugc) { printf("VBE %d,%d, block %d (",j,k,i); WReqn(go.expnod[j]); printf(");\n"); } } *pn = el_bin(OPcomma,(*pn).Ety, el_copytree(go.expnod[j]),*pn); /* Mark all the vbe elems found but one (the */ /* go.expnod[j] one) so that the expression will */ /* only be hoisted again if other occurrences */ /* of the expression are found later. This */ /* will substitute for the fact that the */ /* el_copytree() expression does not appear in go.expnod[]. */ l = k; do { if (k == l || (vec_testbit(k,b.Bout) && el_match(go.expnod[j],go.expnod[k]))) { /* Fix so nobody else will */ /* vbe this elem */ go.expnod[k] = null; vec_clearbit(k,b.Bout); } } while (++k < go.exptop); go.changes++; } /* foreach */ } /* for */ vec_free(blockseen); } /**************************** * Return true if elem j is killed somewhere * between b and bp. */ private int killed(uint j,block *bp,block *b) { if (bp == b || vec_testbit(bp.Bdfoidx,blockseen)) return false; if (vec_testbit(j,bp.Bkill)) return true; vec_setbit(bp.Bdfoidx,blockseen); /* mark as visited */ foreach (bl; ListRange(bp.Bpred)) if (killed(j,list_block(bl),b)) return true; return false; } /*************************** * Return true if there is a path from b to bp along which * elem j is not used. * Input: * b . block where we want to put the VBE * bp . block somewhere between b and block containing j * j = VBE expression elem candidate (index into go.expnod[]) */ private int ispath(uint j,block *bp,block *b) { /*chkvecdim(go.exptop,0);*/ if (bp == b) return true; /* the trivial case */ if (vec_testbit(bp.Bdfoidx,blockseen)) return false; /* already seen this block */ vec_setbit(bp.Bdfoidx,blockseen); /* we've visited this block */ /* false if elem j is used in block bp (and reaches the end */ /* of bp, indicated by it being an AE in Bgen) */ uint i; for (i = 0; (i = cast(uint) vec_index(i, bp.Bgen)) < go.exptop; ++i) // look thru used expressions { if (i != j && go.expnod[i] && el_match(go.expnod[i],go.expnod[j])) return false; } /* Not used in bp, see if there is a path through a predecessor */ /* of bp */ foreach (bl; ListRange(bp.Bpred)) if (ispath(j,list_block(bl),b)) return true; return false; /* j is used along all paths */ } }
D
func void ZS_Stand_Dementor() { self.senses = SENSE_SEE | SENSE_HEAR | SENSE_SMELL; self.senses_range = PERC_DIST_MONSTER_ACTIVE_MAX; if(Npc_KnowsInfo(self,1)) { Npc_SetPercTime(self,0.3); } else { Npc_SetPercTime(self,1); }; Npc_PercEnable(self,PERC_ASSESSPLAYER,B_AssessPlayer); Npc_PercEnable(self,PERC_ASSESSENEMY,B_AssessEnemy); Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic); Npc_PercEnable(self,PERC_ASSESSDAMAGE,B_AssessDamage); if(Hlp_GetInstanceID(self) != Hlp_GetInstanceID(DMT_1299_OberDementor_DI)) { Npc_PercEnable(self,PERC_ASSESSFIGHTSOUND,B_AssessFightSound); }; Npc_PercEnable(self,PERC_ASSESSWARN,B_AssessWarn); Npc_PercEnable(self,PERC_ASSESSTALK,B_AssessTalk); Npc_PercEnable(self,PERC_MOVEMOB,B_MoveMob); B_ResetAll(self); AI_SetWalkMode(self,NPC_WALK); if(Npc_GetDistToWP(self,self.wp) > TA_DIST_SELFWP_MAX) { AI_GotoWP(self,self.wp); }; self.aivar[AIV_TAPOSITION] = NOTINPOS; }; func int ZS_Stand_Dementor_loop() { if(Npc_IsOnFP(self,"STAND")) { AI_AlignToFP(self); if(self.aivar[AIV_TAPOSITION] == NOTINPOS_WALK) { self.aivar[AIV_TAPOSITION] = NOTINPOS; }; } else if(Wld_IsFPAvailable(self,"STAND")) { AI_GotoFP(self,"STAND"); AI_Standup(self); AI_AlignToFP(self); self.aivar[AIV_TAPOSITION] = NOTINPOS_WALK; } else { AI_AlignToWP(self); if(self.aivar[AIV_TAPOSITION] == NOTINPOS_WALK) { self.aivar[AIV_TAPOSITION] = NOTINPOS; }; }; if(self.aivar[AIV_TAPOSITION] == NOTINPOS) { AI_Standup(self); AI_PlayAni(self,"T_STAND_2_LGUARD"); self.aivar[AIV_TAPOSITION] = ISINPOS; }; return LOOP_CONTINUE; }; func void ZS_Stand_Dementor_end() { AI_PlayAni(self,"T_LGUARD_2_STAND"); };
D
instance BDT_1097_Addon_Fisk(Npc_Default) { name[0] = "Ôèñê"; guild = GIL_BDT; id = 1097; voice = 12; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,ItMw_1h_Sld_Sword); // B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_B_Cavalorn,BodyTex_B,ITAR_Diego); Mdl_SetModelFatness(self,-1); Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,65); daily_routine = Rtn_PreStart_1097; }; func void Rtn_PreStart_1097() { TA_Stand_WP(8,0,20,0,"BL_MID_05"); TA_Stand_WP(20,0,8,0,"BL_MID_05"); }; func void Rtn_Start_1097() { TA_Stand_Guarding(8,0,20,0,"BL_MERCHANT_01"); TA_Sleep(20,0,6,0,"BL_MERCHANT_03_SLEEP"); TA_Read_Bookstand(6,0,8,0,"BL_MERCHANT_03_BOOK"); }; func void Rtn_Meeting_1097() { TA_Stand_Guarding(8,0,20,0,"BL_INN_UP_06"); TA_Stand_Guarding(20,0,8,0,"BL_INN_UP_06"); }; func void Rtn_Ambush_1097() { TA_Stand_WP(8,0,20,0,"BL_INN_07"); TA_Stand_WP(20,0,8,0,"BL_INN_07"); };
D
module dmagick.c.resample; import dmagick.c.cacheView; import dmagick.c.exception; import dmagick.c.image; import dmagick.c.magickType; import dmagick.c.magickVersion; import dmagick.c.pixel; //A mixin with static if has problems with circular imports. (dmagick.c.image) version(MagickCore_660) {} else version(MagickCore_661) {} else version(MagickCore_662) {} else version(MagickCore_663) {} else version(MagickCore_664) {} else version(MagickCore_665) {} else { version = MagickCore_666_and_up; } extern(C) { version ( MagickCore_666_and_up ) { /** * Used to adjust the filter algorithm used when resizing images. * Different filters experience varying degrees of success with * various images and can take significantly different amounts of * processing time. ImageMagick uses the LanczosFilter by default * since this filter has been shown to provide the best results for * most images in a reasonable amount of time. Other filter types * (e.g. TriangleFilter) may execute much faster but may show * artifacts when the image is re-sized or around diagonal lines. * The only way to be sure is to test the filter with sample images. * * See_Also: $(LINK2 http://www.imagemagick.org/Usage/resize/, * Resize Filters) in the Examples of ImageMagick Usage. */ enum FilterTypes { UndefinedFilter, /// PointFilter, /// ditto BoxFilter, /// ditto TriangleFilter, /// ditto HermiteFilter, /// ditto HanningFilter, /// ditto HammingFilter, /// ditto BlackmanFilter, /// ditto GaussianFilter, /// ditto QuadraticFilter, /// ditto CubicFilter, /// ditto CatromFilter, /// ditto MitchellFilter, /// ditto JincFilter, /// ditto SincFilter, /// ditto SincFastFilter, /// ditto KaiserFilter, /// ditto WelshFilter, /// ditto ParzenFilter, /// ditto BohmanFilter, /// ditto BartlettFilter, /// ditto LagrangeFilter, /// ditto LanczosFilter, /// ditto LanczosSharpFilter, /// ditto Lanczos2Filter, /// ditto Lanczos2SharpFilter, /// ditto RobidouxFilter, /// ditto RobidouxSharpFilter, /// ditto CosineFilter, /// ditto SplineFilter, /// ditto LanczosRadiusFilter, /// ditto SentinelFilter, // a count of all the filters, not a real filter BesselFilter = JincFilter, Lanczos2DFilter = Lanczos2Filter, Lanczos2DSharpFilter = Lanczos2SharpFilter } } else { enum FilterTypes { UndefinedFilter, PointFilter, BoxFilter, TriangleFilter, HermiteFilter, HanningFilter, HammingFilter, BlackmanFilter, GaussianFilter, QuadraticFilter, CubicFilter, CatromFilter, MitchellFilter, LanczosFilter, JincFilter, SincFilter, KaiserFilter, WelshFilter, ParzenFilter, LagrangeFilter, BohmanFilter, BartlettFilter, SincFastFilter, Lanczos2DFilter, Lanczos2DSharpFilter, RobidouxFilter, RobidouxSharpFilter, CosineFilter, SentinelFilter, /* a count of all the filters, not a real filter */ BesselFilter = JincFilter } } struct ResampleFilter {} MagickBooleanType ResamplePixelColor(ResampleFilter*, const double, const double, MagickPixelPacket*); MagickBooleanType SetResampleFilterInterpolateMethod(ResampleFilter*, const InterpolatePixelMethod); MagickBooleanType SetResampleFilterVirtualPixelMethod(ResampleFilter*, const VirtualPixelMethod); ResampleFilter* AcquireResampleFilter(const(Image)*, ExceptionInfo*); ResampleFilter* DestroyResampleFilter(ResampleFilter*); void ScaleResampleFilter(ResampleFilter*, const double, const double, const double, const double); void SetResampleFilter(ResampleFilter*, const FilterTypes, const double); }
D
module perfontain.program; import std, core.bitop, perfontain.opengl, perfontain, utile.except, utile.logger; public import perfontain.program.props; enum { PROG_DATA_MODEL = 1, PROG_DATA_COLOR = 2, PROG_DATA_NORMAL = 4, PROG_DATA_LIGHTS = 8, PROG_DATA_SM_MAT = 16, PROG_DATA_SCISSOR = 32, } struct Attrib { uint type, size; } final class Program : RCounted { this(Shader[] shaders) { _id = glCreateProgram(); shaders.each!(a => glAttachShader(_id, a.id)); doLink; shaders.each!(a => glDetachShader(_id, a.id)); parseAttribs; static immutable Attrs = [ tuple(`pe_transforms.pe_shadow_matrix`, PROG_DATA_SM_MAT), tuple(`pe_transforms.transforms[0].model`, PROG_DATA_MODEL), tuple(`pe_transforms.transforms[0].color`, PROG_DATA_COLOR), tuple(`pe_transforms.transforms[0].normal`, PROG_DATA_NORMAL), tuple(`pe_transforms.transforms[0].scissor`, PROG_DATA_SCISSOR), tuple(`pe_transforms.transforms[0].lightStart`, PROG_DATA_LIGHTS), ]; foreach (a; Attrs) { if (a[0] in _attribs) { _flags |= a[1]; } } } ~this() { unbind; foreach (u; _unis.values.filter!(a => a && a.idx >= 0)) { glBindBufferBase(GL_SHADER_STORAGE_BUFFER, u.idx, 0); u.data = null; } _texs.each!(a => a.destroy); glDeleteProgram(_id); } void bind() { if (_init) { _init = false; debug foreach (name, attr; _attribs) { if (isSampler(attr.type)) { const idx = cast(byte)SHADER_TEX_NAMES.countUntil(name); assert(idx >= 0, format!`unknown texture %s used`(name)); assert(_texs.keys.canFind(idx), format!`texture %s was not bound`(name)); } } foreach (id, tex; _texs) { const name = SHADER_TEX_NAMES[id]; assert(_attribs.keys.canFind(name), format!`trying to bound extra texture %s`(name)); tex.bind(id); } } else { enum N = ShaderTexture.main; if (auto p = N in _texs) { (*p).bind(N); } } bind(_id); } static unbind() { bind(0); } void send(T)(string name, auto ref in T value) { auto s = locationOf(name); debug { if (!s) return; } static if (is(T : int)) { glProgramUniform1i(_id, s.loc, value); } else static if (is(T == ulong)) { glProgramUniform2uiv(_id, s.loc, 1, cast(uint*)&value); } else static if (is(T == Vector3)) { glProgramUniform3fv(_id, s.loc, 1, value.ptr); } else static if (is(T == Vector4)) { glProgramUniform4fv(_id, s.loc, 1, value.ptr); } else static if (is(T == Matrix4)) { glProgramUniformMatrix4fv(_id, s.loc, 1, false, value.ptr); } else static assert(false); } void ssbo(string name, in void[] data, bool dynamic = true) { assert(data.length); if (auto s = locationOf(name, true)) { bool b = !s.data; if (b) s.data = new VertexBuffer(-1, dynamic ? VBO_DYNAMIC : 0); s.data.realloc(cast(uint)data.length, data.ptr); glBindBufferBase(GL_SHADER_STORAGE_BUFFER, s.idx, s.data.id); } } auto minLen(string name) { if (auto r = locationOf(name, true)) { return r.len; } assert(false); } void add(ShaderTexture id, Texture tex) { *_texs.require(id, new RC!Texture) = tex; } private: mixin publicProperty!(ubyte, `flags`); void doLink() { glLinkProgram(_id); { int ok; glGetProgramiv(_id, GL_LINK_STATUS, &ok); if (ok) return; } int len; glGetProgramiv(_id, GL_INFO_LOG_LENGTH, &len); auto msg = new char[len]; glGetProgramInfoLog(_id, len, null, msg.ptr); throwError!`cannot link program: %s`(msg[0 .. $ - 1].assumeUnique); } void parseAttribs() { enum Attribs = [ tuple(GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH, `glGetActiveUniform`), tuple(GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, `glGetActiveAttrib`), ]; static foreach (e; Attribs) { { int cnt, nameLen; glGetProgramiv(_id, e[0], &cnt); glGetProgramiv(_id, e[1], &nameLen); auto name = new char[nameLen]; foreach (i; 0 .. cnt) { int size; uint type; mixin(e[2] ~ `(_id, i, cast(uint)name.length, cast(uint*)&nameLen, &size, &type, name.ptr);`); _attribs[name[0 .. nameLen].idup] = Attrib(type, size); } } } { int cnt; glGetProgramInterfaceiv(_id, GL_SHADER_STORAGE_BLOCK, GL_ACTIVE_RESOURCES, &cnt); foreach (idx; 0 .. cnt) { parseBlock(idx); } } debug { logger.msg(_attribs); } } void parseBlock(uint idx) { int cnt; { const param = GL_NUM_ACTIVE_VARIABLES; glGetProgramResourceiv(_id, GL_SHADER_STORAGE_BLOCK, idx, 1, &param, 1, null, &cnt); } if (!cnt) return; { int nameLen; const param = GL_NAME_LENGTH; glGetProgramResourceiv(_id, GL_SHADER_STORAGE_BLOCK, idx, 1, &param, 1, null, &nameLen); auto name = new char[nameLen]; glGetProgramResourceName(_id, GL_SHADER_STORAGE_BLOCK, idx, nameLen, null, name.ptr); _ssbo ~= name[0 .. $ - 1].assumeUnique; } auto vars = new int[cnt]; { const param = GL_ACTIVE_VARIABLES; glGetProgramResourceiv(_id, GL_SHADER_STORAGE_BLOCK, idx, 1, &param, cnt, null, vars.ptr); } foreach (var; vars) { static immutable props = [GL_NAME_LENGTH, GL_TYPE, GL_ARRAY_SIZE]; enum N = cast(uint)props.length; int[N] arr; glGetProgramResourceiv(_id, GL_BUFFER_VARIABLE, var, N, props.ptr, N, null, arr.ptr); // TODO: IS TWO N CORRECT ??? auto name = new char[arr[0]]; glGetProgramResourceName(_id, GL_BUFFER_VARIABLE, var, arr[0], null, name.ptr); auto elem = name[0 .. $ - 1]; _attribs[format(`%s.%s`, _ssbo.back, elem)] = Attrib(arr[1], arr[2]); } } static bind(uint id) { //if(set(PEstate._prog, id)) { glUseProgram(id); //foreach(p; _unis) //p.data.bind; } } auto locationOf(string name, bool ssb = false) { if (auto u = name in _unis) { return *u; } auto n = name.toStringz; int loc = ssb ? glGetProgramResourceIndex(_id, GL_SHADER_STORAGE_BLOCK, n) : glGetUniformLocation(_id, n); UniformData* s; if (loc < 0) { logger.error!"can't get %s location for `%s' variable"(ssb ? `SSBO` : `uniform`, name); } else { s = new UniformData; s.loc = loc; if (ssb) { auto prop = GL_BUFFER_DATA_SIZE; glGetProgramResourceiv(_id, GL_SHADER_STORAGE_BLOCK, loc, 1, &prop, 1, null, &s.len); int idx; prop = GL_BUFFER_BINDING; glGetProgramResourceiv(_id, GL_SHADER_STORAGE_BLOCK, loc, 1, &prop, 1, null, &idx); s.idx = cast(ubyte)idx; } } return _unis[name] = s; } static isSampler(uint id) { static immutable uint[] samplers = [GL_SAMPLER_2D, GL_UNSIGNED_INT_SAMPLER_2D]; return samplers.canFind(id); } struct UniformData { RC!VertexBuffer data; int loc, len; byte idx = -1; } uint _id; bool _init = true; string[] _ssbo; Attrib[string] _attribs; UniformData*[string] _unis; RC!Texture*[ShaderTexture] _texs; }
D
/* TEST_OUTPUT: --- fail_compilation/fail8009.d(9): Error: template `fail8009.filter` cannot deduce function from argument types `!()(void)`, candidates are: fail_compilation/fail8009.d(8): `fail8009.filter(R)(scope bool delegate(ref BAD!R) func)` --- */ void filter(R)(scope bool delegate(ref BAD!R) func) { } void main() { filter(r => r); }
D
/Users/mumpiko/dev/XCUITest/XCUITest-demo/output/Build/Intermediates/UIKitCatalog.build/Debug-iphonesimulator/UIKitCatalog.build/Objects-normal/x86_64/AppDelegate.o : /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PickerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchResultsViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PageControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchBarEmbeddedInNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TintedToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SliderViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SegmentedControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchPresentOverNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/WebViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AppDelegate.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AlertControllerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchShowResultsInSourceViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ImageViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ActivityIndicatorViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/UIColor+ApplicationSpecific.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SwitchViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StackViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ProgressViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextFieldViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StepperViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchControllerBaseViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DatePickerController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ButtonViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/mumpiko/dev/XCUITest/XCUITest-demo/output/Build/Intermediates/UIKitCatalog.build/Debug-iphonesimulator/UIKitCatalog.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PickerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchResultsViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PageControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchBarEmbeddedInNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TintedToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SliderViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SegmentedControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchPresentOverNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/WebViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AppDelegate.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AlertControllerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchShowResultsInSourceViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ImageViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ActivityIndicatorViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/UIColor+ApplicationSpecific.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SwitchViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StackViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ProgressViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextFieldViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StepperViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchControllerBaseViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DatePickerController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ButtonViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/mumpiko/dev/XCUITest/XCUITest-demo/output/Build/Intermediates/UIKitCatalog.build/Debug-iphonesimulator/UIKitCatalog.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PickerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchResultsViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/PageControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchBarEmbeddedInNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TintedToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SliderViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SegmentedControlViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchPresentOverNavigationBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/WebViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AppDelegate.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/AlertControllerViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchShowResultsInSourceViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ImageViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ActivityIndicatorViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/UIColor+ApplicationSpecific.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SwitchViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StackViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ProgressViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextFieldViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/TextViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DefaultSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/StepperViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/SearchControllerBaseViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomSearchBarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/CustomToolbarViewController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/DatePickerController.swift /Users/mumpiko/dev/XCUITest/XCUITest-demo/UIKitCatalog/ButtonViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule
D
// FIXME: if the taskbar dies, a notification icon is undocked... but never detects a new taskbar spawning // https://dpaste.dzfl.pl/7a77355acaec /* Text layout needs a lot of work. Plain drawText is useful but too limited. It will need some kind of text context thing which it will update and you can pass it on and get more details out of it. It will need a bounding box, a current cursor location that is updated as drawing continues, and various changable facts (which can also be changed on the painter i guess) like font, color, size, background, etc. We can also fetch the caret location from it somehow. Should prolly be an overload of drawText blink taskbar / demand attention cross platform. FlashWindow and demandAttention WS_EX_NOACTIVATE WS_CHILD - owner and owned vs parent and child. Does X have something similar? full screen windows. Can just set the atom on X. Windows will be harder. moving windows. resizing windows. hide cursor, capture cursor, change cursor. REMEMBER: simpledisplay does NOT have to do everything! It just needs to make sure the pieces are there to do its job easily and make other jobs possible. */ /++ simpledisplay.d provides basic cross-platform GUI-related functionality, including creating windows, drawing on them, working with the clipboard, timers, OpenGL, and more. However, it does NOT provide high level GUI widgets. See my minigui.d, an extension to this module, for that functionality. simpledisplay provides cross-platform wrapping for Windows and Linux (and perhaps other OSes that use X11), but also does not prevent you from using the underlying facilities if you need them. It has a goal of working efficiently over a remote X link (at least as far as Xlib reasonably allows.) simpledisplay depends on [arsd.color|color.d], which should be available from the same place where you got this file. Other than that, however, it has very few dependencies and ones that don't come with the OS and/or the compiler are all opt-in. simpledisplay.d's home base is on my arsd repo on Github. The file is: https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d simpledisplay is basically stable. I plan to refactor the internals, and may add new features and fix bugs, but It do not expect to significantly change the API. It has been stable a few years already now. Installation_instructions: `simpledisplay.d` does not have any dependencies outside the operating system and `color.d`, so it should just work most the time, but there are a few caveats on some systems: Please note when compiling on Win64, you need to explicitly list `-Lgdi32.lib -Luser32.lib` on the build command. If you want the Windows subsystem too, use `-L/subsystem:windows -L/entry:mainCRTStartup`. On Win32, you can pass `-L/subsystem:windows` if you don't want a console to be automatically allocated. On Mac, when compiling with X11, you need XQuartz and -L-L/usr/X11R6/lib passed to dmd. If using the Cocoa implementation on Mac, you need to pass `-L-framework -LCocoa` to dmd. On Ubuntu, you might need to install X11 development libraries to successfully link. $(CONSOLE $ sudo apt-get install libglc-dev $ sudo apt-get install libx11-dev ) Jump_list: Don't worry, you don't have to read this whole documentation file! Check out the [#Event-example] and [#Pong-example] to get started quickly. The main classes you may want to create are [SimpleWindow], [Timer], [Image], and [Sprite]. The main functions you'll want are [setClipboardText] and [getClipboardText]. There are also platform-specific functions available such as [XDisplayConnection] and [GetAtom] for X11, among others. See the examples and topics list below to learn more. $(H2 About this documentation) The goal here is to give some complete programs as overview examples first, then a look at each major feature with working examples first, then, finally, the inline class and method list will follow. Scan for headers for a topic - $(B they will visually stand out) - you're interested in to get started quickly and feel free to copy and paste any example as a starting point for your program. I encourage you to learn the library by experimenting with the examples! All examples are provided with no copyright restrictions whatsoever. You do not need to credit me or carry any kind of notice with the source if you copy and paste from them. To get started, download `simpledisplay.d` and `color.d` to a working directory. Copy an example info a file called `example.d` and compile using the command given at the top of each example. If you need help, email me: destructionator@gmail.com or IRC us, #d on Freenode (I am destructionator or adam_d_ruppe there). If you learn something that isn't documented, I appreciate pull requests on github to this file. At points, I will talk about implementation details in the documentation. These are sometimes subject to change, but nevertheless useful to understand what is really going on. You can learn more about some of the referenced things by searching the web for info about using them from C. You can always look at the source of simpledisplay.d too for the most authoritative source on its specific implementation. If you disagree with how I did something, please contact me so we can discuss it! Examples: $(H3 Event-example) This program creates a window and draws events inside them as they happen, scrolling the text in the window as needed. Run this program and experiment to get a feel for where basic input events take place in the library. --- // dmd example.d simpledisplay.d color.d import arsd.simpledisplay; import std.conv; void main() { auto window = new SimpleWindow(Size(500, 500), "Event example - simpledisplay.d"); int y = 0; void addLine(string text) { auto painter = window.draw(); if(y + painter.fontHeight >= window.height) { painter.scrollArea(Point(0, 0), window.width, window.height, 0, painter.fontHeight); y -= painter.fontHeight; } painter.outlineColor = Color.red; painter.fillColor = Color.black; painter.drawRectangle(Point(0, y), window.width, painter.fontHeight); painter.outlineColor = Color.white; painter.drawText(Point(10, y), text); y += painter.fontHeight; } window.eventLoop(1000, () { addLine("Timer went off!"); }, (KeyEvent event) { addLine(to!string(event)); }, (MouseEvent event) { addLine(to!string(event)); }, (dchar ch) { addLine(to!string(ch)); } ); } --- If you are interested in more game writing with D, check out my gamehelpers.d which builds upon simpledisplay, and its other stand-alone support modules, simpleaudio.d and joystick.d, too. This program displays a pie chart. Clicking on a color will increase its share of the pie. --- --- $(H2 Topics) $(H3 $(ID topic-windows) Windows) The [SimpleWindow] class is simpledisplay's flagship feature. It represents a single window on the user's screen. You may create multiple windows, if the underlying platform supports it. You may check `static if(multipleWindowsSupported)` at compile time, or catch exceptions thrown by SimpleWindow's constructor at runtime to handle those cases. A single running event loop will handle as many windows as needed. setEventHandlers function eventLoop function draw function title property $(H3 $(ID topic-event-loops) Event loops) The simpledisplay event loop is designed to handle common cases easily while being extensible for more advanced cases, or replaceable by other libraries. The most common scenario is creating a window, then calling `window.eventLoop` when setup is complete. You can pass several handlers to the `eventLoop` method right there: --- // dmd example.d simpledisplay.d color.d import arsd.simpledisplay; void main() { auto window = new SimpleWindow(200, 200); window.eventLoop(0, delegate (dchar) { /* got a character key press */ } ); } --- $(TIP If you get a compile error saying "I can't use this event handler", the most common thing in my experience is passing a function instead of a delegate. The simple solution is to use the `delegate` keyword, like I did in the example above.) On Linux, the event loop is implemented with the `epoll` system call for efficiency an extensibility to other files. On Windows, it runs a traditional `GetMessage` + `DispatchMessage` loop, with a call to `SleepEx` in each iteration to allow the thread to enter an alertable wait state regularly, primarily so Overlapped I/O callbacks will get a chance to run. On Linux, simpledisplay also supports my `arsd.eventloop` module. Compile your program, including the eventloop.d file, with the `-version=with_eventloop` switch. It should be possible to integrate simpledisplay with vibe.d as well, though I haven't tried. $(H3 $(ID topic-notification-areas) Notification area (aka systray) icons) Notification area icons are currently only implemented on X11 targets. Windows support will come when I need it (or if someone requests it and I have some time to spend on it). $(H3 $(ID topic-input-handling) Input handling) There are event handlers for low-level keyboard and mouse events, and higher level handlers for character events. $(H3 $(ID topic-2d-drawing) 2d Drawing) To draw on your window, use the `window.draw` method. It returns a [ScreenPainter] structure with drawing methods. Important: `ScreenPainter` double-buffers and will not actually update the window until its destructor is run. Always ensure the painter instance goes out-of-scope before proceeding. You can do this by calling it inside an event handler, a timer callback, or an small scope inside main. For example: --- // dmd example.d simpledisplay.d color.d import arsd.simpledisplay; void main() { auto window = new SimpleWindow(200, 200); { // introduce sub-scope auto painter = window.draw(); // begin drawing /* draw here */ painter.outlineColor = Color.red; painter.fillColor = Color.black; painter.drawRectangle(Point(0, 0), 200, 200); } // end scope, calling `painter`'s destructor, drawing to the screen. window.eventLoop(0); // handle events } --- Painting is done based on two color properties, a pen and a brush. At this time, the 2d drawing does not support alpha blending. If you need that, use a 2d OpenGL context instead. FIXME add example of 2d opengl drawing here $(H3 $(ID topic-3d-drawing) 3d Drawing (or 2d with OpenGL)) simpledisplay can create OpenGL contexts on your window. It works quite differently than 2d drawing. Note that it is still possible to draw 2d on top of an OpenGL window, using the `draw` method, though I don't recommend it. To start, you create a `SimpleWindow` with OpenGL enabled by passing the argument `OpenGlOptions.yes` to the constructor. Next, you set `redrawOpenGlScene` to a delegate which draws your frame. To force a redraw of the scene, call `window.redrawOpenGlSceneNow()`. Please note that my experience with OpenGL is very out-of-date, and the bindings in simpledisplay reflect that. If you want to use more modern functions, you may have to define the bindings yourself, or import them from another module. However, I believe the OpenGL context creation done in simpledisplay will work for any version. This example program will draw a rectangle on your window: --- // dmd example.d simpledisplay.d color.d import arsd.simpledisplay; void main() { } --- $(H3 $(ID topic-images) Displaying images) You can also load PNG images using my `png.d`. --- // dmd example.d simpledisplay.d color.d png.d import arsd.simpledisplay; import arsd.png; void main() { auto image = Image.fromMemoryImage(readPng("image.png")); displayImage(image); } --- Compile with `dmd example.d simpledisplay.d png.d`. If you find an image file which is a valid png that `arsd.png` fails to load, please let me know. In the mean time of fixing the bug, you can probably convert the file into an easier-to-load format. Be sure to turn OFF png interlacing, as that isn't supported. Other things to try would be making the image smaller, or trying 24 bit truecolor mode with an alpha channel. $(H3 $(ID topic-sprites) Sprites) The [Sprite] class is used to make images on the display server for fast blitting to screen. This is especially important to use to support fast drawing of repeated images on a remote X11 link. $(H3 $(ID topic-clipboard) Clipboard) The free functions [getClipboardText] and [setClipboardText] consist of simpledisplay's cross-platform clipboard support at this time. It also has helpers for handling X-specific events. $(H3 $(ID topic-timers) Timers) There are two timers in simpledisplay: one is the pulse timeout you can set on the call to `window.eventLoop`, and the other is a customizable class, [Timer]. The pulse timeout is used by setting a non-zero interval as the first argument to `eventLoop` function and adding a zero-argument delegate to handle the pulse. --- import arsd.simpledisplay; void main() { auto window = new SimpleWindow(400, 400); // every 100 ms, it will draw a random line // on the window. window.eventLoop(100, { auto painter = window.draw(); import std.random; // random color painter.outlineColor = Color(uniform(0, 256), uniform(0, 256), uniform(0, 256)); // random line painter.drawLine( Point(uniform(0, window.width), uniform(0, window.height)), Point(uniform(0, window.width), uniform(0, window.height))); }); } --- The `Timer` class works similarly, but is created separately from the event loop. (It still fires through the event loop, though.) You may make as many instances of `Timer` as you wish. The pulse timer and instances of the [Timer] class may be combined at will. --- import arsd.simpledisplay; void main() { auto window = new SimpleWindow(400, 400); auto timer = new Timer(1000, delegate { auto painter = window.draw(); painter.clear(); }); window.eventLoop(0); } --- Timers are currently only implemented on Windows, using `SetTimer` and Linux, using `timerfd_create`. These deliver timeout messages through your application event loop. $(H3 $(ID topic-os-helpers) OS-specific helpers) simpledisplay carries a lot of code to help implement itself without extra dependencies, and much of this code is available for you too, so you may extend the functionality yourself. See also: `xwindows.d` from my github. $(H3 $(ID topic-os-extension) Extending with OS-specific functionality) `handleNativeEvent` and `handleNativeGlobalEvent`. $(H3 $(ID topic-integration) Integration with other libraries) Integration with a third-party event loop is possible. On Linux, you might want to support both terminal input and GUI input. You can do this by using simpledisplay together with eventloop.d and terminal.d. $(H3 $(ID topic-guis) GUI widgets) simpledisplay does not provide GUI widgets such as text areas, buttons, checkboxes, etc. It only gives basic windows, the ability to draw on it, receive input from it, and access native information for extension. You may write your own gui widgets with these, but you don't have to because I already did for you! Download `minigui.d` from my github repository and add it to your project. minigui builds these things on top of simpledisplay and offers its own Window class (and subclasses) to use that wrap SimpleWindow, adding a new event and drawing model that is hookable by subwidgets, represented by their own classes. Migrating to minigui from simpledisplay is often easy though, because they both use the same ScreenPainter API, and the same simpledisplay events are available, if you want them. (Though you may like using the minigui model, especially if you are familiar with writing web apps in the browser with Javascript.) minigui still needs a lot of work to be finished at this time, but it already offers a number of useful classes. $(H2 Platform-specific tips and tricks) Windows_tips: You can add icons or manifest files to your exe using a resource file. To create a Windows .ico file, use the gimp or something. I'll write a helper program later. Create `yourapp.rc`: ```rc 1 ICON filename.ico CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest" ``` And `yourapp.exe.manifest`: ```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="CompanyName.ProductName.YourApplication" type="win32" /> <description>Your application description here.</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly> ``` $(H2 $(ID developer-notes) Developer notes) I don't have a Mac, so that code isn't maintained. I would like to have a Cocoa implementation though. The NativeSimpleWindowImplementation and NativeScreenPainterImplementation both suck. If I was rewriting it, I wouldn't do it that way again. This file must not have any more required dependencies. If you need bindings, add them right to this file. Once it gets into druntime and is there for a while, remove bindings from here to avoid conflicts (or put them in an appropriate version block so it continues to just work on old dmd), but wait a couple releases before making the transition so this module remains usable with older versions of dmd. You may have optional dependencies if needed by putting them in version blocks or template functions. You may also extend the module with other modules with UFCS without actually editing this - that is nice to do if you can. Try to make functions work the same way across operating systems. I typically make it thinly wrap Windows, then emulate that on Linux. A goal of this is to keep a gui hello world to less than 250 KB. This means avoiding Phobos! So try to avoid it. See more comments throughout the source. I realize this file is fairly large, but over half that is just bindings at the bottom or documentation at the top. Some of the classes are a bit big too, but hopefully easy to understand. I suggest you jump around the source by looking for a particular declaration you're interested in, like `class SimpleWindow` using your editor's search function, then look at one piece at a time. Authors: Adam D. Ruppe with the help of others. If you need help, please email me with destructionator@gmail.com or find me on IRC. Our channel is #d on Freenode. I go by Destructionator or adam_d_ruppe, depending on which computer I'm logged into. I live in the eastern United States, so I will most likely not be around at night in that US east timezone. License: Copyright Adam D. Ruppe, 2011-2017. Released under the Boost Software License. Building documentation: You may wish to use the `arsd.ddoc` file from my github with building the documentation for simpledisplay yourself. It will give it a bit more style. Simply download the arsd.ddoc file and add it to your compile command when building docs. `dmd -c simpledisplay.d color.d -D arsd.ddoc` +/ module arsd.simpledisplay; // FIXME: tetris demo // FIXME: space invaders demo // FIXME: asteroids demo /++ $(ID Pong-example) $(H3 Pong) This program creates a little Pong-like game. Player one is controlled with the keyboard. Player two is controlled with the mouse. It demos the pulse timer, event handling, and some basic drawing. +/ unittest { // dmd example.d simpledisplay.d color.d import arsd.simpledisplay; enum paddleMovementSpeed = 8; enum paddleHeight = 48; void main() { auto window = new SimpleWindow(600, 400, "Pong game!"); int playerOnePosition, playerTwoPosition; int playerOneMovement, playerTwoMovement; int playerOneScore, playerTwoScore; int ballX, ballY; int ballDx, ballDy; void serve() { import std.random; ballX = window.width / 2; ballY = window.height / 2; ballDx = uniform(-4, 4) * 3; ballDy = uniform(-4, 4) * 3; if(ballDx == 0) ballDx = uniform(0, 2) == 0 ? 3 : -3; } serve(); window.eventLoop(50, // set a 50 ms timer pulls // This runs once per timer pulse delegate () { auto painter = window.draw(); painter.clear(); // Update everyone's motion playerOnePosition += playerOneMovement; playerTwoPosition += playerTwoMovement; ballX += ballDx; ballY += ballDy; // Bounce off the top and bottom edges of the window if(ballY + 7 >= window.height) ballDy = -ballDy; if(ballY - 8 <= 0) ballDy = -ballDy; // Bounce off the paddle, if it is in position if(ballX - 8 <= 16) { if(ballY + 7 > playerOnePosition && ballY - 8 < playerOnePosition + paddleHeight) { ballDx = -ballDx + 1; // add some speed to keep it interesting ballDy += playerOneMovement; // and y movement based on your controls too ballX = 24; // move it past the paddle so it doesn't wiggle inside } else { // Missed it playerTwoScore ++; serve(); } } if(ballX + 7 >= window.width - 16) { // do the same thing but for player 1 if(ballY + 7 > playerTwoPosition && ballY - 8 < playerTwoPosition + paddleHeight) { ballDx = -ballDx - 1; ballDy += playerTwoMovement; ballX = window.width - 24; } else { // Missed it playerOneScore ++; serve(); } } // Draw the paddles painter.outlineColor = Color.black; painter.drawLine(Point(16, playerOnePosition), Point(16, playerOnePosition + paddleHeight)); painter.drawLine(Point(window.width - 16, playerTwoPosition), Point(window.width - 16, playerTwoPosition + paddleHeight)); // Draw the ball painter.fillColor = Color.red; painter.outlineColor = Color.yellow; painter.drawEllipse(Point(ballX - 8, ballY - 8), Point(ballX + 7, ballY + 7)); // Draw the score painter.outlineColor = Color.blue; import std.conv; painter.drawText(Point(64, 4), to!string(playerOneScore)); painter.drawText(Point(window.width - 64, 4), to!string(playerTwoScore)); }, delegate (KeyEvent event) { // Player 1's controls are the arrow keys on the keyboard if(event.key == Key.Down) playerOneMovement = event.pressed ? paddleMovementSpeed : 0; if(event.key == Key.Up) playerOneMovement = event.pressed ? -paddleMovementSpeed : 0; }, delegate (MouseEvent event) { // Player 2's controls are mouse movement while the left button is held down if(event.type == MouseEventType.motion && (event.modifierState & ModifierState.leftButtonDown)) { if(event.dy > 0) playerTwoMovement = paddleMovementSpeed; else if(event.dy < 0) playerTwoMovement = -paddleMovementSpeed; } else { playerTwoMovement = 0; } } ); } } /++ $(ID example-minesweeper) This minesweeper demo shows how we can implement another classic game with simpledisplay and shows some mouse input and basic output code. +/ unittest { import arsd.simpledisplay; enum GameSquare { mine = 0, clear, m1, m2, m3, m4, m5, m6, m7, m8 } enum UserSquare { unknown, revealed, flagged, questioned } enum GameState { inProgress, lose, win } GameSquare[] board; UserSquare[] userState; GameState gameState; int boardWidth; int boardHeight; bool isMine(int x, int y) { if(x < 0 || y < 0 || x >= boardWidth || y >= boardHeight) return false; return board[y * boardWidth + x] == GameSquare.mine; } GameState reveal(int x, int y) { if(board[y * boardWidth + x] == GameSquare.clear) { floodFill(userState, boardWidth, boardHeight, UserSquare.unknown, UserSquare.revealed, x, y, (x, y) { if(board[y * boardWidth + x] == GameSquare.clear) return true; else { userState[y * boardWidth + x] = UserSquare.revealed; return false; } }); } else { userState[y * boardWidth + x] = UserSquare.revealed; if(isMine(x, y)) return GameState.lose; } foreach(state; userState) { if(state == UserSquare.unknown || state == UserSquare.questioned) return GameState.inProgress; } return GameState.win; } void initializeBoard(int width, int height, int numberOfMines) { boardWidth = width; boardHeight = height; board.length = width * height; userState.length = width * height; userState[] = UserSquare.unknown; import std.algorithm, std.random, std.range; board[] = GameSquare.clear; foreach(minePosition; randomSample(iota(0, board.length), numberOfMines)) board[minePosition] = GameSquare.mine; int x; int y; foreach(idx, ref square; board) { if(square == GameSquare.clear) { int danger = 0; danger += isMine(x-1, y-1)?1:0; danger += isMine(x-1, y)?1:0; danger += isMine(x-1, y+1)?1:0; danger += isMine(x, y-1)?1:0; danger += isMine(x, y+1)?1:0; danger += isMine(x+1, y-1)?1:0; danger += isMine(x+1, y)?1:0; danger += isMine(x+1, y+1)?1:0; square = cast(GameSquare) (danger + 1); } x++; if(x == width) { x = 0; y++; } } } void redraw(SimpleWindow window) { import std.conv; auto painter = window.draw(); painter.clear(); final switch(gameState) with(GameState) { case inProgress: break; case win: painter.fillColor = Color.green; painter.drawRectangle(Point(0, 0), window.width, window.height); return; case lose: painter.fillColor = Color.red; painter.drawRectangle(Point(0, 0), window.width, window.height); return; } int x = 0; int y = 0; foreach(idx, square; board) { auto state = userState[idx]; final switch(state) with(UserSquare) { case unknown: painter.outlineColor = Color.black; painter.fillColor = Color(128,128,128); painter.drawRectangle( Point(x * 20, y * 20), 20, 20 ); break; case revealed: if(square == GameSquare.clear) { painter.outlineColor = Color.white; painter.fillColor = Color.white; painter.drawRectangle( Point(x * 20, y * 20), 20, 20 ); } else { painter.outlineColor = Color.black; painter.fillColor = Color.white; painter.drawText( Point(x * 20, y * 20), to!string(square)[1..2], Point(x * 20 + 20, y * 20 + 20), TextAlignment.Center | TextAlignment.VerticalCenter); } break; case flagged: painter.outlineColor = Color.black; painter.fillColor = Color.red; painter.drawRectangle( Point(x * 20, y * 20), 20, 20 ); break; case questioned: painter.outlineColor = Color.black; painter.fillColor = Color.yellow; painter.drawRectangle( Point(x * 20, y * 20), 20, 20 ); break; } x++; if(x == boardWidth) { x = 0; y++; } } } void main() { auto window = new SimpleWindow(200, 200); initializeBoard(10, 10, 10); redraw(window); window.eventLoop(0, delegate (MouseEvent me) { if(me.type != MouseEventType.buttonPressed) return; auto x = me.x / 20; auto y = me.y / 20; if(x >= 0 && x < boardWidth && y >= 0 && y < boardHeight) { if(me.button == MouseButton.left) { gameState = reveal(x, y); } else { userState[y*boardWidth+x] = UserSquare.flagged; } redraw(window); } } ); } } version(without_opengl) { enum SdpyIsUsingIVGLBinds = false; } else /*version(Posix)*/ { static if (__traits(compiles, (){import iv.glbinds;})) { enum SdpyIsUsingIVGLBinds = true; public import iv.glbinds; //pragma(msg, "SDPY: using iv.glbinds"); } else { enum SdpyIsUsingIVGLBinds = false; } //} else { // enum SdpyIsUsingIVGLBinds = false; } version(Windows) { import core.sys.windows.windows; static import gdi = core.sys.windows.wingdi; pragma(lib, "gdi32"); pragma(lib, "user32"); } else version (linux) { //k8: this is hack for rdmd. sorry. static import core.sys.linux.epoll; static import core.sys.linux.timerfd; } // FIXME: icons on Windows don't look quite right, I think the transparency mask is off. // http://wiki.dlang.org/Simpledisplay.d // FIXME: SIGINT handler is necessary to clean up shared memory handles upon ctrl+c // see : http://www.sbin.org/doc/Xlib/chapt_09.html section on Keyboard Preferences re: scroll lock led // Cool stuff: I want right alt and scroll lock to do different stuff for personal use. maybe even right ctrl // but can i control the scroll lock led // Note: if you are using Image on X, you might want to do: /* static if(UsingSimpledisplayX11) { if(!Image.impl.xshmAvailable) { // the images will use the slower XPutImage, you might // want to consider an alternative method to get better speed } } If the shared memory extension is available though, simpledisplay uses it for a significant speed boost whenever you draw large Images. */ // CHANGE FROM LAST VERSION: the window background is no longer fixed, so you might want to fill the screen with a particular color before drawing. // WARNING: if you are using with_eventloop, don't forget to call XFlush(XDisplayConnection.get()); before calling loop()! /* Biggest FIXME: make sure the key event numbers match between X and Windows OR provide symbolic constants on each system clean up opengl contexts when their windows close fix resizing the bitmaps/pixmaps */ // BTW on Windows: // -L/SUBSYSTEM:WINDOWS:5.0 // to dmd will make a nice windows binary w/o a console if you want that. /* Stuff to add: use multibyte functions everywhere we can OpenGL windows more event stuff extremely basic windows w/ no decoration for tooltips, splash screens, etc. resizeEvent and make the windows non-resizable by default, or perhaps stretched (if I can find something in X like StretchBlt) take a screenshot function! Pens and brushes? Maybe a global event loop? Mouse deltas Key items */ /* From MSDN: You can also use the GET_X_LPARAM or GET_Y_LPARAM macro to extract the x- or y-coordinate. Important Do not use the LOWORD or HIWORD macros to extract the x- and y- coordinates of the cursor position because these macros return incorrect results on systems with multiple monitors. Systems with multiple monitors can have negative x- and y- coordinates, and LOWORD and HIWORD treat the coordinates as unsigned quantities. */ version(linux) { version = X11; version(without_libnotify) { // we cool } else version = libnotify; } version(libnotify) { pragma(lib, "dl"); import core.sys.posix.dlfcn; void delegate()[int] libnotify_action_delegates; int libnotify_action_delegates_count; extern(C) static void libnotify_action_callback_sdpy(void* notification, char* action, void* user_data) { auto idx = cast(int) user_data; if(auto dgptr = idx in libnotify_action_delegates) { (*dgptr)(); libnotify_action_delegates.remove(idx); } } struct C_DynamicLibrary { void* handle; this(string name) { handle = dlopen((name ~ "\0").ptr, RTLD_NOW); if(handle is null) throw new Exception("dlopen"); } void close() { dlclose(handle); } ~this() { // close } template call(string func, Ret, Args...) { extern(C) Ret function(Args) fptr; typeof(fptr) call() { fptr = cast(typeof(fptr)) dlsym(handle, func); return fptr; } } } C_DynamicLibrary* libnotify; } version(OSX) { version(OSXCocoa) {} else { version = X11; } } //version = OSXCocoa; // this was written by KennyTM version(FreeBSD) version = X11; version(Solaris) version = X11; // these are so the static asserts don't trigger unless you want to // add support to it for an OS version(Windows) version = with_timer; version(linux) version = with_timer; /// If you have to get down and dirty with implementation details, this helps figure out if X is available you can `static if(UsingSimpledisplayX11) ...` more reliably than `version()` because `version` is module-local. version(X11) enum bool UsingSimpledisplayX11 = true; else enum bool UsingSimpledisplayX11 = false; /// Does this platform support multiple windows? If not, trying to create another will cause it to throw an exception. version(Windows) enum multipleWindowsSupported = true; else version(X11) enum multipleWindowsSupported = true; else version(OSXCocoa) enum multipleWindowsSupported = true; else static assert(0); version(without_opengl) enum bool OpenGlEnabled = false; else enum bool OpenGlEnabled = true; /++ After selecting a type from [WindowTypes], you may further customize its behavior by setting one or more of these flags. The different window types have different meanings of `normal`. If the window type already is a good match for what you want to do, you should just use [WindowFlags.normal], the default, which will do the right thing for your users. The window flags will not always be honored by the operating system and window managers; they are hints, not commands. +/ enum WindowFlags : int { normal = 0, /// skipTaskbar = 1, /// alwaysOnTop = 2, /// alwaysOnBottom = 4, /// cannotBeActivated = 8, /// alwaysRequestMouseMotionEvents = 16, /// By default, simpledisplay will attempt to optimize mouse motion event reporting when it detects a remote connection, causing them to only be issued if input is grabbed (see: [SimpleWindow.grabInput]). This means doing hover effects and mouse game control on a remote X connection may not work right. Include this flag to override this optimization and always request the motion events. However btw, if you are doing mouse game control, you probably want to grab input anyway, and hover events are usually expendable! So think before you use this flag. dontAutoShow = 0x1000_0000, /// Don't automatically show window after creation; you will have to call `show()` manually. } /++ When creating a window, you can pass a type to SimpleWindow's constructor, then further customize the window by changing `WindowFlags`. You should mostly only need [normal], [undecorated], and [eventOnly] for normal use. The others are there to build a foundation for a higher level GUI toolkit, but are themselves not as high level as you might think from their names. This list is based on the EMWH spec for X11. http://standards.freedesktop.org/wm-spec/1.4/ar01s05.html#idm139704063786896 +/ enum WindowTypes : int { /// An ordinary application window. normal, /// A generic window without a title bar or border. You can draw on the entire area of the screen it takes up and use it as you wish. Remember that users don't really expect these though, so don't use it where a window of any other type is appropriate. undecorated, /// A window that doesn't actually display on screen. You can use it for cases where you need a dummy window handle to communicate with or something. eventOnly, /// A drop down menu, such as from a menu bar dropdownMenu, /// A popup menu, such as from a right click popupMenu, /// A popup bubble notification notification, /* menu, /// a tearable menu bar splashScreen, /// a loading splash screen for your application tooltip, /// A tiny window showing temporary help text or something. comboBoxDropdown, dialog, toolbar */ /// a child nested inside the parent. You must pass a parent window to the ctor nestedChild, } private __gshared ushort sdpyOpenGLContextVersion = 0; // default: use legacy call private __gshared bool sdpyOpenGLContextCompatible = true; // default: allow "deprecated" features private __gshared char* sdpyWindowClassStr = null; private __gshared bool sdpyOpenGLContextAllowFallback = false; /** Set OpenGL context version to use. This has no effect on non-OpenGL windows. You may want to change context version if you want to use advanced shaders or other modern OpenGL techinques. This setting doesn't affect already created windows. You may use version 2.1 as your default, which should be supported by any box since 2006, so seems to be a reasonable choice. Note that by default version is set to `0`, which forces SimpleDisplay to use old context creation code without any version specified. This is the safest way to init OpenGL, but it may not give you access to advanced features. See available OpenGL versions here: https://en.wikipedia.org/wiki/OpenGL */ void setOpenGLContextVersion() (ubyte hi, ubyte lo) { sdpyOpenGLContextVersion = cast(ushort)(hi<<8|lo); } /** Set OpenGL context mode. Modern (3.0+) OpenGL versions deprecated old fixed pipeline functions, and without "compatible" mode you won't be able to use your old non-shader-based code with such contexts. By default SimpleDisplay creates compatible context, so you can gradually upgrade your OpenGL code if you want to (or leave it as is, as it should "just work"). */ @property void openGLContextCompatible() (bool v) { sdpyOpenGLContextCompatible = v; } /** Set to `true` to allow creating OpenGL context with lower version than requested instead of throwing. If fallback was activated (or legacy OpenGL was requested), `openGLContextFallbackActivated()` will return `true`. */ @property void openGLContextAllowFallback() (bool v) { sdpyOpenGLContextAllowFallback = v; } /** After creating OpenGL window, you can check this to see if you got only "legacy" OpenGL context. */ @property bool openGLContextFallbackActivated() () { return (sdpyOpenGLContextVersion == 0); } /** Set window class name for all following `new SimpleWindow()` calls. WARNING! For Windows, you should set your class name before creating any window, and NEVER change it after that! */ void sdpyWindowClass (const(char)[] v) { import core.stdc.stdlib : realloc; if (v.length == 0) v = "SimpleDisplayWindow"; sdpyWindowClassStr = cast(char*)realloc(sdpyWindowClassStr, v.length+1); if (sdpyWindowClassStr is null) return; // oops sdpyWindowClassStr[0..v.length+1] = 0; sdpyWindowClassStr[0..v.length] = v[]; } /** Get current window class name. */ string sdpyWindowClass () { if (sdpyWindowClassStr is null) return null; foreach (immutable idx; 0..size_t.max-1) { if (sdpyWindowClassStr[idx] == 0) return sdpyWindowClassStr[0..idx].idup; } return null; } TrueColorImage trueColorImageFromNativeHandle(NativeWindowHandle handle, int width, int height) { throw new Exception("not implemented"); version(none) { version(X11) { auto display = XDisplayConnection.get; auto image = XGetImage(display, handle, 0, 0, width, height, (cast(c_ulong) ~0) /*AllPlanes*/, ZPixmap); // FIXME: copy that shit XDestroyImage(image); } else version(Windows) { // I just need to BitBlt that shit... BUT WAIT IT IS ALREADY IN A DIB!!!!!!! } else static assert(0); } return null; } /++ The flagship window class. SimpleWindow tries to make ordinary windows very easy to create and use without locking you out of more advanced or complex features of the underlying windowing system. For many applications, you can simply call `new SimpleWindow(some_width, some_height, "some title")` and get a suitable window to work with. From there, you can opt into additional features, like custom resizability and OpenGL support with the next two constructor arguments. Or, if you need even more, you can set a window type and customization flags with the final two constructor arguments. If none of that works for you, you can also create a window using native function calls, then wrap the window in a SimpleWindow instance by calling `new SimpleWindow(native_handle)`. Remember, though, if you do this, managing the window is still your own responsibility! Notably, you will need to destroy it yourself. +/ class SimpleWindow : CapableOfHandlingNativeEvent, CapableOfBeingDrawnUpon { /// Be warned: this can be a very slow operation /// FIXME NOT IMPLEMENTED TrueColorImage takeScreenshot() { version(Windows) return trueColorImageFromNativeHandle(impl.hwnd, width, height); else version(OSXCocoa) throw new NotYetImplementedException(); else return trueColorImageFromNativeHandle(impl.window, width, height); } version(X11) { void recreateAfterDisconnect() { if(!stateDiscarded) return; if(_parent !is null && _parent.stateDiscarded) _parent.recreateAfterDisconnect(); bool wasHidden = hidden; activeScreenPainter = null; // should already be done but just to confirm impl.createWindow(_width, _height, _title, openglMode, _parent); if(recreateAdditionalConnectionState) recreateAdditionalConnectionState(); hidden = wasHidden; stateDiscarded = false; } bool stateDiscarded; void discardConnectionState() { if(XDisplayConnection.display) impl.dispose(); // if display is already null, it is hopeless to try to destroy stuff on it anyway if(discardAdditionalConnectionState) discardAdditionalConnectionState(); stateDiscarded = true; } void delegate() discardAdditionalConnectionState; void delegate() recreateAdditionalConnectionState; } SimpleWindow _parent; bool beingOpenKeepsAppOpen = true; /++ This creates a window with the given options. The window will be visible and able to receive input as soon as you start your event loop. You may draw on it immediately after creating the window, without needing to wait for the event loop to start if you want. The constructor tries to have sane default arguments, so for many cases, you only need to provide a few of them. Params: width = the width of the window's client area, in pixels height = the height of the window's client area, in pixels title = the title of the window (seen in the title bar, taskbar, etc.). You can change it after construction with the [SimpleWindow.title\ property. opengl = [OpenGlOptions] are yes and no. If yes, it creates an OpenGL context on the window. resizable = [Resizability] has three options: $(P `allowResizing`, which allows the window to be resized by the user. The `windowResized` delegate will be called when the size is changed.) $(P `fixedSize` will not allow the user to resize the window.) $(P `automaticallyScaleIfPossible` will allow the user to resize, but will still present the original size to the API user. The contents you draw will be scaled to the size the user chose. If this scaling is not efficient, the window will be fixed size. The `windowResized` event handler will never be called. This is the default.) windowType = The type of window you want to make. customizationFlags = A way to make a window without a border, always on top, skip taskbar, and more. Do not use this if one of the pre-defined [WindowTypes], given in the `windowType` argument, is a good match for what you need. parent = the parent window, if applicable +/ this(int width = 640, int height = 480, string title = null, OpenGlOptions opengl = OpenGlOptions.no, Resizability resizable = Resizability.automaticallyScaleIfPossible, WindowTypes windowType = WindowTypes.normal, int customizationFlags = WindowFlags.normal, SimpleWindow parent = null) { this._width = width; this._height = height; this.openglMode = opengl; this.resizability = resizable; this.windowType = windowType; this.customizationFlags = customizationFlags; this._title = (title is null ? "D Application" : title); this._parent = parent; impl.createWindow(width, height, this._title, opengl, parent); if(windowType == WindowTypes.dropdownMenu || windowType == WindowTypes.popupMenu || windowType == WindowTypes.nestedChild) beingOpenKeepsAppOpen = false; } /// Same as above, except using the `Size` struct instead of separate width and height. this(Size size, string title = null, OpenGlOptions opengl = OpenGlOptions.no, Resizability resizable = Resizability.automaticallyScaleIfPossible) { this(size.width, size.height, title, opengl, resizable); } /++ Creates a window based on the given [Image]. It's client area width and height is equal to the image. (A window's client area is the drawable space inside; it excludes the title bar, etc.) Windows based on images will not be resizable and do not use OpenGL. +/ this(Image image, string title = null) { this(image.width, image.height, title); this.image = image; } /++ Wraps a native window handle with very little additional processing - notably no destruction this is incomplete so don't use it for much right now. The purpose of this is to make native windows created through the low level API (so you can use platform-specific options and other details SimpleWindow does not expose) available to the event loop wrappers. +/ this(NativeWindowHandle nativeWindow) { version(Windows) impl.hwnd = nativeWindow; else version(X11) impl.window = nativeWindow; else version(OSXCocoa) throw new NotYetImplementedException(); else static assert(0); // FIXME: set the size correctly _width = 1; _height = 1; nativeMapping[nativeWindow] = this; CapableOfHandlingNativeEvent.nativeHandleMapping[nativeWindow] = this; _suppressDestruction = true; // so it doesn't try to close } /// Experimental, do not use yet /++ Grabs exclusive input from the user until you release it with [releaseInputGrab]. Note: it is extremely rude to do this without good reason. Reasons may include doing some kind of mouse drag operation or popping up a temporary menu that should get events and will be dismissed at ease by the user clicking away. Params: keyboard = do you want to grab keyboard input? mouse = grab mouse input? confine = confine the mouse cursor to inside this window? +/ void grabInput(bool keyboard = true, bool mouse = true, bool confine = false) { static if(UsingSimpledisplayX11) { XSync(XDisplayConnection.get, 0); if(keyboard) XSetInputFocus(XDisplayConnection.get, this.impl.window, RevertToParent, CurrentTime); if(mouse) { if(auto res = XGrabPointer(XDisplayConnection.get, this.impl.window, false /* owner_events */, EventMask.PointerMotionMask // FIXME: not efficient | EventMask.ButtonPressMask | EventMask.ButtonReleaseMask /* event mask */, GrabMode.GrabModeAsync, GrabMode.GrabModeAsync, confine ? this.impl.window : None, None, CurrentTime) ) { XSync(XDisplayConnection.get, 0); import core.stdc.stdio; printf("Grab input failed %d\n", res); //throw new Exception("Grab input failed"); } else { // cool } } } else version(Windows) { // FIXME: keyboard? SetCapture(impl.hwnd); if(confine) { RECT rcClip; //RECT rcOldClip; //GetClipCursor(&rcOldClip); GetWindowRect(hwnd, &rcClip); ClipCursor(&rcClip); } } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /++ Releases the grab acquired by [grabInput]. +/ void releaseInputGrab() { static if(UsingSimpledisplayX11) { XUngrabPointer(XDisplayConnection.get, CurrentTime); } else version(Windows) { ReleaseCapture(); ClipCursor(null); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /++ Sets the input focus to this window. You shouldn't call this very often - please let the user control the input focus. +/ void focus() { static if(UsingSimpledisplayX11) { XSetInputFocus(XDisplayConnection.get, this.impl.window, RevertToParent, CurrentTime); } else version(Windows) { SetFocus(this.impl.hwnd); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /++ Requests attention from the user for this window. The typical result of this function is to change the color of the taskbar icon, though it may be tweaked on specific platforms. It is meant to unobtrusively tell the user that something relevant to them happened in the background and they should check the window when they get a chance. Upon receiving the keyboard focus, the window will automatically return to its natural state. If the window already has the keyboard focus, this function may do nothing, because the user is presumed to already be giving the window attention. Implementation_note: `requestAttention` uses the _NET_WM_STATE_DEMANDS_ATTENTION atom on X11 and the FlashWindow function on Windows. +/ void requestAttention() { if(_focused) return; version(Windows) { FLASHWINFO info; info.cbSize = info.sizeof; info.hwnd = impl.hwnd; info.dwFlags = FLASHW_TRAY; info.uCount = 1; FlashWindowEx(&info); } else version(X11) { demandingAttention = true; demandAttention(this, true); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } private bool _focused; version(X11) private bool demandingAttention; /// This will be called when WM wants to close your window (i.e. user clicked "close" icon, for example). /// You'll have to call `close()` manually if you set this delegate. version(X11) void delegate () closeQuery; /// This will be called when window visibility was changed. void delegate (bool becomesVisible) visibilityChanged; /// This will be called when window becomes visible for the first time. /// You can do OpenGL initialization here. Note that in X11 you can't call /// `setAsCurrentOpenGlContext()` right after window creation, or X11 may /// fail to send reparent and map events (hit that with proprietary NVidia drivers). private bool _visibleForTheFirstTimeCalled; void delegate () visibleForTheFirstTime; /// Returns true if the window has been closed. final @property bool closed() { return _closed; } /// Returns true if the window is focused. final @property bool focused() { return _focused; } private bool _visible; /// Returns true if the window is visible (mapped). final @property bool visible() { return _visible; } /// Closes the window. If there are no more open windows, the event loop will terminate. void close() { if (!_closed) { if (onClosing !is null) onClosing(); impl.closeWindow(); _closed = true; } } /// Alias for `hidden = false` void show() { hidden = false; } /// Alias for `hidden = true` void hide() { hidden = true; } /// Hide cursor when it enters the window. void hideCursor() { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.hideCursor(); } /// Don't hide cursor when it enters the window. void showCursor() { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.showCursor(); } /** "Warp" mouse pointer to coordinates relative to window top-left corner. Return "success" flag. * * Currently only supported on X11, so Windows implementation will return `false`. * * Note: "warping" pointer will not send any synthesised mouse events, so you probably doesn't want * to use it to move mouse pointer to some active GUI area, for example, as your window won't * receive "mouse moved here" event. */ bool warpMouse (int x, int y) { version(X11) { if (!_closed) { impl.warpMouse(x, y); return true; } } return false; } /// Send dummy window event to ping event loop. Required to process NotificationIcon on X11, for example. void sendDummyEvent () { version(X11) { if (!_closed) { impl.sendDummyEvent(); } } } /// Set window minimal size. void setMinSize (int minwidth, int minheight) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.setMinSize(minwidth, minheight); } /// Set window maximal size. void setMaxSize (int maxwidth, int maxheight) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.setMaxSize(maxwidth, maxheight); } /// Set window resize step (window size will be changed with the given granularity on supported platforms). /// Currently only supported on X11. void setResizeGranularity (int granx, int grany) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.setResizeGranularity(granx, grany); } /// Move window. void move(int x, int y) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.move(x, y); } /// ditto void move(Point p) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.move(p.x, p.y); } /++ Resize window. Note that the width and height of the window are NOT instantly updated - it waits for the window manager to approve the resize request, which means you must return to the event loop before the width and height are actually changed. +/ void resize(int w, int h) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.resize(w, h); } /// Move and resize window (this can be faster and more visually pleasant than doing it separately). void moveResize (int x, int y, int w, int h) { version(OSXCocoa) throw new NotYetImplementedException(); else if (!_closed) impl.moveResize(x, y, w, h); } private bool _hidden; /// Returns true if the window is hidden. final @property bool hidden() { return _hidden; } /// Shows or hides the window based on the bool argument. final @property void hidden(bool b) { _hidden = b; version(Windows) { ShowWindow(impl.hwnd, b ? SW_HIDE : SW_SHOW); } else version(X11) { if(b) //XUnmapWindow(impl.display, impl.window); XWithdrawWindow(impl.display, impl.window, DefaultScreen(impl.display)); else XMapWindow(impl.display, impl.window); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /++ Sets your event handlers, without entering the event loop. Useful if you have multiple windows - set the handlers on each window, then only do eventLoop on your main window. +/ void setEventHandlers(T...)(T eventHandlers) { // FIXME: add more events foreach(handler; eventHandlers) { static if(__traits(compiles, handleKeyEvent = handler)) { handleKeyEvent = handler; } else static if(__traits(compiles, handleCharEvent = handler)) { handleCharEvent = handler; } else static if(__traits(compiles, handlePulse = handler)) { handlePulse = handler; } else static if(__traits(compiles, handleMouseEvent = handler)) { handleMouseEvent = handler; } else static assert(0, "I can't use this event handler " ~ typeof(handler).stringof ~ "\nHave you tried using the delegate keyword?"); } } /// The event loop automatically returns when the window is closed /// pulseTimeout is given in milliseconds. If pulseTimeout == 0, no /// pulse timer is created. The event loop will block until an event /// arrives or the pulse timer goes off. final int eventLoop(T...)( long pulseTimeout, /// set to zero if you don't want a pulse. T eventHandlers) /// delegate list like std.concurrency.receive { setEventHandlers(eventHandlers); version(with_eventloop) { // delegates event loop to my other module version(X11) XFlush(display); import arsd.eventloop; auto handle = setInterval(handlePulse, cast(int) pulseTimeout); scope(exit) clearInterval(handle); loop(); return 0; } else version(OSXCocoa) { // FIXME if (handlePulse !is null && pulseTimeout != 0) { timer = scheduledTimer(pulseTimeout*1e-3, view, sel_registerName("simpledisplay_pulse"), null, true); } setNeedsDisplay(view, true); run(NSApp); return 0; } else { EventLoop el = EventLoop(pulseTimeout, handlePulse); return el.run(); } } /++ This lets you draw on the window (or its backing buffer) using basic 2D primitives. Be sure to call this in a limited scope because your changes will not actually appear on the window until ScreenPainter's destructor runs. Returns: an instance of [ScreenPainter], which has the drawing methods on it to draw on this window. +/ ScreenPainter draw() { return impl.getPainter(); } // This is here to implement the interface we use for various native handlers. NativeEventHandler getNativeEventHandler() { return handleNativeEvent; } // maps native window handles to SimpleWindow instances, if there are any // you shouldn't need this, but it is public in case you do in a native event handler or something public __gshared SimpleWindow[NativeWindowHandle] nativeMapping; /// Width of the window's drawable client area, in pixels. final @property int width() { return _width; } /// Height of the window's drawable client area, in pixels. final @property int height() { return _height; } private int _width; private int _height; // HACK: making the best of some copy constructor woes with refcounting private ScreenPainterImplementation* activeScreenPainter_; protected ScreenPainterImplementation* activeScreenPainter() { return activeScreenPainter_; } protected void activeScreenPainter(ScreenPainterImplementation* i) { activeScreenPainter_ = i; } private OpenGlOptions openglMode; private Resizability resizability; private WindowTypes windowType; private int customizationFlags; /// `true` if OpenGL was initialized for this window. @property bool isOpenGL () const pure nothrow @safe @nogc { version(without_opengl) return false; else return (openglMode == OpenGlOptions.yes); } @property Resizability resizingMode () const pure nothrow @safe @nogc { return resizability; } /// Original resizability. @property WindowTypes type () const pure nothrow @safe @nogc { return windowType; } /// Original window type. @property int customFlags () const pure nothrow @safe @nogc { return customizationFlags; } /// Original customization flags. /// "Lock" this window handle, to do multithreaded synchronization. You probably won't need /// to call this, as it's not recommended to share window between threads. void mtLock () { version(X11) { XLockDisplay(this.display); } } /// "Unlock" this window handle, to do multithreaded synchronization. You probably won't need /// to call this, as it's not recommended to share window between threads. void mtUnlock () { version(X11) { XUnlockDisplay(this.display); } } /// Emit a beep to get user's attention. void beep () { version(X11) { XBell(this.display, 100); } else version(Windows) { MessageBeep(0xFFFFFFFF); } } version(without_opengl) {} else { /// Put your code in here that you want to be drawn automatically when your window is uncovered. Set a handler here *before* entering your event loop any time you pass `OpenGlOptions.yes` to the constructor. Ideally, you will set this delegate immediately after constructing the `SimpleWindow`. void delegate() redrawOpenGlScene; /// This will allow you to change OpenGL vsync state. final @property void vsync (bool wait) { if (this._closed) return; // window may be closed, but timer is still firing; avoid GLXBadDrawable error version(X11) { setAsCurrentOpenGlContext(); glxSetVSync(display, impl.window, wait); } } /// Set this to `false` if you don't need to do `glFinish()` after `swapOpenGlBuffers()`. /// Note that at least NVidia proprietary driver may segfault if you will modify texture fast /// enough without waiting 'em to finish their frame bussiness. bool useGLFinish = true; // FIXME: it should schedule it for the end of the current iteration of the event loop... /// call this to invoke your delegate. It automatically sets up the context and flips the buffer. If you need to redraw the scene in response to an event, call this. void redrawOpenGlSceneNow() { version(X11) if (!this._visible) return; // no need to do this if window is invisible if (this._closed) return; // window may be closed, but timer is still firing; avoid GLXBadDrawable error if(redrawOpenGlScene is null) return; this.mtLock(); scope(exit) this.mtUnlock(); this.setAsCurrentOpenGlContext(); redrawOpenGlScene(); this.swapOpenGlBuffers(); // at least nvidia proprietary crap segfaults on exit if you won't do this and will call glTexSubImage2D() too fast; no, `glFlush()` won't work. if (useGLFinish) glFinish(); } /// Makes all gl* functions target this window until changed. This is only valid if you passed `OpenGlOptions.yes` to the constructor. void setAsCurrentOpenGlContext() { assert(openglMode == OpenGlOptions.yes); version(X11) { if(glXMakeCurrent(display, impl.window, impl.glc) == 0) throw new Exception("glXMakeCurrent"); } else version(Windows) { static if (SdpyIsUsingIVGLBinds) import iv.glbinds; // override druntime windows imports if (!wglMakeCurrent(ghDC, ghRC)) throw new Exception("wglMakeCurrent"); // let windows users suffer too } } /// Makes all gl* functions target this window until changed. This is only valid if you passed `OpenGlOptions.yes` to the constructor. /// This doesn't throw, returning success flag instead. bool setAsCurrentOpenGlContextNT() nothrow { assert(openglMode == OpenGlOptions.yes); version(X11) { return (glXMakeCurrent(display, impl.window, impl.glc) != 0); } else version(Windows) { static if (SdpyIsUsingIVGLBinds) import iv.glbinds; // override druntime windows imports return wglMakeCurrent(ghDC, ghRC) ? true : false; } } /// Releases OpenGL context, so it can be reused in, for example, different thread. This is only valid if you passed `OpenGlOptions.yes` to the constructor. /// This doesn't throw, returning success flag instead. bool releaseCurrentOpenGlContext() nothrow { assert(openglMode == OpenGlOptions.yes); version(X11) { return (glXMakeCurrent(display, 0, null) != 0); } else version(Windows) { static if (SdpyIsUsingIVGLBinds) import iv.glbinds; // override druntime windows imports return wglMakeCurrent(ghDC, null) ? true : false; } } /++ simpledisplay always uses double buffering, usually automatically. This manually swaps the OpenGL buffers. You should not need to call this yourself because simpledisplay will do it for you after calling your `redrawOpenGlScene`. Remember that this may throw an exception, which you can catch in a multithreaded application to keep your thread from dying from an unhandled exception. +/ void swapOpenGlBuffers() { assert(openglMode == OpenGlOptions.yes); version(X11) { if (!this._visible) return; // no need to do this if window is invisible if (this._closed) return; // window may be closed, but timer is still firing; avoid GLXBadDrawable error glXSwapBuffers(display, impl.window); } else version(Windows) { SwapBuffers(ghDC); } } } /++ Set the window title, which is visible on the window manager title bar, operating system taskbar, etc. --- auto window = new SimpleWindow(100, 100, "First title"); window.title = "A new title"; --- You may call this function at any time. +/ @property void title(string title) { _title = title; version(OSXCocoa) throw new NotYetImplementedException(); else impl.setTitle(title); } private string _title; /// Gets the title @property string title() { return _title; /* version(Windows) { } else version(X11) { } else static assert(0); */ } /// Set the icon that is seen in the title bar or taskbar, etc., for the user. @property void icon(MemoryImage icon) { auto tci = icon.getAsTrueColorImage(); version(Windows) { winIcon = new WindowsIcon(icon); SendMessageA(impl.hwnd, 0x0080 /*WM_SETICON*/, 0 /*ICON_SMALL*/, cast(LPARAM) winIcon.hIcon); // there is also 1 == ICON_BIG } else version(X11) { // FIXME: ensure this is correct auto display = XDisplayConnection.get; arch_ulong[] buffer; buffer ~= icon.width; buffer ~= icon.height; foreach(c; tci.imageData.colors) { arch_ulong b; b |= c.a << 24; b |= c.r << 16; b |= c.g << 8; b |= c.b; buffer ~= b; } XChangeProperty( display, impl.window, GetAtom!"_NET_WM_ICON"(display), GetAtom!"CARDINAL"(display), 32 /* bits */, 0 /*PropModeReplace*/, buffer.ptr, cast(int) buffer.length); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } version(Windows) private WindowsIcon winIcon; bool _suppressDestruction; ~this() { if(_suppressDestruction) return; impl.dispose(); } private bool _closed; // the idea here is to draw something temporary on top of the main picture e.g. a blinking cursor /* ScreenPainter drawTransiently() { return impl.getPainter(); } */ /// Draws an image on the window. This is meant to provide quick look /// of a static image generated elsewhere. @property void image(Image i) { version(Windows) { BITMAP bm; HDC hdc = GetDC(hwnd); HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmOld = SelectObject(hdcMem, i.handle); GetObject(i.handle, bm.sizeof, &bm); BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY); SelectObject(hdcMem, hbmOld); DeleteDC(hdcMem); DeleteDC(hwnd); /* RECT r; r.right = i.width; r.bottom = i.height; InvalidateRect(hwnd, &r, false); */ } else version(X11) { if(!destroyed) { if(i.usingXshm) XShmPutImage(display, cast(Drawable) window, gc, i.handle, 0, 0, 0, 0, i.width, i.height, false); else XPutImage(display, cast(Drawable) window, gc, i.handle, 0, 0, 0, 0, i.width, i.height); } } else version(OSXCocoa) { draw().drawImage(Point(0, 0), i); setNeedsDisplay(view, true); } else static assert(0); } /// What follows are the event handlers. These are set automatically /// by the eventLoop function, but are still public so you can change /// them later. wasPressed == true means key down. false == key up. /// Handles a low-level keyboard event. Settable through setEventHandlers. void delegate(KeyEvent ke) handleKeyEvent; /// Handles a higher level keyboard event - c is the character just pressed. Settable through setEventHandlers. void delegate(dchar c) handleCharEvent; /// Handles a timer pulse. Settable through setEventHandlers. void delegate() handlePulse; /// Called when the focus changes, param is if we have it (true) or are losing it (false). void delegate(bool) onFocusChange; /** Called inside `close()` method. Our window is still alive, and we can free various resources. * Sometimes it is easier to setup the delegate instead of subclassing. */ void delegate() onClosing; /** Called when we received destroy notification. At this stage we cannot do much with our window * (as it is already dead, and it's native handle cannot be used), but we still can do some * last minute cleanup. */ void delegate() onDestroyed; static if (UsingSimpledisplayX11) /** Called when Expose event comes. See Xlib manual to understand the arguments. * Return `false` if you want Simpledisplay to copy backbuffer, or `true` if you did it yourself. * You will probably never need to setup this handler, it is for very low-level stuff. * * WARNING! Xlib is multithread-locked when this handles is called! */ bool delegate(int x, int y, int width, int height, int eventsLeft) handleExpose; //version(Windows) //bool delegate(WPARAM wParam, LPARAM lParam) handleWM_PAINT; private { int lastMouseX = int.min; int lastMouseY = int.min; void mdx(ref MouseEvent ev) { if(lastMouseX == int.min || lastMouseY == int.min) { ev.dx = 0; ev.dy = 0; } else { ev.dx = ev.x - lastMouseX; ev.dy = ev.y - lastMouseY; } lastMouseX = ev.x; lastMouseY = ev.y; } } /// Mouse event handler. Settable through setEventHandlers. void delegate(MouseEvent) handleMouseEvent; /// use to redraw child widgets if you use system apis to add stuff void delegate() paintingFinished; void delegate() paintingFinishedDg() { return paintingFinished; } /// handle a resize, after it happens. You must construct the window with Resizability.allowResizing /// for this to ever happen. void delegate(int width, int height) windowResized; /** Platform specific - handle any native messages this window gets. * * Note: this is called *in addition to* other event handlers, unless you return zero indicating that you handled it. * On Windows, it takes the form of int delegate(HWND,UINT, WPARAM, LPARAM). * On X11, it takes the form of int delegate(XEvent). * IMPORTANT: it used to be static in old versions of simpledisplay.d, but I always used * it as if it wasn't static... so now I just fixed it so it isn't anymore. **/ NativeEventHandler handleNativeEvent; /// This is the same as handleNativeEvent, but static so it can hook ALL events in the loop. /// If you used to use handleNativeEvent depending on it being static, just change it to use /// this instead and it will work the same way. __gshared NativeEventHandler handleNativeGlobalEvent; // private: /// The native implementation is available, but you shouldn't use it unless you are /// familiar with the underlying operating system, don't mind depending on it, and /// know simpledisplay.d's internals too. It is virtually private; you can hopefully /// do what you need to do with handleNativeEvent instead. /// /// This is likely to eventually change to be just a struct holding platform-specific /// handles instead of a template mixin at some point because I'm not happy with the /// code duplication here (ironically). mixin NativeSimpleWindowImplementation!() impl; /** This is in-process one-way (from anything to window) event sending mechanics. It is thread-safe, so it can be used in multi-threaded applications to send, for example, "wake up and repaint" events when thread completed some operation. This will allow to avoid using timer pulse to check events with synchronization, 'cause event handler will be called in UI thread. You can stop guessing which pulse frequency will be enough for your app. Note that events handlers may be called in arbitrary order, i.e. last registered handler can be called first, and vice versa. */ public: /** Is our custom event queue empty? Can be used in simple cases to prevent * "spamming" window with events it can't cope with. * It is safe to call this from non-UI threads. */ @property bool eventQueueEmpty() () { synchronized(this) { foreach (const ref o; eventQueue[0..eventQueueUsed]) if (!o.doProcess) return true; } return false; } /** Does our custom event queue contains at least one with the given type? * Can be used in simple cases to prevent "spamming" window with events * it can't cope with. * It is safe to call this from non-UI threads. */ @property bool eventQueued(ET:Object) () { synchronized(this) { foreach (const ref o; eventQueue[0..eventQueueUsed]) { if (!o.doProcess) { if (cast(ET)(o.evt)) return true; } } } return false; } /** Add listener for custom event. Can be used like this: * * --------------------- * auto eid = win.addEventListener((MyStruct evt) { ... }); * ... * win.removeEventListener(eid); * --------------------- * * Returns: 0 on failure (should never happen, so ignore it) */ uint addEventListener(ET:Object) (void delegate (ET) dg) { if (dg is null) return 0; // ignore empty handlers synchronized(this) { //FIXME: abort on overflow? if (++lastUsentHandlerId == 0) { --lastUsentHandlerId; return 0; } // alas, can't register more events. at all. eventHandlers[lastUsentHandlerId] = delegate (Object o) { if (auto co = cast(ET)o) { try { dg(co); } catch (Exception) { // sorry! } return true; } return false; }; return lastUsentHandlerId; } } /// Remove event listener. It is safe to pass invalid event id here. void removeEventListener() (uint id) { synchronized(this) { if (id) eventHandlers.remove(id); } } /// Post event to queue. It is safe to call this from non-UI threads. /// If `timeoutmsecs` is greater than zero, the event will be delayed for at least `timeoutmsecs` milliseconds. bool postTimeout(ET:Object) (ET evt, uint timeoutmsecs) { if (evt is null) return false; // ignore empty events, they can't be handled anyway if (this.closed) return false; // closed windows can't handle events // add events even if no event FD/event object created yet synchronized(this) { if (eventQueueUsed == uint.max) return false; // just in case if (eventQueueUsed < eventQueue.length) { eventQueue[eventQueueUsed++] = QueuedEvent(evt, timeoutmsecs); } else { auto optr = eventQueue.ptr; eventQueue ~= QueuedEvent(evt, timeoutmsecs); ++eventQueueUsed; assert(eventQueueUsed == eventQueue.length); if (eventQueue.ptr !is optr) { import core.memory : GC; if (eventQueue.ptr is GC.addrOf(eventQueue.ptr)) GC.setAttr(eventQueue.ptr, GC.BlkAttr.NO_INTERIOR); } } if (!eventWakeUp()) { // can't wake up event processor, so there is no reason to keep the event eventQueue[--eventQueueUsed].evt = null; return false; } return true; } } /// Post event to queue. It is safe to call this from non-UI threads. bool postEvent(ET:Object) (ET evt) { return postTimeout!ET(evt, 0); } private: private import core.time : MonoTime; version(X11) { __gshared int customEventFD = -1; } else version(Windows) { __gshared HANDLE customEventH = null; } // wake up event processor bool eventWakeUp () { version(X11) { import core.sys.posix.unistd : write; ulong n = 1; if (customEventFD >= 0) write(customEventFD, &n, n.sizeof); return true; } else version(Windows) { if (customEventH !is null) SetEvent(customEventH); return true; } else { // not implemented for other OSes return false; } } static struct QueuedEvent { Object evt; bool timed = false; MonoTime hittime = MonoTime.zero; bool doProcess = false; // process event at the current iteration (internal flag) this (Object aevt, uint toutmsecs) { evt = aevt; if (toutmsecs > 0) { import core.time : msecs; timed = true; hittime = MonoTime.currTime+toutmsecs.msecs; } } } alias CustomEventHandler = bool delegate (Object o) nothrow; uint lastUsentHandlerId; CustomEventHandler[uint] eventHandlers; QueuedEvent[] eventQueue; uint eventQueueUsed; // to avoid `.assumeSafeAppend` and length changes // process queued events and call custom event handlers // this will not process events posted from called handlers (such events are postponed for the next iteration) void processCustomEvents () { // don't lock and re-lock on each iteration, or other threads may spam event queue synchronized(this) { uint ecount = eventQueueUsed; // user may want to post new events from an event handler; process 'em on next iteration auto ctt = MonoTime.currTime; // mark events to process (this is required for `eventQueued()`) foreach (ref qe; eventQueue[0..ecount]) { if (qe.timed) { qe.doProcess = (qe.hittime <= ctt); } else { qe.doProcess = true; } } // process marked events uint efree = 0; // non-processed events will be put at this index foreach (immutable eidx; 0..ecount) { import core.stdc.string : memmove; if (!eventQueue[eidx].doProcess) { // skip this event assert(efree <= eidx); if (efree != eidx) { // copy this event to queue start eventQueue[efree] = eventQueue[eidx]; eventQueue[eidx].evt = null; // just in case } ++efree; continue; } auto evt = eventQueue[eidx].evt; eventQueue[eidx].evt = null; // in case event handler will hit GC if (evt is null) continue; // just in case // try all handlers; this can be slow, but meh... foreach (ref evhan; eventHandlers.byValue) { if (evhan !is null) evhan(evt); } } // move all unprocessed events to queue top; efree holds first "free index" foreach (immutable eidx; ecount..eventQueueUsed) { assert(efree <= eidx); if (efree != eidx) eventQueue[efree] = eventQueue[eidx]; ++efree; } eventQueueUsed = efree; // wake up event processor on next event loop iteration if we have more queued events foreach (const ref qe; eventQueue[0..eventQueueUsed]) { if (!qe.timed) { eventWakeUp(); break; } } } } // for all windows in nativeMapping static void processAllCustomEvents () { foreach (SimpleWindow sw; SimpleWindow.nativeMapping.byValue) { if (sw is null || sw.closed) continue; sw.processCustomEvents(); } } // 0: infinite (i.e. no scheduled events in queue) uint eventQueueTimeoutMSecs () { synchronized(this) { if (eventQueueUsed == 0) return 0; uint res = int.max; auto ctt = MonoTime.currTime; foreach (const ref qe; eventQueue[0..eventQueueUsed]) { if (qe.evt is null) assert(0, "WUTAFUUUUUUU..."); // the thing that should not be. ABSOLUTELY! (c) if (qe.doProcess) continue; // just in case if (!qe.timed) return 1; // minimal if (qe.hittime <= ctt) return 1; // minimal auto tms = (qe.hittime-ctt).total!"msecs"; if (tms < 1) tms = 1; // safety net if (tms >= int.max) tms = int.max-1; // and another safety net if (res > tms) res = cast(uint)tms; } return (res >= int.max ? 0 : res); } } // for all windows in nativeMapping static uint eventAllQueueTimeoutMSecs () { uint res = uint.max; foreach (SimpleWindow sw; SimpleWindow.nativeMapping.byValue) { if (sw is null || sw.closed) continue; uint to = sw.eventQueueTimeoutMSecs(); if (to && to < res) { res = to; if (to == 1) break; // can't have less than this } } return (res >= int.max ? 0 : res); } } /++ If you want to get more control over the event loop, you can use this. Typically though, you can just call [SimpleWindow.eventLoop]. +/ struct EventLoop { @disable this(); static EventLoop get() { return EventLoop(0, null); } this(long pulseTimeout, void delegate() handlePulse) { if(impl is null) impl = new EventLoopImpl(pulseTimeout, handlePulse); impl.refcount++; } ~this() { if(impl is null) return; impl.refcount--; if(impl.refcount == 0) impl.dispose(); } this(this) { if(impl is null) return; impl.refcount++; } int run(bool delegate() whileCondition = null) { assert(impl !is null); impl.notExited = true; return impl.run(whileCondition); } void exit() { assert(impl !is null); impl.notExited = false; } static EventLoopImpl* impl; } struct EventLoopImpl { int refcount; bool notExited = true; version(linux) { static import ep = core.sys.linux.epoll; static import unix = core.sys.posix.unistd; static import err = core.stdc.errno; import core.sys.linux.timerfd; } version(X11) { int pulseFd = -1; version(linux) ep.epoll_event[16] events = void; } else version(Windows) { Timer pulser; HANDLE[] handles; } /// "Lock" this window handle, to do multithreaded synchronization. You probably won't need /// to call this, as it's not recommended to share window between threads. void mtLock () { version(X11) { XLockDisplay(this.display); } } version(X11) auto display() { return XDisplayConnection.get; } /// "Unlock" this window handle, to do multithreaded synchronization. You probably won't need /// to call this, as it's not recommended to share window between threads. void mtUnlock () { version(X11) { XUnlockDisplay(this.display); } } version(with_eventloop) void initialize(long pulseTimeout) {} else void initialize(long pulseTimeout) { version(Windows) { if(pulseTimeout) pulser = new Timer(cast(int) pulseTimeout, handlePulse); if (customEventH is null) { customEventH = CreateEvent(null, FALSE/*autoreset*/, FALSE/*initial state*/, null); if (customEventH !is null) { handles ~= customEventH; } else { // this is something that should not be; better be safe than sorry throw new Exception("can't create eventfd for custom event processing"); } } SimpleWindow.processAllCustomEvents(); // process events added before event object creation } version(linux) { prepareEventLoop(); { auto display = XDisplayConnection.get; // adding Xlib file ep.epoll_event ev = void; { import core.stdc.string : memset; memset(&ev, 0, ev.sizeof); } // this makes valgrind happy ev.events = ep.EPOLLIN; ev.data.fd = display.fd; //import std.conv; if(ep.epoll_ctl(epollFd, ep.EPOLL_CTL_ADD, display.fd, &ev) == -1) throw new Exception("add x fd");// ~ to!string(epollFd)); displayFd = display.fd; } if(pulseTimeout) { pulseFd = timerfd_create(CLOCK_MONOTONIC, 0); if(pulseFd == -1) throw new Exception("pulse timer create failed"); itimerspec value; value.it_value.tv_sec = cast(int) (pulseTimeout / 1000); value.it_value.tv_nsec = (pulseTimeout % 1000) * 1000_000; value.it_interval.tv_sec = cast(int) (pulseTimeout / 1000); value.it_interval.tv_nsec = (pulseTimeout % 1000) * 1000_000; if(timerfd_settime(pulseFd, 0, &value, null) == -1) throw new Exception("couldn't make pulse timer"); ep.epoll_event ev = void; { import core.stdc.string : memset; memset(&ev, 0, ev.sizeof); } // this makes valgrind happy ev.events = ep.EPOLLIN; ev.data.fd = pulseFd; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_ADD, pulseFd, &ev); } // eventfd for custom events if (customEventFD == -1) { customEventFD = eventfd(0, 0); if (customEventFD >= 0) { ep.epoll_event ev = void; { import core.stdc.string : memset; memset(&ev, 0, ev.sizeof); } // this makes valgrind happy ev.events = ep.EPOLLIN; ev.data.fd = customEventFD; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_ADD, customEventFD, &ev); } else { // this is something that should not be; better be safe than sorry throw new Exception("can't create eventfd for custom event processing"); } } } SimpleWindow.processAllCustomEvents(); // process events added before event FD creation version(linux) { this.mtLock(); scope(exit) this.mtUnlock(); XPending(display); // no, really } disposed = false; } bool disposed = true; version(X11) int displayFd = -1; version(with_eventloop) void dispose() {} else void dispose() { disposed = true; version(X11) { if(pulseFd != -1) { import unix = core.sys.posix.unistd; unix.close(pulseFd); pulseFd = -1; } version(linux) if(displayFd != -1) { // clean up xlib fd when we exit, in case we come back later e.g. X disconnect and reconnect with new FD, don't want to still keep the old one around ep.epoll_event ev = void; { import core.stdc.string : memset; memset(&ev, 0, ev.sizeof); } // this makes valgrind happy ev.events = ep.EPOLLIN; ev.data.fd = displayFd; //import std.conv; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_DEL, displayFd, &ev); displayFd = -1; } } else version(Windows) { if(pulser !is null) pulser.destroy(); if (customEventH !is null) { CloseHandle(customEventH); customEventH = null; } } } this(long pulseTimeout, void delegate() handlePulse) { this.pulseTimeout = pulseTimeout; this.handlePulse = handlePulse; initialize(pulseTimeout); } private long pulseTimeout; void delegate() handlePulse; ~this() { dispose(); } version(X11) ref int customEventFD() { return SimpleWindow.customEventFD; } version(Windows) ref auto customEventH() { return SimpleWindow.customEventH; } version(with_eventloop) { int loopHelper(bool delegate() whileCondition) { // FIXME: whileCondition import arsd.eventloop; loop(); return 0; } } else int loopHelper(bool delegate() whileCondition) { version(X11) { bool done = false; XFlush(display); insideXEventLoop = true; scope(exit) insideXEventLoop = false; version(linux) { while(!done && (whileCondition is null || whileCondition() == true) && notExited) { bool forceXPending = false; auto wto = SimpleWindow.eventAllQueueTimeoutMSecs(); // eh... some events may be queued for "squashing" (or "late delivery"), so we have to do the following magic { this.mtLock(); scope(exit) this.mtUnlock(); if (XEventsQueued(this.display, QueueMode.QueuedAlready)) { forceXPending = true; if (wto > 10 || wto <= 0) wto = 10; } // so libX event loop will be able to do it's work } //{ import core.stdc.stdio; printf("*** wto=%d; force=%d\n", wto, (forceXPending ? 1 : 0)); } auto nfds = ep.epoll_wait(epollFd, events.ptr, events.length, (wto == 0 || wto >= int.max ? -1 : cast(int)wto)); if(nfds == -1) { if(err.errno == err.EINTR) { continue; // interrupted by signal, just try again } throw new Exception("epoll wait failure"); } SimpleWindow.processAllCustomEvents(); // anyway //version(sdddd) { import std.stdio; writeln("nfds=", nfds, "; [0]=", events[0].data.fd); } foreach(idx; 0 .. nfds) { if(done) break; auto fd = events[idx].data.fd; assert(fd != -1); // should never happen cuz the api doesn't do that but better to assert than assume. auto flags = events[idx].events; if(flags & ep.EPOLLIN) { if(fd == display.fd) { version(sdddd) { import std.stdio; writeln("X EVENT PENDING!"); } this.mtLock(); scope(exit) this.mtUnlock(); while(!done && XPending(display)) { done = doXNextEvent(this.display); } forceXPending = false; } else if(fd == pulseFd) { long expirationCount; // if we go over the count, I ignore it because i don't want the pulse to go off more often and eat tons of cpu time... handlePulse(); // read just to clear the buffer so poll doesn't trigger again // BTW I read AFTER the pulse because if the pulse handler takes // a lot of time to execute, we don't want the app to get stuck // in a loop of timer hits without a chance to do anything else // // IOW handlePulse happens at most once per pulse interval. unix.read(pulseFd, &expirationCount, expirationCount.sizeof); } else if (fd == customEventFD) { // we have some custom events; process 'em import core.sys.posix.unistd : read; ulong n; read(customEventFD, &n, n.sizeof); // reset counter value to zero again //{ import core.stdc.stdio; printf("custom event! count=%u\n", eventQueueUsed); } //SimpleWindow.processAllCustomEvents(); } else { // some other timer version(sdddd) { import std.stdio; writeln("unknown fd: ", fd); } if(Timer* t = fd in Timer.mapping) (*t).trigger(); if(PosixFdReader* pfr = fd in PosixFdReader.mapping) (*pfr).ready(flags); // or i might add support for other FDs too // but for now it is just timer // (if you want other fds, use arsd.eventloop and compile with -version=with_eventloop), it offers a fuller api for arbitrary stuff. } } if(flags & ep.EPOLLIN) { if(PosixFdReader* pfr = fd in PosixFdReader.mapping) (*pfr).ready(flags); } /+ } else { // not interested in OUT, we are just reading here. // // error or hup might also be reported // but it shouldn't here since we are only // using a few types of FD and Xlib will report // if it dies. // so instead of thoughtfully handling it, I'll // just throw. for now at least throw new Exception("epoll did something else"); } +/ } // if we won't call `XPending()` here, libX may delay some internal event delivery. // i.e. we HAVE to repeatedly call `XPending()` even if libX fd wasn't signalled! if (!done && forceXPending) { this.mtLock(); scope(exit) this.mtUnlock(); //{ import core.stdc.stdio; printf("*** queued: %d\n", XEventsQueued(this.display, QueueMode.QueuedAlready)); } while(!done && XPending(display)) { done = doXNextEvent(this.display); } } } } else { // Generic fallback: yes to simple pulse support, // but NO timer support! // FIXME: we could probably support the POSIX timer_create // signal-based option, but I'm in no rush to write it since // I prefer the fd-based functions. while (!done && (whileCondition is null || whileCondition() == true) && notExited) { while(!done && (pulseTimeout == 0 || (XPending(display) > 0))) { this.mtLock(); scope(exit) this.mtUnlock(); done = doXNextEvent(this.display); } if(!done && pulseTimeout !=0) { if(handlePulse !is null) handlePulse(); import core.thread; Thread.sleep(dur!"msecs"(pulseTimeout)); } } } } version(Windows) { int ret = -1; MSG message; while(ret != 0 && (whileCondition is null || whileCondition() == true) && notExited) { auto wto = SimpleWindow.eventAllQueueTimeoutMSecs(); auto waitResult = MsgWaitForMultipleObjectsEx( cast(int) handles.length, handles.ptr, (wto == 0 ? INFINITE : wto), /* timeout */ 0x04FF, /* QS_ALLINPUT */ 0x0002 /* MWMO_ALERTABLE */ | 0x0004 /* MWMO_INPUTAVAILABLE */); SimpleWindow.processAllCustomEvents(); // anyway enum WAIT_OBJECT_0 = 0; if(waitResult >= WAIT_OBJECT_0 && waitResult < handles.length + WAIT_OBJECT_0) { // process handles[waitResult - WAIT_OBJECT_0]; } else if(waitResult == handles.length + WAIT_OBJECT_0) { // message ready if(PeekMessage(&message, null, 0, 0, PM_NOREMOVE)) // need to peek since sometimes MsgWaitForMultipleObjectsEx returns even though GetMessage can block. tbh i don't fully understand it. if((ret = GetMessage(&message, null, 0, 0)) != 0) { if(ret == -1) throw new Exception("GetMessage failed"); TranslateMessage(&message); DispatchMessage(&message); } } else if(waitResult == 0x000000C0L /* WAIT_IO_COMPLETION */) { SleepEx(0, true); // I call this to give it a chance to do stuff like async io } else if(waitResult == 258L /* WAIT_TIMEOUT */) { // timeout, should never happen since we aren't using it } else if(waitResult == 0xFFFFFFFF) { // failed throw new Exception("MsgWaitForMultipleObjectsEx failed"); } else { // idk.... } } // return message.wParam; return 0; } return 0; } int run(bool delegate() whileCondition = null) { if(disposed) initialize(this.pulseTimeout); version(X11) { try { return loopHelper(whileCondition); } catch(XDisconnectException e) { if(e.userRequested) { foreach(item; CapableOfHandlingNativeEvent.nativeHandleMapping) item.discardConnectionState(); XCloseDisplay(XDisplayConnection.display); } XDisplayConnection.display = null; this.dispose(); throw e; } } else { return loopHelper(whileCondition); } } } /++ Provides an icon on the system notification area (also known as the system tray). NotificationAreaIcon on Windows assumes you are on Windows Vista or later. If this is wrong, pass -version=WindowsXP to dmd when compiling and it will use the older version. +/ version(OSXCocoa) {} else // NotYetImplementedException class NotificationAreaIcon : CapableOfHandlingNativeEvent { version(X11) { void recreateAfterDisconnect() { stateDiscarded = false; clippixmap = None; throw new Exception("NOT IMPLEMENTED"); } bool stateDiscarded; void discardConnectionState() { stateDiscarded = true; } } version(X11) { Image img; NativeEventHandler getNativeEventHandler() { return delegate int(XEvent e) { switch(e.type) { case EventType.Expose: //case EventType.VisibilityNotify: redraw(); break; case EventType.ClientMessage: version(sddddd) { import std.stdio; writeln("\t", e.xclient.message_type == GetAtom!("_XEMBED")(XDisplayConnection.get)); writeln("\t", e.xclient.format); writeln("\t", e.xclient.data.l); } break; case EventType.ButtonPress: auto event = e.xbutton; if (onClick !is null || onClickEx !is null) { MouseButton mb = cast(MouseButton)0; switch (event.button) { case 1: mb = MouseButton.left; break; // left case 2: mb = MouseButton.middle; break; // middle case 3: mb = MouseButton.right; break; // right case 4: mb = MouseButton.wheelUp; break; // scroll up case 5: mb = MouseButton.wheelDown; break; // scroll down case 6: break; // idk case 7: break; // idk case 8: mb = MouseButton.backButton; break; case 9: mb = MouseButton.forwardButton; break; default: } if (mb) { try { onClick()(mb); } catch (Exception) {} if (onClickEx !is null) try { onClickEx(event.x_root, event.y_root, mb, cast(ModifierState)event.state); } catch (Exception) {} } } break; case EventType.EnterNotify: if (onEnter !is null) { onEnter(e.xcrossing.x_root, e.xcrossing.y_root, cast(ModifierState)e.xcrossing.state); } break; case EventType.LeaveNotify: if (onLeave !is null) try { onLeave(); } catch (Exception) {} break; case EventType.DestroyNotify: active = false; CapableOfHandlingNativeEvent.nativeHandleMapping.remove(nativeHandle); break; case EventType.ConfigureNotify: auto event = e.xconfigure; this.width = event.width; this.height = event.height; //import std.stdio; writeln(width, " x " , height, " @ ", event.x, " ", event.y); redraw(); break; default: return 1; } return 1; }; } /* private */ void hideBalloon() { balloon.close(); version(with_timer) timer.destroy(); balloon = null; version(with_timer) timer = null; } void redraw() { if (!active) return; auto display = XDisplayConnection.get; auto gc = DefaultGC(display, DefaultScreen(display)); XClearWindow(display, nativeHandle); XSetClipMask(display, gc, clippixmap); XSetForeground(display, gc, cast(uint) 0 << 16 | cast(uint) 0 << 8 | cast(uint) 0); XFillRectangle(display, nativeHandle, gc, 0, 0, width, height); if (img is null) { XSetForeground(display, gc, cast(uint) 0 << 16 | cast(uint) 127 << 8 | cast(uint) 0); XFillArc(display, nativeHandle, gc, width / 4, height / 4, width * 2 / 4, height * 2 / 4, 0 * 64, 360 * 64); } else { int dx = 0; int dy = 0; if(width > img.width) dx = (width - img.width) / 2; if(height > img.height) dy = (height - img.height) / 2; XSetClipOrigin(display, gc, dx, dy); if (img.usingXshm) XShmPutImage(display, cast(Drawable)nativeHandle, gc, img.handle, 0, 0, dx, dy, img.width, img.height, false); else XPutImage(display, cast(Drawable)nativeHandle, gc, img.handle, 0, 0, dx, dy, img.width, img.height); } XSetClipMask(display, gc, None); flushGui(); } static Window getTrayOwner() { auto display = XDisplayConnection.get; auto i = cast(int) DefaultScreen(display); if(i < 10 && i >= 0) { static Atom atom; if(atom == None) atom = XInternAtom(display, cast(char*) ("_NET_SYSTEM_TRAY_S"~(cast(char) (i + '0')) ~ '\0').ptr, false); return XGetSelectionOwner(display, atom); } return None; } static void sendTrayMessage(arch_long message, arch_long d1, arch_long d2, arch_long d3) { auto to = getTrayOwner(); auto display = XDisplayConnection.get; XEvent ev; ev.xclient.type = EventType.ClientMessage; ev.xclient.window = to; ev.xclient.message_type = GetAtom!("_NET_SYSTEM_TRAY_OPCODE", true)(display); ev.xclient.format = 32; ev.xclient.data.l[0] = CurrentTime; ev.xclient.data.l[1] = message; ev.xclient.data.l[2] = d1; ev.xclient.data.l[3] = d2; ev.xclient.data.l[4] = d3; XSendEvent(XDisplayConnection.get, to, false, EventMask.NoEventMask, &ev); } private void createXWin () { auto trayOwner = getTrayOwner(); if(trayOwner == None) throw new Exception("No notification area found"); // create window auto display = XDisplayConnection.get; Visual* v = cast(Visual*) CopyFromParent; /+ auto visualProp = getX11PropertyData(trayOwner, GetAtom!("_NET_SYSTEM_TRAY_VISUAL", true)(display)); if(visualProp !is null) { c_ulong[] info = cast(c_ulong[]) visualProp; if(info.length == 1) { auto vid = info[0]; int returned; XVisualInfo t; t.visualid = vid; auto got = XGetVisualInfo(display, VisualIDMask, &t, &returned); if(got !is null) { if(returned == 1) { v = got.visual; import std.stdio; writeln("using special visual ", *got); } XFree(got); } } } +/ auto nativeWindow = XCreateWindow(display, RootWindow(display, DefaultScreen(display)), 0, 0, 16, 16, 0, 24, InputOutput, v, 0, null); assert(nativeWindow); XSetWindowBackgroundPixmap(display, nativeWindow, 1 /* ParentRelative */); nativeHandle = nativeWindow; ///+ arch_ulong[2] info; info[0] = 0; info[1] = 1; string title = this.name is null ? "simpledisplay.d program" : this.name; auto XA_UTF8 = XInternAtom(display, "UTF8_STRING".ptr, false); auto XA_NETWM_NAME = XInternAtom(display, "_NET_WM_NAME".ptr, false); XChangeProperty(display, nativeWindow, XA_NETWM_NAME, XA_UTF8, 8, PropModeReplace, title.ptr, cast(uint)title.length); XChangeProperty( display, nativeWindow, GetAtom!("_XEMBED_INFO", true)(display), GetAtom!("_XEMBED_INFO", true)(display), 32 /* bits */, 0 /*PropModeReplace*/, info.ptr, 2); import core.sys.posix.unistd; arch_ulong pid = getpid(); XChangeProperty( display, nativeWindow, GetAtom!("_NET_WM_PID", true)(display), XA_CARDINAL, 32 /* bits */, 0 /*PropModeReplace*/, &pid, 1); updateNetWmIcon(); if (sdpyWindowClassStr !is null && sdpyWindowClassStr[0]) { //{ import core.stdc.stdio; printf("winclass: [%s]\n", sdpyWindowClassStr); } XClassHint klass; XWMHints wh; XSizeHints size; klass.res_name = sdpyWindowClassStr; klass.res_class = sdpyWindowClassStr; XSetWMProperties(display, nativeWindow, null, null, null, 0, &size, &wh, &klass); } // believe it or not, THIS is what xfce needed for the 9999 issue XSizeHints sh; c_long spr; XGetWMNormalHints(display, nativeWindow, &sh, &spr); sh.flags |= PMaxSize | PMinSize; // FIXME maybe nicer resizing sh.min_width = 16; sh.min_height = 16; sh.max_width = 16; sh.max_height = 16; XSetWMNormalHints(display, nativeWindow, &sh); //+/ XSelectInput(display, nativeWindow, EventMask.ButtonPressMask | EventMask.ExposureMask | EventMask.StructureNotifyMask | EventMask.VisibilityChangeMask | EventMask.EnterWindowMask | EventMask.LeaveWindowMask); sendTrayMessage(SYSTEM_TRAY_REQUEST_DOCK, nativeWindow, 0, 0); CapableOfHandlingNativeEvent.nativeHandleMapping[nativeWindow] = this; active = true; } void updateNetWmIcon() { if(img is null) return; auto display = XDisplayConnection.get; // FIXME: ensure this is correct arch_ulong[] buffer; auto imgMi = img.toTrueColorImage; buffer ~= imgMi.width; buffer ~= imgMi.height; foreach(c; imgMi.imageData.colors) { arch_ulong b; b |= c.a << 24; b |= c.r << 16; b |= c.g << 8; b |= c.b; buffer ~= b; } XChangeProperty( display, nativeHandle, GetAtom!"_NET_WM_ICON"(display), GetAtom!"CARDINAL"(display), 32 /* bits */, 0 /*PropModeReplace*/, buffer.ptr, cast(int) buffer.length); } private SimpleWindow balloon; version(with_timer) private Timer timer; private Window nativeHandle; private Pixmap clippixmap = None; private int width = 16; private int height = 16; private bool active = false; void delegate (int x, int y, MouseButton button, ModifierState mods) onClickEx; /// x and y are globals (relative to root window). X11 only. void delegate (int x, int y, ModifierState mods) onEnter; /// x and y are global window coordinates. X11 only. void delegate () onLeave; /// X11 only. @property bool closed () const pure nothrow @safe @nogc { return !active; } /// /// X11 only. Get global window coordinates and size. This can be used to show various notifications. void getWindowRect (out int x, out int y, out int width, out int height) { if (!active) { width = 1; height = 1; return; } // 1: just in case Window dummyw; auto dpy = XDisplayConnection.get; //XWindowAttributes xwa; //XGetWindowAttributes(dpy, nativeHandle, &xwa); //XTranslateCoordinates(dpy, nativeHandle, RootWindow(dpy, DefaultScreen(dpy)), xwa.x, xwa.y, &x, &y, &dummyw); XTranslateCoordinates(dpy, nativeHandle, RootWindow(dpy, DefaultScreen(dpy)), x, y, &x, &y, &dummyw); width = this.width; height = this.height; } } /+ What I actually want from this: * set / change: icon, tooltip * handle: mouse click, right click * show: notification bubble. +/ version(Windows) { WindowsIcon win32Icon; HWND hwnd; NOTIFYICONDATAW data; NativeEventHandler getNativeEventHandler() { return delegate int(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { if(msg == WM_USER) { auto event = LOWORD(lParam); auto iconId = HIWORD(lParam); //auto x = GET_X_LPARAM(wParam); //auto y = GET_Y_LPARAM(wParam); switch(event) { case WM_LBUTTONDOWN: onClick()(MouseButton.left); break; case WM_RBUTTONDOWN: onClick()(MouseButton.right); break; case WM_MBUTTONDOWN: onClick()(MouseButton.middle); break; case WM_MOUSEMOVE: // sent, we could use it. break; case WM_MOUSEWHEEL: // NOT SENT break; //case NIN_KEYSELECT: //case NIN_SELECT: break; default: {} } } return 0; }; } enum NIF_SHOWTIP = 0x00000080; private static struct NOTIFYICONDATAW { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; WCHAR[128] szTip; DWORD dwState; DWORD dwStateMask; WCHAR[256] szInfo; union { UINT uTimeout; UINT uVersion; } WCHAR[64] szInfoTitle; DWORD dwInfoFlags; GUID guidItem; HICON hBalloonIcon; } } /++ Note that on Windows, only left, right, and middle buttons are sent. Mouse wheel buttons are NOT set, so don't rely on those events if your program is meant to be used on Windows too. +/ this(string name, MemoryImage icon, void delegate(MouseButton button) onClick) { // The canonical constructor for Windows needs the MemoryImage, so it is here, // but on X, we need an Image, so its canonical ctor is there. They should // forward to each other though. version(X11) { this.name = name; this.onClick = onClick; createXWin(); this.icon = icon; } else version(Windows) { this.onClick = onClick; this.win32Icon = new WindowsIcon(icon); HINSTANCE hInstance = cast(HINSTANCE) GetModuleHandle(null); static bool registered = false; if(!registered) { WNDCLASSEX wc; wc.cbSize = wc.sizeof; wc.hInstance = hInstance; wc.lpfnWndProc = &WndProc; wc.lpszClassName = "arsd_simpledisplay_notification_icon"w.ptr; if(!RegisterClassExW(&wc)) throw new Exception("RegisterClass ");// ~ to!string(GetLastError())); } this.hwnd = CreateWindowW("arsd_simpledisplay_notification_icon"w.ptr, "test"w.ptr /* name */, 0 /* dwStyle */, 0, 0, 0, 0, HWND_MESSAGE, null, hInstance, null); if(hwnd is null) throw new Exception("CreateWindow"); data.cbSize = data.sizeof; data.hWnd = hwnd; data.uID = cast(uint) cast(void*) this; data.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP | NIF_STATE | NIF_SHOWTIP /* use default tooltip, for now. */; // NIF_INFO means show balloon data.uCallbackMessage = WM_USER; data.hIcon = this.win32Icon.hIcon; data.szTip = ""; // FIXME data.dwState = 0; // NIS_HIDDEN; // windows vista data.dwStateMask = NIS_HIDDEN; // windows vista data.uVersion = 4; // NOTIFYICON_VERSION_4; // Windows Vista and up Shell_NotifyIcon(NIM_ADD, cast(NOTIFYICONDATA*) &data); CapableOfHandlingNativeEvent.nativeHandleMapping[this.hwnd] = this; } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /// ditto this(string name, Image icon, void delegate(MouseButton button) onClick) { version(X11) { this.onClick = onClick; this.name = name; createXWin(); this.icon = icon; } else version(Windows) { this(name, icon is null ? null : icon.toTrueColorImage(), onClick); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } version(X11) { /++ X-specific extension (for now at least) +/ this(string name, MemoryImage icon, void delegate(int x, int y, MouseButton button, ModifierState mods) onClickEx) { this.onClickEx = onClickEx; createXWin(); if (icon !is null) this.icon = icon; } /// ditto this(string name, Image icon, void delegate(int x, int y, MouseButton button, ModifierState mods) onClickEx) { this.onClickEx = onClickEx; createXWin(); this.icon = icon; } } private void delegate (MouseButton button) onClick_; /// @property final void delegate(MouseButton) onClick() { if(onClick_ is null) onClick_ = delegate void(MouseButton) {}; return onClick_; } /// ditto @property final void onClick(void delegate(MouseButton) handler) { // I made this a property setter so we can wrap smaller arg // delegates and just forward all to onClickEx or something. onClick_ = handler; } string name_; @property void name(string n) { name_ = n; } @property string name() { return name_; } /// @property void icon(MemoryImage i) { version(X11) { if (!active) return; if (i !is null) { this.img = Image.fromMemoryImage(i); this.clippixmap = transparencyMaskFromMemoryImage(i, nativeHandle); //import std.stdio; writeln("using pixmap ", clippixmap); updateNetWmIcon(); redraw(); } else { if (this.img !is null) { this.img = null; redraw(); } } } else version(Windows) { this.win32Icon = new WindowsIcon(i); data.uFlags = NIF_ICON; data.hIcon = this.win32Icon.hIcon; Shell_NotifyIcon(NIM_MODIFY, cast(NOTIFYICONDATA*) &data); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /// ditto @property void icon (Image i) { version(X11) { if (!active) return; if (i !is img) { img = i; redraw(); } } else version(Windows) { this.icon(i is null ? null : i.toTrueColorImage()); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /++ Shows a balloon notification. You can only show one balloon at a time, if you call it twice while one is already up, the first balloon will be replaced. The user is free to block notifications and they will automatically disappear after a timeout period. Params: title = Title of the notification. Must be 40 chars or less or the OS may truncate it. message = The message to pop up. Must be 220 chars or less or the OS may truncate it. icon = the icon to display with the notification. If null, it uses your existing icon. onclick = delegate called if the user clicks the balloon. (not yet implemented) timeout = your suggested timeout period. The operating system is free to ignore your suggestion. +/ void showBalloon(string title, string message, MemoryImage icon = null, void delegate() onclick = null, int timeout = 2_500) { bool useCustom = true; version(libnotify) { if(onclick is null) // libnotify impl doesn't support callbacks yet because it doesn't do a dbus message loop try { if(!active) return; if(libnotify is null) { libnotify = new C_DynamicLibrary("libnotify.so"); libnotify.call!("notify_init", int, const char*)()((ApplicationName ~ "\0").ptr); } auto n = libnotify.call!("notify_notification_new", void*, const char*, const char*, const char*)()((title~"\0").ptr, (message~"\0").ptr, null /* icon */); libnotify.call!("notify_notification_set_timeout", void, void*, int)()(n, timeout); if(onclick) { libnotify_action_delegates[libnotify_action_delegates_count] = onclick; libnotify.call!("notify_notification_add_action", void, void*, const char*, const char*, typeof(&libnotify_action_callback_sdpy), void*, void*)()(n, "DEFAULT".ptr, "Go".ptr, &libnotify_action_callback_sdpy, cast(void*) libnotify_action_delegates_count, null); libnotify_action_delegates_count++; } // FIXME icon // set hint image-data // set default action for onclick void* error; libnotify.call!("notify_notification_show", bool, void*, void**)()(n, &error); useCustom = false; } catch(Exception e) { } } version(X11) { if(useCustom) { if(!active) return; if(balloon) { hideBalloon(); } // I know there are two specs for this, but one is never // implemented by any window manager I have ever seen, and // the other is a bloated mess and too complicated for simpledisplay... // so doing my own little window instead. balloon = new SimpleWindow(380, 120, null, OpenGlOptions.no, Resizability.fixedSize, WindowTypes.notification, WindowFlags.dontAutoShow/*, window*/); int x, y, width, height; getWindowRect(x, y, width, height); int bx = x - balloon.width; int by = y - balloon.height; if(bx < 0) bx = x + width + balloon.width; if(by < 0) by = y + height; // just in case, make sure it is actually on scren if(bx < 0) bx = 0; if(by < 0) by = 0; balloon.move(bx, by); auto painter = balloon.draw(); painter.fillColor = Color(220, 220, 220); painter.outlineColor = Color.black; painter.drawRectangle(Point(0, 0), balloon.width, balloon.height); auto iconWidth = icon is null ? 0 : icon.width; if(icon) painter.drawImage(Point(4, 4), Image.fromMemoryImage(icon)); iconWidth += 6; // margin around the icon // draw a close button painter.outlineColor = Color(44, 44, 44); painter.fillColor = Color(255, 255, 255); painter.drawRectangle(Point(balloon.width - 15, 3), 13, 13); painter.pen = Pen(Color.black, 3); painter.drawLine(Point(balloon.width - 14, 4), Point(balloon.width - 4, 14)); painter.drawLine(Point(balloon.width - 4, 4), Point(balloon.width - 14, 13)); painter.pen = Pen(Color.black, 1); painter.fillColor = Color(220, 220, 220); // Draw the title and message painter.drawText(Point(4 + iconWidth, 4), title); painter.drawLine( Point(4 + iconWidth, 4 + painter.fontHeight + 1), Point(balloon.width - 4, 4 + painter.fontHeight + 1), ); painter.drawText(Point(4 + iconWidth, 4 + painter.fontHeight + 4), message); balloon.setEventHandlers( (MouseEvent ev) { if(ev.type == MouseEventType.buttonPressed) { if(ev.x > balloon.width - 16 && ev.y < 16) hideBalloon(); else if(onclick) onclick(); } } ); balloon.show(); version(with_timer) timer = new Timer(timeout, &hideBalloon); else {} // FIXME } } else version(Windows) { enum NIF_INFO = 0x00000010; data.uFlags = NIF_INFO; // FIXME: go back to the last valid unicode code point if(title.length > 40) title = title[0 .. 40]; if(message.length > 220) message = message[0 .. 220]; enum NIIF_RESPECT_QUIET_TIME = 0x00000080; enum NIIF_LARGE_ICON = 0x00000020; enum NIIF_NOSOUND = 0x00000010; enum NIIF_USER = 0x00000004; enum NIIF_ERROR = 0x00000003; enum NIIF_WARNING = 0x00000002; enum NIIF_INFO = 0x00000001; enum NIIF_NONE = 0; WCharzBuffer t = WCharzBuffer(title); WCharzBuffer m = WCharzBuffer(message); t.copyInto(data.szInfoTitle); m.copyInto(data.szInfo); data.dwInfoFlags = NIIF_RESPECT_QUIET_TIME; if(icon !is null) { auto i = new WindowsIcon(icon); data.hBalloonIcon = i.hIcon; data.dwInfoFlags |= NIIF_USER; } Shell_NotifyIcon(NIM_MODIFY, cast(NOTIFYICONDATA*) &data); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /// //version(Windows) void show() { version(X11) { if(!hidden) return; sendTrayMessage(SYSTEM_TRAY_REQUEST_DOCK, nativeHandle, 0, 0); hidden = false; } else version(Windows) { data.uFlags = NIF_STATE; data.dwState = 0; // NIS_HIDDEN; // windows vista data.dwStateMask = NIS_HIDDEN; // windows vista Shell_NotifyIcon(NIM_MODIFY, cast(NOTIFYICONDATA*) &data); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } version(X11) bool hidden = false; /// //version(Windows) void hide() { version(X11) { if(hidden) return; hidden = true; XUnmapWindow(XDisplayConnection.get, nativeHandle); } else version(Windows) { data.uFlags = NIF_STATE; data.dwState = NIS_HIDDEN; // windows vista data.dwStateMask = NIS_HIDDEN; // windows vista Shell_NotifyIcon(NIM_MODIFY, cast(NOTIFYICONDATA*) &data); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /// void close () { version(X11) { if (active) { active = false; // event handler will set this too, but meh XUnmapWindow(XDisplayConnection.get, nativeHandle); // 'cause why not; let's be polite XDestroyWindow(XDisplayConnection.get, nativeHandle); flushGui(); } } else version(Windows) { Shell_NotifyIcon(NIM_DELETE, cast(NOTIFYICONDATA*) &data); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } ~this() { version(X11) if(clippixmap != None) XFreePixmap(XDisplayConnection.get, clippixmap); close(); } } version(X11) /// call XFreePixmap on the return value Pixmap transparencyMaskFromMemoryImage(MemoryImage i, Window window) { char[] data = new char[](i.width * i.height / 8 + 2); data[] = 0; int bitOffset = 0; foreach(c; i.getAsTrueColorImage().imageData.colors) { // FIXME inefficient unnecessary conversion in palette cases ubyte v = c.a > 128 ? 1 : 0; data[bitOffset / 8] |= v << (bitOffset%8); bitOffset++; } auto handle = XCreateBitmapFromData(XDisplayConnection.get, cast(Drawable) window, data.ptr, i.width, i.height); return handle; } // basic functions to make timers /** A timer that will trigger your function on a given interval. You create a timer with an interval and a callback. It will continue to fire on the interval until it is destroyed. There are currently no one-off timers (instead, just create one and destroy it when it is triggered) nor are there pause/resume functions - the timer must again be destroyed and recreated if you want to pause it. auto timer = new Timer(50, { it happened!; }); timer.destroy(); Timers can only be expected to fire when the event loop is running. */ version(with_timer) { class Timer { // FIXME: I might add overloads for ones that take a count of // how many elapsed since last time (on Windows, it will divide // the ticks thing given, on Linux it is just available) and // maybe one that takes an instance of the Timer itself too /// Create a timer with a callback when it triggers. this(int intervalInMilliseconds, void delegate() onPulse) { assert(onPulse !is null); this.onPulse = onPulse; version(Windows) { /* handle = SetTimer(null, handle, intervalInMilliseconds, &timerCallback); if(handle == 0) throw new Exception("SetTimer fail"); */ // thanks to Archival 998 for the WaitableTimer blocks handle = CreateWaitableTimer(null, false, null); long initialTime = 0; if(handle is null || !SetWaitableTimer(handle, cast(LARGE_INTEGER*)&initialTime, intervalInMilliseconds, &timerCallback, handle, false)) throw new Exception("SetWaitableTimer Failed"); mapping[handle] = this; } else version(linux) { static import ep = core.sys.linux.epoll; import core.sys.linux.timerfd; fd = timerfd_create(CLOCK_MONOTONIC, 0); if(fd == -1) throw new Exception("timer create failed"); mapping[fd] = this; itimerspec value; value.it_value.tv_sec = cast(int) (intervalInMilliseconds / 1000); value.it_value.tv_nsec = (intervalInMilliseconds % 1000) * 1000_000; value.it_interval.tv_sec = cast(int) (intervalInMilliseconds / 1000); value.it_interval.tv_nsec = (intervalInMilliseconds % 1000) * 1000_000; if(timerfd_settime(fd, 0, &value, null) == -1) throw new Exception("couldn't make pulse timer"); version(with_eventloop) { import arsd.eventloop; addFileEventListeners(fd, &trigger, null, null); } else { prepareEventLoop(); ep.epoll_event ev = void; ev.events = ep.EPOLLIN; ev.data.fd = fd; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_ADD, fd, &ev); } } else static assert(0); } /// Stop and destroy the timer object. void destroy() { version(Windows) { if(handle) { // KillTimer(null, handle); CancelWaitableTimer(cast(void*)handle); mapping.remove(handle); CloseHandle(handle); handle = null; } } else version(linux) { if(fd != -1) { import unix = core.sys.posix.unistd; static import ep = core.sys.linux.epoll; version(with_eventloop) { import arsd.eventloop; removeFileEventListeners(fd); } else { ep.epoll_event ev = void; ev.events = ep.EPOLLIN; ev.data.fd = fd; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_DEL, fd, &ev); } unix.close(fd); mapping.remove(fd); fd = -1; } } else static assert(0); } ~this() { destroy(); } void changeTime(int intervalInMilliseconds) { version(Windows) { if(handle) { //handle = SetTimer(null, handle, intervalInMilliseconds, &timerCallback); long initialTime = 0; if(handle is null || !SetWaitableTimer(handle, cast(LARGE_INTEGER*)&initialTime, intervalInMilliseconds, &timerCallback, handle, false)) throw new Exception("couldn't change pulse timer"); } } } private: void delegate() onPulse; void trigger() { version(linux) { import unix = core.sys.posix.unistd; long val; unix.read(fd, &val, val.sizeof); // gotta clear the pipe } else version(Windows) { } else static assert(0); onPulse(); } version(Windows) extern(Windows) //static void timerCallback(HWND, UINT, UINT_PTR timer, DWORD dwTime) nothrow { static void timerCallback(HANDLE timer, DWORD lowTime, DWORD hiTime) nothrow { if(Timer* t = timer in mapping) { try (*t).trigger(); catch(Exception e) { throw new Error(e.msg, e.file, e.line); } } } version(Windows) { //UINT_PTR handle; //static Timer[UINT_PTR] mapping; HANDLE handle; __gshared Timer[HANDLE] mapping; } else version(linux) { int fd = -1; __gshared Timer[int] mapping; } else static assert(0, "timer not supported"); } } version(linux) /// Lets you add files to the event loop for reading. Use at your own risk. class PosixFdReader { /// this(void delegate() onReady, int fd, bool captureReads = true, bool captureWrites = false) { this((int, bool, bool) { onReady(); }, fd, captureReads, captureWrites); } /// this(void delegate(int) onReady, int fd, bool captureReads = true, bool captureWrites = false) { this((int fd, bool, bool) { onReady(fd); }, fd, captureReads, captureWrites); } /// this(void delegate(int fd, bool read, bool write) onReady, int fd, bool captureReads = true, bool captureWrites = false) { this.onReady = onReady; this.fd = fd; this.captureWrites = captureWrites; this.captureReads = captureReads; mapping[fd] = this; version(with_eventloop) { import arsd.eventloop; addFileEventListeners(fd, &ready); } else { enable(); } } bool captureReads; bool captureWrites; version(with_eventloop) {} else /// void enable() { prepareEventLoop(); static import ep = core.sys.linux.epoll; ep.epoll_event ev = void; ev.events = (captureReads ? ep.EPOLLIN : 0) | (captureWrites ? ep.EPOLLOUT : 0); //import std.stdio; writeln("enable ", fd, " ", captureReads, " ", captureWrites); ev.data.fd = fd; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_ADD, fd, &ev); } version(with_eventloop) {} else /// void disable() { prepareEventLoop(); static import ep = core.sys.linux.epoll; ep.epoll_event ev = void; ev.events = (captureReads ? ep.EPOLLIN : 0) | (captureWrites ? ep.EPOLLOUT : 0); //import std.stdio; writeln("disable ", fd, " ", captureReads, " ", captureWrites); ev.data.fd = fd; ep.epoll_ctl(epollFd, ep.EPOLL_CTL_DEL, fd, &ev); } version(with_eventloop) {} else /// void dispose() { disable(); mapping.remove(fd); fd = -1; } void delegate(int, bool, bool) onReady; void ready(uint flags) { static import ep = core.sys.linux.epoll; onReady(fd, (flags & ep.EPOLLIN) ? true : false, (flags & ep.EPOLLOUT) ? true : false); } int fd = -1; __gshared PosixFdReader[int] mapping; } // basic functions to access the clipboard /+ http://msdn.microsoft.com/en-us/library/windows/desktop/ff729168%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649039%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649035%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649051%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649037%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649035%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms649016%28v=vs.85%29.aspx +/ /++ this does a delegate because it is actually an async call on X... the receiver may never be called if the clipboard is empty or unavailable gets plain text from the clipboard +/ void getClipboardText(SimpleWindow clipboardOwner, void delegate(in char[]) receiver) { version(Windows) { HWND hwndOwner = clipboardOwner ? clipboardOwner.impl.hwnd : null; if(OpenClipboard(hwndOwner) == 0) throw new Exception("OpenClipboard"); scope(exit) CloseClipboard(); if(auto dataHandle = GetClipboardData(CF_UNICODETEXT)) { if(auto data = cast(wchar*) GlobalLock(dataHandle)) { scope(exit) GlobalUnlock(dataHandle); // FIXME: CR/LF conversions // FIXME: I might not have to copy it now that the receiver is in char[] instead of string int len = 0; auto d = data; while(*d) { d++; len++; } string s; s.reserve(len); foreach(dchar ch; data[0 .. len]) { s ~= ch; } receiver(s); } } } else version(X11) { getX11Selection!"CLIPBOARD"(clipboardOwner, receiver); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } version(Windows) struct WCharzBuffer { wchar[256] staticBuffer; wchar[] buffer; size_t length() { return buffer.length; } wchar* ptr() { return buffer.ptr; } wchar[] slice() { return buffer; } void copyInto(R)(ref R r) { static if(is(R == wchar[N], size_t N)) { r[0 .. this.length] = slice[]; r[this.length] = 0; } else static assert(0, "can only copy into wchar[n], not " ~ R.stringof); } this(in char[] data) { /* I don't think there's any string with a longer length in code units when encoded in UTF-16 than it has in UTF-8. This will probably over allocate, but that's OK. */ if(data.length + 1 > staticBuffer.length) // +1 cuz of zero terminator buffer = new wchar[](data.length + 1); else buffer = staticBuffer[]; buffer = makeWindowsString(data, buffer); } } version(Windows) wchar[] makeWindowsString(in char[] str, wchar[] buffer, bool zeroTerminate = true) { if(str.length == 0) return null; auto got = MultiByteToWideChar(CP_UTF8, 0, str.ptr, cast(int) str.length, buffer.ptr, cast(int) buffer.length); if(got == 0) { if(GetLastError() == ERROR_INSUFFICIENT_BUFFER) throw new Exception("not enough buffer"); else throw new Exception("conversion"); // FIXME: GetLastError } if(zeroTerminate) { buffer[got] = 0; } return buffer[0 .. got]; } version(Windows) char[] makeUtf8StringFromWindowsString(in wchar[] str, char[] buffer) { if(str.length == 0) return null; auto got = WideCharToMultiByte(CP_UTF8, 0, str.ptr, cast(int) str.length, buffer.ptr, cast(int) buffer.length, null, null); if(got == 0) { if(GetLastError() == ERROR_INSUFFICIENT_BUFFER) throw new Exception("not enough buffer"); else throw new Exception("conversion"); // FIXME: GetLastError } return buffer[0 .. got]; } version(Windows) string makeUtf8StringFromWindowsString(in wchar[] str) { char[] buffer; auto got = WideCharToMultiByte(CP_UTF8, 0, str.ptr, cast(int) str.length, null, 0, null, null); buffer.length = got; // it is unique because we just allocated it above! return cast(string) makeUtf8StringFromWindowsString(str, buffer); } version(Windows) string makeUtf8StringFromWindowsString(wchar* str) { char[] buffer; auto got = WideCharToMultiByte(CP_UTF8, 0, str, -1, null, 0, null, null); buffer.length = got; got = WideCharToMultiByte(CP_UTF8, 0, str, -1, buffer.ptr, cast(int) buffer.length, null, null); if(got == 0) { if(GetLastError() == ERROR_INSUFFICIENT_BUFFER) throw new Exception("not enough buffer"); else throw new Exception("conversion"); // FIXME: GetLastError } return cast(string) buffer[0 .. got]; } /// copies some text to the clipboard void setClipboardText(SimpleWindow clipboardOwner, string text) { assert(clipboardOwner !is null); version(Windows) { if(OpenClipboard(clipboardOwner.impl.hwnd) == 0) throw new Exception("OpenClipboard"); scope(exit) CloseClipboard(); EmptyClipboard(); auto handle = GlobalAlloc(GMEM_MOVEABLE, (text.length + 1) * 2); // zero terminated wchars if(handle is null) throw new Exception("GlobalAlloc"); if(auto data = cast(wchar*) GlobalLock(handle)) { auto slice = data[0 .. text.length + 1]; scope(failure) GlobalUnlock(handle); auto str = makeWindowsString(text, slice); // FIXME: CR/LF conversions? GlobalUnlock(handle); SetClipboardData(CF_UNICODETEXT, handle); } } else version(X11) { setX11Selection!"CLIPBOARD"(clipboardOwner, text); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } // FIXME: functions for doing images would be nice too - CF_DIB and whatever it is on X would be ok if we took the MemoryImage from color.d, or an Image from here. hell it might even be a variadic template that sets all the formats in one call. that might be cool. version(X11) { // and the PRIMARY on X, be sure to put these in static if(UsingSimpledisplayX11) private Atom*[] interredAtoms; // for discardAndRecreate /// Platform specific for X11 @property Atom GetAtom(string name, bool create = false)(Display* display) { static Atom a; if(!a) { a = XInternAtom(display, name, !create); interredAtoms ~= &a; } if(a == None) throw new Exception("XInternAtom " ~ name ~ " " ~ (create ? "true":"false")); return a; } /// Platform specific for X11 - gets atom names as a string string getAtomName(Atom atom, Display* display) { auto got = XGetAtomName(display, atom); scope(exit) XFree(got); import core.stdc.string; string s = got[0 .. strlen(got)].idup; return s; } /// Asserts ownership of PRIMARY and copies the text into a buffer that clients can request later void setPrimarySelection(SimpleWindow window, string text) { setX11Selection!"PRIMARY"(window, text); } /// Asserts ownership of SECONDARY and copies the text into a buffer that clients can request later void setSecondarySelection(SimpleWindow window, string text) { setX11Selection!"SECONDARY"(window, text); } /// void setX11Selection(string atomName)(SimpleWindow window, string text) { assert(window !is null); auto display = XDisplayConnection.get(); static if (atomName == "PRIMARY") Atom a = XA_PRIMARY; else static if (atomName == "SECONDARY") Atom a = XA_SECONDARY; else Atom a = GetAtom!atomName(display); XSetSelectionOwner(display, a, window.impl.window, 0 /* CurrentTime */); window.impl.setSelectionHandler = (XEvent ev) { XSelectionRequestEvent* event = &ev.xselectionrequest; XSelectionEvent selectionEvent; selectionEvent.type = EventType.SelectionNotify; selectionEvent.display = event.display; selectionEvent.requestor = event.requestor; selectionEvent.selection = event.selection; selectionEvent.time = event.time; selectionEvent.target = event.target; if(event.property == None) selectionEvent.property = event.target; if(event.target == GetAtom!"TARGETS"(display)) { /* respond with the supported types */ Atom[3] tlist;// = [XA_UTF8, XA_STRING, XA_TARGETS]; tlist[0] = GetAtom!"UTF8_STRING"(display); tlist[1] = XA_STRING; tlist[2] = GetAtom!"TARGETS"(display); XChangeProperty(display, event.requestor, event.property, XA_ATOM, 32, PropModeReplace, cast(void*)tlist.ptr, 3); selectionEvent.property = event.property; } else if(event.target == XA_STRING) { selectionEvent.property = event.property; XChangeProperty (display, selectionEvent.requestor, selectionEvent.property, event.target, 8 /* bits */, 0 /* PropModeReplace */, text.ptr, cast(int) text.length); } else if(event.target == GetAtom!"UTF8_STRING"(display)) { selectionEvent.property = event.property; XChangeProperty (display, selectionEvent.requestor, selectionEvent.property, event.target, 8 /* bits */, 0 /* PropModeReplace */, text.ptr, cast(int) text.length); } else { selectionEvent.property = None; // I don't know how to handle this type... } XSendEvent(display, selectionEvent.requestor, false, 0, cast(XEvent*) &selectionEvent); }; } /// void getPrimarySelection(SimpleWindow window, void delegate(in char[]) handler) { getX11Selection!"PRIMARY"(window, handler); } /// void getX11Selection(string atomName)(SimpleWindow window, void delegate(in char[]) handler) { assert(window !is null); auto display = XDisplayConnection.get(); auto atom = GetAtom!atomName(display); window.impl.getSelectionHandler = handler; auto target = GetAtom!"TARGETS"(display); // SDD_DATA is "simpledisplay.d data" XConvertSelection(display, atom, target, GetAtom!("SDD_DATA", true)(display), window.impl.window, 0 /*CurrentTime*/); } /// void[] getX11PropertyData(Window window, Atom property, Atom type = AnyPropertyType) { Atom actualType; int actualFormat; arch_ulong actualItems; arch_ulong bytesRemaining; void* data; auto display = XDisplayConnection.get(); if(XGetWindowProperty(display, window, property, 0, 0x7fffffff, false, type, &actualType, &actualFormat, &actualItems, &bytesRemaining, &data) == Success) { if(actualFormat == 0) return null; else { int byteLength; if(actualFormat == 32) { // 32 means it is a C long... which is variable length actualFormat = cast(int) arch_long.sizeof * 8; } // then it is just a bit count byteLength = cast(int) (actualItems * actualFormat / 8); auto d = new ubyte[](byteLength); d[] = cast(ubyte[]) data[0 .. byteLength]; XFree(data); return d; } } return null; } /* defined in the systray spec */ enum SYSTEM_TRAY_REQUEST_DOCK = 0; enum SYSTEM_TRAY_BEGIN_MESSAGE = 1; enum SYSTEM_TRAY_CANCEL_MESSAGE = 2; /** Global hotkey handler. Simpledisplay will usually create one for you, but if you want to use subclassing * instead of delegates, you can subclass this, and override `doHandle()` method. */ public class GlobalHotkey { KeyEvent key; void delegate () handler; void doHandle () { if (handler !is null) handler(); } /// this will be called by hotkey manager /// Create from initialzed KeyEvent object this (KeyEvent akey, void delegate () ahandler=null) { if (akey.key == 0 || !GlobalHotkeyManager.isGoodModifierMask(akey.modifierState)) throw new Exception("invalid global hotkey"); key = akey; handler = ahandler; } /// Create from emacs-like key name ("C-M-Y", etc.) this (const(char)[] akey, void delegate () ahandler=null) { key = KeyEvent.parse(akey); if (key.key == 0 || !GlobalHotkeyManager.isGoodModifierMask(key.modifierState)) throw new Exception("invalid global hotkey"); handler = ahandler; } } private extern(C) int XGrabErrorHandler (Display* dpy, XErrorEvent* evt) nothrow @nogc { //conwriteln("failed to grab key"); GlobalHotkeyManager.ghfailed = true; return 0; } private extern(C) int adrlogger (Display* dpy, XErrorEvent* evt) nothrow @nogc { import core.stdc.stdio; char[265] buffer; XGetErrorText(dpy, evt.error_code, buffer.ptr, cast(int) buffer.length); printf("ERROR: %s\n", buffer.ptr); return 0; } /++ Global hotkey manager. It contains static methods to manage global hotkeys. --- try { GlobalHotkeyManager.register("M-H-A", delegate () { hideShowWindows(); }); } catch (Exception e) { conwriteln("ERROR registering hotkey!"); } --- The key strings are based on Emacs. In practical terms, `M` means `alt` and `H` means the Windows logo key. `C` is `ctrl`. $(WARNING This is X-specific right now. If you are on Windows, try [registerHotKey] instead. We will probably merge these into a single interface later. ) +/ public class GlobalHotkeyManager : CapableOfHandlingNativeEvent { version(X11) { void recreateAfterDisconnect() { throw new Exception("NOT IMPLEMENTED"); } void discardConnectionState() { throw new Exception("NOT IMPLEMENTED"); } } private static immutable uint[8] masklist = [ 0, KeyOrButtonMask.LockMask, KeyOrButtonMask.Mod2Mask, KeyOrButtonMask.Mod3Mask, KeyOrButtonMask.LockMask|KeyOrButtonMask.Mod2Mask, KeyOrButtonMask.LockMask|KeyOrButtonMask.Mod3Mask, KeyOrButtonMask.LockMask|KeyOrButtonMask.Mod2Mask|KeyOrButtonMask.Mod3Mask, KeyOrButtonMask.Mod2Mask|KeyOrButtonMask.Mod3Mask, ]; private __gshared GlobalHotkeyManager ghmanager; private __gshared bool ghfailed = false; private static bool isGoodModifierMask (uint modmask) pure nothrow @safe @nogc { if (modmask == 0) return false; if (modmask&(KeyOrButtonMask.LockMask|KeyOrButtonMask.Mod2Mask|KeyOrButtonMask.Mod3Mask)) return false; if (modmask&~(KeyOrButtonMask.Mod5Mask-1)) return false; return true; } private static uint cleanupModifiers (uint modmask) pure nothrow @safe @nogc { modmask &= ~(KeyOrButtonMask.LockMask|KeyOrButtonMask.Mod2Mask|KeyOrButtonMask.Mod3Mask); // remove caps, num, scroll modmask &= (KeyOrButtonMask.Mod5Mask-1); // and other modifiers return modmask; } private static uint keyEvent2KeyCode() (in auto ref KeyEvent ke) { uint keycode = cast(uint)ke.key; auto dpy = XDisplayConnection.get; return XKeysymToKeycode(dpy, keycode); } private static ulong keyCode2Hash() (uint keycode, uint modstate) pure nothrow @safe @nogc { return ((cast(ulong)modstate)<<32)|keycode; } private __gshared GlobalHotkey[ulong] globalHotkeyList; NativeEventHandler getNativeEventHandler () { return delegate int (XEvent e) { if (e.type != EventType.KeyPress) return 1; auto kev = cast(const(XKeyEvent)*)&e; auto hash = keyCode2Hash(e.xkey.keycode, cleanupModifiers(e.xkey.state)); if (auto ghkp = hash in globalHotkeyList) { try { ghkp.doHandle(); } catch (Exception e) { import core.stdc.stdio : stderr, fprintf; stderr.fprintf("HOTKEY HANDLER EXCEPTION: %.*s", cast(uint)e.msg.length, e.msg.ptr); } } return 1; }; } private this () { auto dpy = XDisplayConnection.get; auto root = RootWindow(dpy, DefaultScreen(dpy)); CapableOfHandlingNativeEvent.nativeHandleMapping[root] = this; XSelectInput(dpy, root, EventMask.KeyPressMask); } /// Register new global hotkey with initialized `GlobalHotkey` object. /// This function will throw if it failed to register hotkey (i.e. hotkey is invalid or already taken). static void register (GlobalHotkey gh) { if (gh is null) return; if (gh.key.key == 0 || !isGoodModifierMask(gh.key.modifierState)) throw new Exception("invalid global hotkey"); auto dpy = XDisplayConnection.get; immutable keycode = keyEvent2KeyCode(gh.key); auto hash = keyCode2Hash(keycode, gh.key.modifierState); if (hash in globalHotkeyList) throw new Exception("duplicate global hotkey"); if (ghmanager is null) ghmanager = new GlobalHotkeyManager(); XSync(dpy, 0/*False*/); Window root = RootWindow(dpy, DefaultScreen(dpy)); XErrorHandler savedErrorHandler = XSetErrorHandler(&XGrabErrorHandler); ghfailed = false; foreach (immutable uint ormask; masklist[]) { XGrabKey(dpy, keycode, gh.key.modifierState|ormask, /*grab_window*/root, /*owner_events*/0/*False*/, GrabMode.GrabModeAsync, GrabMode.GrabModeAsync); } XSync(dpy, 0/*False*/); XSetErrorHandler(savedErrorHandler); if (ghfailed) { savedErrorHandler = XSetErrorHandler(&XGrabErrorHandler); foreach (immutable uint ormask; masklist[]) XUngrabKey(dpy, keycode, gh.key.modifierState|ormask, /*grab_window*/root); XSync(dpy, 0/*False*/); XSetErrorHandler(savedErrorHandler); throw new Exception("cannot register global hotkey"); } globalHotkeyList[hash] = gh; } /// Ditto static void register (const(char)[] akey, void delegate () ahandler) { register(new GlobalHotkey(akey, ahandler)); } private static void removeByHash (ulong hash) { if (auto ghp = hash in globalHotkeyList) { auto dpy = XDisplayConnection.get; immutable keycode = keyEvent2KeyCode(ghp.key); Window root = RootWindow(dpy, DefaultScreen(dpy)); XSync(dpy, 0/*False*/); XErrorHandler savedErrorHandler = XSetErrorHandler(&XGrabErrorHandler); foreach (immutable uint ormask; masklist[]) XUngrabKey(dpy, keycode, ghp.key.modifierState|ormask, /*grab_window*/root); XSync(dpy, 0/*False*/); XSetErrorHandler(savedErrorHandler); globalHotkeyList.remove(hash); } } /// Register new global hotkey with previously used `GlobalHotkey` object. /// It is safe to unregister unknown or invalid hotkey. static void unregister (GlobalHotkey gh) { //TODO: add second AA for faster search? prolly doesn't worth it. if (gh is null) return; foreach (const ref kv; globalHotkeyList.byKeyValue) { if (kv.value is gh) { removeByHash(kv.key); return; } } } /// Ditto. static void unregister (const(char)[] key) { auto kev = KeyEvent.parse(key); immutable keycode = keyEvent2KeyCode(kev); removeByHash(keyCode2Hash(keycode, kev.modifierState)); } } } version(Windows) { /// Platform-specific for Windows. Sends a string as key press and release events to the actively focused window (not necessarily your application) void sendSyntheticInput(wstring s) { INPUT[] inputs; inputs.reserve(s.length * 2); foreach(wchar c; s) { INPUT input; input.type = INPUT_KEYBOARD; input.ki.wScan = c; input.ki.dwFlags = KEYEVENTF_UNICODE; inputs ~= input; input.ki.dwFlags |= KEYEVENTF_KEYUP; inputs ~= input; } if(SendInput(cast(int) inputs.length, inputs.ptr, INPUT.sizeof) != inputs.length) { throw new Exception("SendInput failed"); } } // global hotkey helper function /// Platform-specific for Windows. Registers a global hotkey. Returns a registration ID. int registerHotKey(SimpleWindow window, UINT modifiers, UINT vk, void delegate() handler) { __gshared int hotkeyId = 0; int id = ++hotkeyId; if(!RegisterHotKey(window.impl.hwnd, id, modifiers, vk)) throw new Exception("RegisterHotKey failed"); __gshared void delegate()[WPARAM][HWND] handlers; handlers[window.impl.hwnd][id] = handler; int delegate(HWND, UINT, WPARAM, LPARAM) oldHandler; auto nativeEventHandler = delegate int(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { // http://msdn.microsoft.com/en-us/library/windows/desktop/ms646279%28v=vs.85%29.aspx case WM_HOTKEY: if(auto list = hwnd in handlers) { if(auto h = wParam in *list) { (*h)(); return 0; } } goto default; default: } if(oldHandler) return oldHandler(hwnd, msg, wParam, lParam); return 1; // pass it on }; if(window.handleNativeEvent.funcptr !is nativeEventHandler.funcptr) { oldHandler = window.handleNativeEvent; window.handleNativeEvent = nativeEventHandler; } return id; } /// Platform-specific for Windows. Unregisters a key. The id is the value returned by registerHotKey. void unregisterHotKey(SimpleWindow window, int id) { if(!UnregisterHotKey(window.impl.hwnd, id)) throw new Exception("UnregisterHotKey"); } } /++ [ScreenPainter] operations can use different operations to combine the color with the color on screen. See_Also: $(LIST *[ScreenPainter] *[ScreenPainter.rasterOp] ) +/ enum RasterOp { normal, /// Replaces the pixel. xor, /// Uses bitwise xor to draw. } // being phobos-free keeps the size WAY down private const(char)* toStringz(string s) { return (s ~ '\0').ptr; } private const(wchar)* toWStringz(wstring s) { return (s ~ '\0').ptr; } private const(wchar)* toWStringz(string s) { wstring r; foreach(dchar c; s) r ~= c; r ~= '\0'; return r.ptr; } private string[] split(in void[] a, char c) { string[] ret; size_t previous = 0; foreach(i, char ch; cast(ubyte[]) a) { if(ch == c) { ret ~= cast(string) a[previous .. i]; previous = i + 1; } } if(previous != a.length) ret ~= cast(string) a[previous .. $]; return ret; } version(without_opengl) { enum OpenGlOptions { no, } } else { /++ Determines if you want an OpenGL context created on the new window. See more: [#topics-3d|in the 3d topic]. --- import arsd.simpledisplay; void main() { auto window = new SimpleWindow(500, 500, "OpenGL Test", OpenGlOptions.yes); // Set up the matrix window.setAsCurrentOpenGlContext(); // make this window active // This is called on each frame, we will draw our scene window.redrawOpenGlScene = delegate() { }; window.eventLoop(0); } --- +/ enum OpenGlOptions { no, /// No OpenGL context is created yes, /// Yes, create an OpenGL context } version(X11) { static if (!SdpyIsUsingIVGLBinds) { pragma(lib, "GL"); pragma(lib, "GLU"); } } else version(Windows) { static if (!SdpyIsUsingIVGLBinds) { pragma(lib, "opengl32"); pragma(lib, "glu32"); } } else static assert(0, "OpenGL not supported on your system yet. Try -version=X11 if you have X Windows available, or -version=without_opengl to go without."); } deprecated("Sorry, I misspelled it in the first version! Use `Resizability` instead.") alias Resizablity = Resizability; /// When you create a SimpleWindow, you can see its resizability to be one of these via the constructor... enum Resizability { fixedSize, /// the window cannot be resized allowResizing, /// the window can be resized. The buffer (if there is one) will automatically adjust size, but not stretch the contents. the windowResized delegate will be called so you can respond to the new size yourself. automaticallyScaleIfPossible, /// if possible, your drawing buffer will remain the same size and simply be automatically scaled to the new window size. If this is impossible, it will not allow the user to resize the window at all. Note: window.width and window.height WILL be adjusted, which might throw you off if you draw based on them, so keep track of your expected width and height separately. That way, when it is scaled, things won't be thrown off. // FIXME: automaticallyScaleIfPossible should adjust the OpenGL viewport on resize events } /++ Alignment for $(ScreenPainter.drawText). Left, Center, or Right may be combined with VerticalTop, VerticalCenter, or VerticalBottom via bitwise or. +/ enum TextAlignment : uint { Left = 0, /// Center = 1, /// Right = 2, /// VerticalTop = 0, /// VerticalCenter = 4, /// VerticalBottom = 8, /// } public import arsd.color; // no longer stand alone... :-( but i need a common type for this to work with images easily. alias Rectangle = arsd.color.Rectangle; /++ Keyboard press and release events +/ struct KeyEvent { /// see table below. Always use the symbolic names, even for ASCII characters, since the actual numbers vary across platforms. See [Key] Key key; ubyte hardwareCode; /// A platform and hardware specific code for the key bool pressed; /// true if the key was just pressed, false if it was just released. note: released events aren't always sent... dchar character; /// uint modifierState; /// see enum [ModifierState]. They are bitwise combined together. SimpleWindow window; /// associated Window // convert key event to simplified string representation a-la emacs const(char)[] toStrBuf(bool growdest=false) (char[] dest) const nothrow @trusted { uint dpos = 0; void put (const(char)[] s...) nothrow @trusted { static if (growdest) { foreach (char ch; s) if (dpos < dest.length) dest.ptr[dpos++] = ch; else { dest ~= ch; ++dpos; } } else { foreach (char ch; s) if (dpos < dest.length) dest.ptr[dpos++] = ch; } } void putMod (ModifierState mod, Key key, string text) nothrow @trusted { if ((this.modifierState&mod) != 0 && (this.pressed || this.key != key)) put(text); } if (!this.key && !(this.modifierState&(ModifierState.ctrl|ModifierState.alt|ModifierState.shift|ModifierState.windows))) return null; // put modifiers // releasing modifier keys can produce bizarre things like "Ctrl+Ctrl", so hack around it putMod(ModifierState.ctrl, Key.Ctrl, "Ctrl+"); putMod(ModifierState.alt, Key.Alt, "Alt+"); putMod(ModifierState.windows, Key.Shift, "Windows+"); putMod(ModifierState.shift, Key.Shift, "Shift+"); if (this.key) { foreach (string kn; __traits(allMembers, Key)) { if (this.key == __traits(getMember, Key, kn)) { // HACK! static if (kn == "N0") put("0"); else static if (kn == "N1") put("1"); else static if (kn == "N2") put("2"); else static if (kn == "N3") put("3"); else static if (kn == "N4") put("4"); else static if (kn == "N5") put("5"); else static if (kn == "N6") put("6"); else static if (kn == "N7") put("7"); else static if (kn == "N8") put("8"); else static if (kn == "N9") put("9"); else put(kn); return dest[0..dpos]; } } put("Unknown"); } else { if (dpos && dest[dpos-1] == '+') --dpos; } return dest[0..dpos]; } string toStr() () { return cast(string)toStrBuf!true(null); } // it is safe to cast here /** Parse string into key name with modifiers. It accepts things like: * * C-H-1 -- emacs style (ctrl, and windows, and 1) * * Ctrl+Win+1 -- windows style * * Ctrl-Win-1 -- '-' is a valid delimiter too * * Ctrl Win 1 -- and space * * and even "Win + 1 + Ctrl". */ static KeyEvent parse (const(char)[] name) nothrow @trusted @nogc { auto nanchor = name; // keep it anchored, 'cause `name` may have NO_INTERIOR set // remove trailing spaces while (name.length && name[$-1] <= ' ') name = name[0..$-1]; // tokens delimited by blank, '+', or '-' // null on eol const(char)[] getToken () nothrow @trusted @nogc { // remove leading spaces and delimiters while (name.length && (name[0] <= ' ' || name[0] == '+' || name[0] == '-')) name = name[1..$]; if (name.length == 0) return null; // oops, no more tokens // get token size_t epos = 0; while (epos < name.length && name[epos] > ' ' && name[epos] != '+' && name[epos] != '-') ++epos; assert(epos > 0 && epos <= name.length); auto res = name[0..epos]; name = name[epos..$]; return res; } static bool strEquCI (const(char)[] s0, const(char)[] s1) pure nothrow @trusted @nogc { if (s0.length != s1.length) return false; foreach (immutable ci, char c0; s0) { if (c0 >= 'A' && c0 <= 'Z') c0 += 32; // poor man's tolower char c1 = s1[ci]; if (c1 >= 'A' && c1 <= 'Z') c1 += 32; // poor man's tolower if (c0 != c1) return false; } return true; } KeyEvent res; res.key = cast(Key)0; // just in case const(char)[] tk, tkn; // last token bool allowEmascStyle = true; tokenloop: for (;;) { tk = tkn; tkn = getToken(); //k8: yay, i took "Bloody Mess" trait from Fallout! if (tkn.length != 0 && tk.length == 0) { tk = tkn; continue tokenloop; } if (tkn.length == 0 && tk.length == 0) break; // no more tokens if (allowEmascStyle && tkn.length != 0) { if (tk.length == 1) { char mdc = tk[0]; if (mdc >= 'a' && mdc <= 'z') mdc -= 32; // poor man's toupper() if (mdc == 'C' && (res.modifierState&ModifierState.ctrl) == 0) {res.modifierState |= ModifierState.ctrl; continue tokenloop; } if (mdc == 'M' && (res.modifierState&ModifierState.alt) == 0) { res.modifierState |= ModifierState.alt; continue tokenloop; } if (mdc == 'H' && (res.modifierState&ModifierState.windows) == 0) { res.modifierState |= ModifierState.windows; continue tokenloop; } if (mdc == 'S' && (res.modifierState&ModifierState.shift) == 0) { res.modifierState |= ModifierState.shift; continue tokenloop; } } } allowEmascStyle = false; if (strEquCI(tk, "Ctrl")) { res.modifierState |= ModifierState.ctrl; continue tokenloop; } if (strEquCI(tk, "Alt")) { res.modifierState |= ModifierState.alt; continue tokenloop; } if (strEquCI(tk, "Win") || strEquCI(tk, "Windows")) { res.modifierState |= ModifierState.windows; continue tokenloop; } if (strEquCI(tk, "Shift")) { res.modifierState |= ModifierState.shift; continue tokenloop; } if (tk.length == 0) continue; // try key name if (res.key == 0) { // little hack if (tk.length == 1 && tk[0] >= '0' && tk[0] <= '9') { final switch (tk[0]) { case '0': tk = "N0"; break; case '1': tk = "N1"; break; case '2': tk = "N2"; break; case '3': tk = "N3"; break; case '4': tk = "N4"; break; case '5': tk = "N5"; break; case '6': tk = "N6"; break; case '7': tk = "N7"; break; case '8': tk = "N8"; break; case '9': tk = "N9"; break; } } foreach (string kn; __traits(allMembers, Key)) { if (strEquCI(tk, kn)) { res.key = __traits(getMember, Key, kn); continue tokenloop; } } } // unknown or duplicate key name, get out of here break; } return res; // something } bool opEquals() (const(char)[] name) const nothrow @trusted @nogc { enum modmask = (ModifierState.ctrl|ModifierState.alt|ModifierState.shift|ModifierState.windows); void doModKey (ref uint mask, ref Key kk, Key k, ModifierState mst) { if (kk == k) { mask |= mst; kk = cast(Key)0; } } auto ke = KeyEvent.parse(name); if (this.key != ke.key) { // things like "ctrl+alt" are complicated uint tkm = this.modifierState&modmask; uint kkm = ke.modifierState&modmask; Key tk = this.key; // ke doModKey(kkm, ke.key, Key.Ctrl, ModifierState.ctrl); doModKey(kkm, ke.key, Key.Alt, ModifierState.alt); doModKey(kkm, ke.key, Key.Windows, ModifierState.windows); doModKey(kkm, ke.key, Key.Shift, ModifierState.shift); // this doModKey(tkm, tk, Key.Ctrl, ModifierState.ctrl); doModKey(tkm, tk, Key.Alt, ModifierState.alt); doModKey(tkm, tk, Key.Windows, ModifierState.windows); doModKey(tkm, tk, Key.Shift, ModifierState.shift); return (tk == ke.key && tkm == kkm); } return ((this.modifierState&modmask) == (ke.modifierState&modmask)); } } /// sets the application name. @property string ApplicationName(string name) { return _applicationName = name; } string _applicationName; /// ditto @property string ApplicationName() { if(_applicationName is null) { import core.runtime; return Runtime.args[0]; } return _applicationName; } /// Type of a [MouseEvent] enum MouseEventType : int { motion = 0, /// The mouse moved inside the window buttonPressed = 1, /// A mouse button was pressed or the wheel was spun buttonReleased = 2, /// A mouse button was released } // FIXME: mouse move should be distinct from presses+releases, so we can avoid subscribing to those events in X unnecessarily /++ Listen for this on your event listeners if you are interested in mouse action. Note that [button] is used on mouse press and release events. If you are curious about which button is being held in during motion, use [modifierState] and check the bitmask for [ModifierState.leftButtonDown], etc. Examples: This will draw boxes on the window with the mouse as you hold the left button. --- import arsd.simpledisplay; void main() { auto window = new SimpleWindow(); window.eventLoop(0, (MouseEvent ev) { if(ev.modifierState & ModifierState.leftButtonDown) { auto painter = window.draw(); painter.fillColor = Color.red; painter.outlineColor = Color.black; painter.drawRectangle(Point(ev.x / 16 * 16, ev.y / 16 * 16), 16, 16); } } ); } --- +/ struct MouseEvent { MouseEventType type; /// movement, press, release, double click. See [MouseEventType] int x; /// Current X position of the cursor when the event fired, relative to the upper-left corner of the window, reported in pixels. (0, 0) is the upper left, (window.width - 1, window.height - 1) is the lower right corner of the window. int y; /// Current Y position of the cursor when the event fired. int dx; /// Change in X position since last report int dy; /// Change in Y position since last report MouseButton button; /// See [MouseButton] int modifierState; /// See [ModifierState] /// Returns a linear representation of mouse button, /// for use with static arrays. Guaranteed to be >= 0 && <= 15 /// /// Its implementation is based on range-limiting `core.bitop.bsf(button) + 1`. @property ubyte buttonLinear() const { import core.bitop; if(button == 0) return 0; return (bsf(button) + 1) & 0b1111; } bool doubleClick; /// was it a double click? Only set on type == [MouseEventType.buttonPressed] SimpleWindow window; /// The window in which the event happened. Point globalCoordinates() { Point p; if(window is null) throw new Exception("wtf"); static if(UsingSimpledisplayX11) { Window child; XTranslateCoordinates( XDisplayConnection.get, window.impl.window, RootWindow(XDisplayConnection.get, DefaultScreen(XDisplayConnection.get)), x, y, &p.x, &p.y, &child); return p; } else version(Windows) { POINT[1] points; points[0].x = x; points[0].y = y; MapWindowPoints( window.impl.hwnd, null, points.ptr, points.length ); p.x = points[0].x; p.y = points[0].y; return p; } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } } /// This gives a few more options to drawing lines and such struct Pen { Color color; /// the foreground color int width = 1; /// width of the line Style style; /// See [Style] FIXME: not implemented /+ // From X.h #define LineSolid 0 #define LineOnOffDash 1 #define LineDoubleDash 2 LineDou- The full path of the line is drawn, but the bleDash even dashes are filled differently from the odd dashes (see fill-style) with CapButt style used where even and odd dashes meet. /* capStyle */ #define CapNotLast 0 #define CapButt 1 #define CapRound 2 #define CapProjecting 3 /* joinStyle */ #define JoinMiter 0 #define JoinRound 1 #define JoinBevel 2 /* fillStyle */ #define FillSolid 0 #define FillTiled 1 #define FillStippled 2 #define FillOpaqueStippled 3 +/ /// Style of lines drawn enum Style { Solid, /// a solid line Dashed, /// a dashed line Dotted, /// a dotted line } } /++ Represents an in-memory image in the format that the GUI expects, but with its raw data available to your program. On Windows, this means a device-independent bitmap. On X11, it is an XImage. $(NOTE If you are writing platform-aware code and need to know low-level details, uou may check `if(Image.impl.xshmAvailable)` to see if MIT-SHM is used on X11 targets to draw `Image`s and `Sprite`s. Use `static if(UsingSimpledisplayX11)` to determine if you are compiling for an X11 target.) Drawing an image to screen is not necessarily fast, but applying algorithms to draw to the image itself should be fast. An `Image` is also the first step in loading and displaying images loaded from files. If you intend to draw an image to screen several times, you will want to convert it into a [Sprite]. $(IMPORTANT `Image` may represent a scarce, shared resource that persists across process termination, and should be disposed of properly. On X11, it uses the MIT-SHM extension, if available, which uses shared memory handles with the X server, which is a long-lived process that holds onto them after your program terminates if you don't free it. It is possible for your user's system to run out of these handles over time, forcing them to clean it up with extraordinary measures - their GUI is liable to stop working! Be sure these are cleaned up properly. simpledisplay will do its best to do the right thing, including cleaning them up in garbage collection sweeps (one of which is run at most normal program terminations) and catching some deadly signals. It will almost always do the right thing. But, this is no substitute for you managing the resource properly yourself. (And try not to segfault, as recovery from them is alway dicey!) Please call `destroy(image);` when you are done with it. The easiest way to do this is with scope: --- auto image = new Image(256, 256); scope(exit) destroy(image); --- As long as you don't hold on to it outside the scope. I might change it to be an owned pointer at some point in the future. ) Drawing pixels on the image may be simple, using the `opIndexAssign` function, but you can also often get a fair amount of speedup by getting the raw data format and writing some custom code. FIXME INSERT EXAMPLES HERE +/ final class Image { /// this(int width, int height, bool forcexshm=false) { this.width = width; this.height = height; impl.createImage(width, height, forcexshm); } /// this(Size size, bool forcexshm=false) { this(size.width, size.height, forcexshm); } ~this() { impl.dispose(); } // these numbers are used for working with rawData itself, skipping putPixel and getPixel /// if you do the math yourself you might be able to optimize it. Call these functions only once and cache the value. pure const @system nothrow { /* To use these to draw a blue rectangle with size WxH at position X,Y... // make certain that it will fit before we proceed enforce(X + W <= img.width && Y + H <= img.height); // you could also adjust the size to clip it, but be sure not to run off since this here will do raw pointers with no bounds checks! // gather all the values you'll need up front. These can be kept until the image changes size if you want // (though calculating them isn't really that expensive). auto nextLineAdjustment = img.adjustmentForNextLine(); auto offR = img.redByteOffset(); auto offB = img.blueByteOffset(); auto offG = img.greenByteOffset(); auto bpp = img.bytesPerPixel(); auto data = img.getDataPointer(); // figure out the starting byte offset auto offset = img.offsetForTopLeftPixel() + nextLineAdjustment*Y + bpp * X; auto startOfLine = data + offset; // get our pointer lined up on the first pixel // and now our drawing loop for the rectangle foreach(y; 0 .. H) { auto data = startOfLine; // we keep the start of line separately so moving to the next line is simple and portable foreach(x; 0 .. W) { // write our color data[offR] = 0; data[offG] = 0; data[offB] = 255; data += bpp; // moving to the next pixel is just an addition... } startOfLine += nextLineAdjustment; } As you can see, the loop itself was very simple thanks to the calculations being moved outside. FIXME: I wonder if I can make the pixel formats consistently 32 bit across platforms, so the color offsets can be made into a bitmask or something so we can write them as *uint... */ /// int offsetForTopLeftPixel() { version(X11) { return 0; } else version(Windows) { return (((cast(int) width * 3 + 3) / 4) * 4) * (height - 1); } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } /// int offsetForPixel(int x, int y) { version(X11) { auto offset = (y * width + x) * 4; return offset; } else version(Windows) { auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; // remember, bmps are upside down auto offset = itemsPerLine * (height - y - 1) + x * 3; return offset; } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } /// int adjustmentForNextLine() { version(X11) { return width * 4; } else version(Windows) { // windows bmps are upside down, so the adjustment is actually negative return -((cast(int) width * 3 + 3) / 4) * 4; } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } /// once you have the position of a pixel, use these to get to the proper color int redByteOffset() { version(X11) { return 2; } else version(Windows) { return 2; } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } /// int greenByteOffset() { version(X11) { return 1; } else version(Windows) { return 1; } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } /// int blueByteOffset() { version(X11) { return 0; } else version(Windows) { return 0; } else version(OSXCocoa) { return 0 ; //throw new NotYetImplementedException(); } else static assert(0, "fill in this info for other OSes"); } } /// final void putPixel(int x, int y, Color c) { if(x < 0 || x >= width) return; if(y < 0 || y >= height) return; impl.setPixel(x, y, c); } /// final Color getPixel(int x, int y) { if(x < 0 || x >= width) return Color.transparent; if(y < 0 || y >= height) return Color.transparent; version(OSXCocoa) throw new NotYetImplementedException(); else return impl.getPixel(x, y); } /// final void opIndexAssign(Color c, int x, int y) { putPixel(x, y, c); } /// TrueColorImage toTrueColorImage() { auto tci = new TrueColorImage(width, height); convertToRgbaBytes(tci.imageData.bytes); return tci; } /// static Image fromMemoryImage(MemoryImage i) { auto tci = i.getAsTrueColorImage(); auto img = new Image(tci.width, tci.height); img.setRgbaBytes(tci.imageData.bytes); return img; } /// this is here for interop with arsd.image. where can be a TrueColorImage's data member /// if you pass in a buffer, it will put it right there. length must be width*height*4 already /// if you pass null, it will allocate a new one. ubyte[] getRgbaBytes(ubyte[] where = null) { if(where is null) where = new ubyte[this.width*this.height*4]; convertToRgbaBytes(where); return where; } /// this is here for interop with arsd.image. from can be a TrueColorImage's data member void setRgbaBytes(in ubyte[] from ) { assert(from.length == this.width * this.height * 4); setFromRgbaBytes(from); } // FIXME: make properly cross platform by getting rgba right /// warning: this is not portable across platforms because the data format can change ubyte* getDataPointer() { return impl.rawData; } /// for use with getDataPointer final int bytesPerLine() const pure @safe nothrow { version(Windows) return ((cast(int) width * 3 + 3) / 4) * 4; else version(X11) return 4 * width; else version(OSXCocoa) return 4 * width; else static assert(0); } /// for use with getDataPointer final int bytesPerPixel() const pure @safe nothrow { version(Windows) return 3; else version(X11) return 4; else version(OSXCocoa) return 4; else static assert(0); } /// immutable int width; /// immutable int height; //private: mixin NativeImageImplementation!() impl; } /// A convenience function to pop up a window displaying the image. /// If you pass a win, it will draw the image in it. Otherwise, it will /// create a window with the size of the image and run its event loop, closing /// when a key is pressed. void displayImage(Image image, SimpleWindow win = null) { if(win is null) { win = new SimpleWindow(image); { auto p = win.draw; p.drawImage(Point(0, 0), image); } win.eventLoop(0, (KeyEvent ev) { if (ev.pressed) win.close(); } ); } else { win.image = image; } } enum FontWeight : int { dontcare = 0, thin = 100, extralight = 200, light = 300, regular = 400, medium = 500, semibold = 600, bold = 700, extrabold = 800, heavy = 900 } /++ Represents a font loaded off the operating system or the X server. While the api here is unified cross platform, the fonts are not necessarily available, even across machines of the same platform, so be sure to always check for null (using [isNull]) and have a fallback plan. When you have a font you like, use [ScreenPainter.setFont] to load it for drawing. Worst case, a null font will automatically fall back to the default font loaded for your system. +/ class OperatingSystemFont { version(X11) { XFontStruct* font; XFontSet fontset; } else version(Windows) { HFONT font; } else version(OSXCocoa) { // FIXME } else static assert(0); /// this(string name, int size = 0, FontWeight weight = FontWeight.dontcare, bool italic = false) { load(name, size, weight, italic); } /// bool load(string name, int size = 0, FontWeight weight = FontWeight.dontcare, bool italic = false) { unload(); version(X11) { string weightstr; with(FontWeight) final switch(weight) { case dontcare: weightstr = "*"; break; case thin: weightstr = "extralight"; break; case extralight: weightstr = "extralight"; break; case light: weightstr = "light"; break; case regular: weightstr = "regular"; break; case medium: weightstr = "medium"; break; case semibold: weightstr = "demibold"; break; case bold: weightstr = "bold"; break; case extrabold: weightstr = "demibold"; break; case heavy: weightstr = "black"; break; } string sizestr; if(size == 0) sizestr = "*"; else if(size < 10) sizestr = "" ~ cast(char)(size % 10 + '0'); else sizestr = "" ~ cast(char)(size / 10 + '0') ~ cast(char)(size % 10 + '0'); auto xfontstr = "-*-"~name~"-"~weightstr~"-"~(italic ? "i" : "r")~"-*-*-"~sizestr~"-*-*-*-*-*-*-*\0"; //import std.stdio; writeln(xfontstr); auto display = XDisplayConnection.get; font = XLoadQueryFont(display, xfontstr.ptr); if(font is null) return false; char** lol; int lol2; char* lol3; fontset = XCreateFontSet(display, xfontstr.ptr, &lol, &lol2, &lol3); } else version(Windows) { WCharzBuffer buffer = WCharzBuffer(name); font = CreateFont(size, 0, 0, 0, cast(int) weight, italic, 0, 0, 0, 0, 0, 0, 0, buffer.ptr); } else version(OSXCocoa) { // FIXME } else static assert(0); return !isNull(); } /// void unload() { if(isNull()) return; version(X11) { auto display = XDisplayConnection.display; if(display is null) return; if(font) XFreeFont(display, font); if(fontset) XFreeFontSet(display, fontset); font = null; fontset = null; } else version(Windows) { DeleteObject(font); font = null; } else version(OSXCocoa) { // FIXME } else static assert(0); } /// FIXME not implemented void loadDefault() { } /// bool isNull() { version(OSXCocoa) throw new NotYetImplementedException(); else return font is null; } /* Metrics */ /+ GetFontMetrics GetABCWidth GetKerningPairs XLoadQueryFont if I do it right, I can size it all here, and match what happens when I draw the full string with the OS functions. subclasses might do the same thing while getting the glyphs on images +/ struct GlyphInfo { int glyph; size_t stringIdxStart; size_t stringIdxEnd; Rectangle boundingBox; } GlyphInfo[] getCharBoxes() { return null; } ~this() { unload(); } } /** The 2D drawing proxy. You acquire one of these with [SimpleWindow.draw] rather than constructing it directly. Then, it is reference counted so you can pass it at around and when the last ref goes out of scope, the buffered drawing activities are all carried out. Most functions use the outlineColor instead of taking a color themselves. ScreenPainter is reference counted and draws its buffer to the screen when its final reference goes out of scope. */ struct ScreenPainter { CapableOfBeingDrawnUpon window; this(CapableOfBeingDrawnUpon window, NativeWindowHandle handle) { this.window = window; if(window.closed) return; // null painter is now allowed so no need to throw anymore, this likely happens at the end of a program anyway currentClipRectangle = arsd.color.Rectangle(0, 0, window.width, window.height); if(window.activeScreenPainter !is null) { impl = window.activeScreenPainter; impl.referenceCount++; // writeln("refcount ++ ", impl.referenceCount); } else { impl = new ScreenPainterImplementation; impl.window = window; impl.create(handle); impl.referenceCount = 1; window.activeScreenPainter = impl; // writeln("constructed"); } copyActiveOriginals(); } private Pen originalPen; private Color originalFillColor; private arsd.color.Rectangle originalClipRectangle; void copyActiveOriginals() { if(impl is null) return; originalPen = impl._activePen; originalFillColor = impl._fillColor; originalClipRectangle = impl._clipRectangle; } ~this() { if(impl is null) return; impl.referenceCount--; //writeln("refcount -- ", impl.referenceCount); if(impl.referenceCount == 0) { //writeln("destructed"); impl.dispose(); window.activeScreenPainter = null; //import std.stdio; writeln("paint finished"); } else { // there is still an active reference, reset stuff so the // next user doesn't get weirdness via the reference this.rasterOp = RasterOp.normal; pen = originalPen; fillColor = originalFillColor; impl.setClipRectangle(originalClipRectangle.left, originalClipRectangle.top, originalClipRectangle.width, originalClipRectangle.height); } } this(this) { if(impl is null) return; impl.referenceCount++; //writeln("refcount ++ ", impl.referenceCount); copyActiveOriginals(); } private int _originX; private int _originY; @property int originX() { return _originX; } @property int originY() { return _originY; } @property int originX(int a) { //currentClipRectangle.left += a - _originX; //currentClipRectangle.right += a - _originX; _originX = a; return _originX; } @property int originY(int a) { //currentClipRectangle.top += a - _originY; //currentClipRectangle.bottom += a - _originY; _originY = a; return _originY; } arsd.color.Rectangle currentClipRectangle; // set BEFORE doing any transformations private void transform(ref Point p) { if(impl is null) return; p.x += _originX; p.y += _originY; } // this needs to be checked BEFORE the originX/Y transformation private bool isClipped(Point p) { return !currentClipRectangle.contains(p); } private bool isClipped(Point p, int width, int height) { return !currentClipRectangle.overlaps(arsd.color.Rectangle(p, Size(width + 1, height + 1))); } private bool isClipped(Point p, Size s) { return !currentClipRectangle.overlaps(arsd.color.Rectangle(p, Size(s.width + 1, s.height + 1))); } private bool isClipped(Point p, Point p2) { // need to ensure the end points are actually included inside, so the +1 does that return !currentClipRectangle.overlaps(arsd.color.Rectangle(p, p2 + Point(1, 1))); } /// Sets the clipping region for drawing. If width == 0 && height == 0, disabled clipping. void setClipRectangle(Point pt, int width, int height) { if(impl is null) return; if(pt == currentClipRectangle.upperLeft && width == currentClipRectangle.width && height == currentClipRectangle.height) return; // no need to do anything currentClipRectangle = arsd.color.Rectangle(pt, Size(width, height)); transform(pt); impl.setClipRectangle(pt.x, pt.y, width, height); } /// ditto void setClipRectangle(arsd.color.Rectangle rect) { if(impl is null) return; setClipRectangle(rect.upperLeft, rect.width, rect.height); } /// void setFont(OperatingSystemFont font) { if(impl is null) return; impl.setFont(font); } /// int fontHeight() { if(impl is null) return 0; return impl.fontHeight(); } private Pen activePen; /// @property void pen(Pen p) { if(impl is null) return; activePen = p; impl.pen(p); } /// @property void outlineColor(Color c) { if(impl is null) return; if(activePen.color == c) return; activePen.color = c; impl.pen(activePen); } /// @property void fillColor(Color c) { if(impl is null) return; impl.fillColor(c); } /// @property void rasterOp(RasterOp op) { if(impl is null) return; impl.rasterOp(op); } void updateDisplay() { // FIXME this should do what the dtor does } /// Scrolls the contents in the bounding rectangle by dx, dy. Positive dx means scroll left (make space available at the right), positive dy means scroll up (make space available at the bottom) void scrollArea(Point upperLeft, int width, int height, int dx, int dy) { if(impl is null) return; if(isClipped(upperLeft, width, height)) return; transform(upperLeft); version(Windows) { // http://msdn.microsoft.com/en-us/library/windows/desktop/bb787589%28v=vs.85%29.aspx RECT scroll = RECT(upperLeft.x, upperLeft.y, upperLeft.x + width, upperLeft.y + height); RECT clip = scroll; RECT uncovered; HRGN hrgn; if(!ScrollDC(impl.hdc, -dx, -dy, &scroll, &clip, hrgn, &uncovered)) throw new Exception("ScrollDC"); } else version(X11) { // FIXME: clip stuff outside this rectangle XCopyArea(impl.display, impl.d, impl.d, impl.gc, upperLeft.x, upperLeft.y, width, height, upperLeft.x - dx, upperLeft.y - dy); } else version(OSXCocoa) { throw new NotYetImplementedException(); } else static assert(0); } /// void clear() { if(impl is null) return; fillColor = Color(255, 255, 255); outlineColor = Color(255, 255, 255); drawRectangle(Point(0, 0), window.width, window.height); } /// version(OSXCocoa) {} else // NotYetImplementedException void drawPixmap(Sprite s, Point upperLeft) { if(impl is null) return; if(isClipped(upperLeft, s.width, s.height)) return; transform(upperLeft); impl.drawPixmap(s, upperLeft.x, upperLeft.y); } /// void drawImage(Point upperLeft, Image i, Point upperLeftOfImage = Point(0, 0), int w = 0, int h = 0) { if(impl is null) return; //if(isClipped(upperLeft, w, h)) return; // FIXME transform(upperLeft); if(w == 0 || w > i.width) w = i.width; if(h == 0 || h > i.height) h = i.height; if(upperLeftOfImage.x < 0) upperLeftOfImage.x = 0; if(upperLeftOfImage.y < 0) upperLeftOfImage.y = 0; impl.drawImage(upperLeft.x, upperLeft.y, i, upperLeftOfImage.x, upperLeftOfImage.y, w, h); } /// Size textSize(in char[] text) { if(impl is null) return Size(0, 0); return impl.textSize(text); } /// void drawText(Point upperLeft, in char[] text, Point lowerRight = Point(0, 0), uint alignment = 0) { if(impl is null) return; if(lowerRight.x != 0 || lowerRight.y != 0) { if(isClipped(upperLeft, lowerRight)) return; transform(lowerRight); } else { if(isClipped(upperLeft, textSize(text))) return; } transform(upperLeft); impl.drawText(upperLeft.x, upperLeft.y, lowerRight.x, lowerRight.y, text, alignment); } /++ Draws text using a custom font. This is still MAJOR work in progress. Creating a [DrawableFont] can be tricky and require additional dependencies. +/ void drawText(DrawableFont font, Point upperLeft, in char[] text) { if(impl is null) return; if(isClipped(upperLeft, Point(int.max, int.max))) return; transform(upperLeft); font.drawString(this, upperLeft, text); } static struct TextDrawingContext { Point boundingBoxUpperLeft; Point boundingBoxLowerRight; Point currentLocation; Point lastDrewUpperLeft; Point lastDrewLowerRight; // how do i do right aligned rich text? // i kinda want to do a pre-made drawing then right align // draw the whole block. // // That's exactly the diff: inline vs block stuff. // I need to get coordinates of an inline section out too, // not just a bounding box, but a series of bounding boxes // should be ok. Consider what's needed to detect a click // on a link in the middle of a paragraph breaking a line. // // Generally, we should be able to get the rectangles of // any portion we draw. // // It also needs to tell what text is left if it overflows // out of the box, so we can do stuff like float images around // it. It should not attempt to draw a letter that would be // clipped. // // I might also turn off word wrap stuff. } void drawText(TextDrawingContext context, in char[] text, uint alignment = 0) { if(impl is null) return; // FIXME } /// Drawing an individual pixel is slow. Avoid it if possible. void drawPixel(Point where) { if(impl is null) return; if(isClipped(where)) return; transform(where); impl.drawPixel(where.x, where.y); } /// Draws a pen using the current pen / outlineColor void drawLine(Point starting, Point ending) { if(impl is null) return; if(isClipped(starting, ending)) return; transform(starting); transform(ending); impl.drawLine(starting.x, starting.y, ending.x, ending.y); } /// Draws a rectangle using the current pen/outline color for the border and brush/fill color for the insides /// The outer lines, inclusive of x = 0, y = 0, x = width - 1, and y = height - 1 are drawn with the outlineColor /// The rest of the pixels are drawn with the fillColor. If fillColor is transparent, those pixels are not drawn. void drawRectangle(Point upperLeft, int width, int height) { if(impl is null) return; if(isClipped(upperLeft, width, height)) return; transform(upperLeft); impl.drawRectangle(upperLeft.x, upperLeft.y, width, height); } void drawRectangle(Point upperLeft, Point lowerRightInclusive) { if(impl is null) return; if(isClipped(upperLeft, lowerRightInclusive + Point(1, 1))) return; transform(upperLeft); transform(lowerRightInclusive); impl.drawRectangle(upperLeft.x, upperLeft.y, lowerRightInclusive.x - upperLeft.x + 1, lowerRightInclusive.y - upperLeft.y + 1); } /// Arguments are the points of the bounding rectangle void drawEllipse(Point upperLeft, Point lowerRight) { if(impl is null) return; if(isClipped(upperLeft, lowerRight)) return; transform(upperLeft); transform(lowerRight); impl.drawEllipse(upperLeft.x, upperLeft.y, lowerRight.x, lowerRight.y); } void drawArc(Point upperLeft, int width, int height, int start, int finish) { if(impl is null) return; // FIXME: not actually implemented if(isClipped(upperLeft, width, height)) return; transform(upperLeft); impl.drawArc(upperLeft.x, upperLeft.y, width, height, start, finish); } /// . void drawPolygon(Point[] vertexes) { if(impl is null) return; assert(vertexes.length); int minX = int.max, minY = int.max, maxX = int.min, maxY = int.min; foreach(ref vertex; vertexes) { if(vertex.x < minX) minX = vertex.x; if(vertex.y < minY) minY = vertex.y; if(vertex.x > maxX) maxX = vertex.x; if(vertex.y > maxY) maxY = vertex.y; transform(vertex); } if(isClipped(Point(minX, maxY), Point(maxX + 1, maxY + 1))) return; impl.drawPolygon(vertexes); } /// ditto void drawPolygon(Point[] vertexes...) { if(impl is null) return; drawPolygon(vertexes); } // and do a draw/fill in a single call maybe. Windows can do it... but X can't, though it could do two calls. //mixin NativeScreenPainterImplementation!() impl; // HACK: if I mixin the impl directly, it won't let me override the copy // constructor! The linker complains about there being multiple definitions. // I'll make the best of it and reference count it though. ScreenPainterImplementation* impl; } // HACK: I need a pointer to the implementation so it's separate struct ScreenPainterImplementation { CapableOfBeingDrawnUpon window; int referenceCount; mixin NativeScreenPainterImplementation!(); } // FIXME: i haven't actually tested the sprite class on MS Windows /** Sprites are optimized for fast drawing on the screen, but slow for direct pixel access. They are best for drawing a relatively unchanging image repeatedly on the screen. On X11, this corresponds to an `XPixmap`. On Windows, it still uses a bitmap, though I'm not sure that's ideal and the implementation might change. You create one by giving a window and an image. It optimizes for that window, and copies the image into it to use as the initial picture. Creating a sprite can be quite slow (especially over a network connection) so you should do it as little as possible and just hold on to your sprite handles after making them. simpledisplay does try to do its best though, using the XSHM extension if available, but you should still write your code as if it will always be slow. Then you can use `sprite.drawAt(painter, point);` to draw it, which should be a fast operation - much faster than drawing the Image itself every time. `Sprite` represents a scarce resource which should be freed when you are done with it. Use the `dispose` method to do this. Do not use a `Sprite` after it has been disposed. If you are unsure about this, don't take chances, just let the garbage collector do it for you. But ideally, you can manage its lifetime more efficiently. $(NOTE `Sprite`, like the rest of simpledisplay's `ScreenPainter`, does not support alpha blending in its drawing at this time. That might change in the future, but if you need alpha blending right now, use OpenGL instead. See `gamehelpers.d` for a similar class to `Sprite` that uses OpenGL: `OpenGlTexture`.) FIXME: you are supposed to be able to draw on these similarly to on windows. ScreenPainter needs to be refactored to allow that though. So until that is done, consider a `Sprite` to have const contents. */ version(OSXCocoa) {} else // NotYetImplementedException class Sprite : CapableOfBeingDrawnUpon { /// ScreenPainter draw() { return ScreenPainter(this, handle); } /// Be warned: this can be a very slow operation /// FIXME NOT IMPLEMENTED TrueColorImage takeScreenshot() { return trueColorImageFromNativeHandle(handle, width, height); } void delegate() paintingFinishedDg() { return null; } bool closed() { return false; } ScreenPainterImplementation* activeScreenPainter_; protected ScreenPainterImplementation* activeScreenPainter() { return activeScreenPainter_; } protected void activeScreenPainter(ScreenPainterImplementation* i) { activeScreenPainter_ = i; } version(Windows) private ubyte* rawData; // FIXME: sprites are lost when disconnecting from X! We need some way to invalidate them... this(SimpleWindow win, int width, int height) { this._width = width; this._height = height; version(X11) { auto display = XDisplayConnection.get(); handle = XCreatePixmap(display, cast(Drawable) win.window, width, height, DefaultDepthOfDisplay(display)); } else version(Windows) { BITMAPINFO infoheader; infoheader.bmiHeader.biSize = infoheader.bmiHeader.sizeof; infoheader.bmiHeader.biWidth = width; infoheader.bmiHeader.biHeight = height; infoheader.bmiHeader.biPlanes = 1; infoheader.bmiHeader.biBitCount = 24; infoheader.bmiHeader.biCompression = BI_RGB; // FIXME: this should prolly be a device dependent bitmap... handle = CreateDIBSection( null, &infoheader, DIB_RGB_COLORS, cast(void**) &rawData, null, 0); if(handle is null) throw new Exception("couldn't create pixmap"); } } /// Makes a sprite based on the image with the initial contents from the Image this(SimpleWindow win, Image i) { this(win, i.width, i.height); version(X11) { auto display = XDisplayConnection.get(); if(i.usingXshm) XShmPutImage(display, cast(Drawable) handle, DefaultGC(display, DefaultScreen(display)), i.handle, 0, 0, 0, 0, i.width, i.height, false); else XPutImage(display, cast(Drawable) handle, DefaultGC(display, DefaultScreen(display)), i.handle, 0, 0, 0, 0, i.width, i.height); } else version(Windows) { auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; auto arrLength = itemsPerLine * height; rawData[0..arrLength] = i.rawData[0..arrLength]; } else version(OSXCocoa) { // FIXME: I have no idea if this is even any good ubyte* rawData; auto colorSpace = CGColorSpaceCreateDeviceRGB(); context = CGBitmapContextCreate(null, width, height, 8, 4*width, colorSpace, kCGImageAlphaPremultipliedLast |kCGBitmapByteOrder32Big); CGColorSpaceRelease(colorSpace); rawData = CGBitmapContextGetData(context); auto rdl = (width * height * 4); rawData[0 .. rdl] = i.rawData[0 .. rdl]; } else static assert(0); } /++ Draws the image on the specified painter at the specified point. The point is the upper-left point where the image will be drawn. +/ void drawAt(ScreenPainter painter, Point where) { painter.drawPixmap(this, where); } /// Call this when you're ready to get rid of it void dispose() { version(X11) { if(handle) XFreePixmap(XDisplayConnection.get(), handle); handle = None; } else version(Windows) { if(handle) DeleteObject(handle); handle = null; } else version(OSXCocoa) { if(context) CGContextRelease(context); context = null; } else static assert(0); } ~this() { dispose(); } /// final @property int width() { return _width; } /// final @property int height() { return _height; } private: int _width; int _height; version(X11) Pixmap handle; else version(Windows) HBITMAP handle; else version(OSXCocoa) CGContextRef context; else static assert(0); } /// interface CapableOfBeingDrawnUpon { /// ScreenPainter draw(); /// int width(); /// int height(); protected ScreenPainterImplementation* activeScreenPainter(); protected void activeScreenPainter(ScreenPainterImplementation*); bool closed(); void delegate() paintingFinishedDg(); /// Be warned: this can be a very slow operation TrueColorImage takeScreenshot(); } /// Flushes any pending gui buffers. Necessary if you are using with_eventloop with X - flush after you create your windows but before you call loop() void flushGui() { version(X11) { auto dpy = XDisplayConnection.get(); XLockDisplay(dpy); scope(exit) XUnlockDisplay(dpy); XFlush(dpy); } } // Internal interface CapableOfHandlingNativeEvent { NativeEventHandler getNativeEventHandler(); /*private*//*protected*/ __gshared CapableOfHandlingNativeEvent[NativeWindowHandle] nativeHandleMapping; version(X11) { // if this is impossible, you are allowed to just throw from it // Note: if you call it from another object, set a flag cuz the manger will call you again void recreateAfterDisconnect(); // discard any *connection specific* state, but keep enough that you // can be recreated if possible. discardConnectionState() is always called immediately // before recreateAfterDisconnect(), so you can set a flag there to decide if // you need initialization order void discardConnectionState(); } } version(X11) /++ State of keys on mouse events, especially motion. Do not trust the actual integer values in this, they are platform-specific. Always use the names. +/ enum ModifierState : uint { shift = 1, /// capsLock = 2, /// ctrl = 4, /// alt = 8, /// Not always available on Windows windows = 64, /// ditto numLock = 16, /// leftButtonDown = 256, /// these aren't available on Windows for key events, so don't use them for that unless your app is X only. middleButtonDown = 512, /// ditto rightButtonDown = 1024, /// ditto } else version(Windows) enum ModifierState : uint { shift = 4, /// ctrl = 8, /// // i'm not sure if the next two are available alt = 256, /// not always available on Windows windows = 512, /// ditto capsLock = 1024, /// numLock = 2048, /// leftButtonDown = 1, /// not available on key events middleButtonDown = 16, /// ditto rightButtonDown = 2, /// ditto backButtonDown = 0x20, /// not available on X forwardButtonDown = 0x40, /// ditto } else version(OSXCocoa) // FIXME FIXME NotYetImplementedException enum ModifierState : uint { shift = 1, /// capsLock = 2, /// ctrl = 4, /// alt = 8, /// Not always available on Windows windows = 64, /// ditto numLock = 16, /// leftButtonDown = 256, /// these aren't available on Windows for key events, so don't use them for that unless your app is X only. middleButtonDown = 512, /// ditto rightButtonDown = 1024, /// ditto } /// The names assume a right-handed mouse. These are bitwise combined on the events that use them enum MouseButton : int { none = 0, left = 1, /// right = 2, /// middle = 4, /// wheelUp = 8, /// wheelDown = 16, /// backButton = 32, /// often found on the thumb and used for back in browsers forwardButton = 64, /// often found on the thumb and used for forward in browsers } version(X11) { // FIXME: match ASCII whenever we can. Most of it is already there, // but there's a few exceptions and mismatches with Windows /// Do not trust the numeric values as they are platform-specific. Always use the symbolic name. enum Key { Escape = 0xff1b, /// F1 = 0xffbe, /// F2 = 0xffbf, /// F3 = 0xffc0, /// F4 = 0xffc1, /// F5 = 0xffc2, /// F6 = 0xffc3, /// F7 = 0xffc4, /// F8 = 0xffc5, /// F9 = 0xffc6, /// F10 = 0xffc7, /// F11 = 0xffc8, /// F12 = 0xffc9, /// PrintScreen = 0xff61, /// ScrollLock = 0xff14, /// Pause = 0xff13, /// Grave = 0x60, /// The $(BACKTICK) ~ key // number keys across the top of the keyboard N1 = 0x31, /// Number key atop the keyboard N2 = 0x32, /// N3 = 0x33, /// N4 = 0x34, /// N5 = 0x35, /// N6 = 0x36, /// N7 = 0x37, /// N8 = 0x38, /// N9 = 0x39, /// N0 = 0x30, /// Dash = 0x2d, /// Equals = 0x3d, /// Backslash = 0x5c, /// The \ | key Backspace = 0xff08, /// Insert = 0xff63, /// Home = 0xff50, /// PageUp = 0xff55, /// Delete = 0xffff, /// End = 0xff57, /// PageDown = 0xff56, /// Up = 0xff52, /// Down = 0xff54, /// Left = 0xff51, /// Right = 0xff53, /// Tab = 0xff09, /// Q = 0x71, /// W = 0x77, /// E = 0x65, /// R = 0x72, /// T = 0x74, /// Y = 0x79, /// U = 0x75, /// I = 0x69, /// O = 0x6f, /// P = 0x70, /// LeftBracket = 0x5b, /// the [ { key RightBracket = 0x5d, /// the ] } key CapsLock = 0xffe5, /// A = 0x61, /// S = 0x73, /// D = 0x64, /// F = 0x66, /// G = 0x67, /// H = 0x68, /// J = 0x6a, /// K = 0x6b, /// L = 0x6c, /// Semicolon = 0x3b, /// Apostrophe = 0x27, /// Enter = 0xff0d, /// Shift = 0xffe1, /// Z = 0x7a, /// X = 0x78, /// C = 0x63, /// V = 0x76, /// B = 0x62, /// N = 0x6e, /// M = 0x6d, /// Comma = 0x2c, /// Period = 0x2e, /// Slash = 0x2f, /// the / ? key Shift_r = 0xffe2, /// Note: this isn't sent on all computers, sometimes it just sends Shift, so don't rely on it. If it is supported though, it is the right Shift key, as opposed to the left Shift key Ctrl = 0xffe3, /// Windows = 0xffeb, /// Alt = 0xffe9, /// Space = 0x20, /// Alt_r = 0xffea, /// ditto of shift_r Windows_r = 0xffec, /// Menu = 0xff67, /// Ctrl_r = 0xffe4, /// NumLock = 0xff7f, /// Divide = 0xffaf, /// The / key on the number pad Multiply = 0xffaa, /// The * key on the number pad Minus = 0xffad, /// The - key on the number pad Plus = 0xffab, /// The + key on the number pad PadEnter = 0xff8d, /// Numberpad enter key Pad1 = 0xff9c, /// Numberpad keys Pad2 = 0xff99, /// Pad3 = 0xff9b, /// Pad4 = 0xff96, /// Pad5 = 0xff9d, /// Pad6 = 0xff98, /// Pad7 = 0xff95, /// Pad8 = 0xff97, /// Pad9 = 0xff9a, /// Pad0 = 0xff9e, /// PadDot = 0xff9f, /// } } else version(Windows) { // the character here is for en-us layouts and for illustration only // if you actually want to get characters, wait for character events // (the argument to your event handler is simply a dchar) // those will be converted by the OS for the right locale. enum Key { Escape = 0x1b, F1 = 0x70, F2 = 0x71, F3 = 0x72, F4 = 0x73, F5 = 0x74, F6 = 0x75, F7 = 0x76, F8 = 0x77, F9 = 0x78, F10 = 0x79, F11 = 0x7a, F12 = 0x7b, PrintScreen = 0x2c, ScrollLock = -2, // FIXME Pause = -3, // FIXME Grave = 0xc0, // number keys across the top of the keyboard N1 = 0x31, N2 = 0x32, N3 = 0x33, N4 = 0x34, N5 = 0x35, N6 = 0x36, N7 = 0x37, N8 = 0x38, N9 = 0x39, N0 = 0x30, Dash = 0xbd, Equals = 0xbb, Backslash = 0xdc, Backspace = 0x08, Insert = 0x2d, Home = 0x24, PageUp = 0x21, Delete = 0x2e, End = 0x23, PageDown = 0x22, Up = 0x26, Down = 0x28, Left = 0x25, Right = 0x27, Tab = 0x09, Q = 0x51, W = 0x57, E = 0x45, R = 0x52, T = 0x54, Y = 0x59, U = 0x55, I = 0x49, O = 0x4f, P = 0x50, LeftBracket = 0xdb, RightBracket = 0xdd, CapsLock = 0x14, A = 0x41, S = 0x53, D = 0x44, F = 0x46, G = 0x47, H = 0x48, J = 0x4a, K = 0x4b, L = 0x4c, Semicolon = 0xba, Apostrophe = 0xde, Enter = 0x0d, Shift = 0x10, Z = 0x5a, X = 0x58, C = 0x43, V = 0x56, B = 0x42, N = 0x4e, M = 0x4d, Comma = 0xbc, Period = 0xbe, Slash = 0xbf, Shift_r = -4, // FIXME Note: this isn't sent on all computers, sometimes it just sends Shift, so don't rely on it Ctrl = 0x11, Windows = 0x5b, Alt = -5, // FIXME Space = 0x20, Alt_r = 0xffea, // ditto of shift_r Windows_r = -6, // FIXME Menu = 0x5d, Ctrl_r = -7, // FIXME NumLock = 0x90, Divide = 0x6f, Multiply = 0x6a, Minus = 0x6d, Plus = 0x6b, PadEnter = -8, // FIXME // FIXME for the rest of these: Pad1 = 0xff9c, Pad2 = 0xff99, Pad3 = 0xff9b, Pad4 = 0xff96, Pad5 = 0xff9d, Pad6 = 0xff98, Pad7 = 0xff95, Pad8 = 0xff97, Pad9 = 0xff9a, Pad0 = 0xff9e, PadDot = 0xff9f, } // I'm keeping this around for reference purposes // ideally all these buttons will be listed for all platforms, // but now now I'm just focusing on my US keyboard version(none) enum Key { LBUTTON = 0x01, RBUTTON = 0x02, CANCEL = 0x03, MBUTTON = 0x04, //static if (_WIN32_WINNT > = 0x500) { XBUTTON1 = 0x05, XBUTTON2 = 0x06, //} BACK = 0x08, TAB = 0x09, CLEAR = 0x0C, RETURN = 0x0D, SHIFT = 0x10, CONTROL = 0x11, MENU = 0x12, PAUSE = 0x13, CAPITAL = 0x14, KANA = 0x15, HANGEUL = 0x15, HANGUL = 0x15, JUNJA = 0x17, FINAL = 0x18, HANJA = 0x19, KANJI = 0x19, ESCAPE = 0x1B, CONVERT = 0x1C, NONCONVERT = 0x1D, ACCEPT = 0x1E, MODECHANGE = 0x1F, SPACE = 0x20, PRIOR = 0x21, NEXT = 0x22, END = 0x23, HOME = 0x24, LEFT = 0x25, UP = 0x26, RIGHT = 0x27, DOWN = 0x28, SELECT = 0x29, PRINT = 0x2A, EXECUTE = 0x2B, SNAPSHOT = 0x2C, INSERT = 0x2D, DELETE = 0x2E, HELP = 0x2F, LWIN = 0x5B, RWIN = 0x5C, APPS = 0x5D, SLEEP = 0x5F, NUMPAD0 = 0x60, NUMPAD1 = 0x61, NUMPAD2 = 0x62, NUMPAD3 = 0x63, NUMPAD4 = 0x64, NUMPAD5 = 0x65, NUMPAD6 = 0x66, NUMPAD7 = 0x67, NUMPAD8 = 0x68, NUMPAD9 = 0x69, MULTIPLY = 0x6A, ADD = 0x6B, SEPARATOR = 0x6C, SUBTRACT = 0x6D, DECIMAL = 0x6E, DIVIDE = 0x6F, F1 = 0x70, F2 = 0x71, F3 = 0x72, F4 = 0x73, F5 = 0x74, F6 = 0x75, F7 = 0x76, F8 = 0x77, F9 = 0x78, F10 = 0x79, F11 = 0x7A, F12 = 0x7B, F13 = 0x7C, F14 = 0x7D, F15 = 0x7E, F16 = 0x7F, F17 = 0x80, F18 = 0x81, F19 = 0x82, F20 = 0x83, F21 = 0x84, F22 = 0x85, F23 = 0x86, F24 = 0x87, NUMLOCK = 0x90, SCROLL = 0x91, LSHIFT = 0xA0, RSHIFT = 0xA1, LCONTROL = 0xA2, RCONTROL = 0xA3, LMENU = 0xA4, RMENU = 0xA5, //static if (_WIN32_WINNT > = 0x500) { BROWSER_BACK = 0xA6, BROWSER_FORWARD = 0xA7, BROWSER_REFRESH = 0xA8, BROWSER_STOP = 0xA9, BROWSER_SEARCH = 0xAA, BROWSER_FAVORITES = 0xAB, BROWSER_HOME = 0xAC, VOLUME_MUTE = 0xAD, VOLUME_DOWN = 0xAE, VOLUME_UP = 0xAF, MEDIA_NEXT_TRACK = 0xB0, MEDIA_PREV_TRACK = 0xB1, MEDIA_STOP = 0xB2, MEDIA_PLAY_PAUSE = 0xB3, LAUNCH_MAIL = 0xB4, LAUNCH_MEDIA_SELECT = 0xB5, LAUNCH_APP1 = 0xB6, LAUNCH_APP2 = 0xB7, //} OEM_1 = 0xBA, //static if (_WIN32_WINNT > = 0x500) { OEM_PLUS = 0xBB, OEM_COMMA = 0xBC, OEM_MINUS = 0xBD, OEM_PERIOD = 0xBE, //} OEM_2 = 0xBF, OEM_3 = 0xC0, OEM_4 = 0xDB, OEM_5 = 0xDC, OEM_6 = 0xDD, OEM_7 = 0xDE, OEM_8 = 0xDF, //static if (_WIN32_WINNT > = 0x500) { OEM_102 = 0xE2, //} PROCESSKEY = 0xE5, //static if (_WIN32_WINNT > = 0x500) { PACKET = 0xE7, //} ATTN = 0xF6, CRSEL = 0xF7, EXSEL = 0xF8, EREOF = 0xF9, PLAY = 0xFA, ZOOM = 0xFB, NONAME = 0xFC, PA1 = 0xFD, OEM_CLEAR = 0xFE, } } else version(OSXCocoa) { // FIXME enum Key { Escape = 0x1b, F1 = 0x70, F2 = 0x71, F3 = 0x72, F4 = 0x73, F5 = 0x74, F6 = 0x75, F7 = 0x76, F8 = 0x77, F9 = 0x78, F10 = 0x79, F11 = 0x7a, F12 = 0x7b, PrintScreen = 0x2c, ScrollLock = -2, // FIXME Pause = -3, // FIXME Grave = 0xc0, // number keys across the top of the keyboard N1 = 0x31, N2 = 0x32, N3 = 0x33, N4 = 0x34, N5 = 0x35, N6 = 0x36, N7 = 0x37, N8 = 0x38, N9 = 0x39, N0 = 0x30, Dash = 0xbd, Equals = 0xbb, Backslash = 0xdc, Backspace = 0x08, Insert = 0x2d, Home = 0x24, PageUp = 0x21, Delete = 0x2e, End = 0x23, PageDown = 0x22, Up = 0x26, Down = 0x28, Left = 0x25, Right = 0x27, Tab = 0x09, Q = 0x51, W = 0x57, E = 0x45, R = 0x52, T = 0x54, Y = 0x59, U = 0x55, I = 0x49, O = 0x4f, P = 0x50, LeftBracket = 0xdb, RightBracket = 0xdd, CapsLock = 0x14, A = 0x41, S = 0x53, D = 0x44, F = 0x46, G = 0x47, H = 0x48, J = 0x4a, K = 0x4b, L = 0x4c, Semicolon = 0xba, Apostrophe = 0xde, Enter = 0x0d, Shift = 0x10, Z = 0x5a, X = 0x58, C = 0x43, V = 0x56, B = 0x42, N = 0x4e, M = 0x4d, Comma = 0xbc, Period = 0xbe, Slash = 0xbf, Shift_r = -4, // FIXME Note: this isn't sent on all computers, sometimes it just sends Shift, so don't rely on it Ctrl = 0x11, Windows = 0x5b, Alt = -5, // FIXME Space = 0x20, Alt_r = 0xffea, // ditto of shift_r Windows_r = -6, // FIXME Menu = 0x5d, Ctrl_r = -7, // FIXME NumLock = 0x90, Divide = 0x6f, Multiply = 0x6a, Minus = 0x6d, Plus = 0x6b, PadEnter = -8, // FIXME // FIXME for the rest of these: Pad1 = 0xff9c, Pad2 = 0xff99, Pad3 = 0xff9b, Pad4 = 0xff96, Pad5 = 0xff9d, Pad6 = 0xff98, Pad7 = 0xff95, Pad8 = 0xff97, Pad9 = 0xff9a, Pad0 = 0xff9e, PadDot = 0xff9f, } } /* Additional utilities */ Color fromHsl(real h, real s, real l) { return arsd.color.fromHsl([h,s,l]); } /* ********** What follows is the system-specific implementations *********/ version(Windows) { // helpers for making HICONs from MemoryImages class WindowsIcon { struct Win32Icon(int colorCount) { align(1): uint biSize; int biWidth; int biHeight; ushort biPlanes; ushort biBitCount; uint biCompression; uint biSizeImage; int biXPelsPerMeter; int biYPelsPerMeter; uint biClrUsed; uint biClrImportant; RGBQUAD[colorCount] biColors; /* Pixels: Uint8 pixels[] */ /* Mask: Uint8 mask[] */ ubyte[4096] data; void fromMemoryImage(MemoryImage mi, out int icon_len, out int width, out int height) { width = mi.width; height = mi.height; auto indexedImage = cast(IndexedImage) mi; if(indexedImage is null) indexedImage = quantize(mi.getAsTrueColorImage()); assert(width %8 == 0); // i don't want padding nor do i want the and mask to get fancy assert(height %4 == 0); int icon_plen = height*((width+3)&~3); int icon_mlen = height*((((width+7)/8)+3)&~3); icon_len = 40+icon_plen+icon_mlen + cast(int) RGBQUAD.sizeof * colorCount; biSize = 40; biWidth = width; biHeight = height*2; biPlanes = 1; biBitCount = 8; biSizeImage = icon_plen+icon_mlen; int offset = 0; int andOff = icon_plen * 8; // the and offset is in bits for(int y = height - 1; y >= 0; y--) { int off2 = y * width; foreach(x; 0 .. width) { const b = indexedImage.data[off2 + x]; data[offset] = b; offset++; const andBit = andOff % 8; const andIdx = andOff / 8; assert(b < indexedImage.palette.length); // this is anded to the destination, since and 0 means erase, // we want that to be opaque, and 1 for transparent auto transparent = (indexedImage.palette[b].a <= 127); data[andIdx] |= (transparent ? (1 << (7-andBit)) : 0); andOff++; } andOff += andOff % 32; } foreach(idx, entry; indexedImage.palette) { if(entry.a > 127) { biColors[idx].rgbBlue = entry.b; biColors[idx].rgbGreen = entry.g; biColors[idx].rgbRed = entry.r; } else { biColors[idx].rgbBlue = 255; biColors[idx].rgbGreen = 255; biColors[idx].rgbRed = 255; } } /* data[0..icon_plen] = getFlippedUnfilteredDatastream(png); data[icon_plen..icon_plen+icon_mlen] = getANDMask(png); //icon_win32.biColors[1] = Win32Icon.RGBQUAD(0,255,0,0); auto pngMap = fetchPaletteWin32(png); biColors[0..pngMap.length] = pngMap[]; */ } } Win32Icon!(256) icon_win32; this(MemoryImage mi) { int icon_len, width, height; icon_win32.fromMemoryImage(mi, icon_len, width, height); /* PNG* png = readPnpngData); PNGHeader pngh = getHeader(png); void* icon_win32; if(pngh.depth == 4) { auto i = new Win32Icon!(16); i.fromPNG(png, pngh, icon_len, width, height); icon_win32 = i; } else if(pngh.depth == 8) { auto i = new Win32Icon!(256); i.fromPNG(png, pngh, icon_len, width, height); icon_win32 = i; } else assert(0); */ hIcon = CreateIconFromResourceEx(cast(ubyte*) &icon_win32, icon_len, true, 0x00030000, width, height, 0); if(hIcon is null) throw new Exception("CreateIconFromResourceEx"); } ~this() { DestroyIcon(hIcon); } HICON hIcon; } alias int delegate(HWND, UINT, WPARAM, LPARAM) NativeEventHandler; alias HWND NativeWindowHandle; extern(Windows) LRESULT WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) nothrow { try { if(SimpleWindow.handleNativeGlobalEvent !is null) { // it returns zero if the message is handled, so we won't do anything more there // do I like that though? auto ret = SimpleWindow.handleNativeGlobalEvent(hWnd, iMessage, wParam, lParam); if(ret == 0) return ret; } if(auto window = hWnd in CapableOfHandlingNativeEvent.nativeHandleMapping) { if(window.getNativeEventHandler !is null) { auto ret = window.getNativeEventHandler()(hWnd, iMessage, wParam, lParam); if(ret == 0) return ret; } if(auto w = cast(SimpleWindow) (*window)) return w.windowProcedure(hWnd, iMessage, wParam, lParam); else return DefWindowProc(hWnd, iMessage, wParam, lParam); } else { return DefWindowProc(hWnd, iMessage, wParam, lParam); } } catch (Exception e) { assert(false, "Exception caught in WndProc " ~ e.toString()); } } mixin template NativeScreenPainterImplementation() { HDC hdc; HWND hwnd; //HDC windowHdc; HBITMAP oldBmp; void create(NativeWindowHandle window) { hwnd = window; if(auto sw = cast(SimpleWindow) this.window) { // drawing on a window, double buffer auto windowHdc = GetDC(hwnd); auto buffer = sw.impl.buffer; hdc = CreateCompatibleDC(windowHdc); ReleaseDC(hwnd, windowHdc); oldBmp = SelectObject(hdc, buffer); } else { // drawing on something else, draw directly hdc = CreateCompatibleDC(null); SelectObject(hdc, window); } // X doesn't draw a text background, so neither should we SetBkMode(hdc, TRANSPARENT); static bool triedDefaultGuiFont = false; if(!triedDefaultGuiFont) { NONCLIENTMETRICS params; params.cbSize = params.sizeof; if(SystemParametersInfo(SPI_GETNONCLIENTMETRICS, params.sizeof, &params, 0)) { defaultGuiFont = CreateFontIndirect(&params.lfMessageFont); } triedDefaultGuiFont = true; } if(defaultGuiFont) { SelectObject(hdc, defaultGuiFont); // DeleteObject(defaultGuiFont); } } static HFONT defaultGuiFont; void setFont(OperatingSystemFont font) { if(font && font.font) SelectObject(hdc, font.font); else if(defaultGuiFont) SelectObject(hdc, defaultGuiFont); } arsd.color.Rectangle _clipRectangle; void setClipRectangle(int x, int y, int width, int height) { _clipRectangle = arsd.color.Rectangle(Point(x, y), Size(width, height)); if(width == 0 || height == 0) { SelectClipRgn(hdc, null); } else { auto region = CreateRectRgn(x, y, x + width, y + height); SelectClipRgn(hdc, region); DeleteObject(region); } } // just because we can on Windows... //void create(Image image); void dispose() { // FIXME: this.window.width/height is probably wrong // BitBlt(windowHdc, 0, 0, this.window.width, this.window.height, hdc, 0, 0, SRCCOPY); // ReleaseDC(hwnd, windowHdc); // FIXME: it shouldn't invalidate the whole thing in all cases... it would be ideal to do this right if(cast(SimpleWindow) this.window) InvalidateRect(hwnd, cast(RECT*)null, false); // no need to erase bg as the whole thing gets bitblt'd ove if(originalPen !is null) SelectObject(hdc, originalPen); if(currentPen !is null) DeleteObject(currentPen); if(originalBrush !is null) SelectObject(hdc, originalBrush); if(currentBrush !is null) DeleteObject(currentBrush); SelectObject(hdc, oldBmp); DeleteDC(hdc); if(window.paintingFinishedDg !is null) window.paintingFinishedDg(); } HPEN originalPen; HPEN currentPen; Pen _activePen; @property void pen(Pen p) { _activePen = p; HPEN pen; if(p.color.a == 0) { pen = GetStockObject(NULL_PEN); } else { int style = PS_SOLID; final switch(p.style) { case Pen.Style.Solid: style = PS_SOLID; break; case Pen.Style.Dashed: style = PS_DASH; break; case Pen.Style.Dotted: style = PS_DOT; break; } pen = CreatePen(style, p.width, RGB(p.color.r, p.color.g, p.color.b)); } auto orig = SelectObject(hdc, pen); if(originalPen is null) originalPen = orig; if(currentPen !is null) DeleteObject(currentPen); currentPen = pen; // the outline is like a foreground since it's done that way on X SetTextColor(hdc, RGB(p.color.r, p.color.g, p.color.b)); } @property void rasterOp(RasterOp op) { int mode; final switch(op) { case RasterOp.normal: mode = R2_COPYPEN; break; case RasterOp.xor: mode = R2_XORPEN; break; } SetROP2(hdc, mode); } HBRUSH originalBrush; HBRUSH currentBrush; Color _fillColor = Color(1, 1, 1, 1); // what are the odds that they'd set this?? @property void fillColor(Color c) { if(c == _fillColor) return; _fillColor = c; HBRUSH brush; if(c.a == 0) { brush = GetStockObject(HOLLOW_BRUSH); } else { brush = CreateSolidBrush(RGB(c.r, c.g, c.b)); } auto orig = SelectObject(hdc, brush); if(originalBrush is null) originalBrush = orig; if(currentBrush !is null) DeleteObject(currentBrush); currentBrush = brush; // background color is NOT set because X doesn't draw text backgrounds // SetBkColor(hdc, RGB(255, 255, 255)); } void drawImage(int x, int y, Image i, int ix, int iy, int w, int h) { BITMAP bm; HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmOld = SelectObject(hdcMem, i.handle); GetObject(i.handle, bm.sizeof, &bm); BitBlt(hdc, x, y, w /* bm.bmWidth */, /*bm.bmHeight*/ h, hdcMem, ix, iy, SRCCOPY); SelectObject(hdcMem, hbmOld); DeleteDC(hdcMem); } void drawPixmap(Sprite s, int x, int y) { BITMAP bm; HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmOld = SelectObject(hdcMem, s.handle); GetObject(s.handle, bm.sizeof, &bm); BitBlt(hdc, x, y, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY); SelectObject(hdcMem, hbmOld); DeleteDC(hdcMem); } Size textSize(scope const(char)[] text) { bool dummyX; if(text.length == 0) { text = " "; dummyX = true; } RECT rect; WCharzBuffer buffer = WCharzBuffer(text); DrawTextW(hdc, buffer.ptr, cast(int) buffer.length, &rect, DT_CALCRECT); return Size(dummyX ? 0 : rect.right, rect.bottom); } void drawText(int x, int y, int x2, int y2, scope const(char)[] text, uint alignment) { if(text.length && text[$-1] == '\n') text = text[0 .. $-1]; // tailing newlines are weird on windows... WCharzBuffer buffer = WCharzBuffer(text); if(x2 == 0 && y2 == 0) TextOutW(hdc, x, y, buffer.ptr, cast(int) buffer.length); else { RECT rect; rect.left = x; rect.top = y; rect.right = x2; rect.bottom = y2; uint mode = DT_LEFT; if(alignment & TextAlignment.Right) mode = DT_RIGHT; else if(alignment & TextAlignment.Center) mode = DT_CENTER; // FIXME: vcenter on windows only works with single line, but I want it to work in all cases if(alignment & TextAlignment.VerticalCenter) mode |= DT_VCENTER | DT_SINGLELINE; DrawTextW(hdc, buffer.ptr, cast(int) buffer.length, &rect, mode); } /* uint mode; if(alignment & TextAlignment.Center) mode = TA_CENTER; SetTextAlign(hdc, mode); */ } int fontHeight() { TEXTMETRIC metric; if(GetTextMetricsW(hdc, &metric)) { return metric.tmHeight; } return 16; // idk just guessing here, maybe we should throw } void drawPixel(int x, int y) { SetPixel(hdc, x, y, RGB(_activePen.color.r, _activePen.color.g, _activePen.color.b)); } // The basic shapes, outlined void drawLine(int x1, int y1, int x2, int y2) { MoveToEx(hdc, x1, y1, null); LineTo(hdc, x2, y2); } void drawRectangle(int x, int y, int width, int height) { gdi.Rectangle(hdc, x, y, x + width, y + height); } /// Arguments are the points of the bounding rectangle void drawEllipse(int x1, int y1, int x2, int y2) { Ellipse(hdc, x1, y1, x2, y2); } void drawArc(int x1, int y1, int width, int height, int start, int finish) { // FIXME: start X, start Y, end X, end Y Arc(hdc, x1, y1, x1 + width, y1 + height, 0, 0, 0, 0); } void drawPolygon(Point[] vertexes) { POINT[] points; points.length = vertexes.length; foreach(i, p; vertexes) { points[i].x = p.x; points[i].y = p.y; } Polygon(hdc, points.ptr, cast(int) points.length); } } // Mix this into the SimpleWindow class mixin template NativeSimpleWindowImplementation() { int curHidden = 0; // counter static bool[string] knownWinClasses; static bool altPressed = false; void hideCursor () { ++curHidden; } void showCursor () { --curHidden; if(curHidden == 0) { // FIXME //SetCursor(oldCursor); // show it immediately without waiting for mouse movement } } int minWidth = 0, minHeight = 0, maxWidth = int.max, maxHeight = int.max; void setMinSize (int minwidth, int minheight) { minWidth = minwidth; minHeight = minheight; } void setMaxSize (int maxwidth, int maxheight) { maxWidth = maxwidth; maxHeight = maxheight; } // FIXME i'm not sure that Windows has this functionality // though it is nonessential anyway. void setResizeGranularity (int granx, int grany) {} ScreenPainter getPainter() { return ScreenPainter(this, hwnd); } HBITMAP buffer; void setTitle(string title) { SetWindowTextA(hwnd, toStringz(title)); } void move(int x, int y) { RECT rect; GetWindowRect(hwnd, &rect); // move it while maintaining the same size... MoveWindow(hwnd, x, y, rect.right - rect.left, rect.bottom - rect.top, true); } void resize(int w, int h) { RECT rect; GetWindowRect(hwnd, &rect); RECT client; GetClientRect(hwnd, &client); rect.right = rect.right - client.right + w; rect.bottom = rect.bottom - client.bottom + h; // same position, new size for the client rectangle MoveWindow(hwnd, rect.left, rect.top, rect.right, rect.bottom, true); version(without_opengl) {} else if (openglMode == OpenGlOptions.yes) glViewport(0, 0, w, h); } void moveResize (int x, int y, int w, int h) { // what's given is the client rectangle, we need to adjust RECT rect; rect.left = x; rect.top = y; rect.right = w + x; rect.bottom = h + y; if(!AdjustWindowRect(&rect, GetWindowLong(hwnd, GWL_STYLE), GetMenu(hwnd) !is null)) throw new Exception("AdjustWindowRect"); MoveWindow(hwnd, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, true); version(without_opengl) {} else if (openglMode == OpenGlOptions.yes) glViewport(0, 0, w, h); if (windowResized !is null) windowResized(w, h); } version(without_opengl) {} else { HGLRC ghRC; HDC ghDC; } void createWindow(int width, int height, string title, OpenGlOptions opengl, SimpleWindow parent) { import std.conv : to; string cnamec; wstring cn;// = "DSimpleWindow\0"w.dup; if (sdpyWindowClassStr is null) loadBinNameToWindowClassName(); if (sdpyWindowClassStr is null || sdpyWindowClassStr[0] == 0) { cnamec = "DSimpleWindow"; } else { cnamec = sdpyWindowClass; } cn = cnamec.to!wstring ~ "\0"; // just in case, lol HINSTANCE hInstance = cast(HINSTANCE) GetModuleHandle(null); if(cnamec !in knownWinClasses) { WNDCLASSEX wc; // FIXME: I might be able to use cbWndExtra to hold the pointer back // to the object. Maybe. wc.cbSize = wc.sizeof; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hbrBackground = cast(HBRUSH) (COLOR_WINDOW+1); // GetStockObject(WHITE_BRUSH); wc.hCursor = LoadCursorW(null, IDC_ARROW); wc.hIcon = LoadIcon(hInstance, null); wc.hInstance = hInstance; wc.lpfnWndProc = &WndProc; wc.lpszClassName = cn.ptr; wc.hIconSm = null; wc.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS; if(!RegisterClassExW(&wc)) throw new Exception("RegisterClass " ~ to!string(GetLastError())); knownWinClasses[cnamec] = true; } int style; // FIXME: windowType and customizationFlags final switch(windowType) { case WindowTypes.normal: style = WS_OVERLAPPEDWINDOW; break; case WindowTypes.undecorated: style = WS_POPUP | WS_SYSMENU; break; case WindowTypes.eventOnly: _hidden = true; break; case WindowTypes.dropdownMenu: case WindowTypes.popupMenu: case WindowTypes.notification: style = WS_POPUP; break; case WindowTypes.nestedChild: style = WS_CHILD; break; } hwnd = CreateWindow(cn.ptr, toWStringz(title), style | WS_CLIPCHILDREN, // the clip children helps avoid flickering in minigui and doesn't seem to harm other use (mostly, sdpy is no child windows anyway) sooo i think it is ok CW_USEDEFAULT, CW_USEDEFAULT, width, height, parent is null ? null : parent.impl.hwnd, null, hInstance, null); SimpleWindow.nativeMapping[hwnd] = this; CapableOfHandlingNativeEvent.nativeHandleMapping[hwnd] = this; if(windowType == WindowTypes.eventOnly) return; HDC hdc = GetDC(hwnd); version(without_opengl) {} else { if(opengl == OpenGlOptions.yes) { static if (SdpyIsUsingIVGLBinds) {if (glbindGetProcAddress("glHint") is null) assert(0, "GL: error loading OpenGL"); } // loads all necessary functions static if (SdpyIsUsingIVGLBinds) import iv.glbinds; // override druntime windows imports ghDC = hdc; PIXELFORMATDESCRIPTOR pfd; pfd.nSize = PIXELFORMATDESCRIPTOR.sizeof; pfd.nVersion = 1; pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; pfd.dwLayerMask = PFD_MAIN_PLANE; pfd.iPixelType = PFD_TYPE_RGBA; pfd.cColorBits = 24; pfd.cDepthBits = 24; pfd.cAccumBits = 0; pfd.cStencilBits = 8; // any reasonable OpenGL implementation should support this anyway auto pixelformat = ChoosePixelFormat(hdc, &pfd); if ((pixelformat = ChoosePixelFormat(hdc, &pfd)) == 0) throw new Exception("ChoosePixelFormat"); if (SetPixelFormat(hdc, pixelformat, &pfd) == 0) throw new Exception("SetPixelFormat"); if (sdpyOpenGLContextVersion && wglCreateContextAttribsARB is null) { // windoze is idiotic: we have to have OpenGL context to get function addresses // so we will create fake context to get that stupid address auto tmpcc = wglCreateContext(ghDC); if (tmpcc !is null) { scope(exit) { wglMakeCurrent(ghDC, null); wglDeleteContext(tmpcc); } wglMakeCurrent(ghDC, tmpcc); wglInitOtherFunctions(); } } if (wglCreateContextAttribsARB !is null && sdpyOpenGLContextVersion) { int[9] contextAttribs = [ WGL_CONTEXT_MAJOR_VERSION_ARB, (sdpyOpenGLContextVersion>>8), WGL_CONTEXT_MINOR_VERSION_ARB, (sdpyOpenGLContextVersion&0xff), WGL_CONTEXT_PROFILE_MASK_ARB, (sdpyOpenGLContextCompatible ? WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB : WGL_CONTEXT_CORE_PROFILE_BIT_ARB), // for modern context, set "forward compatibility" flag too (sdpyOpenGLContextCompatible ? 0/*None*/ : WGL_CONTEXT_FLAGS_ARB), WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, 0/*None*/, ]; ghRC = wglCreateContextAttribsARB(ghDC, null, contextAttribs.ptr); if (ghRC is null && sdpyOpenGLContextAllowFallback) { // activate fallback mode // sdpyOpenGLContextVeto-type focus management policy leads to race conditions because the window becoming unviewable may coincide with the window manager deciding to move the focus elsrsion = 0; ghRC = wglCreateContext(ghDC); } if (ghRC is null) throw new Exception("wglCreateContextAttribsARB"); } else { // try to do at least something if (sdpyOpenGLContextAllowFallback || sdpyOpenGLContextVersion == 0) { sdpyOpenGLContextVersion = 0; ghRC = wglCreateContext(ghDC); } if (ghRC is null) throw new Exception("wglCreateContext"); } } } if(opengl == OpenGlOptions.no) { buffer = CreateCompatibleBitmap(hdc, width, height); auto hdcBmp = CreateCompatibleDC(hdc); // make sure it's filled with a blank slate auto oldBmp = SelectObject(hdcBmp, buffer); auto oldBrush = SelectObject(hdcBmp, GetStockObject(WHITE_BRUSH)); auto oldPen = SelectObject(hdcBmp, GetStockObject(WHITE_PEN)); gdi.Rectangle(hdcBmp, 0, 0, width, height); SelectObject(hdcBmp, oldBmp); SelectObject(hdcBmp, oldBrush); SelectObject(hdcBmp, oldPen); DeleteDC(hdcBmp); ReleaseDC(hwnd, hdc); // we keep this in opengl mode since it is a class member now } // We want the window's client area to match the image size RECT rcClient, rcWindow; POINT ptDiff; GetClientRect(hwnd, &rcClient); GetWindowRect(hwnd, &rcWindow); ptDiff.x = (rcWindow.right - rcWindow.left) - rcClient.right; ptDiff.y = (rcWindow.bottom - rcWindow.top) - rcClient.bottom; MoveWindow(hwnd,rcWindow.left, rcWindow.top, width + ptDiff.x, height + ptDiff.y, true); if ((customizationFlags&WindowFlags.dontAutoShow) == 0) { ShowWindow(hwnd, SW_SHOWNORMAL); } else { _hidden = true; } this._visibleForTheFirstTimeCalled = false; // hack! } void dispose() { if(buffer) DeleteObject(buffer); } void closeWindow() { DestroyWindow(hwnd); } // returns zero if it recognized the event static int triggerEvents(HWND hwnd, uint msg, WPARAM wParam, LPARAM lParam, int offsetX, int offsetY, SimpleWindow wind) { MouseEvent mouse; void mouseEvent() { mouse.x = LOWORD(lParam) + offsetX; mouse.y = HIWORD(lParam) + offsetY; wind.mdx(mouse); mouse.modifierState = cast(int) wParam; mouse.window = wind; if(wind.handleMouseEvent) wind.handleMouseEvent(mouse); } // hide cursor in client area if necessary if (wind.curHidden > 0 && msg == WM_SETCURSOR && cast(ushort)lParam == 1/*HTCLIENT*/) { SetCursor(null); return 1; } switch(msg) { case WM_GETMINMAXINFO: MINMAXINFO* mmi = cast(MINMAXINFO*) lParam; if(wind.minWidth > 0) { RECT rect; rect.left = 100; rect.top = 100; rect.right = wind.minWidth + 100; rect.bottom = wind.minHeight + 100; if(!AdjustWindowRect(&rect, GetWindowLong(wind.hwnd, GWL_STYLE), GetMenu(wind.hwnd) !is null)) throw new Exception("AdjustWindowRect"); mmi.ptMinTrackSize.x = rect.right - rect.left; mmi.ptMinTrackSize.y = rect.bottom - rect.top; } if(wind.maxWidth < int.max) { RECT rect; rect.left = 100; rect.top = 100; rect.right = wind.maxWidth + 100; rect.bottom = wind.maxHeight + 100; if(!AdjustWindowRect(&rect, GetWindowLong(wind.hwnd, GWL_STYLE), GetMenu(wind.hwnd) !is null)) throw new Exception("AdjustWindowRect"); mmi.ptMaxTrackSize.x = rect.right - rect.left; mmi.ptMaxTrackSize.y = rect.bottom - rect.top; } break; case WM_CHAR: wchar c = cast(wchar) wParam; if(wind.handleCharEvent) wind.handleCharEvent(cast(dchar) c); break; case WM_SETFOCUS: case WM_KILLFOCUS: wind._focused = (msg == WM_SETFOCUS); if (msg == WM_SETFOCUS) altPressed = false; //k8: reset alt state on defocus (it is better than nothing...) if(wind.onFocusChange) wind.onFocusChange(msg == WM_SETFOCUS); break; case WM_SYSKEYDOWN: case WM_SYSKEYUP: case WM_KEYDOWN: case WM_KEYUP: KeyEvent ev; ev.key = cast(Key) wParam; ev.pressed = (msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN); if ((msg == WM_SYSKEYDOWN || msg == WM_SYSKEYUP) && wParam == 0x12) ev.key = Key.Alt; // windows does it this way ev.hardwareCode = (lParam & 0xff0000) >> 16; if(GetKeyState(Key.Shift)&0x8000 || GetKeyState(Key.Shift_r)&0x8000) ev.modifierState |= ModifierState.shift; //k8: this doesn't work; thanks for nothing, windows /*if(GetKeyState(Key.Alt)&0x8000 || GetKeyState(Key.Alt_r)&0x8000) ev.modifierState |= ModifierState.alt;*/ if ((msg == WM_SYSKEYDOWN || msg == WM_SYSKEYUP) && wParam == 0x12) altPressed = (msg == WM_SYSKEYDOWN); if (altPressed) ev.modifierState |= ModifierState.alt; else ev.modifierState &= ~ModifierState.alt; if(GetKeyState(Key.Ctrl)&0x8000 || GetKeyState(Key.Ctrl_r)&0x8000) ev.modifierState |= ModifierState.ctrl; if(GetKeyState(Key.Windows)&0x8000 || GetKeyState(Key.Windows_r)&0x8000) ev.modifierState |= ModifierState.windows; if(GetKeyState(Key.NumLock)) ev.modifierState |= ModifierState.numLock; if(GetKeyState(Key.CapsLock)) ev.modifierState |= ModifierState.capsLock; /+ // we always want to send the character too, so let's convert it ubyte[256] state; wchar[16] buffer; GetKeyboardState(state.ptr); ToUnicodeEx(wParam, lParam, state.ptr, buffer.ptr, buffer.length, 0, null); foreach(dchar d; buffer) { ev.character = d; break; } +/ ev.window = wind; if(wind.handleKeyEvent) wind.handleKeyEvent(ev); break; case 0x020a /*WM_MOUSEWHEEL*/: mouse.type = cast(MouseEventType) 1; mouse.button = ((HIWORD(wParam) > 120) ? MouseButton.wheelDown : MouseButton.wheelUp); mouseEvent(); break; case WM_MOUSEMOVE: mouse.type = cast(MouseEventType) 0; mouseEvent(); break; case WM_LBUTTONDOWN: case WM_LBUTTONDBLCLK: mouse.type = cast(MouseEventType) 1; mouse.button = MouseButton.left; mouse.doubleClick = msg == WM_LBUTTONDBLCLK; mouseEvent(); break; case WM_LBUTTONUP: mouse.type = cast(MouseEventType) 2; mouse.button = MouseButton.left; mouseEvent(); break; case WM_RBUTTONDOWN: case WM_RBUTTONDBLCLK: mouse.type = cast(MouseEventType) 1; mouse.button = MouseButton.right; mouse.doubleClick = msg == WM_RBUTTONDBLCLK; mouseEvent(); break; case WM_RBUTTONUP: mouse.type = cast(MouseEventType) 2; mouse.button = MouseButton.right; mouseEvent(); break; case WM_MBUTTONDOWN: case WM_MBUTTONDBLCLK: mouse.type = cast(MouseEventType) 1; mouse.button = MouseButton.middle; mouse.doubleClick = msg == WM_MBUTTONDBLCLK; mouseEvent(); break; case WM_MBUTTONUP: mouse.type = cast(MouseEventType) 2; mouse.button = MouseButton.middle; mouseEvent(); break; case WM_XBUTTONDOWN: case WM_XBUTTONDBLCLK: mouse.type = cast(MouseEventType) 1; mouse.button = HIWORD(wParam) == 1 ? MouseButton.backButton : MouseButton.forwardButton; mouse.doubleClick = msg == WM_XBUTTONDBLCLK; mouseEvent(); return 1; // MSDN says special treatment here, return TRUE to bypass simulation programs case WM_XBUTTONUP: mouse.type = cast(MouseEventType) 2; mouse.button = HIWORD(wParam) == 1 ? MouseButton.backButton : MouseButton.forwardButton; mouseEvent(); return 1; // see: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646246(v=vs.85).aspx default: return 1; } return 0; } HWND hwnd; int oldWidth; int oldHeight; bool inSizeMove; // the extern(Windows) wndproc should just forward to this LRESULT windowProcedure(HWND hwnd, uint msg, WPARAM wParam, LPARAM lParam) { assert(hwnd is this.hwnd); if(triggerEvents(hwnd, msg, wParam, lParam, 0, 0, this)) switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: if (this.onDestroyed !is null) try { this.onDestroyed(); } catch (Exception e) {} // sorry SimpleWindow.nativeMapping.remove(hwnd); CapableOfHandlingNativeEvent.nativeHandleMapping.remove(hwnd); bool anyImportant = false; foreach(SimpleWindow w; SimpleWindow.nativeMapping) if(w.beingOpenKeepsAppOpen) { anyImportant = true; break; } if(!anyImportant) PostQuitMessage(0); break; case WM_SIZE: if(wParam == 1 /* SIZE_MINIMIZED */) break; _width = LOWORD(lParam); _height = HIWORD(lParam); // I want to avoid tearing in the windows (my code is inefficient // so this is a hack around that) so while sizing, we don't trigger, // but we do want to trigger on events like mazimize. if(!inSizeMove) goto size_changed; break; // I don't like the tearing I get when redrawing on WM_SIZE // (I know there's other ways to fix that but I don't like that behavior anyway) // so instead it is going to redraw only at the end of a size. case 0x0231: /* WM_ENTERSIZEMOVE */ oldWidth = this.width; oldHeight = this.height; inSizeMove = true; break; case 0x0232: /* WM_EXITSIZEMOVE */ inSizeMove = false; // nothing relevant changed, don't bother redrawing if(oldWidth == width && oldHeight == height) break; size_changed: // note: OpenGL windows don't use a backing bmp, so no need to change them // if resizability is anything other than allowResizing, it is meant to either stretch the one image or just do nothing if(openglMode == OpenGlOptions.no) { // && resizability == Resizability.allowResizing) { // gotta get the double buffer bmp to match the window // FIXME: could this be more efficient? It isn't really necessary to make // a new buffer if we're sizing down at least. auto hdc = GetDC(hwnd); auto oldBuffer = buffer; buffer = CreateCompatibleBitmap(hdc, width, height); auto hdcBmp = CreateCompatibleDC(hdc); auto oldBmp = SelectObject(hdcBmp, buffer); auto hdcOldBmp = CreateCompatibleDC(hdc); auto oldOldBmp = SelectObject(hdcOldBmp, oldBmp); BitBlt(hdcBmp, 0, 0, width, height, hdcOldBmp, oldWidth, oldHeight, SRCCOPY); SelectObject(hdcOldBmp, oldOldBmp); DeleteDC(hdcOldBmp); SelectObject(hdcBmp, oldBmp); DeleteDC(hdcBmp); ReleaseDC(hwnd, hdc); DeleteObject(oldBuffer); } version(without_opengl) {} else if(openglMode == OpenGlOptions.yes && resizability == Resizability.automaticallyScaleIfPossible) { glViewport(0, 0, width, height); } if(windowResized !is null) windowResized(width, height); break; //case WM_ERASEBKGND: // no need since we double buffer //break; case WM_CTLCOLORBTN: case WM_CTLCOLORSTATIC: SetBkMode(cast(HDC) wParam, TRANSPARENT); return cast(typeof(return)) //GetStockObject(NULL_BRUSH); GetSysColorBrush(COLOR_3DFACE); break; case WM_SHOWWINDOW: this._visible = (wParam != 0); if (!this._visibleForTheFirstTimeCalled) { this._visibleForTheFirstTimeCalled = true; if (this.visibleForTheFirstTime !is null) this.visibleForTheFirstTime(); } if (this.visibilityChanged !is null) this.visibilityChanged(this._visible); break; case WM_PAINT: { if (!this._visibleForTheFirstTimeCalled) { this._visibleForTheFirstTimeCalled = true; if (this.visibleForTheFirstTime !is null) this.visibleForTheFirstTime(); } BITMAP bm; PAINTSTRUCT ps; HDC hdc = BeginPaint(hwnd, &ps); if(openglMode == OpenGlOptions.no) { HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmOld = SelectObject(hdcMem, buffer); GetObject(buffer, bm.sizeof, &bm); // FIXME: only BitBlt the invalidated rectangle, not the whole thing if(resizability == Resizability.automaticallyScaleIfPossible) StretchBlt(hdc, 0, 0, this.width, this.height, hdcMem, 0, 0, bm.bmWidth, bm.bmHeight, SRCCOPY); else BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY); SelectObject(hdcMem, hbmOld); DeleteDC(hdcMem); EndPaint(hwnd, &ps); } else { EndPaint(hwnd, &ps); version(without_opengl) {} else redrawOpenGlSceneNow(); } } break; default: return DefWindowProc(hwnd, msg, wParam, lParam); } return 0; } } mixin template NativeImageImplementation() { HBITMAP handle; ubyte* rawData; final: Color getPixel(int x, int y) { auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; // remember, bmps are upside down auto offset = itemsPerLine * (height - y - 1) + x * 3; Color c; c.a = 255; c.b = rawData[offset + 0]; c.g = rawData[offset + 1]; c.r = rawData[offset + 2]; return c; } void setPixel(int x, int y, Color c) { auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; // remember, bmps are upside down auto offset = itemsPerLine * (height - y - 1) + x * 3; rawData[offset + 0] = c.b; rawData[offset + 1] = c.g; rawData[offset + 2] = c.r; } void convertToRgbaBytes(ubyte[] where) { assert(where.length == this.width * this.height * 4); auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; int idx = 0; int offset = itemsPerLine * (height - 1); // remember, bmps are upside down for(int y = height - 1; y >= 0; y--) { auto offsetStart = offset; for(int x = 0; x < width; x++) { where[idx + 0] = rawData[offset + 2]; // r where[idx + 1] = rawData[offset + 1]; // g where[idx + 2] = rawData[offset + 0]; // b where[idx + 3] = 255; // a idx += 4; offset += 3; } offset = offsetStart - itemsPerLine; } } void setFromRgbaBytes(in ubyte[] what) { assert(what.length == this.width * this.height * 4); auto itemsPerLine = ((cast(int) width * 3 + 3) / 4) * 4; int idx = 0; int offset = itemsPerLine * (height - 1); // remember, bmps are upside down for(int y = height - 1; y >= 0; y--) { auto offsetStart = offset; for(int x = 0; x < width; x++) { rawData[offset + 2] = what[idx + 0]; // r rawData[offset + 1] = what[idx + 1]; // g rawData[offset + 0] = what[idx + 2]; // b //where[idx + 3] = 255; // a idx += 4; offset += 3; } offset = offsetStart - itemsPerLine; } } void createImage(int width, int height, bool forcexshm=false) { BITMAPINFO infoheader; infoheader.bmiHeader.biSize = infoheader.bmiHeader.sizeof; infoheader.bmiHeader.biWidth = width; infoheader.bmiHeader.biHeight = height; infoheader.bmiHeader.biPlanes = 1; infoheader.bmiHeader.biBitCount = 24; infoheader.bmiHeader.biCompression = BI_RGB; handle = CreateDIBSection( null, &infoheader, DIB_RGB_COLORS, cast(void**) &rawData, null, 0); if(handle is null) throw new Exception("create image failed"); } void dispose() { DeleteObject(handle); } } enum KEY_ESCAPE = 27; } version(X11) { /// This is the default font used. You might change this before doing anything else with /// the library if you want to try something else. Surround that in `static if(UsingSimpledisplayX11)` /// for cross-platform compatibility. //__gshared string xfontstr = "-*-dejavu sans-medium-r-*-*-12-*-*-*-*-*-*-*"; __gshared string xfontstr = "-*-lucida-medium-r-normal-sans-12-*-*-*-*-*-*-*"; alias int delegate(XEvent) NativeEventHandler; alias Window NativeWindowHandle; enum KEY_ESCAPE = 9; mixin template NativeScreenPainterImplementation() { Display* display; Drawable d; Drawable destiny; // FIXME: should the gc be static too so it isn't recreated every time draw is called? GC gc; __gshared bool fontAttempted; __gshared XFontStruct* defaultfont; __gshared XFontSet defaultfontset; XFontStruct* font; XFontSet fontset; void create(NativeWindowHandle window) { this.display = XDisplayConnection.get(); Drawable buffer = None; if(auto sw = cast(SimpleWindow) this.window) { buffer = sw.impl.buffer; this.destiny = cast(Drawable) window; } else { buffer = cast(Drawable) window; this.destiny = None; } this.d = cast(Drawable) buffer; auto dgc = DefaultGC(display, DefaultScreen(display)); this.gc = XCreateGC(display, d, 0, null); XCopyGC(display, dgc, 0xffffffff, this.gc); if(!fontAttempted) { font = XLoadQueryFont(display, xfontstr.ptr); // if the user font choice fails, fixed is pretty reliable (required by X to start!) and not bad either if(font is null) font = XLoadQueryFont(display, "-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*".ptr); char** lol; int lol2; char* lol3; fontset = XCreateFontSet(display, xfontstr.ptr, &lol, &lol2, &lol3); fontAttempted = true; defaultfont = font; defaultfontset = fontset; } font = defaultfont; fontset = defaultfontset; if(font) { XSetFont(display, gc, font.fid); } } arsd.color.Rectangle _clipRectangle; void setClipRectangle(int x, int y, int width, int height) { _clipRectangle = arsd.color.Rectangle(Point(x, y), Size(width, height)); if(width == 0 || height == 0) XSetClipMask(display, gc, None); else { XRectangle[1] rects; rects[0] = XRectangle(cast(short)(x), cast(short)(y), cast(short) width, cast(short) height); XSetClipRectangles(XDisplayConnection.get, gc, 0, 0, rects.ptr, 1, 0); } } void setFont(OperatingSystemFont font) { if(font && font.font) { this.font = font.font; this.fontset = font.fontset; XSetFont(display, gc, font.font.fid); } else { this.font = defaultfont; this.fontset = defaultfontset; } } void dispose() { this.rasterOp = RasterOp.normal; // FIXME: this.window.width/height is probably wrong // src x,y then dest x, y if(destiny != None) { XSetClipMask(display, gc, None); XCopyArea(display, d, destiny, gc, 0, 0, this.window.width, this.window.height, 0, 0); } XFreeGC(display, gc); version(none) // we don't want to free it because we can use it later if(font) XFreeFont(display, font); version(none) // we don't want to free it because we can use it later if(fontset) XFreeFontSet(display, fontset); XFlush(display); if(window.paintingFinishedDg !is null) window.paintingFinishedDg(); } bool backgroundIsNotTransparent = true; bool foregroundIsNotTransparent = true; bool _penInitialized = false; Pen _activePen; Color _outlineColor; Color _fillColor; @property void pen(Pen p) { if(_penInitialized && p == _activePen) { return; } _penInitialized = true; _activePen = p; _outlineColor = p.color; int style; byte dashLength; final switch(p.style) { case Pen.Style.Solid: style = 0 /*LineSolid*/; break; case Pen.Style.Dashed: style = 1 /*LineOnOffDash*/; dashLength = 4; break; case Pen.Style.Dotted: style = 1 /*LineOnOffDash*/; dashLength = 1; break; } XSetLineAttributes(display, gc, p.width, style, 0, 0); if(dashLength) XSetDashes(display, gc, 0, &dashLength, 1); if(p.color.a == 0) { foregroundIsNotTransparent = false; return; } foregroundIsNotTransparent = true; XSetForeground(display, gc, colorToX(p.color, display)); } RasterOp _currentRasterOp; bool _currentRasterOpInitialized = false; @property void rasterOp(RasterOp op) { if(_currentRasterOpInitialized && _currentRasterOp == op) return; _currentRasterOp = op; _currentRasterOpInitialized = true; int mode; final switch(op) { case RasterOp.normal: mode = GXcopy; break; case RasterOp.xor: mode = GXxor; break; } XSetFunction(display, gc, mode); } bool _fillColorInitialized = false; @property void fillColor(Color c) { if(_fillColorInitialized && _fillColor == c) return; // already good, no need to waste time calling it _fillColor = c; _fillColorInitialized = true; if(c.a == 0) { backgroundIsNotTransparent = false; return; } backgroundIsNotTransparent = true; XSetBackground(display, gc, colorToX(c, display)); } void swapColors() { auto tmp = _fillColor; fillColor = _outlineColor; auto newPen = _activePen; newPen.color = tmp; pen(newPen); } uint colorToX(Color c, Display* display) { auto visual = DefaultVisual(display, DefaultScreen(display)); import core.bitop; uint color = 0; { auto startBit = bsf(visual.red_mask); auto lastBit = bsr(visual.red_mask); auto r = cast(uint) c.r; r >>= 7 - (lastBit - startBit); r <<= startBit; color |= r; } { auto startBit = bsf(visual.green_mask); auto lastBit = bsr(visual.green_mask); auto g = cast(uint) c.g; g >>= 7 - (lastBit - startBit); g <<= startBit; color |= g; } { auto startBit = bsf(visual.blue_mask); auto lastBit = bsr(visual.blue_mask); auto b = cast(uint) c.b; b >>= 7 - (lastBit - startBit); b <<= startBit; color |= b; } return color; } void drawImage(int x, int y, Image i, int ix, int iy, int w, int h) { // source x, source y if(i.usingXshm) XShmPutImage(display, d, gc, i.handle, ix, iy, x, y, w, h, false); else XPutImage(display, d, gc, i.handle, ix, iy, x, y, w, h); } void drawPixmap(Sprite s, int x, int y) { XCopyArea(display, s.handle, d, gc, 0, 0, s.width, s.height, x, y); } int fontHeight() { if(font) return font.max_bounds.ascent + font.max_bounds.descent; return 12; // pretty common default... } Size textSize(in char[] text) { auto maxWidth = 0; auto lineHeight = fontHeight; int h = text.length ? 0 : lineHeight + 4; // if text is empty, it still gives the line height foreach(line; text.split('\n')) { int textWidth; if(font) // FIXME: unicode textWidth = XTextWidth( font, line.ptr, cast(int) line.length); else textWidth = fontHeight / 2 * cast(int) line.length; // if no font is loaded, it is prolly Fixed, which is a 2:1 ratio if(textWidth > maxWidth) maxWidth = textWidth; h += lineHeight + 4; } return Size(maxWidth, h); } void drawText(in int x, in int y, in int x2, in int y2, in char[] originalText, in uint alignment) { // FIXME: we should actually draw unicode.. but until then, I'm going to strip out multibyte chars const(char)[] text; if(fontset) text = originalText; else { text.reserve(originalText.length); // the first 256 unicode codepoints are the same as ascii and latin-1, which is what X expects, so we can keep all those // then strip the rest so there isn't garbage foreach(dchar ch; originalText) if(ch < 256) text ~= cast(ubyte) ch; else text ~= 191; // FIXME: using a random character to fill the space } if(text.length == 0) return; int textHeight = 12; // FIXME: should we clip it to the bounding box? if(font) { textHeight = font.max_bounds.ascent + font.max_bounds.descent; } auto lines = text.split('\n'); auto lineHeight = textHeight; textHeight *= lines.length; int cy = y; if(alignment & TextAlignment.VerticalBottom) { assert(y2); auto h = y2 - y; if(h > textHeight) { cy += h - textHeight; cy -= lineHeight / 2; } } else if(alignment & TextAlignment.VerticalCenter) { assert(y2); auto h = y2 - y; if(textHeight < h) { cy += (h - textHeight) / 2; //cy -= lineHeight / 4; } } foreach(line; text.split('\n')) { int textWidth; if(font) // FIXME: unicode textWidth = XTextWidth( font, line.ptr, cast(int) line.length); else textWidth = 12 * cast(int) line.length; int px = x, py = cy; if(alignment & TextAlignment.Center) { assert(x2); auto w = x2 - x; if(w > textWidth) px += (w - textWidth) / 2; } else if(alignment & TextAlignment.Right) { assert(x2); auto pos = x2 - textWidth; if(pos > x) px = pos; } if(fontset) Xutf8DrawString(display, d, fontset, gc, px, py + (font ? font.max_bounds.ascent : lineHeight), line.ptr, cast(int) line.length); else XDrawString(display, d, gc, px, py + (font ? font.max_bounds.ascent : lineHeight), line.ptr, cast(int) line.length); cy += lineHeight + 4; } } void drawPixel(int x, int y) { XDrawPoint(display, d, gc, x, y); } // The basic shapes, outlined void drawLine(int x1, int y1, int x2, int y2) { if(foregroundIsNotTransparent) XDrawLine(display, d, gc, x1, y1, x2, y2); } void drawRectangle(int x, int y, int width, int height) { if(backgroundIsNotTransparent) { swapColors(); XFillRectangle(display, d, gc, x+1, y+1, width-2, height-2); // Need to ensure pixels are only drawn once... swapColors(); } if(foregroundIsNotTransparent) XDrawRectangle(display, d, gc, x, y, width - 1, height - 1); } /// Arguments are the points of the bounding rectangle void drawEllipse(int x1, int y1, int x2, int y2) { drawArc(x1, y1, x2 - x1, y2 - y1, 0, 360 * 64); } // NOTE: start and finish are in units of degrees * 64 void drawArc(int x1, int y1, int width, int height, int start, int finish) { if(backgroundIsNotTransparent) { swapColors(); XFillArc(display, d, gc, x1, y1, width, height, start, finish); swapColors(); } if(foregroundIsNotTransparent) XDrawArc(display, d, gc, x1, y1, width, height, start, finish); } void drawPolygon(Point[] vertexes) { XPoint[16] pointsBuffer; XPoint[] points; if(vertexes.length <= pointsBuffer.length) points = pointsBuffer[0 .. vertexes.length]; else points.length = vertexes.length; foreach(i, p; vertexes) { points[i].x = cast(short) p.x; points[i].y = cast(short) p.y; } if(backgroundIsNotTransparent) { swapColors(); XFillPolygon(display, d, gc, points.ptr, cast(int) points.length, PolygonShape.Complex, CoordMode.CoordModeOrigin); swapColors(); } if(foregroundIsNotTransparent) { XDrawLines(display, d, gc, points.ptr, cast(int) points.length, CoordMode.CoordModeOrigin); } } } class XDisconnectException : Exception { bool userRequested; this(bool userRequested = true) { this.userRequested = userRequested; super("X disconnected"); } } /// Platform-specific for X11. A singleton class (well, all its methods are actually static... so more like a namespace) wrapping a Display* class XDisplayConnection { private __gshared Display* display; private __gshared XIM xim; private __gshared char* displayName; private __gshared int connectionSequence_; /// use this for lazy caching when reconnection static int connectionSequenceNumber() { return connectionSequence_; } /// Attempts recreation of state, may require application assistance /// You MUST call this OUTSIDE the event loop. Let the exception kill the loop, /// then call this, and if successful, reenter the loop. static void discardAndRecreate(string newDisplayString = null) { if(insideXEventLoop) throw new Error("You MUST call discardAndRecreate from OUTSIDE the event loop"); // auto swnm = SimpleWindow.nativeMapping.dup; // this SHOULD be unnecessary because all simple windows are capable of handling native events, so the latter ought to do it all auto chnenhm = CapableOfHandlingNativeEvent.nativeHandleMapping.dup; foreach(handle; chnenhm) { handle.discardConnectionState(); } discardState(); if(newDisplayString !is null) setDisplayName(newDisplayString); auto display = get(); foreach(handle; chnenhm) { handle.recreateAfterDisconnect(); } } static void discardState() { freeImages(); foreach(atomPtr; interredAtoms) *atomPtr = 0; interredAtoms = null; interredAtoms.assumeSafeAppend(); ScreenPainterImplementation.fontAttempted = false; ScreenPainterImplementation.defaultfont = null; ScreenPainterImplementation.defaultfontset = null; Image.impl.xshmQueryCompleted = false; Image.impl._xshmAvailable = false; SimpleWindow.nativeMapping = null; CapableOfHandlingNativeEvent.nativeHandleMapping = null; // GlobalHotkeyManager display = null; xim = null; } // Do you want to know why do we need all this horrible-looking code? See comment at the bottom. private static void createXIM () { import core.stdc.locale : setlocale, LC_ALL; import core.stdc.stdio : stderr, fprintf; import core.stdc.stdlib : free; import core.stdc.string : strdup; static immutable string[3] mtry = [ null, "@im=local", "@im=" ]; auto olocale = strdup(setlocale(LC_ALL, null)); setlocale(LC_ALL, (sdx_isUTF8Locale ? "" : "en_US.UTF-8")); scope(exit) { setlocale(LC_ALL, olocale); free(olocale); } //fprintf(stderr, "opening IM...\n"); foreach (string s; mtry) { if (s.length) XSetLocaleModifiers(s.ptr); // it's safe, as `s` is string literal if ((xim = XOpenIM(display, null, null, null)) !is null) return; } fprintf(stderr, "createXIM: XOpenIM failed!\n"); } // for X11 we will keep all XShm-allocated images in this list, so we can free 'em on connection closing. // we'll use glibc malloc()/free(), 'cause `unregisterImage()` can be called from object dtor. static struct ImgList { size_t img; // class; hide it from GC ImgList* next; } static __gshared ImgList* imglist = null; static __gshared bool imglistLocked = false; // true: don't register and unregister images static void registerImage (Image img) { if (!imglistLocked && img !is null) { import core.stdc.stdlib : malloc; auto it = cast(ImgList*)malloc(ImgList.sizeof); assert(it !is null); // do proper checks it.img = cast(size_t)cast(void*)img; it.next = imglist; imglist = it; version(sdpy_debug_xshm) { import core.stdc.stdio : printf; printf("registering image %p\n", cast(void*)img); } } } static void unregisterImage (Image img) { if (!imglistLocked && img !is null) { import core.stdc.stdlib : free; ImgList* prev = null; ImgList* cur = imglist; while (cur !is null) { if (cur.img == cast(size_t)cast(void*)img) break; // i found her! prev = cur; cur = cur.next; } if (cur !is null) { if (prev is null) imglist = cur.next; else prev.next = cur.next; free(cur); version(sdpy_debug_xshm) { import core.stdc.stdio : printf; printf("unregistering image %p\n", cast(void*)img); } } else { version(sdpy_debug_xshm) { import core.stdc.stdio : printf; printf("trying to unregister unknown image %p\n", cast(void*)img); } } } } static void freeImages () { // needed for discardAndRecreate imglistLocked = true; scope(exit) imglistLocked = false; ImgList* cur = imglist; ImgList* next = null; while (cur !is null) { import core.stdc.stdlib : free; next = cur.next; version(sdpy_debug_xshm) { import core.stdc.stdio : printf; printf("disposing image %p\n", cast(void*)cur.img); } (cast(Image)cast(void*)cur.img).dispose(); free(cur); cur = next; } imglist = null; } /// can be used to override normal handling of display name /// from environment and/or command line static setDisplayName(string newDisplayName) { displayName = cast(char*) (newDisplayName ~ '\0'); } /// resets to the default display string static resetDisplayName() { displayName = null; } /// static Display* get() { if(display is null) { display = XOpenDisplay(displayName); connectionSequence_++; if(display is null) throw new Exception("Unable to open X display"); XSetIOErrorHandler(&x11ioerrCB); Bool sup; XkbSetDetectableAutoRepeat(display, 1, &sup); // so we will not receive KeyRelease until key is really released createXIM(); version(with_eventloop) { import arsd.eventloop; addFileEventListeners(display.fd, &eventListener, null, null); } } return display; } extern(C) static int x11ioerrCB(Display* dpy) { throw new XDisconnectException(false); } version(with_eventloop) { import arsd.eventloop; static void eventListener(OsFileHandle fd) { //this.mtLock(); //scope(exit) this.mtUnlock(); while(XPending(display)) doXNextEvent(display); } } // close connection on program exit -- we need this to properly free all images shared static ~this () { close(); } /// static void close() { if(display is null) return; version(with_eventloop) { import arsd.eventloop; removeFileEventListeners(display.fd); } // now remove all registered images to prevent shared memory leaks freeImages(); XCloseDisplay(display); display = null; } } mixin template NativeImageImplementation() { XImage* handle; ubyte* rawData; XShmSegmentInfo shminfo; __gshared bool xshmQueryCompleted; __gshared bool _xshmAvailable; public static @property bool xshmAvailable() { if(!xshmQueryCompleted) { int i1, i2, i3; xshmQueryCompleted = true; _xshmAvailable = XQueryExtension(XDisplayConnection.get(), "MIT-SHM", &i1, &i2, &i3) != 0; } return _xshmAvailable; } bool usingXshm; final: void createImage(int width, int height, bool forcexshm=false) { auto display = XDisplayConnection.get(); assert(display !is null); auto screen = DefaultScreen(display); // it will only use shared memory for somewhat largish images, // since otherwise we risk wasting shared memory handles on a lot of little ones if (xshmAvailable && (forcexshm || (width > 100 && height > 100))) { usingXshm = true; handle = XShmCreateImage( display, DefaultVisual(display, screen), 24, ImageFormat.ZPixmap, null, &shminfo, width, height); assert(handle !is null); assert(handle.bytes_per_line == 4 * width); shminfo.shmid = shmget(IPC_PRIVATE, handle.bytes_per_line * height, IPC_CREAT | 511 /* 0777 */); //import std.conv; import core.stdc.errno; assert(shminfo.shmid >= 0);//, to!string(errno)); handle.data = shminfo.shmaddr = rawData = cast(ubyte*) shmat(shminfo.shmid, null, 0); assert(rawData != cast(ubyte*) -1); shminfo.readOnly = 0; XShmAttach(display, &shminfo); XDisplayConnection.registerImage(this); } else { if (forcexshm) throw new Exception("can't create XShm Image"); // This actually needs to be malloc to avoid a double free error when XDestroyImage is called import core.stdc.stdlib : malloc; rawData = cast(ubyte*) malloc(width * height * 4); handle = XCreateImage( display, DefaultVisual(display, screen), 24, // bpp ImageFormat.ZPixmap, 0, // offset rawData, width, height, 8 /* FIXME */, 4 * width); // padding, bytes per line } } void dispose() { // note: this calls free(rawData) for us if(handle) { if (usingXshm) { XDisplayConnection.unregisterImage(this); if (XDisplayConnection.get()) XShmDetach(XDisplayConnection.get(), &shminfo); } XDestroyImage(handle); if(usingXshm) { shmdt(shminfo.shmaddr); shmctl(shminfo.shmid, IPC_RMID, null); } handle = null; } } Color getPixel(int x, int y) { auto offset = (y * width + x) * 4; Color c; c.a = 255; c.b = rawData[offset + 0]; c.g = rawData[offset + 1]; c.r = rawData[offset + 2]; return c; } void setPixel(int x, int y, Color c) { auto offset = (y * width + x) * 4; rawData[offset + 0] = c.b; rawData[offset + 1] = c.g; rawData[offset + 2] = c.r; } void convertToRgbaBytes(ubyte[] where) { assert(where.length == this.width * this.height * 4); // if rawData had a length.... //assert(rawData.length == where.length); for(int idx = 0; idx < where.length; idx += 4) { where[idx + 0] = rawData[idx + 2]; // r where[idx + 1] = rawData[idx + 1]; // g where[idx + 2] = rawData[idx + 0]; // b where[idx + 3] = 255; // a } } void setFromRgbaBytes(in ubyte[] where) { assert(where.length == this.width * this.height * 4); // if rawData had a length.... //assert(rawData.length == where.length); for(int idx = 0; idx < where.length; idx += 4) { rawData[idx + 2] = where[idx + 0]; // r rawData[idx + 1] = where[idx + 1]; // g rawData[idx + 0] = where[idx + 2]; // b //rawData[idx + 3] = 255; // a } } } mixin template NativeSimpleWindowImplementation() { GC gc; Window window; Display* display; Pixmap buffer; int bufferw, bufferh; // size of the buffer; can be bigger than window XIC xic; // input context int curHidden = 0; // counter Cursor blankCurPtr = 0; int cursorSequenceNumber = 0; int warpEventCount = 0; // number of mouse movement events to eat void delegate(XEvent) setSelectionHandler; void delegate(in char[]) getSelectionHandler; version(without_opengl) {} else GLXContext glc; private void fixFixedSize(bool forced=false) (int width, int height) { if (forced || this.resizability == Resizability.fixedSize) { //{ import core.stdc.stdio; printf("fixing size to: %dx%d\n", width, height); } XSizeHints sh; static if (!forced) { c_long spr; XGetWMNormalHints(display, window, &sh, &spr); sh.flags |= PMaxSize | PMinSize; } else { sh.flags = PMaxSize | PMinSize; } sh.min_width = width; sh.min_height = height; sh.max_width = width; sh.max_height = height; XSetWMNormalHints(display, window, &sh); //XFlush(display); } } ScreenPainter getPainter() { return ScreenPainter(this, window); } void move(int x, int y) { XMoveWindow(display, window, x, y); } void resize(int w, int h) { if (w < 1) w = 1; if (h < 1) h = 1; XResizeWindow(display, window, w, h); // FIXME: do we need to set this as the opengl context to do the glViewport change? version(without_opengl) {} else if (openglMode == OpenGlOptions.yes) glViewport(0, 0, w, h); } void moveResize (int x, int y, int w, int h) { if (w < 1) w = 1; if (h < 1) h = 1; XMoveResizeWindow(display, window, x, y, w, h); version(without_opengl) {} else if (openglMode == OpenGlOptions.yes) glViewport(0, 0, w, h); } void hideCursor () { if (curHidden++ == 0) { if (!blankCurPtr || cursorSequenceNumber != XDisplayConnection.connectionSequenceNumber) { static const(char)[1] cmbmp = 0; XColor blackcolor = { 0, 0, 0, 0, 0, 0 }; Pixmap pm = XCreateBitmapFromData(display, window, cmbmp.ptr, 1, 1); blankCurPtr = XCreatePixmapCursor(display, pm, pm, &blackcolor, &blackcolor, 0, 0); cursorSequenceNumber = XDisplayConnection.connectionSequenceNumber; XFreePixmap(display, pm); } XDefineCursor(display, window, blankCurPtr); } } void showCursor () { if (--curHidden == 0) XUndefineCursor(display, window); } void warpMouse (int x, int y) { // here i will send dummy "ignore next mouse motion" event, // 'cause `XWarpPointer()` sends synthesised mouse motion, // and we don't need to report it to the user (as warping is // used when the user needs movement deltas). //XClientMessageEvent xclient; XEvent e; e.xclient.type = EventType.ClientMessage; e.xclient.window = window; e.xclient.message_type = GetAtom!("_X11SDPY_INSMME_FLAG_EVENT_", true)(display); // let's hope nobody else will use such stupid name ;-) e.xclient.format = 32; e.xclient.data.l[0] = 0; debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: sending \"INSMME\"...\n"); } //{ import core.stdc.stdio : printf; printf("*X11 CLIENT: w=%u; type=%u; [0]=%u\n", cast(uint)e.xclient.window, cast(uint)e.xclient.message_type, cast(uint)e.xclient.data.l[0]); } XSendEvent(display, window, false, EventMask.NoEventMask, /*cast(XEvent*)&xclient*/&e); // now warp pointer... debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: sending \"warp\"...\n"); } XWarpPointer(display, None, window, 0, 0, 0, 0, x, y); // ...and flush debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: flushing...\n"); } XFlush(display); } void sendDummyEvent () { // here i will send dummy event to ping event queue XEvent e; e.xclient.type = EventType.ClientMessage; e.xclient.window = window; e.xclient.message_type = GetAtom!("_X11SDPY_DUMMY_EVENT_", true)(display); // let's hope nobody else will use such stupid name ;-) e.xclient.format = 32; e.xclient.data.l[0] = 0; XSendEvent(display, window, false, EventMask.NoEventMask, /*cast(XEvent*)&xclient*/&e); XFlush(display); } void setTitle(string title) { if (title.ptr is null) title = ""; auto XA_UTF8 = XInternAtom(display, "UTF8_STRING".ptr, false); auto XA_NETWM_NAME = XInternAtom(display, "_NET_WM_NAME".ptr, false); XTextProperty windowName; windowName.value = title.ptr; windowName.encoding = XA_UTF8; //XA_STRING; windowName.format = 8; windowName.nitems = cast(uint)title.length; XSetWMName(display, window, &windowName); char[1024] namebuf = 0; auto maxlen = namebuf.length-1; if (maxlen > title.length) maxlen = title.length; namebuf[0..maxlen] = title[0..maxlen]; XStoreName(display, window, namebuf.ptr); XChangeProperty(display, window, XA_NETWM_NAME, XA_UTF8, 8, PropModeReplace, title.ptr, cast(uint)title.length); flushGui(); // without this OpenGL windows has a LONG delay before changing title } void setMinSize (int minwidth, int minheight) { import core.stdc.config : c_long; if (minwidth < 1) minwidth = 1; if (minheight < 1) minheight = 1; XSizeHints sh; c_long spr; XGetWMNormalHints(display, window, &sh, &spr); sh.min_width = minwidth; sh.min_height = minheight; sh.flags |= PMinSize; XSetWMNormalHints(display, window, &sh); flushGui(); } void setMaxSize (int maxwidth, int maxheight) { import core.stdc.config : c_long; if (maxwidth < 1) maxwidth = 1; if (maxheight < 1) maxheight = 1; XSizeHints sh; c_long spr; XGetWMNormalHints(display, window, &sh, &spr); sh.max_width = maxwidth; sh.max_height = maxheight; sh.flags |= PMaxSize; XSetWMNormalHints(display, window, &sh); flushGui(); } void setResizeGranularity (int granx, int grany) { import core.stdc.config : c_long; if (granx < 1) granx = 1; if (grany < 1) grany = 1; XSizeHints sh; c_long spr; XGetWMNormalHints(display, window, &sh, &spr); sh.width_inc = granx; sh.height_inc = grany; sh.flags |= PResizeInc; XSetWMNormalHints(display, window, &sh); flushGui(); } void createWindow(int width, int height, string title, in OpenGlOptions opengl, SimpleWindow parent) { display = XDisplayConnection.get(); auto screen = DefaultScreen(display); version(without_opengl) {} else { if(opengl == OpenGlOptions.yes) { GLXFBConfig fbconf = null; XVisualInfo* vi = null; bool useLegacy = false; static if (SdpyIsUsingIVGLBinds) {if (glbindGetProcAddress("glHint") is null) assert(0, "GL: error loading OpenGL"); } // loads all necessary functions if (sdpyOpenGLContextVersion != 0 && glXCreateContextAttribsARB_present()) { int[23] visualAttribs = [ GLX_X_RENDERABLE , 1/*True*/, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE , GLX_RGBA_BIT, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_RED_SIZE , 8, GLX_GREEN_SIZE , 8, GLX_BLUE_SIZE , 8, GLX_ALPHA_SIZE , 8, GLX_DEPTH_SIZE , 24, GLX_STENCIL_SIZE , 8, GLX_DOUBLEBUFFER , 1/*True*/, 0/*None*/, ]; int fbcount; GLXFBConfig* fbc = glXChooseFBConfig(display, screen, visualAttribs.ptr, &fbcount); if (fbcount == 0) { useLegacy = true; // try to do at least something } else { // pick the FB config/visual with the most samples per pixel int bestidx = -1, bestns = -1; foreach (int fbi; 0..fbcount) { int sb, samples; glXGetFBConfigAttrib(display, fbc[fbi], GLX_SAMPLE_BUFFERS, &sb); glXGetFBConfigAttrib(display, fbc[fbi], GLX_SAMPLES, &samples); if (bestidx < 0 || sb && samples > bestns) { bestidx = fbi; bestns = samples; } } //{ import core.stdc.stdio; printf("found gl visual with %d samples\n", bestns); } fbconf = fbc[bestidx]; // Be sure to free the FBConfig list allocated by glXChooseFBConfig() XFree(fbc); vi = cast(XVisualInfo*)glXGetVisualFromFBConfig(display, fbconf); } } if (vi is null || useLegacy) { static immutable GLint[5] attrs = [ GLX_RGBA, GLX_DEPTH_SIZE, 24, GLX_DOUBLEBUFFER, None ]; vi = cast(XVisualInfo*)glXChooseVisual(display, 0, attrs.ptr); useLegacy = true; } if (vi is null) throw new Exception("no open gl visual found"); XSetWindowAttributes swa; auto root = RootWindow(display, screen); swa.colormap = XCreateColormap(display, root, vi.visual, AllocNone); window = XCreateWindow(display, parent is null ? root : parent.impl.window, 0, 0, width, height, 0, vi.depth, 1 /* InputOutput */, vi.visual, CWColormap, &swa); // now try to use `glXCreateContextAttribsARB()` if it's here if (!useLegacy) { // request fairly advanced context, even with stencil buffer! int[9] contextAttribs = [ GLX_CONTEXT_MAJOR_VERSION_ARB, (sdpyOpenGLContextVersion>>8), GLX_CONTEXT_MINOR_VERSION_ARB, (sdpyOpenGLContextVersion&0xff), /*GLX_CONTEXT_PROFILE_MASK_ARB*/0x9126, (sdpyOpenGLContextCompatible ? /*GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB*/0x02 : /*GLX_CONTEXT_CORE_PROFILE_BIT_ARB*/ 0x01), // for modern context, set "forward compatibility" flag too (sdpyOpenGLContextCompatible ? None : /*GLX_CONTEXT_FLAGS_ARB*/ 0x2094), /*GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB*/ 0x02, 0/*None*/, ]; glc = glXCreateContextAttribsARB(display, fbconf, null, 1/*True*/, contextAttribs.ptr); if (glc is null && sdpyOpenGLContextAllowFallback) { sdpyOpenGLContextVersion = 0; glc = glXCreateContext(display, vi, null, /*GL_TRUE*/1); } //{ import core.stdc.stdio; printf("using modern ogl v%d.%d\n", contextAttribs[1], contextAttribs[3]); } } else { // fallback to old GLX call if (sdpyOpenGLContextAllowFallback || sdpyOpenGLContextVersion == 0) { sdpyOpenGLContextVersion = 0; glc = glXCreateContext(display, vi, null, /*GL_TRUE*/1); } } // sync to ensure any errors generated are processed XSync(display, 0/*False*/); //{ import core.stdc.stdio; printf("ogl is here\n"); } if(glc is null) throw new Exception("glc"); } } if(opengl == OpenGlOptions.no) { bool overrideRedirect = false; if(windowType == WindowTypes.dropdownMenu || windowType == WindowTypes.popupMenu || windowType == WindowTypes.notification) overrideRedirect = true; XSetWindowAttributes swa; swa.background_pixel = WhitePixel(display, screen); swa.border_pixel = BlackPixel(display, screen); swa.override_redirect = overrideRedirect; auto root = RootWindow(display, screen); swa.colormap = XCreateColormap(display, root, DefaultVisual(display, screen), AllocNone); window = XCreateWindow(display, parent is null ? root : parent.impl.window, 0, 0, width, height, 0, CopyFromParent, 1 /* InputOutput */, cast(Visual*) CopyFromParent, CWColormap | CWBackPixel | CWBorderPixel | CWOverrideRedirect, &swa); /* window = XCreateSimpleWindow( display, parent is null ? RootWindow(display, screen) : parent.impl.window, 0, 0, // x, y width, height, 1, // border width BlackPixel(display, screen), // border WhitePixel(display, screen)); // background */ buffer = XCreatePixmap(display, cast(Drawable) window, width, height, DefaultDepthOfDisplay(display)); bufferw = width; bufferh = height; gc = DefaultGC(display, screen); // clear out the buffer to get us started... XSetForeground(display, gc, WhitePixel(display, screen)); XFillRectangle(display, cast(Drawable) buffer, gc, 0, 0, width, height); XSetForeground(display, gc, BlackPixel(display, screen)); } // input context //TODO: create this only for top-level windows, and reuse that? if (XDisplayConnection.xim !is null) { xic = XCreateIC(XDisplayConnection.xim, /*XNInputStyle*/"inputStyle".ptr, XIMPreeditNothing|XIMStatusNothing, /*XNClientWindow*/"clientWindow".ptr, window, /*XNFocusWindow*/"focusWindow".ptr, window, null); if (xic is null) { import core.stdc.stdio : stderr, fprintf; fprintf(stderr, "XCreateIC failed for window %u\n", cast(uint)window); } } if (sdpyWindowClassStr is null) loadBinNameToWindowClassName(); if (sdpyWindowClassStr is null) sdpyWindowClass = "DSimpleWindow"; // window class if (sdpyWindowClassStr !is null && sdpyWindowClassStr[0]) { //{ import core.stdc.stdio; printf("winclass: [%s]\n", sdpyWindowClassStr); } XClassHint klass; XWMHints wh; XSizeHints size; klass.res_name = sdpyWindowClassStr; klass.res_class = sdpyWindowClassStr; XSetWMProperties(display, window, null, null, null, 0, &size, &wh, &klass); } setTitle(title); SimpleWindow.nativeMapping[window] = this; CapableOfHandlingNativeEvent.nativeHandleMapping[window] = this; // This gives our window a close button if (windowType != WindowTypes.eventOnly) { Atom atom = XInternAtom(display, "WM_DELETE_WINDOW".ptr, true); // FIXME: does this need to be freed? XSetWMProtocols(display, window, &atom, 1); } // FIXME: windowType and customizationFlags Atom[8] wsatoms; // here, due to goto int wmsacount = 0; // here, due to goto try final switch(windowType) { case WindowTypes.normal: setNetWMWindowType(GetAtom!"_NET_WM_WINDOW_TYPE_NORMAL"(display)); break; case WindowTypes.undecorated: motifHideDecorations(); setNetWMWindowType(GetAtom!"_NET_WM_WINDOW_TYPE_NORMAL"(display)); break; case WindowTypes.eventOnly: _hidden = true; XSelectInput(display, window, EventMask.StructureNotifyMask); // without this, we won't get destroy notification goto hiddenWindow; //break; case WindowTypes.nestedChild: break; case WindowTypes.dropdownMenu: motifHideDecorations(); setNetWMWindowType(GetAtom!"_NET_WM_WINDOW_TYPE_DROPDOWN_MENU"(display)); customizationFlags |= WindowFlags.skipTaskbar | WindowFlags.alwaysOnTop; break; case WindowTypes.popupMenu: motifHideDecorations(); setNetWMWindowType(GetAtom!"_NET_WM_WINDOW_TYPE_POPUP_MENU"(display)); customizationFlags |= WindowFlags.skipTaskbar | WindowFlags.alwaysOnTop; break; case WindowTypes.notification: motifHideDecorations(); setNetWMWindowType(GetAtom!"_NET_WM_WINDOW_TYPE_NOTIFICATION"(display)); customizationFlags |= WindowFlags.skipTaskbar | WindowFlags.alwaysOnTop; break; /+ case WindowTypes.menu: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_MENU"(display); motifHideDecorations(); break; case WindowTypes.desktop: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_DESKTOP"(display); break; case WindowTypes.dock: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_DOCK"(display); break; case WindowTypes.toolbar: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_TOOLBAR"(display); break; case WindowTypes.menu: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_MENU"(display); break; case WindowTypes.utility: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_UTILITY"(display); break; case WindowTypes.splash: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_SPLASH"(display); break; case WindowTypes.dialog: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_DIALOG"(display); break; case WindowTypes.tooltip: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_TOOLTIP"(display); break; case WindowTypes.notification: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_NOTIFICATION"(display); break; case WindowTypes.combo: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_COMBO"(display); break; case WindowTypes.dnd: atoms[0] = GetAtom!"_NET_WM_WINDOW_TYPE_DND"(display); break; +/ } catch(Exception e) { // XInternAtom failed, prolly a WM // that doesn't support these things } if (customizationFlags&WindowFlags.skipTaskbar) wsatoms[wmsacount++] = GetAtom!("_NET_WM_STATE_SKIP_TASKBAR", true)(display); // the two following flags may be ignored by WM if (customizationFlags&WindowFlags.alwaysOnTop) wsatoms[wmsacount++] = GetAtom!("_NET_WM_STATE_ABOVE", true)(display); if (customizationFlags&WindowFlags.alwaysOnBottom) wsatoms[wmsacount++] = GetAtom!("_NET_WM_STATE_BELOW", true)(display); if (wmsacount != 0) XChangeProperty(display, window, GetAtom!("_NET_WM_STATE", true)(display), XA_ATOM, 32 /* bits */,0 /*PropModeReplace*/, wsatoms.ptr, wmsacount); if (this.resizability == Resizability.fixedSize || (opengl == OpenGlOptions.no && this.resizability != Resizability.allowResizing)) fixFixedSize!true(width, height); // What would be ideal here is if they only were // selected if there was actually an event handler // for them... selectDefaultInput((customizationFlags & WindowFlags.alwaysRequestMouseMotionEvents)?true:false); hiddenWindow: // set the pid property for lookup later by window managers // a standard convenience import core.sys.posix.unistd; arch_ulong pid = getpid(); XChangeProperty( display, impl.window, GetAtom!("_NET_WM_PID", true)(display), XA_CARDINAL, 32 /* bits */, 0 /*PropModeReplace*/, &pid, 1); if(windowType != WindowTypes.eventOnly && (customizationFlags&WindowFlags.dontAutoShow) == 0) { XMapWindow(display, window); } else { _hidden = true; } } void selectDefaultInput(bool forceIncludeMouseMotion) { auto mask = EventMask.ExposureMask | EventMask.KeyPressMask | EventMask.KeyReleaseMask | EventMask.PropertyChangeMask | EventMask.FocusChangeMask | EventMask.StructureNotifyMask | EventMask.VisibilityChangeMask | EventMask.ButtonPressMask | EventMask.ButtonReleaseMask ; // xshm is our shortcut for local connections if(Image.impl.xshmAvailable || forceIncludeMouseMotion) mask |= EventMask.PointerMotionMask; XSelectInput(display, window, mask); } void setNetWMWindowType(Atom type) { Atom[2] atoms; atoms[0] = type; // generic fallback atoms[1] = GetAtom!"_NET_WM_WINDOW_TYPE_NORMAL"(display); XChangeProperty( display, impl.window, GetAtom!"_NET_WM_WINDOW_TYPE"(display), XA_ATOM, 32 /* bits */, 0 /*PropModeReplace*/, atoms.ptr, cast(int) atoms.length); } void motifHideDecorations() { MwmHints hints; hints.flags = MWM_HINTS_DECORATIONS; XChangeProperty( display, impl.window, GetAtom!"_MOTIF_WM_HINTS"(display), GetAtom!"_MOTIF_WM_HINTS"(display), 32 /* bits */, 0 /*PropModeReplace*/, &hints, hints.sizeof / 4); } /*k8: unused void createOpenGlContext() { } */ void closeWindow() { if (customEventFD != -1) { import core.sys.posix.unistd : close; close(customEventFD); customEventFD = -1; } if(buffer) XFreePixmap(display, buffer); bufferw = bufferh = 0; if (blankCurPtr && cursorSequenceNumber == XDisplayConnection.connectionSequenceNumber) XFreeCursor(display, blankCurPtr); XDestroyWindow(display, window); XFlush(display); } void dispose() { } bool destroyed = false; } bool insideXEventLoop; } version(X11) { int mouseDoubleClickTimeout = 350; /// double click timeout. X only, you probably shouldn't change this. /// Platform-specific, you might use it when doing a custom event loop bool doXNextEvent(Display* display) { bool done; XEvent e; XNextEvent(display, &e); version(sddddd) { import std.stdio, std.conv : to; if(auto win = e.xany.window in CapableOfHandlingNativeEvent.nativeHandleMapping) { if(typeid(cast(Object) *win) == NotificationAreaIcon.classinfo) writeln("event for: ", e.xany.window, "; type is ", to!string(cast(EventType)e.type)); } } // filter out compose events if (XFilterEvent(&e, None)) { //{ import core.stdc.stdio : printf; printf("XFilterEvent filtered!\n"); } //NOTE: we should ungrab keyboard here, but simpledisplay doesn't use keyboard grabbing (yet) return false; } // process keyboard mapping changes if (e.type == EventType.KeymapNotify) { //{ import core.stdc.stdio : printf; printf("KeymapNotify processed!\n"); } XRefreshKeyboardMapping(&e.xmapping); return false; } version(with_eventloop) import arsd.eventloop; if(SimpleWindow.handleNativeGlobalEvent !is null) { // see windows impl's comments XUnlockDisplay(display); scope(exit) XLockDisplay(display); auto ret = SimpleWindow.handleNativeGlobalEvent(e); if(ret == 0) return done; } if(auto win = e.xany.window in CapableOfHandlingNativeEvent.nativeHandleMapping) { if(win.getNativeEventHandler !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); auto ret = win.getNativeEventHandler()(e); if(ret == 0) return done; } } switch(e.type) { case EventType.SelectionClear: if(auto win = e.xselectionclear.window in SimpleWindow.nativeMapping) { /* FIXME??????? */ } break; case EventType.SelectionRequest: if(auto win = e.xselectionrequest.owner in SimpleWindow.nativeMapping) if(win.setSelectionHandler !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.setSelectionHandler(e); } break; case EventType.SelectionNotify: if(auto win = e.xselection.requestor in SimpleWindow.nativeMapping) if(win.getSelectionHandler !is null) { // FIXME: maybe we should call a different handler for PRIMARY vs CLIPBOARD if(e.xselection.property == None) { // || e.xselection.property == GetAtom!("NULL", true)(e.xselection.display)) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.getSelectionHandler(null); } else { Atom target; int format; arch_ulong bytesafter, length; void* value; XGetWindowProperty( e.xselection.display, e.xselection.requestor, e.xselection.property, 0, 100000 /* length */, false, 0 /*AnyPropertyType*/, &target, &format, &length, &bytesafter, &value); // FIXME: it might be sent in pieces... // FIXME: I don't have to copy it now since it is in char[] instead of string { XUnlockDisplay(display); scope(exit) XLockDisplay(display); if(target == XA_ATOM) { // initial request, see what they are able to work with and request the best one // we can handle, if available Atom[] answer = (cast(Atom*) value)[0 .. length]; Atom best = None; foreach(option; answer) { if(option == GetAtom!"UTF8_STRING"(display)) { best = option; break; } else if(option == XA_STRING) { best = option; } } //writeln("got ", answer); if(best != None) { // actually request the best format XConvertSelection(e.xselection.display, e.xselection.selection, best, GetAtom!("SDD_DATA", true)(display), e.xselection.requestor, 0 /*CurrentTime*/); } } else if(target == GetAtom!"UTF8_STRING"(display) || target == XA_STRING) { win.getSelectionHandler((cast(char[]) value[0 .. length]).idup); } else { // unsupported type } } XFree(value); XDeleteProperty( e.xselection.display, e.xselection.requestor, e.xselection.property); } } break; case EventType.ConfigureNotify: auto event = e.xconfigure; if(auto win = event.window in SimpleWindow.nativeMapping) { //version(sdddd) { import std.stdio; writeln(" w=", event.width, "; h=", event.height); } if(event.width != win.width || event.height != win.height) { win._width = event.width; win._height = event.height; if(win.openglMode == OpenGlOptions.no) { // FIXME: could this be more efficient? if (win.bufferw < event.width || win.bufferh < event.height) { //{ import core.stdc.stdio; printf("new buffer; old size: %dx%d; new size: %dx%d\n", win.bufferw, win.bufferh, cast(int)event.width, cast(int)event.height); } // grow the internal buffer to match the window... auto newPixmap = XCreatePixmap(display, cast(Drawable) event.window, event.width, event.height, DefaultDepthOfDisplay(display)); { GC xgc = XCreateGC(win.display, cast(Drawable)win.window, 0, null); XCopyGC(win.display, win.gc, 0xffffffff, xgc); scope(exit) XFreeGC(win.display, xgc); XSetClipMask(win.display, xgc, None); XSetForeground(win.display, xgc, 0); XFillRectangle(display, cast(Drawable)newPixmap, xgc, 0, 0, event.width, event.height); } XCopyArea(display, cast(Drawable) (*win).buffer, cast(Drawable) newPixmap, (*win).gc, 0, 0, win.bufferw < event.width ? win.bufferw : win.width, win.bufferh < event.height ? win.bufferh : win.height, 0, 0); XFreePixmap(display, win.buffer); win.buffer = newPixmap; win.bufferw = event.width; win.bufferh = event.height; } // clear unused parts of the buffer if (win.bufferw > event.width || win.bufferh > event.height) { GC xgc = XCreateGC(win.display, cast(Drawable)win.window, 0, null); XCopyGC(win.display, win.gc, 0xffffffff, xgc); scope(exit) XFreeGC(win.display, xgc); XSetClipMask(win.display, xgc, None); XSetForeground(win.display, xgc, 0); immutable int maxw = (win.bufferw > event.width ? win.bufferw : event.width); immutable int maxh = (win.bufferh > event.height ? win.bufferh : event.height); XFillRectangle(win.display, cast(Drawable)win.buffer, xgc, event.width, 0, maxw, maxh); // let X11 do clipping XFillRectangle(win.display, cast(Drawable)win.buffer, xgc, 0, event.height, maxw, maxh); // let X11 do clipping } } version(without_opengl) {} else if(win.openglMode == OpenGlOptions.yes && win.resizability == Resizability.automaticallyScaleIfPossible) { glViewport(0, 0, event.width, event.height); } win.fixFixedSize(event.width, event.height); //k8: this does nothing on my FluxBox; wtf?! if(win.windowResized !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.windowResized(event.width, event.height); } } } break; case EventType.Expose: if(auto win = e.xexpose.window in SimpleWindow.nativeMapping) { // if it is closing from a popup menu, it can get // an Expose event right by the end and trigger a // BadDrawable error ... we'll just check // closed to handle that. if((*win).closed) break; if((*win).openglMode == OpenGlOptions.no) { bool doCopy = true; if (win.handleExpose !is null) doCopy = !win.handleExpose(e.xexpose.x, e.xexpose.y, e.xexpose.width, e.xexpose.height, e.xexpose.count); if (doCopy) XCopyArea(display, cast(Drawable) (*win).buffer, cast(Drawable) (*win).window, (*win).gc, e.xexpose.x, e.xexpose.y, e.xexpose.width, e.xexpose.height, e.xexpose.x, e.xexpose.y); } else { // need to redraw the scene somehow XUnlockDisplay(display); scope(exit) XLockDisplay(display); version(without_opengl) {} else win.redrawOpenGlSceneNow(); } } break; case EventType.FocusIn: case EventType.FocusOut: if(auto win = e.xfocus.window in SimpleWindow.nativeMapping) { if (win.xic !is null) { //{ import core.stdc.stdio : printf; printf("XIC focus change!\n"); } if (e.type == EventType.FocusIn) XSetICFocus(win.xic); else XUnsetICFocus(win.xic); } win._focused = e.type == EventType.FocusIn; if(win.demandingAttention) demandAttention(*win, false); if(win.onFocusChange) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.onFocusChange(e.type == EventType.FocusIn); } } break; case EventType.VisibilityNotify: if(auto win = e.xfocus.window in SimpleWindow.nativeMapping) { if (e.xvisibility.state == VisibilityNotify.VisibilityFullyObscured) { if (win.visibilityChanged !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.visibilityChanged(false); } } else { if (win.visibilityChanged !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.visibilityChanged(true); } } } break; case EventType.ClientMessage: if (e.xclient.message_type == GetAtom!("_X11SDPY_INSMME_FLAG_EVENT_", true)(e.xany.display)) { // "ignore next mouse motion" event, increment ignore counter for teh window if (auto win = e.xclient.window in SimpleWindow.nativeMapping) { ++(*win).warpEventCount; debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: got \"INSMME\" message, new count=%d\n", (*win).warpEventCount); } } else { debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: got \"INSMME\" WTF?!!\n"); } } } else if(e.xclient.data.l[0] == GetAtom!"WM_DELETE_WINDOW"(e.xany.display)) { // user clicked the close button on the window manager // FIXME: not implemented on Windows if(auto win = e.xclient.window in SimpleWindow.nativeMapping) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); if ((*win).closeQuery !is null) (*win).closeQuery(); else (*win).close(); } } break; case EventType.MapNotify: if(auto win = e.xmap.window in SimpleWindow.nativeMapping) { (*win)._visible = true; if (!(*win)._visibleForTheFirstTimeCalled) { (*win)._visibleForTheFirstTimeCalled = true; if ((*win).visibleForTheFirstTime !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); (*win).visibleForTheFirstTime(); } } if ((*win).visibilityChanged !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); (*win).visibilityChanged(true); } } break; case EventType.UnmapNotify: if(auto win = e.xunmap.window in SimpleWindow.nativeMapping) { win._visible = false; if (win.visibilityChanged !is null) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.visibilityChanged(false); } } break; case EventType.DestroyNotify: if(auto win = e.xdestroywindow.window in SimpleWindow.nativeMapping) { if (win.onDestroyed !is null) try { win.onDestroyed(); } catch (Exception e) {} // sorry win._closed = true; // just in case win.destroyed = true; if (win.xic !is null) { XDestroyIC(win.xic); win.xic = null; // just in calse } SimpleWindow.nativeMapping.remove(e.xdestroywindow.window); bool anyImportant = false; foreach(SimpleWindow w; SimpleWindow.nativeMapping) if(w.beingOpenKeepsAppOpen) { anyImportant = true; break; } if(!anyImportant) done = true; } auto window = e.xdestroywindow.window; if(window in CapableOfHandlingNativeEvent.nativeHandleMapping) CapableOfHandlingNativeEvent.nativeHandleMapping.remove(window); version(with_eventloop) { if(done) exit(); } break; case EventType.MotionNotify: MouseEvent mouse; auto event = e.xmotion; mouse.type = MouseEventType.motion; mouse.x = event.x; mouse.y = event.y; mouse.modifierState = event.state; if(auto win = e.xmotion.window in SimpleWindow.nativeMapping) { mouse.window = *win; if (win.warpEventCount > 0) { debug(x11sdpy_warp_debug) { import core.stdc.stdio : printf; printf("X11: got \"warp motion\" message, current count=%d\n", (*win).warpEventCount); } --(*win).warpEventCount; (*win).mdx(mouse); // so deltas will be correctly updated } else { win.warpEventCount = 0; // just in case (*win).mdx(mouse); if((*win).handleMouseEvent) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); (*win).handleMouseEvent(mouse); } } } version(with_eventloop) send(mouse); break; case EventType.ButtonPress: case EventType.ButtonRelease: MouseEvent mouse; auto event = e.xbutton; mouse.type = cast(MouseEventType) (e.type == EventType.ButtonPress ? 1 : 2); mouse.x = event.x; mouse.y = event.y; static Time lastMouseDownTime = 0; mouse.doubleClick = e.type == EventType.ButtonPress && (event.time - lastMouseDownTime) < mouseDoubleClickTimeout; if(e.type == EventType.ButtonPress) lastMouseDownTime = event.time; switch(event.button) { case 1: mouse.button = MouseButton.left; break; // left case 2: mouse.button = MouseButton.middle; break; // middle case 3: mouse.button = MouseButton.right; break; // right case 4: mouse.button = MouseButton.wheelUp; break; // scroll up case 5: mouse.button = MouseButton.wheelDown; break; // scroll down case 6: break; // idk case 7: break; // idk case 8: mouse.button = MouseButton.backButton; break; case 9: mouse.button = MouseButton.forwardButton; break; default: } // FIXME: double check this mouse.modifierState = event.state; //mouse.modifierState = event.detail; if(auto win = e.xbutton.window in SimpleWindow.nativeMapping) { mouse.window = *win; (*win).mdx(mouse); if((*win).handleMouseEvent) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); (*win).handleMouseEvent(mouse); } } version(with_eventloop) send(mouse); break; case EventType.KeyPress: case EventType.KeyRelease: //if (e.type == EventType.KeyPress) { import core.stdc.stdio : stderr, fprintf; fprintf(stderr, "X11 keyboard event!\n"); } KeyEvent ke; ke.pressed = e.type == EventType.KeyPress; ke.hardwareCode = cast(ubyte) e.xkey.keycode; auto sym = XKeycodeToKeysym( XDisplayConnection.get(), e.xkey.keycode, 0); ke.key = cast(Key) sym;//e.xkey.keycode; ke.modifierState = e.xkey.state; // import std.stdio; writefln("%x", sym); wchar_t[128] charbuf = void; // buffer for XwcLookupString; composed value can consist of many chars! int charbuflen = 0; // return value of XwcLookupString if (ke.pressed) { auto win = e.xkey.window in SimpleWindow.nativeMapping; if (win !is null && win.xic !is null) { //{ import core.stdc.stdio : printf; printf("using xic!\n"); } Status status; charbuflen = XwcLookupString(win.xic, &e.xkey, charbuf.ptr, cast(int)charbuf.length, &sym, &status); //{ import core.stdc.stdio : printf; printf("charbuflen=%d\n", charbuflen); } } else { //{ import core.stdc.stdio : printf; printf("NOT using xic!\n"); } // If XIM initialization failed, don't process intl chars. Sorry, boys and girls. char[16] buffer; auto res = XLookupString(&e.xkey, buffer.ptr, buffer.length, null, null); if (res && buffer[0] < 128) charbuf[charbuflen++] = cast(wchar_t)buffer[0]; } } // if there's no char, subst one if (charbuflen == 0) { switch (sym) { case 0xff09: charbuf[charbuflen++] = '\t'; break; case 0xff8d: // keypad enter case 0xff0d: charbuf[charbuflen++] = '\n'; break; default : // ignore } } if (auto win = e.xkey.window in SimpleWindow.nativeMapping) { ke.window = *win; if (win.handleKeyEvent) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.handleKeyEvent(ke); } // char events are separate since they are on Windows too // also, xcompose can generate long char sequences // don't send char events if Meta and/or Hyper is pressed // TODO: ctrl+char should only send control chars; not yet if ((e.xkey.state&ModifierState.ctrl) != 0) { if (charbuflen > 1 || charbuf[0] >= ' ') charbuflen = 0; } if (ke.pressed && charbuflen > 0 && (e.xkey.state&(ModifierState.alt|ModifierState.windows)) == 0) { // FIXME: I think Windows sends these on releases... we should try to match that, but idk about repeats. foreach (immutable dchar ch; charbuf[0..charbuflen]) { if (win.handleCharEvent) { XUnlockDisplay(display); scope(exit) XLockDisplay(display); win.handleCharEvent(ch); } } } } version(with_eventloop) send(ke); break; default: } return done; } } /* *************************************** */ /* Done with simpledisplay stuff */ /* *************************************** */ // Necessary C library bindings follow version(Windows) {} else version(X11) { extern(C) int eventfd (uint initval, int flags) nothrow @trusted @nogc; // X11 bindings needed here /* A little of this is from the bindings project on D Source and some of it is copy/paste from the C header. The DSource listing consistently used D's long where C used long. That's wrong - C long is 32 bit, so it should be int in D. I changed that here. Note: This isn't complete, just took what I needed for myself. */ pragma(lib, "X11"); pragma(lib, "Xext"); import core.stdc.stddef : wchar_t; extern(C) nothrow @nogc { Cursor XCreateFontCursor(Display*, uint shape); int XDefineCursor(Display* display, Window w, Cursor cursor); int XUndefineCursor(Display* display, Window w); Pixmap XCreateBitmapFromData(Display* display, Drawable d, const(char)* data, uint width, uint height); Cursor XCreatePixmapCursor(Display* display, Pixmap source, Pixmap mask, XColor* foreground_color, XColor* background_color, uint x, uint y); int XFreeCursor(Display* display, Cursor cursor); int XLookupString(XKeyEvent *event_struct, char *buffer_return, int bytes_buffer, KeySym *keysym_return, void *status_in_out); int XwcLookupString(XIC ic, XKeyPressedEvent* event, wchar_t* buffer_return, int wchars_buffer, KeySym* keysym_return, Status* status_return); char *XKeysymToString(KeySym keysym); KeySym XKeycodeToKeysym( Display* /* display */, KeyCode /* keycode */, int /* index */ ); int XConvertSelection(Display *display, Atom selection, Atom target, Atom property, Window requestor, Time time); int XFree(void*); int XDeleteProperty(Display *display, Window w, Atom property); int XChangeProperty(Display *display, Window w, Atom property, Atom type, int format, int mode, in void *data, int nelements); int XGetWindowProperty(Display *display, Window w, Atom property, arch_long long_offset, arch_long long_length, Bool del, Atom req_type, Atom *actual_type_return, int *actual_format_return, arch_ulong *nitems_return, arch_ulong *bytes_after_return, void** prop_return); int XSetSelectionOwner(Display *display, Atom selection, Window owner, Time time); Window XGetSelectionOwner(Display *display, Atom selection); struct XVisualInfo { Visual* visual; VisualID visualid; int screen; uint depth; int c_class; c_ulong red_mask; c_ulong green_mask; c_ulong blue_mask; int colormap_size; int bits_per_rgb; } enum VisualNoMask= 0x0; enum VisualIDMask= 0x1; enum VisualScreenMask=0x2; enum VisualDepthMask= 0x4; enum VisualClassMask= 0x8; enum VisualRedMaskMask=0x10; enum VisualGreenMaskMask=0x20; enum VisualBlueMaskMask=0x40; enum VisualColormapSizeMask=0x80; enum VisualBitsPerRGBMask=0x100; enum VisualAllMask= 0x1FF; XVisualInfo* XGetVisualInfo(Display*, c_long, XVisualInfo*, int*); Display* XOpenDisplay(const char*); int XCloseDisplay(Display*); Bool XQueryExtension(Display*, const char*, int*, int*, int*); // XIM and other crap struct _XOM {} struct _XIM {} struct _XIC {} alias XOM = _XOM*; alias XIM = _XIM*; alias XIC = _XIC*; Bool XSupportsLocale(); char* XSetLocaleModifiers(const(char)* modifier_list); XOM XOpenOM(Display* display, _XrmHashBucketRec* rdb, const(char)* res_name, const(char)* res_class); Status XCloseOM(XOM om); XIM XOpenIM(Display* dpy, _XrmHashBucketRec* rdb, const(char)* res_name, const(char)* res_class); Status XCloseIM(XIM im); char* XGetIMValues(XIM im, ...) /*_X_SENTINEL(0)*/; char* XSetIMValues(XIM im, ...) /*_X_SENTINEL(0)*/; Display* XDisplayOfIM(XIM im); char* XLocaleOfIM(XIM im); XIC XCreateIC(XIM im, ...) /*_X_SENTINEL(0)*/; void XDestroyIC(XIC ic); void XSetICFocus(XIC ic); void XUnsetICFocus(XIC ic); //wchar_t* XwcResetIC(XIC ic); char* XmbResetIC(XIC ic); char* Xutf8ResetIC(XIC ic); char* XSetICValues(XIC ic, ...) /*_X_SENTINEL(0)*/; char* XGetICValues(XIC ic, ...) /*_X_SENTINEL(0)*/; XIM XIMOfIC(XIC ic); alias XIMStyle = arch_ulong; enum : arch_ulong { XIMPreeditArea = 0x0001, XIMPreeditCallbacks = 0x0002, XIMPreeditPosition = 0x0004, XIMPreeditNothing = 0x0008, XIMPreeditNone = 0x0010, XIMStatusArea = 0x0100, XIMStatusCallbacks = 0x0200, XIMStatusNothing = 0x0400, XIMStatusNone = 0x0800, } /* X Shared Memory Extension functions */ //pragma(lib, "Xshm"); alias arch_ulong ShmSeg; struct XShmSegmentInfo { ShmSeg shmseg; int shmid; ubyte* shmaddr; Bool readOnly; } Status XShmAttach(Display*, XShmSegmentInfo*); Status XShmDetach(Display*, XShmSegmentInfo*); Status XShmPutImage( Display* /* dpy */, Drawable /* d */, GC /* gc */, XImage* /* image */, int /* src_x */, int /* src_y */, int /* dst_x */, int /* dst_y */, uint /* src_width */, uint /* src_height */, Bool /* send_event */ ); Status XShmQueryExtension(Display*); XImage *XShmCreateImage( Display* /* dpy */, Visual* /* visual */, uint /* depth */, int /* format */, char* /* data */, XShmSegmentInfo* /* shminfo */, uint /* width */, uint /* height */ ); Pixmap XShmCreatePixmap( Display* /* dpy */, Drawable /* d */, char* /* data */, XShmSegmentInfo* /* shminfo */, uint /* width */, uint /* height */, uint /* depth */ ); // and the necessary OS functions int shmget(int, size_t, int); void* shmat(int, in void*, int); int shmdt(in void*); int shmctl (int shmid, int cmd, void* ptr /*struct shmid_ds *buf*/); enum IPC_PRIVATE = 0; enum IPC_CREAT = 512; enum IPC_RMID = 0; /* MIT-SHM end */ uint XSendEvent(Display* display, Window w, Bool propagate, arch_long event_mask, XEvent* event_send); enum MappingType:int { MappingModifier =0, MappingKeyboard =1, MappingPointer =2 } /* ImageFormat -- PutImage, GetImage */ enum ImageFormat:int { XYBitmap =0, /* depth 1, XYFormat */ XYPixmap =1, /* depth == drawable depth */ ZPixmap =2 /* depth == drawable depth */ } enum ModifierName:int { ShiftMapIndex =0, LockMapIndex =1, ControlMapIndex =2, Mod1MapIndex =3, Mod2MapIndex =4, Mod3MapIndex =5, Mod4MapIndex =6, Mod5MapIndex =7 } enum ButtonMask:int { Button1Mask =1<<8, Button2Mask =1<<9, Button3Mask =1<<10, Button4Mask =1<<11, Button5Mask =1<<12, AnyModifier =1<<15/* used in GrabButton, GrabKey */ } enum KeyOrButtonMask:uint { ShiftMask =1<<0, LockMask =1<<1, ControlMask =1<<2, Mod1Mask =1<<3, Mod2Mask =1<<4, Mod3Mask =1<<5, Mod4Mask =1<<6, Mod5Mask =1<<7, Button1Mask =1<<8, Button2Mask =1<<9, Button3Mask =1<<10, Button4Mask =1<<11, Button5Mask =1<<12, AnyModifier =1<<15/* used in GrabButton, GrabKey */ } enum ButtonName:int { Button1 =1, Button2 =2, Button3 =3, Button4 =4, Button5 =5 } /* Notify modes */ enum NotifyModes:int { NotifyNormal =0, NotifyGrab =1, NotifyUngrab =2, NotifyWhileGrabbed =3 } const int NotifyHint =1; /* for MotionNotify events */ /* Notify detail */ enum NotifyDetail:int { NotifyAncestor =0, NotifyVirtual =1, NotifyInferior =2, NotifyNonlinear =3, NotifyNonlinearVirtual =4, NotifyPointer =5, NotifyPointerRoot =6, NotifyDetailNone =7 } /* Visibility notify */ enum VisibilityNotify:int { VisibilityUnobscured =0, VisibilityPartiallyObscured =1, VisibilityFullyObscured =2 } enum WindowStackingMethod:int { Above =0, Below =1, TopIf =2, BottomIf =3, Opposite =4 } /* Circulation request */ enum CirculationRequest:int { PlaceOnTop =0, PlaceOnBottom =1 } enum PropertyNotification:int { PropertyNewValue =0, PropertyDelete =1 } enum ColorMapNotification:int { ColormapUninstalled =0, ColormapInstalled =1 } struct _XPrivate {} struct _XrmHashBucketRec {} alias void* XPointer; alias void* XExtData; version( X86_64 ) { alias ulong XID; alias ulong arch_ulong; alias long arch_long; } else { alias uint XID; alias uint arch_ulong; alias int arch_long; } alias XID Window; alias XID Drawable; alias XID Pixmap; alias arch_ulong Atom; alias int Bool; alias Display XDisplay; alias int ByteOrder; alias arch_ulong Time; alias void ScreenFormat; struct XImage { int width, height; /* size of image */ int xoffset; /* number of pixels offset in X direction */ ImageFormat format; /* XYBitmap, XYPixmap, ZPixmap */ void *data; /* pointer to image data */ ByteOrder byte_order; /* data byte order, LSBFirst, MSBFirst */ int bitmap_unit; /* quant. of scanline 8, 16, 32 */ int bitmap_bit_order; /* LSBFirst, MSBFirst */ int bitmap_pad; /* 8, 16, 32 either XY or ZPixmap */ int depth; /* depth of image */ int bytes_per_line; /* accelarator to next line */ int bits_per_pixel; /* bits per pixel (ZPixmap) */ arch_ulong red_mask; /* bits in z arrangment */ arch_ulong green_mask; arch_ulong blue_mask; XPointer obdata; /* hook for the object routines to hang on */ static struct F { /* image manipulation routines */ XImage* function( XDisplay* /* display */, Visual* /* visual */, uint /* depth */, int /* format */, int /* offset */, ubyte* /* data */, uint /* width */, uint /* height */, int /* bitmap_pad */, int /* bytes_per_line */) create_image; int function(XImage *) destroy_image; arch_ulong function(XImage *, int, int) get_pixel; int function(XImage *, int, int, arch_ulong) put_pixel; XImage* function(XImage *, int, int, uint, uint) sub_image; int function(XImage *, arch_long) add_pixel; } F f; } version(X86_64) static assert(XImage.sizeof == 136); else version(X86) static assert(XImage.sizeof == 88); struct XCharStruct { short lbearing; /* origin to left edge of raster */ short rbearing; /* origin to right edge of raster */ short width; /* advance to next char's origin */ short ascent; /* baseline to top edge of raster */ short descent; /* baseline to bottom edge of raster */ ushort attributes; /* per char flags (not predefined) */ } /* * To allow arbitrary information with fonts, there are additional properties * returned. */ struct XFontProp { Atom name; arch_ulong card32; } alias Atom Font; struct XFontStruct { XExtData *ext_data; /* Hook for extension to hang data */ Font fid; /* Font ID for this font */ uint direction; /* Direction the font is painted */ uint min_char_or_byte2; /* First character */ uint max_char_or_byte2; /* Last character */ uint min_byte1; /* First row that exists (for two-byte fonts) */ uint max_byte1; /* Last row that exists (for two-byte fonts) */ Bool all_chars_exist; /* Flag if all characters have nonzero size */ uint default_char; /* Char to print for undefined character */ int n_properties; /* How many properties there are */ XFontProp *properties; /* Pointer to array of additional properties*/ XCharStruct min_bounds; /* Minimum bounds over all existing char*/ XCharStruct max_bounds; /* Maximum bounds over all existing char*/ XCharStruct *per_char; /* first_char to last_char information */ int ascent; /* Max extent above baseline for spacing */ int descent; /* Max descent below baseline for spacing */ } XFontStruct *XLoadQueryFont(Display *display, in char *name); int XFreeFont(Display *display, XFontStruct *font_struct); int XSetFont(Display* display, GC gc, Font font); int XTextWidth(XFontStruct*, in char*, int); int XSetLineAttributes(Display *display, GC gc, uint line_width, int line_style, int cap_style, int join_style); int XSetDashes(Display *display, GC gc, int dash_offset, in byte* dash_list, int n); /* * Definitions of specific events. */ struct XKeyEvent { int type; /* of event */ arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* "event" window it is reported relative to */ Window root; /* root window that the event occurred on */ Window subwindow; /* child window */ Time time; /* milliseconds */ int x, y; /* pointer x, y coordinates in event window */ int x_root, y_root; /* coordinates relative to root */ KeyOrButtonMask state; /* key or button mask */ uint keycode; /* detail */ Bool same_screen; /* same screen flag */ } version(X86_64) static assert(XKeyEvent.sizeof == 96); alias XKeyEvent XKeyPressedEvent; alias XKeyEvent XKeyReleasedEvent; struct XButtonEvent { int type; /* of event */ arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* "event" window it is reported relative to */ Window root; /* root window that the event occurred on */ Window subwindow; /* child window */ Time time; /* milliseconds */ int x, y; /* pointer x, y coordinates in event window */ int x_root, y_root; /* coordinates relative to root */ KeyOrButtonMask state; /* key or button mask */ uint button; /* detail */ Bool same_screen; /* same screen flag */ } alias XButtonEvent XButtonPressedEvent; alias XButtonEvent XButtonReleasedEvent; struct XMotionEvent{ int type; /* of event */ arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* "event" window reported relative to */ Window root; /* root window that the event occurred on */ Window subwindow; /* child window */ Time time; /* milliseconds */ int x, y; /* pointer x, y coordinates in event window */ int x_root, y_root; /* coordinates relative to root */ KeyOrButtonMask state; /* key or button mask */ byte is_hint; /* detail */ Bool same_screen; /* same screen flag */ } alias XMotionEvent XPointerMovedEvent; struct XCrossingEvent{ int type; /* of event */ arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* "event" window reported relative to */ Window root; /* root window that the event occurred on */ Window subwindow; /* child window */ Time time; /* milliseconds */ int x, y; /* pointer x, y coordinates in event window */ int x_root, y_root; /* coordinates relative to root */ NotifyModes mode; /* NotifyNormal, NotifyGrab, NotifyUngrab */ NotifyDetail detail; /* * NotifyAncestor, NotifyVirtual, NotifyInferior, * NotifyNonlinear,NotifyNonlinearVirtual */ Bool same_screen; /* same screen flag */ Bool focus; /* Boolean focus */ KeyOrButtonMask state; /* key or button mask */ } alias XCrossingEvent XEnterWindowEvent; alias XCrossingEvent XLeaveWindowEvent; struct XFocusChangeEvent{ int type; /* FocusIn or FocusOut */ arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* window of event */ NotifyModes mode; /* NotifyNormal, NotifyWhileGrabbed, NotifyGrab, NotifyUngrab */ NotifyDetail detail; /* * NotifyAncestor, NotifyVirtual, NotifyInferior, * NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer, * NotifyPointerRoot, NotifyDetailNone */ } alias XFocusChangeEvent XFocusInEvent; alias XFocusChangeEvent XFocusOutEvent; Window XCreateSimpleWindow( Display* /* display */, Window /* parent */, int /* x */, int /* y */, uint /* width */, uint /* height */, uint /* border_width */, uint /* border */, uint /* background */ ); Window XCreateWindow(Display *display, Window parent, int x, int y, uint width, uint height, uint border_width, int depth, uint class_, Visual *visual, arch_ulong valuemask, XSetWindowAttributes *attributes); int XReparentWindow(Display*, Window, Window, int, int); int XClearWindow(Display*, Window); int XMoveResizeWindow(Display*, Window, int, int, uint, uint); int XMoveWindow(Display*, Window, int, int); int XResizeWindow(Display *display, Window w, uint width, uint height); Colormap XCreateColormap(Display *display, Window w, Visual *visual, int alloc); enum CWBackPixmap = (1L<<0); enum CWBackPixel = (1L<<1); enum CWBorderPixmap = (1L<<2); enum CWBorderPixel = (1L<<3); enum CWBitGravity = (1L<<4); enum CWWinGravity = (1L<<5); enum CWBackingStore = (1L<<6); enum CWBackingPlanes = (1L<<7); enum CWBackingPixel = (1L<<8); enum CWOverrideRedirect = (1L<<9); enum CWSaveUnder = (1L<<10); enum CWEventMask = (1L<<11); enum CWDontPropagate = (1L<<12); enum CWColormap = (1L<<13); enum CWCursor = (1L<<14); struct XWindowAttributes { int x, y; /* location of window */ int width, height; /* width and height of window */ int border_width; /* border width of window */ int depth; /* depth of window */ Visual *visual; /* the associated visual structure */ Window root; /* root of screen containing window */ int class_; /* InputOutput, InputOnly*/ int bit_gravity; /* one of the bit gravity values */ int win_gravity; /* one of the window gravity values */ int backing_store; /* NotUseful, WhenMapped, Always */ arch_ulong backing_planes; /* planes to be preserved if possible */ arch_ulong backing_pixel; /* value to be used when restoring planes */ Bool save_under; /* boolean, should bits under be saved? */ Colormap colormap; /* color map to be associated with window */ Bool map_installed; /* boolean, is color map currently installed*/ int map_state; /* IsUnmapped, IsUnviewable, IsViewable */ arch_long all_event_masks; /* set of events all people have interest in*/ arch_long your_event_mask; /* my event mask */ arch_long do_not_propagate_mask; /* set of events that should not propagate */ Bool override_redirect; /* boolean value for override-redirect */ Screen *screen; /* back pointer to correct screen */ } enum IsUnmapped = 0; enum IsUnviewable = 1; enum IsViewable = 2; Status XGetWindowAttributes(Display*, Window, XWindowAttributes*); struct XSetWindowAttributes { Pixmap background_pixmap;/* background, None, or ParentRelative */ arch_ulong background_pixel;/* background pixel */ Pixmap border_pixmap; /* border of the window or CopyFromParent */ arch_ulong border_pixel;/* border pixel value */ int bit_gravity; /* one of bit gravity values */ int win_gravity; /* one of the window gravity values */ int backing_store; /* NotUseful, WhenMapped, Always */ arch_ulong backing_planes;/* planes to be preserved if possible */ arch_ulong backing_pixel;/* value to use in restoring planes */ Bool save_under; /* should bits under be saved? (popups) */ arch_long event_mask; /* set of events that should be saved */ arch_long do_not_propagate_mask;/* set of events that should not propagate */ Bool override_redirect; /* boolean value for override_redirect */ Colormap colormap; /* color map to be associated with window */ Cursor cursor; /* cursor to be displayed (or None) */ } XImage *XCreateImage( Display* /* display */, Visual* /* visual */, uint /* depth */, int /* format */, int /* offset */, ubyte* /* data */, uint /* width */, uint /* height */, int /* bitmap_pad */, int /* bytes_per_line */ ); Status XInitImage (XImage* image); Atom XInternAtom( Display* /* display */, const char* /* atom_name */, Bool /* only_if_exists */ ); Status XInternAtoms(Display*, char**, int, Bool); char* XGetAtomName(Display*, Atom); Status XGetAtomNames(Display*, Atom*, int count, char**); alias int Status; enum EventMask:int { NoEventMask =0, KeyPressMask =1<<0, KeyReleaseMask =1<<1, ButtonPressMask =1<<2, ButtonReleaseMask =1<<3, EnterWindowMask =1<<4, LeaveWindowMask =1<<5, PointerMotionMask =1<<6, PointerMotionHintMask =1<<7, Button1MotionMask =1<<8, Button2MotionMask =1<<9, Button3MotionMask =1<<10, Button4MotionMask =1<<11, Button5MotionMask =1<<12, ButtonMotionMask =1<<13, KeymapStateMask =1<<14, ExposureMask =1<<15, VisibilityChangeMask =1<<16, StructureNotifyMask =1<<17, ResizeRedirectMask =1<<18, SubstructureNotifyMask =1<<19, SubstructureRedirectMask=1<<20, FocusChangeMask =1<<21, PropertyChangeMask =1<<22, ColormapChangeMask =1<<23, OwnerGrabButtonMask =1<<24 } int XPutImage( Display* /* display */, Drawable /* d */, GC /* gc */, XImage* /* image */, int /* src_x */, int /* src_y */, int /* dest_x */, int /* dest_y */, uint /* width */, uint /* height */ ); int XDestroyWindow( Display* /* display */, Window /* w */ ); int XDestroyImage(XImage*); int XSelectInput( Display* /* display */, Window /* w */, EventMask /* event_mask */ ); int XMapWindow( Display* /* display */, Window /* w */ ); struct MwmHints { int flags; int functions; int decorations; int input_mode; int status; } enum { MWM_HINTS_FUNCTIONS = (1L << 0), MWM_HINTS_DECORATIONS = (1L << 1), MWM_FUNC_ALL = (1L << 0), MWM_FUNC_RESIZE = (1L << 1), MWM_FUNC_MOVE = (1L << 2), MWM_FUNC_MINIMIZE = (1L << 3), MWM_FUNC_MAXIMIZE = (1L << 4), MWM_FUNC_CLOSE = (1L << 5) } Status XIconifyWindow(Display*, Window, int); int XMapRaised(Display*, Window); int XMapSubwindows(Display*, Window); int XNextEvent( Display* /* display */, XEvent* /* event_return */ ); Bool XFilterEvent(XEvent *event, Window window); int XRefreshKeyboardMapping(XMappingEvent *event_map); Status XSetWMProtocols( Display* /* display */, Window /* w */, Atom* /* protocols */, int /* count */ ); import core.stdc.config : c_long, c_ulong; void XSetWMNormalHints(Display *display, Window w, XSizeHints *hints); Status XGetWMNormalHints(Display *display, Window w, XSizeHints *hints, c_long* supplied_return); /* Size hints mask bits */ enum USPosition = (1L << 0) /* user specified x, y */; enum USSize = (1L << 1) /* user specified width, height */; enum PPosition = (1L << 2) /* program specified position */; enum PSize = (1L << 3) /* program specified size */; enum PMinSize = (1L << 4) /* program specified minimum size */; enum PMaxSize = (1L << 5) /* program specified maximum size */; enum PResizeInc = (1L << 6) /* program specified resize increments */; enum PAspect = (1L << 7) /* program specified min and max aspect ratios */; enum PBaseSize = (1L << 8); enum PWinGravity = (1L << 9); enum PAllHints = (PPosition|PSize| PMinSize|PMaxSize| PResizeInc|PAspect); struct XSizeHints { arch_long flags; /* marks which fields in this structure are defined */ int x, y; /* Obsolete */ int width, height; /* Obsolete */ int min_width, min_height; int max_width, max_height; int width_inc, height_inc; struct Aspect { int x; /* numerator */ int y; /* denominator */ } Aspect min_aspect; Aspect max_aspect; int base_width, base_height; int win_gravity; /* this structure may be extended in the future */ } enum EventType:int { KeyPress =2, KeyRelease =3, ButtonPress =4, ButtonRelease =5, MotionNotify =6, EnterNotify =7, LeaveNotify =8, FocusIn =9, FocusOut =10, KeymapNotify =11, Expose =12, GraphicsExpose =13, NoExpose =14, VisibilityNotify =15, CreateNotify =16, DestroyNotify =17, UnmapNotify =18, MapNotify =19, MapRequest =20, ReparentNotify =21, ConfigureNotify =22, ConfigureRequest =23, GravityNotify =24, ResizeRequest =25, CirculateNotify =26, CirculateRequest =27, PropertyNotify =28, SelectionClear =29, SelectionRequest =30, SelectionNotify =31, ColormapNotify =32, ClientMessage =33, MappingNotify =34, LASTEvent =35 /* must be bigger than any event # */ } /* generated on EnterWindow and FocusIn when KeyMapState selected */ struct XKeymapEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; byte[32] key_vector; } struct XExposeEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; int x, y; int width, height; int count; /* if non-zero, at least this many more */ } struct XGraphicsExposeEvent{ int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Drawable drawable; int x, y; int width, height; int count; /* if non-zero, at least this many more */ int major_code; /* core is CopyArea or CopyPlane */ int minor_code; /* not defined in the core */ } struct XNoExposeEvent{ int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Drawable drawable; int major_code; /* core is CopyArea or CopyPlane */ int minor_code; /* not defined in the core */ } struct XVisibilityEvent{ int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; VisibilityNotify state; /* Visibility state */ } struct XCreateWindowEvent{ int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window parent; /* parent of the window */ Window window; /* window id of window created */ int x, y; /* window location */ int width, height; /* size of window */ int border_width; /* border width */ Bool override_redirect; /* creation should be overridden */ } struct XDestroyWindowEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; } struct XUnmapEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; Bool from_configure; } struct XMapEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; Bool override_redirect; /* Boolean, is override set... */ } struct XMapRequestEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window parent; Window window; } struct XReparentEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; Window parent; int x, y; Bool override_redirect; } struct XConfigureEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; int x, y; int width, height; int border_width; Window above; Bool override_redirect; } struct XGravityEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; int x, y; } struct XResizeRequestEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; int width, height; } struct XConfigureRequestEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window parent; Window window; int x, y; int width, height; int border_width; Window above; WindowStackingMethod detail; /* Above, Below, TopIf, BottomIf, Opposite */ arch_ulong value_mask; } struct XCirculateEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window event; Window window; CirculationRequest place; /* PlaceOnTop, PlaceOnBottom */ } struct XCirculateRequestEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window parent; Window window; CirculationRequest place; /* PlaceOnTop, PlaceOnBottom */ } struct XPropertyEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; Atom atom; Time time; PropertyNotification state; /* NewValue, Deleted */ } struct XSelectionClearEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; Atom selection; Time time; } struct XSelectionRequestEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window owner; Window requestor; Atom selection; Atom target; Atom property; Time time; } struct XSelectionEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window requestor; Atom selection; Atom target; Atom property; /* ATOM or None */ Time time; } version(X86_64) static assert(XSelectionClearEvent.sizeof == 56); struct XColormapEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; Colormap colormap; /* COLORMAP or None */ Bool new_; /* C++ */ ColorMapNotification state; /* ColormapInstalled, ColormapUninstalled */ } version(X86_64) static assert(XColormapEvent.sizeof == 56); struct XClientMessageEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; Atom message_type; int format; union Data{ byte[20] b; short[10] s; arch_ulong[5] l; } Data data; } version(X86_64) static assert(XClientMessageEvent.sizeof == 96); struct XMappingEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; /* unused */ MappingType request; /* one of MappingModifier, MappingKeyboard, MappingPointer */ int first_keycode; /* first keycode */ int count; /* defines range of change w. first_keycode*/ } struct XErrorEvent { int type; Display *display; /* Display the event was read from */ XID resourceid; /* resource id */ arch_ulong serial; /* serial number of failed request */ ubyte error_code; /* error code of failed request */ ubyte request_code; /* Major op-code of failed request */ ubyte minor_code; /* Minor op-code of failed request */ } struct XAnyEvent { int type; arch_ulong serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display;/* Display the event was read from */ Window window; /* window on which event was requested in event mask */ } union XEvent{ int type; /* must not be changed; first element */ XAnyEvent xany; XKeyEvent xkey; XButtonEvent xbutton; XMotionEvent xmotion; XCrossingEvent xcrossing; XFocusChangeEvent xfocus; XExposeEvent xexpose; XGraphicsExposeEvent xgraphicsexpose; XNoExposeEvent xnoexpose; XVisibilityEvent xvisibility; XCreateWindowEvent xcreatewindow; XDestroyWindowEvent xdestroywindow; XUnmapEvent xunmap; XMapEvent xmap; XMapRequestEvent xmaprequest; XReparentEvent xreparent; XConfigureEvent xconfigure; XGravityEvent xgravity; XResizeRequestEvent xresizerequest; XConfigureRequestEvent xconfigurerequest; XCirculateEvent xcirculate; XCirculateRequestEvent xcirculaterequest; XPropertyEvent xproperty; XSelectionClearEvent xselectionclear; XSelectionRequestEvent xselectionrequest; XSelectionEvent xselection; XColormapEvent xcolormap; XClientMessageEvent xclient; XMappingEvent xmapping; XErrorEvent xerror; XKeymapEvent xkeymap; arch_ulong[24] pad; } struct Display { XExtData *ext_data; /* hook for extension to hang data */ _XPrivate *private1; int fd; /* Network socket. */ int private2; int proto_major_version;/* major version of server's X protocol */ int proto_minor_version;/* minor version of servers X protocol */ char *vendor; /* vendor of the server hardware */ XID private3; XID private4; XID private5; int private6; XID function(Display*)resource_alloc;/* allocator function */ ByteOrder byte_order; /* screen byte order, LSBFirst, MSBFirst */ int bitmap_unit; /* padding and data requirements */ int bitmap_pad; /* padding requirements on bitmaps */ ByteOrder bitmap_bit_order; /* LeastSignificant or MostSignificant */ int nformats; /* number of pixmap formats in list */ ScreenFormat *pixmap_format; /* pixmap format list */ int private8; int release; /* release of the server */ _XPrivate *private9; _XPrivate *private10; int qlen; /* Length of input event queue */ arch_ulong last_request_read; /* seq number of last event read */ arch_ulong request; /* sequence number of last request. */ XPointer private11; XPointer private12; XPointer private13; XPointer private14; uint max_request_size; /* maximum number 32 bit words in request*/ _XrmHashBucketRec *db; int function (Display*)private15; char *display_name; /* "host:display" string used on this connect*/ int default_screen; /* default screen for operations */ int nscreens; /* number of screens on this server*/ Screen *screens; /* pointer to list of screens */ arch_ulong motion_buffer; /* size of motion buffer */ arch_ulong private16; int min_keycode; /* minimum defined keycode */ int max_keycode; /* maximum defined keycode */ XPointer private17; XPointer private18; int private19; byte *xdefaults; /* contents of defaults from server */ /* there is more to this structure, but it is private to Xlib */ } // I got these numbers from a C program as a sanity test version(X86_64) { static assert(Display.sizeof == 296); static assert(XPointer.sizeof == 8); static assert(XErrorEvent.sizeof == 40); static assert(XAnyEvent.sizeof == 40); static assert(XMappingEvent.sizeof == 56); static assert(XEvent.sizeof == 192); } else { static assert(Display.sizeof == 176); static assert(XPointer.sizeof == 4); static assert(XEvent.sizeof == 96); } struct Depth { int depth; /* this depth (Z) of the depth */ int nvisuals; /* number of Visual types at this depth */ Visual *visuals; /* list of visuals possible at this depth */ } alias void* GC; alias c_ulong VisualID; alias XID Colormap; alias XID Cursor; alias XID KeySym; alias uint KeyCode; enum None = 0; } version(without_opengl) {} else { extern(C) nothrow @nogc { static if(!SdpyIsUsingIVGLBinds) { enum GLX_USE_GL= 1; /* support GLX rendering */ enum GLX_BUFFER_SIZE= 2; /* depth of the color buffer */ enum GLX_LEVEL= 3; /* level in plane stacking */ enum GLX_RGBA= 4; /* true if RGBA mode */ enum GLX_DOUBLEBUFFER= 5; /* double buffering supported */ enum GLX_STEREO= 6; /* stereo buffering supported */ enum GLX_AUX_BUFFERS= 7; /* number of aux buffers */ enum GLX_RED_SIZE= 8; /* number of red component bits */ enum GLX_GREEN_SIZE= 9; /* number of green component bits */ enum GLX_BLUE_SIZE= 10; /* number of blue component bits */ enum GLX_ALPHA_SIZE= 11; /* number of alpha component bits */ enum GLX_DEPTH_SIZE= 12; /* number of depth bits */ enum GLX_STENCIL_SIZE= 13; /* number of stencil bits */ enum GLX_ACCUM_RED_SIZE= 14; /* number of red accum bits */ enum GLX_ACCUM_GREEN_SIZE= 15; /* number of green accum bits */ enum GLX_ACCUM_BLUE_SIZE= 16; /* number of blue accum bits */ enum GLX_ACCUM_ALPHA_SIZE= 17; /* number of alpha accum bits */ //XVisualInfo* glXChooseVisual(Display *dpy, int screen, in int *attrib_list); enum GL_TRUE = 1; enum GL_FALSE = 0; alias int GLint; } alias XID GLXContextID; alias XID GLXPixmap; alias XID GLXDrawable; alias XID GLXPbuffer; alias XID GLXWindow; alias XID GLXFBConfigID; alias void* GLXContext; static if (!SdpyIsUsingIVGLBinds) { XVisualInfo* glXChooseVisual(Display *dpy, int screen, const int *attrib_list); void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, arch_ulong mask); GLXContext glXCreateContext(Display *dpy, XVisualInfo *vis, GLXContext share_list, Bool direct); GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap); void glXDestroyContext(Display *dpy, GLXContext ctx); void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix); int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value); GLXContext glXGetCurrentContext(); GLXDrawable glXGetCurrentDrawable(); Bool glXIsDirect(Display *dpy, GLXContext ctx); Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx); Bool glXQueryExtension(Display *dpy, int *error_base, int *event_base); Bool glXQueryVersion(Display *dpy, int *major, int *minor); void glXSwapBuffers(Display *dpy, GLXDrawable drawable); void glXUseXFont(Font font, int first, int count, int list_base); void glXWaitGL(); void glXWaitX(); } } } enum AllocNone = 0; extern(C) { /* WARNING, this type not in Xlib spec */ extern(C) alias XIOErrorHandler = int function (Display* display); XIOErrorHandler XSetIOErrorHandler (XIOErrorHandler handler); } extern(C) nothrow @nogc { struct Screen{ XExtData *ext_data; /* hook for extension to hang data */ Display *display; /* back pointer to display structure */ Window root; /* Root window id. */ int width, height; /* width and height of screen */ int mwidth, mheight; /* width and height of in millimeters */ int ndepths; /* number of depths possible */ Depth *depths; /* list of allowable depths on the screen */ int root_depth; /* bits per pixel */ Visual *root_visual; /* root visual */ GC default_gc; /* GC for the root root visual */ Colormap cmap; /* default color map */ uint white_pixel; uint black_pixel; /* White and Black pixel values */ int max_maps, min_maps; /* max and min color maps */ int backing_store; /* Never, WhenMapped, Always */ bool save_unders; int root_input_mask; /* initial root input mask */ } struct Visual { XExtData *ext_data; /* hook for extension to hang data */ VisualID visualid; /* visual id of this visual */ int class_; /* class of screen (monochrome, etc.) */ c_ulong red_mask, green_mask, blue_mask; /* mask values */ int bits_per_rgb; /* log base 2 of distinct color values */ int map_entries; /* color map entries */ } alias Display* _XPrivDisplay; Screen* ScreenOfDisplay(Display* dpy, int scr) { assert(dpy !is null); return &dpy.screens[scr]; } Window RootWindow(Display *dpy,int scr) { return ScreenOfDisplay(dpy,scr).root; } struct XWMHints { arch_long flags; Bool input; int initial_state; Pixmap icon_pixmap; Window icon_window; int icon_x, icon_y; Pixmap icon_mask; XID window_group; } struct XClassHint { char* res_name; char* res_class; } Status XInitThreads(); void XLockDisplay (Display* display); void XUnlockDisplay (Display* display); void XSetWMProperties(Display*, Window, XTextProperty*, XTextProperty*, char**, int, XSizeHints*, XWMHints*, XClassHint*); Status XInternAtoms(Display*, in char**, int, Bool, Atom*); int XSetWindowBackground (Display* display, Window w, c_ulong background_pixel); int XSetWindowBackgroundPixmap (Display* display, Window w, Pixmap background_pixmap); //int XSetWindowBorder (Display* display, Window w, c_ulong border_pixel); //int XSetWindowBorderPixmap (Display* display, Window w, Pixmap border_pixmap); //int XSetWindowBorderWidth (Display* display, Window w, uint width); // this requires -lXpm int XpmCreatePixmapFromData(Display*, Drawable, in char**, Pixmap*, Pixmap*, void*); // FIXME: void* should be XpmAttributes int DefaultScreen(Display *dpy) { return dpy.default_screen; } int DefaultDepth(Display* dpy, int scr) { return ScreenOfDisplay(dpy, scr).root_depth; } int DisplayWidth(Display* dpy, int scr) { return ScreenOfDisplay(dpy, scr).width; } int DisplayHeight(Display* dpy, int scr) { return ScreenOfDisplay(dpy, scr).height; } auto DefaultColormap(Display* dpy, int scr) { return ScreenOfDisplay(dpy, scr).cmap; } int ConnectionNumber(Display* dpy) { return dpy.fd; } enum int AnyPropertyType = 0; enum int Success = 0; enum int RevertToNone = None; enum int PointerRoot = 1; enum Time CurrentTime = 0; enum int RevertToPointerRoot = PointerRoot; enum int RevertToParent = 2; int DefaultDepthOfDisplay(Display* dpy) { return ScreenOfDisplay(dpy, DefaultScreen(dpy)).root_depth; } Visual* DefaultVisual(Display *dpy,int scr) { return ScreenOfDisplay(dpy,scr).root_visual; } GC DefaultGC(Display *dpy,int scr) { return ScreenOfDisplay(dpy,scr).default_gc; } uint BlackPixel(Display *dpy,int scr) { return ScreenOfDisplay(dpy,scr).black_pixel; } uint WhitePixel(Display *dpy,int scr) { return ScreenOfDisplay(dpy,scr).white_pixel; } // check out Xft too: http://www.keithp.com/~keithp/render/Xft.tutorial int XDrawString(Display*, Drawable, GC, int, int, in char*, int); int XDrawLine(Display*, Drawable, GC, int, int, int, int); int XDrawRectangle(Display*, Drawable, GC, int, int, uint, uint); int XDrawArc(Display*, Drawable, GC, int, int, uint, uint, int, int); int XFillRectangle(Display*, Drawable, GC, int, int, uint, uint); int XFillArc(Display*, Drawable, GC, int, int, uint, uint, int, int); int XDrawPoint(Display*, Drawable, GC, int, int); int XSetForeground(Display*, GC, uint); int XSetBackground(Display*, GC, uint); alias void* XFontSet; // i think XFontSet XCreateFontSet(Display*, const char*, char***, int*, char**); void XFreeFontSet(Display*, XFontSet); void Xutf8DrawString(Display*, Drawable, XFontSet, GC, int, int, in char*, int); int XSetFunction(Display*, GC, int); enum { GXclear = 0x0, /* 0 */ GXand = 0x1, /* src AND dst */ GXandReverse = 0x2, /* src AND NOT dst */ GXcopy = 0x3, /* src */ GXandInverted = 0x4, /* NOT src AND dst */ GXnoop = 0x5, /* dst */ GXxor = 0x6, /* src XOR dst */ GXor = 0x7, /* src OR dst */ GXnor = 0x8, /* NOT src AND NOT dst */ GXequiv = 0x9, /* NOT src XOR dst */ GXinvert = 0xa, /* NOT dst */ GXorReverse = 0xb, /* src OR NOT dst */ GXcopyInverted = 0xc, /* NOT src */ GXorInverted = 0xd, /* NOT src OR dst */ GXnand = 0xe, /* NOT src OR NOT dst */ GXset = 0xf, /* 1 */ } GC XCreateGC(Display*, Drawable, uint, void*); int XCopyGC(Display*, GC, uint, GC); int XFreeGC(Display*, GC); bool XCheckWindowEvent(Display*, Window, int, XEvent*); bool XCheckMaskEvent(Display*, int, XEvent*); int XPending(Display*); int XEventsQueued(Display* display, int mode); enum QueueMode : int { QueuedAlready, QueuedAfterReading, QueuedAfterFlush } Pixmap XCreatePixmap(Display*, Drawable, uint, uint, uint); int XFreePixmap(Display*, Pixmap); int XCopyArea(Display*, Drawable, Drawable, GC, int, int, uint, uint, int, int); int XFlush(Display*); int XBell(Display*, int); int XSync(Display*, bool); enum GrabMode { GrabModeSync = 0, GrabModeAsync = 1 } int XGrabKey (Display* display, int keycode, uint modifiers, Window grab_window, Bool owner_events, int pointer_mode, int keyboard_mode); int XUngrabKey (Display* display, int keycode, uint modifiers, Window grab_window); KeyCode XKeysymToKeycode (Display* display, KeySym keysym); struct XPoint { short x; short y; } int XDrawLines(Display*, Drawable, GC, XPoint*, int, CoordMode); int XFillPolygon(Display*, Drawable, GC, XPoint*, int, PolygonShape, CoordMode); enum CoordMode:int { CoordModeOrigin = 0, CoordModePrevious = 1 } enum PolygonShape:int { Complex = 0, Nonconvex = 1, Convex = 2 } struct XTextProperty { const(char)* value; /* same as Property routines */ Atom encoding; /* prop type */ int format; /* prop data format: 8, 16, or 32 */ arch_ulong nitems; /* number of data items in value */ } version( X86_64 ) { static assert(XTextProperty.sizeof == 32); } struct XGCValues { int function_; /* logical operation */ arch_ulong plane_mask;/* plane mask */ arch_ulong foreground;/* foreground pixel */ arch_ulong background;/* background pixel */ int line_width; /* line width */ int line_style; /* LineSolid, LineOnOffDash, LineDoubleDash */ int cap_style; /* CapNotLast, CapButt, CapRound, CapProjecting */ int join_style; /* JoinMiter, JoinRound, JoinBevel */ int fill_style; /* FillSolid, FillTiled, FillStippled, FillOpaeueStippled */ int fill_rule; /* EvenOddRule, WindingRule */ int arc_mode; /* ArcChord, ArcPieSlice */ Pixmap tile; /* tile pixmap for tiling operations */ Pixmap stipple; /* stipple 1 plane pixmap for stipping */ int ts_x_origin; /* offset for tile or stipple operations */ int ts_y_origin; Font font; /* default text font for text operations */ int subwindow_mode; /* ClipByChildren, IncludeInferiors */ Bool graphics_exposures;/* boolean, should exposures be generated */ int clip_x_origin; /* origin for clipping */ int clip_y_origin; Pixmap clip_mask; /* bitmap clipping; other calls for rects */ int dash_offset; /* patterned/dashed line information */ char dashes; } struct XColor { arch_ulong pixel; ushort red, green, blue; byte flags; byte pad; } Status XAllocColor(Display*, Colormap, XColor*); int XWithdrawWindow(Display*, Window, int); int XUnmapWindow(Display*, Window); int XLowerWindow(Display*, Window); int XRaiseWindow(Display*, Window); int XWarpPointer(Display *display, Window src_w, Window dest_w, int src_x, int src_y, uint src_width, uint src_height, int dest_x, int dest_y); Bool XTranslateCoordinates(Display *display, Window src_w, Window dest_w, int src_x, int src_y, int *dest_x_return, int *dest_y_return, Window *child_return); int XGetInputFocus(Display*, Window*, int*); int XSetInputFocus(Display*, Window, int, Time); alias XErrorHandler = int function(Display*, XErrorEvent*); XErrorHandler XSetErrorHandler(XErrorHandler); int XGetErrorText(Display*, int, char*, int); Bool XkbSetDetectableAutoRepeat(Display* dpy, Bool detectable, Bool* supported); int XGrabPointer(Display *display, Window grab_window, Bool owner_events, uint event_mask, int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor, Time time); int XUngrabPointer(Display *display, Time time); int XChangeActivePointerGrab(Display *display, uint event_mask, Cursor cursor, Time time); int XCopyPlane(Display*, Drawable, Drawable, GC, int, int, uint, uint, int, int, arch_ulong); Status XGetGeometry(Display*, Drawable, Window*, int*, int*, uint*, uint*, uint*, uint*); int XSetClipMask(Display*, GC, Pixmap); int XSetClipOrigin(Display*, GC, int, int); void XSetClipRectangles(Display*, GC, int, int, XRectangle*, int, int); struct XRectangle { short x; short y; ushort width; ushort height; } void XSetWMName(Display*, Window, XTextProperty*); int XStoreName(Display* display, Window w, const(char)* window_name); enum ClipByChildren = 0; enum IncludeInferiors = 1; enum Atom XA_PRIMARY = 1; enum Atom XA_SECONDARY = 2; enum Atom XA_STRING = 31; enum Atom XA_CARDINAL = 6; enum Atom XA_WM_NAME = 39; enum Atom XA_ATOM = 4; enum Atom XA_WINDOW = 33; enum Atom XA_WM_HINTS = 35; enum int PropModeAppend = 2; enum int PropModeReplace = 0; enum int PropModePrepend = 1; enum int CopyFromParent = 0; enum int InputOutput = 1; // XWMHints enum InputHint = 1 << 0; enum StateHint = 1 << 1; enum IconPixmapHint = (1L << 2); enum IconWindowHint = (1L << 3); enum IconPositionHint = (1L << 4); enum IconMaskHint = (1L << 5); enum WindowGroupHint = (1L << 6); enum AllHints = (InputHint|StateHint|IconPixmapHint|IconWindowHint|IconPositionHint|IconMaskHint|WindowGroupHint); enum XUrgencyHint = (1L << 8); // GC Components enum GCFunction = (1L<<0); enum GCPlaneMask = (1L<<1); enum GCForeground = (1L<<2); enum GCBackground = (1L<<3); enum GCLineWidth = (1L<<4); enum GCLineStyle = (1L<<5); enum GCCapStyle = (1L<<6); enum GCJoinStyle = (1L<<7); enum GCFillStyle = (1L<<8); enum GCFillRule = (1L<<9); enum GCTile = (1L<<10); enum GCStipple = (1L<<11); enum GCTileStipXOrigin = (1L<<12); enum GCTileStipYOrigin = (1L<<13); enum GCFont = (1L<<14); enum GCSubwindowMode = (1L<<15); enum GCGraphicsExposures= (1L<<16); enum GCClipXOrigin = (1L<<17); enum GCClipYOrigin = (1L<<18); enum GCClipMask = (1L<<19); enum GCDashOffset = (1L<<20); enum GCDashList = (1L<<21); enum GCArcMode = (1L<<22); enum GCLastBit = 22; enum int WithdrawnState = 0; enum int NormalState = 1; enum int IconicState = 3; } } else version (OSXCocoa) { private: alias void* id; alias void* Class; alias void* SEL; alias void* IMP; alias void* Ivar; alias byte BOOL; alias const(void)* CFStringRef; alias const(void)* CFAllocatorRef; alias const(void)* CFTypeRef; alias const(void)* CGContextRef; alias const(void)* CGColorSpaceRef; alias const(void)* CGImageRef; alias uint CGBitmapInfo; struct objc_super { id self; Class superclass; } struct CFRange { int location, length; } struct NSPoint { float x, y; static fromTuple(T)(T tupl) { return NSPoint(tupl.tupleof); } } struct NSSize { float width, height; } struct NSRect { NSPoint origin; NSSize size; } alias NSPoint CGPoint; alias NSSize CGSize; alias NSRect CGRect; struct CGAffineTransform { float a, b, c, d, tx, ty; } enum NSApplicationActivationPolicyRegular = 0; enum NSBackingStoreBuffered = 2; enum kCFStringEncodingUTF8 = 0x08000100; enum : size_t { NSBorderlessWindowMask = 0, NSTitledWindowMask = 1 << 0, NSClosableWindowMask = 1 << 1, NSMiniaturizableWindowMask = 1 << 2, NSResizableWindowMask = 1 << 3, NSTexturedBackgroundWindowMask = 1 << 8 } enum : uint { kCGImageAlphaNone, kCGImageAlphaPremultipliedLast, kCGImageAlphaPremultipliedFirst, kCGImageAlphaLast, kCGImageAlphaFirst, kCGImageAlphaNoneSkipLast, kCGImageAlphaNoneSkipFirst } enum : uint { kCGBitmapAlphaInfoMask = 0x1F, kCGBitmapFloatComponents = (1 << 8), kCGBitmapByteOrderMask = 0x7000, kCGBitmapByteOrderDefault = (0 << 12), kCGBitmapByteOrder16Little = (1 << 12), kCGBitmapByteOrder32Little = (2 << 12), kCGBitmapByteOrder16Big = (3 << 12), kCGBitmapByteOrder32Big = (4 << 12) } enum CGPathDrawingMode { kCGPathFill, kCGPathEOFill, kCGPathStroke, kCGPathFillStroke, kCGPathEOFillStroke } enum objc_AssociationPolicy : size_t { OBJC_ASSOCIATION_ASSIGN = 0, OBJC_ASSOCIATION_RETAIN_NONATOMIC = 1, OBJC_ASSOCIATION_COPY_NONATOMIC = 3, OBJC_ASSOCIATION_RETAIN = 0x301, //01401, OBJC_ASSOCIATION_COPY = 0x303 //01403 } extern(C) { id objc_msgSend(id receiver, SEL selector, ...); id objc_msgSendSuper(objc_super* superStruct, SEL selector, ...); id objc_getClass(const(char)* name); SEL sel_registerName(const(char)* str); Class objc_allocateClassPair(Class superclass, const(char)* name, size_t extra_bytes); void objc_registerClassPair(Class cls); BOOL class_addMethod(Class cls, SEL name, IMP imp, const(char)* types); id objc_getAssociatedObject(id object, void* key); void objc_setAssociatedObject(id object, void* key, id value, objc_AssociationPolicy policy); Ivar class_getInstanceVariable(Class cls, const(char)* name); id object_getIvar(id object, Ivar ivar); void object_setIvar(id object, Ivar ivar, id value); BOOL class_addIvar(Class cls, const(char)* name, size_t size, ubyte alignment, const(char)* types); extern __gshared id NSApp; void CFRelease(CFTypeRef obj); CFStringRef CFStringCreateWithBytes(CFAllocatorRef allocator, const(char)* bytes, long numBytes, int encoding, BOOL isExternalRepresentation); int CFStringGetBytes(CFStringRef theString, CFRange range, int encoding, char lossByte, bool isExternalRepresentation, char* buffer, long maxBufLen, long* usedBufLen); int CFStringGetLength(CFStringRef theString); CGContextRef CGBitmapContextCreate(void* data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo); void CGContextRelease(CGContextRef c); ubyte* CGBitmapContextGetData(CGContextRef c); CGImageRef CGBitmapContextCreateImage(CGContextRef c); size_t CGBitmapContextGetWidth(CGContextRef c); size_t CGBitmapContextGetHeight(CGContextRef c); CGColorSpaceRef CGColorSpaceCreateDeviceRGB(); void CGColorSpaceRelease(CGColorSpaceRef cs); void CGContextSetRGBStrokeColor(CGContextRef c, float red, float green, float blue, float alpha); void CGContextSetRGBFillColor(CGContextRef c, float red, float green, float blue, float alpha); void CGContextDrawImage(CGContextRef c, CGRect rect, CGImageRef image); void CGContextShowTextAtPoint(CGContextRef c, float x, float y, const(char)* str, size_t length); void CGContextStrokeLineSegments(CGContextRef c, const(CGPoint)* points, size_t count); void CGContextBeginPath(CGContextRef c); void CGContextDrawPath(CGContextRef c, CGPathDrawingMode mode); void CGContextAddEllipseInRect(CGContextRef c, CGRect rect); void CGContextAddArc(CGContextRef c, float x, float y, float radius, float startAngle, float endAngle, int clockwise); void CGContextAddRect(CGContextRef c, CGRect rect); void CGContextAddLines(CGContextRef c, const(CGPoint)* points, size_t count); void CGContextSaveGState(CGContextRef c); void CGContextRestoreGState(CGContextRef c); void CGContextSelectFont(CGContextRef c, const(char)* name, float size, uint textEncoding); CGAffineTransform CGContextGetTextMatrix(CGContextRef c); void CGContextSetTextMatrix(CGContextRef c, CGAffineTransform t); void CGImageRelease(CGImageRef image); } private: // A convenient method to create a CFString (=NSString) from a D string. CFStringRef createCFString(string str) { return CFStringCreateWithBytes(null, str.ptr, cast(int) str.length, kCFStringEncodingUTF8, false); } // Objective-C calls. RetType objc_msgSend_specialized(string selector, RetType, T...)(id self, T args) { auto _cmd = sel_registerName(selector.ptr); alias extern(C) RetType function(id, SEL, T) ExpectedType; return (cast(ExpectedType)&objc_msgSend)(self, _cmd, args); } RetType objc_msgSend_classMethod(string selector, RetType, T...)(const(char)* className, T args) { auto _cmd = sel_registerName(selector.ptr); auto cls = objc_getClass(className); alias extern(C) RetType function(id, SEL, T) ExpectedType; return (cast(ExpectedType)&objc_msgSend)(cls, _cmd, args); } RetType objc_msgSend_classMethod(string className, string selector, RetType, T...)(T args) { return objc_msgSend_classMethod!(selector, RetType, T)(className.ptr, args); } alias objc_msgSend_specialized!("setNeedsDisplay:", void, BOOL) setNeedsDisplay; alias objc_msgSend_classMethod!("alloc", id) alloc; alias objc_msgSend_specialized!("initWithContentRect:styleMask:backing:defer:", id, NSRect, size_t, size_t, BOOL) initWithContentRect; alias objc_msgSend_specialized!("setTitle:", void, CFStringRef) setTitle; alias objc_msgSend_specialized!("center", void) center; alias objc_msgSend_specialized!("initWithFrame:", id, NSRect) initWithFrame; alias objc_msgSend_specialized!("setContentView:", void, id) setContentView; alias objc_msgSend_specialized!("release", void) release; alias objc_msgSend_classMethod!("NSColor", "whiteColor", id) whiteNSColor; alias objc_msgSend_specialized!("setBackgroundColor:", void, id) setBackgroundColor; alias objc_msgSend_specialized!("makeKeyAndOrderFront:", void, id) makeKeyAndOrderFront; alias objc_msgSend_specialized!("invalidate", void) invalidate; alias objc_msgSend_specialized!("close", void) close; alias objc_msgSend_classMethod!("NSTimer", "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", id, double, id, SEL, id, BOOL) scheduledTimer; alias objc_msgSend_specialized!("run", void) run; alias objc_msgSend_classMethod!("NSGraphicsContext", "currentContext", id) currentNSGraphicsContext; alias objc_msgSend_specialized!("graphicsPort", CGContextRef) graphicsPort; alias objc_msgSend_specialized!("characters", CFStringRef) characters; alias objc_msgSend_specialized!("superclass", Class) superclass; alias objc_msgSend_specialized!("init", id) init; alias objc_msgSend_specialized!("addItem:", void, id) addItem; alias objc_msgSend_specialized!("setMainMenu:", void, id) setMainMenu; alias objc_msgSend_specialized!("initWithTitle:action:keyEquivalent:", id, CFStringRef, SEL, CFStringRef) initWithTitle; alias objc_msgSend_specialized!("setSubmenu:", void, id) setSubmenu; alias objc_msgSend_specialized!("setDelegate:", void, id) setDelegate; alias objc_msgSend_specialized!("activateIgnoringOtherApps:", void, BOOL) activateIgnoringOtherApps; alias objc_msgSend_classMethod!("NSApplication", "sharedApplication", id) sharedNSApplication; alias objc_msgSend_specialized!("setActivationPolicy:", void, ptrdiff_t) setActivationPolicy; } else static assert(0, "Unsupported operating system"); version(OSXCocoa) { // I don't know anything about the Mac, but a couple years ago, KennyTM on the newsgroup wrote this for me // // http://forum.dlang.org/thread/innr0v$1deh$1@digitalmars.com?page=4#post-int88l:24uaf:241:40digitalmars.com // https://github.com/kennytm/simpledisplay.d/blob/osx/simpledisplay.d // // and it is about time I merged it in here. It is available with -version=OSXCocoa until someone tests it for me! // Probably won't even fully compile right now import std.math : PI; import std.algorithm : map; import std.array : array; alias SimpleWindow NativeWindowHandle; alias void delegate(id) NativeEventHandler; __gshared Ivar simpleWindowIvar; enum KEY_ESCAPE = 27; mixin template NativeImageImplementation() { CGContextRef context; ubyte* rawData; final: void convertToRgbaBytes(ubyte[] where) { assert(where.length == this.width * this.height * 4); // if rawData had a length.... //assert(rawData.length == where.length); for(int idx = 0; idx < where.length; idx += 4) { auto alpha = rawData[idx + 3]; if(alpha == 255) { where[idx + 0] = rawData[idx + 0]; // r where[idx + 1] = rawData[idx + 1]; // g where[idx + 2] = rawData[idx + 2]; // b where[idx + 3] = rawData[idx + 3]; // a } else { where[idx + 0] = cast(ubyte)(rawData[idx + 0] * 255 / alpha); // r where[idx + 1] = cast(ubyte)(rawData[idx + 1] * 255 / alpha); // g where[idx + 2] = cast(ubyte)(rawData[idx + 2] * 255 / alpha); // b where[idx + 3] = rawData[idx + 3]; // a } } } void setFromRgbaBytes(in ubyte[] where) { // FIXME: this is probably wrong assert(where.length == this.width * this.height * 4); // if rawData had a length.... //assert(rawData.length == where.length); for(int idx = 0; idx < where.length; idx += 4) { auto alpha = rawData[idx + 3]; if(alpha == 255) { rawData[idx + 0] = where[idx + 0]; // r rawData[idx + 1] = where[idx + 1]; // g rawData[idx + 2] = where[idx + 2]; // b rawData[idx + 3] = where[idx + 3]; // a } else { rawData[idx + 0] = cast(ubyte)(where[idx + 0] * 255 / alpha); // r rawData[idx + 1] = cast(ubyte)(where[idx + 1] * 255 / alpha); // g rawData[idx + 2] = cast(ubyte)(where[idx + 2] * 255 / alpha); // b rawData[idx + 3] = where[idx + 3]; // a } } } void createImage(int width, int height, bool forcexshm=false) { auto colorSpace = CGColorSpaceCreateDeviceRGB(); context = CGBitmapContextCreate(null, width, height, 8, 4*width, colorSpace, kCGImageAlphaPremultipliedLast |kCGBitmapByteOrder32Big); CGColorSpaceRelease(colorSpace); rawData = CGBitmapContextGetData(context); } void dispose() { CGContextRelease(context); } void setPixel(int x, int y, Color c) { auto offset = (y * width + x) * 4; if (c.a == 255) { rawData[offset + 0] = c.r; rawData[offset + 1] = c.g; rawData[offset + 2] = c.b; rawData[offset + 3] = c.a; } else { rawData[offset + 0] = cast(ubyte)(c.r*c.a/255); rawData[offset + 1] = cast(ubyte)(c.g*c.a/255); rawData[offset + 2] = cast(ubyte)(c.b*c.a/255); rawData[offset + 3] = c.a; } } } mixin template NativeScreenPainterImplementation() { CGContextRef context; ubyte[4] _outlineComponents; void create(NativeWindowHandle window) { context = window.drawingContext; } void dispose() { } // NotYetImplementedException Size textSize(in char[] txt) { return Size(32, 16); throw new NotYetImplementedException(); } void pen(Pen p) {} void rasterOp(RasterOp op) {} Pen _activePen; Color _fillColor; Rectangle _clipRectangle; void setClipRectangle(int, int, int, int) {} void setFont(OperatingSystemFont) {} int fontHeight() { return 14; } // end @property void outlineColor(Color color) { float alphaComponent = color.a/255.0f; CGContextSetRGBStrokeColor(context, color.r/255.0f, color.g/255.0f, color.b/255.0f, alphaComponent); if (color.a != 255) { _outlineComponents[0] = cast(ubyte)(color.r*color.a/255); _outlineComponents[1] = cast(ubyte)(color.g*color.a/255); _outlineComponents[2] = cast(ubyte)(color.b*color.a/255); _outlineComponents[3] = color.a; } else { _outlineComponents[0] = color.r; _outlineComponents[1] = color.g; _outlineComponents[2] = color.b; _outlineComponents[3] = color.a; } } @property void fillColor(Color color) { CGContextSetRGBFillColor(context, color.r/255.0f, color.g/255.0f, color.b/255.0f, color.a/255.0f); } void drawImage(int x, int y, Image image, int ulx, int upy, int width, int height) { // NotYetImplementedException for upper left/width/height auto cgImage = CGBitmapContextCreateImage(image.context); auto size = CGSize(CGBitmapContextGetWidth(image.context), CGBitmapContextGetHeight(image.context)); CGContextDrawImage(context, CGRect(CGPoint(x, y), size), cgImage); CGImageRelease(cgImage); } version(OSXCocoa) {} else // NotYetImplementedException void drawPixmap(Sprite image, int x, int y) { // FIXME: is this efficient? auto cgImage = CGBitmapContextCreateImage(image.context); auto size = CGSize(CGBitmapContextGetWidth(image.context), CGBitmapContextGetHeight(image.context)); CGContextDrawImage(context, CGRect(CGPoint(x, y), size), cgImage); CGImageRelease(cgImage); } void drawText(int x, int y, int x2, int y2, in char[] text, uint alignment) { // FIXME: alignment if (_outlineComponents[3] != 0) { CGContextSaveGState(context); auto invAlpha = 1.0f/_outlineComponents[3]; CGContextSetRGBFillColor(context, _outlineComponents[0]*invAlpha, _outlineComponents[1]*invAlpha, _outlineComponents[2]*invAlpha, _outlineComponents[3]/255.0f); CGContextShowTextAtPoint(context, x, y, text.ptr, text.length); // auto cfstr = cast(id)createCFString(text); // objc_msgSend(cfstr, sel_registerName("drawAtPoint:withAttributes:"), // NSPoint(x, y), null); // CFRelease(cfstr); CGContextRestoreGState(context); } } void drawPixel(int x, int y) { auto rawData = CGBitmapContextGetData(context); auto width = CGBitmapContextGetWidth(context); auto height = CGBitmapContextGetHeight(context); auto offset = ((height - y - 1) * width + x) * 4; rawData[offset .. offset+4] = _outlineComponents; } void drawLine(int x1, int y1, int x2, int y2) { CGPoint[2] linePoints; linePoints[0] = CGPoint(x1, y1); linePoints[1] = CGPoint(x2, y2); CGContextStrokeLineSegments(context, linePoints.ptr, linePoints.length); } void drawRectangle(int x, int y, int width, int height) { CGContextBeginPath(context); auto rect = CGRect(CGPoint(x, y), CGSize(width, height)); CGContextAddRect(context, rect); CGContextDrawPath(context, CGPathDrawingMode.kCGPathFillStroke); } void drawEllipse(int x1, int y1, int x2, int y2) { CGContextBeginPath(context); auto rect = CGRect(CGPoint(x1, y1), CGSize(x2-x1, y2-y1)); CGContextAddEllipseInRect(context, rect); CGContextDrawPath(context, CGPathDrawingMode.kCGPathFillStroke); } void drawArc(int x1, int y1, int width, int height, int start, int finish) { // @@@BUG@@@ Does not support elliptic arc (width != height). CGContextBeginPath(context); CGContextAddArc(context, x1+width*0.5f, y1+height*0.5f, width, start*PI/(180*64), finish*PI/(180*64), 0); CGContextDrawPath(context, CGPathDrawingMode.kCGPathFillStroke); } void drawPolygon(Point[] intPoints) { CGContextBeginPath(context); auto points = array(map!(CGPoint.fromTuple)(intPoints)); CGContextAddLines(context, points.ptr, points.length); CGContextDrawPath(context, CGPathDrawingMode.kCGPathFillStroke); } } mixin template NativeSimpleWindowImplementation() { void createWindow(int width, int height, string title, OpenGlOptions opengl, SimpleWindow parent) { synchronized { if (NSApp == null) initializeApp(); } auto contentRect = NSRect(NSPoint(0, 0), NSSize(width, height)); // create the window. window = initWithContentRect(alloc("NSWindow"), contentRect, NSTitledWindowMask |NSClosableWindowMask |NSMiniaturizableWindowMask |NSResizableWindowMask, NSBackingStoreBuffered, true); // set the title & move the window to center. auto windowTitle = createCFString(title); setTitle(window, windowTitle); CFRelease(windowTitle); center(window); // create area to draw on. auto colorSpace = CGColorSpaceCreateDeviceRGB(); drawingContext = CGBitmapContextCreate(null, width, height, 8, 4*width, colorSpace, kCGImageAlphaPremultipliedLast |kCGBitmapByteOrder32Big); CGColorSpaceRelease(colorSpace); CGContextSelectFont(drawingContext, "Lucida Grande", 12.0f, 1); auto matrix = CGContextGetTextMatrix(drawingContext); matrix.c = -matrix.c; matrix.d = -matrix.d; CGContextSetTextMatrix(drawingContext, matrix); // create the subview that things will be drawn on. view = initWithFrame(alloc("SDGraphicsView"), contentRect); setContentView(window, view); object_setIvar(view, simpleWindowIvar, cast(id)this); release(view); setBackgroundColor(window, whiteNSColor); makeKeyAndOrderFront(window, null); } void dispose() { closeWindow(); release(window); } void closeWindow() { invalidate(timer); .close(window); } ScreenPainter getPainter() { return ScreenPainter(this, this); } id window; id timer; id view; CGContextRef drawingContext; } extern(C) { private: BOOL returnTrue3(id self, SEL _cmd, id app) { return true; } BOOL returnTrue2(id self, SEL _cmd) { return true; } void pulse(id self, SEL _cmd) { auto simpleWindow = cast(SimpleWindow)object_getIvar(self, simpleWindowIvar); simpleWindow.handlePulse(); setNeedsDisplay(self, true); } void drawRect(id self, SEL _cmd, NSRect rect) { auto simpleWindow = cast(SimpleWindow)object_getIvar(self, simpleWindowIvar); auto curCtx = graphicsPort(currentNSGraphicsContext); auto cgImage = CGBitmapContextCreateImage(simpleWindow.drawingContext); auto size = CGSize(CGBitmapContextGetWidth(simpleWindow.drawingContext), CGBitmapContextGetHeight(simpleWindow.drawingContext)); CGContextDrawImage(curCtx, CGRect(CGPoint(0, 0), size), cgImage); CGImageRelease(cgImage); } void keyDown(id self, SEL _cmd, id event) { auto simpleWindow = cast(SimpleWindow)object_getIvar(self, simpleWindowIvar); // the event may have multiple characters, and we send them all at // once. if (simpleWindow.handleCharEvent || simpleWindow.handleKeyEvent) { auto chars = characters(event); auto range = CFRange(0, CFStringGetLength(chars)); auto buffer = new char[range.length*3]; long actualLength; CFStringGetBytes(chars, range, kCFStringEncodingUTF8, 0, false, buffer.ptr, cast(int) buffer.length, &actualLength); foreach (dchar dc; buffer[0..actualLength]) { if (simpleWindow.handleCharEvent) simpleWindow.handleCharEvent(dc); // NotYetImplementedException //if (simpleWindow.handleKeyEvent) //simpleWindow.handleKeyEvent(KeyEvent(dc)); // FIXME: what about keyUp? } } // the event's 'keyCode' is hardware-dependent. I don't think people // will like it. Let's leave it to the native handler. // perform the default action. auto superData = objc_super(self, superclass(self)); alias extern(C) void function(objc_super*, SEL, id) T; (cast(T)&objc_msgSendSuper)(&superData, _cmd, event); } } // initialize the app so that it can be interacted with the user. // based on http://cocoawithlove.com/2010/09/minimalist-cocoa-programming.html private void initializeApp() { // push an autorelease pool to avoid leaking. init(alloc("NSAutoreleasePool")); // create a new NSApp instance sharedNSApplication; setActivationPolicy(NSApp, NSApplicationActivationPolicyRegular); // create the "Quit" menu. auto menuBar = init(alloc("NSMenu")); auto appMenuItem = init(alloc("NSMenuItem")); addItem(menuBar, appMenuItem); setMainMenu(NSApp, menuBar); release(appMenuItem); release(menuBar); auto appMenu = init(alloc("NSMenu")); auto quitTitle = createCFString("Quit"); auto q = createCFString("q"); auto quitItem = initWithTitle(alloc("NSMenuItem"), quitTitle, sel_registerName("terminate:"), q); addItem(appMenu, quitItem); setSubmenu(appMenuItem, appMenu); release(quitItem); release(appMenu); CFRelease(q); CFRelease(quitTitle); // assign a delegate for the application, allow it to quit when the last // window is closed. auto delegateClass = objc_allocateClassPair(objc_getClass("NSObject"), "SDWindowCloseDelegate", 0); class_addMethod(delegateClass, sel_registerName("applicationShouldTerminateAfterLastWindowClosed:"), &returnTrue3, "c@:@"); objc_registerClassPair(delegateClass); auto appDelegate = init(alloc("SDWindowCloseDelegate")); setDelegate(NSApp, appDelegate); activateIgnoringOtherApps(NSApp, true); // create a new view that draws the graphics and respond to keyDown // events. auto viewClass = objc_allocateClassPair(objc_getClass("NSView"), "SDGraphicsView", (void*).sizeof); class_addIvar(viewClass, "simpledisplay_simpleWindow", (void*).sizeof, (void*).alignof, "^v"); class_addMethod(viewClass, sel_registerName("simpledisplay_pulse"), &pulse, "v@:"); class_addMethod(viewClass, sel_registerName("drawRect:"), &drawRect, "v@:{NSRect={NSPoint=ff}{NSSize=ff}}"); class_addMethod(viewClass, sel_registerName("isFlipped"), &returnTrue2, "c@:"); class_addMethod(viewClass, sel_registerName("acceptsFirstResponder"), &returnTrue2, "c@:"); class_addMethod(viewClass, sel_registerName("keyDown:"), &keyDown, "v@:@"); objc_registerClassPair(viewClass); simpleWindowIvar = class_getInstanceVariable(viewClass, "simpledisplay_simpleWindow"); } } version(without_opengl) {} else extern(System) nothrow @nogc { //enum uint GL_VERSION = 0x1F02; //const(char)* glGetString (/*GLenum*/uint); version(X11) { static if (!SdpyIsUsingIVGLBinds) { struct __GLXFBConfigRec {} alias GLXFBConfig = __GLXFBConfigRec*; enum GLX_X_RENDERABLE = 0x8012; enum GLX_DRAWABLE_TYPE = 0x8010; enum GLX_RENDER_TYPE = 0x8011; enum GLX_X_VISUAL_TYPE = 0x22; enum GLX_TRUE_COLOR = 0x8002; enum GLX_WINDOW_BIT = 0x00000001; enum GLX_RGBA_BIT = 0x00000001; enum GLX_COLOR_INDEX_BIT = 0x00000002; enum GLX_SAMPLE_BUFFERS = 0x186a0; enum GLX_SAMPLES = 0x186a1; enum GLX_CONTEXT_MAJOR_VERSION_ARB = 0x2091; enum GLX_CONTEXT_MINOR_VERSION_ARB = 0x2092; GLXFBConfig* glXChooseFBConfig (Display*, int, int*, int*); int glXGetFBConfigAttrib (Display*, GLXFBConfig, int, int*); XVisualInfo* glXGetVisualFromFBConfig (Display*, GLXFBConfig); char* glXQueryExtensionsString (Display*, int); void* glXGetProcAddress (const(char)*); alias glbindGetProcAddress = glXGetProcAddress; } // GLX_EXT_swap_control alias glXSwapIntervalEXT = void function (Display* dpy, /*GLXDrawable*/Drawable drawable, int interval); private __gshared glXSwapIntervalEXT _glx_swapInterval_fn = null; //k8: ugly code to prevent warnings when sdpy is compiled into .a extern(System) { alias glXCreateContextAttribsARB_fna = GLXContext function (Display *dpy, GLXFBConfig config, GLXContext share_context, /*Bool*/int direct, const(int)* attrib_list); } private __gshared /*glXCreateContextAttribsARB_fna*/void* glXCreateContextAttribsARBFn = cast(void*)1; //HACK! // this made public so we don't have to get it again and again public bool glXCreateContextAttribsARB_present () { if (glXCreateContextAttribsARBFn is cast(void*)1) { // get it glXCreateContextAttribsARBFn = cast(void*)glbindGetProcAddress("glXCreateContextAttribsARB"); //{ import core.stdc.stdio; printf("checking glXCreateContextAttribsARB: %shere\n", (glXCreateContextAttribsARBFn !is null ? "".ptr : "not ".ptr)); } } return (glXCreateContextAttribsARBFn !is null); } // this made public so we don't have to get it again and again public GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, /*Bool*/int direct, const(int)* attrib_list) { if (!glXCreateContextAttribsARB_present()) assert(0, "glXCreateContextAttribsARB is not present"); return (cast(glXCreateContextAttribsARB_fna)glXCreateContextAttribsARBFn)(dpy, config, share_context, direct, attrib_list); } void glxSetVSync (Display* dpy, /*GLXDrawable*/Drawable drawable, bool wait) { if (cast(void*)_glx_swapInterval_fn is cast(void*)1) return; if (_glx_swapInterval_fn is null) { _glx_swapInterval_fn = cast(glXSwapIntervalEXT)glXGetProcAddress("glXSwapIntervalEXT"); if (_glx_swapInterval_fn is null) { _glx_swapInterval_fn = cast(glXSwapIntervalEXT)1; return; } version(sdddd) { import std.stdio; writeln("glXSwapIntervalEXT found!"); } } _glx_swapInterval_fn(dpy, drawable, (wait ? 1 : 0)); } } else version(Windows) { static if (!SdpyIsUsingIVGLBinds) { enum GL_TRUE = 1; enum GL_FALSE = 0; alias int GLint; public void* glbindGetProcAddress (const(char)* name) { void* res = wglGetProcAddress(name); if (res is null) { //{ import core.stdc.stdio; printf("GL: '%s' not found (0)\n", name); } import core.sys.windows.windef, core.sys.windows.winbase; __gshared HINSTANCE dll = null; if (dll is null) { dll = LoadLibraryA("opengl32.dll"); if (dll is null) return null; // <32, but idc } res = GetProcAddress(dll, name); } //{ import core.stdc.stdio; printf(" GL: '%s' is 0x%08x\n", name, cast(uint)res); } return res; } } enum WGL_CONTEXT_MAJOR_VERSION_ARB = 0x2091; enum WGL_CONTEXT_MINOR_VERSION_ARB = 0x2092; enum WGL_CONTEXT_LAYER_PLANE_ARB = 0x2093; enum WGL_CONTEXT_FLAGS_ARB = 0x2094; enum WGL_CONTEXT_PROFILE_MASK_ARB = 0x9126; enum WGL_CONTEXT_DEBUG_BIT_ARB = 0x0001; enum WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB = 0x0002; enum WGL_CONTEXT_CORE_PROFILE_BIT_ARB = 0x00000001; enum WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x00000002; alias wglCreateContextAttribsARB_fna = HGLRC function (HDC hDC, HGLRC hShareContext, const(int)* attribList); __gshared wglCreateContextAttribsARB_fna wglCreateContextAttribsARB = null; void wglInitOtherFunctions () { if (wglCreateContextAttribsARB is null) { wglCreateContextAttribsARB = cast(wglCreateContextAttribsARB_fna)glbindGetProcAddress("wglCreateContextAttribsARB"); } } } static if (!SdpyIsUsingIVGLBinds) { void glGetIntegerv(int, void*); void glMatrixMode(int); void glPushMatrix(); void glLoadIdentity(); void glOrtho(double, double, double, double, double, double); void glFrustum(double, double, double, double, double, double); void gluLookAt(double, double, double, double, double, double, double, double, double); void gluPerspective(double, double, double, double); void glPopMatrix(); void glEnable(int); void glDisable(int); void glClear(int); void glBegin(int); void glVertex2f(float, float); void glVertex3f(float, float, float); void glEnd(); void glColor3b(byte, byte, byte); void glColor3ub(ubyte, ubyte, ubyte); void glColor4b(byte, byte, byte, byte); void glColor4ub(ubyte, ubyte, ubyte, ubyte); void glColor3i(int, int, int); void glColor3ui(uint, uint, uint); void glColor4i(int, int, int, int); void glColor4ui(uint, uint, uint, uint); void glColor3f(float, float, float); void glColor4f(float, float, float, float); void glTranslatef(float, float, float); void glScalef(float, float, float); void glDrawElements(int, int, int, void*); void glRotatef(float, float, float, float); uint glGetError(); void glDeleteTextures(int, uint*); char* gluErrorString(uint); void glRasterPos2i(int, int); void glDrawPixels(int, int, uint, uint, void*); void glClearColor(float, float, float, float); void glGenTextures(uint, uint*); void glBindTexture(int, int); void glTexParameteri(uint, uint, int); void glTexParameterf(uint/*GLenum*/ target, uint/*GLenum*/ pname, float param); void glTexImage2D(int, int, int, int, int, int, int, int, in void*); void glTexSubImage2D(uint/*GLenum*/ target, int level, int xoffset, int yoffset, /*GLsizei*/int width, /*GLsizei*/int height, uint/*GLenum*/ format, uint/*GLenum*/ type, in void* pixels); void glTextureSubImage2D(uint texture, int level, int xoffset, int yoffset, /*GLsizei*/int width, /*GLsizei*/int height, uint/*GLenum*/ format, uint/*GLenum*/ type, in void* pixels); void glTexEnvf(uint/*GLenum*/ target, uint/*GLenum*/ pname, float param); void glTexCoord2f(float, float); void glVertex2i(int, int); void glBlendFunc (int, int); void glDepthFunc (int); void glViewport(int, int, int, int); void glClearDepth(double); void glReadBuffer(uint); void glReadPixels(int, int, int, int, int, int, void*); void glFlush(); void glFinish(); enum uint GL_FRONT = 0x0404; enum uint GL_BLEND = 0x0be2; enum uint GL_SRC_ALPHA = 0x0302; enum uint GL_ONE_MINUS_SRC_ALPHA = 0x0303; enum uint GL_LEQUAL = 0x0203; enum uint GL_UNSIGNED_BYTE = 0x1401; enum uint GL_RGB = 0x1907; enum uint GL_BGRA = 0x80e1; enum uint GL_RGBA = 0x1908; enum uint GL_TEXTURE_2D = 0x0DE1; enum uint GL_TEXTURE_MIN_FILTER = 0x2801; enum uint GL_NEAREST = 0x2600; enum uint GL_LINEAR = 0x2601; enum uint GL_TEXTURE_MAG_FILTER = 0x2800; enum uint GL_TEXTURE_WRAP_S = 0x2802; enum uint GL_TEXTURE_WRAP_T = 0x2803; enum uint GL_REPEAT = 0x2901; enum uint GL_CLAMP = 0x2900; enum uint GL_CLAMP_TO_EDGE = 0x812F; enum uint GL_DECAL = 0x2101; enum uint GL_MODULATE = 0x2100; enum uint GL_TEXTURE_ENV = 0x2300; enum uint GL_TEXTURE_ENV_MODE = 0x2200; enum uint GL_REPLACE = 0x1E01; enum uint GL_LIGHTING = 0x0B50; enum uint GL_DITHER = 0x0BD0; enum uint GL_NO_ERROR = 0; enum int GL_VIEWPORT = 0x0BA2; enum int GL_MODELVIEW = 0x1700; enum int GL_TEXTURE = 0x1702; enum int GL_PROJECTION = 0x1701; enum int GL_DEPTH_TEST = 0x0B71; enum int GL_COLOR_BUFFER_BIT = 0x00004000; enum int GL_ACCUM_BUFFER_BIT = 0x00000200; enum int GL_DEPTH_BUFFER_BIT = 0x00000100; enum uint GL_STENCIL_BUFFER_BIT = 0x00000400; enum int GL_POINTS = 0x0000; enum int GL_LINES = 0x0001; enum int GL_LINE_LOOP = 0x0002; enum int GL_LINE_STRIP = 0x0003; enum int GL_TRIANGLES = 0x0004; enum int GL_TRIANGLE_STRIP = 5; enum int GL_TRIANGLE_FAN = 6; enum int GL_QUADS = 7; enum int GL_QUAD_STRIP = 8; enum int GL_POLYGON = 9; } } version(linux) { version(with_eventloop) {} else { private int epollFd = -1; void prepareEventLoop() { if(epollFd != -1) return; // already initialized, no need to do it again import ep = core.sys.linux.epoll; epollFd = ep.epoll_create1(ep.EPOLL_CLOEXEC); if(epollFd == -1) throw new Exception("epoll create failure"); } } } version(X11) { import core.stdc.locale : LC_ALL; // rdmd fix __gshared bool sdx_isUTF8Locale; // This whole crap is used to initialize X11 locale, so that you can use XIM methods later. // Yes, there are people with non-utf locale (it's me, Ketmar!), but XIM (composing) will // not work right if app/X11 locale is not utf. This sux. That's why all that "utf detection" // anal magic is here. I (Ketmar) hope you like it. // We will use `sdx_isUTF8Locale` on XIM creation to enforce UTF-8 locale, so XCompose will // always return correct unicode symbols. The detection is here 'cause user can change locale // later. shared static this () { import core.stdc.locale : setlocale, LC_ALL, LC_CTYPE; // this doesn't hurt; it may add some locking, but the speed is still // allows doing 60 FPS videogames; also, ignore the result, as most // users will probably won't do mulththreaded X11 anyway (and I (ketmar) // never seen this failing). if (XInitThreads() == 0) { import core.stdc.stdio; fprintf(stderr, "XInitThreads() failed!\n"); } setlocale(LC_ALL, ""); // check if out locale is UTF-8 auto lct = setlocale(LC_CTYPE, null); if (lct is null) { sdx_isUTF8Locale = false; } else { for (size_t idx = 0; lct[idx] && lct[idx+1] && lct[idx+2]; ++idx) { if ((lct[idx+0] == 'u' || lct[idx+0] == 'U') && (lct[idx+1] == 't' || lct[idx+1] == 'T') && (lct[idx+2] == 'f' || lct[idx+2] == 'F')) { sdx_isUTF8Locale = true; break; } } } //{ import core.stdc.stdio : stderr, fprintf; fprintf(stderr, "UTF8: %s\n", sdx_isUTF8Locale ? "tan".ptr : "ona".ptr); } } } mixin template ExperimentalTextComponent2() { enum TextFormat : ushort { // decorations underline = 1, strikethrough = 2, // font selectors bold = 0x4000 | 1, // weight 700 light = 0x4000 | 2, // weight 300 veryBoldOrLight = 0x4000 | 4, // weight 100 with light, weight 900 with bold // bold | light is really invalid but should give weight 500 // veryBoldOrLight without one of the others should just give the default for the font; it should be ignored. italic = 0x4000 | 8, smallcaps = 0x4000 | 16, } struct Decoration { ushort id; Color foreground; Color background; ushort textFormat; void* font; } Decoration[] decorations; struct TextState { char[] text; int[] x; int[] y; ushort[] decorationId; int length; int caret; void makeGap(int where, int minLength) { int gapSize = 0; int at = where; while(at < text.length && text[at] == 0xff) { at++; gapSize++; } if(gapSize >= minLength) return; // try to gather gap from behind us, if any /* at = where - 32; if(at < 0) at = 0; while(at < where - 1) { if(text[at] == 0xff) { text[at] = text[at + 1]; x[at] = x[at + 1]; y[at] = y[at + 1]; decorationId[at] = decorationId[at + 1]; text[at + 1] = 0xff; gapSize++; } at++; } if(gapSize >= minLength) return; */ keep_trying: at = where; while(at + 1 < text.length) { // FIXME it needs to work on a whole block, not just one char if(text[at + 1] == 0xff) { text[at + 1] = text[at]; x[at + 1] = x[at]; y[at + 1] = y[at]; decorationId[at + 1] = decorationId[at]; text[at] = 0xff; gapSize++; if(gapSize >= minLength) return; } at++; } if(gapSize < minLength) { auto increase = 16; if(minLength - gapSize > 16) increase = minLength - gapSize; text.length += increase; x.length += increase; y.length += increase; decorationId.length += increase; text[$ - increase .. $] = 0xff; goto keep_trying; } } void insert(dchar c) { makeGap(caret, 1); text[caret] = cast(char) c; caret++; length++; layout(caret - 1, cast(int) text.length, false); } string toPlainText() { string s; s.reserve(length); foreach(char ch; text) if(ch != 0xff) s ~= ch; return s; } void resetContents(in char[] to) { if(text.length < to.length * 2) { text.length = to.length * 2; x.length = text.length; y.length = text.length; decorationId.length = text.length; } int textPos = 0; int skipped = 0; foreach(ch; to) { if(ch == 13) { ++skipped; continue; } text[textPos++] = ch; text[textPos++] = 0xff; } text[textPos .. $] = 0xff; length = cast(int) to.length - skipped; decorationId[0 .. length] = 0; layout(0, text.length, true); } int lineHeight = 14; int letterWidth = 7; int tabStop = 4; void layout(int start, int end, bool forceAll) { int x = 0, y = 0; foreach(idx, char ch; text[start .. end]) { if(ch == 0xff) continue; if(!forceAll && this.x[start + idx] == x && this.y[start + idx] == y) break; // seems to already be done! this.x[start + idx] = x; this.y[start + idx] = y; // FIXME unicode if(ch == '\n') { x = 0; y += lineHeight; } else if(ch == '\t') { x += x % (letterWidth * tabStop); } else { x += letterWidth; } } } void drawInto(ScreenPainter painter, int dx, int dy, int sx, int sy, int width, int height) { //char[6] buffer; // FIXME unicode painter.outlineColor = Color.white; painter.fillColor = Color.white; painter.drawRectangle(Point(dx, dy), width, height); painter.outlineColor = Color.black; if(length == 0) return; int startingIdx = 0; if(sx > 0 || sy > 0) { int lastSearched = text.length; // binary search till we get the first visible item startingIdx = text.length / 2; keep_searching: while(startingIdx >= 0 && text[startingIdx] == 0xff) --startingIdx; while(text[startingIdx] == 0xff && startingIdx < text.length) ++startingIdx; if(startingIdx == text.length) assert(0); // we're apparently empty! why didn't length == 0? if(this.x[startingIdx] > sx || this.y[startingIdx] > sy) { // FIXME // too far ahead, search backward lastSearched = startingIdx; startingIdx = startingIdx / 2; goto keep_searching; } else { // this is probably good enough but let's try to be more precise //startingIdx = (lastSearched - startingIdx) / 2; //goto keep_searching; } } foreach(idx, char ch; text[startingIdx .. $]) { if(ch == 0xff) continue; int drawX = dx + this.x[startingIdx + idx] - sx; int drawY = dy + this.y[startingIdx + idx] - sy; if(drawX - dx > width) continue; if(drawY - dy > height) break; painter.drawText(Point(drawX, drawY), "" ~ ch); import std.stdio; write(ch); stdout.flush; } } } } // Don't use this yet. When I'm happy with it, I will move it to the // regular module namespace. mixin template ExperimentalTextComponent() { alias Rectangle = arsd.color.Rectangle; // FIXME remove this import std.string : split; struct ForegroundColor { Color color; alias color this; this(Color c) { color = c; } this(int r, int g, int b, int a = 255) { color = Color(r, g, b, a); } static ForegroundColor opDispatch(string s)() if(__traits(compiles, ForegroundColor(mixin("Color." ~ s)))) { return ForegroundColor(mixin("Color." ~ s)); } } struct BackgroundColor { Color color; alias color this; this(Color c) { color = c; } this(int r, int g, int b, int a = 255) { color = Color(r, g, b, a); } static BackgroundColor opDispatch(string s)() if(__traits(compiles, BackgroundColor(mixin("Color." ~ s)))) { return BackgroundColor(mixin("Color." ~ s)); } } static class InlineElement { string text; BlockElement containingBlock; Color color = Color.black; Color backgroundColor = Color.transparent; ushort styles; string font; int fontSize; int lineHeight; void* identifier; Rectangle boundingBox; int[] letterXs; // FIXME: maybe i should do bounding boxes for every character bool isMergeCompatible(InlineElement other) { return containingBlock is other.containingBlock && color == other.color && backgroundColor == other.backgroundColor && styles == other.styles && font == other.font && fontSize == other.fontSize && lineHeight == other.lineHeight && true; } int xOfIndex(size_t index) { if(index < letterXs.length) return letterXs[index]; else return boundingBox.right; } InlineElement clone() { auto ie = new InlineElement(); ie.tupleof = this.tupleof; return ie; } InlineElement getPreviousInlineElement() { InlineElement prev = null; foreach(ie; this.containingBlock.parts) { if(ie is this) break; prev = ie; } if(prev is null) { BlockElement pb; BlockElement cb = this.containingBlock; moar: foreach(ie; this.containingBlock.containingLayout.blocks) { if(ie is cb) break; pb = ie; } if(pb is null) return null; if(pb.parts.length == 0) { cb = pb; goto moar; } prev = pb.parts[$-1]; } return prev; } InlineElement getNextInlineElement() { InlineElement next = null; foreach(idx, ie; this.containingBlock.parts) { if(ie is this) { if(idx + 1 < this.containingBlock.parts.length) next = this.containingBlock.parts[idx + 1]; break; } } if(next is null) { BlockElement n; foreach(idx, ie; this.containingBlock.containingLayout.blocks) { if(ie is this.containingBlock) { if(idx + 1 < this.containingBlock.containingLayout.blocks.length) n = this.containingBlock.containingLayout.blocks[idx + 1]; break; } } if(n is null) return null; if(n.parts.length) next = n.parts[0]; else {} // FIXME } return next; } } // Block elements are used entirely for positioning inline elements, // which are the things that are actually drawn. class BlockElement { InlineElement[] parts; uint alignment; int whiteSpace; // pre, pre-wrap, wrap TextLayout containingLayout; // inputs Point where; Size minimumSize; Size maximumSize; Rectangle[] excludedBoxes; // like if you want it to write around a floated image or something. Coordinates are relative to the bounding box. void* identifier; Rectangle margin; Rectangle padding; // outputs Rectangle[] boundingBoxes; } struct TextIdentifyResult { InlineElement element; int offset; private TextIdentifyResult fixupNewline() { if(element !is null && offset < element.text.length && element.text[offset] == '\n') { offset--; } else if(element !is null && offset == element.text.length && element.text.length > 1 && element.text[$-1] == '\n') { offset--; } return this; } } class TextLayout { BlockElement[] blocks; Rectangle boundingBox_; Rectangle boundingBox() { return boundingBox_; } void boundingBox(Rectangle r) { if(r != boundingBox_) { boundingBox_ = r; layoutInvalidated = true; } } Rectangle contentBoundingBox() { Rectangle r; foreach(block; blocks) foreach(ie; block.parts) { if(ie.boundingBox.right > r.right) r.right = ie.boundingBox.right; if(ie.boundingBox.bottom > r.bottom) r.bottom = ie.boundingBox.bottom; } return r; } BlockElement[] getBlocks() { return blocks; } InlineElement[] getTexts() { InlineElement[] elements; foreach(block; blocks) elements ~= block.parts; return elements; } string getPlainText() { string text; foreach(block; blocks) foreach(part; block.parts) text ~= part.text; return text; } string getHtml() { return null; // FIXME } this(Rectangle boundingBox) { this.boundingBox = boundingBox; } BlockElement addBlock(InlineElement after = null, Rectangle margin = Rectangle(0, 0, 0, 0), Rectangle padding = Rectangle(0, 0, 0, 0)) { auto be = new BlockElement(); be.containingLayout = this; if(after is null) blocks ~= be; else { foreach(idx, b; blocks) { if(b is after.containingBlock) { blocks = blocks[0 .. idx + 1] ~ be ~ blocks[idx + 1 .. $]; break; } } } return be; } void clear() { blocks = null; selectionStart = selectionEnd = caret = Caret.init; } void addText(Args...)(Args args) { if(blocks.length == 0) addBlock(); InlineElement ie = new InlineElement(); foreach(idx, arg; args) { static if(is(typeof(arg) == ForegroundColor)) ie.color = arg; else static if(is(typeof(arg) == TextFormat)) { if(arg & 0x8000) // ~TextFormat.something turns it off ie.styles &= arg; else ie.styles |= arg; } else static if(is(typeof(arg) == string)) { static if(idx == 0 && args.length > 1) static assert(0, "Put styles before the string."); size_t lastLineIndex; foreach(cidx, char a; arg) { if(a == '\n') { ie.text = arg[lastLineIndex .. cidx + 1]; lastLineIndex = cidx + 1; ie.containingBlock = blocks[$-1]; blocks[$-1].parts ~= ie.clone; ie.text = null; } else { } } ie.text = arg[lastLineIndex .. $]; ie.containingBlock = blocks[$-1]; blocks[$-1].parts ~= ie.clone; caret = Caret(this, blocks[$-1].parts[$-1], cast(int) blocks[$-1].parts[$-1].text.length); } } invalidateLayout(); } void tryMerge(InlineElement into, InlineElement what) { if(!into.isMergeCompatible(what)) { return; // cannot merge, different configs } // cool, can merge, bring text together... into.text ~= what.text; // and remove what for(size_t a = 0; a < what.containingBlock.parts.length; a++) { if(what.containingBlock.parts[a] is what) { for(size_t i = a; i < what.containingBlock.parts.length - 1; i++) what.containingBlock.parts[i] = what.containingBlock.parts[i + 1]; what.containingBlock.parts = what.containingBlock.parts[0 .. $-1]; } } // FIXME: ensure no other carets have a reference to it } /// exact = true means return null if no match. otherwise, get the closest one that makes sense for a mouse click. TextIdentifyResult identify(int x, int y, bool exact = false) { TextIdentifyResult inexactMatch; foreach(block; blocks) { foreach(part; block.parts) { if(x >= part.boundingBox.left && x < part.boundingBox.right && y >= part.boundingBox.top && y < part.boundingBox.bottom) { // FIXME binary search int tidx; int lastX; foreach_reverse(idxo, lx; part.letterXs) { int idx = cast(int) idxo; if(lx <= x) { if(lastX && lastX - x < x - lx) tidx = idx + 1; else tidx = idx; break; } lastX = lx; } return TextIdentifyResult(part, tidx).fixupNewline; } else if(!exact) { // we're not in the box, but are we on the same line? if(y >= part.boundingBox.top && y < part.boundingBox.bottom) inexactMatch = TextIdentifyResult(part, x == 0 ? 0 : cast(int) part.text.length); } } } if(!exact && inexactMatch is TextIdentifyResult.init && blocks.length && blocks[$-1].parts.length) return TextIdentifyResult(blocks[$-1].parts[$-1], cast(int) blocks[$-1].parts[$-1].text.length).fixupNewline; return exact ? TextIdentifyResult.init : inexactMatch.fixupNewline; } void moveCaretToPixelCoordinates(int x, int y) { auto result = identify(x, y); caret.inlineElement = result.element; caret.offset = result.offset; } void selectToPixelCoordinates(int x, int y) { auto result = identify(x, y); if(y < caretLastDrawnY1) { // on a previous line, carat is selectionEnd selectionEnd = caret; selectionStart = Caret(this, result.element, result.offset); } else if(y > caretLastDrawnY2) { // on a later line selectionStart = caret; selectionEnd = Caret(this, result.element, result.offset); } else { // on the same line... if(x <= caretLastDrawnX) { selectionEnd = caret; selectionStart = Caret(this, result.element, result.offset); } else { selectionStart = caret; selectionEnd = Caret(this, result.element, result.offset); } } } /// Call this if the inputs change. It will reflow everything void redoLayout(ScreenPainter painter) { //painter.setClipRectangle(boundingBox); auto pos = Point(boundingBox.left, boundingBox.top); int lastHeight; void nl() { pos.x = boundingBox.left; pos.y += lastHeight; } foreach(block; blocks) { nl(); foreach(part; block.parts) { part.letterXs = null; auto size = painter.textSize(part.text); part.boundingBox = Rectangle(pos.x, pos.y, pos.x + size.width, pos.y + size.height); foreach(idx, char c; part.text) { // FIXME: unicode part.letterXs ~= painter.textSize(part.text[0 .. idx]).width + pos.x; } pos.x += size.width; if(pos.x >= boundingBox.right) { pos.y += size.height; pos.x = boundingBox.left; lastHeight = 0; } else { lastHeight = size.height; } if(part.text.length && part.text[$-1] == '\n') nl(); } } layoutInvalidated = false; } bool layoutInvalidated = true; void invalidateLayout() { layoutInvalidated = true; } // FIXME: caret can remain sometimes when inserting // FIXME: inserting at the beginning once you already have something can eff it up. void drawInto(ScreenPainter painter, bool focused = false) { if(layoutInvalidated) redoLayout(painter); foreach(block; blocks) { foreach(part; block.parts) { painter.outlineColor = part.color; painter.fillColor = part.backgroundColor; auto pos = part.boundingBox.upperLeft; auto size = part.boundingBox.size; painter.drawText(pos, part.text); if(part.styles & TextFormat.underline) painter.drawLine(Point(pos.x, pos.y + size.height - 4), Point(pos.x + size.width, pos.y + size.height - 4)); if(part.styles & TextFormat.strikethrough) painter.drawLine(Point(pos.x, pos.y + size.height/2), Point(pos.x + size.width, pos.y + size.height/2)); } } // on every redraw, I will force the caret to be // redrawn too, in order to eliminate perceived lag // when moving around with the mouse. eraseCaret(painter); if(focused) { highlightSelection(painter); drawCaret(painter); } } void highlightSelection(ScreenPainter painter) { if(selectionStart is selectionEnd) return; // no selection assert(selectionStart.inlineElement !is null); assert(selectionEnd.inlineElement !is null); painter.rasterOp = RasterOp.xor; painter.outlineColor = Color.transparent; painter.fillColor = Color(255, 255, 127); auto at = selectionStart.inlineElement; auto atOffset = selectionStart.offset; bool done; while(at) { auto box = at.boundingBox; if(atOffset < at.letterXs.length) box.left = at.letterXs[atOffset]; if(at is selectionEnd.inlineElement) { if(selectionEnd.offset < at.letterXs.length) box.right = at.letterXs[selectionEnd.offset]; done = true; } painter.drawRectangle(box.upperLeft, box.width, box.height); if(done) break; at = at.getNextInlineElement(); atOffset = 0; } } int caretLastDrawnX, caretLastDrawnY1, caretLastDrawnY2; bool caretShowingOnScreen = false; void drawCaret(ScreenPainter painter) { //painter.setClipRectangle(boundingBox); int x, y1, y2; if(caret.inlineElement is null) { x = boundingBox.left; y1 = boundingBox.top + 2; y2 = boundingBox.top + painter.fontHeight; } else { x = caret.inlineElement.xOfIndex(caret.offset); y1 = caret.inlineElement.boundingBox.top + 2; y2 = caret.inlineElement.boundingBox.bottom - 2; } if(caretShowingOnScreen && (x != caretLastDrawnX || y1 != caretLastDrawnY1 || y2 != caretLastDrawnY2)) eraseCaret(painter); painter.pen = Pen(Color.white, 1); painter.rasterOp = RasterOp.xor; painter.drawLine( Point(x, y1), Point(x, y2) ); painter.rasterOp = RasterOp.normal; caretShowingOnScreen = !caretShowingOnScreen; if(caretShowingOnScreen) { caretLastDrawnX = x; caretLastDrawnY1 = y1; caretLastDrawnY2 = y2; } } Rectangle caretBoundingBox() { int x, y1, y2; if(caret.inlineElement is null) { x = boundingBox.left; y1 = boundingBox.top + 2; y2 = boundingBox.top + 16; } else { x = caret.inlineElement.xOfIndex(caret.offset); y1 = caret.inlineElement.boundingBox.top + 2; y2 = caret.inlineElement.boundingBox.bottom - 2; } return Rectangle(x, y1, x + 1, y2); } void eraseCaret(ScreenPainter painter) { //painter.setClipRectangle(boundingBox); if(!caretShowingOnScreen) return; painter.pen = Pen(Color.white, 1); painter.rasterOp = RasterOp.xor; painter.drawLine( Point(caretLastDrawnX, caretLastDrawnY1), Point(caretLastDrawnX, caretLastDrawnY2) ); caretShowingOnScreen = false; painter.rasterOp = RasterOp.normal; } /// Caret movement api /// These should give the user a logical result based on what they see on screen... /// thus they locate predominately by *pixels* not char index. (These will generally coincide with monospace fonts tho!) void moveUp() { if(caret.inlineElement is null) return; auto x = caret.inlineElement.xOfIndex(caret.offset); auto y = caret.inlineElement.boundingBox.top + 2; y -= caret.inlineElement.boundingBox.bottom - caret.inlineElement.boundingBox.top; if(y < 0) return; auto i = identify(x, y); if(i.element) { caret.inlineElement = i.element; caret.offset = i.offset; } } void moveDown() { if(caret.inlineElement is null) return; auto x = caret.inlineElement.xOfIndex(caret.offset); auto y = caret.inlineElement.boundingBox.bottom - 2; y += caret.inlineElement.boundingBox.bottom - caret.inlineElement.boundingBox.top; auto i = identify(x, y); if(i.element) { caret.inlineElement = i.element; caret.offset = i.offset; } } void moveLeft() { if(caret.inlineElement is null) return; if(caret.offset) caret.offset--; else { auto p = caret.inlineElement.getPreviousInlineElement(); if(p) { caret.inlineElement = p; if(p.text.length && p.text[$-1] == '\n') caret.offset = cast(int) p.text.length - 1; else caret.offset = cast(int) p.text.length; } } } void moveRight() { if(caret.inlineElement is null) return; if(caret.offset < caret.inlineElement.text.length && caret.inlineElement.text[caret.offset] != '\n') { caret.offset++; } else { auto p = caret.inlineElement.getNextInlineElement(); if(p) { caret.inlineElement = p; caret.offset = 0; } } } void moveHome() { if(caret.inlineElement is null) return; auto x = 0; auto y = caret.inlineElement.boundingBox.top + 2; auto i = identify(x, y); if(i.element) { caret.inlineElement = i.element; caret.offset = i.offset; } } void moveEnd() { if(caret.inlineElement is null) return; auto x = int.max; auto y = caret.inlineElement.boundingBox.top + 2; auto i = identify(x, y); if(i.element) { caret.inlineElement = i.element; caret.offset = i.offset; } } void movePageUp(ref Caret caret) {} void movePageDown(ref Caret caret) {} void moveDocumentStart(ref Caret caret) { if(blocks.length && blocks[0].parts.length) caret = Caret(this, blocks[0].parts[0], 0); else caret = Caret.init; } void moveDocumentEnd(ref Caret caret) { if(blocks.length) { auto parts = blocks[$-1].parts; if(parts.length) { caret = Caret(this, parts[$-1], cast(int) parts[$-1].text.length); } else { caret = Caret.init; } } else caret = Caret.init; } void deleteSelection() { if(selectionStart is selectionEnd) return; assert(selectionStart.inlineElement !is null); assert(selectionEnd.inlineElement !is null); auto at = selectionStart.inlineElement; if(selectionEnd.inlineElement is at) { // same element, need to chop out at.text = at.text[0 .. selectionStart.offset] ~ at.text[selectionEnd.offset .. $]; at.letterXs = at.letterXs[0 .. selectionStart.offset] ~ at.letterXs[selectionEnd.offset .. $]; selectionEnd.offset -= selectionEnd.offset - selectionStart.offset; } else { // different elements, we can do it with slicing at.text = at.text[0 .. selectionStart.offset]; if(selectionStart.offset < at.letterXs.length) at.letterXs = at.letterXs[0 .. selectionStart.offset]; at = at.getNextInlineElement(); while(at) { if(at is selectionEnd.inlineElement) { at.text = at.text[selectionEnd.offset .. $]; if(selectionEnd.offset < at.letterXs.length) at.letterXs = at.letterXs[selectionEnd.offset .. $]; selectionEnd.offset = 0; break; } else { auto cfd = at; cfd.text = null; // delete the whole thing at = at.getNextInlineElement(); if(cfd.text.length == 0) { // and remove cfd for(size_t a = 0; a < cfd.containingBlock.parts.length; a++) { if(cfd.containingBlock.parts[a] is cfd) { for(size_t i = a; i < cfd.containingBlock.parts.length - 1; i++) cfd.containingBlock.parts[i] = cfd.containingBlock.parts[i + 1]; cfd.containingBlock.parts = cfd.containingBlock.parts[0 .. $-1]; } } } } } } caret = selectionEnd; selectNone(); invalidateLayout(); } /// Plain text editing api. These work at the current caret inside the selected inline element. void insert(in char[] text) { foreach(dchar ch; text) insert(ch); } /// ditto void insert(dchar ch) { deleteSelection(); if(ch == 127) { delete_(); return; } if(ch == 8) { backspace(); return; } invalidateLayout(); if(ch == 13) ch = 10; auto e = caret.inlineElement; if(e is null) { addText("" ~ cast(char) ch) ; // FIXME return; } if(caret.offset == e.text.length) { e.text ~= cast(char) ch; // FIXME caret.offset++; if(ch == 10) { auto c = caret.inlineElement.clone; c.text = null; c.letterXs = null; insertPartAfter(c,e); caret = Caret(this, c, 0); } } else { // FIXME cast char sucks if(ch == 10) { auto c = caret.inlineElement.clone; c.text = e.text[caret.offset .. $]; if(caret.offset < c.letterXs.length) c.letterXs = e.letterXs[caret.offset .. $]; // FIXME boundingBox e.text = e.text[0 .. caret.offset] ~ cast(char) ch; if(caret.offset <= e.letterXs.length) { e.letterXs = e.letterXs[0 .. caret.offset] ~ 0; // FIXME bounding box } insertPartAfter(c,e); caret = Caret(this, c, 0); } else { e.text = e.text[0 .. caret.offset] ~ cast(char) ch ~ e.text[caret.offset .. $]; caret.offset++; } } } void insertPartAfter(InlineElement what, InlineElement where) { foreach(idx, p; where.containingBlock.parts) { if(p is where) { if(idx + 1 == where.containingBlock.parts.length) where.containingBlock.parts ~= what; else where.containingBlock.parts = where.containingBlock.parts[0 .. idx + 1] ~ what ~ where.containingBlock.parts[idx + 1 .. $]; return; } } } void cleanupStructures() { for(size_t i = 0; i < blocks.length; i++) { auto block = blocks[i]; for(size_t a = 0; a < block.parts.length; a++) { auto part = block.parts[a]; if(part.text.length == 0) { for(size_t b = a; b < block.parts.length - 1; b++) block.parts[b] = block.parts[b+1]; block.parts = block.parts[0 .. $-1]; } } if(block.parts.length == 0) { for(size_t a = i; a < blocks.length - 1; a++) blocks[a] = blocks[a+1]; blocks = blocks[0 .. $-1]; } } } void backspace() { try_again: auto e = caret.inlineElement; if(e is null) return; if(caret.offset == 0) { auto prev = e.getPreviousInlineElement(); if(prev is null) return; auto newOffset = cast(int) prev.text.length; tryMerge(prev, e); caret.inlineElement = prev; caret.offset = prev is null ? 0 : newOffset; goto try_again; } else if(caret.offset == e.text.length) { e.text = e.text[0 .. $-1]; caret.offset--; } else { e.text = e.text[0 .. caret.offset - 1] ~ e.text[caret.offset .. $]; caret.offset--; } //cleanupStructures(); invalidateLayout(); } void delete_() { if(selectionStart !is selectionEnd) deleteSelection(); else { auto before = caret; moveRight(); if(caret != before) { backspace(); } } invalidateLayout(); } void overstrike() {} /// Selection API. See also: caret movement. void selectAll() { moveDocumentStart(selectionStart); moveDocumentEnd(selectionEnd); } void selectNone() { selectionStart = selectionEnd = Caret.init; } /// Rich text editing api. These allow you to manipulate the meta data of the current element and add new elements. /// They will modify the current selection if there is one and will splice one in if needed. void changeAttributes() {} /// Text search api. They manipulate the selection and/or caret. void findText(string text) {} void findIndex(size_t textIndex) {} // sample event handlers void handleEvent(KeyEvent event) { //if(event.type == KeyEvent.Type.KeyPressed) { //} } void handleEvent(dchar ch) { } void handleEvent(MouseEvent event) { } bool contentEditable; // can it be edited? bool contentCaretable; // is there a caret/cursor that moves around in there? bool contentSelectable; // selectable? Caret caret; Caret selectionStart; Caret selectionEnd; bool insertMode; } struct Caret { TextLayout layout; InlineElement inlineElement; int offset; } enum TextFormat : ushort { // decorations underline = 1, strikethrough = 2, // font selectors bold = 0x4000 | 1, // weight 700 light = 0x4000 | 2, // weight 300 veryBoldOrLight = 0x4000 | 4, // weight 100 with light, weight 900 with bold // bold | light is really invalid but should give weight 500 // veryBoldOrLight without one of the others should just give the default for the font; it should be ignored. italic = 0x4000 | 8, smallcaps = 0x4000 | 16, } void* findFont(string family, int weight, TextFormat formats) { return null; } } static if(UsingSimpledisplayX11) { enum _NET_WM_STATE_ADD = 1; enum _NET_WM_STATE_REMOVE = 0; enum _NET_WM_STATE_TOGGLE = 2; /// X-specific void demandAttention(SimpleWindow window, bool needs = true) { auto display = XDisplayConnection.get(); auto atom = XInternAtom(display, "_NET_WM_STATE_DEMANDS_ATTENTION", true); if(atom == None) return; // non-failure error //auto atom2 = GetAtom!"_NET_WM_STATE_SHADED"(display); XClientMessageEvent xclient; xclient.type = EventType.ClientMessage; xclient.window = window.impl.window; xclient.message_type = GetAtom!"_NET_WM_STATE"(display); xclient.format = 32; xclient.data.l[0] = needs ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE; xclient.data.l[1] = atom; //xclient.data.l[2] = atom2; // [2] == a second property // [3] == source. 0 == unknown, 1 == app, 2 == else XSendEvent( display, RootWindow(display, DefaultScreen(display)), false, EventMask.SubstructureRedirectMask | EventMask.SubstructureNotifyMask, cast(XEvent*) &xclient ); /+ XChangeProperty( display, window.impl.window, GetAtom!"_NET_WM_STATE"(display), XA_ATOM, 32 /* bits */, PropModeAppend, &atom, 1); +/ } /// X-specific TrueColorImage getWindowNetWmIcon(Window window) { auto display = XDisplayConnection.get; auto data = getX11PropertyData (window, GetAtom!"_NET_WM_ICON"(display), XA_CARDINAL); if (data.length > arch_ulong.sizeof * 2) { auto meta = cast(arch_ulong[]) (data[0 .. arch_ulong.sizeof * 2]); // these are an array of rgba images that we have to convert into pixmaps ourself int width = cast(int) meta[0]; int height = cast(int) meta[1]; auto bytes = cast(ubyte[]) (data[arch_ulong.sizeof * 2 .. $]); static if(arch_ulong.sizeof == 4) { bytes = bytes[0 .. width * height * 4]; alias imageData = bytes; } else static if(arch_ulong.sizeof == 8) { bytes = bytes[0 .. width * height * 8]; auto imageData = new ubyte[](4 * width * height); } else static assert(0); // this returns ARGB. Remember it is little-endian so // we have BGRA // our thing uses RGBA, which in little endian, is ABGR for(int idx = 0, idx2 = 0; idx < bytes.length; idx += arch_ulong.sizeof, idx2 += 4) { auto r = bytes[idx + 2]; auto g = bytes[idx + 1]; auto b = bytes[idx + 0]; auto a = bytes[idx + 3]; imageData[idx2 + 0] = r; imageData[idx2 + 1] = g; imageData[idx2 + 2] = b; imageData[idx2 + 3] = a; } return new TrueColorImage(width, height, imageData); } return null; } } void loadBinNameToWindowClassName () { import core.stdc.stdlib : realloc; version(linux) { // args[0] MAY be empty, so we'll just use this import core.sys.posix.unistd : readlink; char[1024] ebuf = void; // 1KB should be enough for everyone! auto len = readlink("/proc/self/exe", ebuf.ptr, ebuf.length); if (len < 1) return; } else /*version(Windows)*/ { import core.runtime : Runtime; if (Runtime.args.length == 0 || Runtime.args[0].length == 0) return; auto ebuf = Runtime.args[0]; auto len = ebuf.length; } auto pos = len; while (pos > 0 && ebuf[pos-1] != '/') --pos; sdpyWindowClassStr = cast(char*)realloc(sdpyWindowClassStr, len-pos+1); if (sdpyWindowClassStr is null) return; // oops sdpyWindowClassStr[0..len-pos+1] = 0; // just in case sdpyWindowClassStr[0..len-pos] = ebuf[pos..len]; } /++ An interface representing a font. This is still MAJOR work in progress. +/ interface DrawableFont { void drawString(ScreenPainter painter, Point upperLeft, in char[] text); } /++ Loads a true type font using [arsd.ttf]. That module must be compiled in if you choose to use this function. Be warned: this can be slow and memory hungry, especially on remote connections to the X server. This is still MAJOR work in progress. +/ DrawableFont arsdTtfFont()(in ubyte[] data, int size) { import arsd.ttf; static class ArsdTtfFont : DrawableFont { TtfFont font; int size; this(in ubyte[] data, int size) { font = TtfFont(data); this.size = size; } Sprite[string] cache; void drawString(ScreenPainter painter, Point upperLeft, in char[] text) { Sprite sprite = (text in cache) ? *(text in cache) : null; auto fg = painter.impl._outlineColor; auto bg = painter.impl._fillColor; if(sprite is null) { int width, height; auto data = font.renderString(text, size, width, height); auto image = new TrueColorImage(width, height); int pos = 0; foreach(y; 0 .. height) foreach(x; 0 .. width) { fg.a = data[0]; bg.a = 255; auto color = alphaBlend(fg, bg); image.imageData.bytes[pos++] = color.r; image.imageData.bytes[pos++] = color.g; image.imageData.bytes[pos++] = color.b; image.imageData.bytes[pos++] = data[0]; data = data[1 .. $]; } assert(data.length == 0); sprite = new Sprite(painter.window, Image.fromMemoryImage(image)); cache[text.idup] = sprite; } sprite.drawAt(painter, upperLeft); } } return new ArsdTtfFont(data, size); } class NotYetImplementedException : Exception { this(string file = __FILE__, size_t line = __LINE__) { super("Not yet implemented", file, line); } }
D
module opus.encoder; const int OPUS_OK = 0; enum Application { VOIP = 2048, AUDIO = 2049, LOWDELAY = 2051, } enum Bandwidth { NARROWBAND = 1101, MEDIUMBAND = 1102, WIDEBAND = 1103, SUPERWIDEBAND = 1104, FULLBAND = 1105, } enum CTL { SET_BITRATE_REQUEST = 4002, SET_BANDWIDTH_REQUEST = 4008, SET_INBAND_FEC_REQUEST = 4012, SET_PACKET_LOSS_PERC_REQUEST = 4014, } extern (C) { struct OpusEncoder {}; OpusEncoder* opus_encoder_create(int, int, int, int*); void opus_encoder_destroy(OpusEncoder*); int opus_encode(OpusEncoder*, const short*, int, ubyte*, int); int opus_encoder_ctl(OpusEncoder*, int request, ...); } /// Encoder is a wrapper around opus encoding class Encoder { OpusEncoder* encoder; private { int sampleRate; int channels; Application app; } this(int sampleRate=48000, int channels=2, Application app = Application.VOIP) { this.sampleRate = sampleRate; this.channels = channels; this.app = app; int error; this.encoder = opus_encoder_create(sampleRate, channels, app, &error); assert(error == OPUS_OK); } ~this() { if (this.encoder) { opus_encoder_destroy(this.encoder); this.encoder = null; } } /// Encodes an array of PCM data into raw opus ubyte[] encode(immutable short[] pcm, int frameSize) { ubyte[] data = new ubyte[]((frameSize * this.channels) * 2); int size = opus_encode(this.encoder, &pcm[0], frameSize, &data[0], cast(int)data.length); return data[0..size]; } /// Sets the bitrate for this encoder (in kbps) void setBitrate(int kbps) { assert(opus_encoder_ctl(this.encoder, CTL.SET_BITRATE_REQUEST, kbps * 1024) == OPUS_OK); } /// Sets the bandwidth for this encoder void setBandwidth(Bandwidth bw) { assert(opus_encoder_ctl(this.encoder, CTL.SET_BANDWIDTH_REQUEST, cast(int)bw) == OPUS_OK); } /// Sets whether inband FEC (forward error correction) is enabled for this encoder void setInbandFEC(bool enabled) { assert(opus_encoder_ctl(this.encoder, CTL.SET_INBAND_FEC_REQUEST, cast(int)enabled) == OPUS_OK); } /// Sets the predicted packet loss percent for FEC (if enabled) void setPacketLossPercent(int percent) { assert(opus_encoder_ctl(this.encoder, CTL.SET_PACKET_LOSS_PERC_REQUEST, percent) == OPUS_OK); } } unittest { Encoder enc = new Encoder(); enc.setInbandFEC(true); enc.setPacketLossPercent(30); enc.setBandwidth(Bandwidth.FULLBAND); enc.setBitrate(128); enc.destroy(); }
D
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Cipher/CipherProtocol.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Vapor.build/CipherProtocol~partial.swiftmodule : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Vapor.build/CipherProtocol~partial.swiftdoc : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Body+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+FormData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewData.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/FormData+Polymorphic.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/StructuredData+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/FormURLEncoded/Request+FormURLEncoded.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Command.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Log+Convenience.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringCharacterSequence.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Resource.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/HTTP+Node.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/AcceptLanguage.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cache/Config+Cache.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Response+Codable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Configurable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/JSONRepresentable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/StringInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/RequestInitializable.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Config+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Vapor+Console.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/MediaType.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Config+Middleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Date/DateMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorMiddleware.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/File+Response.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Resolve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Serve.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/DumpConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/Config+ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Serve/ServerConfig.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoEncoding.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Middleware/Chaining.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/Droplet+Routing.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/Config+Log.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RoutesLog.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Config+Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogLevel.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Config+Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mail.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/ProviderInstall.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/LogProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/HashProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CipherProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactoryProtocol.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/Int+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Commands/Version.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/CORS/CORSConfiguration.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Routing/RouteCollection.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Subscription.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Run.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Mail/Mailgun.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Config+Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet+Responder.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/File/FileManager.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Log/ConsoleLogger.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/Config+Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Cipher/CryptoCipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/CryptoHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Hash/BCryptHasher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/StaticViewRenderer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/EngineServer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/SecurityLayer.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/AbortError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Provider/Provider+Resources.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Config/Directories.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Bytes.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/InitProtocols.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Sessions/Config+Sessions.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Responder+Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/WebSockets/WebSockets.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/Exports.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Droplet/Droplet.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/EngineClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/FoundationClient.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Response+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Request+Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Content.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Event/Event.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/HTTP/Accept.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Multipart/Request+Multipart.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/Abort.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/ViewRenderer+Request.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/Config+View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/View/View.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Error/ErrorView.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/Config+ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Server/ServerFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/Config+ClientFactory.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Engine/Client/ClientFactory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/JSON.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/SMTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/FormData.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cache.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Cookies.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Configs.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sessions.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/BCrypt.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Random/Hash+Random.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Hash+Random~partial.swiftmodule : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Hash+Random~partial.swiftdoc : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/mnt/c/Users/Max Kelly/Documents/Github/rust/crawler/target/debug/build/markup5ever-b111a4c68714a22c/build_script_build-b111a4c68714a22c: /home/trinitok/.cargo/registry/src/github.com-1ecc6299db9ec823/markup5ever-0.7.3/build.rs /mnt/c/Users/Max Kelly/Documents/Github/rust/crawler/target/debug/build/markup5ever-b111a4c68714a22c/build_script_build-b111a4c68714a22c.d: /home/trinitok/.cargo/registry/src/github.com-1ecc6299db9ec823/markup5ever-0.7.3/build.rs /home/trinitok/.cargo/registry/src/github.com-1ecc6299db9ec823/markup5ever-0.7.3/build.rs:
D
hunt illegally cook in a simmering liquid
D
FUNC VOID MEMINT_RemoveVob(var int ptr) { if (ptr > 0) && (ptr != MEM_InstToPtr(PC_Hero)) { CALL__thiscall(ptr, 6298688); // Entfernt übergebens Vob (zCVob.RemoveVobFromWorld()) }; }; FUNC INT MEM_RemoveVob(var string vobname) { var int ptr; ptr = MEM_SearchVobByName (vobname); if (ptr > 0) { MEMINT_RemoveVob(ptr); return TRUE; } else { return FALSE; }; };
D
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ScheduledItemType.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ScheduledItemType~partial.swiftmodule : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ScheduledItemType~partial.swiftdoc : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Cancelable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObserverType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Reactive.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/RecursiveLock.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Errors.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/AtomicInt.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Event.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/First.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Rx.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/Platform/Platform.Linux.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/danielmorales/CSUMB/Potluck/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module android.java.android.view.inputmethod.BaseInputConnection_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import5 = android.java.java.lang.CharSequence_d_interface; import import9 = android.java.android.os.Handler_d_interface; import import0 = android.java.android.view.View_d_interface; import import2 = android.java.android.text.Editable_d_interface; import import12 = android.java.java.lang.Class_d_interface; import import11 = android.java.android.view.inputmethod.InputContentInfo_d_interface; import import10 = android.java.android.view.KeyEvent_d_interface; import import1 = android.java.android.text.Spannable_d_interface; import import4 = android.java.android.view.inputmethod.CorrectionInfo_d_interface; import import8 = android.java.android.os.Bundle_d_interface; import import7 = android.java.android.view.inputmethod.ExtractedTextRequest_d_interface; import import6 = android.java.android.view.inputmethod.ExtractedText_d_interface; import import3 = android.java.android.view.inputmethod.CompletionInfo_d_interface; final class BaseInputConnection : IJavaObject { static immutable string[] _d_canCastTo = [ "android/view/inputmethod/InputConnection", ]; @Import this(import0.View, bool); @Import static void removeComposingSpans(import1.Spannable); @Import static void setComposingSpans(import1.Spannable); @Import static int getComposingSpanStart(import1.Spannable); @Import static int getComposingSpanEnd(import1.Spannable); @Import import2.Editable getEditable(); @Import bool beginBatchEdit(); @Import bool endBatchEdit(); @Import void closeConnection(); @Import bool clearMetaKeyStates(int); @Import bool commitCompletion(import3.CompletionInfo); @Import bool commitCorrection(import4.CorrectionInfo); @Import bool commitText(import5.CharSequence, int); @Import bool deleteSurroundingText(int, int); @Import bool deleteSurroundingTextInCodePoints(int, int); @Import bool finishComposingText(); @Import int getCursorCapsMode(int); @Import import6.ExtractedText getExtractedText(import7.ExtractedTextRequest, int); @Import import5.CharSequence getTextBeforeCursor(int, int); @Import import5.CharSequence getSelectedText(int); @Import import5.CharSequence getTextAfterCursor(int, int); @Import bool performEditorAction(int); @Import bool performContextMenuAction(int); @Import bool performPrivateCommand(string, import8.Bundle); @Import bool requestCursorUpdates(int); @Import import9.Handler getHandler(); @Import bool setComposingText(import5.CharSequence, int); @Import bool setComposingRegion(int, int); @Import bool setSelection(int, int); @Import bool sendKeyEvent(import10.KeyEvent); @Import bool reportFullscreenMode(bool); @Import bool commitContent(import11.InputContentInfo, int, import8.Bundle); @Import import12.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/view/inputmethod/BaseInputConnection;"; }
D
a city in southern California (southeast of Los Angeles
D
/* REQUIRED_ARGS: -de TEST_OUTPUT: --- fail_compilation/fail16997.d(31): Deprecation: integral promotion not done for `~c`, use '-transition=intpromote' switch or `~cast(int)(c)` fail_compilation/fail16997.d(32): Deprecation: integral promotion not done for `-c`, use '-transition=intpromote' switch or `-cast(int)(c)` fail_compilation/fail16997.d(33): Deprecation: integral promotion not done for `+c`, use '-transition=intpromote' switch or `+cast(int)(c)` fail_compilation/fail16997.d(36): Deprecation: integral promotion not done for `~w`, use '-transition=intpromote' switch or `~cast(int)(w)` fail_compilation/fail16997.d(37): Deprecation: integral promotion not done for `-w`, use '-transition=intpromote' switch or `-cast(int)(w)` fail_compilation/fail16997.d(38): Deprecation: integral promotion not done for `+w`, use '-transition=intpromote' switch or `+cast(int)(w)` fail_compilation/fail16997.d(41): Deprecation: integral promotion not done for `~sb`, use '-transition=intpromote' switch or `~cast(int)(sb)` fail_compilation/fail16997.d(42): Deprecation: integral promotion not done for `-sb`, use '-transition=intpromote' switch or `-cast(int)(sb)` fail_compilation/fail16997.d(43): Deprecation: integral promotion not done for `+sb`, use '-transition=intpromote' switch or `+cast(int)(sb)` fail_compilation/fail16997.d(46): Deprecation: integral promotion not done for `~ub`, use '-transition=intpromote' switch or `~cast(int)(ub)` fail_compilation/fail16997.d(47): Deprecation: integral promotion not done for `-ub`, use '-transition=intpromote' switch or `-cast(int)(ub)` fail_compilation/fail16997.d(48): Deprecation: integral promotion not done for `+ub`, use '-transition=intpromote' switch or `+cast(int)(ub)` fail_compilation/fail16997.d(51): Deprecation: integral promotion not done for `~s`, use '-transition=intpromote' switch or `~cast(int)(s)` fail_compilation/fail16997.d(52): Deprecation: integral promotion not done for `-s`, use '-transition=intpromote' switch or `-cast(int)(s)` fail_compilation/fail16997.d(53): Deprecation: integral promotion not done for `+s`, use '-transition=intpromote' switch or `+cast(int)(s)` fail_compilation/fail16997.d(56): Deprecation: integral promotion not done for `~us`, use '-transition=intpromote' switch or `~cast(int)(us)` fail_compilation/fail16997.d(57): Deprecation: integral promotion not done for `-us`, use '-transition=intpromote' switch or `-cast(int)(us)` fail_compilation/fail16997.d(58): Deprecation: integral promotion not done for `+us`, use '-transition=intpromote' switch or `+cast(int)(us)` --- */ void test() { int x; char c; x = ~c; x = -c; x = +c; wchar w; x = ~w; x = -w; x = +w; byte sb; x = ~sb; x = -sb; x = +sb; ubyte ub; x = ~ub; x = -ub; x = +ub; short s; x = ~s; x = -s; x = +s; ushort us; x = ~us; x = -us; x = +us; }
D