Changeset 111
- Timestamp:
- 05/28/05 13:22:42 (3 years ago)
- Files:
-
- trunk/docs/al.html (modified) (4 diffs)
- trunk/docs/build.html (modified) (8 diffs)
- trunk/docs/credit.html (modified) (2 diffs)
- trunk/docs/gl.html (modified) (3 diffs)
- trunk/docs/glfw.html (modified) (3 diffs)
- trunk/docs/glu.html (modified) (3 diffs)
- trunk/docs/index_a.html (modified) (5 diffs)
- trunk/docs/loading.html (modified) (2 diffs)
- trunk/docs/sdl.html (modified) (3 diffs)
- trunk/docs/sdlimg.html (modified) (3 diffs)
- trunk/docs/sdlmix.html (modified) (3 diffs)
- trunk/docs/sdlnet.html (modified) (3 diffs)
- trunk/docs/sdlttf.html (modified) (3 diffs)
- trunk/docs/selective.html (modified) (3 diffs)
- trunk/docs/util.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/al.html
r109 r111 2 2 <head><title>DerelictAL</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictAL</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictAL is a D binding to the <a href="http://www.openal.org">OpenAL</a> 6 library. Note that some functions have been omitted from the binding. This was 11 library. 12 <p> 13 <b>NOTE</b>: some functions have been omitted from the binding. This was 7 14 done because the functions were, in the C headers, either marked as unused or 8 15 flagged for removal in the future. Also, no bindings for the alut* functions are … … 12 19 on other platforms, then DerelictAL will eventually expose them on those platforms 13 20 as well. 14 21 </p> 15 22 <h3>Using</h3> 16 23 <ol> … … 69 76 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 70 77 to it is configured in buildconfig.bat in your toplevel Derelict directory 71 (henceforth known as < derelict_dir >). See the documentation about78 (henceforth known as [derelict_dir]). See the documentation about 72 79 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 73 80 setting up Build and configuring Derelict's Build scripts.</li> 74 <li>from a command prompt, cd to < derelict_dir >\DerelictAL</li>81 <li>from a command prompt, cd to [derelict_dir]\DerelictAL</li> 75 82 <li>type <tt>buildme.bat</tt></li> 76 <li>when the build completes, your command prompt will be back in < derelict_dir >,77 and the file derelictAL.lib will be located in < derelict_dir >\lib.</li>83 <li>when the build completes, your command prompt will be back in [derelict_dir], 84 and the file derelictAL.lib will be located in [derelict_dir]\lib.</li> 78 85 </ol> 79 86 <p> … … 82 89 <p><ol> 83 90 <li>ensure that both dmd and gcc are on your path</li> 84 <li>from a command prompt, cd to < derelict_dir >/DerelictAL</li>91 <li>from a command prompt, cd to [derelict_dir]/DerelictAL</li> 85 92 <li>type 'make' or 'make all' to build derelictAL.a</li> 86 93 <li>optionally type 'make clean' to delete all object files OR trunk/docs/build.html
r109 r111 2 2 <head><title>Derek Parnell's Build Utility</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">Derek Parnell's Build Utility</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 The Build utility, created and maintained by Derek Parnell, is an incredibly … … 13 18 Build entirely eliminates the need for Makefiles. If you have ever maintained 14 19 project Makefiles for multiple platforms, you will appreciate what that means. 15 The big thing for me, as maintainer of Derelict, is that it means a huge savings20 The big thing for me, as a maintainer of Derelict, is that it means a huge savings 16 21 in time. As such, Makefiles are no longer maintained as part of the Derelict 17 22 project. Derelict now requires the use of the Build utility if you want to build … … 21 26 </p> 22 27 <p> 23 <b>NOTE:</b> Derelict still uses Makefiles on Linux. This will change once 24 shellscripts have been created and tested.28 <b>NOTE:</b> Derelict still uses Makefiles on Linux. This will change once Linux 29 build scripts have been created and tested. 25 30 </p> 26 31 … … 40 45 so that the build scripts on each platform need not be changed every time a new 41 46 command line option is added to the project - each platform shares the same 42 Build Response File (excepting any platform-specific options). 47 Build Response File (excepting any platform-specific options, and options that 48 are common across release and debug builds). 43 49 <p> 44 50 Building Derelict with the Build utility is as simple as this: … … 51 57 That's it. Every Derelict package you have in that directory will be built. Once 52 58 complete, the resulting library files will be found in the <tt>lib</tt> directory 53 ( < derelict_dir >>/lib). You may then leave them there or copy them elsewhere59 ([derelict_dir]/lib). You may then leave them there or copy them elsewhere 54 60 as you wish. If you would ever like to delete all of the libraries, execute the 55 61 <tt>cleanlib</tt> script in the top-level Derelict directory. … … 58 64 <h3>Building Individual Derelict Packages</h3> 59 65 Each Derelict package has its own <tt>buildme</tt> script in the package 60 directory (i.e. < derelict_dir >\< package_name >\buildme.bat on Windows).66 directory (i.e. [derelict_dir]\[package_name]\buildme.bat on Windows). 61 67 If you have multiple packages, you can build an individual package like this: 62 68 <p><ol> 63 <li>CD to the package's directory ( < derelict_dir >/< package_name >).</li>69 <li>CD to the package's directory ([derelict_dir]/[package_name]).</li> 64 70 <li>type <tt>buildme</tt> on windows, or <tt>./buildme</tt> on Linux.</li> 65 71 </ol> 66 72 </p><p> 67 73 Once complete, the resulting library file will be found in the <tt>lib</tt> 68 directory ( < derelict_dir >>/lib). <b>IMPORTANT:</b> Also, when the build74 directory ([derelict_dir]/lib). <b>IMPORTANT:</b> Also, when the build 69 75 completes, the command prompt will be located in the top-level Derelict directory 70 76 rather than the package directory. Though that is something most people won't … … 83 89 </p><p> 84 90 <ul> 85 <li><b>BUILD_CMD</b>: This is the command that runs Build utility executable. If91 <li><b>BUILD_CMD</b>: This is the command that runs the Build utility executable. If 86 92 the path to Build is on your system path and you have renamed (or created an alias 87 93 to) the downloaded executable as <tt>build</tt>, you need not change this. If it … … 105 111 options listed here <b>are required</b> for the build to complete successfully, 106 112 with the exception of the <tt>-cleanup</tt> argument (which you may safely remove 107 if you wish to keep the compiled object file drather than deleting them).</li>113 if you wish to keep the compiled object files rather than deleting them).</li> 108 114 </ul> 109 115 </p><p> trunk/docs/credit.html
r110 r111 1 1 <html="en"> 2 <head><title>Cr edits</title></head>2 <head><title>Crontributors</title></head> 3 3 <body> 4 4 5 <hr> 6 <hr> 7 <h2 align="center">Contributors</h2> 8 <hr> 9 <hr> 5 10 <h3>Credit Where Credit is Due</h3> 6 11 When I first started Derelict, I did it because it was something I needed. I 7 12 decided to make it available to the D community at large in case other D 8 programmers would need it. I never really expected that anyone would. Thus, it9 was surprising to learn that not only were people using it, but they were willing 10 to contribute to it!13 programmers found a need for it also. I never really expected that anyone would. 14 Thus, it was surprising to learn that not only were people using it, but they 15 were willing to contribute to it! 11 16 <p> 12 17 Contributions have come in various forms: bug reports, bug fixes, new ports, 13 and advice. For the first year of Derelict's exist ance, I did not maintain a18 and advice. For the first year of Derelict's existence, I did not maintain a 14 19 list of contributors. But, most everyone is on record in the forums (or my email 15 20 box). Names in parentheses are the handles on either the Derelict forums or the 16 D newsgroups . If I missed anyone, forgive me!21 D newsgroups (D NGs). If I missed anyone, forgive me! 17 22 </p><p> 18 23 <b>Maintainers</b> - the people who can commit to SVN and maintain the codebase</br> 19 24 <ul> 20 <li>Michael Parker (Aldacron) - founder and primary Windows maintainer</li>25 <li>Michael Parker (Aldacron) - project founder and primary Windows maintainer</li> 21 26 <li>John Reimer (JJR) - primary Linux maintainer</li> 22 27 </ul> … … 53 58 </ul> 54 59 </p><p> 55 <b>Misc.</b> - people who have in some way, or another, influenced the development56 of Derelict in aprofound way.<br>60 <b>Misc.</b> - people who have influenced the development of Derelict in a 61 profound way.<br> 57 62 <li>Walter Bright - the father of D and the DMD compiler. Without him, Derelict 58 63 has no reason to live!</li> trunk/docs/gl.html
r109 r111 2 2 <head><title>DerelictGL</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictGL</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictGL is a D binding to the <a href="http://www.opengl.org">OpenGL</a> … … 60 65 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 61 66 to it is configured in buildconfig.bat in your toplevel Derelict directory 62 (henceforth known as < derelict_dir >). See the documentation about67 (henceforth known as [derelict_dir]). See the documentation about 63 68 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 64 69 setting up Build and configuring Derelict's Build scripts.</li> 65 <li>from a command prompt, cd to < derelict_dir >\DerelictGL</li>70 <li>from a command prompt, cd to [derelict_dir]\DerelictGL</li> 66 71 <li>type <tt>buildme.bat</tt></li> 67 <li>when the build completes, your command prompt will be back in < derelict_dir >,68 and the file derelictGL.lib will be located in < derelict_dir >\lib.</li>72 <li>when the build completes, your command prompt will be back in [derelict_dir], 73 and the file derelictGL.lib will be located in [derelict_dir]\lib.</li> 69 74 </ol> 70 75 <p> … … 73 78 <p><ol> 74 79 <li>ensure that both dmd and gcc are on your path</li> 75 <li>from a command prompt, cd to < derelict_dir >/DerelictGL</li>80 <li>from a command prompt, cd to [derelict_dir]/DerelictGL</li> 76 81 <li>type 'make' or 'make all' to build derelictGL.a</li> 77 82 <li>optionally type 'make clean' to delete all object files OR trunk/docs/glfw.html
r109 r111 2 2 <head><title>DerelictGLFW</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictGLFW</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictGLFW is a D binding to the <a href="http://glfw.sourceforge.net">GLFW</a> … … 67 72 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 68 73 to it is configured in buildconfig.bat in your toplevel Derelict directory 69 (henceforth known as < derelict_dir >). See the documentation about74 (henceforth known as [derelict_dir]). See the documentation about 70 75 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 71 76 setting up Build and configuring Derelict's Build scripts.</li> 72 <li>from a command prompt, cd to < derelict_dir >\DerelictGLFW</li>77 <li>from a command prompt, cd to [derelict_dir]\DerelictGLFW</li> 73 78 <li>type <tt>buildme.bat</tt></li> 74 <li>when the build completes, your command prompt will be back in < derelict_dir >,75 and the file derelictGLFW.lib will be located in < derelict_dir >\lib.</li>79 <li>when the build completes, your command prompt will be back in [derelict_dir], 80 and the file derelictGLFW.lib will be located in [derelict_dir]\lib.</li> 76 81 </ol> 77 82 <p> … … 80 85 <p><ol> 81 86 <li>ensure that both dmd and gcc are on your path</li> 82 <li>from a command prompt, cd to < derelict_dir >/DerelictGLFW</li>87 <li>from a command prompt, cd to [derelict_dir]/DerelictGLFW</li> 83 88 <li>type 'make' or 'make all' to build derelictGLFW.a</li> 84 89 <li>optionally type 'make clean' to delete all object files OR trunk/docs/glu.html
r109 r111 2 2 <head><title>DerelictGLU</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictGLU</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictGLU is a D binding to the … … 79 84 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 80 85 to it is configured in buildconfig.bat in your toplevel Derelict directory 81 (henceforth known as < derelict_dir >). See the documentation about86 (henceforth known as [derelict_dir]). See the documentation about 82 87 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 83 88 setting up Build and configuring Derelict's Build scripts.</li> 84 <li>from a command prompt, cd to < derelict_dir >\DerelictGLU</li>89 <li>from a command prompt, cd to [derelict_dir]\DerelictGLU</li> 85 90 <li>type <tt>buildme.bat</tt></li> 86 <li>when the build completes, your command prompt will be back in < derelict_dir >,87 and the file derelictGLU.lib will be located in < derelict_dir >\lib.</li>91 <li>when the build completes, your command prompt will be back in [derelict_dir], 92 and the file derelictGLU.lib will be located in [derelict_dir]\lib.</li> 88 93 </ol> 89 94 <p> … … 92 97 <p><ol> 93 98 <li>ensure that both dmd and gcc are on your path</li> 94 <li>from a command prompt, cd to < derelict_dir >/DerelictGLU</li>99 <li>from a command prompt, cd to [derelict_dir]/DerelictGLU</li> 95 100 <li>type 'make' or 'make all' to build derelictGLU.a</li> 96 101 <li>optionally type 'make clean' to delete all object files OR trunk/docs/index_a.html
r109 r111 1 1 <html lang="en"> 2 2 <head><title>Derelict Documentation</title></head> 3 4 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">Front Page</h2> 7 <hr> 8 <hr> 5 9 <h3>Introduction</h3> 6 10 Derelict is a collection of D bindings to C shared (dynamic) libraries which are … … 24 28 bindings normally require the application to link with a static import library. 25 29 The import library makes the symbols exported from the shared library available 26 to the application and causes the shared library to be loaded automatically 27 by the operating system during application startup. This is a standard practice 28 in the C/C++ world, however there are a couple of drawbacks with doing so. 29 </p><p> 30 to the application. It also causes the shared library to be loaded automatically 31 by the operating system during application startup. It is common in the C++ world 32 to statically link with import libraries during compilation, however there are 33 some drawbacks to doing so. 34 </p> 35 <h4>Static Import Issues</h4> 30 36 One issue with static import libraries is that of the object format used. If the 31 37 D linker on your platform does not support a particular object format for a library … … 40 46 startup. If the shared library is missing or corrupt, then the application will 41 47 fail to load and the operating system will display an error message to the user. 42 This could also occur if an version of the shared library which is older than 43 the version of the static import library is available on the user's system. The 44 error message displayed may not be very user friendly and can cause the developer 45 of the application to appear unprofessional. 46 </p><p> 48 This could also occur if the only version of a shared library available on the 49 user's system is older than the version of the static import library. The 50 error message displayed may not be very user friendly. Some users who do not 51 understand the concepts behind the error message could become frustrated with 52 you, the developer, and may even view you as unprofessional. 53 </p> 54 <h4>Derelict's Solution</h4> 47 55 Derelict solves both potential problems by eliminating the requirement of a 48 56 static import library. Instead, Derelict handles the loading of shared libraries … … 57 65 With Derelict, shared libraries can be loaded and unloaded at will. When you 58 66 consider that each shared library, when loaded, consumes system resources, then 59 ityou might find it beneficial to only load the library when it is needed and67 you might find it beneficial to only load the library when it is needed and 60 68 not before. Some applications could also benefit from a hot-swap system. For 61 69 example, a game might have a generic rendering interface with implementations 62 for Opengl and Direct3D on Windows, and allow the user to switch between the63 two at runtime. Derelict helps to simplify this process (DirectX bindings will70 for both Opengl and Direct3D on Windows, and allow the user to switch between the 71 two at runtime. Derelict helps to simplify this process (DirectX bindings might 64 72 be included in a future Derelict release). 65 </p><p> 73 </p> 74 <h4>Special Features</h4> 66 75 Derelict goes one step further and allows selective loading of shared library 67 symbols. This allows you to , for example, allowolder versions of a shared76 symbols. This allows you to do things like allowing older versions of a shared 68 77 library to be loaded. For example, if a particular Derelict package is setup to 69 78 load version 2 of a shared library, but your application does not use any exported … … 76 85 selective symbol exceptions</a>) are provided through the DerelictUtil package. 77 86 As a side effect, all Derelict packages have an implicit dependency upon DerelictUtil. 78 This means that when compiling any individual packages, DerelictUtil must be79 available on the import path, and when linking, DerelictUtil must be linked into 80 the application. See the DerelictUtil documentation for more details.81 < /p><p>87 This means that when compiling any individual packages, DerelictUtil <b>must</b> 88 be available on the import path, and when linking, DerelictUtil <b>must be</b> 89 linked into the application. See the DerelictUtil documentation for more details. 90 <h4>The Docs</h4> 82 91 The documents linked in the first section below give a general overview of 83 92 Derelict, explaining functionality common to all Derelict packages. The 84 documents linked in the second sec ion give specific details on building and using93 documents linked in the second section give specific details on building and using 85 94 specific packages. 86 95 </p> trunk/docs/loading.html
r108 r111 2 2 <head><title>Loading/Unloading Shared Libraries</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">Loading/Unloading Shared Libraries</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 All Derelict packages interface to C shared libraries. No package in Derelict … … 54 59 package which has a currently loaded shared library will unload that library. The 55 60 *_Unload functions are provided as a convenience so that you may swap out libraries 56 at runtime. For example, may you have a renderer that uses OpenGL, and youwant57 to switch to using a Direct3D implementation . In this case, it is beneficial to58 unload the OpenGL shared library to free up resources.61 at runtime. For example, you might have a renderer that uses OpenGL and want 62 to switch to using a Direct3D implementation at runtime. In this case, it is 63 beneficial to unload the OpenGL shared library to free up resources. 59 64 60 65 <p><hr></p><p> trunk/docs/sdl.html
r109 r111 2 2 <head><title>DerelictSDL</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictSDL</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictSDL is a D binding to Sam Lantinga's <a href="http://www.libsdl.org">Simple … … 70 75 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 71 76 to it is configured in buildconfig.bat in your toplevel Derelict directory 72 (henceforth known as < derelict_dir >). See the documentation about77 (henceforth known as [derelict_dir]). See the documentation about 73 78 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 74 79 setting up Build and configuring Derelict's Build scripts.</li> 75 <li>from a command prompt, cd to < derelict_dir >\DerelictSDL</li>80 <li>from a command prompt, cd to [derelict_dir]\DerelictSDL</li> 76 81 <li>type <tt>buildme.bat</tt></li> 77 <li>when the build completes, your command prompt will be back in < derelict_dir >,78 and the file derelictSDL.lib will be located in < derelict_dir >\lib.</li>82 <li>when the build completes, your command prompt will be back in [derelict_dir], 83 and the file derelictSDL.lib will be located in [derelict_dir]\lib.</li> 79 84 </ol> 80 85 <p> … … 83 88 <p><ol> 84 89 <li>ensure that both dmd and gcc are on your path</li> 85 <li>from a command prompt, cd to < derelict_dir >/DerelictSDL</li>90 <li>from a command prompt, cd to [derelict_dir]/DerelictSDL</li> 86 91 <li>type 'make' or 'make all' to build derelictSDL.a</li> 87 92 <li>optionally type 'make clean' to delete all object files OR trunk/docs/sdlimg.html
r109 r111 2 2 <head><title>DerelictSDLImage</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictSDLImage</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictSDLImage is a D binding to Sam Lantinga's … … 58 63 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 59 64 to it is configured in buildconfig.bat in your toplevel Derelict directory 60 (henceforth known as < derelict_dir >). See the documentation about65 (henceforth known as [derelict_dir]). See the documentation about 61 66 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 62 67 setting up Build and configuring Derelict's Build scripts.</li> 63 <li>from a command prompt, cd to < derelict_dir >\DerelictSDLImage</li>68 <li>from a command prompt, cd to [derelict_dir]\DerelictSDLImage</li> 64 69 <li>type <tt>buildme.bat</tt></li> 65 <li>when the build completes, your command prompt will be back in < derelict_dir >,66 and the file derelictSDLImage.lib will be located in < derelict_dir >\lib.</li>70 <li>when the build completes, your command prompt will be back in [derelict_dir], 71 and the file derelictSDLImage.lib will be located in [derelict_dir]\lib.</li> 67 72 </ol> 68 73 <p> … … 71 76 <p><ol> 72 77 <li>ensure that both dmd and gcc are on your path</li> 73 <li>from a command prompt, cd to < derelict_dir >/DerelictSDLImage</li>78 <li>from a command prompt, cd to [derelict_dir]/DerelictSDLImage</li> 74 79 <li>type 'make' or 'make all' to build derelictSDLImage.a</li> 75 80 <li>optionally type 'make clean' to delete all object files OR trunk/docs/sdlmix.html
r109 r111 2 2 <head><title>DerelictSDLImage</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictSDLMixer</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictSDLMixer is a D binding to Sam Lantinga's … … 62 67 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 63 68 to it is configured in buildconfig.bat in your toplevel Derelict directory 64 (henceforth known as < derelict_dir >). See the documentation about69 (henceforth known as [derelict_dir]). See the documentation about 65 70 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 66 71 setting up Build and configuring Derelict's Build scripts.</li> 67 <li>from a command prompt, cd to < derelict_dir >\DerelictSDLMixer</li>72 <li>from a command prompt, cd to [derelict_dir]\DerelictSDLMixer</li> 68 73 <li>type <tt>buildme.bat</tt></li> 69 <li>when the build completes, your command prompt will be back in < derelict_dir >,70 and the file derelictSDLMixer.lib will be located in < derelict_dir >\lib.</li>74 <li>when the build completes, your command prompt will be back in [derelict_dir], 75 and the file derelictSDLMixer.lib will be located in [derelict_dir]\lib.</li> 71 76 </ol> 72 77 <p> … … 75 80 <p><ol> 76 81 <li>ensure that both dmd and gcc are on your path</li> 77 <li>from a command prompt, cd to < derelict_dir >/DerelictSDLMixer</li>82 <li>from a command prompt, cd to [derelict_dir]/DerelictSDLMixer</li> 78 83 <li>type 'make' or 'make all' to build derelictSDLMixer.a</li> 79 84 <li>optionally type 'make clean' to delete all object files OR trunk/docs/sdlnet.html
r109 r111 2 2 <head><title>DerelictSDLImage</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictSDLNet</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictSDLNet is a D binding to Sam Lantinga's … … 58 63 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 59 64 to it is configured in buildconfig.bat in your toplevel Derelict directory 60 (henceforth known as < derelict_dir >). See the documentation about65 (henceforth known as [derelict_dir]). See the documentation about 61 66 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 62 67 setting up Build and configuring Derelict's Build scripts.</li> 63 <li>from a command prompt, cd to < derelict_dir >\DerelictSDLNet</li>68 <li>from a command prompt, cd to [derelict_dir]\DerelictSDLNet</li> 64 69 <li>type <tt>buildme.bat</tt></li> 65 <li>when the build completes, your command prompt will be back in < derelict_dir >,66 and the file derelictSDLNet.lib will be located in < derelict_dir >\lib.</li>70 <li>when the build completes, your command prompt will be back in [derelict_dir], 71 and the file derelictSDLNet.lib will be located in [derelict_dir]\lib.</li> 67 72 </ol> 68 73 <p> … … 71 76 <p><ol> 72 77 <li>ensure that both dmd and gcc are on your path</li> 73 <li>from a command prompt, cd to < derelict_dir >/DerelictSDLNet</li>78 <li>from a command prompt, cd to [derelict_dir]/DerelictSDLNet</li> 74 79 <li>type 'make' or 'make all' to build derelictSDLNet.a</li> 75 80 <li>optionally type 'make clean' to delete all object files OR trunk/docs/sdlttf.html
r109 r111 2 2 <head><title>DerelictSDLImage</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">DerelictSDLttf</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 DerelictSDLttf is a D binding to Sam Lantinga's … … 61 66 <li> ensure that Derek Parnell's Build utility is on your path OR that the path 62 67 to it is configured in buildconfig.bat in your toplevel Derelict directory 63 (henceforth known as < derelict_dir >). See the documentation about68 (henceforth known as [derelict_dir]). See the documentation about 64 69 <a href="build.html">Derek Parnell's Build Utility</a> for more information on 65 70 setting up Build and configuring Derelict's Build scripts.</li> 66 <li>from a command prompt, cd to < derelict_dir >\DerelictSDLttf</li>71 <li>from a command prompt, cd to [derelict_dir]\DerelictSDLttf</li> 67 72 <li>type <tt>buildme.bat</tt></li> 68 <li>when the build completes, your command prompt will be back in < derelict_dir >,69 and the file derelictSDLttf.lib will be located in < derelict_dir >\lib.</li>73 <li>when the build completes, your command prompt will be back in [derelict_dir], 74 and the file derelictSDLttf.lib will be located in [derelict_dir]\lib.</li> 70 75 </ol> 71 76 <p> … … 74 79 <p><ol> 75 80 <li>ensure that both dmd and gcc are on your path</li> 76 <li>from a command prompt, cd to < derelict_dir >/DerelictSDLttf</li>81 <li>from a command prompt, cd to [derelict_dir]/DerelictSDLttf</li> 77 82 <li>type 'make' or 'make all' to build derelictSDLttf.a</li> 78 83 <li>optionally type 'make clean' to delete all object files OR trunk/docs/selective.html
r108 r111 2 2 <head><title>Selective Symbol Exceptions</title></head> 3 3 <body> 4 <hr> 5 <hr> 6 <h2 align="center">Selective Symbol Exceptions</h2> 7 <hr> 8 <hr> 4 9 <h3>Introduction</h3> 5 10 There may be times when you wish to provide backwards compatibility with an … … 28 33 complete example of using this feature to load a version of GLFW that does not 29 34 have the function <tt>glfwSetTime</tt> compiled in (a known issue with a precompiled 30 GLFW shared library fromthe GLFW homepage).35 GLFW 2.4.2 shared library that was available on the GLFW homepage). 31 36 </p> 32 37 33 38 <p><hr><pre> 34 import derelict.util.exception; // MissingProcCallback interface declared here39 import derelict.util.exception; // MissingProcCallback interface declared here 35 40 import derelict.glfw.glfw; 36 41 … … 39 44 void myMissingProcCallback(char[] libName, char[] procName) 40 45 { 41 // some glfw shared libs are missing glfwSetTime42 if(procName.cmp("glfwSetTime") == 0) 43 return true; // continue loading46 47 if(procName.cmp("glfwSetTime") == 0) // some glfw shared libs are missing glfwSetTime 48 return true; // continue loading 44 49 45 return false; // throw an exception for any other missing functions50 return false; // throw an exception for any other missing functions 46 51 } 47 52 trunk/docs/util.html
r108 r111 2 2 <head><title>DerelictUtil</title></head> 3 3 <body> 4 4 <hr> 5 <hr> 6 <h2 align="center">DerelictUtil</h2> 7 <hr> 8 <hr> 5 9 <h3>Introduction</h3> 6 10 DerelictUtil currently provides two modules: <tt>derelict.util.exception</tt> and
