[SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Discuss the hosted development builds here.
[Home]

Moderator: Dev Builds Team

User avatar
MaxED
Developer
Developer
Posts: 47
Joined: Fri Aug 03, 2012 0:06

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by MaxED »

Hi. In the latest revision (r1870) I've added a bath file called "MakeSVNRelease.bat", which will add proper SVN revision number to the source files, compile the program and all required plugins, compile help and pack the result into "SVN_Build\GZDoom_Builder-rXXXX.7z". Can you try building GZDB using this file? (the main reason is to have proper revision numbers in the SVN builds)

Some usage info:
1. The bath file requires Subversion command-line client, Microsoft Visual Studio 2008 (I HOPE that Express Edition will do, but I haven't tested that...), Microsoft HTML Help compiler and 7zip to be installed
2. Open "MakeSVNRelease.bat" in a notepad and check that STUDIODIR, HHWDIR and SEVENZIPDIR vars are pointed to proper locations.
3. If you are using Tortoise SVN, make sure that command-line tools are installed (they are not installed by default)
Image
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

MaxED wrote:which will add proper SVN revision number to the source files, compile the program and all required plugins, compile help and pack the result into "SVN_Build\GZDoom_Builder-rXXXX.7z".
I don't quite see a difference between your shell program versus mine (other than the rhetoric). GZDoom Builder module should already do what you have mentioned - in a slightly different way. Is there something that is missing within the module that 'should' be included?


Provided is the SVN Revision protocol used in Doom Builder 2 based modules:
[NOTE: I know this is messy, I am still working on a re-write to make all of the programs and modules easier to read, avoid wasting CPU cycles, and extend its functionality without the whole spaghetti code being crafted]

Code: Select all

REM =====================================================================
REM Specific Drivers: SVN Fetch Manager
REM ----------------------------
REM Dedicated driver to fetch information in regards to the local working copy, and other operations that deals with the local working copy directory.
REM =====================================================================


:SVN_FetchManager
SET ProcessVarE=9
IF %ErrorSignal% EQU 1 SET ProcessVarB=%ProcessVarE%
IF %ProcessVarB% EQU 0 (
    SET Error_MethodID=SVN_FetchManager
    SET Pointer_MethodResume=SVN_FetchManager
    ECHO ^> Fetching SVN Changelog History. . .
    IF %ToggleLog% EQU True ECHO ^> Fetching SVN Changelog History. . .>> "%STDOUT%"
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchManager
)
IF %ProcessVarB% EQU 1 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchOldRevision
)
IF %ProcessVarB% EQU 2 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchNewRevision
)
IF %ProcessVarB% EQU 3 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchRevision_ModifyResult
)
IF %ProcessVarB% EQU 4 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchedNewRevisionUpdateFile
)
IF %ProcessVarB% EQU 5 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchHistory_Maths
)
IF %ProcessVarB% EQU 6 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchHistory_MathsCheckRange
)
IF %ProcessVarB% EQU 7 (
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO SVN_FetchHistory
)
IF %ProcessVarB% EQU 8 (
    ECHO ^< Finished
    SET /A ProcessVarB=%ProcessVarB%+1
    GOTO %Pointer_MethodResume%
)
IF %ProcessVarB% EQU 9 (
    GOTO MainDriver
) ELSE (
    GOTO OddError
)



:SVN_FetchHistory
SVN log -l %ProcessVarD% "%ProjectDirDoomBuilder%" 1> "%DirLocal%\Changelog.txt"
SET ProcessVarC=%DirLocal%\Changelog.txt
SET ProcessVarD=%DirCompileOut%\%DoomBuilder2_ProjectName%\
GOTO Invoke_intCMDCopy



:SVN_FetchOldRevision
REM Load the previous saved revision ID to a variable
IF EXIST "%DirLocal%\SVNVersion.txt" (
    SET /P SVNRevisionOld=< "%DirLocal%\SVNVersion.txt"
) ELSE (
    SET SVNRevisionOld=0
)
GOTO SVN_FetchManager



:SVN_FetchNewRevision
REM Find our current revision
REM This was a major pain in the ass to figure out...  If it breaks - most likely we're shit out of luck....
FOR /F %%a IN ('SVNVERSION "%ProjectDirDoomBuilder%"') DO SET SVNRevisionNew=%%a
GOTO SVN_FetchManager



:SVN_FetchedNewRevisionUpdateFile
ECHO %SVNRevisionNew% 1> "%DirLocal%\SVNVersion.txt"
GOTO SVN_FetchManager



