Fix flags for gcc 2.96, definition of mkfifo for cygwin and clear minibuffer when clicking on it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@1108 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-10-12 14:55:53 +00:00
parent 53c0882892
commit 58622fce26
5 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,16 @@
2000-10-11 Baruch Even <baruch.even@writeme.com>
* src/minibuffer.C (peek_event): Added action when mouse clicks to
clear the minibuffer.
2000-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* config/lyxinclude.m4 (LYX_PROG_CXX): fix the compile flags for
gcc 2.96, hopefully fixing problems with redhat 7.0.
* src/lyxserver.C: change the parameters of the empty mkfifo
implementation.
2000-10-10 Dekel Tsur <dekelts@tau.ac.il> 2000-10-10 Dekel Tsur <dekelts@tau.ac.il>
* src/lyx_gui.C (create_forms): Fix crash with locales. * src/lyx_gui.C (create_forms): Fix crash with locales.

View File

@ -185,7 +185,8 @@ dnl Check the version of g++
case $gxx_version in case $gxx_version in
2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti -fno-exceptions";; 2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti -fno-exceptions";;
2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; 2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
2.96*) CXXFLAGS="-g $lyx_opt -fhonor-std";; 2.96*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
2.97*) CXXFLAGS="-g $lyx_opt -fhonor-std -fvtable-thunks -ffunction-sections -fdata-sections";;
*2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
esac esac

View File

@ -185,7 +185,8 @@ dnl Check the version of g++
case $gxx_version in case $gxx_version in
2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti -fno-exceptions";; 2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti -fno-exceptions";;
2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; 2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
2.96*) CXXFLAGS="-g $lyx_opt -fhonor-std";; 2.96*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
2.97*) CXXFLAGS="-g $lyx_opt -fhonor-std -fvtable-thunks -ffunction-sections -fdata-sections";;
*2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";; *) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
esac esac

View File

@ -71,7 +71,7 @@ using std::endl;
// provide an empty mkfifo() if we do not have one. This disables the // provide an empty mkfifo() if we do not have one. This disables the
// lyxserver. // lyxserver.
#ifndef HAVE_MKFIFO #ifndef HAVE_MKFIFO
int mkfifo( char *__path, mode_t __mode ) { int mkfifo(const char *__path, mode_t __mode ) {
return 0; return 0;
} }
#endif #endif

View File

@ -126,7 +126,11 @@ int MiniBuffer::peek_event(FL_OBJECT * ob, int event, FL_Coord, FL_Coord,
default: default:
return 0; return 0;
} }
} else if (event == FL_PUSH) {
// This actually clears the buffer.
mini->ExecCommand();
} }
return 0; return 0;
} }