created fedora CI tests, test cases from repo file/file-tests

This commit is contained in:
Ondrej Dubaj 2019-03-12 10:21:27 +01:00
parent 048571427e
commit 3fbcbe247e
838 changed files with 17694 additions and 0 deletions

3
tests/file-tests/README Normal file
View File

@ -0,0 +1,3 @@
./prepare.sh
./reference.sh [--mime-type]
./runtest.sh [--mime-type]

View File

@ -0,0 +1,19 @@
cab/cabinet.cab
db/test.db
doc/encrypted.doc
doc/PMD.doc
dump/big-endian-dump
elf/library.so
elf/pie-now.out
elf/pie.out
img/qcow2.img
jpg/xsane-zoom-in.jpg
lnk/windows_link.lnk
pbm/icontopbm-back-from-icon.pbm
so/libaio.so
tar.gz/a.tar.gz
tgz/broken-file.tgz
webm/bunny.webm
xls/encrypted.xls
xls/excel-file.xls
xps/presentation.xps

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,4 @@
AUTHOR: Intra2net <info@intra2net.com>
URL: Created it myself
LICENSE: public domain
NOTE: AppleDouble files appear in folder __MACOSX of zip files created on MacOSX systems with same name and path as the "real" zip file contents

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Intra2net <info@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck
SOURCE: self-created
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck
SOURCE: self-created
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,5 @@
animated cursor from http://www.rw-designer.com/cursor-detail/24909
original file name: 03 Working In Background.ani
license: "Release to PUblic Domain" license ("You are free: To use this work for any legal purpose.")
Published on May 14th 2011 by NesManiac

View File

@ -0,0 +1,20 @@
<script language="vbscript" runat="server">
sub Application_OnStart
Application("status")=1
end sub
sub Session_OnStart
Application("status")=2
end sub
sub Application_OnEnd
Application("status")=3
end sub
sub Session_OnEnd
Application("status")=4
end sub
</script>

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck
URL: None (self-created)
LICENSE: public domain

View File