:SVN_FetchRevision_ModifyResult
REM It is possible that if the working copy is modified, the SVN Revision ID may contain non-integers.  For example: 1715M
REM This is a very special variable manipulator.  The idea is to remove any non-integer from the last line of the SVN Version number.
REM NOTE: Mixed Revisions is NOT supported within this check, that'll require a much more complicated procedure.
REM ----
REM If the working copy is Modified, the SVN version fetched will be reported as 1715M.  Remove the Modified signature character from the variable.
SET SVNRevisionNew=%SVNRevisionNew:M=%
REM ----
REM If the working copy is Switched, the SVN version fetched will be reported as 1715S.  Remove the Switch signature character from the variable.
SET SVNRevisionNew=%SVNRevisionNew:S=%
REM ----
REM If the working copy is Partial, the SVN version fetched will be reported as 1715P.  Remove the Partial signature character from the variable.
SET SVNRevisionNew=%SVNRevisionNew:P=%
GOTO SVN_FetchManager



:SVN_FetchHistory_Maths
SET /A ProcessVarD=%SVNRevisionNew%-%SVNRevisionOld%
GOTO SVN_FetchManager



:SVN_FetchHistory_MathsCheckRange
REM We need to make sure that the value we have from 'SVN_FetchHistory_Maths' does not exceed the hard limit variable 'SVNRevisionHardLimit'
IF %ProcessVarD% GTR %SVNRevisionHardLimit% (
    SET ProcessVarD=%SVNRevisionHardLimit%
) ELSE (
    IF %ProcessVarD% LEQ 0 SET ProcessVarD=%SVNRevisionHardLimit%
)
GOTO SVN_FetchManager
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1873

Code: Select all

------------------------------------------------------------------------
r1873 | m-x-d | 2014-01-09 07:52:25 -0600 (Thu, 09 Jan 2014) | 1 line

Full brightness mode is now synchronized between Visual and Classic modes
------------------------------------------------------------------------
r1872 | m-x-d | 2014-01-09 07:09:43 -0600 (Thu, 09 Jan 2014) | 3 lines

Changed mode buttons order in the toolbar.
Fixed a crash when enabling Nodes Viewer mode in an unsaved map.

------------------------------------------------------------------------
r1871 | m-x-d | 2014-01-09 05:31:34 -0600 (Thu, 09 Jan 2014) | 2 lines

Fixed: side panel was not auto-collapsed when Help tab was selected.
Fixed: texture size label's visibility was inconsistent in ImageSelectorControls.
------------------------------------------------------------------------
r1870 | m-x-d | 2014-01-08 09:20:56 -0600 (Wed, 08 Jan 2014) | 2 lines

Added a bath file, which can be used to make an SVN build of GZDB.
Program version, including revision number, is now updated and handled properly.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1875

Code: Select all

------------------------------------------------------------------------
r1875 | m-x-d | 2014-01-11 04:23:42 -0600 (Sat, 11 Jan 2014) | 3 lines

Edit area auto-focusing is now disabled when any form except Edit forms is open.
Nodes Viewer: ZNODES were properly shown only on freshly opened maps.

------------------------------------------------------------------------
r1874 | m-x-d | 2014-01-10 09:08:39 -0600 (Fri, 10 Jan 2014) | 3 lines

Nodes Viewer now supports ZNODES in "XNOD", "XGLN", "XGL2" and "XGL3" formats.
Sector highlight is now shown in many more places.
Edit area auto-focusing is now disabled when any form is open.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1878

Code: Select all

------------------------------------------------------------------------
r1878 | m-x-d | 2014-01-13 03:51:23 -0600 (Mon, 13 Jan 2014) | 1 line

Some enhancements in auto-generated keyboard shortcuts reference.
------------------------------------------------------------------------
r1877 | m-x-d | 2014-01-13 02:44:31 -0600 (Mon, 13 Jan 2014) | 1 line

Visual mode: using "Select" action with "select with the same texture" modifier in some cases selected middle texture when it shouldn't have.
------------------------------------------------------------------------
r1876 | m-x-d | 2014-01-13 02:06:56 -0600 (Mon, 13 Jan 2014) | 8 lines

Selected things are now dragged while dragging vertices, linedefs and sectors.
Error checks: added "Check unused textures" option.
Replaced MissingTexture3D and UnknownTexture3D.
Sectors mode: restored "Lower/Raise Floor/Ceiling by 8 mp" actions.
Visual mode: in some cases sidedefs were rendered as selected when they were not.
Existing linedefs were not split while drawing new lines in some cases.
Texture and height overrides were not applied correctly in some cases.
Preferences form: "Ctrl+Alt+ScrollUp" and "Ctrl+Alt+ScrollDown" dropdown items were setting the shortcut to "Ctrl+Shift+ScrollUp" and "Ctrl+Shift+ScrollDown".
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1879

Code: Select all

------------------------------------------------------------------------
r1879 | m-x-d | 2014-01-13 06:49:54 -0600 (Mon, 13 Jan 2014) | 3 lines

Sectors mode: hold Alt while (de)selecting sectors to (de)select things inside of them.
Sectors mode, rectangular selection: you can now hold Alt to select things inside of selected sectors.
Sector highlight is now shown when selecting sectors in Tag Explorer.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Enjay »

