common/libInit.cc
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 08 Jan 2019 09:35:11 +0000
changeset 866 8a885a75daa9
parent 431 5bc7ac796e5e
child 512 61df05330245
child 903 3c6c268d7395
permissions -rw-r--r--
Issue 256: fix parsing branch name from changelog To retrieve a branch of an changeset, `stx:libscm` uses `{branch}` branch keyword and then parses it as "name list". However, according to documentation it is a single string: branch String. The name of the branch on which the changeset was committed. This obviously caused problems when branch name had spaces in it. This commit fixes the problem. One remaining thing is that `stx:libscm` technically allows a changeset to be in more than one branch which seems to be impossible in Mercurial itself. This should be investigated and fixed, eventually.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     1
/*
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     2
 * $Header$
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     3
 *
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     4
 * DO NOT EDIT
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     5
 * automagically generated from the projectDefinition: stx_libscm_common.
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     6
 */
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     7
#define __INDIRECTVMINITCALLS__
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     8
#include <stc.h>
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
     9
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    10
#ifdef WIN32
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    11
# pragma codeseg INITCODE "INITCODE"
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    12
#endif
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    13
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    14
#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    15
DLL_EXPORT void _libstx_libscm_common_Init() INIT_TEXT_SECTION;
269
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    16
DLL_EXPORT void _libstx_libscm_common_InitDefinition() INIT_TEXT_SECTION;
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    17
#endif
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    18
269
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    19
void _libstx_libscm_common_InitDefinition(pass, __pRT__, snd)
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    20
OBJ snd; struct __vmData__ *__pRT__; {
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    21
__BEGIN_PACKAGE2__("libstx_libscm_common__DFN", _libstx_libscm_common_InitDefinition, "stx:libscm/common");
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    22
_stx_137libscm_137common_Init(pass,__pRT__,snd);
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    23
269
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    24
__END_PACKAGE__();
9fe7ec430706 SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 90
diff changeset
    25
}
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    26
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    27
void _libstx_libscm_common_Init(pass, __pRT__, snd)
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    28
OBJ snd; struct __vmData__ *__pRT__; {
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    29
__BEGIN_PACKAGE2__("libstx_libscm_common", _libstx_libscm_common_Init, "stx:libscm/common");
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    30
_SCMAbstractDialog_Init(pass,__pRT__,snd);
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    31
_SCMAbstractPackageModel_Init(pass,__pRT__,snd);
396
3c9d047e3841 Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 388
diff changeset
    32
_SCMAbstractPackageWorkingCopyRegistry_Init(pass,__pRT__,snd);
431
5bc7ac796e5e Change Class>>revision to return logical revision instead of binary revision.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 411
diff changeset
    33
_SCMAbstractRevisionInfo_Init(pass,__pRT__,snd);
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    34
_SCMAbstractSourceCodeManager_Init(pass,__pRT__,snd);
44
832a135ebe08 Dependency fixes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents: 43
diff changeset
    35
_SCMAbstractTask_Init(pass,__pRT__,snd);
388
d093d603292a Added caching to SCMAbstractPackageModel to speed up certain queries.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 382
diff changeset
    36
_SCMCodeMonitor_Init(pass,__pRT__,snd);
382
b661dd389038 Introduced SCMCommonPackageModelGroup.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 269
diff changeset
    37
_SCMCommonPackageModelGroup_Init(pass,__pRT__,snd);
53
8043f7b6f41a - More common code refactored
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents: 44
diff changeset
    38
_SCMCommonSourceCodeManagerUtilities_Init(pass,__pRT__,snd);
81
eeb86ad71bc3 Fixed all references to libsvn classes. Added SCMCompatModeQuery.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 53
diff changeset
    39
_SCMCompatModeQuery_Init(pass,__pRT__,snd);
411
858944cebec4 Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 396
diff changeset
    40
_SCMError_Init(pass,__pRT__,snd);
858944cebec4 Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 396
diff changeset
    41
_SCMWarning_Init(pass,__pRT__,snd);
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    42
_stx_137libscm_137common_Init(pass,__pRT__,snd);
44
832a135ebe08 Dependency fixes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents: 43
diff changeset
    43
_SCMAbstractCommitDialog_Init(pass,__pRT__,snd);
832a135ebe08 Dependency fixes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents: 43
diff changeset
    44
_SCMAbstractFileoutLikeTask_Init(pass,__pRT__,snd);
396
3c9d047e3841 Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 388
diff changeset
    45
_SCMAbstractPackageRevision_Init(pass,__pRT__,snd);
3c9d047e3841 Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 388
diff changeset
    46
_SCMAbstractPackageWorkingCopy_Init(pass,__pRT__,snd);
411
858944cebec4 Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 396
diff changeset
    47
_SCMPackageModelError_Init(pass,__pRT__,snd);
858944cebec4 Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 396
diff changeset
    48
_SCMPackageModelWarning_Init(pass,__pRT__,snd);
44
832a135ebe08 Dependency fixes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents: 43
diff changeset
    49
_SCMAbstractCommitTask_Init(pass,__pRT__,snd);
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    50
90
e2d19000e98c Added lost extension method
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 89
diff changeset
    51
_stx_137libscm_137common_extensions_Init(pass,__pRT__,snd);
43
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    52
__END_PACKAGE__();
a331d402de2f Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff changeset
    53
}