Fossil

Changes On Branch tip-440-alt
Login

Changes On Branch tip-440-alt

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

Changes In Branch tip-440-alt Excluding Merge-Ins

This is equivalent to a diff from 12cf825f to 9633f6ac

2016-01-26
15:42
Improved error message when the "ls" command is used with -R but without -r. ... (check-in: 844a7a78 user: drh tags: trunk)
14:12
Redo TIP #440 alternative - again - now using the "info runtime" command. ... (Closed-Leaf check-in: 9633f6ac user: jan.nijtmans tags: tip-440-alt)
13:18
Fix a comment with wrong parameters description ... (check-in: 12cf825f user: baruch tags: trunk)
10:22
Alternative TIP #440 implementation, based on TIP #59 ... (check-in: 2ba6587c user: jan.nijtmans tags: tip-440-alt)
2016-01-21
12:44
fixed condition which caused the "Yearly total" row to not be rendered on the oldest year in the bymonth report in some cases. ... (check-in: ec3dd27f user: stephan tags: trunk)

Changes to src/th_lang.c.

945
946
947
948
949
950
951















952
953
954
955
956
957
958
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







  Th_SetResult(interp, zElem, nElem);
  if( zElem ) Th_Free(interp, zElem);
  return TH_OK;
}

/*
** TH Syntax:
**
**   info runtime
*/
static int info_runtime_command(
  Th_Interp *interp, void *ctx, int argc, const char **argv, int *argl
){
  if( argc!=2 ){
    return Th_WrongNumArgs(interp, "info runtime");
  }
  Th_SetResult(interp, "TH1", -1);
  return TH_OK;
}

/*
** TH Syntax:
**
**   info vars
*/
static int info_vars_command(
  Th_Interp *interp, void *ctx, int argc, const char **argv, int *argl
){
  int rc;
1103
1104
1105
1106
1107
1108
1109

1110
1111
1112
1113
1114
1115
1116
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132







+







  int argc,
  const char **argv,
  int *argl
){
  static const Th_SubCommand aSub[] = {
    { "commands", info_commands_command },
    { "exists",   info_exists_command },
    { "runtime",  info_runtime_command },
    { "vars",     info_vars_command },
    { 0, 0 }
  };
  return Th_CallSubCommand(interp, ctx, argc, argv, argl, aSub);
}

/*