sigrok:sigrok.git
7 years agoUpdate README a bit.
Uwe Hermann [Sat, 27 Mar 2010 15:15:37 +0000 (16:15 +0100)]
Update README a bit.

7 years agoUse PRIu64 for printing uint64_t values.
Uwe Hermann [Sat, 27 Mar 2010 15:00:29 +0000 (16:00 +0100)]
Use PRIu64 for printing uint64_t values.

7 years agoMerge (almost) all header files into sigrok.h.
Uwe Hermann [Sat, 27 Mar 2010 13:47:21 +0000 (14:47 +0100)]
Merge (almost) all header files into sigrok.h.

The remaining headers are config.h (which should stay separate) and
the local headers in the GUI, which must also stay.

The next step is to prefix all/most publicly accessible functions and
macros from sigrok.h with "sigrok_" in order to avoid namespace
pollution. Any of the functions which are not meant to be public should
become "static" and be removed from sigrok.h.

7 years agonew generic sigrok_device_instance driver facility
Bert Vermeulen [Sat, 27 Mar 2010 12:34:07 +0000 (13:34 +0100)]
new generic sigrok_device_instance driver facility

7 years agoadd /dev/ttyACM devices (linux)
Bert Vermeulen [Sat, 27 Mar 2010 10:13:25 +0000 (11:13 +0100)]
add /dev/ttyACM devices (linux)

7 years agoAdded *.app to ignorelist.
Piotr Esden-Tempski [Sat, 27 Mar 2010 12:17:15 +0000 (13:17 +0100)]
Added *.app to ignorelist.

7 years agoRemoved now obsolete mac os x specific paths.
Piotr Esden-Tempski [Sat, 27 Mar 2010 12:16:58 +0000 (13:16 +0100)]
Removed now obsolete mac os x specific paths.

7 years agoAdd sigrok-cli(1) and sigrok-gui(1) manpages.
Uwe Hermann [Sat, 27 Mar 2010 01:41:47 +0000 (02:41 +0100)]
Add sigrok-cli(1) and sigrok-gui(1) manpages.

7 years agoinclude_HEADERS is more correct for sigrok.h.
Uwe Hermann [Sat, 27 Mar 2010 01:37:46 +0000 (02:37 +0100)]
include_HEADERS is more correct for sigrok.h.

7 years agoUse automake --foreign to simplify things.
Uwe Hermann [Fri, 26 Mar 2010 18:15:46 +0000 (19:15 +0100)]
Use automake --foreign to simplify things.

7 years agoMake sigrok.h known to autotools.
Uwe Hermann [Fri, 26 Mar 2010 18:15:10 +0000 (19:15 +0100)]
Make sigrok.h known to autotools.

7 years agoAdd some more useful options to AM_INIT_AUTOMAKE.
Uwe Hermann [Fri, 26 Mar 2010 17:56:02 +0000 (18:56 +0100)]
Add some more useful options to AM_INIT_AUTOMAKE.

7 years agoAC_INIT: Add more metadata.
Uwe Hermann [Fri, 26 Mar 2010 17:33:29 +0000 (18:33 +0100)]
AC_INIT: Add more metadata.

This include a bugreport URL, tarball name, and project website. The
respective #define names generated in config.h are:

  #define PACKAGE "sigrok"
  #define PACKAGE_BUGREPORT "sigrok-devel@lists.sourceforge.net"
  #define PACKAGE_NAME "sigrok"
  #define PACKAGE_STRING "sigrok 0.1pre"
  #define PACKAGE_TARNAME "sigrok"
  #define PACKAGE_URL "http://www.sigrok.org"
  #define PACKAGE_VERSION "0.1pre"
  #define VERSION "0.1pre"

7 years agoAdd a few more autoconf checks.
Uwe Hermann [Fri, 26 Mar 2010 17:24:50 +0000 (18:24 +0100)]
Add a few more autoconf checks.

Also, remove AM_PROG_CC_C_O as it's not needed (it's being
checked already).

