Fossil

Check-in [ae09eed3]
Login

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

Overview
Comment:Fix over-length source code lines in src/xfersetup.c
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | xfer-tweaks
Files: files | file ages | folders
SHA1: ae09eed3aaf05a7ae472d4331050aed8763edf4a
User & Date: drh 2015-03-17 17:07:42
Context
2015-03-17
17:10
Improvements to the HTML generated for the /xfersetup page. check-in: f215075a user: drh tags: trunk
17:07
Fix over-length source code lines in src/xfersetup.c Closed-Leaf check-in: ae09eed3 user: drh tags: xfer-tweaks
16:40
Html generation adjustments to xfersetup page and friends check-in: 38ddc8fa user: jmoger tags: xfer-tweaks
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfersetup.c.

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
...
179
180
181
182
183
184
185
186

187
188
189
190
191
192
193
      zWarning = 0;
    }else{
      syncFlags = SYNC_PUSH | SYNC_PULL;
      zButton = "Synchronize";
      zWarning = mprintf("WARNING: Pushing to \"%s\" is enabled.",
                         g.url.canonical);
    }
    @ <p>Press the <strong>%h(zButton)</strong> button below to synchronize with the
    @ <em>%h(g.url.canonical)</em> repository now.<br/>This may be useful when
    @ testing the various transfer scripts.</p>
    @ <p>You can use the <code>http -async</code> command in your scripts, but
    @ make sure the <code>th1-uri-regexp</code> setting is set first.</p>
    if( zWarning ){
      @
      @ <big><b>%h(zWarning)</b></big>
      free(zWarning);
    }
................................................................................
static const char *zDefaultXferPush = 0;

/*
** WEBPAGE: xfersetup_push
*/
void xfersetup_push_page(void){
  static const char zDesc[] =
  @ Enter TH1 script that runs after processing <strong>push</strong> transfer requests.

  ;
  xfersetup_generic(
    "Transfer Push Script",
    "xfer-push-script",
    zDefaultXferPush,
    zDesc,
    0,







|
|
|







 







|
>







58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
...
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
      zWarning = 0;
    }else{
      syncFlags = SYNC_PUSH | SYNC_PULL;
      zButton = "Synchronize";
      zWarning = mprintf("WARNING: Pushing to \"%s\" is enabled.",
                         g.url.canonical);
    }
    @ <p>Press the <strong>%h(zButton)</strong> button below to
    @ synchronize with the <em>%h(g.url.canonical)</em> repository now.<br/>
    @ This may be useful when testing the various transfer scripts.</p>
    @ <p>You can use the <code>http -async</code> command in your scripts, but
    @ make sure the <code>th1-uri-regexp</code> setting is set first.</p>
    if( zWarning ){
      @
      @ <big><b>%h(zWarning)</b></big>
      free(zWarning);
    }
................................................................................
static const char *zDefaultXferPush = 0;

/*
** WEBPAGE: xfersetup_push
*/
void xfersetup_push_page(void){
  static const char zDesc[] =
  @ Enter TH1 script that runs after processing <strong>push</strong>
  @ transfer requests.
  ;
  xfersetup_generic(
    "Transfer Push Script",
    "xfer-push-script",
    zDefaultXferPush,
    zDesc,
    0,