plib-cvs Mailing List for PLIB (Page 11)
Brought to you by:
sjbaker
You can subscribe to this list here.
2002 |
Jan
(25) |
Feb
(10) |
Mar
(60) |
Apr
(49) |
May
(54) |
Jun
(94) |
Jul
(82) |
Aug
(251) |
Sep
(366) |
Oct
(17) |
Nov
(20) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(12) |
Feb
(8) |
Mar
(2) |
Apr
(4) |
May
(5) |
Jun
(8) |
Jul
(23) |
Aug
(8) |
Sep
(7) |
Oct
(5) |
Nov
(20) |
Dec
(20) |
2004 |
Jan
(19) |
Feb
(70) |
Mar
(108) |
Apr
(24) |
May
(6) |
Jun
(5) |
Jul
|
Aug
(8) |
Sep
(18) |
Oct
(27) |
Nov
|
Dec
(13) |
2005 |
Jan
(19) |
Feb
(13) |
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(4) |
2006 |
Jan
(9) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve B. <sj...@us...> - 2004-03-22 19:55:10
|
Update of /cvsroot/plib/plib/src/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5846/plib/src/net Modified Files: netChannel.cxx netSocket.cxx netSocket.h Log Message: Fixed some odd network library issues. Index: netChannel.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netChannel.cxx,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- netChannel.cxx 21 Mar 2004 17:41:07 -0000 1.8 +++ netChannel.cxx 22 Mar 2004 19:44:50 -0000 1.9 @@ -48,8 +48,9 @@ close(); netChannel* prev = NULL ; + for ( netChannel* ch = channels; ch != NULL; - ch = ch -> next_channel ) + ch = ch -> next_channel ) { if (ch == this) { @@ -275,3 +276,4 @@ { while ( poll (timeout) ) ; } + Index: netSocket.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.cxx,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- netSocket.cxx 21 Mar 2004 17:41:07 -0000 1.27 +++ netSocket.cxx 22 Mar 2004 19:44:50 -0000 1.28 @@ -64,7 +64,7 @@ void netAddress::set ( const char* host, int port ) { - memset(this, 0, sizeof(netAddress)); + memset(this, 0, sizeof(netAddress)); sin_family = AF_INET ; sin_port = htons (port); @@ -74,12 +74,11 @@ ** to do the work; the names "" and "<broadcast>" are special. */ - if (host[0] == '\0') { - sin_addr = INADDR_ANY; - } - if (host[0] == '<' && strcmp(host, "<broadcast>") == 0) { - sin_addr = INADDR_BROADCAST; - } + if (host[0] == '\0') + sin_addr = INADDR_ANY; + + if (host[0] == '<' && strcmp(host, "<broadcast>") == 0) + sin_addr = INADDR_BROADCAST; else { #if 0 @@ -144,16 +143,20 @@ memset(buf, 0, sizeof(buf)); gethostname(buf, sizeof(buf)-1); const hostent *hp = gethostbyname(buf); - if (hp && *hp->h_addr_list) + + if (hp && *hp->h_addr_list) { - in_addr addr = *((in_addr*)*hp->h_addr_list); + in_addr addr = *((in_addr*)*hp->h_addr_list); const char* host = inet_ntoa(addr); + if ( host ) return host ; - } + } + return "127.0.0.1" ; } + bool netAddress::getBroadcast () const { return sin_addr == INADDR_BROADCAST; } Index: netSocket.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- netSocket.h 21 Mar 2004 17:41:07 -0000 1.18 +++ netSocket.h 22 Mar 2004 19:44:50 -0000 1.19 @@ -89,9 +89,9 @@ int listen ( int backlog ) ; int accept ( netAddress* addr ) ; int connect ( const char* host, int port ) ; - int send ( const void * buffer, int size, int flags = 0 ) ; + int send ( const void * buffer, int size, int flags = 0 ) ; int sendto ( const void * buffer, int size, int flags, const netAddress* to ) ; - int recv ( void * buffer, int size, int flags = 0 ) ; + int recv ( void * buffer, int size, int flags = 0 ) ; int recvfrom ( void * buffer, int size, int flags, netAddress* from ) ; void setBlocking ( bool blocking ) ; @@ -111,3 +111,4 @@ #endif // NET_SOCKET_H + |
From: Steve B. <sj...@us...> - 2004-03-21 19:59:58
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9116/plib/src/puAux Modified Files: Makefile.am Log Message: Oops! Forgot to add puAuxLocal.h into the distro list in the Makefile.am Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 28 Feb 2004 00:54:03 -0000 1.1 +++ Makefile.am 21 Mar 2004 19:49:48 -0000 1.2 @@ -2,7 +2,7 @@ lib_LIBRARIES = libplibpuaux.a -include_HEADERS = puAux.h +include_HEADERS = puAux.h puAuxLocal.h libplibpuaux_a_SOURCES = puAux.cxx \ puAuxBiSlider.cxx \ |
From: Steve B. <sj...@us...> - 2004-03-21 19:39:39
|
Update of /cvsroot/plib/plib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5362/plib Modified Files: ChangeLog configure.in Log Message: Released 1.8.1 Index: ChangeLog =================================================================== RCS file: /cvsroot/plib/plib/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ChangeLog 20 Mar 2004 04:22:04 -0000 1.4 +++ ChangeLog 21 Mar 2004 19:29:24 -0000 1.5 @@ -2,6 +2,15 @@ PLIB Change Log. ================ +PLIB v1.8.1 (March 21th 2004) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + * puAux library wouldn't build without GLUT being + installed...that's fixed. + + * the NET library examples needed some love and + attention. They are much more useful now! + PLIB v1.8.0 (March 19th 2004) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- configure.in 20 Mar 2004 04:22:04 -0000 1.57 +++ configure.in 21 Mar 2004 19:29:25 -0000 1.58 @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/js/js.h) -AM_INIT_AUTOMAKE(plib, 1.8.0) +AM_INIT_AUTOMAKE(plib, 1.8.1) # This AC_PREFIX_DEFAULT will place the library files # into /usr/lib - but will put the include files into |
From: Steve B. <sj...@us...> - 2004-03-21 19:39:39
|
Update of /cvsroot/plib/plib/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5362/plib/doc Modified Files: download.html index.html requirements.html Log Message: Released 1.8.1 Index: download.html =================================================================== RCS file: /cvsroot/plib/plib/doc/download.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- download.html 20 Mar 2004 06:36:00 -0000 1.19 +++ download.html 21 Mar 2004 19:29:25 -0000 1.20 @@ -73,12 +73,12 @@ <H1>Downloading and Installing PLIB.</H1> <H2>The Short Answer (for Linux and CygWin users):</H2> Make sure you have OpenGL installed.<br> -Download this: <A HREF="dist/plib-1.8.0.tar.gz"> PLIB - Version 1.8.0</A> +Download this: <A HREF="dist/plib-1.8.1.tar.gz"> PLIB - Version 1.8.1</A> <br> Run this (as 'root'): <pre> - tar xzf plib-1.8.0.tar.gz - cd plib-1.8.0 + tar xzf plib-1.8.1.tar.gz + cd plib-1.8.1 ./configure ; make install </pre> Tadaaaa! @@ -94,7 +94,7 @@ in PLIB. <p> <ul> -<li><A HREF="dist/plib-1.8.0.tar.gz"> PLIB - Version 1.8.0 -- Current Stable</A> +<li><A HREF="dist/plib-1.8.1.tar.gz"> PLIB - Version 1.8.1 -- Current Stable</A> <li><A HREF="dist/"> PLIB - Other versions</A> <li><A HREF="http://sf.net/project/?group_id=382"> PLIB - Latest development version (from CVS)</A> <li><A HREF="dist/current.tgz"> PLIB - Latest development version (tarball)</A> @@ -115,8 +115,8 @@ <A NAME="EXAMPLES"></A> <ul> -<li><A HREF="dist/plib_examples-1.8.0.tar.gz"> - Example programs and Documentation for PLIB-1.8.0 or later.</A> +<li><A HREF="dist/plib_examples-1.8.1.tar.gz"> + Example programs and Documentation for PLIB-1.8.1 or later.</A> <li><A HREF="dist/">PLIB_examples - Older versions</A> </ul> Un-tar this into a separate directory from PLIB itself - or else Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/index.html,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- index.html 20 Mar 2004 06:36:00 -0000 1.32 +++ index.html 21 Mar 2004 19:29:25 -0000 1.33 @@ -88,7 +88,7 @@ is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can. <p> -The latest stable version of PLIB is 1.8.0 - go to the +The latest stable version of PLIB is 1.8.1 - go to the <A HREF="download.html">DOWNLOAD</A> section to get a copy - go to the <A HREF="whats_inside.html">WHAT'S INSIDE</A> section for documentation and a more detailed description of Index: requirements.html =================================================================== RCS file: /cvsroot/plib/plib/doc/requirements.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- requirements.html 20 Mar 2004 06:36:00 -0000 1.12 +++ requirements.html 21 Mar 2004 19:29:25 -0000 1.13 @@ -98,7 +98,7 @@ had a copy of OpenGL delivered with your operating system. </ul> -<li>Windowing: From version 1.8.0, PLIB itself is completely independent of +<li>Windowing: From version 1.8.1, PLIB itself is completely independent of any other windowing library. However, some of the demo and example programs use <A HREF="http://freeglut.sf.net">freeglut</A> (or at a pinch: |
From: Steve B. <sj...@us...> - 2004-03-21 19:39:39
|
Update of /cvsroot/plib/plib/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5362/plib/examples Modified Files: configure.in Log Message: Released 1.8.1 Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/examples/configure.in,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- configure.in 20 Mar 2004 04:22:05 -0000 1.39 +++ configure.in 21 Mar 2004 19:29:25 -0000 1.40 @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/js/js_demo.cxx) -AM_INIT_AUTOMAKE(plib_examples, 1.8.0) +AM_INIT_AUTOMAKE(plib_examples, 1.8.1) dnl Checks for programs. |
From: Steve B. <sj...@us...> - 2004-03-21 19:15:10
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv582/plib/src/puAux Added Files: puAuxLocal.h Log Message: Added a wrapper to puAux for local files that don't want GLUT dependancies. --- NEW FILE: puAuxLocal.h --- #define PU_USE_NONE 1 #include "puAux.h" |
From: Steve B. <sj...@us...> - 2004-03-21 19:13:36
|
Update of /cvsroot/plib/plib/src/pui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32619/plib/src/pui Modified Files: Makefile.am pu.h puLocal.h Log Message: Removed dependency on GLUT from PUIAUX. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/src/pui/Makefile.am,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- Makefile.am 17 Feb 2004 01:43:21 -0000 1.21 +++ Makefile.am 21 Mar 2004 19:03:23 -0000 1.22 @@ -16,7 +16,7 @@ puSpinBox.cxx puScrollBar.cxx puInputBase.cxx AM_CPPFLAGS = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/fnt -AM_CPPFLAGS += -I$(top_srcdir)/src/util -DPU_USE_NONE +AM_CPPFLAGS += -I$(top_srcdir)/src/util endif Index: pu.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.h,v retrieving revision 1.145 retrieving revision 1.146 diff -u -d -r1.145 -r1.146 --- pu.h 28 Feb 2004 00:54:04 -0000 1.145 +++ pu.h 21 Mar 2004 19:03:23 -0000 1.146 @@ -1,341 +1,341 @@ -/* - PLIB - A Suite of Portable Game Libraries - Copyright (C) 1998,2002 Steve Baker - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of [...4091 lines suppressed...] + + puSelectBox ( int minx, int miny, int maxx, int maxy, + char **list ) ; +} ; @@ -2129,9 +2129,9 @@ #else # define PU_USE_GLUT #endif - -#endif - + +#endif + // Roll out the code and define puInit Index: puLocal.h =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLocal.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- puLocal.h 16 Feb 2004 13:49:03 -0000 1.13 +++ puLocal.h 21 Mar 2004 19:03:23 -0000 1.14 @@ -22,6 +22,7 @@ */ +#define PU_USE_NONE 1 #include "pu.h" |
From: Steve B. <sj...@us...> - 2004-03-21 19:13:36
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32619/plib/src/puAux Modified Files: puAux.cxx puAuxBiSlider.cxx puAuxBiSliderWithEnds.cxx puAuxComboBox.cxx puAuxCompass.cxx puAuxFileSelector.cxx puAuxLargeInput.cxx puAuxScrollBar.cxx puAuxSelectBox.cxx puAuxSliderWithInput.cxx puAuxSpinBox.cxx puAuxTriSlider.cxx puAuxVerticalMenu.cxx Log Message: Removed dependency on GLUT from PUIAUX. Index: puAux.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAux.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAux.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAux.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -23,7 +23,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" void puaInit () { Index: puAuxBiSlider.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxBiSlider.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxBiSlider.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxBiSlider.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -23,7 +23,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaBiSlider,puSlider) Index: puAuxBiSliderWithEnds.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxBiSliderWithEnds.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxBiSliderWithEnds.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxBiSliderWithEnds.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -22,7 +22,7 @@ $Id$ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaBiSliderWithEnds,puGroup) Index: puAuxComboBox.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxComboBox.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- puAuxComboBox.cxx 18 Mar 2004 17:20:52 -0000 1.2 +++ puAuxComboBox.cxx 21 Mar 2004 19:03:23 -0000 1.3 @@ -22,7 +22,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaComboBox,puGroup) Index: puAuxCompass.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxCompass.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- puAuxCompass.cxx 18 Mar 2004 19:14:43 -0000 1.3 +++ puAuxCompass.cxx 21 Mar 2004 19:03:23 -0000 1.4 @@ -23,7 +23,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" #ifdef UL_MAC_OSX # include <OpenGL/gl.h> Index: puAuxFileSelector.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxFileSelector.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxFileSelector.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxFileSelector.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -41,7 +41,7 @@ ****/ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaFileSelector,puDialogBox) Index: puAuxLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxLargeInput.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- puAuxLargeInput.cxx 18 Mar 2004 17:20:52 -0000 1.2 +++ puAuxLargeInput.cxx 21 Mar 2004 19:03:23 -0000 1.3 @@ -22,7 +22,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF2(puaLargeInput,puInputBase,puGroup) Index: puAuxScrollBar.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxScrollBar.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxScrollBar.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxScrollBar.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -22,7 +22,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaScrollBar,puSlider) Index: puAuxSelectBox.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxSelectBox.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- puAuxSelectBox.cxx 18 Mar 2004 17:20:52 -0000 1.2 +++ puAuxSelectBox.cxx 21 Mar 2004 19:03:23 -0000 1.3 @@ -22,7 +22,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaSelectBox,puGroup) Index: puAuxSliderWithInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxSliderWithInput.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxSliderWithInput.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxSliderWithInput.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -22,7 +22,7 @@ $Id$ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaSliderWithInput,puGroup) Index: puAuxSpinBox.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxSpinBox.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxSpinBox.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxSpinBox.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -23,7 +23,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF2(puaSpinBox,puRange,puGroup) Index: puAuxTriSlider.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxTriSlider.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxTriSlider.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxTriSlider.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -23,7 +23,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaTriSlider,puaBiSlider) Index: puAuxVerticalMenu.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxVerticalMenu.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAuxVerticalMenu.cxx 28 Feb 2004 00:54:03 -0000 1.1 +++ puAuxVerticalMenu.cxx 21 Mar 2004 19:03:23 -0000 1.2 @@ -22,7 +22,7 @@ */ -#include "puAux.h" +#include "puAuxLocal.h" UL_RTTI_DEF1(puaVerticalMenu,puGroup) |
From: Steve B. <sj...@us...> - 2004-03-21 18:29:43
|
Update of /cvsroot/plib/plib/src/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22601/plib/src/net Modified Files: netBuffer.h Log Message: Put http_get back how it was so it works! Index: netBuffer.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netBuffer.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- netBuffer.h 21 Mar 2004 17:41:07 -0000 1.8 +++ netBuffer.h 21 Mar 2004 18:19:11 -0000 1.9 @@ -199,7 +199,6 @@ public: - // constructor netBufferChannel (int in_buffer_size = 4096, int out_buffer_size = 16384) : in_buffer (in_buffer_size), out_buffer (out_buffer_size), |
From: Steve B. <sj...@us...> - 2004-03-21 18:29:43
|
Update of /cvsroot/plib/plib/examples/src/net/http_get In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22601/plib/examples/src/net/http_get Modified Files: http_get.cxx Log Message: Put http_get back how it was so it works! Index: http_get.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/http_get/http_get.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- http_get.cxx 21 Mar 2004 17:41:07 -0000 1.4 +++ http_get.cxx 21 Mar 2004 18:19:11 -0000 1.5 @@ -53,8 +53,7 @@ { netInit () ; - new HTTPClient ( "plib.sf.net", "/index.html" ) ; - + new HTTPClient ( "www.opengl.org", "/index.html" ) ; netChannel::loop ( 0 ) ; return 0 ; } |
From: Steve B. <sj...@us...> - 2004-03-21 17:53:15
|
Update of /cvsroot/plib/plib/examples/src/net/http_get In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14748/plib/examples/src/net/http_get Added Files: README Log Message: Added some minimal documentation. --- NEW FILE: README --- This demonstrates the fetching of a HTTP web page using the network library. It's hardwired to fetch the PLIB home-page. |
From: Steve B. <sj...@us...> - 2004-03-21 17:51:24
|
Update of /cvsroot/plib/plib/src/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14241/plib/src/net Modified Files: netBuffer.h netChannel.cxx netChannel.h netMessage.cxx netMessage.h netMonitor.h netSocket.cxx netSocket.h Log Message: Cleaned up some name-space pollution, added readme's for examples. Index: netBuffer.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netBuffer.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- netBuffer.h 2 Sep 2002 06:05:44 -0000 1.7 +++ netBuffer.h 21 Mar 2004 17:41:07 -0000 1.8 @@ -87,7 +87,7 @@ //eg. char name [ NET_MAX_NAME+1 ] ; -inline char* netCopyName ( char* dst, cchar* src ) +inline char* netCopyName ( char* dst, const char* src ) { if ( src != NULL ) { Index: netChannel.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netChannel.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- netChannel.cxx 2 Sep 2002 06:05:44 -0000 1.7 +++ netChannel.cxx 21 Mar 2004 17:41:07 -0000 1.8 @@ -95,7 +95,7 @@ } int -netChannel::connect ( cchar* host, int port ) +netChannel::connect ( const char* host, int port ) { int result = netSocket::connect ( host, port ) ; if (result == 0) { @@ -201,7 +201,7 @@ } bool -netChannel::poll (u32 timeout) +netChannel::poll (unsigned int timeout) { if (!channels) return false ; @@ -271,7 +271,7 @@ } void -netChannel::loop (u32 timeout) +netChannel::loop (unsigned int timeout) { while ( poll (timeout) ) ; } Index: netChannel.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netChannel.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- netChannel.h 2 Sep 2002 06:05:44 -0000 1.8 +++ netChannel.h 21 Mar 2004 17:41:07 -0000 1.9 @@ -58,7 +58,7 @@ bool closed, connected, accepting, write_blocked, should_delete ; netChannel* next_channel ; - friend bool netPoll (u32 timeout); + friend bool netPoll (unsigned int timeout); public: @@ -77,7 +77,7 @@ bool open ( void ) ; void close ( void ) ; int listen ( int backlog ) ; - int connect ( cchar* host, int port ) ; + int connect ( const char* host, int port ) ; int send ( const void * buf, int size, int flags = 0 ) ; int recv ( void * buf, int size, int flags = 0 ) ; @@ -109,8 +109,8 @@ ulSetError(UL_WARNING,"Network: %d: errno: %s(%d)",getHandle(),strerror(errno),errno); } - static bool poll (u32 timeout = 0 ) ; - static void loop (u32 timeout = 0 ) ; + static bool poll (unsigned int timeout = 0 ) ; + static void loop (unsigned int timeout = 0 ) ; }; #endif // NET_CHANNEL_H Index: netMessage.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netMessage.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- netMessage.cxx 2 Sep 2002 06:05:44 -0000 1.6 +++ netMessage.cxx 21 Mar 2004 17:41:07 -0000 1.7 @@ -30,7 +30,7 @@ int n = in_buffer.getLength () ; while ( n >= 2 ) { - u16 msg_len = *( (u16*)in_buffer.getData() ) ; + unsigned short msg_len = *( (unsigned short*)in_buffer.getData() ) ; if ( n >= msg_len ) { //we have a complete message; handle it Index: netMessage.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netMessage.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- netMessage.h 11 Nov 2003 22:54:48 -0000 1.10 +++ netMessage.h 21 Mar 2004 17:41:07 -0000 1.11 @@ -54,36 +54,43 @@ class netGuid //Globally Unique IDentifier { public: - u8 data [ 16 ] ; + unsigned char data [ 16 ] ; netGuid () {} - netGuid ( u32 l, u16 w1, u16 w2, - u8 b1, u8 b2, u8 b3, u8 b4, u8 b5, u8 b6, u8 b7, u8 b8 ) + netGuid ( unsigned int l, [...167 lines suppressed...] } - f32 getf () const + float getf () const { - u32 temp ; + unsigned int temp ; geta ( &temp, sizeof(temp) ) ; temp = ntohl ( temp ) ; - return *((f32*)&temp) ; + return *((float*)&temp) ; } - void putf ( f32 f ) + void putf ( float f ) { - u32 temp = *((u32*)&f) ; + unsigned int temp = *((unsigned int*)&f) ; temp = htonl ( temp ) ; puta ( &temp, sizeof(temp) ) ; } Index: netMonitor.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netMonitor.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- netMonitor.h 2 Sep 2002 06:05:44 -0000 1.9 +++ netMonitor.h 21 Mar 2004 17:41:07 -0000 1.10 @@ -50,7 +50,7 @@ char* name ; char* password ; char* prompt ; - void (*cmdfunc)(cchar*) ; + void (*cmdfunc)(const char*) ; class netMonitorChannel* active ; friend class netMonitorChannel ; @@ -60,7 +60,7 @@ public: - netMonitorServer( cchar* _name, int port ) + netMonitorServer( const char* _name, int port ) { name = ulStrDup(_name); password = ulStrDup("") ; @@ -82,20 +82,20 @@ delete[] prompt ; } - cchar* getPassword () const { return password; } - void setPassword ( cchar* string ) + const char* getPassword () const { return password; } + void setPassword ( const char* string ) { delete[] password ; password = ulStrDup ( string?string:"" ) ; } - void setPrompt ( cchar* string ) + void setPrompt ( const char* string ) { delete[] prompt ; prompt = ulStrDup ( string?string:"" ) ; } - void setCommandFunc ( void (*func)(cchar*) ) + void setCommandFunc ( void (*func)(const char*) ) { cmdfunc = func ; } Index: netSocket.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.cxx,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- netSocket.cxx 21 Mar 2004 17:13:00 -0000 1.26 +++ netSocket.cxx 21 Mar 2004 17:41:07 -0000 1.27 @@ -56,13 +56,13 @@ #define INADDR_NONE ((unsigned long)-1) #endif -netAddress::netAddress ( cchar* host, int port ) +netAddress::netAddress ( const char* host, int port ) { set ( host, port ) ; } -void netAddress::set ( cchar* host, int port ) +void netAddress::set ( const char* host, int port ) { memset(this, 0, sizeof(netAddress)); @@ -116,10 +116,10 @@ This is always a string of the form 'dd.dd.dd.dd' (with variable size numbers). */ -cchar* netAddress::getHost () const +const char* netAddress::getHost () const { #if 0 - cchar* buf = inet_ntoa ( sin_addr ) ; + const char* buf = inet_ntoa ( sin_addr ) ; #else static char buf [32]; long x = ntohl(sin_addr); @@ -136,7 +136,7 @@ return ntohs(sin_port); } -cchar* netAddress::getLocalHost () +const char* netAddress::getLocalHost () { //gethostbyname(gethostname()) @@ -147,7 +147,7 @@ if (hp && *hp->h_addr_list) { in_addr addr = *((in_addr*)*hp->h_addr_list); - cchar* host = inet_ntoa(addr); + const char* host = inet_ntoa(addr); if ( host ) return host ; } @@ -226,7 +226,7 @@ } int -netSocket::bind ( cchar* host, int port ) +netSocket::bind ( const char* host, int port ) { assert ( handle != -1 ) ; netAddress addr ( host, port ) ; @@ -249,7 +249,7 @@ } int -netSocket::connect ( cchar* host, int port ) +netSocket::connect ( const char* host, int port ) { assert ( handle != -1 ) ; netAddress addr ( host, port ) ; @@ -263,14 +263,14 @@ netSocket::send (const void * buffer, int size, int flags) { assert ( handle != -1 ) ; - return ::send (handle, (cchar*)buffer, size, flags); + return ::send (handle, (const char*)buffer, size, flags); } int netSocket::sendto ( const void * buffer, int size, int flags, const netAddress* to ) { assert ( handle != -1 ) ; - return ::sendto(handle,(cchar*)buffer,size,flags,(const sockaddr*)to,sizeof(netAddress)); + return ::sendto(handle,(const char*)buffer,size,flags,(const sockaddr*)to,sizeof(netAddress)); } int @@ -443,7 +443,7 @@ return(0); } -cchar* netFormat ( cchar* format, ... ) +const char* netFormat ( const char* format, ... ) { static char buffer[ 256 ]; va_list argptr; Index: netSocket.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- netSocket.h 21 Mar 2004 17:13:00 -0000 1.17 +++ netSocket.h 21 Mar 2004 17:41:07 -0000 1.18 @@ -44,45 +44,25 @@ #include "ul.h" #include <errno.h> - -/* - * Define Basic types - */ - -typedef float f32; -typedef double f64; - -typedef signed char s8; -typedef signed short s16; -typedef signed int s32; - -typedef unsigned char u8; -typedef unsigned short u16; -typedef unsigned int u32; - -typedef const char cchar; -typedef const void cvoid; - - /* * Socket address, internet style. */ class netAddress { - s16 sin_family; - u16 sin_port; - u32 sin_addr; - char sin_zero[8]; + short sin_family ; + unsigned short sin_port ; + unsigned int sin_addr ; + char sin_zero [ 8 ] ; public: netAddress () {} - netAddress ( cchar* host, int port ) ; + netAddress ( const char* host, int port ) ; - void set ( cchar* host, int port ) ; - cchar* getHost () const ; + void set ( const char* host, int port ) ; + const char* getHost () const ; int getPort() const ; - static cchar* getLocalHost () ; + static const char* getLocalHost () ; bool getBroadcast () const ; }; @@ -105,10 +85,10 @@ bool open ( bool stream=true ) ; void close ( void ) ; - int bind ( cchar* host, int port ) ; + int bind ( const char* host, int port ) ; int listen ( int backlog ) ; int accept ( netAddress* addr ) ; - int connect ( cchar* host, int port ) ; + int connect ( const char* host, int port ) ; int send ( const void * buffer, int size, int flags = 0 ) ; int sendto ( const void * buffer, int size, int flags, const netAddress* to ) ; int recv ( void * buffer, int size, int flags = 0 ) ; @@ -127,7 +107,7 @@ int netInit () ; -cchar* netFormat ( cchar* fmt, ... ) ; +const char* netFormat ( const char* fmt, ... ) ; #endif // NET_SOCKET_H |
From: Steve B. <sj...@us...> - 2004-03-21 17:51:23
|
Update of /cvsroot/plib/plib/examples/src/net/net_echo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14241/plib/examples/src/net/net_echo Added Files: README Log Message: Cleaned up some name-space pollution, added readme's for examples. --- NEW FILE: README --- This is a simple example server that reads lines of text from the client and echoes them back. An echo server is usually running on TCP port 7 of Unix machines. Start it running someplace on your network, then use 'telnet' to connect to it on port 8000: telnet localhost 8000 ...notice that you can open multiple telnet sessions - and the server echoes the right data back to the right client. You can choose a port number other than 8000 by putting it on the command line of the echo server. |
From: Steve B. <sj...@us...> - 2004-03-21 17:51:23
|
Update of /cvsroot/plib/plib/examples/src/net/http_get In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14241/plib/examples/src/net/http_get Modified Files: http_get.cxx Log Message: Cleaned up some name-space pollution, added readme's for examples. Index: http_get.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/http_get/http_get.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- http_get.cxx 21 Mar 2004 17:12:59 -0000 1.3 +++ http_get.cxx 21 Mar 2004 17:41:07 -0000 1.4 @@ -28,33 +28,34 @@ { public: - HTTPClient ( cchar* host, cchar* path ) + HTTPClient ( const char* host, const char* path ) { - open (); - connect (host, 80); + open () ; + connect ( host, 80 ) ; - cchar* s = netFormat ( "GET %s HTTP/1.0\r\n\r\n", path ); - bufferSend( s, strlen(s) ) ; + const char *s = netFormat ( "GET %s HTTP/1.0\r\n\r\n", path ) ; + + bufferSend ( s, strlen(s) ) ; } - virtual void handleBufferRead (netBuffer& buffer) + virtual void handleBufferRead ( netBuffer& buffer ) { - const char* s = buffer.getData(); - while (*s) - fputc(*s++,stdout); + const char* s = buffer.getData () ; + while ( *s ) + fputc ( *s++, stdout ) ; - buffer.remove(); + buffer . remove () ; } } ; -int -main (int argc, char * argv[]) +int main ( int argc, char * argv[] ) { - netInit(&argc,argv); + netInit () ; - new HTTPClient( "www.opengl.org", "/index.html" ); + new HTTPClient ( "plib.sf.net", "/index.html" ) ; - netChannel::loop(0); - return 0; + netChannel::loop ( 0 ) ; + return 0 ; } + |
From: Steve B. <sj...@us...> - 2004-03-21 17:25:15
|
Update of /cvsroot/plib/plib/examples/src/net/net_echo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7848/plib/examples/src/net/net_echo Modified Files: net_echo.cxx Log Message: Cleaned up the network library - did some improvements to the client/server example programs so that they'll actually work when you run them!! Index: net_echo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/net_echo/net_echo.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- net_echo.cxx 1 Sep 2002 12:04:51 -0000 1.2 +++ net_echo.cxx 21 Mar 2004 17:12:59 -0000 1.3 @@ -21,7 +21,7 @@ $Id$ */ -#include <plib/netChat.h> +#include <plib/net.h> /* ** simple example server that reads lines of text from the client |
From: Steve B. <sj...@us...> - 2004-03-21 17:25:14
|
Update of /cvsroot/plib/plib/src/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7848/plib/src/net Modified Files: Makefile.am netSocket.cxx netSocket.h Added Files: net.h Log Message: Cleaned up the network library - did some improvements to the client/server example programs so that they'll actually work when you run them!! --- NEW FILE: net.h --- #ifndef __PLIB_NET_H__ #define __PLIB_NET_H__ 1 #include <plib/netBuffer.h> #include <plib/netChannel.h> #include <plib/netChat.h> #include <plib/netMessage.h> #include <plib/netMonitor.h> #include <plib/netSocket.h> #endif Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/src/net/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Makefile.am 31 Aug 2002 22:21:21 -0000 1.8 +++ Makefile.am 21 Mar 2004 17:13:00 -0000 1.9 @@ -3,7 +3,7 @@ lib_LIBRARIES = libplibnet.a include_HEADERS = netBuffer.h netChannel.h netChat.h netMessage.h \ - netMonitor.h netSocket.h + netMonitor.h netSocket.h net.h libplibnet_a_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \ netMessage.cxx netMonitor.cxx netSocket.cxx Index: netSocket.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.cxx,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- netSocket.cxx 11 Nov 2003 22:54:48 -0000 1.25 +++ netSocket.cxx 21 Mar 2004 17:13:00 -0000 1.26 @@ -418,6 +418,13 @@ int netInit ( int* argc, char** argv ) { + /* Legacy */ + + return netInit () ; +} + +int netInit () +{ assert ( sizeof(sockaddr_in) == sizeof(netAddress) ) ; #if defined(UL_CYGWIN) || !defined (UL_WIN32) Index: netSocket.h =================================================================== RCS file: /cvsroot/plib/plib/src/net/netSocket.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- netSocket.h 2 Sep 2002 06:05:44 -0000 1.16 +++ netSocket.h 21 Mar 2004 17:13:00 -0000 1.17 @@ -122,7 +122,11 @@ } ; -int netInit ( int* argc = NULL, char** argv = NULL ) ; +int netInit ( int* argc, char** argv = NULL ) ; /* Legacy */ + +int netInit () ; + + cchar* netFormat ( cchar* fmt, ... ) ; |
From: Steve B. <sj...@us...> - 2004-03-21 17:23:38
|
Update of /cvsroot/plib/plib/examples/src/net/http_get In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7848/plib/examples/src/net/http_get Modified Files: http_get.cxx Log Message: Cleaned up the network library - did some improvements to the client/server example programs so that they'll actually work when you run them!! Index: http_get.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/http_get/http_get.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- http_get.cxx 1 Sep 2002 12:04:51 -0000 1.2 +++ http_get.cxx 21 Mar 2004 17:12:59 -0000 1.3 @@ -21,7 +21,7 @@ $Id$ */ -#include <plib/netBuffer.h> +#include <plib/net.h> class HTTPClient : public netBufferChannel |
From: Steve B. <sj...@us...> - 2004-03-21 17:23:38
|
Update of /cvsroot/plib/plib/examples/src/net/client_server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7848/plib/examples/src/net/client_server Modified Files: net_udp_client.cxx net_udp_server.cxx Added Files: README Log Message: Cleaned up the network library - did some improvements to the client/server example programs so that they'll actually work when you run them!! --- NEW FILE: README --- This example demonstrates a simple one-way communication path between a client and a server. It uses UDP protocol - which is unreliable but fast - don't use it for messages that utterly must get there! The client program can be told to send to the server on any port number of any host computer - by default it uses 'localhost'. The server program can be told to listen out on any port number and to either listen to just one specific client - or to accept messages from any client. Usage: net_udp_client [-p port] [servername] net_udp_server [-p port] [clientname] The default for the client is to use port 5501 on 'localhost'. The default to the server is to listen on port 5501 and to allow anyone to send to it. Index: net_udp_client.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/client_server/net_udp_client.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- net_udp_client.cxx 1 Sep 2002 12:04:51 -0000 1.2 +++ net_udp_client.cxx 21 Mar 2004 17:12:59 -0000 1.3 @@ -31,37 +31,75 @@ // time. #include <stdio.h> +#include <plib/net.h> +#include <plib/ul.h> -#include <plib/netSocket.h> +void help () +{ + fprintf ( stderr, "net_udp_client: Usage -\n" ) ; + fprintf ( stderr, "\n" ) ; [...67 lines suppressed...] + printf ( "error connecting to %s:%d\n", host, port ) ; + return -1 ; + } + + char msg[256] = "Hello world!" ; + + int len = strlen ( msg ) ; + + while ( true ) + { + ulSleep ( 1 ) ; + sock -> send( msg, len, 0 ); + printf("msg sent = %s\n", msg); + } - return 0; + return 0; } + + Index: net_udp_server.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/client_server/net_udp_server.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- net_udp_server.cxx 21 Jul 2001 18:44:24 -0000 1.1 +++ net_udp_server.cxx 21 Mar 2004 17:12:59 -0000 1.2 @@ -8,41 +8,80 @@ // time. #include <stdio.h> +#include <plib/net.h> -#include <plib/netSocket.h> -int main( int argc, char **argv ) { - int port = 5501; - char host[256] = ""; // accept messages from anyone +void help () [...76 lines suppressed...] + } + + char msg [ 256 ] ; + int maxlen = 256 ; + int len ; + + while ( true ) + { + if ( (len = sock -> recv(msg, maxlen, 0)) >= 0 ) + { + msg[len] = '\0' ; + printf ( "msg received = %s\n", msg ) ; } - - return 0; + } + + return 0 ; } + |
From: Steve B. <sj...@us...> - 2004-03-21 17:23:23
|
Update of /cvsroot/plib/plib/doc/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7848/plib/doc/net Modified Files: index.html Log Message: Cleaned up the network library - did some improvements to the client/server example programs so that they'll actually work when you run them!! Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/net/index.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- index.html 6 Jul 2002 19:55:32 -0000 1.7 +++ index.html 21 Mar 2004 17:12:59 -0000 1.8 @@ -24,6 +24,8 @@ This document assumes a certain degree of knowledge of TCP/IP and socket programming. <p> +To use the NET library, you'll need to '#include <plib/net.h>' and +link to libplibnet.a <H2>Symbol Conventions.</H2> Pegasus follows the same conventions for symbols and tokens that are used by OpenGL and GLUT. All Pegasus symbols for classes and |
From: Steve B. <sj...@us...> - 2004-03-20 18:07:39
|
Update of /cvsroot/plib/plib/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26957/plib/examples Modified Files: Makefile.am Log Message: Added some files to the examples distro. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/Makefile.am,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- Makefile.am 30 Nov 2003 21:03:23 -0000 1.11 +++ Makefile.am 20 Mar 2004 17:57:36 -0000 1.12 @@ -1,6 +1,6 @@ SUBDIRS = src -EXTRA_DIST = README COPYING.DATA plib_examples.dsp plib_examples.dsw +EXTRA_DIST = README COPYING.DATA plib_examples.dsp plib_examples.dsw install-sh missing autogen.sh dist-hook: tar cf - doc \ |
From: Steve B. <sj...@us...> - 2004-03-20 18:07:38
|
Update of /cvsroot/plib/plib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26957/plib Modified Files: Makefile.am Log Message: Added some files to the examples distro. Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Makefile.am 2 Sep 2002 18:32:30 -0000 1.10 +++ Makefile.am 20 Mar 2004 17:57:27 -0000 1.11 @@ -2,6 +2,6 @@ EXTRA_DIST = KNOWN_BUGS NOTICE README README.GLUT \ README.win32 README.mac TODO-1.6 TODO-2.0 \ - TODO_AFTER135 autogen.sh \ + TODO_AFTER135 autogen.sh missing \ plib.dsp plib.dsw transferCvs2WebSite |
From: Steve B. <sj...@us...> - 2004-03-20 17:05:38
|
Update of /cvsroot/plib/plib/examples/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14428/doc Log Message: Directory /cvsroot/plib/plib/examples/doc added to the repository |
From: Steve B. <sj...@us...> - 2004-03-20 06:45:59
|
Update of /cvsroot/plib/plib/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8326/plib/doc Modified Files: PSL.png contacts.html download.html examples.html gallery.html index.html license.html requirements.html whats_inside.html Added Files: PW.png puAux.png Log Message: Update menu's to point to new library documents. Added missing images for a couple of the libraries. --- NEW FILE: PW.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: puAux.png --- (This appears to be a binary file; contents omitted.) Index: PSL.png =================================================================== RCS file: /cvsroot/plib/plib/doc/PSL.png,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Binary files /tmp/cvsVtMYsC and /tmp/cvs1pr2Vn differ Index: contacts.html =================================================================== RCS file: /cvsroot/plib/plib/doc/contacts.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- contacts.html 5 Sep 2002 06:14:56 -0000 1.10 +++ contacts.html 20 Mar 2004 06:36:00 -0000 1.11 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> <H2>Contacting Us - and Contributing to PLIB.</H2> Index: download.html =================================================================== RCS file: /cvsroot/plib/plib/doc/download.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- download.html 20 Mar 2004 04:51:36 -0000 1.18 +++ download.html 20 Mar 2004 06:36:00 -0000 1.19 @@ -49,17 +49,25 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + </TD> <TD> <H1>Downloading and Installing PLIB.</H1> Index: examples.html =================================================================== RCS file: /cvsroot/plib/plib/doc/examples.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- examples.html 5 Sep 2002 06:14:56 -0000 1.7 +++ examples.html 20 Mar 2004 06:36:00 -0000 1.8 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> Index: gallery.html =================================================================== RCS file: /cvsroot/plib/plib/doc/gallery.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- gallery.html 5 Sep 2002 06:14:56 -0000 1.16 +++ gallery.html 20 Mar 2004 06:36:00 -0000 1.17 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> <H1>ScreenShot Gallery.</H1> Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/index.html,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- index.html 20 Mar 2004 04:51:36 -0000 1.31 +++ index.html 20 Mar 2004 06:36:00 -0000 1.32 @@ -49,19 +49,25 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + <A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> -<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A> -<br> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + </TD> <TD> Index: license.html =================================================================== RCS file: /cvsroot/plib/plib/doc/license.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- license.html 5 Sep 2002 06:14:57 -0000 1.11 +++ license.html 20 Mar 2004 06:36:00 -0000 1.12 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> <H2>PLIB Licensing.</H2> Index: requirements.html =================================================================== RCS file: /cvsroot/plib/plib/doc/requirements.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- requirements.html 20 Mar 2004 04:51:37 -0000 1.11 +++ requirements.html 20 Mar 2004 06:36:00 -0000 1.12 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> -<A HREF="sg/index.html"><IMG SRC="SG.png " ALT="SG" BORDER="0" width=75 height=25></A> + +<A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png " ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png " ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> <H2>Hardware Requirements for Running PLIB</H2> Index: whats_inside.html =================================================================== RCS file: /cvsroot/plib/plib/doc/whats_inside.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- whats_inside.html 20 Mar 2004 04:51:37 -0000 1.10 +++ whats_inside.html 20 Mar 2004 06:36:00 -0000 1.11 @@ -49,17 +49,26 @@ <A HREF="gallery.html"><IMG SRC="gallery.png" ALT="GALLERY" BORDER="0" width=150 height=50></A><br> <A HREF="download.html"><IMG SRC="download.png" ALT="DOWNLOAD & INSTALL" BORDER="0" width=150 height=50></A><br> <A HREF="examples.html"><IMG SRC="examples.png" ALT="EXAMPLES" BORDER="0" width=150 height=50></A><br> + <A HREF="sg/index.html"><IMG SRC="SG.png" ALT="SG" BORDER="0" width=75 height=25></A> <A HREF="ssg/index.html"><IMG SRC="SSG.png" ALT="SSG" BORDER="0" width=75 height=25></A><br> + <A HREF="ssgAux/index.html"><IMG SRC="ssgAux.png" ALT="SSGAUX" BORDER="0" width=75 height=25></A> <A HREF="fnt/index.html"><IMG SRC="FNT.png" ALT="FNT" BORDER="0" width=75 height=25></A><br> + <A HREF="pui/index.html"><IMG SRC="PUI.png" ALT="PUI" BORDER="0" width=75 height=25></A> <A HREF="psl/index.html"><IMG SRC="PSL.png" ALT="PSL" BORDER="0" width=75 height=25></A> -<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A><br> -<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A> -<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A><br> -<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A> -<br> + +<A HREF="util/index.html"><IMG SRC="UL.png" ALT="UL" BORDER="0" width=75 height=25></A> +<A HREF="js/index.html"><IMG SRC="JS.png" ALT="JS" BORDER="0" width=75 height=25></A><br> + +<A HREF="net/index.html"><IMG SRC="NET.png" ALT="NET" BORDER="0" width=75 height=25></A> +<A HREF="sl/index.html"><IMG SRC="SL.png" ALT="SL" BORDER="0" width=75 height=25></A><br> + +<A HREF="pw/index.html"><IMG SRC="PW.png" ALT="PW" BORDER="0" width=75 height=25></A> +<A HREF="puAux/index.html"><IMG SRC="puAux.png" ALT="PUAUX" BORDER="0" width=75 height=25></A><br> + + </TD> <TD> <H2>What's Inside PLIB?</H2> |
From: Steve B. <sj...@us...> - 2004-03-20 06:45:55
|
Update of /cvsroot/plib/plib/doc/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8326/plib/doc/puAux Modified Files: index.html Log Message: Update menu's to point to new library documents. Added missing images for a couple of the libraries. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/puAux/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- index.html 28 Feb 2004 01:03:44 -0000 1.1 +++ index.html 20 Mar 2004 06:36:00 -0000 1.2 @@ -27,13 +27,6 @@ higher level classes on top of the basic PUI classes. <p> </TD> -<TD> -<center> -<IMG SRC="snapshot.png" ALT="puAux screenshot" WIDTH=417 HEIGHT=309> -<br> -This image was created entirely from puAux primitives. -</center> -</TD> </TR> </TABLE> <p> |
From: Steve B. <sj...@us...> - 2004-03-20 05:01:30
|
Update of /cvsroot/plib/plib/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25870/plib/doc Modified Files: download.html index.html requirements.html whats_inside.html Log Message: Updated documentation to fit with PLIB 1.8.0 Index: download.html =================================================================== RCS file: /cvsroot/plib/plib/doc/download.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- download.html 5 Sep 2002 06:14:56 -0000 1.17 +++ download.html 20 Mar 2004 04:51:36 -0000 1.18 @@ -64,14 +64,14 @@ <TD> <H1>Downloading and Installing PLIB.</H1> <H2>The Short Answer (for Linux and CygWin users):</H2> -Make sure you have OpenGL and GLUT installed.<br> -Download this: <A HREF="dist/plib-1.6.0.tar.gz"> PLIB - Version 1.6.0</A> +Make sure you have OpenGL installed.<br> +Download this: <A HREF="dist/plib-1.8.0.tar.gz"> PLIB - Version 1.8.0</A> <br> Run this (as 'root'): <pre> - tar xzf plib-1.6.0.tar.gz - cd plib-1.6.0 - ./configure ; make ; make install + tar xzf plib-1.8.0.tar.gz + cd plib-1.8.0 + ./configure ; make install </pre> Tadaaaa! <p> @@ -86,8 +86,7 @@ in PLIB. <p> <ul> -<li><A HREF="dist/plib-1.7.0.tar.gz"> PLIB - Version 1.7.0 -- Experimental/Unstable</A> -<li><A HREF="dist/plib-1.6.0.tar.gz"> PLIB - Version 1.6.0 -- Current/Stable</A> +<li><A HREF="dist/plib-1.8.0.tar.gz"> PLIB - Version 1.8.0 -- Current Stable</A> <li><A HREF="dist/"> PLIB - Other versions</A> <li><A HREF="http://sf.net/project/?group_id=382"> PLIB - Latest development version (from CVS)</A> <li><A HREF="dist/current.tgz"> PLIB - Latest development version (tarball)</A> @@ -108,12 +107,13 @@ <A NAME="EXAMPLES"></A> <ul> -<li><A HREF="dist/plib_examples-1.6.1.tar.gz"> - Example programs and Documentation for PLIB-1.6.0 or later.</A> +<li><A HREF="dist/plib_examples-1.8.0.tar.gz"> + Example programs and Documentation for PLIB-1.8.0 or later.</A> <li><A HREF="dist/">PLIB_examples - Older versions</A> </ul> Un-tar this into a separate directory from PLIB itself - or else -all the configuration and makefiles will clash. +all the configuration and makefiles will clash. Many of the example programs +require the GLUT library (or 'freeglut') - some other use SDL and FLTK. <p> <A NAME="DEMOS"></A> More extensive PLIB demonstration programs are also separated from @@ -141,7 +141,6 @@ <pre> ./configure - make make install </pre> Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/index.html,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- index.html 28 Feb 2004 01:03:44 -0000 1.30 +++ index.html 20 Mar 2004 04:51:36 -0000 1.31 @@ -74,14 +74,15 @@ <p> PLIB includes sound effects, music, a complete 3D engine, font -rendering, a GUI, networking, 3D math library and a +rendering, a simple Windowing library, a game scripting language, +a GUI, networking, 3D math library and a collection of handy utility functions. All are 100% portable across nearly all modern computing platforms. What's more, it's all available on line - and completely free. Each library component is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can. <p> -The latest stable version of PLIB is 1.6.0 - go to the +The latest stable version of PLIB is 1.8.0 - go to the <A HREF="download.html">DOWNLOAD</A> section to get a copy - go to the <A HREF="whats_inside.html">WHAT'S INSIDE</A> section for documentation and a more detailed description of Index: requirements.html =================================================================== RCS file: /cvsroot/plib/plib/doc/requirements.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- requirements.html 5 Sep 2002 06:14:57 -0000 1.10 +++ requirements.html 20 Mar 2004 04:51:37 -0000 1.11 @@ -75,7 +75,7 @@ The PLIB team works hard to minimise our dependance on other libraries to make it easy for end-users to install application software without having to visit dozens of web sites to collect -the libraries they need. +the libraries they need. <ul> <li>3D/2D Graphics: OpenGL. If you aren't already set up to run OpenGL, you should check: @@ -89,36 +89,40 @@ had a copy of OpenGL delivered with your operating system. </ul> -<li>Windowing: <A HREF="http://www.opengl.org/Documentation/GLUT.html">GLUT</A> - (The OpenGL Utility Toolkit by Mark Kilgard) - fully portable - windowing library with support for mouse and keyboard. - As an alternative, there is an OpenSource clone of GLUT called - <A HREF="http://freeglut.sf.net">freeglut</A> - it +<li>Windowing: From version 1.8.0, PLIB itself is completely independent of + any other windowing library. However, some of the demo and example + programs use <A HREF="http://freeglut.sf.net">freeglut</A> (or at a + pinch: + <A HREF="http://www.opengl.org/Documentation/GLUT.html">the original + GLUT</A> (GL Utility Toolkit by Mark Kilgard). + <A HREF="http://freeglut.sf.net">freeglut</A> works very well with PLIB applications and is maintained by - many of the same people. + many of the same people - so there is good continuity. It's perfectly possible to write PLIB programs that don't use - GLUT (for example, you can use PLIB with - <a href="http://www.libsdl.org">SDL</a>) - but the examples and demo's - do require it. + either GLUT or freeglut - for example, you can use PLIB with + <a href="http://www.libsdl.org">SDL</a>). </ul> <H2>How Portable is PLIB?</H2> VERY! <ul> -<li> All flavors of Win32 (Win 2000, WinME, WinNT, Win95 and Win98) are +<li> All flavors of Linux are supported - on any CPU platform that + supports Xfree86 and OpenGL. +<li> All flavors of Win32 are supported, using either MSVC++ or CygWin for compilation. Theoretically you could use Borland C++ also, but since there is little user base these days, the necessary 'project' files to build PLIB - under Borland's IDE do tend to get outdated. -<li> All flavors of Linux are supported - on any CPU platform that - supports Xfree86 and OpenGL. -<li> Most other UNIX-like systems (at least BSD, IRIX, Solaris, OS-X). -<li> MacOS now runs everything except the joystick library. I have yet to - hear of anyone who has a Mac with a joystick - so this isn't a great loss. + under Borland's IDE tend to get outdated. +<li> Most other UNIX-like systems (at least BSD, IRIX, Solaris, OS-X) providing + they support X-windows. +<li> MacOS-X is also reasonably well supported. +<li> MacOS-9 runs everything except the joystick library. However, it's getting + hard to find people to test this port - so it may have problems by the time + you come to use it. <li> Support for BeOS is problematic - for some reason, people who are prepared to help out with porting PLIB to BeOS are hard to find. However, since - BeOS (I'm told) has compatibility with GLUT, OpenGL and OSS, it should - be easy to port to. + BeOS (I'm told) has compatibility with X, OpenGL and OSS, it should + be easy to port to and may just work 'out of the box'. </ul> </TD> Index: whats_inside.html =================================================================== RCS file: /cvsroot/plib/plib/doc/whats_inside.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- whats_inside.html 5 Sep 2002 06:14:57 -0000 1.9 +++ whats_inside.html 20 Mar 2004 04:51:37 -0000 1.10 @@ -70,9 +70,9 @@ <TABLE> <TR> <TD><A HREF="pui/index.html">Picoscopic User Interface Library (PUI)</A></TD> - <TD>A fully portable set of GUI widgets that need only GLUT, OpenGL and C++ + <TD>A fully portable set of GUI widgets that need OpenGL and C++ to operate. Useful for games because rendering these widgets is - performed very quicly by your 3D hardware.</TD> + performed very quickly by your 3D hardware.</TD> </TR> <TR> <TD><A HREF="sl/index.html">Sound Library (SL)</A></TD> @@ -93,6 +93,11 @@ <TD>A scene graph library layered on top of OpenGL. Also contains code to load and save lots of 3D file formats.</TD> </TR> <TR> + <TD><A HREF="puAux/index.html">PUI Auxiliary Library (PUAUX)</A></TD> + <TD>Additional functionality layered onto PUI - not every PUI program + will need these but they can perhaps save you some effort.</TD> +</TR> +<TR> <TD><A HREF="ssgAux/index.html">SSG Auxiliary Library (SSGA)</A></TD> <TD>Additional functionality layered onto SSG - not every SSG program will need these but they can perhaps save you some effort.</TD> @@ -120,6 +125,14 @@ <TD><A HREF="psl/index.html">PLIB Scripting Language (PSL)</A></TD> <TD>A very lightweight, stackless C-like scripting language.</TD> </TR> +<TR> + <TD><A HREF="pw/index.html">PLIB Windowing Library (PW)</A></TD> + <TD>A lightweight windowing library. This is a very basic + library - it only supports a single, double-buffered RGB + OpenGL window - with support for keyboard and mouse. + Simple though it is, it's usually plenty for OpenGL games + and other simple OpenGL applications.</TD> +</TR> </TABLE> <p> <H2> Goodies: Samples and Demo's </H2> @@ -140,6 +153,7 @@ <TR> <TD> <ul> +<li>PW is independent <li>UL is independent <li>JS depends only on UL <li>SL depends only on UL @@ -153,6 +167,7 @@ <li>SSG depends on UL and SG <li>SSGAUX depends on UL, SG and SSG <li>PUI depends on UL, SG and FNT +<li>PUAUX depends on UL, SG, FNT and PUI <li>PSL depends on UL, SG and SSG </ul> </TD> |