7 years agoAdd Windows application icon and instrastructure.
Uwe Hermann [Fri, 26 Mar 2010 15:59:44 +0000 (16:59 +0100)]
Add Windows application icon and instrastructure.

7 years agoAdd -Wextra to expose more potential code issues.
Uwe Hermann [Fri, 26 Mar 2010 15:47:18 +0000 (16:47 +0100)]
Add -Wextra to expose more potential code issues.

7 years agoAdd missing cast which may break the build.
Uwe Hermann [Thu, 25 Mar 2010 16:26:48 +0000 (17:26 +0100)]
Add missing cast which may break the build.

7 years agoDon't hardcode libs, use pkg-config.
Uwe Hermann [Thu, 25 Mar 2010 01:08:58 +0000 (02:08 +0100)]
Don't hardcode libs, use pkg-config.

This is tested on Linux, but not yet on Windows and Mac OS X.

7 years agoonly free output buffer if non-NULL, conforming to API docs
Bert Vermeulen [Thu, 25 Mar 2010 00:25:50 +0000 (01:25 +0100)]
only free output buffer if non-NULL, conforming to API docs

7 years agoMerge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok
Bert Vermeulen [Wed, 24 Mar 2010 23:46:09 +0000 (00:46 +0100)]
Merge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok

7 years agosome sample code, handy for a new output module
Bert Vermeulen [Wed, 24 Mar 2010 23:45:41 +0000 (00:45 +0100)]
some sample code, handy for a new output module

7 years agoIndentation fixes in the *.pro file.
Uwe Hermann [Wed, 24 Mar 2010 17:25:23 +0000 (18:25 +0100)]
Indentation fixes in the *.pro file.

7 years agofree filter buffer after use
Bert Vermeulen [Wed, 24 Mar 2010 06:33:46 +0000 (07:33 +0100)]
free filter buffer after use

7 years agoMerge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok
Bert Vermeulen [Wed, 24 Mar 2010 06:28:25 +0000 (07:28 +0100)]
Merge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok

7 years agofix brokenness when using random probes, not just 1-
Bert Vermeulen [Wed, 24 Mar 2010 06:27:11 +0000 (07:27 +0100)]
fix brokenness when using random probes, not just 1-

7 years agomove probe filter stuff out of datastore
Bert Vermeulen [Wed, 24 Mar 2010 06:25:38 +0000 (07:25 +0100)]
move probe filter stuff out of datastore

the frontend now calls filter_probes() from its datafeed callback,
and uses the output of that to feed into the datastore and output
modules.

7 years agoDrop unused variables.
Uwe Hermann [Mon, 22 Mar 2010 23:48:22 +0000 (00:48 +0100)]
Drop unused variables.

7 years agomove bin/hex text printers to new output module
Bert Vermeulen [Tue, 23 Mar 2010 12:56:07 +0000 (13:56 +0100)]
move bin/hex text printers to new output module

7 years agoPretty much finished German translation.
Uwe Hermann [Mon, 22 Mar 2010 22:50:04 +0000 (23:50 +0100)]
Pretty much finished German translation.

7 years agoUpdate de_DE translation a bit.
Uwe Hermann [Mon, 22 Mar 2010 22:39:35 +0000 (23:39 +0100)]
Update de_DE translation a bit.

7 years agoDon't use deprecated QString::sprintf().
Uwe Hermann [Mon, 22 Mar 2010 22:28:17 +0000 (23:28 +0100)]
Don't use deprecated QString::sprintf().

The better options are QString::number() and QString::arg(). The latter
has the additional benefit of allowing translators to change the
order of arguments if that makes more sense in the respective language.

7 years agoFix incorrect QGridLayout usage.
Uwe Hermann [Mon, 22 Mar 2010 19:37:08 +0000 (20:37 +0100)]
Fix incorrect QGridLayout usage.

