Wykres commitów

59 Commity (ea5bcb9d87350b44dd99a1a6ba90f5f6c4aba099)

Autor SHA1 Wiadomość Data
David Freese f13f26c352 mxe-win32 regex
* inhibit use of mxe-win32 regex library
2013-08-02 18:34:00 -05:00
David Freese 3777182adc XMLRPC
* removed references to external xmlrpc-c library
2013-08-02 18:34:00 -05:00
Remi Chateauneu 2886b9fa73 Port to MXE / MingW
* Wefax destination directory now ended by one slash only.
  * Use PRId64 for printing long long.
  * Set right pthread library for mingw.
  * Fixed include files in debug build mode.
  * This commit does not include modifications specific to
    SYNOP commit, due to reordering of commits submitted by
    Remi during branch merging.
2013-08-02 18:34:00 -05:00
Remi Chateauneu c648263618 xmlrpc-c removal
* Replaced xmlrpc-c by embedded xmlprcpp
2013-05-20 18:38:26 -05:00
David Freese fe1e10a481 Fltk backward compatibility
* Code changes to maintain backward compatibility to fltk versions
    prior to 1.3.2
  * revised fltk.m4 to test for MAJOR, MINOR & PATCH levels
2013-05-20 17:45:12 -05:00
Makoto Fujiwara 2a22c31ec5 NetBSD compile error
* xmlrpc lib build
    - The original sed script eats space chars around '-lpthread',
      causing g++ (4.7): unrecognized option '-pthread-lrt'.
2013-01-10 10:52:58 -06:00
Andrej Lajovic 87afa66b08 UTF-8 overhaul
* Refactor get_tx_char()
  * Reset to stock version, call byte_at()
    The class Fl_Text_Buffer_mod (borrowed from FLTK) contained a modified
    version of the method char_at() that effectively made it behave as
    byte_at(). Silently modifying a library-provided method not only disables
    the access to a certain functionality of the library, but can also cause
    other unforeseen consequences. The method was thus reverted to the stock
    version and the code that previously called the modified version was
    changed to call byte_at() instead.
  * Remove unneeded code in FTextTX::nextChar()
  * Libtiniconv
    - Added libtiniconv (charset conversion library)
    - Library Version 1.0.1 fetched from http://tiniconv.sf.net
      A small fix made to change a misspelled macro name.
      Build system adapted to fit into the fldigi build model.
  * Added CharsetDistiller class
    - Sanitize input data and convert it into UTF-8
    - CharsetDistiller receives input data one byte at a time and converts this
      data stream from a particular character set into UTF-8. Invalid input data
      is treated as if it was encoded in CP1252. Character set conversion is
      performed as soon as possible, i.e., when enough input is received to
      constitute a valid character in the input character set, this character is
      immediatly converted into UTF-8 and made available at the output.
  * Make put_rx_char_flmain() use charsetDistiller
  * Make put_echo_char() use CharsetDistiller
  * Make pskBrowser use CharsetDistiller
  * Added OutputEncoder class
    - Used for encoding transmitted data
    - OutputEncoder accepts UTF-8 strings at input, converts them to the
      selected encoding and outputs them one byte at a time.
  * TX character set conversion using OutputEncoder
  * Fix backspace for >2byte UTF-8 characters
  * Cleanup modem UTF-8 code
    - PSK, Olivia, MT63 and MFSK modems:
      cleanup of unneeded UTF-8 handling code
    - Everything that deals with output character set conversion and data
      sequencing is now done using OutputEncoder, so the modems can become
      completely agnostic about the character set used. As far as they are
      concerned, everything is just byte-sized data.
  * Added an array of character set names and identifiers
  * UTF-8 code cleanup
    - Cleanup of unneeded UTF-8 handling code in add_rxtx_char() and family
  * Character set selection menu
     - Add menu button to select the active TX/RX charset to the colors-fonts
       configure dialog.  The setting defaults to UTF-8 (selected at program
       startup).  The selection is saved to the program defaults configuration
       file when "Config/Save" is executed.
2012-12-08 08:04:46 -06:00
David J Vanecek 9025bea6e7 Open BSD fixes
* Changes to allow correct build on Open BSD
2012-08-02 14:45:30 -05:00
David Freese 9b3dabd853 Fork open file descriptors
* Add O_CLOEXEC to all open(...) calls
  * Add "e" to all fopen(...) calls
  * Prevents passing open file descriptors to child
    processes.  Leaving psid's available to the child
    could cause unwanted i/o problems and possibly a
    security leak.
