Fossil

Check-in [dd3bf669]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:copyright resource uses only year
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS_2
Files: files | file ages | folders
SHA1:dd3bf669e87185683554d71884a9b89daf8e3608
User & Date: wolfgang 2010-09-30 14:01:04
Context
2010-09-30
14:30
added comment to compile variant definition, added missing pellesC ifdef check-in: 12eb50d1 user: wolfgang tags: wolfgangFormat2CSS_2
14:01
copyright resource uses only year check-in: dd3bf669 user: wolfgang tags: wolfgangFormat2CSS_2
06:44
extended resource info for windows compile check-in: dd830ff8 user: Ratte tags: wolfgangFormat2CSS_2
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/fossil.rc.

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  BEGIN
    BLOCK "040904B0"
    BEGIN
      VALUE "FileDescription", "distributed source code control system with integrated wiki and ticket-system\0"
      VALUE "Comments", "compiler variant: "COMPILE_VARIANT"\0"
      VALUE "FileVersion", MANIFEST_UUID"("COMPILE_VARIANT"\0"
      VALUE "InternalName", "fossil\0"
      VALUE "LegalCopyright", "Copyright (c) "MANIFEST_DATE" D. Richard Hipp\0"
      VALUE "OriginalFilename", "fossil.exe\0"
      VALUE "ProductName", "fossil\0"
      VALUE "ProductVersion", MANIFEST_VERSION" "MANIFEST_DATE" UTC\0"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x409, 0x4B0
  END
END

8003 ICON "fossil.ico"








|











|

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  BEGIN
    BLOCK "040904B0"
    BEGIN
      VALUE "FileDescription", "distributed source code control system with integrated wiki and ticket-system\0"
      VALUE "Comments", "compiler variant: "COMPILE_VARIANT"\0"
      VALUE "FileVersion", MANIFEST_UUID"("COMPILE_VARIANT"\0"
      VALUE "InternalName", "fossil\0"
      VALUE "LegalCopyright", "Copyright (c) "MANIFEST_YEAR" D. Richard Hipp\0"
      VALUE "OriginalFilename", "fossil.exe\0"
      VALUE "ProductName", "fossil\0"
      VALUE "ProductVersion", MANIFEST_VERSION" "MANIFEST_DATE" UTC\0"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x409, 0x4B0
  END
END

8001 ICON "fossil.ico"

Changes to win/version.c.

8
9
10
11
12
13
14

15
16
17
18
19
    b[strlen(b)-1] =0;
    printf("#define MANIFEST_UUID \"%s\"\n",b);
    printf("#define MANIFEST_VERSION \"[%10.10s]\"\n",b);
    m = fopen(argv[2],"r");
    while(b ==  fgets(b, sizeof(b)-1,m)){
        if(0 == strncmp("D ",b,2)){
            printf("#define MANIFEST_DATE \"%.10s %.8s\"\n",b+2,b+13);

            return 0;
        }
    }
    return 1;
}







>





8
9
10
11
12
13
14
15
16
17
18
19
20
    b[strlen(b)-1] =0;
    printf("#define MANIFEST_UUID \"%s\"\n",b);
    printf("#define MANIFEST_VERSION \"[%10.10s]\"\n",b);
    m = fopen(argv[2],"r");
    while(b ==  fgets(b, sizeof(b)-1,m)){
        if(0 == strncmp("D ",b,2)){
            printf("#define MANIFEST_DATE \"%.10s %.8s\"\n",b+2,b+13);
            printf("#define MANIFEST_YEAR \"%.4s\"\n",b+2);
            return 0;
        }
    }
    return 1;
}