Changeset 69388 in vbox for trunk/src/VBox
- Timestamp:
- Oct 26, 2017 5:02:54 PM (7 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/.scm-settings
r69386 r69388 17 17 18 18 # cbindings have different licences. 19 /cbinding/*.h: --license-lgpl 20 /cbinding/VBoxCAPIGlue.c: --license-mit 19 /cbinding/*.h: --license-lgpl 20 /cbinding/VBoxCAPIGlue.c: --license-mit 21 /cbinding/VBoxCAPIGlue.h.in: --license-mit --treat-as .h 22 /cbinding/makefile.tstCAPIGlue: --license-mit --treat-as Makefile 21 23 22 24 # The Python bindings is licensed under dual GPL and CDDL. 23 /glue/vboxapi.py: --license-ose-dual 25 /glue/vboxapi.py: --license-ose-dual 26 /glue/tests/*.java: --treat-as .c 24 27 28 # Source dirs. 25 29 --filter-out-files /src-all/VBoxAPI-end.d 26 30 --filter-out-files /src-client/README.testing 31 --filter-out-files /src-server/custom.ids 32 --filter-out-files /src-server/usb.ids 27 33 28 /idl/VirtualBox.xidl: --treat-as .xml 29 /idl/VirtualBox.dtd: --treat-as .xml 34 # IDL and XML 35 /idl/VirtualBox.xidl: --treat-as .xml 36 /idl/VirtualBox.dtd: --treat-as .xml 30 37 31 /xml/VirtualBox-settings.xsd: --treat-as .xml38 /xml/VirtualBox-settings.xsd: --treat-as .xml 32 39 --filter-out-files /xml/samples/*.xml 33 40 … … 35 42 # Exploint --external-copyright to check that this remains the case. 36 43 # This does not imply anything wrt to the copyright status of the files. 37 /UnattendedTemplates/*.cfg: --external-copyright --treat-as .sh38 /UnattendedTemplates/*.sif: --external-copyright39 /UnattendedTemplates/*.xml: --dont-set-svn-eol --no-convert-eol44 /UnattendedTemplates/*.cfg: --external-copyright --treat-as .sh 45 /UnattendedTemplates/*.sif: --external-copyright 46 /UnattendedTemplates/*.xml: --dont-set-svn-eol --no-convert-eol 40 47 41 48 # The webservice is fun. 42 /webservice/Makefile.webtest: --treat-as Makefile43 --filter-out-files /webservice/types.txt :49 /webservice/Makefile.webtest: --treat-as Makefile 50 --filter-out-files /webservice/types.txt 44 51 --filter-out-files /webservice/MANIFEST.MF.in 45 52 --filter-out-dirs /webservice/jaxlibs/. 46 53 47 54 # The webservice samples are MIT and need some hacks to handle unusual file types. 48 /webservice/samples/*: 49 /webservice/samples/*.java: 50 /webservice/samples/*/Makefile.glue: 51 /webservice/samples/php/clienttest.php: 55 /webservice/samples/*: --license-mit 56 /webservice/samples/*.java: --treat-as .c 57 /webservice/samples/*/Makefile.glue: --treat-as Makefile 58 /webservice/samples/php/clienttest.php: --treat-as .c 52 59 60 61 # Testcases. 62 /testcase/makefile.tstVBoxAPIWin: --treat-as Makefile 63 /testcase/makefile.tstVBoxAPIXPCOM: --treat-as Makefile 64 --filter-out-files /testcase/ovf-dummy.vmdk 65 --filter-out-files /testcase/ovf-joomla-0.9/joomla-1.1.4-ovf.ovf 66 --filter-out-files /testcase/ovf-winhost-audio-nodisks/WinXP.ovf 67 --filter-out-files /testcase/ovf-winxp-vbox-sharedfolders/winxp.ovf 68 --filter-out-files /testcase/VBoxVBTest/TestForm.frm 69 --filter-out-files /testcase/VBoxVBTest/TestForm.frx 70 --filter-out-files /testcase/VBoxVBTest/VBoxVBTest.vbp 71 -
trunk/src/VBox/Main/cbinding/VBoxCAPIGlue.h.in
r50183 r69388 1 /* $ Revision$ */1 /* $Id$ */ 2 2 /** @file VBoxCAPIGlue.h 3 3 * Glue for dynamically linking with VBoxCAPI. … … 22 22 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 23 23 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT24 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 25 25 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 26 26 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -
trunk/src/VBox/Main/cbinding/makefile.tstCAPIGlue
r50183 r69388 1 # $ Revision$1 # $Id$ 2 2 ## @file makefile.tstCAPIGlue 3 3 # Makefile for sample program illustrating use of C binding for COM/XPCOM. … … 7 7 # Copyright (C) 2009-2014 Oracle Corporation 8 8 # 9 # This file is part of VirtualBox Open Source Edition (OSE), as 10 # available from http://www.virtualbox.org. This file is free software; 11 # you can redistribute it and/or modify it under the terms of the GNU 12 # General Public License (GPL) as published by the Free Software 13 # Foundation, in version 2 as it comes in the "COPYING" file of the 14 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 9 # Permission is hereby granted, free of charge, to any person 10 # obtaining a copy of this software and associated documentation 11 # files (the "Software"), to deal in the Software without 12 # restriction, including without limitation the rights to use, 13 # copy, modify, merge, publish, distribute, sublicense, and/or sell 14 # copies of the Software, and to permit persons to whom the 15 # Software is furnished to do so, subject to the following 16 # conditions: 17 # 18 # The above copyright notice and this permission notice shall be 19 # included in all copies or substantial portions of the Software. 20 # 21 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 22 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 23 # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 25 # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 26 # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 27 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 28 # OTHER DEALINGS IN THE SOFTWARE. 16 29 # 17 30 -
trunk/src/VBox/Main/glue/tests/TestVBox.java
r56636 r69388 1 1 /* $Id$ */ 2 3 /* Small sample/testcase which demonstrates that the same source code can 4 * be used to connect to the webservice and (XP)COM APIs. */ 2 /*! file 3 * Small sample/testcase which demonstrates that the same source code can 4 * be used to connect to the webservice and (XP)COM APIs. 5 */ 5 6 6 7 /* … … 15 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 17 */ 18 17 19 import org.virtualbox_5_0.*; 18 20 import java.util.List; … … 141 143 String name = m.getName(); 142 144 System.out.println("\nAttempting to start VM '" + name + "'"); 143 145 144 146 ISession session = mgr.getSessionObject(); 145 147 IProgress p = m.launchVMProcess(session, "gui", ""); -
trunk/src/VBox/Main/glue/tests/TestVBoxNATEngine.java
r56636 r69388 1 1 /* $Id$ */ 2 3 /* Small sample/testcase which demonstrates that the same source code can 4 * be used to connect to the webservice and (XP)COM APIs. */ 2 /*!file 3 * Small sample/testcase which demonstrates that the same source code can 4 * be used to connect to the webservice and (XP)COM APIs. 5 */ 5 6 6 7 /* … … 15 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 17 */ 18 17 19 import org.virtualbox_5_0.*; 18 20 import java.util.List; … … 29 31 /* different chipsets might have different number of attachments */ 30 32 ChipsetType chipsetType = vm.getChipsetType(); 31 INetworkAdapter adapters[] = 33 INetworkAdapter adapters[] = 32 34 new INetworkAdapter[ 33 35 vbox.getSystemProperties().getMaxNetworkAdapters(chipsetType).intValue()]; … … 40 42 * dump it settings 41 43 */ 42 44 43 45 for (int nidx = 0; nidx < adapters.length; ++nidx) 44 46 { … … 46 48 adapters[nidx] = vm.getNetworkAdapter(new Long(nidx)); 47 49 INetworkAdapter n = adapters[nidx]; 48 50 49 51 if (n == null) 50 52 continue; … … 67 69 /* name,proto,hostip,host,hostport,guestip,guestport */ 68 70 nat.removeRedirect(pfAttributes[0]); 69 nat.addRedirect("", 71 nat.addRedirect("", 70 72 NATProtocol.fromValue(new Integer(pfAttributes[1]).longValue()), 71 73 pfAttributes[2], … … 78 80 } 79 81 } 80 82 81 83 } 82 84 catch (VBoxException e) … … 84 86 name = "<inaccessible>"; 85 87 inaccessible = true; 86 } 88 } 87 89 88 90 // process system event queue -
trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIWin
r60765 r69388 1 # 1 # $Id$ 2 ## @file 2 3 # tstVBoxAPILinux makefile 3 4 # 5 4 6 # 5 7 # Copyright (C) 2006-2016 Oracle Corporation … … 13 15 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 14 16 # 17 18 # 15 19 # Several assumptions and propositions: 16 20 # - Visual Studio has already installed on machine or you already have nmake.exe, cl.exe, link.exe … … 20 24 # - cl is cl.exe - Windows compiler 21 25 # - link is link.exe - Windows linker 22 # - all needed paths have been set in working environment. It means that when you type "cl" from the console, 26 # - all needed paths have been set in working environment. It means that when you type "cl" from the console, 23 27 # Windows shall find cl.exe by using enviroment variable PATH or something similar. 24 28 # 25 # The best way to accomplish it is to run a script vcvars32.bat located in the Visual studio "bin" directory. 29 # The best way to accomplish it is to run a script vcvars32.bat located in the Visual studio "bin" directory. 26 30 # This script installs needed paths in your working environment. 27 31 # Important!!! 28 32 # Script vcvars32.bat sets up needed paths only for local console session. 29 # For permanent using, needed paths must be added globally. 33 # For permanent using, needed paths must be added globally. 30 34 # 31 35 # Several possible examples of paths: … … 41 45 LINK = link 42 46 PATH_MSCOM = ../../../bindings/mscom 43 INCS_MSCOM = $(PATH_MSCOM)/include 47 INCS_MSCOM = $(PATH_MSCOM)/include 44 48 LIBS_MSCOM = $(PATH_MSCOM)/lib 45 49 … … 49 53 tstVBoxAPIWin_DEPS = $(INCS_MSCOM) 50 54 51 COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue 55 COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue 52 56 53 57 LINKER_CMDLINE = /INCREMENTAL /DEBUG /SUBSYSTEM:CONSOLE … … 57 61 $(LINK) /out:tstVBoxAPIWin.exe $** $(LIBS_DEPS) 58 62 59 # default compilation 63 # default compilation 60 64 tstVBoxAPIWin.obj: 61 65 $(CXX) /c /I$(INCS_MSCOM) tstVBoxAPIWin.cpp … … 85 89 # $(CXX) /c /I$(INCS_MSCOM) /I$(WIN_SDK_INCLUDE_PATH) /I$(VS_INCLUDE_PATH) $(tstVBoxAPIWin_SOURCES) 86 90 87 -
trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIXPCOM
r50339 r69388 1 # 1 # $Id$ 2 ## @file 2 3 # tstVBoxAPIXPCOM makefile 3 4 # 5 4 6 # 5 7 # Copyright (C) 2006-2014 Oracle Corporation … … 51 53 clean: 52 54 rm -f tstVBoxAPIXPCOM tstVBoxAPIXPCOM.o 55
Note:
See TracChangeset
for help on using the changeset viewer.