Fossil

Check-in [d92aad2919]
Login

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

Overview
Comment:Added missing #ifdefs for json mode.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | json-multitag-test | json
Files: files | file ages | folders
SHA1: d92aad29191c291f68f705be2be31c80885d9cd5
User & Date: json-demo 2011-11-04 20:46:04.329
Context
2011-11-04
20:48
Added missing #ifdefs for json mode. ... (Closed-Leaf check-in: 8a4e81cf93 user: json-demo tags: json-multitag-test, json)
20:46
Added missing #ifdefs for json mode. ... (check-in: d92aad2919 user: json-demo tags: json-multitag-test, json)
20:44
removed old rptshowJson(). ... (check-in: 5b13185100 user: json-demo tags: json-multitag-test, json)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/report.c.
17
18
19
20
21
22
23

24

25
26
27
28
29
30
31
**  
** Code to generate the ticket listings
*/
#include "config.h"
#include <time.h>
#include "report.h"
#include <assert.h>

#include "cson_amalgamation.h"


/* Forward references to static routines */
static void report_format_hints(void);

/*
** WEBPAGE: /reportlist
*/







>
|
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
**  
** Code to generate the ticket listings
*/
#include "config.h"
#include <time.h>
#include "report.h"
#include <assert.h>
#ifdef FOSSIL_ENABLE_JSON
#  include "cson_amalgamation.h"
#endif

/* Forward references to static routines */
static void report_format_hints(void);

/*
** WEBPAGE: /reportlist
*/
Changes to src/timeline.c.
18
19
20
21
22
23
24

25

26
27
28
29
30
31
32
** This file contains code to implement the timeline web page
**
*/
#include <string.h>
#include <time.h>
#include "config.h"
#include "timeline.h"

#include "cson_amalgamation.h"


/*
** Shorten a UUID so that is the minimum length needed to contain
** at least one digit in the range 'a'..'f'.  The minimum length is 10.
*/
static void shorten_uuid(char *zDest, const char *zSrc){
  int i;







>
|
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
** This file contains code to implement the timeline web page
**
*/
#include <string.h>
#include <time.h>
#include "config.h"
#include "timeline.h"
#ifdef FOSSIL_ENABLE_JSON
#  include "cson_amalgamation.h"
#endif

/*
** Shorten a UUID so that is the minimum length needed to contain
** at least one digit in the range 'a'..'f'.  The minimum length is 10.
*/
static void shorten_uuid(char *zDest, const char *zSrc){
  int i;