7 years agoadd pluggable output module system
Bert Vermeulen [Mon, 22 Mar 2010 22:41:49 +0000 (23:41 +0100)]
add pluggable output module system

7 years agoReplace deprecated atoi() with strtol() et al.
Uwe Hermann [Mon, 22 Mar 2010 19:07:27 +0000 (20:07 +0100)]
Replace deprecated atoi() with strtol() et al.

7 years agoDrop HWCAP_LIMIT_SECONDS usage to fix build.
Uwe Hermann [Mon, 22 Mar 2010 19:02:06 +0000 (20:02 +0100)]
Drop HWCAP_LIMIT_SECONDS usage to fix build.

The HWCAP_LIMIT_SECONDS macro and functionality has been removed.
Stop using it in the OLS driver to make sigrok build again.

7 years agofix off-by-one malloc
Bert Vermeulen [Sun, 21 Mar 2010 02:11:30 +0000 (03:11 +0100)]
fix off-by-one malloc

thanks to Mike Kershaw and mjmdavis for reporting the bug

7 years agoremove continuous sampling mode for now
Bert Vermeulen [Sun, 21 Mar 2010 01:51:26 +0000 (02:51 +0100)]
remove continuous sampling mode for now

7 years agomore consistent/sane interaction between frontends and hardware plugins
Bert Vermeulen [Sun, 21 Mar 2010 00:26:53 +0000 (01:26 +0100)]
more consistent/sane interaction between frontends and hardware plugins

device-specific options are now defined with a type
new DI type DI_CUR_SAMPLE_RATE
hardware plugin set_configuration() now always uses a void * to pass in the value, with the pointer specific to the capability being set -- no longer always a char *
CLI: --seconds is now --time, expressed in ms (or seconds, with 's' postfix)

7 years agoremove HWCAP_LIMIT_SECONDS from driver
Bert Vermeulen [Sat, 20 Mar 2010 12:49:12 +0000 (13:49 +0100)]
remove HWCAP_LIMIT_SECONDS from driver

7 years agoMerge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok
Bert Vermeulen [Sat, 20 Mar 2010 12:47:34 +0000 (13:47 +0100)]
Merge branch 'master' of ssh://biot@sigrok.git.sf.net/gitroot/sigrok/sigrok

7 years agoSet Preferences window title.
Uwe Hermann [Fri, 19 Mar 2010 22:54:12 +0000 (23:54 +0100)]
Set Preferences window title.

7 years agoAdd scrollbars to each channel dockWindow.
Uwe Hermann [Fri, 19 Mar 2010 22:30:47 +0000 (23:30 +0100)]
Add scrollbars to each channel dockWindow.

7 years agofix broken samplerate setting
Bert Vermeulen [Sat, 20 Mar 2010 06:18:21 +0000 (07:18 +0100)]
fix broken samplerate setting

7 years agoignore generated files
Bert Vermeulen [Sat, 20 Mar 2010 04:14:15 +0000 (05:14 +0100)]
ignore generated files

7 years agohex output mode in CLI
Bert Vermeulen [Sat, 20 Mar 2010 02:51:48 +0000 (03:51 +0100)]
hex output mode in CLI

7 years agoTranslate a bunch of strings for de_DE.
Uwe Hermann [Fri, 19 Mar 2010 00:40:01 +0000 (01:40 +0100)]
Translate a bunch of strings for de_DE.

Generating *.ts files is done via "lupdate":

 $ lupdate sigrok-gui.pro

Translation of strings is done using the "linguist" tool:

 $ linguist locale/sigrok-gui_de_DE.ts

Translate strings there, then save the modified *.ts file. Then:

 $ lrelease sigrok-gui.pro

That generates *.qm files for usage by the application.

For testing the German translation:

 $ LC_ALL=de_DE ./sigrok-gui

7 years agoAdd de_DE sample translation input file (*.ts).
Uwe Hermann [Fri, 19 Mar 2010 00:35:03 +0000 (01:35 +0100)]
Add de_DE sample translation input file (*.ts).