Just dropping in because this thread sometimes looks like a long line of posts by Tiger with no one paying much attention. So, I just wanted to say thanks for the builds and the update posts saying what's new in each revision. I know that plenty of people find the information useful.

What you do here Tiger is appreciated. Thank you. :)
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

Thank you, Enjay :)
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1881

Code: Select all

------------------------------------------------------------------------
r1881 | m-x-d | 2014-01-16 07:08:41 -0600 (Thu, 16 Jan 2014) | 1 line

Thing Info panel, Linedef info panel: tag labels are now displayed for action arguments.
------------------------------------------------------------------------
r1880 | m-x-d | 2014-01-16 03:32:05 -0600 (Thu, 16 Jan 2014) | 8 lines

Added Draw Grid mode.
When Draw Rectangle or Draw Ellipse mode is enabled, it's settings are now shown in side panel.
Draw Ellipse mode: increased maximum number of sides to 512.
Changed the way tags are shown in Tag Selector controls. Tags without labels are now shown as a number (not "Tag N"), and tags with label are now shown as "N (label)", not "label (N)".
Tag labels are now shown in Thing, Sector and Linedef info panels.
Once again changed the way things are rendered while dragged.
Rearranged the label in PairedIntControl and PairedFieldControl (it is now behind numeric controls).
Optimized MapSet.GetSectorByCoordinates().
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1884

Code: Select all

------------------------------------------------------------------------
r1884 | m-x-d | 2014-01-17 07:48:06 -0600 (Fri, 17 Jan 2014) | 2 lines

Hints and Draw Settings panels were not removed during map closing/switching, which resulted in duplicate panels.
The way things were rendered during dragging is now used by default in Things mode.
------------------------------------------------------------------------
r1883 | m-x-d | 2014-01-17 03:44:08 -0600 (Fri, 17 Jan 2014) | 1 line

Draw Grid mode: added "Lock slices to grid" option.
------------------------------------------------------------------------
r1882 | m-x-d | 2014-01-17 01:55:15 -0600 (Fri, 17 Jan 2014) | 1 line

Visual mode, "Select" action with "With the same texture" modifier: sidedefs are no longer selected when matching part has zero height.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1885

Code: Select all

------------------------------------------------------------------------
r1885 | m-x-d | 2014-01-17 08:41:38 -0600 (Fri, 17 Jan 2014) | 1 line

Cursor is now drawn on screenshots.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1887

Code: Select all

------------------------------------------------------------------------
r1887 | m-x-d | 2014-01-20 05:44:41 -0600 (Mon, 20 Jan 2014) | 1 line

Added ThingSlope patch by Boris (adds support for Sector tilt things (9502 and 9503) in Visual mode).
------------------------------------------------------------------------
r1886 | m-x-d | 2014-01-20 02:47:49 -0600 (Mon, 20 Jan 2014) | 2 lines

Missing and Unknown textures were incorrectly scaled in classic modes.
Fixed an update logic error in PairedIntControl.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1889

Code: Select all

------------------------------------------------------------------------
r1889 | m-x-d | 2014-01-23 07:55:03 -0600 (Thu, 23 Jan 2014) | 1 line

Linedefs mode: insert vertex preview is now shown.
------------------------------------------------------------------------
r1888 | m-x-d | 2014-01-23 07:36:51 -0600 (Thu, 23 Jan 2014) | 5 lines

Linedef info panel: tag is no longer shown in Hexen map format.
Numeric textbox: in addition to '++NN' and '--NN', you can use '*NN' and '/NN' to multiply or divide the values.
Configurations, ZDoom_linedefs.cfg: some linedef action arguments were missing a proper type.
Rewritten parts of hints system. Hints are now loaded from "Hints.cfg" file.

------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1890

Code: Select all

------------------------------------------------------------------------
r1890 | m-x-d | 2014-01-24 02:09:57 -0600 (Fri, 24 Jan 2014) | 1 line

Texture Browser: added "Show -> By selection type" option. When this option is selected, the browser will show textures or flats based on selected/highlighted surfaces.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
User avatar
Tiger
Developer
Developer
Posts: 863
Joined: Thu Feb 25, 2010 3:44
Location: United States
Contact:

Re: [SVN Info] Doom Builder 2, GZDoom Builder, Builder64

Post by Tiger »

A new SVN build of GZDoom Builder is now available @ revision 1891

Code: Select all

------------------------------------------------------------------------
r1891 | m-x-d | 2014-01-27 05:18:24 -0600 (Mon, 27 Jan 2014) | 3 lines

Sector info panel: rearranged controls a bit, so tag labels and long effect names can be displayed (more) properly.
Linedefs mode: event arrows were not redrawn after updating vertex insert indicator.
Configurations: some titles were too long to be displayed properly in the interface.
------------------------------------------------------------------------
Nicholas 'Tiger' Gautier
Post Reply

Return to “Development Builds”