This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright © 2017-2018 Atlas Engineer LLC. | |
| // Use of this file is governed by the license that can be found in LICENSE. | |
| // | |
| #import "NextApplication.h" | |
| #include <xmlrpc-c/base.h> | |
| #include <xmlrpc-c/client.h> | |
| #include <xmlrpc-c/config.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright © 2017-2018 Atlas Engineer LLC. | |
| // Use of this file is governed by the license that can be found in LICENSE. | |
| // | |
| #import "Event.h" | |
| @implementation Event | |
| @synthesize consumed; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright © 2017-2018 Atlas Engineer LLC. | |
| // Use of this file is governed by the license that can be found in LICENSE. | |
| // | |
| #import "NextApplication.h" | |
| #include <xmlrpc-c/base.h> | |
| #include <xmlrpc-c/client.h> | |
| #include <xmlrpc-c/config.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Copyright © 2017-2018 Atlas Engineer LLC. | |
| // Use of this file is governed by the license that can be found in LICENSE. | |
| // | |
| #import "NextApplication.h" | |
| #include <xmlrpc-c/base.h> | |
| #include <xmlrpc-c/client.h> | |
| #include <xmlrpc-c/config.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defmethod print-object ((buffer buffer) stream) | |
| (format stream "~s" (name buffer))) | |
| (print-object buffy nil) | |
| "\"default\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; READ-FROM-MINIBUFFER - this is a non-blocking function that | |
| ;; invokes callback-function upon completion with the minibuffer input | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (defmethod read-from-minibuffer (callback-function (minibuffer | |
| minibuffer) &key ...) ...) | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; WITH RESULT MACRO - this allows for continuation passing style | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /////////////////////////////////////////////////////////////////////////// | |
| // Application Delegate | |
| /////////////////////////////////////////////////////////////////////////// | |
| // The Application delegate launches a server written in C | |
| // This server is listening for XML-RPC Calls | |
| /////////////////////////////////////////////////////////////////////////// | |
| - (void)applicationDidFinishLaunching:(NSNotification*)aNotification | |
| { | |
| Server *server = [[Server alloc] init]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WEB>source.config:*public-repository-directory* | |
| #P"/Users/jmercouris/Work/Atlas/Source/repsitory/public" | |
| WEB> source.config:*repository-directory* | |
| #P"/Users/jmercouris/Work/Atlas/Source/repository/" | |
| WEB> (merge-pathnames "folder" source.config:*repository-directory*) | |
| #P"/Users/jmercouris/Work/Atlas/Source/repository/folder" | |
| WEB> (merge-pathnames "folder" source.config:*public-repository-directory*) | |
| #P"/Users/jmercouris/Work/Atlas/Source/repsitory/folder" | |
| WEB> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| server { | |
| listen 80; | |
| server_name localhost; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2018/10/28 15:42:29 [error] 72829#100402: *1 connect() to 127.0.0.1:9001 failed (61: Connection refused) while connecting to upstream, client: 92.226.165.28, server: source.atlas.engineer, request: "GET /git/next/info/refs?service=git-upload-pack HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "source.atlas.engineer" | |
| 2018/10/28 15:42:29 [error] 72829#100402: *1 connect() to [::1]:9001 failed (61: Connection refused) while connecting to upstream, client: 92.226.165.28, server: source.atlas.engineer, request: "GET /git/next/info/refs?service=git-upload-pack HTTP/1.1", upstream: "fastcgi://[::1]:9001", host: "source.atlas.engineer" |