7 years agoPrepare for GUI translations in the build system.
Uwe Hermann [Fri, 19 Mar 2010 00:34:05 +0000 (01:34 +0100)]
Prepare for GUI translations in the build system.

7 years agoAdd missing sigrok logo (without text).
Uwe Hermann [Thu, 18 Mar 2010 23:14:53 +0000 (00:14 +0100)]
Add missing sigrok logo (without text).

7 years agoClear numSamples combobox before adding values.
Uwe Hermann [Thu, 18 Mar 2010 23:08:02 +0000 (00:08 +0100)]
Clear numSamples combobox before adding values.

7 years agoUse PRIu64 et al from inttypes.h instead of %llu.
Uwe Hermann [Thu, 18 Mar 2010 23:04:42 +0000 (00:04 +0100)]
Use PRIu64 et al from inttypes.h instead of %llu.

PRIu64 and friends are defined portably in <inttypes.h>, %llu however is
unportable.

7 years agoClear samplerates combobox before adding values.
Uwe Hermann [Thu, 18 Mar 2010 22:25:20 +0000 (23:25 +0100)]
Clear samplerates combobox before adding values.

7 years agoGet supported samplerates from device.
Uwe Hermann [Thu, 18 Mar 2010 22:17:55 +0000 (23:17 +0100)]
Get supported samplerates from device.

7 years agosamplerates are now always in Hz, with type uint64_t
Bert Vermeulen [Thu, 18 Mar 2010 21:39:08 +0000 (22:39 +0100)]
samplerates are now always in Hz, with type uint64_t

7 years agoUse a bigger logo version (48x48) without text.
Uwe Hermann [Thu, 18 Mar 2010 16:16:19 +0000 (17:16 +0100)]
Use a bigger logo version (48x48) without text.

We set this as window icon, which gets used in a number of places,
depending on OS. On Linux it's shown in the window list (depends on
the window manager), on Windows it's displayed in the title bar.

Cross-platform, it's always shown in the Help->About dialog.

7 years agoAdded mac os x icon.
Piotr Esden-Tempski [Thu, 18 Mar 2010 15:10:41 +0000 (16:10 +0100)]
Added mac os x icon.

7 years agoDon't set window title manually.
Uwe Hermann [Thu, 18 Mar 2010 14:18:03 +0000 (15:18 +0100)]
Don't set window title manually.

7 years agoStart including sigrok logo in the GUI.
Uwe Hermann [Thu, 18 Mar 2010 14:11:29 +0000 (15:11 +0100)]
Start including sigrok logo in the GUI.

Needs some more work.

7 years agoDon't hardcode number of probes of the device.
Uwe Hermann [Thu, 18 Mar 2010 00:47:22 +0000 (01:47 +0100)]
Don't hardcode number of probes of the device.

7 years agoFirst quick hack attempt at getting samples.
Uwe Hermann [Wed, 17 Mar 2010 23:32:08 +0000 (00:32 +0100)]
First quick hack attempt at getting samples.

7 years agoAdded libzip to qmake file.
Piotr Esden-Tempski [Wed, 17 Mar 2010 20:25:32 +0000 (21:25 +0100)]
Added libzip to qmake file.

7 years agoproperly keep track of free space inside chunk
Bert Vermeulen [Wed, 17 Mar 2010 20:04:42 +0000 (21:04 +0100)]
properly keep track of free space inside chunk

7 years agoAbort if any of the autogen.sh commands fail.
Uwe Hermann [Wed, 17 Mar 2010 18:50:49 +0000 (19:50 +0100)]
Abort if any of the autogen.sh commands fail.

7 years agosimplify unitsize calculation
Bert Vermeulen [Wed, 17 Mar 2010 18:41:09 +0000 (19:41 +0100)]
simplify unitsize calculation

7 years agodetect short sample count from driver, don't output when saving
Bert Vermeulen [Wed, 17 Mar 2010 18:34:43 +0000 (19:34 +0100)]
detect short sample count from driver, don't output when saving

