Skip to content

Commit eeb3087

Browse files
committed
make class for SQLite database managment
Remote manage SQLite database with simple API: http://my_server.com/any_page?user=user_name&password=user_password&sql=any_sql_quuery
1 parent 325a745 commit eeb3087

File tree

1,713 files changed

+463831
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,713 files changed

+463831
-14
lines changed

curl/.gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.dsw -crlf
2+
buildconf eol=lf
3+
configure.ac eol=lf
4+
*.m4 eol=lf
5+
*.in eol=lf

curl/.gitignore

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.deps
2+
.libs
3+
*.lib
4+
*.pdb
5+
*.dll
6+
*.exe
7+
*.obj
8+
*.asc
9+
.*.swp
10+
Debug
11+
Release
12+
*.exp
13+
Makefile
14+
Makefile.in
15+
aclocal.m4
16+
autom4te.cache
17+
config.cache
18+
config.guess
19+
config.log
20+
config.status
21+
config.sub
22+
configure
23+
depcomp
24+
libtool
25+
ltmain.sh
26+
compile
27+
curl-config
28+
libcurl.pc
29+
missing
30+
curl-*.tar.gz
31+
curl-*.tar.bz2
32+
curl-*.tar.lzma
33+
curl-*.zip
34+
INSTALL
35+
install-sh
36+
*.o
37+
*.lo
38+
*.la
39+
mkinstalldirs
40+
tags
41+
TAGS
42+
*~
43+
aclocal.m4.bak
44+
CHANGES.dist
45+
.project
46+
.cproject
47+
.settings

