Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 75acff3

Browse files
[[ RemoveRunRev ]] Update references to RunRev / Runtime Revolution in engine/src.
Not everything (such as DnD atom naming) have been update, to avoid possible breakage
1 parent 822d9f5 commit 75acff3

19 files changed

Lines changed: 52 additions & 52 deletions

engine/src/ans.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
3939
// MCA_OPTION_PLURAL - allow multiple files to be selected (not ASK)
4040
//
4141
// On exit:
42-
// ep should be a return-delimited list of revolution paths to the selected files
42+
// ep should be a return-delimited list of LiveCode paths to the selected files
4343
// or empty if the dialog was cancelled
4444
//
45-
// The Revolution sytax that uses this call is deprecated.
45+
// The LiveCode syntax that uses this call is deprecated.
4646
//
4747
extern int MCA_file(MCExecPoint& ep, const char *p_title, const char *p_prompt, const char *p_filter, const char *p_initial, unsigned int p_options);
4848
extern int MCA_ask_file(MCExecPoint& ep, const char *p_title, const char *p_prompt, const char *p_filter, const char *p_initial, unsigned int p_options); //const char *prompt, char *fn, MCExecPoint& ep, Boolean sheet);
@@ -62,7 +62,7 @@ extern int MCA_ask_file(MCExecPoint& ep, const char *p_title, const char *p_prom
6262
// MCA_OPTION_RETURN_FILTER - return the label of the type selected in MCresult
6363
//
6464
// On exit:
65-
// ep should be a return-delimited list of revolution paths to the selected files
65+
// ep should be a return-delimited list of LiveCode paths to the selected files
6666
// or empty if the dialog was cancelled
6767
// If MCA_OPTION_RETURN_FILTER is specified MCresult should contain the label of the
6868
// filetype in effect when the dialog was closed (but not cancelled).
@@ -79,7 +79,7 @@ extern int MCA_ask_file_with_types(MCExecPoint& ep, const char *p_title, const c
7979
// MCA_OPTION_SHEET (Mac OS X only) - display the dialog as a sheet
8080
//
8181
// On exit:
82-
// ep should contain the revolution path of the folder selected, or empty if the
82+
// ep should contain the LiveCode path of the folder selected, or empty if the
8383
// dialog was cancelled.
8484
//
8585
extern int MCA_folder(MCExecPoint& ep, const char *p_title, const char *p_prompt, const char *p_initial, unsigned int p_options);

engine/src/cmds.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ Exec_stat MCSort::sort_container(MCExecPoint &p_exec_point, Chunk_term p_type, S
16531653
}
16541654

16551655
// OK-2008-12-11: [[Bug 7503]] - If there are 0 items in the string, don't carry out the search,
1656-
// this keeps the behavior consistent with previous versions of Revolution.
1656+
// this keeps the behavior consistent with previous versions of LiveCode.
16571657
if (t_item_count < 1)
16581658
{
16591659
delete t_item_text;

engine/src/dispatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ void MCDispatch::dodrop(bool p_source)
20632063
m_drag_end_sent = true;
20642064
MCdragsource -> message(MCM_drag_end);
20652065

2066-
// OK-2008-10-21 : [[Bug 7316]] - Cursor in script editor follows mouse after dragging to non-Revolution target.
2066+
// OK-2008-10-21 : [[Bug 7316]] - Cursor in script editor follows mouse after dragging to non-LiveCode target.
20672067
// I have no idea why this apparently only happens in the script editor, but this seems to fix it and doesn't seem too risky :)
20682068
// MW-2008-10-28: [[ Bug 7316 ]] - This happens because the script editor is doing stuff with drag messages
20692069
// causing the default engine behaviour to be overriden. In this case, some things have to happen to the field

engine/src/dskmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ bool X_init(int argc, char *argv[], char *envp[])
271271
if (strnequal(argv[i], "-h", 2) && strlen(argv[i]) == 2
272272
&& MCglobals == NULL)
273273
{
274-
fprintf(stderr, "Revolution %s Copyright 2003-2015 LiveCode Ltd.n\
274+
fprintf(stderr, "LiveCode %s Copyright 2003-2015 LiveCode Ltd.n\
275275
Usage: %s [-d[isplay] displayname] \n\
276276
[-f[iles] (disable access to files and processes)\n\
277277
[-g[eometry] ={+-}<xoffset>{+-}<yoffset>]\n\

engine/src/lnxpsprinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ void MCPSPrinterDevice::BeginPage(void)
487487
{
488488

489489
page_count++;
490-
sprintf(buffer, "%%%%Page: Revolution %d\n", page_count);
490+
sprintf(buffer, "%%%%Page: LiveCode %d\n", page_count);
491491
PSwrite ( buffer ) ;
492492
PSwrite("1.3 setlinewidth\n");
493493
m_page_started = true;
@@ -739,7 +739,7 @@ MCPrinterResult MCPSPrinter::DoBeginPrint(const char *p_document, MCPrinterDevic
739739
return PRINTER_RESULT_FAILURE;
740740

741741
PSwrite("%!PS-Adobe-3.0\n");
742-
sprintf(buffer, "%%%%Creator: Revolution %s\n", MCversionstring); PSwrite(buffer);
742+
sprintf(buffer, "%%%%Creator: LiveCode %s\n", MCversionstring); PSwrite(buffer);
743743
PSwrite("%%DocumentData: Clean8Bit\n");
744744
sprintf(buffer, "%%%%Title: %s\n", p_document ) ; PSwrite(buffer ) ;
745745
PSwrite("%%MCOrientation Portrait\n");

engine/src/lnxtransfer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extern Time LastPositionTime ;
106106
//
107107
// Class MCMIMEtype:
108108
// Encapsulates a MIME type. Stored as an Atom you can use this class
109-
// to convert between an Atom, a String, the Revolution transfer type
109+
// to convert between an Atom, a String, the LiveCode transfer type
110110
// and the Rev transfer type string.
111111

112112
class MCMIMEtype
@@ -169,7 +169,7 @@ class MCXTransferStore
169169
void internal ( bool i ) { m_internal_dnd = i ; } ;
170170

171171

172-
// Convertsion between MIME and Revolution type descriptors
172+
// Convertsion between MIME and LiveCode type descriptors
173173
MCMIMEtype * rev_to_MIME_stored ( MCTransferType p_type ) ;
174174

175175

engine/src/mode_development.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class MCRevRelicense : public MCStatement
137137

138138
static char *s_command_path = NULL;
139139

140-
static void restart_revolution(void)
140+
static void restart_livecode(void)
141141
{
142142
#if defined(TARGET_PLATFORM_WINDOWS)
143143
_spawnl(_P_NOWAIT, s_command_path, s_command_path, NULL);
@@ -204,7 +204,7 @@ Exec_stat MCRevRelicense::exec(MCExecPoint& ep)
204204

205205
s_command_path = MCS_resolvepath(MCcmd);
206206

207-
atexit(restart_revolution);
207+
atexit(restart_livecode);
208208

209209
return ES_NORMAL;
210210
}

engine/src/operator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ Exec_stat MCIs::eval(MCExecPoint &ep)
12591259
(EE_IS_WITHINNAR, line, pos, ep2.getsvalue());
12601260
return ES_ERROR;
12611261
}
1262-
// MW-2007-01-08: [[ Bug 5745 ]] For consistency across Revolution and also with
1262+
// MW-2007-01-08: [[ Bug 5745 ]] For consistency across LiveCode and also with
12631263
// HyperCard, 'is within' should *not* include bottom and right edges.
12641264
match = i1 >= i3 && i1 < i5 && i2 >= i4 && i2 < i6;
12651265
if (form == IT_NOT_WITHIN)

engine/src/osxprinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ void MCMacOSXPrinter::GetProperties(bool p_include_output)
854854
t_margins . right = 0.0;
855855
t_margins . bottom = 0.0;
856856

857-
PMPaperCreate(m_printer, CFSTR("Revolution"), CFSTR("Revolution Custom Paper"), GetPageWidth(), GetPageHeight(), &t_margins, &t_paper);
857+
PMPaperCreate(m_printer, CFSTR("LiveCode"), CFSTR("LiveCode Custom Paper"), GetPageWidth(), GetPageHeight(), &t_margins, &t_paper);
858858
}
859859

860860
PMCreatePageFormatWithPMPaper(&m_page_format, t_paper);

engine/src/srvdbgvar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919
* engine
2020
*
2121
* Created by Mark Waddingham on 08/04/2009.
22-
* Copyright 2009 Runtime Revolution. All rights reserved.
22+
* Copyright 2009-2015 LiveCode Ltd. All rights reserved.
2323
*
2424
*/
2525

0 commit comments

Comments
 (0)