Commit Graph

72 Commits

Author SHA1 Message Date
Fufu Fang 647b106a7c
fixed segfault if the root of the airsonic folder has music file 2019-10-25 02:55:41 +01:00
Fufu Fang 93b4711d75
removed some unnecessary compilation flags 2019-10-24 03:18:49 +01:00
Fufu Fang cf1d46edf4
fixed regression - cache system stopped working on regular http server
updated readme / help

Update README.md

Update README.md
2019-10-24 02:38:59 +01:00
Fufu Fang a8ef8c88b5
added code to check if the server supports range requests 2019-10-24 00:44:18 +01:00
Fufu Fang 0f7623d1e7
succesfully mounted the filesystem, now need to actually download the music file 2019-10-23 21:36:08 +01:00
Fufu Fang 5062f511bd
Finished writing the code to generate Subsonic LinkTable
- Also refactored various bits and pieces
2019-10-23 21:04:25 +01:00
Fufu Fang b7c63f4418
renamed MemoryStruct to DataStruct, removed spurious link type detection logic 2019-10-22 20:26:21 +01:00
Fufu Fang cde4a13005
successfully downloading xml file from subsonic server 2019-10-22 01:53:28 +01:00
Fufu Fang ed8452a4a3
factored out network / root link table initialisation code 2019-10-22 01:49:53 +01:00
Fufu Fang 65a9e7f908
half way writing sonic_LinkTable_new
- now need to write the parser
2019-10-22 00:42:46 +01:00
Fufu Fang fbc8d3f8b2
Prepare to merge with master 2019-10-21 23:17:13 +01:00
Fufu Fang ad093f4fc0
Merge branch 'master' into SubsonicFS 2019-10-21 23:16:19 +01:00
Fufu Fang 50ccaaf43c
Bump version to 1.1.10 2019-10-21 23:16:03 +01:00
Fufu Fang eaabc877a0
added md5 checksum generation and salt generation 2019-10-21 02:11:54 +01:00
Steve Langasek 44150667f5 Ensure libraries linked are listed after objects using them
The Ubuntu toolchain uses -Wl,--as-needed by default, which causes
libraries to be dropped from the final binary if they aren't used.  For
portability, make sure that libraries are always listed on the linker
commandline /after/ the objects that reference them.
.
This also avoids passing -l options to the compiler when compiling .o files.
2019-09-09 21:04:11 -04:00
Fufu Fang c7dfa241d4
Backtrace will now be printed when the program crashes
- Note that static functions are not included in the printed backtrace.
2019-09-03 14:53:32 +01:00
Fufu Fang 765f4e00d0
Updated Makefile, fixed issue #44
- When header files get changed, the relevant object will get recompiled.
2019-09-02 17:56:23 +01:00
Fufu Fang 1948bbd977
bump version number 2019-08-31 08:24:46 +01:00
Jerome Charaoui a2587ca2c8 Update CHANGELOG, bump version 2019-08-30 13:10:12 -04:00
Fufu Fang 97ecbffca0 Addressing linking error raised in issue #28
https://github.com/fangfufu/httpdirfs/issues/28#issuecomment-524497552
In Debian's GCC 9, the linker is senstive to the ordering of the
libraries and object files.
2019-08-24 17:42:06 +01:00
Fufu Fang 23611b8b1c Version 1.1.7
- Now mutex associated debugging outputs are not compiled by default.
- Tagging version 1.1.7
2019-08-23 23:15:01 +01:00
Fufu Fang 77d2aea064
bumping version number 2019-05-07 13:56:00 +01:00
Fufu Fang 283520136c Closing issue #33, now set a default cache directory 2019-04-30 08:06:09 +01:00
Fufu Fang ba8c7232e2 HTTP 429, LinkTable_print(), variable shadowing
changed the way HTTP 429 gets handled while querying for file stats
fixed LinkTable_print(), added variable shawdowing warning in Makefile
2019-04-27 02:42:29 +01:00
Fufu Fang 2d91734ade
Update Makefile 2019-04-26 20:09:52 +01:00
Fufu Fang 85d66adf6c added command line switch to configure user agent and the maximum number of network connections allowed 2019-04-26 11:39:03 +01:00
Fufu Fang 33ace8e120 bumped version number 2019-04-26 11:13:08 +01:00
Fufu Fang e442871899 added Cache_background_download() to enable the download of the next block 2019-04-24 23:58:26 +01:00
Fufu Fang a1abd8fab3 Update Makefile 2019-04-24 04:28:46 +01:00
Fufu Fang a7bbfcbe7d Update Makefile 2019-04-24 04:27:40 +01:00
Fufu Fang 4b60b4e9be wrote the cache opening function 2019-04-24 04:21:38 +01:00
Fufu Fang 90eccb6049 created the skeletal cache.c 2019-04-24 04:21:37 +01:00
Fufu Fang 1b0a01aa30 Update Makefile 2019-04-24 04:21:37 +01:00
Josh Lilly 8ea19295a0 Compatibility with FreeBSD 2019-04-24 04:21:37 +01:00
Fufu Fang ec9b37dcbe bumped the version number 2019-04-24 04:21:37 +01:00
Fufu Fang d23dfe0709 Update Makefile 2019-04-24 04:21:10 +01:00
Fufu Fang 9f2803f60a Update Makefile 2019-04-24 04:21:10 +01:00
Jerome Charaoui 6dea0c96c3 Create doc/ project dir for Doxygen docs and manpage 2019-04-24 04:21:10 +01:00
Jerome Charaoui f6f50c7cdf Move source files in src/ 2019-04-24 04:21:10 +01:00
Jerome Charaoui d57ffacd05 Add uninstall Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui 29acb2d804 Rename OBJ to COBJS 2019-04-24 04:21:10 +01:00
Jerome Charaoui 724fac83de Add standard all and distclean targets 2019-04-24 04:21:10 +01:00
Jerome Charaoui dd4e9d5517 Put compiler flags before dash options
Again, that's more in line with the standard
2019-04-24 04:21:10 +01:00
Jerome Charaoui 14ca3bca20 Install manpage in install Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui b0fc0170f3 Use lowercase prefix in Makefile
It's more in line with the standard
2019-04-24 04:21:09 +01:00
Jerome Charaoui 0d2ffb309e Simplify install Makefile target 2019-04-24 04:21:09 +01:00
Jerome Charaoui 854001d1ec Defining CC is unneccessary
It normally refers to /usr/bin/cc which is a symlink to the preferred
compiler. Removing it from the Makefile allows one to explicitly define
a different compiler at build-time.
2019-04-24 04:21:09 +01:00
Jerome Charaoui 2ccd66021d Fix output of --version/-V 2019-04-24 04:21:09 +01:00
Jerome Charaoui b2a84570a9 Move linker flags from CFLAGS into LDFLAGS 2019-04-24 04:21:09 +01:00
Jerome Charaoui 8ea46f896b Default install target to use /usr/local prefix
While also allowing to customise PREFIX and DESTDIR
2019-04-24 04:21:09 +01:00