2012-06-14 07:53:39 -05:00
David Freese dd1416d77e Update to fltk.m4
* changed fltk test to -gt 3
2012-01-17 21:34:31 -06:00
David Freese 23b9a177d2 Fltk-1.3.0
* Added conditional compilation for
    - Panel.cxx
    - Fl_Text_Buffer.cxx
    - Fl_Text_Display.cxx
    - Fl_Text_Editor.cxx
    - FTextView.cxx
    - FTextRXTX.cxx
  * Added code to support fast wrap
    - Rx text buffer serviced as a non-wrap buffer
    - new lines inserted into text stream when current line
      length exceeds the panel width
    - no attempt to recalculate word wrap if panel is
      resized
    - needed for slow cpu and OS X X implementation
  * Added margin adjuster
  * Removed horizontal scroll when word wrap enabled
  * Set vertical scroll to always visible - prevents
    unnecessary reformating of text when scroll bar
    goes from hidden to visible
  * Corrected faulty logic in handle_dnd for dragging file from
    file manager view to editor widget
    - SHIFT-dnd places object name into target widget
    - dnd places object contents into target widget
    - dnd multiple objects concatenates contents into target widget
  * Test for bottom of text visibility when programmatically
    adding characters to a text view or edit buffer (Rx/Tx)
  * Implemented common FSEL methods for Fltk 1.3.0
    - 1.3.0 used common calls for all supported OS
2012-01-09 10:49:11 -06:00
David Freese f77b48a949 XMLRPC linking error
* Removed -lpthread from xmlrpc.m4 generation of XMLRPC_LIBS
    - newer gcc linker faults if -lpthread is out of order
2011-06-27 08:07:55 -05:00
Stelios Bounanos ca7d30f792 Embed xmlrpc++
Bundle a copy of xmlrpc++ (CVS as of 20101026) to use as an easier to build
(than libxmlrpc-c3) client on win32, and also as a server in the near future.

Upstream version modified as follows:

  * Added numerous required includes
  * Fixed some sprintf format strings
  * Added support for the nil type
  * Included <config.h> in all .cpp files
2010-11-19 08:50:05 -06:00
Stelios Bounanos 1733f1f1de Add preliminary support for FLTK-1.3
* Bundle Fl_Text_Buffer from FLTK 1.1, renamed as Fl_Text_Buffer_mod.
  * Bundle Fl_Text_{Buffer,Display,Editor} from FLTK 1.3, renamed as
    above.  Apply most of Fl_Text_Display->Fl_Text_Display_mod changes
    to the 1.3 Fl_Text_Display.
  * Detect FLTK API at configure time and define macros to determine
    version of the *Text* files will be built.
2010-04-19 23:12:38 +01:00
Stelios Bounanos 7ac0fd5687 Remove -fomit-frame-pointer flag
This seems to give only a very small speedup (1-3% in DominoEX/Thor and
Olivia) and makes debugging impossible on x86.
2010-02-06 06:43:47 +00:00
Stelios Bounanos 78d5e4dfbb Disable win32 snprintf workaround
This is not needed with gcc 4.x.
2009-11-27 11:21:29 +00:00
Stelios Bounanos 483b53735f Fix LDFLAGS
Link with all needed libraries. Required when linking with
--no-add-needed or the experimental gold linker, which has this
behaviour by default.

  * Add -lpthread switch (needed by flarq)
  * On X11 platforms we should explicitly link with libX11 because we
    use XCreatePixmap via the FLTK fl_create_offscreen macro
2009-11-19 05:28:52 +00:00
Stelios Bounanos 7e3959921a Fix custom pkg-config macro
AC_FLDIGI_PKG_CHECK([pkg], [pkg], [no], ...) should check for pkg
despite no help being shown
2009-11-19 05:25:10 +00:00
Stelios Bounanos 5c856a9d07 Restrict FLTK API version check 2009-11-05 11:21:33 +00:00
Stelios Bounanos 1d2f5788a5 Fix threads/exceptions bugs on mingw32
* Enable dynamic linking for pthreads-win32
 * Add -mthreads to compiler and linker flags
 * Modify nsis installer script to include pthreadGC2.dll and mingwm10.dll
2009-10-14 04:29:05 +01:00
Stelios Bounanos e4e1af2f91 Fix silent rules
Ensure that the SILENT_CMDS Makefile variable is always substituted.
2009-09-30 13:25:31 +01:00
Stelios Bounanos 5626e1c901 Add silent build rules
* Enable less verbose build output by default by calling the
  AM_SILENT_RULES macro if available (automake >= 1.11).  Verbose output
  can be enabled by passing --disable-silent-rules to configure, or V=1
  to make.

* Add silent function for some custom Makefile rules
2009-09-22 21:02:51 +01:00
Stelios Bounanos 8ae5b22256 Do not use -rdynamic on win32 2009-09-22 21:02:51 +01:00
Stelios Bounanos 71f2531f4f Remove g++-3 support via boost 2009-09-10 04:16:07 +01:00
Stelios Bounanos c0d08efd1f Use bundled GNU regex on OS X 2009-08-15 10:39:02 +01:00
Stelios Bounanos d4b1a038ac Merge flarq
* Add flarq to build system and installers
* Modify test scripts
* Add flarq manual page
* Add flarq command line argument handling
* Improve flarq's windowing system support
2009-05-26 20:01:38 +01:00
Stelios Bounanos b95b8e1650 Add win32 installer support
The win32 installer is generated by running scripts/mknsisinst.sh via
`make nsisinst'.  This target is available only if `makensis' is present
on the build system.
2009-05-12 05:46:26 +01:00
Stelios Bounanos d626273fc7 Fix VPATH builds 2009-05-12 05:46:26 +01:00
Stelios Bounanos 974e1ec9ef Remove JPEG write support
Also make libpng a hard dependency and remove USE_LIBPNG conditionals
2009-05-02 13:17:01 +01:00
Stelios Bounanos 44eceae21e Fix xmlrpc-c m4 macro
Don't try to run xmlrpc-c-config when building without xmlrpc support
2009-05-02 13:04:17 +01:00
Stelios Bounanos edca45216c Fix Makefile DEBUG flag
* Use correct check for debug flag to define NDEBUG when --enable-debug
  is not passed to configure.
