open-insight/SYSPROG/STPROCINS/RTI_IDE_CFG_EQUATES.txt
2024-03-25 15:17:34 -07:00

761 lines
40 KiB
Plaintext

compile insert rti_IDE_Cfg_Equates
/*
** Copyright (C) 2012-2021 Revelation Software Inc. All Rights Reserved **
Author : Captain C
Date : December 2014
Purpose : Constants for use with the RTI_IDE configuration processes
Comments
========
** PLEASE inform me (bzs) when you change this record **
Amended Date Reason
======= ==== ======
Mr C 14 Mar 23 Standardize default control prefix names
Mr C 30 Nov 22 Added IDE_CFG_POS_CTRL_W_MODE$
Mr C 02 Nov 22 Added IDE_CFG_REVPROFILELOG_FILES$
Mr C 28 Sep 22 Added IDE_CFG_POS_OPENREC_KEYREADDISABLED$
Mr C 16 Sep 22 Added IDE_CFG_POS_HTTPSERVER_PORT$
Mr C 09 Sep 22 Added IDE_CFG_POS_ESERVER_SERVER_TYPE$
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_IDE_CFG_EQUATES_
#define _RTI_IDE_CFG_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
declare function rti_IDE_Cfg
$insert logical
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// The IDE configuration record is stored in the SYSENV table with
// the following key:
//
// CFG_RTI_IDE_X*<appid>*<user>*<stationID>
//
// Note the "_X" (for v10) suffix - this is to stop collisions with
// prev v10 versions of RTI_IDE that a config record called
// "CFG_RTI_IDE"
equ IDE_CFG_TABLE$ to "SYSENV"
equ IDE_CFG_ID_PREFIX$ to "CFG_RTI_IDE_X"
Equ IDE_CFG_ID_GIT_APP_PREFIX$ To "CFG_RTI_GIT_APP"
Equ IDE_CFG_ID_GIT_WS_PREFIX$ To "CFG_RTI_GIT_WS"
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SAVELAYOUT (IDE_CFG_POS_SAVELAYOUT$) equates
equ IDE_CFG_SAVELAYOUT_RESTORE$ to 1
equ IDE_CFG_SAVELAYOUT_RESTORE_NOLOCKED$ to -1
equ IDE_CFG_SAVELAYOUT_NORESTORE$ to 0
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ IDE_CFG_POS_SAVELAYOUT$ to 1 ; // Save the IDE layout data when closing
equ IDE_CFG_DEF_SAVELAYOUT$ to IDE_CFG_SAVELAYOUT_RESTORE$
equ IDE_CFG_POS_SHOWSTART$ to 2 ; // Bool - Show Start Page
equ IDE_CFG_DEF_SHOWSTART$ to TRUE$
equ IDE_CFG_POS_SHOWAPPEXPLORER$ to 3 ; // Bool - Show App Explorer
equ IDE_CFG_DEF_SHOWAPPEXPLORER$ to TRUE$
equ IDE_CFG_POS_SHOWDBEXPLORER$ to 4 ; // Bool - Show DB Explorer
equ IDE_CFG_DEF_SHOWDBEXPLORER$ to FALSE$
equ IDE_CFG_POS_SHOWOUTPUT$ to 5 ; // Bool - Show Output Toolpanel
Equ IDE_CFG_DEF_SHOWOUTPUT$ To TRUE$
equ IDE_CFG_POS_SHOWCONSOLE$ to 6 ; // Bool - Show CONSOLE Page
Equ IDE_CFG_DEF_SHOWCONSOLE$ To FALSE$
equ IDE_CFG_POS_SHOWFAVORITES$ to 7 ; // Bool - Show Favorites Panel
equ IDE_CFG_DEF_SHOWFAVORITES$ to TRUE$
equ IDE_CFG_POS_SHOWPROPERTIES$ to 8 ; // Bool - Show Properties Panel
equ IDE_CFG_DEF_SHOWPROPERTIES$ To FALSE$
equ IDE_CFG_POS_SHOWREPOSITORY$ to 9 ; // Bool - Show Repository Panel
equ IDE_CFG_DEF_SHOWREPOSITORY$ To FALSE$
equ IDE_CFG_POS_OPLDOCKSITE$ to 10 ; // Last docksite the Output panel appeared in
equ IDE_CFG_DEF_OPLDOCKSITE$ to "S"
equ IDE_CFG_POS_PPLDOCKSITE$ to 11 ; // Last docksite the Property panel appeared in
equ IDE_CFG_DEF_PPLDOCKSITE$ to "E"
equ IDE_CFG_POS_FDSTBXDOCKSITE$ to 12 ; // Last docksite the FormDes Toolbox appeared In
equ IDE_CFG_DEF_FDSTBXDOCKSITE$ to "W"
equ IDE_CFG_POS_DPLDOCKSITE$ to 13 ; // Last docksite the Database panel appeared in
equ IDE_CFG_DEF_DPLDOCKSITE$ to "W"
equ IDE_CFG_POS_FPLDOCKSITE$ to 14 ; // Last docksite the Favorites panel appeared in
equ IDE_CFG_DEF_FPLDOCKSITE$ to "W"
equ IDE_CFG_POS_RPLDOCKSITE$ to 15 ; // Last docksite the Repository panel appeared in
equ IDE_CFG_DEF_RPLDOCKSITE$ to "W"
Equ IDE_CFG_POS_REFRESHSTART$ To 16 ; // bzs 062118 refresh interval on start page feeds
Equ IDE_CFG_DEF_REFRESHSTART$ To "15" ; // bzs 062118
Equ IDE_CFG_POS_STARTHOMEPAGE$ To 17 ; // bzs 062118 home page for this application
Equ IDE_CFG_DEF_STARTHOMEPAGE$ To "https://www.revelation.com"
Equ IDE_CFG_POS_NEWSFEEDURL$ To 18 ; // bzs 030922 URL for other news feed on start page
*// Form Designer Equates
equ IDE_CFG_POS_FDS_SNAPGRID$ to 20 ;
equ IDE_CFG_DEF_FDS_SNAPGRID$ to TRUE$
equ IDE_CFG_POS_FDS_SHOWGRID$ to 21 ;
equ IDE_CFG_DEF_FDS_SHOWGRID$ to TRUE$
equ IDE_CFG_POS_FDS_GRIDSIZE$ to 22 ;
equ IDE_CFG_DEF_FDS_GRIDSIZE$ to 4 ; // px
equ IDE_CFG_POS_FDS_ANCHORFORMS$ to 23 ;
equ IDE_CFG_DEF_FDS_ANCHORFORMS$ to TRUE$ ;
equ IDE_CFG_POS_FDS_CREATETEXT$ to 24 ; // toggle creating the text label for databound controls
equ IDE_CFG_DEF_FDS_CREATETEXT$ to TRUE$
equ IDE_CFG_POS_FDS_CREATETEXTLOC$ to 25 ; // defines where to place the text lable for databound controls
equ IDE_CFG_DEF_FDS_CREATETEXTLOC$ to "L"
equ IDE_CFG_POS_FDS_APPENDCOLON$ to 26 ; // append a colon at the end of a label controls
equ IDE_CFG_DEF_FDS_APPENDCOLON$ to TRUE$
equ IDE_CFG_POS_FDS_QPALIGNMENT$ to 27 ; // whether to right align quick panel labels
Equ IDE_CFG_DEF_FDS_QPALIGNMENT$ To false$
// equ IDE_CFG_POS_FDS_SHOW_INVIS$ to 28 ; // toggle showing invisible controls
// equ IDE_CFG_DEF_FDS_SHOW_INVIS$ to false$
equ IDE_CFG_POS_FDS_DEFFONT$ to 29 ; // default font for ?
equ IDE_CFG_DEF_FDS_DEFFONT$ to "Segoe UI" :@TM: "-12" :@TM: "400" :@TM: "0" :@TM: "0" :@TM: "0" :@TM: "0" :@TM: "34" :@TM: "0" :@TM: "3" :@TM: "2" :@TM: "1" :@TM: "11" :@TM: "2" :@TM: "0" :@TM: "0"
equ IDE_CFG_POS_FDS_DEFBACKCOLOR$ to 30 ; // default window backcolor
equ IDE_CFG_DEF_FDS_DEFBACKCOLOR$ to "-2"
equ IDE_CFG_POS_FDS_CTRLTYPES$ to 31 ; // array that contains the types of controls
equ IDE_CFG_DEF_FDS_CTRLTYPES$ To "BITMAP":@vm:"CHECKBMP":@VM:"CHECKBOX":@vm:"COMBOBOX":@VM:"EDITBOX":@vm:"EDITFIELD":@VM:"EDITTABLE":@VM:"GROUPBOX":@VM:"HSCROLLBAR":@VM:"HSPLITBAR":@VM:"LISTBOX":@VM:"PUSHBMP":@VM:"PUSHBUTTON":@VM:"RADIOBMP":@VM:"RADIOBUTTON":@VM:"RICHEDITBOX":@VM:"STATIC":@VM:"TABCONTROL":@VM:"VSCROLLBAR":@VM:"VSPLITBAR":@VM:"OLECONTROL"
equ IDE_CFG_POS_FDS_CTRLPREFIXES$ to 32 ; // array that contains the prefixes for the control type array
equ IDE_CFG_DEF_FDS_CTRLPREFIXES$ To "BMP_":@vm:"CHK_":@vm:"CHK_":@vm:"CBO_":@VM:"EDB_":@vm:"EDL_":@vm:"EDT_":@vm:"GRP_":@vm:"HSC_":@vm:"HSP_":@vm:"LST_":@vm:"BTN_":@vm:"BTN_":@vm:"RBO_":@vm:"RBO_":@vm:"REB_":@vm:"LBL_":@vm:"TAB_":@vm:"VSC_":@vm:"VSP_":@vm:"OLE_"
equ IDE_CFG_POS_FDS_MINIMIZE4TEST$ to 33 ;
equ IDE_CFG_DEF_FDS_MINIMIZE4TEST$ to TRUE$;
equ IDE_CFG_POS_CTRL_W_MODE$ to 39 ; // "Ctrl-W Mode" - "0" for "Close Tab", 1 for "Test-Run"
equ IDE_CFG_DEF_CTRL_W_MODE$ to 0
// MRU equates
equ IDE_CFG_POS_MRUMAXITEMS$ to 40 ; // Max number of MRU items on the file menu.
equ IDE_CFG_DEF_MRUMAXITEMS$ to 20
equ IDE_CFG_POS_MRUDSNIDS$ to 41 ; // @vm'd list of MRU DSN IDs
equ IDE_CFG_POS_MRUDSNKEYS$ to 42 ; // @vm'd list of MRU DSN entity keys
equ IDE_CFG_POS_MRUOSFOLDERS$ to 43 ; // @vm'd list of MRU Add Table OS Folders
// Help system equates
equ IDE_CFG_POS_HELPURL$ to 45 ; // Starting URL for the help system
// TCL system equates
equ IDE_CFG_POS_TCLID$ to 46 ; // Form to use as an embedded TCL window
equ IDE_CFG_DEF_TCLID$ to "RTI_IDE_TCL"
* git preferences/configuration
equ IDE_CFG_POS_GIT_ENABLED$ to 49 ; // IF TRUE$ then use GIT
Equ IDE_CFG_DEF_GIT_ENABLED$ To FALSE$
equ IDE_CFG_POS_GIT_REPOS_LOCATIONS$ to 50 ;* git Repository locatiopns
equ IDE_CFG_POS_GIT_REPOS_DIR_NAME$ to 51 ;* git Repository Directory Name
// equ IDE_CFG_POS_GIT_REPOS_INCLUSIONS$ to 52 ;* oi Repository types to include
// equ IDE_CFG_POS_GIT_REPOS_EXCLUSIONS$ to 53 ;* oi Repository types to include
equ IDE_CFG_POS_GIT_INTERFACE_PATH$ to 54 ;* Path to the git interface executable
equ IDE_CFG_POS_GIT_INTERFACE_GUI$ to 55 ;* command For the git interface
equ IDE_CFG_POS_GIT_INTERFACE_COMMIT$ to 56 ;* command For the git COMMIT
equ IDE_CFG_POS_GIT_INTERFACE_PULL$ to 57 ;* command For the git PULL
equ IDE_CFG_POS_GIT_INTERFACE_PUSH$ to 58 ;* command For the git PUsh
equ IDE_CFG_POS_GIT_INTERFACE_HIST$ to 59 ;* command For the git file history
equ IDE_CFG_POS_GIT_INTERFACE_DIFF$ to 60 ;* command For the git Diff tool
* EDITOR Interface
// equ IDE_CFG_POS_EDIT_MAXIMIZE_CHILDREN$ to 61 ;* maximize editor children
// equ IDE_CFG_DEF_EDIT_MAXIMIZE_CHILDREN$ to TRUE$
// equ IDE_CFG_POS_EDIT_SHOW_BUTTONBAR$ to 62 ;* Show editor button bar
// equ IDE_CFG_DEF_EDIT_SHOW_BUTTONBAR$ to TRUE$
equ IDE_CFG_POS_EDIT_SHOW_LINENUM$ to 63 ;* show editor line numbers
equ IDE_CFG_DEF_EDIT_SHOW_LINENUM$ to TRUE$
equ IDE_CFG_POS_EDIT_SHOW_STATUS$ to 64 ;* show editor status area
equ IDE_CFG_DEF_EDIT_SHOW_STATUS$ to TRUE$
// equ IDE_CFG_POS_EDIT_USETABS$ to 65 ;* show editor Tabs
// Equ IDE_CFG_DEF_EDIT_USETABS$ To FALSE$
// equ IDE_CFG_POS_EDIT_SAVETABS$ to 66 ;* save editor tabs that are Open when editor closes
// equ IDE_CFG_DEF_EDIT_SAVETABS$ To TRUE$
equ IDE_CFG_POS_EDIT_FIND_CASESENS$ to 67 ;* Case Sensitive Find
equ IDE_CFG_DEF_EDIT_FIND_CASESENS$ To FALSE$
equ IDE_CFG_POS_EDIT_FIND_WHOLE$ to 68 ;* find whole word
equ IDE_CFG_DEF_EDIT_FIND_WHOLE$ To FALSE$
equ IDE_CFG_POS_EDIT_FINDREP_CASESENS$ to 69 ;* Case Sensitive Find/replace
equ IDE_CFG_DEF_EDIT_FINDREP_CASESENS$ To FALSE$
equ IDE_CFG_POS_EDIT_FINDREP_WHOLE$ to 70 ;* find/replace whole word
equ IDE_CFG_DEF_EDIT_FINDREP_WHOLE$ To FALSE$
* Editor Code Interface
equ IDE_CFG_POS_EDIT_CONVERT_KEYWORDS$ to 71 ;* Boolean, Convert Keywords
equ IDE_CFG_DEF_EDIT_CONVERT_KEYWORDS$ To TRUE$
equ IDE_CFG_POS_EDIT_DBLCLK_OPENS_ENTITY$ to 72 ;* Disabled (0)/Opens Entity (1)/Does gosub (2)/Does both
equ IDE_CFG_DEF_EDIT_DBLCLK_OPENS_ENTITY$ To 3
equ IDE_CFG_POS_EDIT_AUTOCOMPLETE_BRACES$ to 73 ;* Boolean, automatically cose Open races, brackets, etc
equ IDE_CFG_DEF_EDIT_AUTOCOMPLETE_BRACES$ To FALSE$
equ IDE_CFG_POS_EDIT_SHOW_CALLTIPS$ to 74 ;* bzs 04/23/18 None (0) / Show tooltips (1) / Show autocomplete (2) / Does both (3)
* bzs 042318 equ IDE_CFG_DEF_EDIT_SHOW_CALLTIPS$ To FALSE$
Equ IDE_CFG_DEF_EDIT_SHOW_CALLTIPS$ To 0
equ IDE_CFG_POS_EDIT_TABSTOPS$ to 75 ;* Number of characters In a tabstop
equ IDE_CFG_DEF_EDIT_TABSTOPS$ To 5
equ IDE_CFG_POS_EDIT_INDENT_CHARS$ to 76 ;* How to indent: tab Or space
equ IDE_CFG_DEF_EDIT_INDENT_CHARS$ To FALSE$
equ IDE_CFG_POS_EDIT_FONT$ to 77 ;* Font for the editor
* BZS 111717 equ IDE_CFG_DEF_EDIT_FONT$ To "Courier New,-13,400,0,0,0,0,49,0,3,2,1"
equ IDE_CFG_DEF_EDIT_FONT$ To "Courier New":@tm:"-13":@tm:"-400":@tm:"0":@tm:"0":@tm:"0":@tm:"0":@tm:"49":@tm:"0":@tm:"3":@tm:"2":@tm:"1" ;* BZS 111717
equ IDE_CFG_POS_EDIT_NO_COLORIZATION$ to 78 ;* Boolean, colorize words?
equ IDE_CFG_DEF_EDIT_NO_COLORIZATION$ To FALSE$
equ IDE_CFG_POS_EDIT_COLOR_KEYWORDS$ to 79 ;* Boolean, colorize keywords?
equ IDE_CFG_DEF_EDIT_COLOR_KEYWORDS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_NUMBERS$ to 80 ;* Boolean, colorize Numbers?
equ IDE_CFG_DEF_EDIT_COLOR_NUMBERS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_IDENTIFIERS$ to 81 ;* Boolean, colorize Identifiers?
equ IDE_CFG_DEF_EDIT_COLOR_IDENTIFIERS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_QUOTES$ to 82 ;* Boolean, colorize quotes?
equ IDE_CFG_DEF_EDIT_COLOR_QUOTES$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_COMMENTS$ to 83 ;* Boolean, colorize comments?
equ IDE_CFG_DEF_EDIT_COLOR_COMMENTS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_OPERATORS$ to 84 ;* Boolean, colorize operators?
equ IDE_CFG_DEF_EDIT_COLOR_OPERATORS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_LABELS$ to 85 ;* Boolean, colorize labels?
equ IDE_CFG_DEF_EDIT_COLOR_LABELS$ To TRUE$
equ IDE_CFG_POS_EDIT_COLOR_PREPROCESSORS$ to 86 ;* Boolean, colorize preprocessor commands?
equ IDE_CFG_DEF_EDIT_COLOR_PREPROCESSORS$ To TRUE$
equ IDE_CFG_POS_EDIT_SELECTION_COLOR$ to 87 ;* Color For Selection
equ IDE_CFG_DEF_EDIT_SELECTION_COLOR$ To "16748574"
equ IDE_CFG_POS_EDIT_USE_INDENT_GUIDES$ to 88 ;* Boolean, use indent guides?
* bzs 073021 equ IDE_CFG_DEF_EDIT_USE_INDENT_GUIDES$ To TRUE$
equ IDE_CFG_DEF_EDIT_USE_INDENT_GUIDES$ To false$ ;* bzs 073021
equ IDE_CFG_POS_EDIT_INDENT_GUIDES_COLOR$ to 89 ;* Color For indent Guides
equ IDE_CFG_DEF_EDIT_INDENT_GUIDES_COLOR$ To "-2"
* Editor Dialogs
equ IDE_CFG_POS_EDIT_GLOBALFR_SHOW_INHERITED$ to 90 ;* Show inherited entities In Global Find And Replace
equ IDE_CFG_POS_EDIT_GLOBALFR_CASESENS$ to 91 ;* make the Global Find And Replace be Case sensitive
equ IDE_CFG_POS_EDIT_GLOBALFR_WHOLE_WORD$ to 92 ;* make the Global Find And Replace match On whole words
equ IDE_CFG_POS_EDIT_GLOBALFR_RECOMPILE_ALL$ to 93 ;* allow the Global Find And Replace recompile all programs where found
equ IDE_CFG_POS_EDIT_OPENOS_DFLT_EXTENSION$ to 101 ;* when exporting OS Files, what is the default extension
equ IDE_CFG_DEF_EDIT_OPENOS_DFLT_EXTENSION$ To "txt"
equ IDE_CFG_POS_EDIT_OPENOS_DFLT_FOLDER$ to 102 ;* when exporting OS Files, what is the default folder
*Editor Miscellaneous
equ IDE_CFG_POS_EDIT_PRINT_ORIENTATION$ to 103 ;* Listbasic orientation - portrait Or landscape
equ IDE_CFG_DEF_EDIT_PRINT_ORIENTATION$ To "Portrait"
equ IDE_CFG_POS_EDIT_SHOW_PRINT_PREVIEW$ to 104 ;* Booean, show Print preview Or Not
equ IDE_CFG_DEF_EDIT_SHOW_PRINT_PREVIEW$ To TRUE$
equ IDE_CFG_POS_EDIT_PRINT_LINE_NUMBERS$ to 105 ;* Booean, show line numbers In printouts
equ IDE_CFG_DEF_EDIT_PRINT_LINE_NUMBERS$ To TRUE$
equ IDE_CFG_POS_EDIT_PRINT_HEADER$ to 106 ;* Booean, show header In printouts
equ IDE_CFG_DEF_EDIT_PRINT_HEADER$ To TRUE$
equ IDE_CFG_POS_EDIT_PRINT_DBLSPC$ to 107 ;* Booean, double-space the printout
equ IDE_CFG_DEF_EDIT_PRINT_DBLSPC$ To FALSE$
equ IDE_CFG_POS_EDIT_PRINT_WRAPTEXT$ to 108 ;* Booean, wrap the text on the printout
equ IDE_CFG_DEF_EDIT_PRINT_WRAPTEXT$ To TRUE$
equ IDE_CFG_POS_EDIT_EMAIL_MAILSERVER$ to 109 ;* Mailserver Name For emailing
equ IDE_CFG_POS_EDIT_EMAIL_SENDERNAME$ to 110 ;* Sendername For emailing
equ IDE_CFG_POS_EDIT_EMAIL_USERNAME$ to 111 ;* Username For emailing
equ IDE_CFG_POS_EDIT_EMAIL_PASSWORD$ to 112 ;* password For username For emailing
equ IDE_CFG_POS_EDIT_EMAIL_USESSL$ to 113 ;* password For username For emailing
equ IDE_CFG_DEF_EDIT_EMAIL_USESSL$ To FALSE$
* basic Keywords
equ IDE_CFG_POS_EDIT_BASIC_KEYWORDS_UNUSED$ to 114 ;* MV list of keywords to watch For **NOT STORED IN CFG RECORD**
equ IDE_CFG_POS_EDIT_BASIC_CHANGETO_UNUSED$ to 115 ;* MV list of keywords to change to **NOT STORED IN CFG RECORD**
////////////////////////////////////////////////////////////////////////////
// BLint Warnings: MV'd list of bool flags - TRUE$ to ignore
//
// <n,1> : Ignore SYS1122 - VNAV
// <n,2> : Ignore SYS1123 - Equate suffixes
// <n,3> : Ignore SYS1124 - Debug statements
equ IDE_CFG_POS_BLINT_IGNORE_WARNINGS$ to 118 ;
equ IDE_CFG_DEF_BLINT_IGNORE_WARNINGS$ to 0 : @vm : 0 : @vm : 0
equ IDE_CFG_BLINT_NOWARN_VNAV$ to 1
equ IDE_CFG_BLINT_NOWARN_EQU$ to 2
equ IDE_CFG_BLINT_NOWARN_DEBUG$ to 3
////////////////////////////////////////////////////////////////////////////
// DB toolpanel view options
equ IDE_CFG_POS_DPL_VIEW_OPTION$ to 119
* Add Table
equ IDE_CFG_ADD_TABLE_POS$ to 120 ;* MV list of XY pos with respect to the IDE
// RTI_IDE_PGO_IMAGE
equ IDE_CFG_POS_PGOIMG_SHOWINHERITED$ to 121
// RTI_IDE_OPEN_RECORD
equ IDE_CFG_POS_OPENREC_KEYREADDISABLED$ to 122 ; // If TRUE$ then don't key-read on each CHAR
equ IDE_CFG_POS_OPENREC_POS$ to 123
equ IDE_CFG_POS_OPENREC_FLAGS$ to 124
* TYPE MRU from RTI_IDE_OPEN
equ IDE_CFG_POS_OPENENT_MRU$ to 125
equ IDE_CFG_POS_OPENENT_SHOWINHERITED$ to 126
equ IDE_CFG_POS_OPENENT_POS$ to 127
* FAMILY MRU from RTI_IDE_NEW
equ IDE_CFG_POS_NEWENT_MRU$ to 128
equ IDE_CFG_POS_NEWENT_POS$ to 129
// ToolBars
equ IDE_CFG_POS_SHOWTB_TCL$ to 130 ; // If TRUE$ then show TCL in the IDE
equ IDE_CFG_DEF_SHOWTB_TCL$ to TRUE$
equ IDE_CFG_POS_SHOWTB_STANDARD$ to 131 ; // If TRUE$ then show the standard IDE Toobar
equ IDE_CFG_DEF_SHOWTB_STANDARD$ to TRUE$
* More TYPE MRU from RTI_IDE_OPEN
equ IDE_CFG_POS_OPENENT_PREVTYPE$ to 132 ; // TYPE or TYPE*CLASS
// Misc stuff
equ IDE_CFG_POS_HTTPSERVER_PORT$ to 139 ; // Port to use - leave blank for a "random" one.
equ IDE_CFG_POS_CUSTOM_COLORS$ to 140 ; // @vm'd list - SYSTEM CUSTOMCOLORS property
equ IDE_CFG_POS_HINT_REC_64K$ to 141 ; // Show records over 64K as red on the IDE status bar?
Equ IDE_CFG_DEF_HINT_REC_64K$ To FALSE$
equ IDE_CFG_RDKINSTALL_DIR$ to 142 ; // MRU folder for the IDE Install RDK tool
equ IDE_CFG_NEWENT_DLG_ID$ to 143 ; // ID to replace RTI_IDE_NEW
equ IDE_CFG_OPENENT_DLG_ID$ to 144 ; // ID to replace RTI_IDE_OPEN
equ IDE_CFG_OPENREC_DLG_ID$ to 145 ; // ID to replace RTI_IDE_OPEN_RECORD
Equ IDE_CFG_POS_STARTUP_UPDATE_CHECK$ To 146 ; // BZS 061518 check for updates when OI starts up?
Equ IDE_CFG_DEF_STARTUP_UPDATE_CHECK$ To TRUE$ ; // bzs 061518
// PGO Cache
equ IDE_CFG_POS_PGO_CACHEIDS$ to 147 ; // @vm'd list of PGO cache IDs
equ IDE_CFG_POS_PGO_CACHEDATA$ to 148 ; // @vm'd list of PGO cache data
// Update History
equ IDE_CFG_POS_UPD_HIST_MAX_DAYS$ to 150 ; // Maximum number of days to keep the history for
equ IDE_CFG_DEF_UPD_HIST_MAX_DAYS$ to 30
equ IDE_CFG_POS_UPD_HIST_DATES$ to 151 ; // @vm'd list of update history dates - AMV'd with IDE_CFG_POS_UPD_HIST_IDS$
equ IDE_CFG_POS_UPD_HIST_IDS$ to 152 ; // @vm/@svm'd list of update history repos IDs - AMV'd with IDE_CFG_POS_UPD_HIST_DATES$
// Favorites
equ IDE_CFG_POS_FAV_IDS$ to 153 ; // @vm'd list of favorites reposIDs.
equ IDE_CFG_POS_FAB_TAB$ to 154 ; // Last opened Tab on the FPL (Tab Index)
equ IDE_CFG_POS_FAV_NAMES$ to 155 ; // @vm'd list of favorites names.
// More GIT ...
equ IDE_CFG_POS_GIT_LASTPULLDATE$ to 157 ; // Date of last GIT pull
equ IDE_CFG_POS_GIT_LASTPUSHDATE$ to 158 ; // Date of last GIT push
equ IDE_CFG_POS_GIT_ENFORCEPUBLISABLE$ to 159 ; // True if you want to only push publishable items
equ IDE_CFG_POS_GIT_LASTPULLCOMMIT$ to 160 ; // Id of most recent commit upon pull, used by "Since Previous Pull" * rjc 12-01-17
// RDKInstall
equ IDE_CFG_RDKINSTALL_MODE$ to 161 ; // 0 - Cache parent folder, 1 - Cache selected folder, 2 - User default folder
equ IDE_CFG_RDKINSTALL_DFLT_DIR$ to 162
////////////////////////////////////////////////////////////////////////////
// RDKInstall default dir mode
//
// 0 - Use selected folder parent
// 1 - Use selected folder
// 2 - Use default folder
equ IDE_CFG_RDKINSTALL_MODE_PARENTDIR$ to 0
equ IDE_CFG_RDKINSTALL_MODE_SELECTEDDIR$ to 1
equ IDE_CFG_RDKINSTALL_MODE_DEFAULTDIR$ to 2
// Console/Engine Server
// bzs 020917
Equ IDE_CFG_POS_CONSOLE_ESERVER_URL$ To 170 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_URL$ To "localhost"
Equ IDE_CFG_POS_CONSOLE_ESERVER_PORT$ To 171 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_PORT$ To "18088"
Equ IDE_CFG_POS_CONSOLE_ESERVER_UTF8$ To 172 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_UTF8$ To "18089"
Equ IDE_CFG_POS_CONSOLE_ESERVER_WEB$ To 173 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_WEB$ To "18888"
Equ IDE_CFG_POS_CONSOLE_ESERVER_CHAT$ To 174 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_CHAT$ To "18889"
Equ IDE_CFG_POS_CONSOLE_ESERVER_WSNAME$ To 175 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_POS_CONSOLE_ESERVER_VDIR$ To 176 ; // Deprecated - moved to SYSAPPS
Equ IDE_CFG_DEF_CONSOLE_ESERVER_VDIR$ To "" ;* bzs 041919
equ IDE_CFG_POS_ESERVER_SERVER_TYPE$ to 177 ; // (0) Internal HTTP Server, (1) External Engine Server
equ IDE_CFG_DEF_ESERVER_SERVER_TYPE$ to 0 ; // (0) Internal HTTP Server
// More editor code interface
// bzs 051217 Really should be up above, but no more room at the inn(sert)
equ IDE_CFG_POS_EDIT_COLOR_EQU$ to 180 ;* Boolean, colorize preprocessor commands?
equ IDE_CFG_DEF_EDIT_COLOR_EQU$ To TRUE$
// more email settings
// bzs 122021 Really should be up above, but no more sequential values
Equ IDE_CFG_POS_EDIT_EMAIL_OPTIONS$ To 185 ;* options for email (semicolon delimited)
// More misc...
equ IDE_CFG_POS_DSN_GENERIC_DEF_OSPATH$ to 190 ; // Path for the RTI_DSN_GENERIC options dialog
//GLobal Find and replace dialog
Equ IDE_CFG_POS_GLOBALFINDREPLACE_SIZE$ to 191
Equ IDE_CFG_POS_GLOBALFINDREPLACE_OPTS$ To 192
// bzs 050318 position and size of CTO windows
Equ IDE_CFG_POS_CTO_SIZE$ To 200 ;
// bzs 080818 position and size of find/replace window
Equ IDE_CFG_POS_FIND_SIZE$ To 201 ;
equ IDE_CFG_REVPROFILELOG_FILES$ to 202; // Previous files for the RevProfileLog Analyzer
// bzs 071818 allow for some modifications on the "auto check for update"
Equ IDE_CFG_POS_STARTUP_UPDATE_CHECK_SLEEP_UNTIL$ To 210
Equ IDE_CFG_POS_STARTUP_UPDATE_CHECK_SKIP_VERSION$ To 211
// When the IDE is closed each instance has it's position recorded along
// with the contents of each of it's docksites and any undocked owned
// windows.
//
// Because we can have multiple IDE instances we hold an AMV with
// details for each instance that contains the following data:
//
// Docksite config
// Undocked TPLs
// Undocked DSNs
//
// For each docksite/undocked list we store an @svm'd array of views
//
// For each view we stored an @tm'd list of DSN or TPLS in the view
// (Note that the first @tm member is a comma delimited array of size
// information.)
//
// <0,0,0,1> View Position
// <0,0,0,2> First TPL/DSN
// <0,0,0,3> Second TPL/DSN
// <0,0,0,4> Third TPL/DSN etc
//
// For each TPL/DSN we store an @stm'd list of attributes
//
// <0,0,0,0,1> TPL/DSN ID (RTI_DSN_OIWIN,RTI_IDE_TPL_OUTPUT etc)
// <0,0,0,0,2> DSN Key (Repository key to load)
// <0,0,0,0,3> Active Flag - TRUE if this is the TPL to activate
//
// Yucky eh?
equ IDE_CFG_POS_IDS_POSITION$ to 300 ; // @vm'd array of instance position info (PLACEMENTDATA arrays)
equ IDE_CFG_POS_IDS_EAST$ to 301 ; // Contents of the EAST docksite, @vm delimited per instance
equ IDE_CFG_POS_IDS_WEST$ to 302 ; // Contents of the WEST docksite, @vm delimited per instance
equ IDE_CFG_POS_IDS_SOUTH$ to 303 ; // Contents of the SOUTH docksite, @vm delimited per instance
equ IDE_CFG_POS_IDS_DSN$ to 304 ; // Contents of the DSN docksite, @vm delimited per instance
equ IDE_CFG_POS_UNDOCKED_DSN$ to 305 ; // Details for undocked DSNs, @vm delimited per instance
equ IDE_CFG_POS_UNDOCKED_TPL$ to 306 ; // Details for undocked TPLs, @vm delimited per instance
equ IDE_CFG_POS_INSTANCE_FIRST$ to IDE_CFG_POS_IDS_POSITION$
equ IDE_CFG_POS_INSTANCE_LAST$ to IDE_CFG_POS_UNDOCKED_TPL$
// bzs 021721 added IDE_CFG_POS_GIT_ENABLED$ to blanked-out lists
// bzs 041919 this (comma delimited) list enumerates those fields that should be blanked out when creating a new record from the system-wide default
Equ IDE_CFG_SYSTEM_NODEFAULT$ To IDE_CFG_POS_GIT_LASTPULLDATE$:",":IDE_CFG_POS_GIT_LASTPUSHDATE$:",":IDE_CFG_POS_GIT_LASTPULLCOMMIT$:",":IDE_CFG_POS_GIT_ENABLED$
// this (comma delimited) list enumerates those fields that should be blankedout when creating a new record from the current application default
Equ IDE_CFG_APP_NODEFAULT$ To IDE_CFG_POS_UPD_HIST_DATES$:",":IDE_CFG_POS_UPD_HIST_IDS$:",":IDE_CFG_POS_FAV_IDS$:",":IDE_CFG_POS_FAV_NAMES$:",":IDE_CFG_POS_CONSOLE_ESERVER_VDIR$:",":IDE_CFG_POS_STARTUP_UPDATE_CHECK$:",":IDE_CFG_POS_STARTUP_UPDATE_CHECK_SLEEP_UNTIL$:",":IDE_CFG_POS_STARTUP_UPDATE_CHECK_SKIP_VERSION$:",":IDE_CFG_POS_MRUDSNIDS$:",":IDE_CFG_POS_MRUDSNKEYS$:",":IDE_CFG_POS_GIT_ENABLED$
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// GETINSTANCECFG method: This method returns the config data for a single
// instance, identified by an instance index.
//
// param1 -> instanceIdx. Identifies the instance data to retrieve.
//
// param2 <- instanceCfg. Returned instance data array. This has the
// following structure:
//
// <1> Position info
// <2> EAST docksite info
// <3> WEST docksite info
// <4> SOUTH docksite info
// <5> DSN docksite info
// <6> Undocked DSN info
// <7> Undocked toolpanel info
//
// retVal <- TRUE$ if successful, FALSE$ otherwise. Errors are returned
// via Set_Status()
// Returned config data has the following structure
equ IDE_GIC_POS_POSITION$ to 1
equ IDE_GIC_POS_EAST$ to 2
equ IDE_GIC_POS_WEST$ to 3
equ IDE_GIC_POS_SOUTH$ to 4
equ IDE_GIC_POS_DSN$ to 5
equ IDE_GIC_POS_UNDOCKED_DSN$ to 6
equ IDE_GIC_POS_UNDOCKED_TPL$ to 7
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Color config inforamtion - used to load Color Combo controls for the
// IDE.
//
// The color configuration record is stored in the SYSENV table with the
// following key:
//
// CFG_RTI_IDE_X_COLORS*<appid>*<user>*<stationID>
//
equ IDE_CFG_COLORS_TABLE$ to IDE_CFG_TABLE$
equ IDE_CFG_COLORS_ID_PREFIX$ to "CFG_RTI_IDE_X_COLORS"
// Config record layout
//
// <1> PS Colors (Transparent and Default etc)
// <2> System colors
// <3> Web colors
// <4> X11 colors
// <5> ColorKey "colors"
// <6> "Custom" color ID
equ IDE_CLR_CFG_POS_PSCOLORS$ to 1
equ IDE_CLR_CFG_POS_SYSCOLORS$ to 2
equ IDE_CLR_CFG_POS_WEBCOLORS$ to 3
equ IDE_CLR_CFG_POS_X11COLORS$ to 4
equ IDE_CLR_CFG_POS_COLORKEYS$ to 5
equ IDE_CLR_CFG_POS_CUSTOM$ to 6
equ IDE_CLR_CFG_POS_FIRST$ to IDE_CLR_CFG_POS_PSCOLORS$
equ IDE_CLR_CFG_POS_LAST$ to IDE_CLR_CFG_POS_CUSTOM$
// Cached color names array (cfgColorNames@)
//
// <1> ColorRef values
// <2> ColorName values
// <1> PS ColorRef values
// <2> PS ColorName values
// <1> CK ColorRef values
// <2> CK ColorName values
equ IDE_CLR_CFG_POS_COLORREFS$ to 1
equ IDE_CLR_CFG_POS_COLORNAMES$ to 2
equ IDE_CLR_CFG_POS_PSCOLORREFS$ to 3
equ IDE_CLR_CFG_POS_PSCOLORNAMES$ to 4
equ IDE_CLR_CFG_POS_CKCOLORREFS$ to 5
equ IDE_CLR_CFG_POS_CKCOLORNAMES$ to 6
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// CLEARINSTANCECFG method: This method removes all config data for all
// IDE instances.
//
// retVal <- TRUE$ if successful, FALSE$ otherwise. Errors are returned
// via Set_Status()
//////////////////////////////////////////////////////////////////////////
// FLUSH method: Writes the cached config information to disk
//
// retVal <- TRUE$ if successful, FALSE$ otherwise. Errors are returned
// via Set_Status()
//////////////////////////////////////////////////////////////////////////
// GETCOLORSET method: This method returns an @fm delimited array of color
// values in the format:
//
// <colorref> ":" <colorname>
//
// param1 -> ColorSet index. Indentifies the set of colors to retrieve.
// Can be one of the following:
//
// 1: PS Colors (Transparent and Default etc)
// 2: System Colors
// 3: Web Colors
// 4: X11 Colors
// 5: ColorKey Colors
// 6: Custom" color ID (defaults to "Custom...")
//
// "CR": All colors (PS,System,Web,X11)
// "CK": All colorkey (ColorKey,System,Web,X11)
//
// param2 -> Flags
//
// <1> RemoveTransparant. If TRUE$ then remove the Transparent
// color value when retrieving the PS Colorset
// <2> RemoveCustom. If TRUE$ then remove the Custom colorset
// retrieving a "CR" or "CK" colorset
//
// param3 -> "Reset" Color. Specifies the "original color" to use as the
// reset color. This color can be used by the toolset to allow
// the user to reset a color choice in case they change it and
// wish to revert. It is always added to the end of the returned
// color array, but before the "Custom..." item.
//
// <1> ColorRef
// <2> Item Text. This is the text to display for the reset
// item. The color name itself can be inserted by using
// a "%c%" place holder. If the name cannot be found the
// RGB version will be displayed instead, using the format
// "(r,g,b)"
//
// e.g. If the Reset Color is:
//
// 255 : @fm : "Reset to %1%"
//
// Then the item will be displayed as:
//
// "Reset to Red"
//
// If the Reset Color is:
//
// 13931007 : @fm : "Reset to %c%"
//
// Then the item will be displayed as:
//
// "Reset to (255,145,212)"
equ IDE_CFG_CS_RESETCOLORTOKEN$ to "%c%"
equ IDE_CFG_CS_CUSTOMSUFFIX$ to "..."
equ IDE_CFG_CS_DEF_CUSTOM$ to "Custom" : IDE_CFG_CS_CUSTOMSUFFIX$
equ IDE_CFG_CS_ALLCOLORS$ to "CR"
equ IDE_CFG_CS_ALLCOLORKEY$ to "CK"
equ IDE_CFG_CS_PSCOLORS$ to IDE_CLR_CFG_POS_PSCOLORS$
equ IDE_CFG_CS_SYSCOLORS$ to IDE_CLR_CFG_POS_SYSCOLORS$
equ IDE_CFG_CS_WEBCOLORS$ to IDE_CLR_CFG_POS_WEBCOLORS$
equ IDE_CFG_CS_X11COLORS$ to IDE_CLR_CFG_POS_X11COLORS$
equ IDE_CFG_CS_COLORKEYS$ to IDE_CLR_CFG_POS_COLORKEYS$
equ IDE_CFG_CS_CUSTOM$ to IDE_CLR_CFG_POS_CUSTOM$
// param2 (flags)
equ IDE_CFG_CS_POS_NOTRANSPARENT$ to 1
equ IDE_CFG_CS_POS_NOCUSTOM$ to 2
// param3 (resetColor)
equ IDE_CFG_CS_POS_RESETCOLORREF$ to 1
equ IDE_CFG_CS_POS_RESETCOLORTEXT$ to 2
//////////////////////////////////////////////////////////////////////////
// GETDIALOG method: This method returns the name of an IDE common dialog
//
// param1 -> Dialog Type:
//
// 1 - New Entity
// 2 - Open Entity
// 3 - Open Record
// Dialog types
equ IDE_CFG_GETDLG_T_NEWENT$ to 1
equ IDE_CFG_GETDLG_T_OPENENT$ to 2
equ IDE_CFG_GETDLG_T_OPENREC$ to 3
//////////////////////////////////////////////////////////////////////////
// GETINSTANCECFG method: This method returns the config data for a single
// instance, identified by an instance index.
//
// param1 -> instanceIdx. Identifies the instance data to retrieve.
//
// param2 <- instanceCfg. Returned instance data array. This has the
// following structure:
//
// <1> Position info
// <2> EAST docksite info
// <3> WEST docksite info
// <4> SOUTH docksite info
// <5> DSN docksite info
// <6> Undocked DSN info
// <7> Undocked toolpanel info
//
// retVal <- TRUE$ if successful, FALSE$ otherwise. Errors are returned
// via Set_Status()
//////////////////////////////////////////////////////////////////////////
// GETMRU method: This method returns the MRU information as an AMV array
// formatted like so:
//
// <1> @vm'd list of DSN IDs
// <2> @vm'd list of entity keys for the DSN
equ IDE_CFG_MRU_POS_DSNIDS$ to 1
equ IDE_CFG_MRU_POS_ENTITYIDS$ to 2
//////////////////////////////////////////////////////////////////////////
// GETVALUE method: This method retrieves a value from the IDE
// configuration information
//
// param1 -> ValueID : Identifies the value to retrieve,
//
// retVal <- Value
//
// Errors are returned via Set_Status().
//////////////////////////////////////////////////////////////////////////
// PURGE method: Deletes all cached config information
//
// retVal <- TRUE$ if successful, FALSE$ otherwise. Errors are returned
// via Set_Status()
//////////////////////////////////////////////////////////////////////////
// SETVALUE method: This method retrieves a value from the IDE
// configuration information
//
// param1 -> ValueID : Identifies the value to retrieve
//
// param2 -> New Value
//
// param3 -> NoFlush: If TRUE$ then do NOT flush the update direct to
// disk
//
// Errors are returned via Set_Status().
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/*
Previously, in this insert ...
==============================
bzs 30 Jul 21 Changed default for "use indent guides" to false
Mr C 13 May 21 Added IDE_CFG_POS_OPENENT_PREVTYPE$
Mr C 26 Mar 21 Added RDKInstall folder mode equates
Mr C 05 Mar 21 Added IDE_CFG_POS_PGOIMG_SHOWINHERITED$
Mr C 02 Mar 21 Added IDE_CFG_POS_DPL_VIEW_OPTION$
Mr C 07 Sep 19 Added "Compiler Warnings" section
Mr C 06 Sep 19 Added SAVELAYOUT equates
BZS 19 Apr 19 Added list of fields to clear out if pulling from default for system (IDE_CFG_SYSTEM_NODEFAULT) or default for app (IDE_CFG_APP_NODEFAULT)
mtr 17 Jan 19 Added IDE_CFG_POS_GLOBALFINDREPLACE_SIZE and IDE_CFG_POS_GLOBALFINDREPLACE_OPTS
Mr C 12 Jul 18 Added IDE_CFG_POS_FAV_NAMES$
bzs 15 Jun 18 Added "check for updates at startup"
bzs 03 May 18 Added CTO size and position
Mr C 08 Mar 18 Fixed IDE_CFG_POS_INSTANCE_LAST$ constant.
rjc 01 Dec 17 Added GIT_LASTPULLCOMMIT, the id of most recent commit, used by "Since Previous Pull"
Mr C 20 Nov 17 Added "Minimize on Test Run" and "Anchor Form" FormDes settings
Mr C 05 Aug 17 Removed deprecated settings.
bzs 12 May 17 Added 'equ' color option in editor cfg
bzs 09 Feb 17 Added engine server
Mr C 03 Jan 16 Added FPL processing
Mr C 29 Dec 16 Moved extra GIT fields to maintain numeric ordering
and avoid accidental overwriting.
Added Update History fields
Mr C 26 Sep 16 Added GETDIALOG constants
Mr C 25 Sep 16 Added IDE_CFG_RDKINSTALL_DIR$
Mr C 15 Jun 16 Added IDE_CFG_POS_EDIT_WARN_64K$
Mr C 24 Mar 16 Added RTI_IDE_OPEN_RECORD constants
Mr C 15 Mar 16 Added RTI_IDE_NEW cache constants
Mr C 27 Feb 16 Added PGO cache fields
Mr C 28 Jan 16 Extended RTI_IDE_OPEN config constants
Mr C 18 Jan 16 Added Favorites and Repository panel equates
Changed to single grid size.
bzs 07 Jan 16 Enhanced definition of IDE_CFG_POS_EDIT_DBLCLK_OPENS_ENTITY
RJC 06 Nov 15 Added IDE_CFG_POS_GIT_LASTPULLDATE$, LAST_PUSHDATE$, _ENFORCEPUBLISHABLE
Mr C 20 Oct 15 Added TCL config info
Mr C 05 Oct 15 Added IDE_CFG_POS_CUSTOM_COLORS$
DJH 03 Sep 15 Add MRU for Add Table previous directories chosen
MTR 21 Aug 15 Added more Defaults
MTR 30 Apr 15 Additions For Database Tool Panel - DPL
Mr C 01 Apr 15 Added FormDes defaults
Major tidy up to adopt singlar naming convention
Mr C 04 Feb 15 Added MRU equates
*/