7 years agostop acquisition when the FX2 gives up due to buffer underruns
Bert Vermeulen [Wed, 17 Mar 2010 15:28:22 +0000 (16:28 +0100)]
stop acquisition when the FX2 gives up due to buffer underruns

reduce firmware delay to two seconds.

7 years agoadd session saving functionality + a few more DF_LOGIC sizes
Bert Vermeulen [Wed, 17 Mar 2010 07:35:08 +0000 (08:35 +0100)]
add session saving functionality + a few more DF_LOGIC sizes

7 years agoadd session saving functionality
Bert Vermeulen [Wed, 17 Mar 2010 07:34:43 +0000 (08:34 +0100)]
add session saving functionality

7 years agoadd libzip, needed for session loading/saving
Bert Vermeulen [Wed, 17 Mar 2010 07:33:57 +0000 (08:33 +0100)]
add libzip, needed for session loading/saving

7 years agoevery device has its own datastore now
Bert Vermeulen [Wed, 17 Mar 2010 07:33:13 +0000 (08:33 +0100)]
every device has its own datastore now

7 years agofix broken/untested implementation of datastore
Bert Vermeulen [Wed, 17 Mar 2010 07:32:22 +0000 (08:32 +0100)]
fix broken/untested implementation of datastore

7 years agouse driver name, not vendor name, in plugin struct
Bert Vermeulen [Wed, 17 Mar 2010 07:29:50 +0000 (08:29 +0100)]
use driver name, not vendor name, in plugin struct

7 years agoFixed building of sigrok gui on mac os x.
Piotr Esden-Tempski [Wed, 17 Mar 2010 00:09:49 +0000 (01:09 +0100)]
Fixed building of sigrok gui on mac os x.

7 years agoLicense header cosmetics.
Uwe Hermann [Tue, 16 Mar 2010 22:30:53 +0000 (23:30 +0100)]
License header cosmetics.

 - Add "This file is part of the sigrok project." to every file.

 - Remove some unneeded whitespace.

7 years agodocs moved to the wiki
Bert Vermeulen [Tue, 16 Mar 2010 22:24:46 +0000 (23:24 +0100)]
docs moved to the wiki

7 years agoAdd missing license headers to some files.
Uwe Hermann [Tue, 16 Mar 2010 22:00:17 +0000 (23:00 +0100)]
Add missing license headers to some files.

7 years agoAdd sample gnuplot file for the CWAV USBee SX.
Uwe Hermann [Tue, 16 Mar 2010 21:58:52 +0000 (22:58 +0100)]
Add sample gnuplot file for the CWAV USBee SX.

You can use this to visualize (small) sample sets captured from the
CWAV USBee SX logic analyzer and output in the gnuplot data format
(whitespace-separated columns of numbers).

This file already sets the colors of the channels in the graph to match
the colors of the probes of the USBee SX.

7 years agoHeader file include guard cleanups.
Uwe Hermann [Tue, 16 Mar 2010 21:57:44 +0000 (22:57 +0100)]
Header file include guard cleanups.

 - Add missing include guards.

 - Prefix all include guards with SIGROK_.

 - Drop not too useful #endif marker comments.

7 years agoAdd -Wl,--export-dynamic so we can load plugins.
Uwe Hermann [Tue, 16 Mar 2010 01:31:04 +0000 (02:31 +0100)]
Add -Wl,--export-dynamic so we can load plugins.

7 years agoMake the global "devices" variable available.
Uwe Hermann [Tue, 16 Mar 2010 00:34:54 +0000 (01:34 +0100)]
Make the global "devices" variable available.

This is currently needed for the GUI, but globals should be eliminated
completely sooner or later, at least from the library.

7 years agoInitial import of the flosslogic GUI into sigrok.
Uwe Hermann [Tue, 16 Mar 2010 00:33:03 +0000 (01:33 +0100)]
Initial import of the flosslogic GUI into sigrok.

