Renamed some files, cleaned up the lack of headers on source files.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 28 Mar 2008 06:56:37 +0000
changeset 108 0b8bcaef83e7
parent 107 dbffd9a2b4a8
child 109 9fae2fac7b94
Renamed some files, cleaned up the lack of headers on source files.
LICENSE
LICENSE.txt
TODO
TODO.txt
mojopatch.c
platform.h
platform_unix.c
platform_win32.c
ui.c
ui.h
ui_carbon.c
ui_stdio.c
--- a/LICENSE	Mon Oct 30 00:01:43 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-
-   Copyright (c) 2003 Ryan C. Gordon and others.
-
-   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.
-
-       Ryan C. Gordon <icculus@icculus.org>
-
-
-(Please note that xdelta is under the GPL license. We don't link directly
-to it, but rather spawn a seperate binary, so it isn't "viral" in this case.
-Please view xdelta's license in the file: xdelta-1.1.3/COPYING ...)
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE.txt	Fri Mar 28 06:56:37 2008 +0000
@@ -0,0 +1,28 @@
+
+   Copyright (c) 2003 Ryan C. Gordon and others.
+
+   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.
+
+       Ryan C. Gordon <icculus@icculus.org>
+
+
+(Please note that xdelta is under the GPL license. We don't link directly
+to it, but rather spawn a seperate binary, so it isn't "viral" in this case.
+Please view xdelta's license in the file: xdelta-1.1.3/COPYING ...)
+
--- a/TODO	Mon Oct 30 00:01:43 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-
-- md5sum of patchfile itself?
-- Move confirm() to UI abstraction.
-- Integrate xdelta into single binary?
-- Lots of tests for dir/notdir or file/notfile...no symlinks support, etc.
-- Standardize datatypes.
-- Make everything fit in 80 columns...
-- Split mojopatch.c into multiple files.
-- Get other platforms besides Mac updated and building again.
-- Look for FIXMEs...
-- "_fatal" isn't really appropriate anymore, since it might not be fatal.
-- We md5sum to compare files. A byte-by-byte compare that halts as soon as
-  there's a difference would be much faster when creating the initial patch
-  files.
-- Do a binary package for MacOS so people don't have to build from source.
-  (But fix some other nasties first).
-- Windows port.
-- Linux port...gtk, qt? Besides some platform_unix things, the thing should
-  mostly work with the stdio UI driver...
-- XCode project for MacOS
-- MacOS Classic? :)
-- Documentation! Anything at all!
-- Write a GUI for generating patches.
-
-/* end of TODO ... */
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TODO.txt	Fri Mar 28 06:56:37 2008 +0000
@@ -0,0 +1,26 @@
+
+- md5sum of patchfile itself?
+- Move confirm() to UI abstraction.
+- Integrate xdelta into single binary?
+- Lots of tests for dir/notdir or file/notfile...no symlinks support, etc.
+- Standardize datatypes.
+- Make everything fit in 80 columns...
+- Split mojopatch.c into multiple files.
+- Get other platforms besides Mac updated and building again.
+- Look for FIXMEs...
+- "_fatal" isn't really appropriate anymore, since it might not be fatal.
+- We md5sum to compare files. A byte-by-byte compare that halts as soon as
+  there's a difference would be much faster when creating the initial patch
+  files.
+- Do a binary package for MacOS so people don't have to build from source.
+  (But fix some other nasties first).
+- Windows port.
+- Linux port...gtk, qt? Besides some platform_unix things, the thing should
+  mostly work with the stdio UI driver...
+- XCode project for MacOS
+- MacOS Classic? :)
+- Documentation! Anything at all!
+- Write a GUI for generating patches.
+
+/* end of TODO ... */
+
--- a/mojopatch.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/mojopatch.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,11 +1,14 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
+
 /*
  *----------------------------------------------------------------------------
  *
- * mojopatch
- * Copyright (C) 2003  Ryan C. Gordon.
- *
- *----------------------------------------------------------------------------
- *
  * (Insert documentation here.)
  *
  *----------------------------------------------------------------------------
@@ -17,7 +20,7 @@
  *   catastrophic bugs. Its method is brute-force, at best. Use at your
  *   own risk. Don't eat yellow snow.
  *
- *  Please see the file LICENSE in the root of the source tree.
+ *  Please see the file LICENSE.txt in the root of the source tree.
  *
  *   Send patches, improvements, suggestions, etc to Ryan:
  *    icculus@icculus.org.
--- a/platform.h	Mon Oct 30 00:01:43 2006 +0000
+++ b/platform.h	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #ifndef _INCL_PLATFORM_H_
 #define _INCL_PLATFORM_H_
--- a/platform_unix.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/platform_unix.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #include <stdio.h>
 #include <string.h>
--- a/platform_win32.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/platform_win32.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #include <windows.h>
 #include <io.h>
--- a/ui.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/ui.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #include <stdio.h>
 #include <string.h>
--- a/ui.h	Mon Oct 30 00:01:43 2006 +0000
+++ b/ui.h	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #ifndef _INCL_UI_H_
 #define _INCL_UI_H_
--- a/ui_carbon.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/ui_carbon.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #if !PLATFORM_MACOSX
 int ui_init_carbon(void) { return(0); } /* not implemented if not MacOS. */
--- a/ui_stdio.c	Mon Oct 30 00:01:43 2006 +0000
+++ b/ui_stdio.c	Fri Mar 28 06:56:37 2008 +0000
@@ -1,3 +1,10 @@
+/**
+ * MojoPatch; a tool for updating data in the field.
+ *
+ * Please see the file LICENSE.txt in the source's root directory.
+ *
+ *  This file written by Ryan C. Gordon.
+ */
 
 #include <stdio.h>
 #include <stdlib.h>