Changeset 22823 in vbox
- Timestamp:
- Sep 7, 2009 7:52:08 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 9 edited
-
Devices/Makefile.kmk (modified) (1 diff)
-
Devices/PC/DevPcBios.cpp (modified) (2 diffs)
-
Devices/VMMDev/VMMDev.cpp (modified) (2 diffs)
-
Frontends/VirtualBox/Makefile.kmk (modified) (2 diffs)
-
Frontends/VirtualBox/src/VBoxConsoleWnd.cpp (modified) (2 diffs)
-
Frontends/VirtualBox/src/VBoxSelectorWnd.cpp (modified) (2 diffs)
-
Frontends/VirtualBox/src/main.cpp (modified) (3 diffs)
-
VMM/Makefile.kmk (modified) (1 diff)
-
VMM/VMMAll/VMMAll.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r22396 r22823 463 463 Graphics/DevVGA.cpp_DEPS = $(PATH_VgaBiosBin)/vbetables.h 464 464 465 # Reporting it to the guest.466 VMMDev/VMMDev.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)467 VMMDev/VMMDev.cpp_DEPS = $(VBOX_SVN_REV_KMK)468 PC/DevPcBios.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)469 PC/DevPcBios.cpp_DEPS = $(VBOX_SVN_REV_KMK)470 471 465 472 466 # -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r21889 r22823 29 29 30 30 #include <VBox/log.h> 31 #include <VBox/version.h>32 31 #include <iprt/assert.h> 33 32 #include <iprt/alloc.h> 33 #include <iprt/buildconfig.h> 34 34 #include <iprt/file.h> 35 35 #include <iprt/string.h> … … 1151 1151 char* pszVBoxVer, *pszVBoxRev; 1152 1152 RTStrAPrintf(&pszVBoxVer, "vboxVer_%d.%d.%d", 1153 VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD);1154 RTStrAPrintf(&pszVBoxRev, "vboxRev_%ld", VBOX_SVN_REV);1153 RTBldCfgVersionMajor(), RTBldCfgVersionMinor(), RTBldCfgVersionBuild()); 1154 RTStrAPrintf(&pszVBoxRev, "vboxRev_%ld", RTBldCfgRevision()); 1155 1155 READCFGSTR("DmiOEMVBoxVer", pszDmiOEMVBoxVer, pszVBoxVer); 1156 1156 READCFGSTR("DmiOEMVBoxRev", pszDmiOEMVBoxRev, pszVBoxRev); -
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r22793 r22823 35 35 #include <VBox/err.h> 36 36 #include <VBox/vm.h> /* for VM_IS_EMT */ 37 #include <VBox/version.h>38 37 39 38 #include <iprt/assert.h> 39 #include <iprt/buildconfig.h> 40 40 #include <iprt/string.h> 41 41 #include <iprt/time.h> … … 1632 1632 pRequestHeader->rc = VERR_INVALID_PARAMETER); 1633 1633 VMMDevReqHostVersion *pReqHostVer = (VMMDevReqHostVersion*)pRequestHeader; 1634 pReqHostVer->major = VBOX_VERSION_MAJOR;1635 pReqHostVer->minor = VBOX_VERSION_MINOR;1636 pReqHostVer->build = VBOX_VERSION_BUILD;1637 pReqHostVer->revision = VBOX_SVN_REV;1634 pReqHostVer->major = RTBldCfgVersionMajor(); 1635 pReqHostVer->minor = RTBldCfgVersionMinor(); 1636 pReqHostVer->build = RTBldCfgVersionBuild(); 1637 pReqHostVer->revision = RTBldCfgRevision(); 1638 1638 pReqHostVer->features = VMMDEV_HVF_HGCM_PHYS_PAGE_LIST; 1639 1639 pReqHostVer->header.rc = VINF_SUCCESS; -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r22816 r22823 193 193 endif 194 194 195 VirtualBox_src/main.cpp_DEFS += VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\"196 VirtualBox_src/main.cpp_DEPS += $(VBOX_VERSION_MK)197 198 195 ifdef VBOX_BLEEDING_EDGE 199 196 VirtualBox_src/VBoxConsoleWnd.cpp_DEFS += \ 200 VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \201 VBOX_SVN_REV=\"$(VBOX_SVN_REV)\" \202 197 VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\" 203 198 VirtualBox_src/VBoxSelectorWnd.cpp_DEFS += \ 204 VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \205 VBOX_SVN_REV=\"$(VBOX_SVN_REV)\" \206 199 VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\" 207 200 VirtualBox_src/VBoxAboutDlg.cpp_DEFS += \ … … 209 202 VirtualBox_src/main.cpp_DEFS += \ 210 203 VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\" 211 VirtualBox_src/VBoxConsoleWnd.cpp_DEPS += $(VBOX_VERSION_MK) $(VBOX_SVN_REV_KMK)212 VirtualBox_src/VBoxSelectorWnd.cpp_DEPS += $(VBOX_VERSION_MK) $(VBOX_SVN_REV_KMK)213 204 endif 214 205 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r22816 r22823 72 72 #endif 73 73 74 #include <iprt/buildconfig.h> 74 75 #include <iprt/param.h> 75 76 #include <iprt/path.h> … … 1647 1648 1648 1649 #ifdef VBOX_BLEEDING_EDGE 1649 caption_prefix += QString(" EXPERIMENTAL build "VBOX_VERSION_STRING" r"VBOX_SVN_REV" - "VBOX_BLEEDING_EDGE); 1650 caption_prefix += QString(" EXPERIMENTAL build ") 1651 + QString(RTBldCfgVersion()) 1652 + QString("r") 1653 + QString(RTBldCfgRevisionStr()) 1654 + QString(" - "VBOX_BLEEDING_EDGE); 1650 1655 #endif 1651 1656 /* -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r22391 r22823 49 49 #include <QDesktopWidget> 50 50 #include <QToolButton> 51 52 #include <iprt/buildconfig.h> 51 53 52 54 // VBoxVMDetailsView class … … 1292 1294 1293 1295 #ifdef VBOX_BLEEDING_EDGE 1294 title += QString(" EXPERIMENTAL build "VBOX_VERSION_STRING" r"VBOX_SVN_REV" - "VBOX_BLEEDING_EDGE); 1296 title += QString(" EXPERIMENTAL build ") 1297 + QString(RTBldCfgVersion()) 1298 + QString(" r") 1299 + QString(RTBldCfgRevisionStr()) 1300 + QString(" - "VBOX_BLEEDING_EDGE); 1295 1301 #endif 1296 1302 -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r22612 r22823 50 50 #endif 51 51 52 #include <iprt/buildconfig.h> 52 53 #include <iprt/err.h> 53 54 #include <iprt/initterm.h> … … 241 242 #endif 242 243 243 RTPrintf("Sun VirtualBox Graphical User Interface "VBOX_VERSION_STRING"\n"244 RTPrintf("Sun VirtualBox Graphical User Interface %s\n" 244 245 "(C) 2005-2009 Sun Microsystems, Inc.\n" 245 246 "All rights reserved.\n" … … 263 264 # endif 264 265 "\n", 266 RTBldCfgVersion(), 265 267 mode.toLatin1().constData(), 266 268 dflt.toLatin1().constData()); -
trunk/src/VBox/VMM/Makefile.kmk
r22781 r22823 514 514 endif 515 515 516 #517 # For vmmGetSvnRev.518 #519 VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)520 516 521 517 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/VMM/VMMAll/VMMAll.cpp
r21649 r22823 31 31 #include <VBox/param.h> 32 32 #include <VBox/hwaccm.h> 33 #include <iprt/buildconfig.h> 33 34 34 35 … … 139 140 VMMDECL(uint32_t) VMMGetSvnRev(void) 140 141 { 141 return VBOX_SVN_REV;142 return RTBldCfgRevision(); 142 143 } 143 144
Note:
See TracChangeset
for help on using the changeset viewer.