This is not fully functional, yet. It works well enough to pass
sigrok_init() successfully, but there are problems loading the
hardware driver modules.

However, you can play with the GUI by loading a (binary) sample file
instead of getting the samples from a logic analyzer for now.

7 years agono fw here
Bert Vermeulen [Mon, 15 Mar 2010 22:04:41 +0000 (23:04 +0100)]
no fw here

7 years agodemo hardware driver source
Bert Vermeulen [Mon, 15 Mar 2010 21:51:23 +0000 (22:51 +0100)]
demo hardware driver source

7 years agoAdd HACKING file which lists our coding style.
Uwe Hermann [Mon, 15 Mar 2010 20:58:45 +0000 (21:58 +0100)]
Add HACKING file which lists our coding style.

7 years agoAdd a udev rules file for non-root USB dev access.
Uwe Hermann [Sun, 14 Mar 2010 23:32:33 +0000 (00:32 +0100)]
Add a udev rules file for non-root USB dev access.

7 years agoFix a typo in autogen.sh.
Uwe Hermann [Sun, 14 Mar 2010 19:37:21 +0000 (20:37 +0100)]
Fix a typo in autogen.sh.

7 years agoAdded libtoolize check for mac os in autogen.
Piotr Esden-Tempski [Sun, 14 Mar 2010 18:42:05 +0000 (19:42 +0100)]
Added libtoolize check for mac os in autogen.

7 years agoAdd an initial top-level README file.
Uwe Hermann [Sun, 14 Mar 2010 18:12:26 +0000 (19:12 +0100)]
Add an initial top-level README file.

7 years agotypo
Bert Vermeulen [Sun, 14 Mar 2010 17:34:27 +0000 (18:34 +0100)]
typo

7 years agoRLE decoding support
Bert Vermeulen [Sat, 13 Mar 2010 17:42:27 +0000 (18:42 +0100)]
RLE decoding support

7 years agoadd user_data to add_source_fd(), so the frontend can properly tell which device...
Bert Vermeulen [Sat, 13 Mar 2010 17:26:17 +0000 (18:26 +0100)]
add user_data to add_source_fd(), so the frontend can properly tell which device it came data comes in from

7 years agoadd driver-based trigger support
Bert Vermeulen [Wed, 10 Mar 2010 02:47:15 +0000 (03:47 +0100)]
add driver-based trigger support

7 years agoadd DF_TRIGGER
Bert Vermeulen [Wed, 10 Mar 2010 02:46:47 +0000 (03:46 +0100)]
add DF_TRIGGER

7 years agomove GSource stuff to generic implementation
Bert Vermeulen [Tue, 9 Mar 2010 04:49:22 +0000 (05:49 +0100)]
move GSource stuff to generic implementation

7 years agouse the new generic gsource_fd stuff
Bert Vermeulen [Tue, 9 Mar 2010 03:45:35 +0000 (04:45 +0100)]
use the new generic gsource_fd stuff

7 years agomove gsource_fd to hwplugin.h
Bert Vermeulen [Tue, 9 Mar 2010 03:44:53 +0000 (04:44 +0100)]
move gsource_fd to hwplugin.h

7 years agoadd generic GSource stuff, so drivers don't have to do this.
Bert Vermeulen [Tue, 9 Mar 2010 03:43:00 +0000 (04:43 +0100)]
add generic GSource stuff, so drivers don't have to do this.

7 years agothis build cannot get any cleaner.
Bert Vermeulen [Tue, 9 Mar 2010 03:42:00 +0000 (04:42 +0100)]
this build cannot get any cleaner.

7 years agoadd probe + trigger support, datafeed header
Bert Vermeulen [Mon, 8 Mar 2010 04:25:24 +0000 (05:25 +0100)]
add probe + trigger support, datafeed header

7 years agoadd probe + trigger infrastructure
Bert Vermeulen [Mon, 8 Mar 2010 04:24:18 +0000 (05:24 +0100)]
add probe + trigger infrastructure