From 8569ae76989ed426b453bd3151a796f9bad85411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 6 Apr 1998 17:48:10 +0200 Subject: [PATCH] Added copyright info (GPL). Rev: lib/modules/Protocols.pmod/X.pmod/AUTHORS:1.1 Rev: lib/modules/Protocols.pmod/X.pmod/Atom.pmod:1.3 Rev: lib/modules/Protocols.pmod/X.pmod/Auth.pmod:1.2 Rev: lib/modules/Protocols.pmod/X.pmod/Extensions.pmod:1.6 Rev: lib/modules/Protocols.pmod/X.pmod/Requests.pmod:1.24 Rev: lib/modules/Protocols.pmod/X.pmod/Types.pmod:1.29 Rev: lib/modules/Protocols.pmod/X.pmod/XImage.pmod:1.8 Rev: lib/modules/Protocols.pmod/X.pmod/XTools.pmod:1.3 Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.30 Rev: lib/modules/Protocols.pmod/X.pmod/_Types.pmod:1.2 Rev: lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod:1.12 --- .gitattributes | 10 ++++++ lib/modules/Protocols.pmod/X.pmod/AUTHORS | 31 +++++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/Atom.pmod | 27 +++++++++++++++- lib/modules/Protocols.pmod/X.pmod/Auth.pmod | 26 ++++++++++++++++ .../Protocols.pmod/X.pmod/Extensions.pmod | 30 +++++++++++++++++- .../Protocols.pmod/X.pmod/Requests.pmod | 26 ++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/Types.pmod | 26 ++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/XImage.pmod | 30 ++++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/XTools.pmod | 26 ++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/Xlib.pmod | 26 ++++++++++++++++ lib/modules/Protocols.pmod/X.pmod/_Types.pmod | 30 +++++++++++++++++- lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod | 29 ++++++++++++++++- 12 files changed, 313 insertions(+), 4 deletions(-) create mode 100644 lib/modules/Protocols.pmod/X.pmod/AUTHORS diff --git a/.gitattributes b/.gitattributes index 7624c855ce..83c042cf3e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -38,6 +38,16 @@ testfont binary /lib/modules/LR.pmod/scanner.pike foreign_ident /lib/modules/MIME.pmod foreign_ident /lib/modules/Protocols.pmod/TELNET.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Atom.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Auth.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Extensions.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Requests.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Types.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/XImage.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/XTools.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/Xlib.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/_Types.pmod foreign_ident +/lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod foreign_ident /lib/modules/SSL.pmod/alert.pike foreign_ident /lib/modules/SSL.pmod/cipher.pike foreign_ident /lib/modules/SSL.pmod/connection.pike foreign_ident diff --git a/lib/modules/Protocols.pmod/X.pmod/AUTHORS b/lib/modules/Protocols.pmod/X.pmod/AUTHORS new file mode 100644 index 0000000000..7aadd1736e --- /dev/null +++ b/lib/modules/Protocols.pmod/X.pmod/AUTHORS @@ -0,0 +1,31 @@ +Who wrote what in px? [Updated 1998-04-06 by nisse] + +Atom.pmod: nisse +Auth.pmod: nisse +Extensions.pmod: cardeci +GUG.pmod: nisse +Requests.pmod: nisse, cardeci, marcus, neotron +_Types.pmod: nisse +Types.pmod: nisse, cardeci, marcus +Widgets.pmod: nisse +XImage.pmod: cardeci, nisse +XTools.pmod: nisse +_Xlib: nisse, cardeci +Xlib.pmod: nisse, cardeci, marcus, mirar, neotron + +gug_button.pike: nisse +gug_hbox.pike: nisse +gug_image.pike: nisse +gug_table.pike: nisse + +programs/imageblit.pike: cardeci +programs/pertest.pike: cardeci +programs/quitp.pike: cardeci + +Cast: + +nisse is Niels Möller, nisse@idonex.se +cardeci is Per Hedbor, per@idonex.se +neotron is David Hedbor, neotron@idonex.se +mirar is Pontus Hagland, mirar@idonex.se +marcus is Marcus Comstedt, marcus@idonex.se diff --git a/lib/modules/Protocols.pmod/X.pmod/Atom.pmod b/lib/modules/Protocols.pmod/X.pmod/Atom.pmod index 6ffbc4d9dc..37d73e15ea 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Atom.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Atom.pmod @@ -1,9 +1,34 @@ /* Atom.pmod * - * X Atoms + * X Atoms $Id: Atom.pmod,v 1.3 1998/04/06 15:47:48 nisse Exp $ * */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + class Atom { object display; diff --git a/lib/modules/Protocols.pmod/X.pmod/Auth.pmod b/lib/modules/Protocols.pmod/X.pmod/Auth.pmod index ff130f44e2..1e376c401a 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Auth.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Auth.pmod @@ -1,7 +1,33 @@ /* Auth.pmod * + * $Id: Auth.pmod,v 1.2 1998/04/06 15:47:50 nisse Exp $ */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + class auth_file { mapping(int:mapping(string:mapping)) auth = ([]); diff --git a/lib/modules/Protocols.pmod/X.pmod/Extensions.pmod b/lib/modules/Protocols.pmod/X.pmod/Extensions.pmod index 6feb81d553..4ca5644180 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Extensions.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Extensions.pmod @@ -1,4 +1,32 @@ -// Shaped windows. +/* Shaped windows. + * + * $Id: Extensions.pmod,v 1.6 1998/04/06 15:47:52 nisse Exp $ + +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + static class extension { object dpy; diff --git a/lib/modules/Protocols.pmod/X.pmod/Requests.pmod b/lib/modules/Protocols.pmod/X.pmod/Requests.pmod index ca8187e05a..d7e7d4ed01 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Requests.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Requests.pmod @@ -1,7 +1,33 @@ /* Requests.pike * + * $Id: Requests.pmod,v 1.24 1998/04/06 15:47:58 nisse Exp $ */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + #include "error.h" class request diff --git a/lib/modules/Protocols.pmod/X.pmod/Types.pmod b/lib/modules/Protocols.pmod/X.pmod/Types.pmod index 41f5fa2df4..37f909e794 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Types.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Types.pmod @@ -1,7 +1,33 @@ /* Types.pmod * + * $Id: Types.pmod,v 1.29 1998/04/06 15:47:59 nisse Exp $ */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + #include "error.h" class XResource diff --git a/lib/modules/Protocols.pmod/X.pmod/XImage.pmod b/lib/modules/Protocols.pmod/X.pmod/XImage.pmod index 82e1ff99c5..d8467b999e 100644 --- a/lib/modules/Protocols.pmod/X.pmod/XImage.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/XImage.pmod @@ -1,3 +1,33 @@ +/* XImage.pmod + * + * $Id: XImage.pmod,v 1.8 1998/04/06 15:48:02 nisse Exp $ + */ + +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + #include "error.h" // Image --> X module. diff --git a/lib/modules/Protocols.pmod/X.pmod/XTools.pmod b/lib/modules/Protocols.pmod/X.pmod/XTools.pmod index 2b260b4eaa..e822649cfc 100644 --- a/lib/modules/Protocols.pmod/X.pmod/XTools.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/XTools.pmod @@ -1,9 +1,35 @@ /* XTools.pmod + * + * $Id: XTools.pmod,v 1.3 1998/04/06 15:48:04 nisse Exp $ * * Various tools that are higher level than raw X, but are lower level * than widgets. */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ /* Steals and processes mousebutton events */ class Button diff --git a/lib/modules/Protocols.pmod/X.pmod/Xlib.pmod b/lib/modules/Protocols.pmod/X.pmod/Xlib.pmod index 97ec8c4189..f3738547bc 100644 --- a/lib/modules/Protocols.pmod/X.pmod/Xlib.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/Xlib.pmod @@ -1,7 +1,33 @@ /* Xlib.pmod * + * $Id: Xlib.pmod,v 1.30 1998/04/06 15:48:06 nisse Exp $ */ +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + #include "error.h" // #define DEBUG diff --git a/lib/modules/Protocols.pmod/X.pmod/_Types.pmod b/lib/modules/Protocols.pmod/X.pmod/_Types.pmod index 406a4dd4c6..4da5619ae9 100644 --- a/lib/modules/Protocols.pmod/X.pmod/_Types.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/_Types.pmod @@ -1,6 +1,34 @@ /* _Types.pmod * - * Kludge for pike-0.5 */ + * Kludge for pike-0.5 + * + * $Id: _Types.pmod,v 1.2 1998/04/06 15:48:08 nisse Exp $ + */ + +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ program pixmap_class; diff --git a/lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod b/lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod index 5cfbdc31bc..b1f1ec1391 100644 --- a/lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod +++ b/lib/modules/Protocols.pmod/X.pmod/_Xlib.pmod @@ -1,8 +1,35 @@ /* _Xlib.pmod * - * kluge + * $Id: _Xlib.pmod,v 1.12 1998/04/06 15:48:10 nisse Exp $ + * + * Kluge, should be in Xlib.pmod + */ + +/* + * px, a Pike interface to the X Window System + * + * Copyright (C) 1998, Niels Möller, Per Hedbor, Marcus Comstedt, + * Pontus Hagland, David Hedbor. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/* Questions, bug fixes and bug reports can be sent to the pike + * mailing list, pike@idonex.se, or to the athors (see AUTHORS for + * email addresses. */ + object display_re = Regexp("^([^:]*):([0-9]+)(.[0-9]+|)$"); string pad(string s) -- GitLab