sigrok:sigrok.git
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

7 years agoremove debug code
Bert Vermeulen [Mon, 8 Mar 2010 04:19:57 +0000 (05:19 +0100)]
remove debug code

7 years agoeven prettier compile
Bert Vermeulen [Mon, 8 Mar 2010 04:19:00 +0000 (05:19 +0100)]
even prettier compile

7 years agoadded probeconfig before starting acquisition
Bert Vermeulen [Mon, 8 Mar 2010 01:13:04 +0000 (02:13 +0100)]
added probeconfig before starting acquisition

7 years agoadd HWCAP_PROBECONFIG, passing probes and triggers to the plugin
Bert Vermeulen [Mon, 8 Mar 2010 01:12:05 +0000 (02:12 +0100)]
add HWCAP_PROBECONFIG, passing probes and triggers to the plugin

7 years agoclean up dead code
Bert Vermeulen [Sun, 7 Mar 2010 23:36:07 +0000 (00:36 +0100)]
clean up dead code

7 years agoinitial version of Openbench Logic Sniffer/Sump driver
Bert Vermeulen [Sun, 7 Mar 2010 02:24:49 +0000 (03:24 +0100)]
initial version of Openbench Logic Sniffer/Sump driver

7 years agoadd generic serial_device_instance and helper, add trigger DI
Bert Vermeulen [Sun, 7 Mar 2010 01:18:52 +0000 (02:18 +0100)]
add generic serial_device_instance and helper, add trigger DI

7 years agobetter serial port finder
Bert Vermeulen [Sun, 7 Mar 2010 01:16:04 +0000 (02:16 +0100)]
better serial port finder

7 years agoadd trigger support, main() cleanup
Bert Vermeulen [Sun, 7 Mar 2010 00:59:15 +0000 (01:59 +0100)]
add trigger support, main() cleanup

7 years agocode cleanup now that I'm implementing...
Bert Vermeulen [Sat, 6 Mar 2010 23:58:58 +0000 (00:58 +0100)]
code cleanup now that I'm implementing...

7 years agoremove old code
Bert Vermeulen [Fri, 5 Mar 2010 02:29:19 +0000 (03:29 +0100)]
remove old code

7 years agoadd show device detail mode
Bert Vermeulen [Thu, 4 Mar 2010 23:04:17 +0000 (00:04 +0100)]
add show device detail mode

7 years agoserial I/O helper functions
Bert Vermeulen [Wed, 3 Mar 2010 21:38:41 +0000 (22:38 +0100)]
serial I/O helper functions

7 years agoclean up hwcommon header, since it's mostly prototypes anyway
Bert Vermeulen [Wed, 3 Mar 2010 21:37:42 +0000 (22:37 +0100)]
clean up hwcommon header, since it's mostly prototypes anyway

7 years agochange version to 0.1pre for now
Bert Vermeulen [Tue, 2 Mar 2010 01:27:52 +0000 (02:27 +0100)]
change version to 0.1pre for now
require libusb version 1.0.5 or higher, for timerfd support

7 years agoclean up main()
Bert Vermeulen [Mon, 1 Mar 2010 17:14:53 +0000 (18:14 +0100)]
clean up main()

7 years agobetter error checking for hardware plugin loader
Bert Vermeulen [Mon, 1 Mar 2010 17:05:40 +0000 (18:05 +0100)]
better error checking for hardware plugin loader

7 years agoignore built executable
Bert Vermeulen [Mon, 1 Mar 2010 15:05:28 +0000 (16:05 +0100)]
ignore built executable

7 years agoadd probe control
Bert Vermeulen [Mon, 1 Mar 2010 15:01:05 +0000 (16:01 +0100)]
add probe control
add device-option
session limit (seconds/samples)
report device supported options
report supported sample rates
output in binary with configurable length

7 years agorecast datafeed payload type
Bert Vermeulen [Mon, 1 Mar 2010 14:58:18 +0000 (15:58 +0100)]
recast datafeed payload type

7 years agostop hardware plugins when a session stops
Bert Vermeulen [Mon, 1 Mar 2010 14:57:25 +0000 (15:57 +0100)]
stop hardware plugins when a session stops

7 years agohwcap_options
Bert Vermeulen [Mon, 1 Mar 2010 14:56:03 +0000 (15:56 +0100)]
hwcap_options
value of set_configuration() plugin call is now always char *

7 years agoprobes can be enabled or disabled
Bert Vermeulen [Mon, 1 Mar 2010 14:53:07 +0000 (15:53 +0100)]
probes can be enabled or disabled
default probe name is just the number

7 years agosession limit (samples/seconds)
Bert Vermeulen [Mon, 1 Mar 2010 14:51:35 +0000 (15:51 +0100)]
session limit (samples/seconds)
session bus feed
get_device_info: DI_SAMPLE_RATES

7 years agocleaner repo
Bert Vermeulen [Mon, 1 Mar 2010 13:48:11 +0000 (14:48 +0100)]
cleaner repo

7 years agoadded libtoolize
Bert Vermeulen [Fri, 26 Feb 2010 00:56:51 +0000 (01:56 +0100)]
added libtoolize

7 years agoInitial checkin
Bert Vermeulen [Fri, 26 Feb 2010 00:10:46 +0000 (01:10 +0100)]
Initial checkin