curl/Android.mk

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Google Android makefile for curl and libcurl
2+
#
3+
# This file can be used when building curl using the full Android source
4+
# release or the NDK. Most users do not want or need to do this; please
5+
# instead read the Android section in docs/INSTALL for alternate
6+
# methods.
7+
#
8+
# Place the curl source (including this makefile) into external/curl/ in the
9+
# Android source tree. Then build them with 'make curl' or just 'make libcurl'
10+
# from the Android root. Tested with Android versions 1.5, 2.1-2.3
11+
#
12+
# Note: you must first create a curl_config.h file by running configure in the
13+
# Android environment. The only way I've found to do this is tricky. Perform a
14+
# normal Android build with libcurl in the source tree, providing the target
15+
# "showcommands" to make. The build will eventually fail (because curl_config.h
16+
# doesn't exist yet), but the compiler commands used to build curl will be
17+
# shown. Now, from the external/curl/ directory, run curl's normal configure
18+
# command with flags that match what Android itself uses. This will mean
19+
# putting the compiler directory into the PATH, putting the -I, -isystem and
20+
# -D options into CPPFLAGS, putting the -W, -m, -f, -O and -nostdlib options
21+
# into CFLAGS, and putting the -Wl, -L and -l options into LIBS, along with the
22+
# path to the files libgcc.a, crtbegin_dynamic.o, and ccrtend_android.o.
23+
# Remember that the paths must be absolute since you will not be running
24+
# configure from the same directory as the Android make. The normal
25+
# cross-compiler options must also be set. Note that the -c, -o, -MD and
26+
# similar flags must not be set.
27+
#
28+
# To see all the LIBS options, you'll need to do the "showcommands" trick on an
29+
# executable that's already buildable and watch what flags Android uses to link
30+
# it (dhcpcd is a good choice to watch). You'll also want to add -L options to
31+
# LIBS that point to the out/.../obj/lib/ and out/.../obj/system/lib/
32+
# directories so that additional libraries can be found and used by curl.
33+
#
34+
# The end result will be a configure command that looks something like this
35+
# (the environment variable A is set to the Android root path which makes the
36+
# command shorter):
37+
#
38+
# A=`realpath ../..` && \
39+
# PATH="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/bin:$PATH" \
40+
# ./configure --host=arm-linux CC=arm-eabi-gcc \
41+
# CPPFLAGS="-I $A/system/core/include ..." \
42+
# CFLAGS="-nostdlib -fno-exceptions -Wno-multichar ..." \
43+
# LIBS="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/lib/gcc/arm-eabi/X\
44+
# /interwork/libgcc.a ..."
45+
#
46+
# Finally, copy the file COPYING to NOTICE so that the curl license gets put
47+
# into the right place (but see the note about this below).
48+
#
49+
# Dan Fandrich
50+
# November 2011
51+
52+
LOCAL_PATH:= $(call my-dir)
53+
54+
common_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -DHAVE_CONFIG_H
55+
56+
#########################
57+
# Build the libcurl library
58+
59+
include $(CLEAR_VARS)
60+
include $(LOCAL_PATH)/lib/Makefile.inc
61+
CURL_HEADERS := \
62+
curlbuild.h \
63+
curl.h \
64+
curlrules.h \
65+
curlver.h \
66+
easy.h \
67+
mprintf.h \
68+
multi.h \
69+
stdcheaders.h \
70+
typecheck-gcc.h
71+
72+
LOCAL_SRC_FILES := $(addprefix lib/,$(CSOURCES))
73+
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/
74+
LOCAL_CFLAGS += $(common_CFLAGS)
75+
76+
LOCAL_COPY_HEADERS_TO := libcurl/curl
77+
LOCAL_COPY_HEADERS := $(addprefix include/curl/,$(CURL_HEADERS))
78+
79+
LOCAL_MODULE:= libcurl
80+
LOCAL_MODULE_TAGS := optional
81+
82+
# Copy the licence to a place where Android will find it.
83+
# Actually, this doesn't quite work because the build system searches
84+
# for NOTICE files before it gets to this point, so it will only be seen
85+
# on subsequent builds.
86+
ALL_PREBUILT += $(LOCAL_PATH)/NOTICE
87+
$(LOCAL_PATH)/NOTICE: $(LOCAL_PATH)/COPYING | $(ACP)
88+
$(copy-file-to-target)
89+
90+
include $(BUILD_STATIC_LIBRARY)
91+
92+
93+
#########################
94+
# Build the curl binary
95+
96+
include $(CLEAR_VARS)
97+
include $(LOCAL_PATH)/src/Makefile.inc
98+
LOCAL_SRC_FILES := $(addprefix src/,$(CURL_CFILES))
99+
100+
LOCAL_MODULE := curl
101+
LOCAL_MODULE_TAGS := optional
102+
LOCAL_STATIC_LIBRARIES := libcurl
103+
LOCAL_SYSTEM_SHARED_LIBRARIES := libc
104+
105+
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include $(LOCAL_PATH)/lib
106+
107+
# This may also need to include $(CURLX_ONES) in order to correctly link
108+
# if libcurl is changed to be built as a dynamic library
109+
LOCAL_CFLAGS += $(common_CFLAGS)
110+
111+
include $(BUILD_EXECUTABLE)
112+

curl/Backup/vc6curl.sln

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 9.00
3+
# Visual Studio 2005
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcurl", "lib\vc6libcurl.vcproj", "{53C0124D-1B1C-40A2-99C2-B44963B85A18}"
5+
EndProject
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "curlsrc", "src\vc6curlsrc.vcproj", "{3800A035-E2EB-442B-BB4E-BD2D34F6624B}"
7+
ProjectSection(ProjectDependencies) = postProject
8+
{53C0124D-1B1C-40A2-99C2-B44963B85A18} = {53C0124D-1B1C-40A2-99C2-B44963B85A18}
9+
EndProjectSection
10+
EndProject
11+
Global
12+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
13+
DLL Debug|Win32 = DLL Debug|Win32
14+
DLL Release|Win32 = DLL Release|Win32
15+
LIB Debug|Win32 = LIB Debug|Win32
16+
LIB Release|Win32 = LIB Release|Win32
17+
using libcurl DLL Debug|Win32 = using libcurl DLL Debug|Win32
18+
using libcurl DLL Release|Win32 = using libcurl DLL Release|Win32
19+
using libcurl LIB Debug|Win32 = using libcurl LIB Debug|Win32
20+
using libcurl LIB Release|Win32 = using libcurl LIB Release|Win32
21+
EndGlobalSection
22+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
23+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.DLL Debug|Win32.ActiveCfg = DLL Debug|Win32
24+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.DLL Debug|Win32.Build.0 = DLL Debug|Win32
25+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.DLL Release|Win32.ActiveCfg = DLL Release|Win32
26+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.DLL Release|Win32.Build.0 = DLL Release|Win32
27+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.LIB Debug|Win32.ActiveCfg = LIB Debug|Win32
28+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.LIB Debug|Win32.Build.0 = LIB Debug|Win32
29+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.LIB Release|Win32.ActiveCfg = LIB Release|Win32
30+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.LIB Release|Win32.Build.0 = LIB Release|Win32
31+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl DLL Debug|Win32.ActiveCfg = DLL Debug|Win32
32+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl DLL Debug|Win32.Build.0 = DLL Debug|Win32
33+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl DLL Release|Win32.ActiveCfg = DLL Release|Win32
34+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl DLL Release|Win32.Build.0 = DLL Release|Win32
35+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl LIB Debug|Win32.ActiveCfg = LIB Debug|Win32
36+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl LIB Debug|Win32.Build.0 = LIB Debug|Win32
37+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl LIB Release|Win32.ActiveCfg = LIB Release|Win32
38+
{53C0124D-1B1C-40A2-99C2-B44963B85A18}.using libcurl LIB Release|Win32.Build.0 = LIB Release|Win32
39+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.DLL Debug|Win32.ActiveCfg = using libcurl DLL Debug|Win32
40+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.DLL Debug|Win32.Build.0 = using libcurl DLL Debug|Win32
41+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.DLL Release|Win32.ActiveCfg = using libcurl DLL Release|Win32
42+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.DLL Release|Win32.Build.0 = using libcurl DLL Release|Win32
43+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.LIB Debug|Win32.ActiveCfg = using libcurl LIB Debug|Win32
44+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.LIB Debug|Win32.Build.0 = using libcurl LIB Debug|Win32
45+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.LIB Release|Win32.ActiveCfg = using libcurl LIB Release|Win32
46+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.LIB Release|Win32.Build.0 = using libcurl LIB Release|Win32
47+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl DLL Debug|Win32.ActiveCfg = using libcurl DLL Debug|Win32
48+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl DLL Debug|Win32.Build.0 = using libcurl DLL Debug|Win32
49+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl DLL Release|Win32.ActiveCfg = using libcurl DLL Release|Win32
50+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl DLL Release|Win32.Build.0 = using libcurl DLL Release|Win32
51+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl LIB Debug|Win32.ActiveCfg = using libcurl LIB Debug|Win32
52+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl LIB Debug|Win32.Build.0 = using libcurl LIB Debug|Win32
53+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl LIB Release|Win32.ActiveCfg = using libcurl LIB Release|Win32
54+
{3800A035-E2EB-442B-BB4E-BD2D34F6624B}.using libcurl LIB Release|Win32.Build.0 = using libcurl LIB Release|Win32
55+
EndGlobalSection
56+
GlobalSection(SolutionProperties) = preSolution
57+
HideSolutionNode = FALSE
58+
EndGlobalSection
59+
EndGlobal

curl/CHANGES

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
_ _ ____ _
2+
___| | | | _ \| |
3+
/ __| | | | |_) | |
4+
| (__| |_| | _ <| |___
5+
\___|\___/|_| \_\_____|
6+
7+
Changelog
8+
9+
This file no longer holds the changelog. Now you can generate it yourself
10+
like this:
11+
12+
$ git log --pretty=fuller --no-color --date=short --decorate=full | \
13+
./log2changes.pl
14+
15+
The older, manually edited, changelog is found in git named CHANGES.0

0 commit comments

Comments
 (0)