aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-30Allow expanding the window with Gtk3Mauro Carvalho Chehab4-14/+60
It is nice to be able to expand the window in real time. Add support for it with Gtk3. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-30callbacks: fix scale with gtk3Mauro Carvalho Chehab1-0/+4
There's a missing call to scale the window, when built with gtk3. Add the missing call to cairo_scale(). Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-30callbacks: move get_geometry and fix itMauro Carvalho Chehab3-23/+24
get_geometry() is currently getting the geometry of the default display, and not from the only actually being used. Change the code for it to do the right thing and move it to the callbacks. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-13Translated using Weblate (Arabic)ButterflyOfFire1-8/+9
Currently translated at 3.0% (5 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/ar/
2020-03-13README.md: update a broken linkMauro Carvalho Chehab1-1/+1
As reported by: https://github.com/alessio/camorama/issues/5 The metacity link is broken. So, point to a different place. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-13configure.ac: use "foreign" flavorMauro Carvalho Chehab1-1/+1
As we renamed to README.md, we need to switch to foreign, as otherwise the build system will complain about the lack of a "README" file. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-13Remove auto-tools generated filesMauro Carvalho Chehab42-24703/+12
Instead, the best is to always run ./autogen.sh as this will ensure a cleaner and more portable build. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-13Update the po filesMauro Carvalho Chehab48-776/+777
No real change here. Just lines that got shifted along camorama versions. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-13Remove the gettext versionMauro Carvalho Chehab1-1/+0
This should hopefully avoid the errors when building it against a different version Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-03-11Update README.mdAlessio Treglia1-14/+12
2020-03-11Rename README to README.mdAlessio Treglia1-0/+0
2020-03-02Translated using Weblate (Polish)Michal Biesiada1-23/+23
Currently translated at 66.2% (110 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/pl/
2020-02-28Translated using Weblate (Swedish)Göran Uddeborg1-75/+72
Currently translated at 100.0% (166 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/sv/ Translated using Weblate (Swedish) Currently translated at 97.6% (162 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/sv/ Translated using Weblate (Swedish) Currently translated at 81.9% (136 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/sv/
2020-02-28Translated using Weblate (Turkish)Oğuz Ersen1-69/+50
Currently translated at 79.5% (132 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/tr/
2020-02-28Fix compilation with gcc10 / -fno-commoHans de Goede2-4/+9
gcc10 defaults to -fno-common, meaning that non static symbols can only be declared once. Make the declarations in camorama-globals.h extern and declare them as non extern in main.c to fix building with gcc10. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2020-02-08Merge pull request #34 from Jibec/patch-1Mauro Carvalho Chehab1-0/+2
add translation badge
2020-02-08Translated using Weblate (Ukrainian)Yuri Chornoivan1-106/+112
Currently translated at 100.0% (166 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/uk/
2020-02-08Translated using Weblate (Portuguese (Brazil))Mauro Carvalho Chehab1-7/+8
Currently translated at 100.0% (166 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/pt_BR/
2020-02-08Translated using Weblate (Dutch)Geert Warrink1-82/+80
Currently translated at 100.0% (166 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/nl/
2020-02-08Translated using Weblate (French)Julien Humbert1-64/+73
Currently translated at 100.0% (166 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/fr/
2020-02-04add translation badgeJean-Baptiste1-0/+2
2020-02-04Translated using Weblate (French)Jean-Baptiste Holcroft1-46/+35
Currently translated at 80.7% (134 of 166 strings) Translation: camorama/master Translate-URL: https://translate.fedoraproject.org/projects/camorama/master/fr/
2020-02-04Translations: update them from Zanata serverMauro Carvalho Chehab43-3305/+342
There were some new translations at Zanata, and some that are old and should be removed. As Zanata is about to be decomissioned, let's update the translations, in order to avoid losing them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-19Update to gettext-0.20Mauro Carvalho Chehab28-4683/+1299
The update was auto-generated by: $ gettextize -f Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2018-12-23Bump version number to 0.20.70.20.7Mauro Carvalho Chehab2-12/+12
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23po: update to reflect latest changesMauro Carvalho Chehab48-6816/+7056
There are some changes at the source files. Update translation files accordingly. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23Merge pull request #30 from mchehab/masterMauro Carvalho Chehab18-95/+268
Some cleanups, fixes and Zoom support
2018-12-23Changelog: update to reflect latest changesMauro Carvalho Chehab1-0/+17
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23v4l2: fix control availability checkMauro Carvalho Chehab1-1/+1
All controls are warranted to be between 0 and 65535 by the logic used inside libv4l2. It means that a zero value is valid. This fixes a bug where the color control is not shown if the value of the control is zero when camorama is started. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23v4l: make zoom logic more completeMauro Carvalho Chehab3-4/+27
There are 3 types of zoom controls on V4L2 API. Instead of assuming just one type, autodetect between all 3 types of control. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23Add zoom controlMauro Carvalho Chehab11-38/+195
The icon was imported from gnome icon set (https://github.com/GNOME/gnome-icon-theme) before changeset e4fc9dade2d6411173bb84c0f1064eeac0b6a5fb, to ensure that it matches the license of camorama project (GPL 2). Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23camorama-window: ensure that windows will be resized after controls codeMauro Carvalho Chehab1-6/+8
As controls will be shown or hidden depending if they're available or not and if the controls are visible or not, call resize, in order to ensure that any empty vertical space at the end of the window will be cleaned up. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23configure: show what Gtk version will be usedMauro Carvalho Chehab2-0/+20
As we can build for multiple Gtk versions, output what version will be used. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23main: get rid of GCC specific pragmasMauro Carvalho Chehab1-9/+1
The pragma GCC diagnostic ignored "-Wdiscarded-qualifiers" doesn't exist in clang. Get rid of it, in order to make the code more portable. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23get rid of glib-helpers.hMauro Carvalho Chehab4-43/+3
The only definition there is a macro. Such macro exists already at glib, and we don't really need it, as it is used only on two places, and the definition we use is trivial. So, just get rid of it for good. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-23glib-helpers.h: cleanup a warning with clang 7Mauro Carvalho Chehab1-0/+2
Two glib helper functions are redefined there, in order to avoid some warnings. Those produce a warning with clang 7: ./glib-helpers.h:32:9: warning: 'G_SOURCE_FUNC' macro redefined [-Wmacro-redefined] ^ /usr/include/glib-2.0/glib/gmain.h:191:9: note: previous definition is here ^ Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-20Fix "Could not create directory '~/Webcam_Pictures'." errorHans de Goede1-0/+6
Fix the "Could not create directory '~/Webcam_Pictures'." error which gets thrown when pressing the "Take Picture" button. The save-dir gsetting default value is '~/Webcam_Pictures', modify the code reading this setting to correctly replace the ~ with $HOME. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-18callbacks: prepare to support gtk 4 renderMauro Carvalho Chehab1-1/+10
The cairo way to draw pixmaps got removed on Gtk 3.94: https://gitlab.gnome.org/GNOME/gtk/commit/7ef8696a7dc2c7ad5965f7150acb51b1c0559a84 We'll likely need a different solution for it to work. So, for now, just print an error if someone tries to print with gtk versions above 3.90. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-17Merge pull request #29 from mchehab/check_libv4lMauro Carvalho Chehab13-706/+800
Configure should check for the presence of libv4l
2018-11-17configure.ac: check if libv4l is presentcheck_libv4lMauro Carvalho Chehab2-0/+53
Camorama can't build without libv4l. Add such check there. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-17Update autotools file to version 1.16.1Mauro Carvalho Chehab12-706/+747
As we ship Camorama with those files, and a new check there is needed, let's first update them from autoreconf -vfi, before doing any other changes. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Merge pull request #27 from mchehab/video_device_selection0.20.6Mauro Carvalho Chehab61-6775/+9444
Video device selection
2018-09-21Bump version to 0.20.6video_device_selectionMauro Carvalho Chehab3-12/+27
* Fix the maximum resolution on cameras with a scaler (stepwise frame sizes); * Properly handle the camera video device, by checking their names at devfs and checking what V4L2 devices support video capture streams; * Add a dialog to allow changing the video device. It is used when more than one cameras are available, and called at the beginning of camorama, if there's no previous value, or if it is invalid; * When there are multiple cameras, add a new item at the <View> menu, allowing changing the camera at runtime. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Reset frame counters when the camera changesMauro Carvalho Chehab1-0/+5
Different cameras may have different frame rates. Reset the values when a camera is changed, as it doesn't make sense to keep using the values from the previous one. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Update Brazilian Portuguese translationMauro Carvalho Chehab1-12/+11
Some new messages were added on this version. Translate them. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Refresh translation files after the recent changesMauro Carvalho Chehab49-6577/+8566
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Set the scale and window name when switching to a cameraMauro Carvalho Chehab2-3/+3
Different cameras may have different scales and names. Set it when switching between cameras. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Place the new "Change Camera" option before resolution settingsMauro Carvalho Chehab4-4/+28
Instead of placing it together with the resolution changes, after the separator, add it earlier. With that, it now will remain at the same place after switching between cameras. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Fix maximum resolution on scalable camerasMauro Carvalho Chehab1-1/+1
When the camera is scalable, right now it shows the max res as 3/4 of the real one. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-21Add an item to allow switching cameras in realtimeMauro Carvalho Chehab5-107/+204
When camorama detects multiple cameras, it should now be possible to swich between them in real time without stopping it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

Privacy Policy