@ -0,0 +1,97 @@
<!DOCTYPE HTML>
<html lang="en">
<!-- extra lang tag was here --><head>
<title>Web Site Policies and Important Links [NEI Tools]</title>
<meta name="description" content="Eye health information and resources for the public and professionals." />
<meta name="keywords" content="eye, health, research, information" />
<meta name="creator" content="National Eye Institute" />
<meta name="language" content="English" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<script language="javascript" type="text/javascript" src="/js/leavesite.js"></script>
<script type="text/javascript" src="/js/textsize.js"></script>
<script type="text/javascript" src="/js/cookies.js"></script>
<script type="text/javascript" src="/js/jquery.js"></script>
<script src="http://sf1-na.readspeaker.com/script/5823/ReadSpeaker.js?pids=embhl" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/css/Reset.css" />
<link rel="stylesheet" type="text/css" href="/css/BaseStyles.css" />
<link rel="stylesheet" type="text/css" href="/css/nei.css" />
<link rel="stylesheet" type="text/css" href="/css/media.css" />
<link rel="stylesheet" type="text/css" href="/css/dropdown_nav5.css" />
<link rel="stylesheet" type="text/css" media="print" href="/css/print.css" />
<script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script>
<!--google analytics start-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1875828-4']);
_gaq.push(['_setDomainName', '.nei.nih.gov']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
/*Google Analytics Automatic External Link, Downloads, Mailto Tracking- jQuery GA Async Version*/
if (typeof jQuery != 'undefined') {
jQuery(document).ready(function($) {
var filetypes = /\.(zip|exe|pdf|doc|xls|ppt|mp3)$/i;
var baseHref = '';
if (jQuery('base').attr('href') != undefined)
baseHref = jQuery('base').attr('href');
jQuery('a').each(function() {
var href = jQuery(this).attr('href');
if (href && (href.match(/^https?\:/i)) && (!href.match(document.domain))) {
jQuery(this).click(function() {
var extLink = href.replace(/^https?\:\/\//i, '');
_gaq.push(['_trackEvent', 'External', 'Link Click', extLink]);
if (jQuery(this).attr('target') != undefined && jQuery(this).attr('target').toLowerCase() != '_blank') {
setTimeout(function() { location.href = href; }, 200);
return false;
}
});
}
else if (href && href.toLowerCase().match('.*nih.gov.*') && href.toLowerCase().indexOf('nei.nih.gov') == -1) {
jQuery(this).click(function() {
//Exit link tracking for other .nih.gov domains (excludes nei.nih.gov)
var extLink = href.replace(/^https?\:\/\//i, '');
_gaq.push(['_trackEvent', 'External', 'Link Click', extLink]);
});
}
else if (href && href.match(/^mailto\:/i)) {
jQuery(this).click(function() {
var mailLink = href.replace(/^mailto\:/i, '');
_gaq.push(['_trackEvent', 'Email', 'mailto', mailLink]);
});
}
else if (href && href.match(filetypes)) {
jQuery(this).click(function() {
var extension = (/[.]/.exec(href)) ? /[^.]+$/.exec(href) : undefined;
var filePath = href;
_gaq.push(['_trackEvent', 'Download',extension+ ' Click', filePath]);
i

View File

@ -0,0 +1,3 @@
AUTHOR: National Eye Institute
URL: http://www.nei.nih.gov/tools/policies.asp
LICENSE: Public Domain (Courtesy: National Eye Institute, National Institutes of Health (NEI/NIH))

View File

@ -0,0 +1,186 @@
DEFINT A-Z
DECLARE SUB BigTextEnd (SndT, PlyT)
DECLARE SUB BigText (Factor%, S$, Y%, X%, C%)
DECLARE SUB Plot (Num, Y, X)
STACK 512
DIM Grid(20, 20) AS STRING * 1
DIM Colors(3) AS INTEGER
DIM Gcol(20, 20) AS INTEGER
DIM SHARED Text AS INTEGER
DIM SHARED Brick(65, 3)
DIM Pic&(8192)
DIM Temp(5000), TempVar(5000)
DIM SHARED SndT, PlyT
DIM A$(186)
L$ = CHR$(0) + CHR$(75)
R$ = CHR$(0) + CHR$(77)
U$ = CHR$(0) + CHR$(72)
D$ = CHR$(0) + CHR$(80)
F1$ = CHR$(0) + CHR$(59)
F2$ = CHR$(0) + CHR$(60)
F3$ = CHR$(0) + CHR$(61)
F4$ = CHR$(0) + CHR$(62)
PLAY "o0MBL8 "
DATA A16,MN, A2,o1,ML,E4.,D-32,C32,D2
DATA C16,ML,O0,B16,o0,D-16,MN,o1,C,C,o0,B2,A4.,ML,C16,G16
DATA F2,o1,C4.,o0,ML,B16,G16,A-4
DATA A4,B.,o1,MS,C16,MN,D.
DATA o0,ML,G16,B16,MN,o1,E,E,ML,E4,D8,ML,C16,E16,MN,E2
DATA T240
DATA o0,F2,ML,B2,B4,MN,E4,ML,A2
DATA A,MN,D,ML,G2,G4,MN,C4,F2
DATA T120
DATA o0,MS,E4,o1,ML,C2,C8
DATA MN,F8,ML,G16,F16,E16,D16
DATA C2,C8,MN,F8,ML,G16,F16,E16,D16
DATA o1,Co0,G,ML,A16,G16,F16,D16,MN,G,B-,o1,ML,C16,o0,B16,A16,G16,MN,o1,C2.
DATA ML,o0,G,B,o1,D,MN,D,D4,P8,G,G
DATA F+,F,F,E,P8,E-,ML,E,D,D,E,E,D,D,C,MN,C4,ML,o0,B.,A16,B16,MN,A4,P8,A
DATA o0,ML,D,B4.,A,G4,P8,D,B4,A,G4,P8,D,o1,E2.,MS,D,C,o0,B,A,G4,P4,P8,ML,E16
PRINT "Please Wait..."
FOR J = 1 TO 184
READ A$(J)
NEXT J
LOCATE 1, 1: PRINT " "
SndT = 1
PlyT = 1
Com$ = UCASE$(COMMAND$)
IF INSTR(Com$, "NOGR") THEN NoGr = 1
IF INSTR(Com$, "TEXT") THEN
Text = 1
GOTO Txt
END IF
IF Text <> 1 THEN
ON ERROR GOTO Text
IF INSTR(Com$, "MCGA") THEN
SCREEN 13
MCGA = 1
ELSE
SCREEN 9
END IF
ON ERROR GOTO 0
FOR J = 1 TO 3
LINE (1, 1)-(7, 7), J, BF
LINE (1, 1)-(1, 7), 3 + J
LINE (1, 1)-(7, 1), 3 + J
LINE (7, 1)-(7, 7), 8 + J
LINE (7, 7)-(2, 7), 8 + J
GET (1, 1)-(7, 7), Brick(0, J)
NEXT J
IF MCGA <> 1 THEN
PALETTE 4, 8
PALETTE 5, 16
PALETTE 6, 24
ELSE
PALETTE 4, 1376256
PALETTE 5, 5376&
PALETTE 6, 1381632
END IF
CLS
IF MCGA <> 1 THEN
WINDOW (0, 0)-(319, 199)
WIDTH 40
END IF
IF MCGA <> 1 AND NoGr <> 1 THEN
LINE (118, 100)-(208, 112), 15, B
LOCATE 14, 16: PRINT "Please Wait"
GET (119, 101)-(207, 111), Temp
PUT (119, 101), Temp
PAINT (122, 102), 7, 15
PUT (119, 101), Temp, OR
LINE (118, 100)-(208, 112), 8, B
LINE (208, 101)-(208, 112), 15
LINE (119, 112)-(208, 112), 15
ON ERROR GOTO Ferror
OPEN "Piles.NAS" FOR INPUT AS #1
FOR J% = 0 TO 8192
INPUT #1, Pic&(J%)
NEXT J%
CLOSE
END IF
END IF
GOTO Start
Ferror:
RESUME Start:
Text:
RESUME Txt
Txt:
Text = 1
SCREEN 0
WIDTH 40
CLS
Start:
Score& = 0
ON ERROR GOTO 0
IF Text <> 1 THEN
CLS
IF MCGA <> 1 AND NoGr <> 1 THEN
PUT (0, 0), Pic&(0)
COLOR 9
LINE (160, 0)-(160, 160), 9
LINE (0, 160)-(160, 160), 9
END IF
LINE (0, 0)-(159, 159), 0, BF
ELSE
FOR J = 1 TO 24
LOCATE 25, 1
PRINT SPACE$(34);
NEXT J
END IF
RANDOMIZE TIMER
FOR X = 1 TO 20
FOR Y = 1 TO 20
Grid(X, Y) = " "
Gcol(X, Y) = 0
NEXT Y
NEXT X
FOR J = 1 TO 20
LOCATE J, 1
PRINT SPACE$(20)
NEXT J
COLOR 9
LOCATE 1, 25
PRINT "ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿"
LOCATE 2, 25
PRINT "³ S C O R E ³"
LOCATE 3, 25
PRINT "ÃÄÄÄÄÄÄÄÄÄÄÄÄÄ´"
LOCATE 4, 25
PRINT USING "³ ###,###,### ³"; Score
LOCATE 5, 25
PRINT "ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ"
IF Text <> 1 THEN
LINE (197, 6)-(197, 19), 1
LINE (197, 5)-(306, 5), 1
LINE (197, 22)-(197, 35), 1
LINE (197, 21)-(306, 21), 1
LINE (197, 37)-(308, 37), 1
LINE (309, 37)-(309, 5), 1
COLOR 1
LOCATE 2, 26
GET (198, 8)-(305, 15), TempVar
PRINT " S C O R E "
GET (198, 8)-(305, 15), Temp
PUT (199, 9), Temp, OR
PUT (198, 8), TempVar, OR
END IF
LOCATE 6,

View File

@ -0,0 +1,2 @@
taken from https://github.com/cout/vbdos/blob/master/games/piles/PILES.BAS
released into public domain by author "cout"

View File

@ -0,0 +1,85 @@
@echo off
if exist lastmake.mk call clean.bat
if "%1"=="clean" clean.bat
if "%1"=="clean" goto ende
if not x%1==x set LNG=%1
if "%lng%"=="" set LNG=english
echo.
echo Making basic utilities for build process
echo.
cd utils
make -futils.mak all
if errorlevel 1 goto ende
cd ..
echo.
echo Making STRINGS resource
echo.
cd strings
if exist mkSTRLIB.Bat del mkSTRLIB.Bat >NUL
make -fstrings.mak -DLNG=%LNG% all
if errorlevel 1 goto ende
if exist mkSTRLIB.Bat call mkSTRLIB.Bat
if errorlevel 1 goto ende
if exist mkSTRLIB.Bat del mkSTRLIB.Bat >NUL
cd ..
echo.
echo Making CRITER resource
echo.
cd criter
make -fcriter.mak all
if errorlevel 1 goto ende
cd ..
echo.
echo Making misc library
echo.
cd lib
make -flib.mak all
if errorlevel 1 goto ende
cd ..
echo.
echo Making commands library
echo.
cd cmd
make -fcmd.mak all
if errorlevel 1 goto ende
cd ..
echo.
echo Making COMMAND.COM
echo.
cd shell
make -fcommand.mak all
if errorlevel 1 goto ende
cd ..
utils\mkinfres.exe infores shell\command.map shell\command.exe
copy /b shell\command.exe + infores + criter\criter1 + criter\criter + strings\strings.dat command.com
if not exist command.com goto ende
echo.
echo Making supplemental tools
echo.
cd tools
type tools.m1 >tools.mak
..\utils\mktools.exe >>tools.mak
type tools.m2 >>tools.mak
make -ftools.mak all
if errorlevel 1 goto ende
cd ..
echo.
echo Patching heap size to 6KB
echo.
tools\ptchsize.exe command.com +6KB
echo.
echo All done. COMMAND.COM is ready for useage!
echo.
:ende

View File

@ -0,0 +1,2 @@
URL: ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/command/0.83/com083b26s.zip
License: GPL

BIN
tests/file-tests/db/bin/vax Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: https://github.com/miracle2k/fretsonfire/blob/master/data/win32/installer/InstallerHeader.bmp
LICENSE: GPL

View File

View File

@ -0,0 +1,3 @@
AUTHOR: Thomas Jarosch
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,5 @@
Example chm file taken from Ogre3D Wiki
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Compiled+API+Reference
(version 1.7.0, 22 Oct 2010)
License: Creative Commons Attribution-ShareAlike License

View File

@ -0,0 +1,67 @@
@echo off
color 0E
title Conditional Shutdown.
:start
echo Welcome, %USERNAME%
echo What would you like to do?
echo.
echo 1. Shut down within specified number of minutes
echo 2. Shut down at a specified time
echo 3. Shut down now
echo 4. Restart now
echo 5. Log off now
echo 6. Hibernate now
echo 7. Cancel shutdown
echo.
echo 0. Quit
echo.
set /p choice="Enter your choice: "
if "%choice%"=="1" goto shutdown
if "%choice%"=="2" goto shutdown-clock
if "%choice%"=="3" shutdown.exe -s -f
if "%choice%"=="4" shutdown.exe -r -f
if "%choice%"=="5" shutdown.exe -l -f
if "%choice%"=="6" shutdown.exe -h -f
if "%choice%"=="7" goto cancel_now
if "%choice%"=="0" exit
echo Invalid choice: %choice%
echo.
pause
cls
goto start
:shutdown
cls
set /p min="Minutes until shutdown: "
set /a sec=60*%min%
shutdown.exe -s -f -t %sec%
echo Shutdown initiated at %time%
echo.
goto cancel
:shutdown-clock
echo.
echo The time format is HH:MM:SS (24 hour time)
echo Example: 14:30:00 for 2:30 PM
echo.
set /p tmg=Enter the time at which you wish the computer to shut down:
schtasks.exe /create /sc ONCE /tn shutdown /st %tmg% /tr "shutdown.exe -s -t 00"
echo Shutdown initiated at %tmg%
echo.
:cancel
set /p cancel="Type cancel to stop shutdown: "
if not "%cancel%"=="cancel" exit
:cancel_now
shutdown.exe -a
cls
schtasks.exe /end /tn shutdown
cls
schtasks.exe /delete /tn shutdown
cls
echo Any impending shutdown has been cancelled.
echo.
pause
exit

View File

@ -0,0 +1,3 @@
AUTHOR: wikipedia
URL: http://en.wikipedia.org/wiki/Batch_file
LICENSE: Creative Commons Attribution-ShareAlike

View File

@ -0,0 +1,8 @@
:Base help-contents.hlp>proc4
:Title Hilfe zu Hilfeninhaltsangaben
:Index Hilfe zu Hilfeninhaltsangaben=help-contents.hlp
1 Inhaltsangabe von Hilfedateien
2 Unterpunkt1=HELP_CONTENTS_1
2 Unterpunkt2=HELP_CONTENTS_2
2 Unterpunkt3=HELP_CONTENTS_3
2 Unterpunkt4=HELP_CONTENTS_4

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck
URL: None (self-created)
LICENSE: Public domain

Binary file not shown.

View File

@ -0,0 +1,2 @@
URL: ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/command/0.83/com083b26x.zip
License: GPL

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Alexander Vigovsky
URL: http://ac3filter.sourceforge.net/ac3filter_eng.html
LICENSE: GNU General Public Licence v2

View File

@ -0,0 +1,184 @@
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) 1998-2009 by Kongsberg SIM. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ("GPL") version 2 as published by the Free Software Foundation.
* See the file LICENSE.GPL at the root directory of this source
* distribution for additional information about the GNU GPL.
*
* For using Coin with software that can not be combined with the GNU
* GPL, and for taking advantage of the additional benefits of our
* support services, please contact Kongsberg SIM about acquiring
* a Coin Professional Edition License.
*
* See http://www.coin3d.org/ for more information.
*
* Kongsberg SIM, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
* http://www.sim.no/ sales@sim.no coin-support@coin3d.org
*
\**************************************************************************/
#include <Inventor/SbClip.h>
#include <Inventor/SbVec2f.h>
#include <Inventor/SbPlane.h>
#include <cstdio>
#include <cassert>
/*!
\class SbClip SbClip.h include/Inventor/base/SbClip.h
\brief The SbClip class is a generic polygon clipper class.
\ingroup base
It is used by first adding all vertices in the polygon, and then
clipping against any number of planes. If you need to supply
additional information per vertex (e.g. texture coordinates), you
should supply a callback in the constructor, and a pointer to your
vertex structure in addVertex(). For every new vertex created, the
callback is called with the line being clipped, including the
pointers to your vertex structures and the position of the new
(clipped against some plane) vertex. You should then create a new
vertex structure, calculate your data (e.g. a new texture
coordinate) and return a pointer to this structure.
\COIN_CLASS_EXTENSION
\since Coin 2.0
*/
// FIXME: a small usage example would do wonders for the class
// doc. 20020120 mortene.
/*!
A constructor. Supply a callback if you need to handle additional
data per vertex.
*/
SbClip::SbClip(SbClipCallback * callback, void * userdata)
: callback(callback),
cbdata(userdata),
curr(0)
{
}
/*!
Adds a polygon vertex. \a vdata could be a pointer to your
vertex structure.
*/
void
SbClip::addVertex(const SbVec3f &v, void * vdata)
{
this->array[this->curr].append(SbClipData(v, vdata));
}
/*!
Resets the clipper. This should be called before adding any vertices
when reusing an SbClip instance.
*/
void
SbClip::reset(void)
{
this->array[0].truncate(0);
this->array[1].truncate(0);
}
//
// private method, inline only inside this class
//
inline void
SbClip::outputVertex(const SbVec3f & v, void * data)
{
this->array[this->curr ^ 1].append(SbClipData(v, data));
}
/*!
Clip polygon against \a plane. This might change the number of
vertices in the polygon. For each time a new vertex is created, the
callback supplied in the constructor (if != NULL) is called with the
line being clipped and the new vertex calculated. The callback
should return a new void pointer to be stored by the clipper.
*/
void
SbClip::clip(const SbPlane & plane)
{
int n = this->array[this->curr].getLength();
if (n == 0) return;
// create loop
SbClipData dummy = this->array[this->curr][0];
this->array[this->curr].append(dummy);
const SbVec3f & planeN = plane.getNormal();
for (int i = 0; i < n; i++) {
SbVec3f v0, v1;
void * data0, *data1;
this->array[this->curr][i].get(v0, data0);
this->array[this->curr][i+1].get(v1, data1);
float d0 = plane.getDistance(v0);
float d1 = plane.getDistance(v1);
if (d0 >= 0.0f && d1 < 0.0f) { // exit plane
SbVec3f dir = v1-v0;
// we know that v0 != v1 since we got here
(void) dir.normalize();
float dot = dir.dot(planeN);
SbVec3f newvertex = v0 - dir * (d0/dot);
void * newdata = NULL;
if (this->callback) {
newdata = this->callback(v0, data0, v1, data1, newvertex, this->cbdata);
}
outputVertex(newvertex, newdata);
}
else if (d0 < 0.0f && d1 >= 0.0f) { // enter plane
SbVec3f dir = v1-v0;
// we know that v0 != v1 since we got here
(void) dir.normalize();
float dot = dir.dot(planeN);
SbVec3f newvertex = v0 - dir * (d0/dot);
void * newdata = NULL;
if (this->callback) {
newdata = this->callback(v0, data0, v1, data1, newvertex, this->cbdata);
}
outputVertex(newvertex, newdata);
outputVertex(v1, data1);
}
else if (d0 >= 0.0f && d1 >= 0.0f) { // in plane
outputVertex(v1, data1);
}
}
this->array[this->curr].truncate(0);
this->curr ^= 1;
}
/*!
Returns the number of vertices in the polygon.
\sa SbClip::getVertex()
*/
int
SbClip::getNumVertices(void) const
{
return this->array[this->curr].getLength();
}
/*!
Returns the vertex at index \a idx.
\sa SbClip::getNumVertices()
*/
void
SbClip::getVertex(const int idx, SbVec3f & v, void ** vdata) const
{
v = this->array[this->curr][idx].vertex;
if (vdata) *vdata = this->array[this->curr][idx].data;
}
/*!
Return the vertex data at index \a idx.
*/
void *
SbClip::getVertexData(const int idx) const
{
return this->array[this->curr][idx].data;
}

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: http://fossies.org/dox/Coin-3.1.3/SbClip_8cpp_source.html
LICENSE: GPLv2

View File

@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB+zCCAWQCCQDiQZMQOrZAPTANBgkqhkiG9w0BAQUFADBCMQswCQYDVQQGEwJY
WDEVMBMGA1UEBwwMRGVmYXVsdCBDaXR5MRwwGgYDVQQKDBNEZWZhdWx0IENvbXBh
bnkgTHRkMB4XDTE0MDMyMDEzNTAzOVoXDTE1MDMyMDEzNTAzOVowQjELMAkGA1UE
BhMCWFgxFTATBgNVBAcMDERlZmF1bHQgQ2l0eTEcMBoGA1UECgwTRGVmYXVsdCBD
b21wYW55IEx0ZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA+8FzYRJxNs6X
E9iASuNLXMkhu/kHiB2lN/zV5IAv4q/LOyJcm7kkP3KuXtieCIRZkjXD3ltFiOzI
JHOcUFSPqiRNh08aYQEfP/R2F2KhCmpjbhCL45TiqW8FGJQzFs1vhFcHvRowMEB6
lAZ33qha5UFh3lmHZEs1o6eqv2JLedkCAwEAATANBgkqhkiG9w0BAQUFAAOBgQC2
DTuUTOTc1VpucwI4qlhW4Eba2X6XH73VeyeqYe6BaKM2tu9YGIMUsSBvRFx98VRs
FFBnGbrNvC3V2n+HaMZhMvTZv5WxqWeiqPBYPicIPWYXQr1OdaXCZ3R+BXoNW7KH
I6+HpjzIR9HRSKSXmx2gkgEEPgrjfUCmCv1vDAHO9g==
-----END CERTIFICATE-----

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck, intra2net
URL: None (self-created)
LICENSE: public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,5 @@
cursor from http://www.rw-designer.com/cursor-detail/24909
original file name: Diamond Sword - Normal Select.cur
license: "Release to PUblic Domain" license ("You are free: To use this work for any legal purpose.")
Published on May 6th 2011 by NesManiac

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,2 @@
URL: http://libsdl.org/release/SDL2-2.0.3-win32-x86.zip
License: zlib license

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: http://java.labsoft.dcc.ufmg.br/comets/dataset/pmd/srcs/pmd96/etc/fr_docs/PMD.doc
LICENSE: BSD

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Christian Herdtweck <christian.herdtweck@intra2net.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

View File

@ -0,0 +1,3 @@
AUTHOR: Jan Kaluza <jkaluza@redhat.com>
URL: Created it myself
LICENSE: public domain

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More