Commit Graph

487 Commits

Author SHA1 Message Date
bvl
e48b3e7e68 Make build work on OS/2 again no library files touched in the end
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1363 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-30 22:59:58 +00:00
bvl
ce87cee0c4 Updated all OS/2 makefiles
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1361 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-30 22:51:26 +00:00
bvl
585cb712d0 OS/2 Update
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1360 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-30 22:22:24 +00:00
Lutz Mueller
47dc0d0759 Updated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1359 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 09:44:17 +00:00
Lutz Mueller
29047b0232 Some thoughts on what needs to be done.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1358 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 08:11:39 +00:00
Lutz Mueller
f463ee22c9 NLS support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1357 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 08:04:46 +00:00
Lutz Mueller
d943bc7814 NLS support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1356 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 07:59:25 +00:00
Lutz Mueller
c552ae2180 Added.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1355 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 07:26:08 +00:00
Lutz Mueller
d3892d9235 First translation (german)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1354 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-29 07:23:28 +00:00
Lutz Mueller
db3bee9b75 Enhanced error reporting.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1352 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:30:15 +00:00
Lutz Mueller
d62e1ebc0e Support for GP_ERROR variations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1351 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:19:26 +00:00
Lutz Mueller
96eaab599c Support for GP_ERROR variations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1350 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:10:31 +00:00
Lutz Mueller
02915e2fe4 gnu gettext support.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1349 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:07:42 +00:00
Lutz Mueller
728f4e3a02 Support for GP_ERROR variations added.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1347 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 21:05:48 +00:00
Lutz Mueller
72cb9787b5 Check for and report new error variations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1345 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 12:32:35 +00:00
Lutz Mueller
d4d9e1ea86 New GP_ERROR variations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1344 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 12:32:15 +00:00
Lutz Mueller
add22a9df3 Make code ready for GP_ERROR_*: "==GP_ERROR" => "!= GP_OK" or "< 0".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1343 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-28 11:09:59 +00:00
Lutz Mueller
926dd89d14 "==GP_ERROR" -> "!=GP_OK" to prepare enhanced error handling
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1342 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-26 00:04:52 +00:00
Lutz Mueller
c023e5554d Fixed image number/image id. Image numbers start with 1.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1339 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-23 08:27:49 +00:00
Lutz Mueller
533b1d8b42 Use gp_filesys for image number retrieval.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1335 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-22 14:24:24 +00:00
Philippe Marzouk
2a5a3449e9 G1 support
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1332 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-21 19:41:53 +00:00
Lutz Mueller
e5cee05cbc Give the files the 'correct' filenames.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1331 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-21 12:40:41 +00:00
Gus Hartmann
f6e6fc6b71 Removed an old debugging entry that is no longer needed.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1307 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-11-02 00:44:48 +00:00
Gus Hartmann
26a338efa4 Added note about setting clock on exit.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1299 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 07:06:26 +00:00
Gus Hartmann
b076437aa1 Switched from perror() to gp_debug_printf() wherever appropriate.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1298 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 07:05:28 +00:00
Gus Hartmann
eec7f7c29a Fixed one small typo in a comment, and more importantly, now get camera
status in the initialization routine.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1297 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:56:10 +00:00
Gus Hartmann
fe67d3ffe6 Fixed the sanity check on card_status before deleting an image. Images can
now be deleted again.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1296 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:55:32 +00:00
Gus Hartmann
09fcea2489 Fixed a time format error in dimagev_dump_camera_info(). Classic year 100 bug.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1295 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:54:22 +00:00
Gus Hartmann
298a1085ec Added code to set the camera clock on exit as well as on initialization.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1294 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:28:41 +00:00
Gus Hartmann
1ed609926c Removed code to leave "host mode" after capturing an image.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1293 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:27:52 +00:00
Gus Hartmann
698264ea9d Removed code to leave "host mode" after deleting an image.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1292 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:27:17 +00:00
Gus Hartmann
bb91b51409 Removed code to leave "host mode" in both get_picture() and get_thumbnail().
Commented out call to gpe_dump_exif() that was only for debugging.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1291 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:26:11 +00:00
Gus Hartmann
e89f563778 Switched to strncpy() for writing PPM header.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1290 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 06:24:20 +00:00
Gus Hartmann
06a782ceb0 Added a seperate module for downloading functions.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1289 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 05:45:48 +00:00
Gus Hartmann
9c4ed4ae24 Moved code for downloading images into download.c; util.c is only for
micellaneous functions, like converting Y:Cb:Cr data into RGB PPMs. This
should improve readability for third parties.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1288 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 05:43:41 +00:00
Gus Hartmann
e191fe63f0 Moved code for downloading images and thumbnails into a new file.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1287 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 05:41:31 +00:00
Gus Hartmann
768a7b24ee Added a module to contain deletion.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1286 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 05:39:25 +00:00
Gus Hartmann
0822ed8e05 Moved code for deleting images into a seperate module.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1285 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 05:38:52 +00:00
Gus Hartmann
5556f3bab4 Fixed revision header.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1284 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 03:24:52 +00:00
Gus Hartmann
e8202194c3 Added some sanity checks to ensure that the memory card is writable before
trying to capture an image. Also cleaned up some old debugging code.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1283 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 03:24:15 +00:00
Gus Hartmann
3bd515b67b Updated the README to reflect current events.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1282 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 03:06:40 +00:00
Gus Hartmann
65bff38832 Added the first of the stuff required to check for snprintf. ALso changed
several lengths to sizeof()s.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1281 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-31 02:59:08 +00:00
Gus Hartmann
3d25244113 Added documentation for the thumbnail format and transformation.
Added sanity check to ensure that images can be deleted before trying to
actually delete one.
Trimmed some buffers that weren't really being used.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1273 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-29 21:12:39 +00:00
Gus Hartmann
1f1e0180e1 Modified #define for version information.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1272 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-29 02:35:29 +00:00
Gus Hartmann
c445641bbc Added a #define for version.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1271 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-29 02:32:27 +00:00
Gus Hartmann
256be64040 Fixed the naming of the preview thumbnail to correctly use the image number.
Since no frontends care what the thumbnails are named, this is a prevenative
rather than corrective bug fix.

Eliminated some old shotgun debugging statements, and will be deleting more.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1264 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-27 03:52:19 +00:00
Gus Hartmann
4f6cbf3b3a Put the camera libraries in alphabetical order in the --help message.
Added checks for snprintf, sprintf, strncpy, and strcpy. It never hurts
to check for these functions; it will improve portability.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1263 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-27 03:50:27 +00:00
Mariusz Zynel
199f695aba fixed problems with []
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1251 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-23 10:11:44 +00:00
Gus Hartmann
e3df867ad1 Fixed declaration of dimagev_ycbcr_to_ppm() to eliminate the size parameter.
This was an attempt to over-generalize code that should have been very
specific in its scope.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1242 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-22 20:27:05 +00:00
Gus Hartmann
8c568a64d7 Cleaned up explanation of preview thumbnails, having fixed the errors
previously documented in the README.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1240 67ed7778-7388-44ab-90cf-0a291f65f57c
2000-10-22 07:13:47 +00:00