]>
sigrok.org Git - sigrok-util.git/log
Gerhard Sittig [Sat, 19 Nov 2016 16:54:47 +0000 (17:54 +0100)]
sigrok-cross-linux: run configure under scan-build, too
http://clang-analyzer.llvm.org/scan-build.html#recommended_autoconf
suggests that autotools generated configure scripts shall be run under
scan-build, too. Adjust the cross build script accordingly (N.B. the
initial cmake invocation at configure time already did so).
Jan Luebbe [Tue, 11 Jul 2017 19:23:00 +0000 (21:23 +0200)]
saleae-logicpro16: Decode more commands and registers
Jan Luebbe [Tue, 11 Jul 2017 19:20:47 +0000 (21:20 +0200)]
sigrok-fwextract-saleae-logic16: Add extraction of Logic Pro firmware
This was tested with vendor software version 1.2.10.
Uwe Hermann [Thu, 6 Jul 2017 18:30:09 +0000 (20:30 +0200)]
newdriver: Drop obsolete checks and code chunks.
This is now handled via wrappers that the whole code-base uses.
Jan Luebbe [Sun, 25 Jun 2017 19:25:49 +0000 (21:25 +0200)]
saleae-logicpro16: Add wireshark dissector
Uwe Hermann [Wed, 21 Jun 2017 06:21:50 +0000 (08:21 +0200)]
sigrok-fwextract-dreamsourcelab-dslogic: Fix comment.
Joel Holdsworth [Sat, 10 Jun 2017 00:33:52 +0000 (18:33 -0600)]
sigrok-fwextract-dreamsourcelab-dslogic: Download v0.97 firmware
Uwe Hermann [Sat, 3 Jun 2017 20:56:00 +0000 (22:56 +0200)]
sigrok-cross-mingw: Add and use FileAssociation.nsh.
This is required for ${registerExtension} and ${unregisterExtension}.
Taken from:
http://nsis.sourceforge.net/File_Association
Uwe Hermann [Tue, 23 May 2017 22:00:39 +0000 (00:00 +0200)]
sigrok-cross-android: Enable the Python struct module.
This fixes bug #751.
Gerhard Sittig [Sun, 21 May 2017 16:18:43 +0000 (18:18 +0200)]
new-driver: do accept multiple command line words for driver name
The README specifies that driver names consist of multiple words
(typically vendor and model). Adjust the args parser configuration such
that more than one word gets accepted (the previous implementation did
insist on a single word).
Gerhard Sittig [Sun, 21 May 2017 16:20:38 +0000 (18:20 +0200)]
new-driver: minor whitespace nit
Uwe Hermann [Fri, 31 Mar 2017 17:30:20 +0000 (19:30 +0200)]
sigrok-cross-android: Drop boost-thread.
This is no longer needed, PV uses pure C++11 threading now.
Uwe Hermann [Mon, 20 Mar 2017 23:43:23 +0000 (00:43 +0100)]
sigrok-cross-linux: PV: Add -DCMAKE_EXPORT_COMPILE_COMMANDS=y.
This creates a compilation database which can be used with e.g. clang-tidy.
Uwe Hermann [Sun, 19 Mar 2017 23:54:01 +0000 (00:54 +0100)]
sigrok-native-appimage: Add missing Qt5 dependencies.
Uwe Hermann [Sun, 19 Mar 2017 23:53:30 +0000 (00:53 +0100)]
sigrok-native-appimage: Add Python 3 files.
Uwe Hermann [Sun, 19 Mar 2017 23:46:12 +0000 (00:46 +0100)]
sigrok-native-appimage: Fix order of delete_blacklisted() call.
This was being called too early, resulting in not all files being
deleted that should be deleted.
Uwe Hermann [Sun, 19 Mar 2017 20:09:29 +0000 (21:09 +0100)]
sigrok-native-appimage: Include all relevant Qt5 plugins.
Uwe Hermann [Wed, 1 Mar 2017 18:01:57 +0000 (19:01 +0100)]
sigrok-native-appimage: Use $STATIC_FILES.
Uwe Hermann [Wed, 1 Mar 2017 17:59:25 +0000 (18:59 +0100)]
sigrok-native-appimage: Add local copy of 'excludelist'.
This avoids having to depend on or trust external sites.
Uwe Hermann [Wed, 1 Mar 2017 17:43:22 +0000 (18:43 +0100)]
sigrok-native-appimage: Inline patch_usr().
Uwe Hermann [Wed, 1 Mar 2017 17:29:36 +0000 (18:29 +0100)]
sigrok-native-appimage: Replace obsolete generate_appimage().
Uwe Hermann [Wed, 1 Mar 2017 00:22:35 +0000 (01:22 +0100)]
sigrok-native-appimage: Add $APPIMAGEKIT_OUTDIR.
The script now uses a locally built AppImageKit from $APPIMAGEKIT_OUTDIR.
This avoids having to depend on or trust external sites.
Uwe Hermann [Tue, 28 Feb 2017 23:56:31 +0000 (00:56 +0100)]
sigrok-native-appimage: Use local copy of AppImage's functions.sh.
This avoids having to depend on or trust external sites.
Uwe Hermann [Tue, 28 Feb 2017 23:55:14 +0000 (00:55 +0100)]
sigrok-native-appimage: Use local copies of .depktop and icon.
Uwe Hermann [Tue, 28 Feb 2017 23:45:20 +0000 (00:45 +0100)]
sigrok-native-appimage: Rewrite to use local build products.
The script now assumes that $HOME/sr contains a full build of all sigrok
components, as performed by e.g. the sigrok-cross-linux script.
Use "NIGHTLY" as version indicator in the filename.
Uwe Hermann [Tue, 28 Feb 2017 22:08:15 +0000 (23:08 +0100)]
sigrok-cross-msys2: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 20:09:03 +0000 (21:09 +0100)]
sigrok-cross-mingw: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 20:05:59 +0000 (21:05 +0100)]
sigrok-cross-macosx: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 19:47:51 +0000 (20:47 +0100)]
sigrok-cross-android: Factor out $REPO_BASE.
Uwe Hermann [Mon, 27 Feb 2017 20:01:30 +0000 (21:01 +0100)]
sigrok-cross-linux: Factor out $REPO_BASE.
Uwe Hermann [Sun, 26 Feb 2017 22:23:41 +0000 (23:23 +0100)]
sigrok-fwextract-dreamsourcelab-dslogic: Hardcode known-good firmware.
Use the last known-working firmware/bitstream set. Newer versions have
incompatible changes that cause issues that need to be investigated.
This fixes bug #886.
Uwe Hermann [Sun, 19 Feb 2017 22:01:59 +0000 (23:01 +0100)]
sigrok-native-macosx: Drop Qt4 references/comments.
We only need to support Qt5; Qt4 support will be phased out eventually.
Piotr Esden-Tempski [Sun, 19 Feb 2017 17:18:08 +0000 (09:18 -0800)]
sigrok-native-macosx: Autodetect cask-only library locations and cpu count.
Uwe Hermann [Fri, 17 Feb 2017 08:20:42 +0000 (09:20 +0100)]
sigrok-cross-mingw: Lower Python version to 3.4 (Win XP support).
The last Python version to officially support Windows XP was 3.4.x.
We'll keep the Windows installers at that version for the time being,
until Windows XP support is no longer feasible (e.g. because important
sigrok requirements such as Qt, glib, or libusb drop XP suppport).
Uwe Hermann [Thu, 2 Feb 2017 21:38:04 +0000 (22:38 +0100)]
sigrok-cross-mingw: Bump Python version to 3.6.0.
Uwe Hermann [Sun, 29 Jan 2017 18:28:05 +0000 (19:28 +0100)]
sigrok-cross-mingw: Use libpython32.a in fake python3.pc.
This avoids a libbz2 linking issue later on in the PulseView build.
Details:
https://github.com/mxe/mxe/issues/1642
Thanks to Tony Theodore for the help!
Uwe Hermann [Sun, 29 Jan 2017 17:56:18 +0000 (18:56 +0100)]
sigrok-cross-mingw: Switch to Qt5.
Also, drop an obsolete Qt(4) related patch.
Uwe Hermann [Sun, 29 Jan 2017 17:18:17 +0000 (18:18 +0100)]
sigrok-cross-mingw: Use MXE's cmake instead of -DCMAKE_TOOLCHAIN_FILE.
Instead of supplying the MXE specific mxe-conf.cmake file to cmake via
-DCMAKE_TOOLCHAIN_FILE, use the MXE- and target-specific cmake wrapper.
Uwe Hermann [Sun, 29 Jan 2017 18:03:41 +0000 (19:03 +0100)]
sigrok-cross-android: Set "android:versionName" to a timestamp.
Use the current date-/timestamp when building as the versionName
Android field.
This "version" basically means "git HEAD of everything as of the
build time of the APK", which includes every piece of software that
the sigrok-cross-android script grabs and builds, as well as the
pre-installed Android NDK + SDK components.
Uwe Hermann [Sun, 22 Jan 2017 17:43:45 +0000 (18:43 +0100)]
sigrok-cross-android: Fix broken pcre URL.
Uwe Hermann [Sat, 21 Jan 2017 18:30:01 +0000 (19:30 +0100)]
sigrok-cross-android: Bump zlib to 1.2.11.
The old 1.2.8 tarball yielded a 404 error and thus caused the build to fail.
Gerhard Sittig [Thu, 20 Oct 2016 07:43:56 +0000 (09:43 +0200)]
license: remove FSF postal address from boiler plate license text
Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.
Uwe Hermann [Sat, 17 Dec 2016 15:57:26 +0000 (16:57 +0100)]
sigrok-cross-android: Default to the prebuilt toolchains.
This fixes the last part of bug #701.
Marcus Comstedt [Wed, 7 Dec 2016 20:07:57 +0000 (21:07 +0100)]
sigrok-cross-android: Force Java 1.6 when building the bindings
Marcus Comstedt [Sat, 3 Dec 2016 14:11:12 +0000 (15:11 +0100)]
sigrok-cross-android: Patch Boost to remove dependencies on libc wchar stuff
This avoids issues like these:
libboost_serialization.so: error: undefined reference to 'mbtowc'
E/dalvikvm(28980): dlopen("/data/app-lib/org.sigrok.pulseview-1/
libboost_serialization.so") failed: dlopen failed: cannot locate
symbol "mbtowc" referenced by "libboost_serialization.so"
Marcus Comstedt [Sun, 27 Nov 2016 15:05:01 +0000 (16:05 +0100)]
sigrok-cross-android: Patch libusb to use Java helpers for enumeration
In newer Android versions, the native enumeration code used by
libusb does not work anymore due to the necessary virtual file
system nodes not being available to user processes. Therefore,
Java helper code is now needed for enumeration as well.
This fixes parts of bug #701.
Marcus Comstedt [Sun, 27 Nov 2016 15:03:28 +0000 (16:03 +0100)]
sigrok-cross-android: Link pulseview against gnustl_shared
This fixes parts of bug #701.
Marcus Comstedt [Tue, 22 Nov 2016 21:28:38 +0000 (22:28 +0100)]
sigrok-cross-android: Enable UTF support for PCRE
The UTF options must be enabled or else the glib function g_regex_new
will fail.
This fixes parts of bug #701.
Uwe Hermann [Wed, 2 Nov 2016 07:56:03 +0000 (08:56 +0100)]
Add sigrok-fwextract-dreamsourcelab-dslogic script and manpage.
Uwe Hermann [Sun, 11 Sep 2016 15:57:11 +0000 (17:57 +0200)]
sigrok-cross-linux: Add some workarounds for FreeBSD issues.
Uwe Hermann [Tue, 6 Sep 2016 22:49:19 +0000 (00:49 +0200)]
sigrok-cross-mingw: Drop accidentally added "exit".
Uwe Hermann [Tue, 6 Sep 2016 21:34:36 +0000 (23:34 +0200)]
sigrok-cross-mingw: Allow for debug builds (default = off).
Uwe Hermann [Sun, 4 Sep 2016 19:49:25 +0000 (21:49 +0200)]
sigrok-cross-android: Build now-required boost-serialization.
Uwe Hermann [Tue, 28 Jun 2016 06:40:53 +0000 (08:40 +0200)]
new-driver: Use /usr/bin/env.
Increase portability by using "#!/usr/bin/env python3".
Thanks to Mike Meyer <redacted> for the patch!
Aurelien Jacobs [Thu, 23 Jun 2016 20:28:07 +0000 (22:28 +0200)]
new-driver: fix to match new libsigrok driver build method
Uwe Hermann [Thu, 9 Jun 2016 06:44:03 +0000 (08:44 +0200)]
new-driver: Adapt to recent driver API changes.
Use the new std_init(), std_cleanup(), and std_dev_list() in the
generated files.
Drop 'cb_data' argument from dev_acquisition_{start,stop}.
Uwe Hermann [Thu, 9 Jun 2016 06:41:56 +0000 (08:41 +0200)]
new-driver: Cosmetics.
Restore the same order for files and the same tab-indentation that used
to be used before the recent patches for consistency reasons.
Uwe Hermann [Thu, 9 Jun 2016 06:40:54 +0000 (08:40 +0200)]
new-driver: Add missing \n that causes build errors.
Without this \n the Makefile.am contains errors and causes build issues
like this:
Makefile:3821: *** missing separator. Stop.
Uwe Hermann [Thu, 9 Jun 2016 06:25:04 +0000 (08:25 +0200)]
new-driver: Add missing make_patch() argument.
David Douard [Mon, 30 May 2016 20:00:46 +0000 (22:00 +0200)]
new-driver: refactoring
- use argparse and add several cmdline options
- prevent global vars
- allow to be run from other directory than sigrok-util/source
- use plain python .format() for templating
David Douard [Mon, 30 May 2016 20:00:45 +0000 (22:00 +0200)]
new-driver: put the cleanup part in a finally block
as it should be
David Douard [Mon, 30 May 2016 20:00:44 +0000 (22:00 +0200)]
new-driver: use os.path.join instead of str concat
David Douard [Mon, 30 May 2016 20:00:43 +0000 (22:00 +0200)]
new-driver: do not use shell=True when using Popen
There is no need for this, and it is always best not to use it if not relly
needed.
Also pass cmd to Popen as list instead of str.
David Douard [Mon, 30 May 2016 20:00:42 +0000 (22:00 +0200)]
new-driver: fix for libsigrok since
dd5c48a6
This patch in libsigrok removes the drivers.c completely, so new-driver
should not try to modify it any more. It has been replaced by a register
mechanism to add driver pointer in a new special section.
So drv-api.c must be modified to include a call to SR_REGISTER_DEV_DRIVER
Uwe Hermann [Fri, 27 May 2016 15:02:18 +0000 (17:02 +0200)]
sigrok-native-appimage: Don't modify host system.
Instead of running apt-get (and requiring sudo) simply assume all build
requirements are present on the host.
Uwe Hermann [Fri, 27 May 2016 12:50:29 +0000 (14:50 +0200)]
Rename bundle.sh to sigrok-native-appimage for consistency.
probonopd [Thu, 26 May 2016 18:09:04 +0000 (20:09 +0200)]
Create bundle.sh
probonopd [Thu, 26 May 2016 17:54:27 +0000 (19:54 +0200)]
Create README
Uwe Hermann [Sun, 15 May 2016 14:23:42 +0000 (16:23 +0200)]
sigrok-cross-android: Bump Qt to 5.6.0.
We were using Qt 5.6.0-beta before (which is no longer available).
Uwe Hermann [Sun, 15 May 2016 14:21:01 +0000 (16:21 +0200)]
sigrok-cross-android: Fix a glib build issue.
Bump glib to a more recent upstream version (2.48.1), which happens to fix
the following build issue:
m4macros/glib-gettext.m4:39: error: m4_copy: won't overwrite defined macro: glib_DEFUN
Also bump to the respective glibmm 2.48.1 version. This, in turn,
requires a newer libsigc++, so bump that to 2.9.2 as well.
Uwe Hermann [Sun, 15 May 2016 14:19:26 +0000 (16:19 +0200)]
sigrok-cross-android: Use working URL for android.toolchain.cmake.
The old googlecode.com source is no longer available, use another clone
from github for now.
Uwe Hermann [Sun, 15 May 2016 14:17:41 +0000 (16:17 +0200)]
sigrok-cross-android: Use http transport for config.git.
Savannah is currently suffering some networking issues which cause the
git clone via git:// to fail. It seems that cloning via http:// works
fine though, so use that for now.
http://savannah.gnu.org/forum/forum.php?forum_id=8542
Uwe Hermann [Wed, 17 Feb 2016 07:21:41 +0000 (08:21 +0100)]
sigrok-native-msys2: Add a README.
Uwe Hermann [Tue, 16 Feb 2016 20:51:19 +0000 (21:51 +0100)]
sigrok-native-msys2: Add initial script version.
Vlad Ivanov [Tue, 9 Feb 2016 08:11:31 +0000 (11:11 +0300)]
sigrok-cross-mingw: add libusb RAW_IO patch
On Windows, RAW_IO WinUsb pipe policy should be enabled by default:
https://sourceforge.net/p/libusb/mailman/message/
34810484 /
This fixes bug #573.
Signed-off-by: Vlad Ivanov <redacted>
Uwe Hermann [Tue, 9 Feb 2016 07:47:51 +0000 (08:47 +0100)]
sigrok-cross-android: Bump to Qt 5.6-beta.
This may or may not fix bug #701.
Might fix QTBUG-48703.
https://bugreports.qt.io/browse/QTBUG-48703
Build-tested and runtime-tested on Android 4.4.2.
Uwe Hermann [Tue, 9 Feb 2016 07:42:14 +0000 (08:42 +0100)]
sigrok-cross-android: Revert back to older glib(mm).
Bumping the glib(mm) versions to 2.47.x seems to have caused a
regression, the Android app would fail to start with a segfault
related to g_match_info_unref() apparently.
Revert back to 2.45.x for now.
Uwe Hermann [Thu, 4 Feb 2016 07:31:21 +0000 (08:31 +0100)]
sigrok-cross-android: Bump sigrok-fx2lafw-firmware to 0.1.3.
This gives us support for the new sigrok VID/PID pairs.
Uwe Hermann [Thu, 4 Feb 2016 07:30:58 +0000 (08:30 +0100)]
sigrok-cross-android: Bump a few packages to newer versions.
Uwe Hermann [Tue, 2 Feb 2016 18:50:15 +0000 (19:50 +0100)]
sigrok-cross-android: Temporary workaround to fix the PulseView build.
Uwe Hermann [Tue, 2 Feb 2016 18:47:59 +0000 (19:47 +0100)]
sigrok-cross-android: Bump Qt to 5.5.1.
This may or may not fix bug #701.
Should fix the "W/Qt A11Y (16364): Could not activate platform accessibility."
message at least (QTBUG-46355).
https://bugreports.qt.io/browse/QTBUG-46355
Uwe Hermann [Thu, 17 Dec 2015 08:40:35 +0000 (09:40 +0100)]
sigrok-cross-mingw: Update mxe_fixes.patch.
One of the issues has been fixed upstream.
Uwe Hermann [Thu, 17 Dec 2015 08:21:04 +0000 (09:21 +0100)]
sigrok-cross-mingw: Switch to i686-w64-mingw32.static.posix.
This is a new MXE target that uses POSIX threads (and thus gives
us C++11 std::thread support, among other things) out of the box.
Using this, we no longer have to build gcc twice.
Uwe Hermann [Mon, 2 Nov 2015 19:57:43 +0000 (20:57 +0100)]
firmware: Update manpage references.
Daniel Elstner [Sat, 31 Oct 2015 21:25:28 +0000 (22:25 +0100)]
sysclk-lwla: Extract LWLA1034 bitstreams in RBF format
Adjust offsets so that the extraction yields Raw Binary Files,
and adjust the filenames accordingly. This is the format expected
by the current LWLA1034 driver in libsigrok.
Daniel Elstner [Sat, 31 Oct 2015 21:20:05 +0000 (22:20 +0100)]
sysclk-lwla: Rename LWLA1034 firmware script
Include the model number in the firmware extraction script name,
as is already the case with the LWLA1016 script.
Uwe Hermann [Fri, 30 Oct 2015 14:38:28 +0000 (15:38 +0100)]
sigrok-native-macosx: Enable libsigrok Java bindings.
These seem to build fine now.
Uwe Hermann [Tue, 27 Oct 2015 22:05:54 +0000 (23:05 +0100)]
firmware: Update "SEE ALSO" in all manpages.
Daniel Elstner [Wed, 21 Oct 2015 20:33:57 +0000 (22:33 +0200)]
sysclk-lwla: Add firmware extraction script for LWLA1016
Provide a simple shell script which extracts byte ranges from the
Windows software. Note that this only works on an installation of
the original software, since the firmware files are not as easily
extractable directly out of the installer executable.
Daniel Elstner [Wed, 21 Oct 2015 20:30:30 +0000 (22:30 +0200)]
sysclk-lwla: Enhance dissector to work with LWLA1016
There is significant overlap between the LWLA1016 protocol and the
LWLA1034 one. Make the LWLA Wireshark protocol dissector cover both
devices.
Tilman Sauerbeck [Sun, 25 Oct 2015 13:13:37 +0000 (14:13 +0100)]
Add a script that extracts FPGA bitstreams for LeCroy LogicStudio.
Uwe Hermann [Tue, 13 Oct 2015 21:00:39 +0000 (23:00 +0200)]
new-driver: Minor whitespace cosmetics.
Marcus Comstedt [Sat, 24 Oct 2015 22:00:47 +0000 (00:00 +0200)]
Add dissection of acquisition packets to SmartScope dissector
Marcus Comstedt [Sat, 10 Oct 2015 21:25:51 +0000 (23:25 +0200)]
sigrok-cross-android: Skip installing pulseview
The installed files are not used when building the pulseview APK,
and are not useful for anything else.
Marcus Comstedt [Sat, 10 Oct 2015 21:25:20 +0000 (23:25 +0200)]
sigrok-cross-android: Disable some more unused Qt modules
Marcus Comstedt [Tue, 6 Oct 2015 20:29:50 +0000 (22:29 +0200)]
Add a Wireshark dissector for the LabNation SmartScope protocol.
Marcus Comstedt [Sun, 4 Oct 2015 12:10:08 +0000 (14:10 +0200)]
sigrok-cross-android: Add two Python C modules needed for some decoders
This fixes bug #401.
Uwe Hermann [Sat, 3 Oct 2015 17:12:18 +0000 (19:12 +0200)]
sigrok-cross-mingw: Drop no longer needed patches.
Uwe Hermann [Wed, 30 Sep 2015 17:43:36 +0000 (19:43 +0200)]
new-driver: Cosmetic fix.
Marcus Comstedt [Wed, 30 Sep 2015 18:31:45 +0000 (20:31 +0200)]
sigrok-cross-android: Include firmwares in the build