| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are five libgphoto2 internal *.h include files inside the
source tree's `libgphoto2/` folder. Internal means they are part
of the libgphoto2 implementation, and are not part of the public
libgphoto2 API or ABI. These files have names which are so
generic that it is difficult to see from a `#include` statement
that the included file is actually part of libgphoto2:
bayer-types.h
bayer.h
exif.h
gamma.h
jpeg.h
While building, an additional file is created inside the `libgphoto2/`
folder with a name which does hint to its relationship with libgphoto2:
gphoto2-endian.h
To reduce the probability of accidental conflicts with include files
which might also be called the same very generic name, this changes
the use of these include files to a preprocessor directive like
#include "libgphoto2/bayer.h>
instead of
#include "bayer.h"
To enforce the need for the "libgphoto2/" part in the #include
preprocessor directive, this also removes the respective `-I`
arguments for the `libgphoto2` subdir (both in source tree and in
build tree) from `*_CPPFLAGS`.
This change was inspired by `libgphoto2/` and `camlibs/stv0680/`
containing very different include files both called `bayer.h`.
|
|
|
|
|
|
| |
The old %hX string was for an unsigned short, but we pass an unsigned char.
This silences another compiler warning.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The gpi_jpeg_make_quantization and gpi_jpeg_header methods take
a 'jpeg_quantization_table *' arg. The callers pass in a pointer
to a 'const jpeg_quantization_table *' causing compile warnings
about discarding const-ness. Mark the args as 'const' since their
contents are never modified.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14891 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14610 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14598 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10920 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10288 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
marked 2 unexported variables static in gphoto2-settings.c.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10264 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10121 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9991 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
| |
This moves the header files to a new subdirectory gphoto2 in both
libgphoto2 and libphoto2_port/libgphoto2. All references are
adapted appropriately.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8076 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add comments to Makefile.am about the different symbol names and
their purposes, so that the rationale behind the *.sym contents
may be found easily.
- Remove libgphoto2/pattrec.[ch] - the only user was
camlibs/konica/qm150.c and it hasn't been using it probably for years.
- Rename all formerly exported symbols not starting with gp_* to gpi_*
or gpe_* and try to export only those which are absolutely required
by the camlibs.
This still leaves a number of internal symbols exported, but at least their
number is a lot lower than it was before.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8073 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5859 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5268 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
* libgphoto2/jpeg.c: Added include of config.h
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4005 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3708 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
* libgphoto2_port/serial/unix.c: changed serial port prefix for Darwin
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2991 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
|
| |
* libgphoto2_port/include/gphoto2-port-parallel.h:
* libgphoto2_port/include/gphoto2-port-serial.h:
* libgphoto2_port/serial/unix.c:
* libgphoto2/jpeg.c:
Preliminary support for OS X/Darwin
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2749 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libgphoto2/gphoto2-core.[c,h]: Removed. All functions redirected
to gphoto2-abilities-list. Caching of this list should be done
in the frontend.
* frontends/command-line/main.c: Don't use gp_autodetect, use
gp_abilities_list_detect instead.
* libgphoto2/setting.c: Move some initialization stuff from
gphoto2-core to here.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2705 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2661 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camlibs/agfa/agfa.c: delete_file_func, get_file_func
* camlibs/canon/canon.c: Add warning that upload and deletion is
broken
* camlibs/jd350e/jd350e.c: Tiny update
* camlibs/kodak/dc120/dc120.c: folder_list_func, file_list_func,
get_file_func, delete_file_func
* camlibs/kodak/dc240.c: Add warning that changes have to be made
* camlibs/konica/library.c: delete_all_func, delete_file_func
* camlibs/minolta/dimagev/dimagev.c: delete_file_func, put_file_func,
* camlibs/panasonic/dc1000.c: file_list_func, get_file_func,
put_file_func, delete_file_func
* camlibs/panasonic/dc1580.c: get_file_func, put_file_func,
delete_file_func
* camlibs/panasonic/l859.c: delete_file_func, delete_all_func
* camlibs/polaroid/pdc320.c: get_file_func, delete_all_func
* camlibs/polaroid/pdc640.c: get_file_func, delete_file_func
* camlibs/sierra/library.c:
* camlibs/sierra/sierra.c: delete_all_func, delete_file_func
* camlibs/sonydscf1/sonydscf1.c: delete_file_func
* camlibs/sonydscf55/sonydscf55.c: Tiny update
* camlibs/stv0680/stv0680.c: Tiny update
* frontens/command-line/interface.c: Don't show "" status and 0.0
progress
* libgphoto2/camera.c:
* include/gphoto2-camera.h: Remove put_file, delete_all and delete -
this should all be done using the filesystem. In the future,
file_get and the listing functions will also disappear.
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: Add deletion and upload.
* libgphoto2/jpeg.c: Kill unused variable
* tests/test-filesys.c: Update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2462 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
Thanks, Michael Golden for the reminder.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2335 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
More debugging code added.
Fixed some errors.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2324 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
* libgphoto2/jpeg.[c,h]: Respect the namespace of libjpeg. Otherwise,
gtkam and other graphical frontends will horribly fail.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2320 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
* libgphoto2/jpeg.c: #define CHECK_RESULT(...) (...)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2316 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
You can now create a whole jpeg header from one line of code (almost).
Creating prefilled chunks is now easier.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2312 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
quantization table markers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2308 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
| |
chunk_new now returns a pointer to a newly allocated chunk.
quantization table handling was added including printing.
You can now enter the quantization tables in a more visual form.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2304 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
| |
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2245 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
Some format fixes.
Still need to use "typdef struct" instead of "struct".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2244 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
Adding features.
I tried adding this once but had to restart when the file got messed up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2239 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
| |
Did full testing.
Need to work on the new features next.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2236 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
| |
Fixed some formatting.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2233 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
|
|
|
|
|
|
|
| |
Fixed some problems.
Added debugging output via a printf and a commented out gp_debug_printf
This should be safe enough to be put in the Makefile now
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2232 67ed7778-7388-44ab-90cf-0a291f65f57c
|
|
I have hopes that this will match exif.c in quality.
I plan on having jpeg.c be able to fill in missing data or let you fill it in manually.
I plan on giving it the ability to decode and write jpeg files too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2231 67ed7778-7388-44ab-90cf-0a291f65f57c
|