q-lang-cvs Mailing List for Q - Equational Programming Language (Page 5)
Brought to you by:
agraef
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(106) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(219) |
Feb
(152) |
Mar
|
Apr
(92) |
May
(45) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
(111) |
Oct
(52) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(23) |
Jun
(46) |
Jul
(158) |
Aug
(22) |
Sep
|
Oct
(26) |
Nov
(11) |
Dec
(49) |
2006 |
Jan
(57) |
Feb
(196) |
Mar
(10) |
Apr
(41) |
May
(149) |
Jun
(308) |
Jul
(11) |
Aug
(25) |
Sep
(15) |
Oct
|
Nov
|
Dec
(15) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
(15) |
May
(204) |
Jun
(112) |
Jul
(7) |
Aug
(16) |
Sep
(134) |
Oct
(313) |
Nov
(262) |
Dec
(83) |
2008 |
Jan
(81) |
Feb
(83) |
Mar
(21) |
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Albert G. <ag...@us...> - 2008-02-12 00:37:39
|
Update of /cvsroot/q-lang/q/modules/odbc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21221 Modified Files: odbc.c Log Message: work around some bugs with the MS Access ODBC driver which causes it to reject NULL and empty string parameter values Index: odbc.c =================================================================== RCS file: /cvsroot/q-lang/q/modules/odbc/odbc.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** odbc.c 11 Feb 2008 23:01:33 -0000 1.7 --- odbc.c 12 Feb 2008 00:37:23 -0000 1.8 *************** *** 218,222 **** db->argv[i].len = SQL_NTS; db->argv[i].buflen = strlen(s)+1; ! db->argv[i].prec = db->argv[i].buflen-1; db->argv[i].data.buf = s; db->argv[i].ptr = s; --- 218,225 ---- db->argv[i].len = SQL_NTS; db->argv[i].buflen = strlen(s)+1; ! /* FIXME: The prec value should actually be buflen-1 here, but the MS ! Access ODBC interface barks at these. Hopefully this doesn't mess ! things up with other ODBC drivers. */ ! db->argv[i].prec = db->argv[i].buflen; db->argv[i].data.buf = s; db->argv[i].ptr = s; *************** *** 241,245 **** db->argv[i].len = SQL_NULL_DATA; db->argv[i].buflen = 0; ! db->argv[i].prec = 0; db->argv[i].data.buf = NULL; db->argv[i].ptr = NULL; --- 244,251 ---- db->argv[i].len = SQL_NULL_DATA; db->argv[i].buflen = 0; ! /* FIXME: The prec value should actually be zero, but again MS Access ! doesn't seem to like zero values here. Hopefully this doesn't mess ! things up with other ODBC drivers. */ ! db->argv[i].prec = 1; db->argv[i].data.buf = NULL; db->argv[i].ptr = NULL; |
From: Albert G. <ag...@us...> - 2008-02-11 23:05:22
|
Update of /cvsroot/q-lang/q In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13904 Modified Files: ChangeLog Log Message: update ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/q/ChangeLog,v retrieving revision 1.319 retrieving revision 1.320 diff -C2 -d -r1.319 -r1.320 *** ChangeLog 23 Jan 2008 06:28:46 -0000 1.319 --- ChangeLog 11 Feb 2008 23:05:09 -0000 1.320 *************** *** 1,2 **** --- 1,7 ---- + 2008-02-12 Albert Graef <Dr....@t-...> + + * modules/odbc/odbc.c (set_arg, sql_exec): bugfixes in parameter + binding and error checking of SQLBindParameter() calls + 2008-01-23 Albert Graef <Dr....@t-...> |
From: Albert G. <ag...@us...> - 2008-02-11 23:01:37
|
Update of /cvsroot/q-lang/q/modules/odbc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12647 Modified Files: odbc.c Log Message: check SQL status before freeing SQL statement Index: odbc.c =================================================================== RCS file: /cvsroot/q-lang/q/modules/odbc/odbc.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** odbc.c 11 Feb 2008 22:58:47 -0000 1.6 --- odbc.c 11 Feb 2008 23:01:33 -0000 1.7 *************** *** 684,690 **** goto exit; err: free_args(db); SQLFreeStmt(db->hstmt, SQL_CLOSE); - res = mkerr(db->henv, db->hdbc, db->hstmt); goto exit; fatal: --- 684,690 ---- goto exit; err: + res = mkerr(db->henv, db->hdbc, db->hstmt); free_args(db); SQLFreeStmt(db->hstmt, SQL_CLOSE); goto exit; fatal: |
From: Albert G. <ag...@us...> - 2008-02-11 22:59:00
|
Update of /cvsroot/q-lang/q/modules/odbc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11301 Modified Files: odbc.c Log Message: convert string parameter to system encoding before initializing parameter description Index: odbc.c =================================================================== RCS file: /cvsroot/q-lang/q/modules/odbc/odbc.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** odbc.c 2 Feb 2006 00:08:24 -0000 1.5 --- odbc.c 11 Feb 2008 22:58:47 -0000 1.6 *************** *** 212,215 **** --- 212,217 ---- return 1; } else if (isstr(x, &s)) { + s = utf8_to_sys(s); + if (!s) return 0; db->argv[i].type = SQL_CHAR; db->argv[i].ctype = SQL_C_CHAR; *************** *** 217,223 **** db->argv[i].buflen = strlen(s)+1; db->argv[i].prec = db->argv[i].buflen-1; ! db->argv[i].data.buf = utf8_to_sys(s); ! db->argv[i].ptr = db->argv[i].data.buf; ! return db->argv[i].data.buf != NULL; } else if (isobj(x, type(ByteStr), (void**)&m)) { db->argv[i].type = SQL_BINARY; --- 219,225 ---- db->argv[i].buflen = strlen(s)+1; db->argv[i].prec = db->argv[i].buflen-1; ! db->argv[i].data.buf = s; ! db->argv[i].ptr = s; ! return 1; } else if (isobj(x, type(ByteStr), (void**)&m)) { db->argv[i].type = SQL_BINARY; |
From: Albert G. <ag...@us...> - 2008-02-11 14:17:52
|
Update of /cvsroot/q-lang/q-csv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13688 Modified Files: csv.c Log Message: just fail on file errors, instead of a hard exception Index: csv.c =================================================================== RCS file: /cvsroot/q-lang/q-csv/csv.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** csv.c 11 Feb 2008 02:15:00 -0000 1.16 --- csv.c 11 Feb 2008 14:17:48 -0000 1.17 *************** *** 76,80 **** if (ferror(fp)) { free(bf); free(qt_s); ! return __ERROR; } if (feof(fp)) --- 76,80 ---- if (ferror(fp)) { free(bf); free(qt_s); ! return __FAIL; } if (feof(fp)) |
From: Albert G. <ag...@us...> - 2008-02-11 14:15:43
|
Update of /cvsroot/q-lang/q-csv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13237 Modified Files: README Log Message: remove obsolete TODO items Index: README =================================================================== RCS file: /cvsroot/q-lang/q-csv/README,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** README 11 Feb 2008 02:31:30 -0000 1.11 --- README 11 Feb 2008 14:15:38 -0000 1.12 *************** *** 74,81 **** quirk only if written files are going to be imported to MS Excel. - TO DO - - - Operations for fixed length record reading and writing will be provided. - EXAMPLES --- 74,77 ---- |
From: Albert G. <ag...@us...> - 2008-02-11 12:11:41
|
Update of /cvsroot/q-lang/q-csv/examples In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22680 Modified Files: readsamples.q Log Message: add newline at end of output Index: readsamples.q =================================================================== RCS file: /cvsroot/q-lang/q-csv/examples/readsamples.q,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** readsamples.q 22 Jan 2008 16:45:16 -0000 1.5 --- readsamples.q 11 Feb 2008 12:11:34 -0000 1.6 *************** *** 55,57 **** || writes "\n\n-----" || writes "Reading 'read-sample4.csv:' (Malformed)\n" ! || write (readfile (fopen "read-sample4.csv" "r")); \ No newline at end of file --- 55,58 ---- || writes "\n\n-----" || writes "Reading 'read-sample4.csv:' (Malformed)\n" ! || write (readfile (fopen "read-sample4.csv" "r")) ! || writes "\n"; \ No newline at end of file |
From: Albert G. <ag...@us...> - 2008-02-11 11:28:39
|
Update of /cvsroot/q-lang/q-csv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10657 Added Files: Makefile.mingw Log Message: add Windows Makefile --- NEW FILE: Makefile.mingw --- QCC = ../q/src/qcc CFLAGS = -O3 all: csv.dll csv.dll: csv.c $(QCC) -o csv.dll csv.c -- $(CFLAGS) -I../q/libq --link -L../q/libq clean: rm -f *.o *.a *.dll *.def *% *~ *.bak q.out .q_vars core |
From: Albert G. <ag...@us...> - 2008-02-11 06:07:04
|
Update of /cvsroot/q-lang/q-audio In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31549 Modified Files: NEWS Log Message: fix typo Index: NEWS =================================================================== RCS file: /cvsroot/q-lang/q-audio/NEWS,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NEWS 31 Jan 2008 07:01:18 -0000 1.12 --- NEWS 11 Feb 2008 06:06:57 -0000 1.13 *************** *** 1,3 **** ! 01-31-00 V2.6 add audio_in/audio_out convenience functions 10-05-07 V2.5 audio_player now installs into <prefix>/share/q/apps 02-25-06 V2.4 update for Q 7.0 --- 1,3 ---- ! 01-31-08 V2.6 add audio_in/audio_out convenience functions 10-05-07 V2.5 audio_player now installs into <prefix>/share/q/apps 02-25-06 V2.4 update for Q 7.0 |
From: Albert G. <ag...@us...> - 2008-02-11 03:36:50
|
Update of /cvsroot/q-lang/pd-qext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13457 Modified Files: ChangeLog Log Message: update ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/pd-qext/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 9 Feb 2008 21:54:19 -0000 1.2 --- ChangeLog 11 Feb 2008 03:36:46 -0000 1.3 *************** *** 1,4 **** --- 1,6 ---- 2008-02-09 Albert Graef <Dr....@t-...> + + Release 0.3 + * Makefile: allow separate setting for Pd install prefix |
From: Albert G. <ag...@us...> - 2008-02-11 03:28:16
|
Update of /cvsroot/q-lang/pd-qext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10162 Modified Files: Makefile Log Message: bump version number Index: Makefile =================================================================== RCS file: /cvsroot/q-lang/pd-qext/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 9 Feb 2008 21:42:45 -0000 1.8 --- Makefile 11 Feb 2008 03:28:12 -0000 1.9 *************** *** 48,52 **** # dist target to roll a distribution tarball ! version = 0.2 dist = pd-qext-$(version) DISTFILES = COPYING ChangeLog README TODO Makefile \ --- 48,52 ---- # dist target to roll a distribution tarball ! version = 0.3 dist = pd-qext-$(version) DISTFILES = COPYING ChangeLog README TODO Makefile \ |
From: Albert G. <ag...@us...> - 2008-02-11 02:31:40
|
Update of /cvsroot/q-lang/q-csv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15905 Modified Files: README csv.q Log Message: fix typos and formatting glitches Index: README =================================================================== RCS file: /cvsroot/q-lang/q-csv/README,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** README 22 Jan 2008 16:47:30 -0000 1.10 --- README 11 Feb 2008 02:31:30 -0000 1.11 *************** *** 23,27 **** are created using csv_dialect with a list of specifications outlined in csv.q. ! - sreadcsv reads a CSV formated string and converts it to a tuple of fields according to the dialect specified. If no dialect is specified, conversion is performed using RFC 4180 rules (http://www.ietf.org/rfc/rfc4180.txt). --- 23,27 ---- are created using csv_dialect with a list of specifications outlined in csv.q. ! - sreadcsv reads a CSV formatted string and converts it to a tuple of fields according to the dialect specified. If no dialect is specified, conversion is performed using RFC 4180 rules (http://www.ietf.org/rfc/rfc4180.txt). *************** *** 30,34 **** - swritecsv converts a tuple of fields, which includes only strings, integers, ! and floats to a CSV formated string according to the dialect specified. If no dialect is specified, conversion is performed using RFC 4180 rules (http://www.ietf.org/rfc/rfc4180.txt). Tuples that are not strings, integers, --- 30,34 ---- - swritecsv converts a tuple of fields, which includes only strings, integers, ! and floats to a CSV formatted string according to the dialect specified. If no dialect is specified, conversion is performed using RFC 4180 rules (http://www.ietf.org/rfc/rfc4180.txt). Tuples that are not strings, integers, *************** *** 56,60 **** provided to convert between entire CSV files and lists of tuples. Note that these require that the entire data fits into RAM and will thus be inefficient ! for huge datasets. NOTES --- 56,60 ---- provided to convert between entire CSV files and lists of tuples. Note that these require that the entire data fits into RAM and will thus be inefficient ! for huge datasets. NOTES Index: csv.q =================================================================== RCS file: /cvsroot/q-lang/q-csv/csv.q,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** csv.q 25 Jan 2008 22:09:47 -0000 1.15 --- csv.q 11 Feb 2008 02:31:30 -0000 1.16 *************** *** 42,48 **** csv_quote: Quote character. Defaults to "\"". Note: If embedded quotes are doubled, csv_escape must equal ! csv_quote. The csv_dialect function will automatically set ! the csv_escape character to csv_quote if csv_escape is not ! specified. csv_quoting: Quoting options: Defaults to csv_quote_strings. --- 42,48 ---- csv_quote: Quote character. Defaults to "\"". Note: If embedded quotes are doubled, csv_escape must equal ! csv_quote. The csv_dialect function will ! automatically set the csv_escape character to ! csv_quote if csv_escape is not specified. csv_quoting: Quoting options: Defaults to csv_quote_strings. *************** *** 52,60 **** csv_skipspace: Skip white space flag. Defaults to true. ! Reading/Writing: If true, white spaces before fields are removed. ! Quoted fields always retain white space. */ ! public type DialectOption = const csv_delimiter, csv_escape, csv_quote, csv_quoting, ! csv_lineterminator, csv_skipspace; /* QuoteStyle constants used by csv quoting. --- 52,61 ---- csv_skipspace: Skip white space flag. Defaults to true. ! Reading/Writing: If true, white spaces before fields are ! removed. Quoted fields always retain ! white space. */ ! public type DialectOption = const csv_delimiter, csv_escape, csv_quote, ! csv_quoting, csv_lineterminator, csv_skipspace; /* QuoteStyle constants used by csv quoting. *************** *** 64,68 **** terminators, or escaped quotes are quoted. */ ! public type QuoteStyle = const csv_quote_all, csv_quote_strings, csv_quote_none; /* Defaults are set to RFC 4180 (http://www.ietf.org/rfc/rfc4180.txt) */ --- 65,70 ---- terminators, or escaped quotes are quoted. */ ! public type QuoteStyle = const csv_quote_all, csv_quote_strings, ! csv_quote_none; /* Defaults are set to RFC 4180 (http://www.ietf.org/rfc/rfc4180.txt) */ *************** *** 82,87 **** $ foldl insert (insert DEFAULTS (csv_escape, D!csv_quote)) $ Opts ! if (member D csv_quote) and then (not member D csv_escape) ! where D = dict Opts; = tuple $ vals $ foldl insert DEFAULTS $ Opts; --- 84,89 ---- $ foldl insert (insert DEFAULTS (csv_escape, D!csv_quote)) $ Opts ! if (member D csv_quote) and then (not member D csv_escape) ! where D = dict Opts; = tuple $ vals $ foldl insert DEFAULTS $ Opts; *************** *** 107,111 **** = tuple_to_csvstr RFC4180 Rec; ! /* Convert a list of tuples to a list of CSV formated strings. */ public swritecsvlist ARGS; swritecsvlist (Dialect:Tuple, L:List) --- 109,113 ---- = tuple_to_csvstr RFC4180 Rec; ! /* Convert a list of tuples to a list of CSV formatted strings. */ public swritecsvlist ARGS; swritecsvlist (Dialect:Tuple, L:List) *************** *** 127,131 **** = csvstr_to_tuple RFC4180 Rec; ! /* Convert a list of CSV formated strings to a list of tuples */ public sreadcsvlist ARGS; sreadcsvlist (L:List, Dialect:Tuple) --- 129,133 ---- = csvstr_to_tuple RFC4180 Rec; ! /* Convert a list of CSV formatted strings to a list of tuples */ public sreadcsvlist ARGS; sreadcsvlist (L:List, Dialect:Tuple) |
From: Albert G. <ag...@us...> - 2008-02-11 02:15:06
|
Update of /cvsroot/q-lang/q-csv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9029 Modified Files: csv.c Log Message: convert quote delimiter to system encoding Index: csv.c =================================================================== RCS file: /cvsroot/q-lang/q-csv/csv.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** csv.c 25 Jan 2008 22:09:46 -0000 1.15 --- csv.c 11 Feb 2008 02:15:00 -0000 1.16 *************** *** 55,61 **** return __FAIL; ! if (!(s = bf = (char *)malloc(sz))) return __ERROR; n_qt_s = strlen(qt_s); while (1) { --- 55,66 ---- return __FAIL; ! if (!(qt_s = from_utf8(qt_s, NULL))) return __ERROR; + if (!(s = bf = (char *)malloc(sz))) { + free(qt_s); + return __ERROR; + } + n_qt_s = strlen(qt_s); while (1) { *************** *** 63,67 **** if (n + BSIZE > sz) { if (!(tb = realloc(bf, sz <<= 1))) { ! free(bf); return __ERROR; } --- 68,72 ---- if (n + BSIZE > sz) { if (!(tb = realloc(bf, sz <<= 1))) { ! free(bf); free(qt_s); return __ERROR; } *************** *** 70,74 **** fgets(s, BSIZE, fp); if (ferror(fp)) { ! free(bf); return __ERROR; } --- 75,79 ---- fgets(s, BSIZE, fp); if (ferror(fp)) { ! free(bf); free(qt_s); return __ERROR; } *************** *** 88,92 **** fini: s = to_utf8(bf, NULL); ! free(bf); return mkstr(s); } --- 93,97 ---- fini: s = to_utf8(bf, NULL); ! free(bf); free(qt_s); return mkstr(s); } |
From: Albert G. <ag...@us...> - 2008-02-10 01:19:02
|
Update of /cvsroot/q-lang/pd-qext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21264 Modified Files: README Log Message: update installation instructions Index: README =================================================================== RCS file: /cvsroot/q-lang/pd-qext/README,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** README 18 Oct 2007 19:12:12 -0000 1.8 --- README 10 Feb 2008 01:18:58 -0000 1.9 *************** *** 3,7 **** ===== = ======== === == ! Copyright (c) 2006-2007 by Albert Graef, Johannes Gutenberg University Mainz, Germany. This software is distributed under the GNU General Public License (GPL) Version 2 or later (see the COPYING file for details). --- 3,7 ---- ===== = ======== === == ! Copyright (c) 2006-2008 by Albert Graef, Johannes Gutenberg University Mainz, Germany. This software is distributed under the GNU General Public License (GPL) Version 2 or later (see the COPYING file for details). *************** *** 31,41 **** Run `make && sudo make install'. This has only been tested on Linux so far, ! but porting to other systems should be a piece of cake. You must make sure ! that you get the installation prefix right, so that it matches the ! installation prefix of Pd and Q. The default installation prefix is ! /usr/local; if necessary, you can either change the prefix=... line in the ! Makefile or pass the prefix=... option when invoking make. E.g., to install ! the package under /usr, do a `make prefix=/usr && sudo make prefix=/usr ! install'. USAGE --- 31,50 ---- Run `make && sudo make install'. This has only been tested on Linux so far, ! but porting to other systems should be a piece of cake. ! ! You must make sure that you get the installation prefix right, so that it ! matches the installation prefix of the Q interpreter. The default installation ! prefix is /usr/local; if necessary, you can either change the prefix=... line ! in the Makefile or pass the prefix=... option when invoking make. ! ! E.g., to install the package under /usr, do a `make prefix=/usr && sudo make ! prefix=/usr install'. (Make sure to also include the proper setting of prefix ! during compilation; otherwise the QPATH setting of the embedded Q interpreter ! will be wrong and the interpreter won't be able to find its library files.) ! ! By default, it is assumed that Pd also lives under the same installation ! prefix. If this is not the case then you'll have to change the `pdprefix' ! variable accordingly during installation, so that Pd will be able to find the ! external. E.g.: `make install prefix=/usr pdprefix=/usr/local'. USAGE *************** *** 227,230 **** Enjoy! ! October 2007 Albert Graef --- 236,239 ---- Enjoy! ! February 2008 Albert Graef |
From: Albert G. <ag...@us...> - 2008-02-09 21:54:38
|
Update of /cvsroot/q-lang/pd-qext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1243 Modified Files: ChangeLog Log Message: update ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/pd-qext/ChangeLog,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ChangeLog 6 Oct 2007 00:42:24 -0000 1.1 --- ChangeLog 9 Feb 2008 21:54:19 -0000 1.2 *************** *** 1,2 **** --- 1,10 ---- + 2008-02-09 Albert Graef <Dr....@t-...> + + * Makefile: allow separate setting for Pd install prefix + + You can now specify different install prefixes for Q and Pd like + so: make install prefix=/usr pdprefix=/usr/local. By default, + pdprefix is still assumed to be the same as prefix. + 2007-10-06 Albert Graef <Dr....@t-...> |
From: Albert G. <ag...@us...> - 2008-02-09 21:42:50
|
Update of /cvsroot/q-lang/pd-qext In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28760 Modified Files: Makefile Log Message: allow separate setting for Pd install prefix Index: Makefile =================================================================== RCS file: /cvsroot/q-lang/pd-qext/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile 6 Oct 2007 01:58:46 -0000 1.7 --- Makefile 9 Feb 2008 21:42:45 -0000 1.8 *************** *** 23,35 **** # (only for Linux/OSX) ! # XXXFIXME: This currently requires that both Pd and Q live under the same ! # prefix. Must do something more clever here sometime. #prefix=/usr prefix=/usr/local install: ! mkdir -p $(DESTDIR)$(prefix)/lib/pd/extra/q ! cp COPYING README Makefile q-help.pd q.c q.pd_* $(DESTDIR)$(prefix)/lib/pd/extra/q mkdir -p $(DESTDIR)$(prefix)/share/q/lib cp pd.q pdext.q $(DESTDIR)$(prefix)/share/q/lib --- 23,39 ---- # (only for Linux/OSX) ! # Make sure that this is set to the install prefix of the Q interpreter. #prefix=/usr prefix=/usr/local + # If Pd lives elsewhere, you can tell the install procedure by setting this + # variable accordingly. + + pdprefix=$(prefix) + install: ! mkdir -p $(DESTDIR)$(pdprefix)/lib/pd/extra/q ! cp COPYING README Makefile q-help.pd q.c q.pd_* $(DESTDIR)$(pdprefix)/lib/pd/extra/q mkdir -p $(DESTDIR)$(prefix)/share/q/lib cp pd.q pdext.q $(DESTDIR)$(prefix)/share/q/lib *************** *** 38,42 **** uninstall: ! rm -rf $(DESTDIR)$(prefix)/lib/pd/extra/q for x in pd.q pdext.q; do rm -f $(DESTDIR)$(prefix)/share/q/lib/$$x; done rm -f $(DESTDIR)$(prefix)/lib/q/pd.* --- 42,46 ---- uninstall: ! rm -rf $(DESTDIR)$(pdprefix)/lib/pd/extra/q for x in pd.q pdext.q; do rm -f $(DESTDIR)$(prefix)/share/q/lib/$$x; done rm -f $(DESTDIR)$(prefix)/lib/q/pd.* |
From: Albert G. <ag...@us...> - 2008-02-04 23:53:49
|
Update of /cvsroot/q-lang/q/doc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24455 Modified Files: q.1 Log Message: fix typo Index: q.1 =================================================================== RCS file: /cvsroot/q-lang/q/doc/q.1,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** q.1 2 Oct 2007 00:34:21 -0000 1.13 --- q.1 4 Feb 2008 23:53:43 -0000 1.14 *************** *** 152,156 **** or .B --paranoid ! prints an excessive amount of diagnostics even for perfectly legals scripts. This is not intended to be used regularly, but may occasionally be useful to check your script for missing declarations or mistyped identifiers. --- 152,156 ---- or .B --paranoid ! prints an excessive amount of diagnostics even for perfectly legal scripts. This is not intended to be used regularly, but may occasionally be useful to check your script for missing declarations or mistyped identifiers. |
From: Albert G. <ag...@us...> - 2008-01-31 07:01:22
|
Update of /cvsroot/q-lang/q-audio In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16564 Modified Files: ChangeLog NEWS README configure.in Log Message: bump version number and update docs Index: README =================================================================== RCS file: /cvsroot/q-lang/q-audio/README,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** README 25 Feb 2006 09:35:20 -0000 1.9 --- README 31 Jan 2008 07:01:18 -0000 1.10 *************** *** 88,93 **** -- - ! You probably have to disable Apple's "smart" preprocessor to get the sources ! to compile. Configure as follows: CFLAGS=-no-cpp-precomp ./configure --prefix=/usr --- 88,93 ---- -- - ! With older OS X versions you might have to disable Apple's "smart" ! preprocessor to get the sources to compile. Configure as follows: CFLAGS=-no-cpp-precomp ./configure --prefix=/usr *************** *** 119,123 **** Enjoy! :) ! September 2004 Albert Graef ag...@mu..., Dr....@t-... --- 119,123 ---- Enjoy! :) ! January 2008 Albert Graef ag...@mu..., Dr....@t-... Index: NEWS =================================================================== RCS file: /cvsroot/q-lang/q-audio/NEWS,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** NEWS 5 Oct 2007 09:34:23 -0000 1.11 --- NEWS 31 Jan 2008 07:01:18 -0000 1.12 *************** *** 1,2 **** --- 1,3 ---- + 01-31-00 V2.6 add audio_in/audio_out convenience functions 10-05-07 V2.5 audio_player now installs into <prefix>/share/q/apps 02-25-06 V2.4 update for Q 7.0 Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/q-audio/ChangeLog,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ChangeLog 5 Oct 2007 09:34:23 -0000 1.21 --- ChangeLog 31 Jan 2008 07:01:18 -0000 1.22 *************** *** 1,2 **** --- 1,9 ---- + 2008-01-31 Albert Graef <Dr....@t-...> + + + Release 2.6 + + * src/audio.q: add audio_in/audio_out convenience functions to + determine alternate audio input/output devices + 2007-10-05 Albert Graef <Dr....@t-...> Index: configure.in =================================================================== RCS file: /cvsroot/q-lang/q-audio/configure.in,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** configure.in 5 Oct 2007 09:34:23 -0000 1.14 --- configure.in 31 Jan 2008 07:01:18 -0000 1.15 *************** *** 2,6 **** AC_INIT(src/audio.q) AM_CONFIG_HEADER(config.h) ! AM_INIT_AUTOMAKE(q-audio, 2.5) AM_MAINTAINER_MODE AC_CANONICAL_HOST --- 2,6 ---- AC_INIT(src/audio.q) AM_CONFIG_HEADER(config.h) ! AM_INIT_AUTOMAKE(q-audio, 2.6) AM_MAINTAINER_MODE AC_CANONICAL_HOST |
From: Albert G. <ag...@us...> - 2008-01-31 07:00:41
|
Update of /cvsroot/q-lang/q-audio/examples In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16488 Modified Files: audio_examp.q Log Message: add audio_in/audio_out convenience functions Index: audio_examp.q =================================================================== RCS file: /cvsroot/q-lang/q-audio/examples/audio_examp.q,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** audio_examp.q 25 Jun 2005 04:41:24 -0000 1.12 --- audio_examp.q 31 Jan 2008 07:00:37 -0000 1.13 *************** *** 6,13 **** /* Config section. ***********************************************************/ ! /* Audio input and output devices. Device 0 should always be available (and is ! usually the default). Change this for your local setup as needed. (You can ! display the drivers and devices available on your system with the ! audio_drivers and audio_devices functions of the audio module.) */ //def AUDIO_IN = 0, AUDIO_OUT = 0; --- 6,19 ---- /* Config section. ***********************************************************/ ! /* Provide reasonable defaults for the audio input and output devices. This ! will pick Jack if it is available. You can also set the Q_AUDIO_INPUT and ! Q_AUDIO_OUTPUT environment variables, see audio.q for details. */ ! ! def AUDIO_IN = audio_in, AUDIO_OUT = audio_out; ! ! /* Uncomment the following to set the devices explicitly. Device 0 should ! always be available. You can display the drivers and devices available on ! your system with the audio_drivers and audio_devices functions of the audio ! module. */ //def AUDIO_IN = 0, AUDIO_OUT = 0; |
From: Albert G. <ag...@us...> - 2008-01-31 07:00:21
|
Update of /cvsroot/q-lang/q-audio/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16447 Modified Files: audio.q audio_player.q Log Message: add audio_in/audio_out convenience functions Index: audio.q =================================================================== RCS file: /cvsroot/q-lang/q-audio/src/audio.q,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** audio.q 19 Sep 2004 23:47:29 -0000 1.5 --- audio.q 31 Jan 2008 07:00:16 -0000 1.6 *************** *** 87,90 **** --- 87,105 ---- audio_active = islist audio_devices; + /* Convenience functions to determine alternate input/output devices. These + first inspect the Q_AUDIO_IN and Q_AUDIO_OUT environment variables. If + these are set to integers, the corresponding entries in the audio_devices + list will be used. Alternatively, you can also specify a shell glob pattern + matching the device name instead; thus, e.g., "SBLive*" will match the ALSA + device for a SoundBlaster Live. If no device can be found that way, we look + for JACK and use its default input/output ports if we can. Failing that, we + just pick the first devices with a nonzero number of input/output ports. If + this also fails, the PortAudio defaults (AUDIO_IN, AUDIO_OUT) are used. You + can employ these functions to provide reasonable defaults for the input/ + output devices in your program as follows: + def (AUDIO_IN,AUDIO_OUT) = (audio_in,audio_out); */ + + public audio_in, audio_out; + /* Audio stream objects. These are returned by the open_audio_stream function and used by the other functions. */ *************** *** 154,155 **** --- 169,229 ---- public extern audio_stream_readable AS; public extern audio_stream_writeable AS; + + /* Implementation of audio_in/audio_out functions. */ + + from system import getenv; + + private default_in, default_out, jack_devs, in_dev_ok, out_dev_ok, find P Xs; + + audio_in + where S:String = getenv "Q_AUDIO_IN", DEVS = audio_devices: + = ID where VAL:Int = val S, ID:Int = (DEVS!VAL)!1; + = (DEVS!ID)!1 if ID>=0 + where ID = find (fnmatch S.(!0)) DEVS; + otherwise: = default_in; + + audio_out + where S:String = getenv "Q_AUDIO_OUT", DEVS = audio_devices: + = ID where VAL:Int = val S, ID:Int = (DEVS!VAL)!1; + = (DEVS!ID)!1 if ID>=0 + where ID = find (fnmatch S.(!0)) DEVS; + otherwise: = default_out; + + default_in = DEVS!ID if ID>=0 + where DEVS = jack_devs, ID = find in_dev_ok DEVS; + = DEVS!ID if ID>=0 + where DEVS = [0..#audio_devices-1], + ID = find in_dev_ok DEVS; + = AUDIO_IN otherwise; + + default_out = DEVS!ID if ID>=0 + where DEVS = jack_devs, ID = find out_dev_ok DEVS; + = DEVS!ID if ID>=0 + where DEVS = [0..#audio_devices-1], + ID = find out_dev_ok DEVS; + = AUDIO_OUT otherwise; + + jack_devs = cat (map (!2) DRVS) + where DRVS = filter ((=12).(!1)) audio_drivers; + + in_dev_ok (_,_,N,_,_) + = N>0; + in_dev_ok ID:Int + = in_dev_ok (audio_devices!ID); + in_dev_ok _ = false otherwise; + + out_dev_ok (_,_,_,M,_) + = M>0; + out_dev_ok ID:Int + = out_dev_ok (audio_devices!ID); + out_dev_ok _ = false otherwise; + + private find_loop N P Xs; + + find P Xs = find_loop 0 P Xs; + + find_loop N P [] + = -1; + find_loop N P [X|Xs] + = N if P X; + = find_loop (N+1) P Xs otherwise; Index: audio_player.q =================================================================== RCS file: /cvsroot/q-lang/q-audio/src/audio_player.q,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** audio_player.q 27 Jan 2008 10:17:34 -0000 1.13 --- audio_player.q 31 Jan 2008 07:00:16 -0000 1.14 *************** *** 30,33 **** --- 30,37 ---- import audio, sndfile, wave, tk, ggi; + /* Provide a reasonable default for AUDIO_OUT. */ + + def AUDIO_OUT = audio_out; + /* The main entry point. NAME is the name of the sound file to be played. */ |
From: Albert G. <ag...@us...> - 2008-01-29 01:10:29
|
Update of /cvsroot/q-lang/qt-q In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31931 Modified Files: ChangeLog Makefile NEWS Log Message: bump version number and update docs Index: NEWS =================================================================== RCS file: /cvsroot/q-lang/qt-q/NEWS,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NEWS 8 Dec 2007 08:55:43 -0000 1.5 --- NEWS 29 Jan 2008 01:09:55 -0000 1.6 *************** *** 1,3 **** --- 1,7 ---- + * 1.4 January 2008 + + Bugfix in module finalization code. + * 1.3 December 2007 Index: Makefile =================================================================== RCS file: /cvsroot/q-lang/qt-q/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 8 Dec 2007 08:51:25 -0000 1.5 --- Makefile 29 Jan 2008 01:09:55 -0000 1.6 *************** *** 5,9 **** # version number: ! version = 1.3 dist = qt-q-$(version) --- 5,9 ---- # version number: ! version = 1.4 dist = qt-q-$(version) Index: ChangeLog =================================================================== RCS file: /cvsroot/q-lang/qt-q/ChangeLog,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ChangeLog 11 Dec 2007 09:09:09 -0000 1.15 --- ChangeLog 29 Jan 2008 01:09:55 -0000 1.16 *************** *** 1,2 **** --- 1,8 ---- + 2008-01-27 Albert Graef <Dr....@t-...> + + + Release 1.4 + + * src/smokeqt.i: bugfix in finalization code + 2007-12-08 Albert Graef <Dr....@t-...> |
From: Albert G. <ag...@us...> - 2008-01-27 10:17:37
|
Update of /cvsroot/q-lang/q-audio/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17674 Modified Files: audio_player.q Log Message: revert bogus changes Index: audio_player.q =================================================================== RCS file: /cvsroot/q-lang/q-audio/src/audio_player.q,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** audio_player.q 27 Jan 2008 10:15:41 -0000 1.12 --- audio_player.q 27 Jan 2008 10:17:34 -0000 1.13 *************** *** 1,4 **** ! #!c:/progra~1/Qpad/bin/q -- ! #! -pc:/progra~1/Qpad/apps/audio_player; #! -c main ARGS --- 1,4 ---- ! #!/usr/local/bin/q -- ! #! -p/usr/local/share/q/apps/audio_player: #! -c main ARGS |
From: Albert G. <ag...@us...> - 2008-01-27 10:15:46
|
Update of /cvsroot/q-lang/q-audio/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16848 Modified Files: Makefile.mingw audio_player.q Log Message: Windows compatibility fixes Index: Makefile.mingw =================================================================== RCS file: /cvsroot/q-lang/q-audio/src/Makefile.mingw,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile.mingw 25 Feb 2006 08:42:42 -0000 1.5 --- Makefile.mingw 27 Jan 2008 10:15:41 -0000 1.6 *************** *** 7,11 **** SHLEXT = .dll ! DEFS = -DHAVE_MEMCPY=1 -DHAVE_STRDUP=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DRETSIGTYPE=void -DMUST_REINSTALL_SIGHANDLERS=1 .PHONY: all clean mostlyclean distclean maintainer-clean --- 7,11 ---- SHLEXT = .dll ! DEFS = -DHAVE_MEMCPY=1 -DHAVE_STRDUP=1 -DHAVE_ASINH=1 -DHAVE_ACOSH=1 -DHAVE_ATANH=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DRETSIGTYPE=void -DMUST_REINSTALL_SIGHANDLERS=1 .PHONY: all clean mostlyclean distclean maintainer-clean Index: audio_player.q =================================================================== RCS file: /cvsroot/q-lang/q-audio/src/audio_player.q,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** audio_player.q 5 Oct 2007 09:34:23 -0000 1.11 --- audio_player.q 27 Jan 2008 10:15:41 -0000 1.12 *************** *** 1,4 **** ! #!/usr/local/bin/q -- ! #! -p/usr/local/share/q/apps/audio_player: #! -c main ARGS --- 1,4 ---- ! #!c:/progra~1/Qpad/bin/q -- ! #! -pc:/progra~1/Qpad/apps/audio_player; #! -c main ARGS |
From: Albert G. <ag...@us...> - 2008-01-27 10:06:43
|
Update of /cvsroot/q-lang/q-openal/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13140/src Modified Files: Makefile.mingw Log Message: Windows compatibility fixes Index: Makefile.mingw =================================================================== RCS file: /cvsroot/q-lang/q-openal/src/Makefile.mingw,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.mingw 27 Jan 2008 09:35:49 -0000 1.3 --- Makefile.mingw 27 Jan 2008 10:06:39 -0000 1.4 *************** *** 10,14 **** openal_wrap.c openal.q: openal.i ! swig $(DEFS) -q -I/MinGW/include -noextern openal.i clean: --- 10,14 ---- openal_wrap.c openal.q: openal.i ! swig $(DEFS) -q -I../../openal/include -noextern openal.i clean: |
From: Albert G. <ag...@us...> - 2008-01-27 10:05:17
|
Update of /cvsroot/q-lang/q-openal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12693 Modified Files: INSTALL Log Message: update installation instructions Index: INSTALL =================================================================== RCS file: /cvsroot/q-lang/q-openal/INSTALL,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** INSTALL 27 Jan 2008 09:35:09 -0000 1.4 --- INSTALL 27 Jan 2008 10:05:12 -0000 1.5 *************** *** 39,52 **** ------- ! A compiled version of this module is included in the Qpad MSI package. ! To run this, you'll also have to install the OpenAL dlls. These are ! available as an installer program on Creative's OpenAL page, see ! http://www.openal.org/downloads.html for details. To compile on Windows you'll need a recent version of MinGW and MSys from www.mingw.org, as well as some Q-related development stuff contained in the ! Qpad package. OpenAL/ALUT 1.1 import libraries for mingw don't appear to be ! available on the net yet, so I made them available in the Q Windows source ! archive (Q-x.y-Win32.zip). In the src directory, run "make -f Makefile.mingw realclean", then "make -f --- 39,54 ---- ------- ! A compiled version of this module is included in the Qpad MSI package. This ! now also includes the 1.1 OpenAL and ALUT dlls, so you don't have to install ! these separately any more. To compile on Windows you'll need a recent version of MinGW and MSys from www.mingw.org, as well as some Q-related development stuff contained in the ! Qpad package. OpenAL/ALUT 1.1 headers and import libraries for mingw don't ! appear to be available on the net yet, so I made them available in the Windows ! source (Q-x.y-Win32.zip). (You can also roll your own import libraries from ! openal32.dll and alut.dll using MinGW's pexports and dlltool utilities, and ! grab the header files from the OpenAL 1.1 Windows SDK available at ! http://www.openal.org.) In the src directory, run "make -f Makefile.mingw realclean", then "make -f |