VirtualBox

Changeset 69388 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 26, 2017 5:02:54 PM (7 years ago)
Author:
vboxsync
Message:

Main: More scm updates

Location:
trunk/src/VBox/Main
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/.scm-settings

    r69386 r69388  
    1717
    1818# 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
    2123
    2224# 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
    2427
     28# Source dirs.
    2529--filter-out-files /src-all/VBoxAPI-end.d
    2630--filter-out-files /src-client/README.testing
     31--filter-out-files /src-server/custom.ids
     32--filter-out-files /src-server/usb.ids
    2733
    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
    3037
    31 /xml/VirtualBox-settings.xsd: --treat-as .xml
     38/xml/VirtualBox-settings.xsd:           --treat-as .xml
    3239--filter-out-files /xml/samples/*.xml
    3340
     
    3542# Exploint --external-copyright to check that this remains the case.
    3643# This does not imply anything wrt to the copyright status of the files.
    37 /UnattendedTemplates/*.cfg: --external-copyright --treat-as .sh
    38 /UnattendedTemplates/*.sif: --external-copyright
    39 /UnattendedTemplates/*.xml: --dont-set-svn-eol --no-convert-eol
     44/UnattendedTemplates/*.cfg:             --external-copyright --treat-as .sh
     45/UnattendedTemplates/*.sif:             --external-copyright
     46/UnattendedTemplates/*.xml:             --dont-set-svn-eol --no-convert-eol
    4047
    4148# The webservice is fun.
    42 /webservice/Makefile.webtest: --treat-as Makefile
    43 --filter-out-files /webservice/types.txt:
     49/webservice/Makefile.webtest:           --treat-as Makefile
     50--filter-out-files /webservice/types.txt
    4451--filter-out-files /webservice/MANIFEST.MF.in
    4552--filter-out-dirs  /webservice/jaxlibs/.
    4653
    4754# The webservice samples are MIT and need some hacks to handle unusual file types.
    48 /webservice/samples/*:                   --license-mit
    49 /webservice/samples/*.java:              --treat-as .c
    50 /webservice/samples/*/Makefile.glue:     --treat-as Makefile
    51 /webservice/samples/php/clienttest.php:  --treat-as .c
     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
    5259
     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$ */
    22/** @file VBoxCAPIGlue.h
    33 * Glue for dynamically linking with VBoxCAPI.
     
    2222 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    2323 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    24  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     24 * NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    2525 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    2626 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  • trunk/src/VBox/Main/cbinding/makefile.tstCAPIGlue

    r50183 r69388  
    1 # $Revision$
     1# $Id$
    22## @file makefile.tstCAPIGlue
    33# Makefile for sample program illustrating use of C binding for COM/XPCOM.
     
    77# Copyright (C) 2009-2014 Oracle Corporation
    88#
    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.
    1629#
    1730
  • trunk/src/VBox/Main/glue/tests/TestVBox.java

    r56636 r69388  
    11/* $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 */
    56
    67/*
     
    1516 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1617 */
     18
    1719import org.virtualbox_5_0.*;
    1820import java.util.List;
     
    141143        String name = m.getName();
    142144        System.out.println("\nAttempting to start VM '" + name + "'");
    143        
     145
    144146        ISession session = mgr.getSessionObject();
    145147        IProgress p = m.launchVMProcess(session, "gui", "");
  • trunk/src/VBox/Main/glue/tests/TestVBoxNATEngine.java

    r56636 r69388  
    11/* $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 */
    56
    67/*
     
    1516 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1617 */
     18
    1719import org.virtualbox_5_0.*;
    1820import java.util.List;
     
    2931        /* different chipsets might have different number of attachments */
    3032        ChipsetType chipsetType = vm.getChipsetType();
    31         INetworkAdapter adapters[] = 
     33        INetworkAdapter adapters[] =
    3234            new INetworkAdapter[
    3335                    vbox.getSystemProperties().getMaxNetworkAdapters(chipsetType).intValue()];
     
    4042             * dump it settings
    4143             */
    42                
     44
    4345            for (int nidx = 0; nidx < adapters.length; ++nidx)
    4446            {
     
    4648                adapters[nidx] = vm.getNetworkAdapter(new Long(nidx));
    4749                INetworkAdapter n = adapters[nidx];
    48                    
     50
    4951                if (n == null)
    5052                    continue;
     
    6769                        /* name,proto,hostip,host,hostport,guestip,guestport */
    6870                        nat.removeRedirect(pfAttributes[0]);
    69                         nat.addRedirect("", 
     71                        nat.addRedirect("",
    7072                                        NATProtocol.fromValue(new Integer(pfAttributes[1]).longValue()),
    7173                                        pfAttributes[2],
     
    7880                }
    7981            }
    80                
     82
    8183        }
    8284        catch (VBoxException e)
     
    8486            name = "<inaccessible>";
    8587            inaccessible = true;
    86         }           
     88        }
    8789
    8890        // process system event queue
  • trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIWin

    r60765 r69388  
    1 #
     1# $Id$
     2## @file
    23# tstVBoxAPILinux makefile
    34#
     5
    46#
    57# Copyright (C) 2006-2016 Oracle Corporation
     
    1315# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1416#
     17
     18#
    1519# Several assumptions and propositions:
    1620# - Visual Studio has already installed on machine or you already have nmake.exe, cl.exe, link.exe
     
    2024# - cl is cl.exe - Windows compiler
    2125# - 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,
    2327#   Windows shall find cl.exe by using enviroment variable PATH or something similar.
    2428#
    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.
    2630# This script installs needed paths in your working environment.
    2731# Important!!!
    2832# 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.
    3034#
    3135# Several possible examples of paths:
     
    4145LINK = link
    4246PATH_MSCOM     = ../../../bindings/mscom
    43 INCS_MSCOM     = $(PATH_MSCOM)/include 
     47INCS_MSCOM     = $(PATH_MSCOM)/include
    4448LIBS_MSCOM     = $(PATH_MSCOM)/lib
    4549
     
    4953tstVBoxAPIWin_DEPS     = $(INCS_MSCOM)
    5054
    51 COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue 
     55COMPILER_CMDLINE = /Zi /nologo /W3 /WX- /Od /Oy- /Gm /EHsc /RTC1 /GS /fp:precise /Gd /analyze- /errorReport:queue
    5256
    5357LINKER_CMDLINE = /INCREMENTAL /DEBUG /SUBSYSTEM:CONSOLE
     
    5761        $(LINK) /out:tstVBoxAPIWin.exe $** $(LIBS_DEPS)
    5862
    59 #   default compilation 
     63#   default compilation
    6064tstVBoxAPIWin.obj:
    6165        $(CXX) /c /I$(INCS_MSCOM) tstVBoxAPIWin.cpp
     
    8589#       $(CXX) /c /I$(INCS_MSCOM) /I$(WIN_SDK_INCLUDE_PATH) /I$(VS_INCLUDE_PATH) $(tstVBoxAPIWin_SOURCES)
    8690
    87 
  • trunk/src/VBox/Main/testcase/makefile.tstVBoxAPIXPCOM

    r50339 r69388  
    1 #
     1# $Id$
     2## @file
    23# tstVBoxAPIXPCOM makefile
    34#
     5
    46#
    57# Copyright (C) 2006-2014 Oracle Corporation
     
    5153clean:
    5254        rm -f tstVBoxAPIXPCOM tstVBoxAPIXPCOM.o
     55
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette