Commit Graph

1690 Commits

Author SHA1 Message Date
b081c10f83 fixed wrong cache handing in manipulating the attributes in raddic 2017-12-12 03:17:02 +00:00
80ade41ea9 added qse_raddic_addattr(), qse_raddic_deleteattrbyname(), qes_raddic_deleteattrbyvalue(), qse_raddic_findattrbyname(), qse_raddic_findattrbyvalue() 2017-12-11 10:02:49 +00:00
c9bbd3c993 added qse_htl_yanknode(), qse_htl_upyank().
added qse_raddic_deletevendorbyname(), qse_raddic_deletevendorbyid()
2017-12-11 08:48:06 +00:00
4266d8026c added qse_raddic_addvendor(), qse_raddic_findvendorbyvalue(), qse_raddic_findvendorbyname() 2017-12-08 08:12:24 +00:00
5db7ddc770 added another new hash table implementation based on fr 2017-11-30 05:46:42 +00:00
02f3adf134 added QSE_LIBCALL?() macros 2017-10-27 08:05:41 +00:00
25de06d195 added AppRoot::chroot() 2017-10-27 06:56:31 +00:00
38102f659e removed a unneeded colon in inline assembly that caused compilation failure with old gcc 3.X 2017-10-19 03:12:24 +00:00
88e67887b7 fixed a wrong check when setting a log target 2017-09-29 00:32:31 +00:00
3478885962 added qse_get_highest_fd(), qse_close_open_fds_using_proc()
added QSE::AppRoot::daemonize()
2017-09-26 13:49:16 +00:00
4e097466ae improved the file path management in the logging function 2017-09-19 14:08:46 +00:00
db421d4208 fixed prototypes for qse_wcs_vfmt() and qse_wcs_vfcat() 2017-09-18 04:16:06 +00:00
2304a0a5bb enhanced the logging functions to support priority masking and added/changed helper functions to convert betwee numeric values and string values 2017-09-18 04:06:58 +00:00
c5ac9558ab change the logging function to support priority masking 2017-09-18 02:46:54 +00:00
cdc64c347f fixed compilation issues on netbsd i386 2017-09-17 12:29:59 +00:00
e8b59346a7 fixed wrong calls to math_log in the awk math module 2017-09-16 10:41:25 +00:00
36db3c8623 added fallback match::log2() code for platforms lacking log2 2017-09-16 09:48:00 +00:00
a7bc6a6eb2 fixed some bugs in formatting output function 2017-09-16 09:16:15 +00:00
2cc8894570 renamed some sio functions 2017-09-16 08:54:25 +00:00
3ac8bc1f49 added math::log2() to awk.
fixed some bugs in syslog handling
2017-09-16 07:01:03 +00:00
dae0fc8adb added a tester for logging functions 2017-09-16 04:10:14 +00:00
bcc9da7aca fixed log functions for the WCHAR mode 2017-09-16 03:57:54 +00:00
33436ab0fb added Ixx length specifier to the formatting function.
improved the system log interface in the logging function
2017-09-16 03:21:30 +00:00
93cc3d6da4 added some logging functions 2017-09-14 18:19:51 +00:00
aa6a41c009 refactored code a little bit 2017-09-13 14:04:01 +00:00
936426de42 fixed compilation issues on solaris 8 2017-09-09 15:03:55 +00:00
70f8765ada added a new check for pthread_mutex_timedlock() into configure.ac 2017-09-09 13:07:24 +00:00
dc53a74542 added the seed crypto function 2017-09-08 16:15:15 +00:00
8b40ed630c added some convenience functions to QSE::LinkedList, QSE::HashTable, and QSE::HashList 2017-09-04 12:32:48 +00:00
3cd745c181 removed a unneeded macro argument from qse_ethwadtostr() 2017-09-02 17:28:35 +00:00
375ede4a6a added convienience functions to manipulate the first items and the last items in the array class 2017-08-31 16:07:16 +00:00
eb5e5c10d3 checked the no-buffer condition in some string functions 2017-08-31 11:20:50 +00:00
5846d6c1a8 added move constructors and move assignement operators to string classes 2017-08-31 09:53:50 +00:00
559f965aa5 added to StrBase a special constructor that doesn't allocation a buffer.
added PtrString classes
added removeNode to HashList and HashTable.
added findNode to HashTable
2017-08-30 13:50:02 +00:00
211f5b014e added String::truncate() and related functions.
started adding radius dictionary file reader. incomplete yet
2017-08-29 09:09:51 +00:00
25e49a4526 added md5 and radius message handling functions and raised the version number to 0.7.0 2017-08-28 14:22:02 +00:00
b0008974c3 Added ethernet address conversion functions 2017-08-28 10:25:54 +00:00
1f9632b151 fixed header file inclusion of signal.h in aio-pro.c 2017-05-04 01:12:19 +00:00
5630bd63f0 changed qse_awk_stdmodXXX() functions to avoid accessing extension area such that StdAwk doesn't get bitten when it called them 2017-05-03 03:41:00 +00:00
1e19713270 added mysql build options for future use 2017-05-02 01:17:03 +00:00
51c77b53f7 fixed the potential overflow issue that would never happen in various binary serach functions 2017-05-02 01:15:12 +00:00
b96113159b fixed the potential overflow issue that would never happen in various binary serach functions 2017-05-02 01:14:32 +00:00
8093f20372 changed htb.c to help align the value pointer on a word boundary 2017-04-28 14:41:31 +00:00
f3f5d38fc6 changed rbt.c to help align the value pointer on a word boundary 2017-04-28 14:40:10 +00:00
237d46483c fixed QSE_COUNTOF() 2017-04-07 14:20:10 +00:00
f28fee48cc added AT_SYMLINK_NOFOLLOW availability check into lib/si/fs-attr.c 2017-03-20 10:04:52 +00:00
d00bb12e34 fixed a wrong file name in lib/si/Makefile.am 2017-03-20 09:46:45 +00:00
1d90343b39 removed unneeded ltdl files 2017-02-11 05:04:55 +00:00
00bae5b613 added str::tonum() to awk 2017-02-11 05:04:13 +00:00
87060d2121 added a missed file 2017-01-25 06:31:33 +00:00
33546fb6d7 changed nwio to use poll if available instead of select 2017-01-25 06:30:43 +00:00
2151e2997f changed HAVE_SYS_POLL_H to HAVE_POLL_H in httpd-std.c 2017-01-25 06:03:21 +00:00
2efe909dba changed the threshold value for FD_SETSIZE check 2017-01-25 05:40:49 +00:00
1fffa0324e changed the writability checker to use poll() to handle a high file descroptor in httpd-std.c.
added server.backlog-size option for httpd servers
2017-01-25 05:28:02 +00:00
cf0956cad6 changed qse_fs_cpfile() to copy a directory that has been copied already 2016-12-18 17:12:21 +00:00
662fdec270 added QSE_XXX_EPERM to some files 2016-12-17 17:38:03 +00:00
5a642d0dd6 changed wrong macro names 2016-12-13 01:45:11 +00:00
7ca53162de added glob handling to qse_fs_cpfile() 2016-12-12 16:19:59 +00:00
78600e6edc added qse_fs_setattr() and related functions 2016-12-10 18:08:02 +00:00
eea7ef5405 updated documentation on match() 2016-11-09 14:12:42 +00:00
905da20d24 implemented the option fourth parameter to match() in awk to support submatch retrieval 2016-11-09 14:12:22 +00:00
27dd0a551b updated htb.h and arr.h 2016-09-25 15:43:17 +00:00
d321a312d4 added qse_arr_setheapposoffset() 2016-09-24 04:01:17 +00:00
6b9fd818f8 added qse_arr_updateheap(), qse_arr_deleteheap() 2016-09-24 02:49:24 +00:00
7f24950536 renamed qse_lda_t to qse_arr_t 2016-09-23 14:53:51 +00:00
dfdc6ae045 fixed documentation in lda.h 2016-09-21 13:19:27 +00:00
1b4479d437 fixed wrong htb header documentation 2016-09-21 10:18:21 +00:00
735183d5a6 removed more unneeded definitions 2016-05-31 08:13:36 +00:00
c00b988dcd removed unneeded definitions 2016-05-31 08:10:31 +00:00
89ce0eb2c3 added an aio test program 2016-04-30 04:32:52 +00:00
f58226a99b added qsesi.pc.in again 2016-04-30 04:22:24 +00:00
b6dfbed804 added qsesi.pc.in 2016-04-30 04:20:10 +00:00
27317f9458 added sys/poll.h to configure.ac 2016-04-29 04:53:10 +00:00
66dfa3a2fd did more migrating works 2016-04-29 03:55:42 +00:00
3fc215d1e7 fixed os2 build files 2016-04-28 16:02:47 +00:00
cc068a60ab added back sck.h 2016-04-28 16:00:13 +00:00
cea0f129c1 deleted unneeded directories 2016-04-28 15:59:12 +00:00
5f46de1083 updated build files 2016-04-28 15:57:20 +00:00
616e24ee00 moved more files to si 2016-04-28 15:43:33 +00:00
9cb6c963fa migrated some files from cmn to si 2016-04-28 15:29:28 +00:00
49d3dcfeda merged sys and io to si 2016-04-28 14:33:10 +00:00
3c5b45571e rewrote assertion output function to remove dependency on sio 2016-04-28 05:52:35 +00:00
61a6cf281f added aio files. some file restructuring in progress 2016-04-27 14:57:50 +00:00
632a4d7181 added QSE_ALIGNTO(), QSE_ALIGNTO_POW2(), QSE_IS_UNALIGNED_POW2(), QSE_IS_ALIGNED_POW2() 2016-04-27 06:54:18 +00:00
8b417bab8f corrected harmless glitches 2016-04-26 13:30:29 +00:00
cfc92b99b7 fixe wrong character class macros 2016-04-26 05:59:15 +00:00
7b168e67e7 added a missed file 2016-04-18 07:08:56 +00:00
9b4c897d6c changed pio to used param->fixed_argv if the number of arguments is <= 3 2016-04-11 14:32:27 +00:00
5b395db9e7 made ursd compileable for win32/64 2016-04-10 00:06:28 +00:00
645f6d0c42 added Socket.cpp 2016-04-08 11:11:20 +00:00
54a883bc1e added sys::mktime() and sys::strftime() to awk 2016-04-08 09:52:55 +00:00
1bdd1f5f6c changed the function signature of qse_tmr_gettmout() 2016-01-30 18:07:20 +00:00
ca08d90853 fixed indentiions and type names 2016-01-29 12:31:08 +00:00
6353bbfc15 added qse_setscknonblock(), qse_initsckconn(), qse_finisckconn() 2015-12-31 15:15:44 +00:00
07f4118d5d touched up code a little bit 2015-12-13 09:56:44 +00:00
1d99026dbc enhanced awk to detected divide-by-zero error when folding constans 2015-11-20 03:12:07 +00:00
028646bb54 added QSE_HTTPD_SERVER_TRANSPARENT to allow optional support for TPROXY.
changed to set the target to SECURE when the intercepted connection is known to be SECURE
2015-11-15 14:23:59 +00:00
c7bd05b419 added a minor build check in mod-math.c requiring quadmath.h in a certain context 2015-11-03 13:40:56 +00:00
c42a9945b1 changed to use lt_dlopenadvise() instead of lt_dlopenext() 2015-10-26 16:40:09 +00:00
cb61a8ac69 fixed indentation 2015-10-14 08:45:28 +00:00
768c2eb0c5 moved mux.c to sys from cmn 2015-10-02 06:10:55 +00:00
850ae4d83b changed awk and sed to use qse_setintrhandler() 2015-10-02 05:27:25 +00:00
96744530f0 added qse_setintrhandler() & qse_clearintrhandler() 2015-10-02 03:21:20 +00:00
b53509e1f8 added qse_rwl_t 2015-10-01 15:51:15 +00:00
49f4c3087f added QSE_SECNSEC_TO_USEC()
removed qse_mtx_trylock() and added the waiting_time parameter to qse_mtx_lock()
2015-09-30 13:22:40 +00:00
74ab14974b enhanced intercept handling in httpd 2015-09-28 07:33:46 +00:00
1f6fbd4f9f added qse_cnd_t 2015-09-24 14:35:50 +00:00
2ca43127fc added qse_mtx_t 2015-09-24 02:20:39 +00:00
e4a3026dc1 reorganized strjoin and related functions
added qse_thr_t
2015-09-23 13:34:04 +00:00
e11704ce16 added the SocketAddress class partially done 2015-09-15 13:29:15 +00:00
5d35faf028 updated the xli test program to terminate on failure of qse_xli_setpairwithstr() 2015-09-02 08:45:56 +00:00
dc43385559 added qse_xli_setpairwithstr() and qse_xli_deletepair() 2015-09-02 08:43:43 +00:00
b4a08c4fee wrote qse_xli_writeini() 2015-09-02 01:27:08 +00:00
3e1f52baa9 implemented comment preservation in the ini-format reader code correctly 2015-09-01 12:24:05 +00:00
9cf7a9af9d fixed a bug that the ini-format reader of xli handles a comment on the same line as the key-value pair.
did a preparatory work for writing qse_xli_writeini()
2015-09-01 06:32:14 +00:00
9532597507 finished implementing the initial ini-format reader.
added qse_xli_readinistd()
2015-08-31 13:31:30 +00:00
7cda6152f3 added more ini-format reader code into xli 2015-08-30 13:22:17 +00:00
63ecef90a0 enhanced the xli reader to recognize some other line termination conventions than a single LF.
added more code to the upcoming ini-style format reader
2015-08-30 03:11:54 +00:00
e8fb5c1948 started writing the ini-style file reader in xli 2015-08-29 13:04:46 +00:00
b00eaada24 simplified some null checks 2015-08-13 02:28:22 +00:00
1963e62006 enhanced qse_awk_rtx_strtonum() to handle a numeric string like 0999.112 as a floating point number 2015-07-16 03:03:51 +00:00
26440f1a96 removed unnecessary code in some initialization code.
added errnum to some open functions
2015-06-12 13:11:50 +00:00
7675a86234 changed awk to carry on even if lt_dlinit() fails 2015-06-12 08:40:58 +00:00
763efada8f added qse_isuniblank() and changed qse_isblank() to use it.
regenerated various build files
2015-06-12 03:54:04 +00:00
40c6e5f5fe changed the way to fall back to utf8 when system functions are not available 2015-04-27 13:03:32 +00:00
c6644d5b52 changed qse_setdflcmgrbyid() and qse_setdflcmgr() to return the cmgr object set.
changed the default cmgr to either SLMB or UTF8 depending on the availability of underlying library functions
2015-04-27 08:37:57 +00:00
0a8e84add2 fixed some build problems on mac os x 10.1 2015-04-26 16:20:21 +00:00
f9b3428a21 added -lqsecmn to libqsecmnxx_la_LIBADD in lib/cmn/Makefile.am 2015-04-20 13:15:45 +00:00
67c3e6d392 changed @ to \ in header docuumentation 2015-04-06 08:09:18 +00:00
3d9e4dbbf3 added pkgconfig files 2015-04-06 03:34:29 +00:00
4db106fcc3 changed QSE_CPP_ENABLE_CPP1_MOVE to QSE_CPP_ENABLE_CPP11_MOVE 2015-04-04 15:27:50 +00:00
e53cb861a7 added a missed file 2015-03-28 01:04:18 +00:00
1c1d9b4158 changed code for old compilers 2015-03-24 09:34:57 +00:00
7706db354e fixed building problems with old compilers 2015-03-23 15:14:43 +00:00
682cefde1b touched up Array 2015-03-20 14:07:54 +00:00
087faf9f67 added QSE_CPP_RVREF.
enhanced Array and BinaryHeap for C++11
2015-03-20 13:53:54 +00:00
1e839dba3d added some move-sensitive functions to Array 2015-03-20 08:03:52 +00:00
8d1704c0a4 fixed minor building issues.
renamed sys::getpgrp to sys::getpgid
2015-03-19 14:07:50 +00:00
e0d36803cc added QSE_XLI_KEYSPLITTER 2015-03-19 07:26:06 +00:00
bfee646924 fixed a bug of getting %lu wrongly in fmt-out.h
fixed some typos in StrBase.hpp
enhanced String::format & String::formatv
2015-03-19 02:33:15 +00:00
b15016a997 added String.cpp 2015-03-18 14:45:52 +00:00
c090a950c7 added Growable and enhanced StrBase 2015-03-18 13:53:22 +00:00
c6d29bc9b6 added more functions to StrBase 2015-03-17 16:06:07 +00:00
b4fd70b1e4 changed the behavior of member functions of RefCounted.
Changed SharedPtr to make use of RefCounted.
Added StrBase and String.
2015-03-14 00:54:56 +00:00
36e75b3bb2 renamed member variables of some classes 2015-03-12 11:32:18 +00:00
756a93ff41 renamed Awk::uponDemise() to Awk::uponClosing and added Awk::uponClearing() 2015-03-12 06:39:16 +00:00
0355e4e96e added more constructors to Cstr, Mcstr, Wcstr 2015-03-12 02:14:13 +00:00
47a7baeb7d added the Awk::onDemise() callback 2015-03-12 02:08:51 +00:00
a212a8ebf2 changed Awk to use HashTable instead of htb.
added Cstr, Mcstr, Wcstr.
changed Awk not to use in-class placement new in allocating a value
2015-03-11 13:33:23 +00:00
cb62c4ecd1 added quite a few sample programs 2015-03-11 06:12:48 +00:00
3793785e7c enhanced constructors of some Mmged classes.
added Mmged:setMmgr() and changed the accessibility of the member manager variable
2015-03-11 01:47:26 +00:00
23b718f366 deleted SharedPtr and renamed MmgedSharedPtr to SharedPtr 2015-03-11 01:16:31 +00:00
9a3ca2e3c1 changed Awk and Sed to inherit Uncopyable 2015-03-10 09:00:21 +00:00
49d57e3155 added SharedPtr and MmgedSharedPtr 2015-03-10 08:40:31 +00:00
15d76c28a1 added Array::upsert(), Array::ensert().
enhanced ScopedPtr
2015-03-10 06:25:15 +00:00
8eadd34b9d added POSITIONER to Array and BinaryHeap 2015-03-09 07:05:46 +00:00
09bd5bb54a fixed a wrong function name in Array.
exposed BinaryHeap::getIndex()
2015-03-07 04:03:54 +00:00
5f517f8316 refactored Array a bit 2015-03-07 04:00:44 +00:00
efc997750e changed void* operator new (qse_size_t size, QSE::Mpool* mp) to fall back to mmgr upon size mismatch.
finished primitive BinaryHeap code.
renamed Array::get() to Array::getValueAt()
renamed Array::set() to Array::setValueAt()
2015-03-07 03:55:40 +00:00
fc316009b6 removed ExcMmgr.cpp 2015-03-06 18:27:36 +00:00
dda5db6257 fixed a bug in void* operator new (qse_size_t size, QSE::Mpool* mp)
removed Mpool from Array
2015-03-06 18:24:49 +00:00
bdf3e2652d wrote mote code for Array 2015-03-06 15:51:13 +00:00
0c0f0df7d8 Added a couple of 'operator new()' definitions.
Started adding Array and BinaryHeap
2015-03-04 16:30:09 +00:00
e26a49bcb8 added more functions to RedBlackTable 2015-03-02 14:42:55 +00:00
0ece41a9e0 added RedBlackTable 2015-03-01 12:55:36 +00:00
8c4921a9b4 enhanced RedBlackTree's iterator 2015-03-01 07:34:54 +00:00
6deef2ce4b added RedBlackTree::remove()
partially added RedBlackTree::getIterator()
2015-03-01 06:29:54 +00:00
ecdb510e4b added rotate() and adjust() to RedBlackTree 2015-02-28 16:21:01 +00:00
88e2e477b9 fixed wrong words 2015-02-27 15:30:35 +00:00
14f5a8a9b3 added HashList::inject() and HashTable::inject().
improved HashTable::upsert().
added HashList::ensert() and HashTable::ensert().
started porting rbt to  RedBlackTree
2015-02-27 15:27:59 +00:00
06dbccbc06 simplified HashTable, HashList, LinkedList 2015-02-27 14:19:04 +00:00
ca8956366c removed MPOOL from some template classes 2015-02-27 07:26:51 +00:00
ae717e066e changed HashTable::remove() and HashTable::search() to use HashList::heteroxxx() calls 2015-02-26 03:15:15 +00:00
f93f5e9704 experimenting on a simpler HashTable implementation 2015-02-25 16:27:46 +00:00
37792be000 added Mpool::swap().
fixed a bug in HashList::rehash() when the memory pool is enabled.
added LinkedList::reverse()
2015-02-24 15:42:45 +00:00
890097af66 refactored HashTable, HashList, LinkedList 2015-02-23 17:40:45 +00:00
8c15d39d9a remove the raise_exeception member variable from the memory manager.
changed the allocate(), reallocate(), callocate() to accept raise_exception instead.
touched up HashTable a bit
2015-02-17 04:45:20 +00:00
0a5ee4de4d added COMPARATOR to HashTable 2015-02-05 16:13:33 +00:00
6da46ff4e1 added Mmgr::callocate()
fixed various problems in HashTable
2015-02-05 15:51:50 +00:00
6e92bb2985 added Pair and HashTable 2015-02-04 13:43:01 +00:00
67a5f4f5f5 used utime and utimes as a fallback in fs-copy.c 2015-02-03 02:26:32 +00:00
ac6661de94 added missed HeapMmgr files 2015-02-02 13:41:10 +00:00
bb1d41d4d0 dropped ExcMmgr and enhanced Mmgr to incoporate both exception raising and error returing 2015-02-02 13:30:33 +00:00
8fc288e750 added the HeapMmgr class 2015-02-02 10:45:57 +00:00
65b4e57a79 updated non-unix/linux build files 2015-02-01 16:09:44 +00:00
fbd7f3ccae changed the memory allocation scheme for some c++ classes 2015-02-01 16:07:26 +00:00
0585bf00ae removed redundant comments 2015-02-01 04:12:07 +00:00
3f94bd2cd6 implemented a hack not to use the chunked transfer encoding ii the response code is 1xx, 204, 304 or the request method is HEAD 2015-02-01 04:10:56 +00:00
e7a598f591 changed a wrong macro named used in fs-copy.c 2015-01-23 03:30:44 +00:00
fc9ad20e7a touched up code a little bit 2015-01-19 03:52:06 +00:00
dc118785c7 added the HashList class 2015-01-18 15:52:21 +00:00
36829a55d7 added QSE::Exception 2015-01-18 13:43:12 +00:00
48536f73c9 corrected tiny little source glitches 2015-01-15 06:02:25 +00:00
8d88ef3f40 added ExcMmgr
simplified LinkedList
2015-01-05 04:15:32 +00:00
3b672857aa added Mpool and LinkedList 2015-01-02 06:40:41 +00:00
91e4e06318 changed int operator! to bool operator! 2014-12-31 16:29:52 +00:00
53a3366e7f added ScopedPtr 2014-12-31 16:19:33 +00:00
fe0a2a6d63 added a few basic c++ classes 2014-12-31 16:09:19 +00:00
c0fb7692d6 fixed variable declarations 2014-12-27 07:00:05 +00:00
0fdcaf547f removed recursion in file copying 2014-12-18 15:05:52 +00:00
206065f904 simplified file copying 2014-12-17 15:29:05 +00:00
11f364a6d0 added fs-copy.c 2014-12-16 04:19:48 +00:00
1ef7fc2569 touched up glob.c and glob.h 2014-12-15 04:26:41 +00:00
ac61c3044a added qse_globmbs() and qse_globwcs() 2014-12-14 15:55:03 +00:00
77939a5940 enhanced dir.c to handle both mbs and wcs by implementing the new QSE_DIR_WCSPATH option 2014-12-11 16:03:58 +00:00
0a9a80c567 added some code for file copying 2014-12-09 13:41:58 +00:00
870622f6c7 enhanced qse_fs_cpfileXXX() a bit.
added qse_mergepathdup() and related functions
2014-12-08 15:07:55 +00:00
af623db137 added code to handle QSE_FS_CPFILE_PRESERVE 2014-12-07 17:09:43 +00:00
e01c1f8644 wrote a file copy function partially 2014-12-03 15:27:45 +00:00
44129510dc fixed glob.c to use qse_stat_t instead of struct stat.
fixed other minor problems
2014-11-28 17:01:29 +00:00
947f5a8d8d added qse_getpathcore()/qse_getmbspathcore()/qse_getwcspathcore()
added qse_fs_dupfspathforwcs()
improved qse_fs_mkdirXXX()
2014-11-27 15:58:51 +00:00
99e9160c53 corrected some mistakes in qse_fs_mkdir() 2014-11-26 15:38:08 +00:00
8304c5920e started writing qse_fs_mkdir() 2014-11-26 15:33:30 +00:00
5f61505860 added qse_fs_setopt() & qse_fs_getopt().
added QSE_FS_CBS and changed qse_fs_del() to call cbs.del() if available
2014-11-26 15:14:24 +00:00
cbb7991ca8 added QSE_DIR_LIMITED & QSE_GLOB_LIMITED
fixed bugs in qse_fs_delXXX()
2014-11-25 03:25:46 +00:00
7d21e90ce2 renamed qse_tmr_remove() to qse_tmr_delete().
removed qse_fs_delete() and added qse_fs_delfile()/qse_fs_deldir() with some new options
2014-11-24 17:01:04 +00:00
8678660b82 added some experimental and unfinished code using tli 2014-11-20 15:12:28 +00:00
619425cd72 indented some lines in the LICENSE file 2014-11-19 14:50:27 +00:00
56e5b5191b switched the license to BSD 2014-11-19 14:42:24 +00:00
28ad5392c8 fixed files for an old compiler 2014-11-18 16:10:12 +00:00
284a0b18be touched up code for old sco compiler 2014-11-17 17:18:11 +00:00
cce68401e2 fixed code a bit more for the old sco compiler 2014-11-17 15:57:00 +00:00
e57c9673d1 enhanced types and macros to handle the wchar_t type defined to 1 byte in size 2014-11-17 15:25:55 +00:00
e3be2e5273 fixed configure.ac 2014-11-17 15:01:49 +00:00
0962885749 touched up code a bit for building with watcom. 2014-11-16 07:17:06 +00:00
45cb237aa6 added fields to keep an original query path in qse_htre_t
changed proxying routines to use the original query path instead of percent-encoding back
2014-11-14 16:56:51 +00:00
47bec1e857 fixed a typeing mistake 2014-11-14 02:45:45 +00:00
0b286a7e2a switched many #ifdef's to #if defined() 2014-11-14 02:44:20 +00:00
3db3396955 allowed to use dynamic loader even if QSE_ENABLE_STATIC_MODULE is defined 2014-11-14 02:31:47 +00:00
206781ce27 changed QSE_ENABLE_STATIC_MOUDLE handling in httpd 2014-11-13 17:20:55 +00:00
652784bafb made minor changes related to qse_httpd_configmod() 2014-11-13 16:39:37 +00:00
49febef055 renamed QSE_XLI_SCM_RELAXED to QSE_XLI_SCM_VALIFFY.
added qse_httpd_configmod().
changed qse_httpd_loadmod() to return qse_httpd_mod_t*
2014-11-13 10:15:53 +00:00
c23e2a4a7c added experimental code to pass unvalidated configuration items to a module 2014-11-12 15:39:45 +00:00
f049aa4b09 added a new option QSE_XLI_SCM_RELAXED to skip validation of child pairs under a list value 2014-11-12 05:59:47 +00:00
47d8710232 changed some error messages 2014-11-11 15:51:13 +00:00
643f84a8dd implemented proxy peer connection caching experimentally 2014-11-11 15:41:11 +00:00
f0fe04fef2 enhanced configure.ac for better ssl detection 2014-11-10 09:24:35 +00:00
ca04358d50 fixed sendfile() for freebsd 2014-11-08 16:10:35 +00:00
3ab19cb3b8 changed StdAwk to use exported functions in std.c 2014-11-08 06:19:07 +00:00
45b97e9f4d renames some functions for building on freebsd 2014-11-08 03:50:43 +00:00
a30c831081 redefined IDXBUFSIZE 2014-11-06 17:41:20 +00:00
17b55e20ed fixed wrong field names in cmn/fs.c
fixed a memory leak bug in run_printf of awk/run.c
2014-11-06 17:12:34 +00:00
fb638de6d6 implemented a workaround to handle garbage contents when reading a http response from a misbehaving server 2014-11-04 16:01:00 +00:00
ed2cdcaa87 added qse_htrd_geterrnum().
changed a log message in xli/err.c
2014-11-03 15:33:15 +00:00
06e55b9c7e added wrapper functions - qse_httpd_mbsdup() and qse_httpd_mbsxdup() 2014-11-02 12:01:22 +00:00
514eee844f defined QSE_HTTPD_TIMER_INVALID_INDEX 2014-11-02 11:41:00 +00:00
569b30039b renamed existing qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() to qse_httpd_insert_timer_event() and qse_httpd_remove_timer_event().
the renamed functions should be used internally only.
added new qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() that can be used by external callers.
added qse_httpd_timer_event_t and other required definitions for the new functions
2014-11-01 15:27:56 +00:00
baecb98181 export qse_httpd_inserttimerevent() and qse_httpd_removetimerevent() 2014-10-31 15:55:58 +00:00
0cd5ed43a8 changed some code comments 2014-10-31 10:23:03 +00:00
cc2aeb50ab added qse_httpd_entasktextwithmvk() 2014-10-31 10:06:24 +00:00
893c3f74f8 added \n to one of debugging messages 2014-10-31 08:50:36 +00:00
e35190e23d changed debugging ouput tput format 2014-10-31 08:48:48 +00:00
f10f9a569b touched up httpd debug logging 2014-10-31 08:24:49 +00:00
2c5d85f55f fixed a bug in qse_httpd_addhnd().
exported qse_httpd_entaskerrorwithmvk()
2014-10-30 16:29:48 +00:00
75dea7aa43 added preloop and postloop hooks into qse_httpd_ecb_t.
added qse_httpd_custom_t for customized event dispatching
allowed dns and urs services to be disabled programatically
added qse_httpd_addhnd() and qse_httpd_delhnd() for customized event dispatching
2014-10-30 05:53:35 +00:00
85dca3e39a changed cohttpd to call qse_comparehttpversions() for version comparison 2014-10-24 15:37:42 +00:00
1f47f89062 disabled chunking in directory listing regardless of keep-alive if http version is 1.0 or earlier 2014-10-24 07:25:31 +00:00
d207120933 fixed fio.c for not handling QSE_FIO_MBSPATH perperly on dos.
fixed httpd further for dos
2014-10-24 05:37:03 +00:00
2218670769 changed how to compare a map against data of other types.
fixed some problems in handling nonblocking connect and send with watt-32
2014-10-23 16:09:05 +00:00
84798f4fd0 changed functions and macros related to quick integer handling 2014-10-23 09:30:22 +00:00
aed205c298 changed awk to represent an integer of a certain range in a pointer directly 2014-10-23 09:18:49 +00:00
fe1ff5cdba added qse_awk_rtx_getvaltype() and qse_awk_rtx_getintfromval() macros 2014-10-22 17:05:45 +00:00
4de030f8a3 changed awk to convert a map to the size of the map in a scalar context.
allowed @include inside a normal block
2014-10-22 01:34:37 +00:00
003c637c0f updated documentation 2014-10-21 17:58:18 +00:00
d363cd2e62 fixed wrong comments 2014-10-20 12:38:56 +00:00
5e94b7d9b2 fixed more code for watt-32 2014-10-20 04:58:15 +00:00
552bb7cc20 fixed code a bit for watt-32 2014-10-19 13:59:44 +00:00
d9d75a5db5 fixed multiple glitches for building on non-posix platforms 2014-10-19 12:50:51 +00:00
e7287cb52c fixed code for an old gcc compiler that couldn't recognize x86 inline assembly containing the rep prefix on the same line as the movXX and stoXX instructions. 2014-10-17 15:37:36 +00:00
a842cf0767 changed httpd to accept http://name:port and https://name:port as a document root value 2014-10-17 14:15:15 +00:00
c4df310ee7 changed logging messages 2014-10-16 13:44:19 +00:00
a97cce7d70 enhanced httpd to accept a document root specified of the secure nwad prefixed with https://.
moved ssl context initialization for server from the httpd structure to the server structure
2014-10-16 12:30:20 +00:00
c9d23a0d8b added https proxying without certificate check. this is different from CONNECT. when this feature is used, the proxy establishes a https connection to the origin server 2014-10-15 15:33:37 +00:00
ca272bb55e fixed a bug of not resetting htre's flags field when clearing it 2014-10-14 12:55:00 +00:00
c5001505cd added QSE_HTTPD_RSRC_PROXY_X_FORWARDED and actual implementation 2014-10-13 14:14:06 +00:00
743196e796 removed a space when appending extra items to an environment variable for cgi 2014-10-12 13:12:24 +00:00
bd64702fd4 added qse_env_append() and related functions.
fixed how to handle multiple values with the same key when setting an environment variable for a cgi script
2014-10-11 14:33:26 +00:00
0f229c15f5 removed X-Forwarded-Port 2014-10-10 16:42:34 +00:00
47d8346040 Added some x-forwarded-* headers 2014-10-10 16:13:42 +00:00
e46977a212 added a new root type for httpd - <XXX> where XXX is a relocation code or an error code 2014-10-09 14:42:02 +00:00
870f307d96 added an option to handle intercepted sessions locally 2014-10-09 13:09:23 +00:00
bd40641e08 changed httpd-std.c to drop a query request not beginning with a slash when it's handled locally. 2014-10-09 12:46:12 +00:00
65f3c473f9 added QSE_HTTPD_RSRC_PROXY_ALLOW_UPGRADE and related code with it 2014-10-09 05:02:52 +00:00
0cee2a3614 fixed Content-Length handling for protocol upgrade 2014-10-08 16:57:18 +00:00
0ae76bd5ed fixed protocol upgrade handling 2014-10-08 16:18:52 +00:00
5edd4f38cf fixed the missing semicolon problem 2014-10-08 15:40:32 +00:00
1df4e0bc9f enhanced proxying to handle protocol upgrade.
enhanced qse_mbsword() and its family to accept an extra delimiter
2014-10-08 14:07:55 +00:00
8a32cbc4f1 added some protection againt double dns resolution and double url rewriting 2014-10-02 06:36:55 +00:00
96f42a0815 added an interim solution to sendto failure in dns and urs handling 2014-09-29 14:17:44 +00:00
0cd8dfe54c added some experimental code 2014-09-28 16:05:56 +00:00
7cb0f4eeea changed the unix socket naming convention 2014-09-28 02:57:08 +00:00
db9be394f3 added the unix socket support to httpd dns 2014-09-28 02:51:57 +00:00
39ab9d0320 * changed the QSE_NWAD_LOCAL address format. it must be prefixed with @.
* fixed conversion error of a QSE_NWAD_LOCAL address to a string
2014-09-27 15:22:08 +00:00
117b1d3618 fixed a minor bug in mux.c
improved dns and urs handling for QSE_NWAD_LOCAL
2014-09-27 14:40:05 +00:00
a003346acf touched up unix socket handling in urs 2014-09-27 03:32:32 +00:00
718fd13481 added unix socket support into httpd urs 2014-09-26 16:46:10 +00:00
79ba0215eb added QSE_NWAD_LOCAL 2014-09-26 15:07:06 +00:00
056cff9192 changed configure.ac to detect dirfd() and related stuffs.
changed lib/cmn/syscall.h to use DIRFD related macros produced by configure
2014-09-25 15:27:08 +00:00
45ad42fa36 removed unneeded lines 2014-09-19 15:44:37 +00:00
b7d14da21e simplified relocation handling
deleted qse_httpd_entaskredir() and related definitions
added virtual(function pointer) cgi  support.
improved pio to read /dev/fd
implemented QSE_PIO_FNCCMD for qse_pio_t
2014-09-19 14:05:02 +00:00
bf25f92704 enhanced qse_pio_t to use /proc/self/fd and/or /proc/<<pid>>/fd more actively 2014-09-17 15:02:14 +00:00
bb7ece059d fixed wrong memory disposal problem 2014-09-17 13:58:40 +00:00
f84b27c1de fixed the problem of no percent-encoding of decoded query path in proxying 2014-09-17 13:26:21 +00:00
94f015ea98 deprecated qse_ubi_t and introduced qse_httpd_hnd_t 2014-09-16 14:14:51 +00:00
3a30d67411 fixed missing urs deactivation upon initialization failure 2014-09-16 05:31:28 +00:00
2ca7afd90c added dns preresolution 2014-09-12 14:11:47 +00:00
ffce4c94aa fixed a memory leak bug caused when the duplicated host name is an address.
fixed wrong redirection code processing bug in rewriting handler.
fixed a bug of not setting the default port when no port is specfied in rewritten url address
2014-09-12 07:23:34 +00:00
1f96cd45ab fixed a bug that the remaining buffer capacity is calculated incorrectly when returning a footer to directory listing.
switched snprintf to qse_mbsxfmt() and qse_mbsxfmts().
added qse_mbsfmts()/qse_wcsfmts() and variants
2014-09-11 15:03:12 +00:00
05efcf040e added proxy.intercept 2014-09-11 12:54:06 +00:00
a55e3b0238 fixed a bug of not handling the default dns server value properly 2014-09-11 10:16:24 +00:00
97c528ca1f added qse_httpd_dns_server_t and qse_httpd_urs_server_t.
deleted qse_httpd_natr_t.
deleted QSE_HTTPD_DNSNOA and QSE_HTTPD_DNSNOAAAA
added QSE_HTTPD_DNS_SERVER_A and QSE_HTTPD_DNS_SERVER_AAAA
2014-09-11 09:02:07 +00:00
3fd82c7943 did some prep work to make dns query type configurable 2014-09-06 04:20:35 +00:00
624ffcb006 included qparam to url for rewriting 2014-09-06 04:08:31 +00:00
7d447c0dc6 fixed wrong qpath+qparam calculation in httpd-proxy.c 2014-09-05 17:31:36 +00:00
3b1e3dde0c enhanced httpd-proxy 2014-09-05 16:46:44 +00:00
d4439858d3 added some module handling code 2014-09-05 15:52:19 +00:00
bfeb437225 added qse_httpd_mod_t and supporting functions 2014-09-04 16:55:45 +00:00
d8f8f93207 added QSE_HTTPD_MODPREFIX and QSE_HTTPD_MODPOSTFIX 2014-09-03 17:11:01 +00:00
4b0f12a896 attempting to add dynamic modules into httpd 2014-09-03 16:57:33 +00:00
b54964ac85 added fallback code for math::round() 2014-09-03 04:08:28 +00:00
2e6765e4ba added qse_shutsckhnd() 2014-09-02 15:41:12 +00:00
e8cef98c87 touched up some code 2014-09-02 15:24:30 +00:00
fc20cb22ea added urs.prerewrite() 2014-09-01 17:37:08 +00:00
46f13c54b3 enhanced qse_getnwifcfg() for linux.
added qse_mbshextobin(), qse_wcshextobin()
2014-08-30 05:40:57 +00:00
477dc278c2 added conditionals for SOL_SCTP 2014-08-29 16:26:13 +00:00
c0fc2e07d6 added mod-math.h 2014-08-29 16:22:47 +00:00
adda075fe9 fixed a crashing bug in ursd when a rewriter terminates prematurely.
changed urs code to truncate the trailing string after the  first space in the response from ursd/rewriter
2014-08-29 16:16:40 +00:00
433686b599 enhanced ursd 2014-08-28 15:59:20 +00:00
f27f5a650e written more ursd code 2014-08-27 17:39:31 +00:00
4195be2c84 fixed wrong parsing of length() 2014-08-27 17:39:03 +00:00
0251aef726 entouched upse_memcpy(), qse_memset().
added some code for urs
2014-08-26 16:29:56 +00:00
187443bb1d added ursd.c 2014-08-25 16:18:50 +00:00
78f8b4a994 added some urs code 2014-08-25 16:18:17 +00:00
eb1511b817 added more configuration items to httpd 2014-08-13 14:35:43 +00:00
1d1331247a added host/location specific dns/urs server 2014-08-12 01:42:13 +00:00
2fa6802c03 enhanced httpd 2014-08-11 05:44:03 +00:00
1ba63f1829 Added qse_str_amend()
almost finished primitive url rewriting
2014-08-08 18:53:04 +00:00
0bb946c800 added more code for dns and url rewrting support 2014-08-07 16:29:22 +00:00
ae45071b5e improved dns handling and added some code for url rewriting 2014-08-06 16:44:06 +00:00
4f4f42ae4f enhanced httpd's dns handling 2014-08-05 16:55:15 +00:00
ccb6ddcefd handled dns timeout in httpd 2014-08-05 09:55:00 +00:00
f1a77eb311 updated some build files 2014-08-04 16:36:37 +00:00
fc667d28e3 added timer and enhanced httpd to use timer for idling detection 2014-08-04 16:34:22 +00:00
fdc0ce7623 added some time calc functions 2014-08-01 17:17:00 +00:00
019475149c added QSE_HTTPD_SERVERSTD_PSEUDONYM 2014-07-30 16:42:25 +00:00
ae759f21e3 added X-Forwarded-For and fixed Via in httpd 2014-07-29 16:39:14 +00:00
c1888aba6a added EWOULDBLOCK into error code translation 2014-07-25 18:25:41 +00:00
043be1bcdc fixed a typo 2014-07-25 18:10:56 +00:00
e8a241ed71 changed sockets and pipes used in httped to work in non-blocking mode 2014-07-25 17:28:20 +00:00
6137df4e86 implemented simple dns caching in httpd 2014-07-24 16:22:06 +00:00