My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef _uppweb_www_h_
#define _uppweb_www_h_

// upp web forum counter at 11/11 453604

#include <Web/Web.h>
#include <RichText/RichText.h>
#include <plugin/gif/gif.h>
#include <CtrlLib/CtrlLib.h>
#include <ide/Browser/Browser.h>

using namespace Upp;

#ifdef _MULTITHREADED
#define MTC
#endif

void InitWwwTpp();

struct SvnListRev : Moveable <SvnListRev> {
String author;
int revision;
Time time;
String fullPath;
};

struct SvnLogRev : Moveable <SvnLogRev> {
String revision;
String author;
Time time;
struct SvnChange : Moveable <SvnChange> {
String kind;
String action;
String path;
};
Vector<SvnChange> changes;
String msg;
Index<String> tags;
bool major;
};

struct SvnBazaarItems : Moveable <SvnBazaarItems> {
String name;
int64 size;
Time lastChange;
String description;
String authors;
String status;
String externalDependencies;
String supportedOS;
String imagePath;
};

extern String uppsrc;
extern String uppbox;
extern String bazaar;
extern String rootdir;
extern VectorMap<String, String> reflink;
extern VectorMap<String, SvnListRev> svndata;
extern Vector<SvnLogRev> svnlog;

String TopicFileName(const char *dir, const char *topic);
String TopicFileNameHtml(const char *topic);
String GatherTopics(VectorMap<String, Topic>& map, const char *topic, String& title);
String GatherTopics(VectorMap<String, Topic>& map, const char *topic);

String CppAsQtf(const String& s);

void GatherRefLinks(const char *upp);

void GetSvnList(VectorMap<String, SvnListRev> &data, const String &);
void GetSvnLog(Vector<SvnLogRev> &log, int limit = -1);
String SvnChanges(Vector<SvnLogRev> &log, int limit, String filter, bool major = false);
Vector <SvnBazaarItems> SvnBazaarList(String bazaarPath, Vector<SvnLogRev> &log);
String BytesToString(uint64 _bytes, bool units = true);

#endif

Change log

r4272 by cxl on Dec 8, 2011   Diff
.uppbox: uppweb (removed linking of
www.tpp, it is now loaded instead)
Go to: 
Project members, sign in to write a code review

Older revisions

r4113 by cxl on Nov 1, 2011   Diff
.uppweb counter transition comment
r3168 by koldo on Feb 5, 2011   Diff
uppweb: Some changes in Bazaar and
Index pages
r2470 by koldo on Jun 9, 2010   Diff
UppWeb: Added index page translation
to Simplified Chinese by Bonami
UppWeb: Included access to web page
source in footer
.UppWeb: Included new release 2467
All revisions of this file

File info

Size: 1951 bytes, 77 lines
Powered by Google Project Hosting