* Also remove extraneous third argument in AM_CONDITIONAL call.
2009-04-26 15:48:25 +01:00
Stelios Bounanos 9e060b8681 Update version output 2009-04-17 19:17:56 +01:00
Stelios Bounanos d73c8fd316 Add OS X and MinGW stack tracing 2009-04-17 19:17:55 +01:00
Stelios Bounanos e192d1d4d8 Add preliminary support for MinGW 2009-04-17 19:17:55 +01:00
Stelios Bounanos c8981312b4 Add documentation
* Add new asciidoc Beginners' Guide and manual pages.  The guide and man
  pages are built if asciidoc and a2x utilities are present on the build
  system.

* Install man pages and fldigi-shell.

* Update build system to automatically copy the HTML version of the
  guide to the source.

* Add missing config.h include.

* Change "invalid option" error message.
2009-04-06 22:21:07 +01:00
Stelios Bounanos e8309d0170 Add optimisation flag 2009-02-19 01:49:30 +00:00
Stelios Bounanos f134124ddd Add benchmark and batch decoding switches
This patch adds a new configure switch (--enable-benchmark) which builds a
binary suitable for measuring the modems' decoding speed.  The new
--benchmark-* switches can also be used to batch-decode audio files
if sndfile support is enabled.
2009-02-04 21:54:31 +00:00
Stelios Bounanos 6a061c8286 Update build system
* Use ax_boost_base.m4 from autoconf-archive 2008-11-07
* Add ax_compare_version.m4
* Modify pkg-config.m4 to store version in pkg_package_version
* Build bundled locator.c for hamlib <= 1.2.8 or when it is not available
* Add -mfpmath=sse to compiler flags for --enable-optimizations=native
2009-01-01 17:03:35 +00:00
Stelios Bounanos c3814bc1a4 Add NLS support
Merge patch by Stephane Fillod <fillods@users.sourceforge.net>:

* gettextsize fldigi
* add initial French translation

Minor additional changes by me (sb):

* Remove bundled intl and associated m4 macros and compiler flags
* Move new m4 macros to m4/intl
* Move gettext.h to src/include and add to src/Makefile.am
* Modify setup_nls():
  * Search for message catalogs in $PWD/locale and
    $FLDIGI_LOCALE_DIR/locale, in addition to LOCALEDIR
  * Do not call setlocale() for LC_NUMERIC, as this can break the
    configuration read/write routines when handling floating point
    numbers in locales that use a comma as the decimal point
  * Fix static initialisation
* Add INTL_LIBS and INTL_CFLAGS configure variables that can be used
  to override AM_GNU_GETTEXT
* Update po/Makevars
* Update po files
* Remove po/Makefile.in and po/remove-potcdate.sed
2008-12-04 16:11:21 +00:00
Stelios Bounanos d71a69d882 Fix FLTK m4 macro 2008-09-11 23:06:51 +01:00
Stelios Bounanos 6561c6e31f Update build scripts
Fix OS X universal flags
Change to a a more portable way of linking hamlib statically
2008-08-29 12:06:20 +01:00
Stelios Bounanos 079be642f2 Fix FLTK detection 2008-08-26 06:42:51 +01:00
Stelios Bounanos 985ce14bb5 Fix image library detection 2008-08-13 22:36:17 +01:00
Stelios Bounanos 49097a5901 Add new search_libs m4 macro 2008-08-03 01:15:10 +01:00
Stelios Bounanos e3fe8af6d5 Improve clock_gettime detection
Also use the monotonic clock, if available,
in the samplerate speed test function.
2008-07-24 00:28:20 +01:00
Stelios Bounanos f43b23c18a Update m4 macros
Simplify pkg-config.m4 and make sure that pkg-config
can be overridden by setting CFLAGS & LIBS variables.
Likewise for xmlrpc.m4. Also add static switches around
xmlrpc linker flags when --enable-static has been specified.
2008-05-18 11:12:18 +01:00
Stelios Bounanos e3ab3bdcce Add xml-rpc support 2008-05-16 05:39:35 +01:00
Stelios Bounanos 7a0668b78d Fix pkg-config m4 macro 2008-05-11 03:10:30 +01:00
Stelios Bounanos 754dd4b4f8 Fix image flags 2008-04-18 06:45:07 +01:00
Stelios Bounanos d27136da0a MFSK and images changes 2008-04-17 10:02:20 +01:00