Jump to content

Versioning made easy With TortoiseSVN and AutoIt3Wrapper


Jos
 Share

Recommended Posts

  • Developers

#Modify Context Menu to add Right Click, Add as Snippet
user.context.menu=||Add as Snippet|1116|

This should be removed from au3.properties.

Will do. Could be a nice feature for your version too though. :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

It's definitely on the todo list.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

  • 7 months later...
  • Developers

possible to omit and not show this dialog?

if yes, how?

Not at this moment.

Would you really want to commit source without adding any description as to what the change is about?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

You shouldn't be using version control then.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

  • Moderators

Inververs,

+1.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

mmm, I already have this implemented. :)

Use the /NoPrompt on the Parameters directive.

#AutoIt3Wrapper_Versioning_Parameters=/NoPrompt /Comments test %fileversion%

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

mmm, I already have this implemented. :)

Use the /NoPrompt on the Parameters directive.

#AutoIt3Wrapper_Versioning_Parameters=/NoPrompt /Comments test %fileversion%
Jos

not work for me  :ermm: 

My test script

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=Beta
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Versioning_Parameters=/NoPrompt /Comments test %fileversion%
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****


ConsoleWrite('test' & @LF)
file versions:

 

>D:Program FilesAutoIt3SciTEAutoIt3WrapperAutoIt3Wrapper.exe /in "D:UsersuserDesktoprabotamytaskhelper.rudata4.au3" /Versioning_Commit

+>12:58:29 Starting AutoIt3Wrapper v.2.1.3.0 SciTE v.3.3.6.0 ; Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X86 Environment(Language:0419 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X86)

 

Debug log:

 

2013-11-23 12:59:39 : ==> Version program Info:

2013-11-23 12:59:39 : Version program used :C:Program Filessvnbinsvn.exe

2013-11-23 12:59:39 : PromptVersionComments :y

2013-11-23 12:59:39 : Parameters :

2013-11-23 12:59:39 : =========================================

2013-11-23 12:59:39 : ==> Check if Directory has versioning.

2013-11-23 12:59:39 : Run Version program:C:Program Filessvnbinsvn.exe info "D:UsersuserDesktoprabotamytaskhelper.ru"

2013-11-23 12:59:39 : Run ended with rc:0

2013-11-23 12:59:39 : ----------------------------------------------------------------------------------

2013-11-23 12:59:39 : Version Check STDOUT and RC of version program:

2013-11-23 12:59:39 : $ChkText :Working Copy Root Path:

2013-11-23 12:59:39 : $PgmRC :0

2013-11-23 12:59:39 : $ChkRc :

2013-11-23 12:59:39 : Regex is a match.

2013-11-23 12:59:39 : $Output :

Path: .

Working Copy Root Path: D:UsersuserDesktoprabotamytaskhelper.ru

Relative URL: ^/trunk

Repository UUID: b7922301-08fc-b748-aa54-2a63353a48bb

Revision: 1

Node Kind: directory

Schedule: normal

Last Changed Author: user

Last Changed Rev: 1

Last Changed Date: 2013-11-22 16:44:17 +0300 (Пт, 22 ноя 2013)

2013-11-23 12:59:39 : --- End STDOUT check ---------------------------------------------------------------

2013-11-23 12:59:39 : =========================================

2013-11-23 12:59:39 : ==> Commit Source process.

2013-11-23 12:59:39 : --> Check if sourcefile version status in repository.

2013-11-23 12:59:39 : Run Version program:C:Program Filessvnbinsvn.exe status "D:UsersuserDesktoprabotamytaskhelper.rudata4.au3" -u

2013-11-23 12:59:40 : Run ended with rc:0

2013-11-23 12:59:40 : Run Output:

M 17 D:UsersuserDesktoprabotamytaskhelper.rudata4.au3

Status against revision: 17

2013-11-23 12:59:40 : --> Check if sourcefile was changed.

2013-11-23 12:59:40 : ----------------------------------------------------------------------------------

2013-11-23 12:59:40 : Version Check STDOUT and RC of version program:

2013-11-23 12:59:40 : $ChkText :[MA?][sd-]*?D:UsersuserDesktoprabotamytaskhelper.rudata4.au3

2013-11-23 12:59:40 : $PgmRC :0

2013-11-23 12:59:40 : $ChkRc :999

2013-11-23 12:59:40 : Regex is a match.

2013-11-23 12:59:40 : $Output :

M 17 D:UsersuserDesktoprabotamytaskhelper.rudata4.au3

Status against revision: 17

2013-11-23 12:59:40 : --- End STDOUT check ---------------------------------------------------------------

2013-11-23 12:59:40 : --> Retrieve old Version comments

2013-11-23 12:59:40 : Run Version program:C:Program Filessvnbinsvn.exe log "D:UsersuserDesktoprabotamytaskhelper.rudata4.au3" -l 5

2013-11-23 12:59:40 : Run ended with rc:0

2013-11-23 12:59:40 : Run Output:

------------------------------------------------------------------------

r17 | user | 2013-11-23 12:58:32 +0300 (Сб, 23 ноя 2013) | 1 line

dfa

------------------------------------------------------------------------

r16 | user | 2013-11-23 12:54:55 +0300 (Сб, 23 ноя 2013) | 2 lines

45

------------------------------------------------------------------------

r15 | user | 2013-11-23 12:53:13 +0300 (Сб, 23 ноя 2013) | 1 line

------------------------------------------------------------------------

r14 | user | 2013-11-23 12:48:36 +0300 (Сб, 23 ноя 2013) | 1 line

------------------------------------------------------------------------

r13 | user | 2013-11-23 12:38:49 +0300 (Сб, 23 ноя 2013) | 1 line

df

------------------------------------------------------------------------

2013-11-23 12:59:40 : --> GUI Prompt Version comments

2013-11-23 12:59:44 : Version update cancelled.

Edited by Inververs
Link to comment
Share on other sites

  • Developers

Found the issue, I tested with Compile (F7) and you with Commit (F12).

Uploaded a new Beta version of AutoIt3Wrapper to the Beta directory. Try that one to see if it fixes it also for you.

Cheers

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...