summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-12-19Added function to free the list that was created with fl_filename_list.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Added fl_filename_relative which uses an additional parameter instead of the ↵Matthias Melcher
current working directory. Now we can find a relative path without changing the cwd. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Changed all fixed filename buffers (that I could find) to use FL_PATH_MX ↵Matthias Melcher
instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Added protection against compilation besides Mac OS X.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Removed compilation warning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18Removed reference to deleted file fl_dnd_mac.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18This file has become useless. Its code is now in Fl_cocoa.mm.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18Mac OS: replaced several global functions by new member functions of Mac ↵Manolo Gouy
OS-specific Fl_X class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18Fixed Fl_Tabs selection border drawing, if tabs are at the bottom ofAlbrecht Schlosser
the widget (STR #2480). Thanks for the patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18Fix STR #2486: cursor position was wrong in some tab-containing wrapped lines.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17Removed [] expression.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17The 3 objective-c++ files used for the Mac OS X support are no longer includedManolo Gouy
by other files but added to the list of source files to be compiled for Mac OS X only. Support files for autoconf/configure/make, CMake and Xcode are also modified accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-16This new fl_read_image() function for Windows is *much* faster thanAlbrecht Schlosser
reading individual pixels as before (STR #2387), but there is still room for improvement... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-16Change needed after rename of Fl_Native_File_Chooser_MAC.cxx Manolo Gouy
to Fl_Native_File_Chooser_MAC.mm git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Updated dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Renamed Fl_Native_File_Chooser_MAC.cxx to Fl_Native_File_Chooser_MAC.mmManolo Gouy
because this is an objective-c++ file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Homogenize use of re-encoding and transcoding (in favor of the latter).Manolo Gouy
Also, makes clear that the code is ready to deal with any encoding, not just fixed-length ones. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Fix STR # 2481: removed compilation warnings.Manolo Gouy
Files utf8Input.c and utf8Wrap.c (via ucs2fontmap.c that's included) need a different half of each of these input files. What is in the other half is unused and thus triggers a compilation warning. This has been fixed by adding #define NEED_TOWC in utf8Input.c and #define NEED_TOMB in ucs2fontmap.c and by bracketting the first half of these include files by #ifdef NEED_TOWC/#endif and the second half by #ifdef NEED_TOMB/#endif. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed compilation warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Redefined NORMAL_INPUT_MOVE in src/Fl_Input.cxx to reflect the new optionAlbrecht Schlosser
Fl::option(Fl::OPTION_ARROW_FOCUS). Maybe this could improved, but this is the shortest way to make the option work always. Improved tooltips in test/preferences.fl for users and system managers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed obsolete #define NORMAL_INPUT_MOVE from src/Fl_Text_Editor.cxx.Albrecht Schlosser
To do: Check remaining #define and usage in src/Fl_Input.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Changed all #include "config.h" to #include <config.h>.Albrecht Schlosser
This is necessary for out-of-source builds (e.g. CMake) to work correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed compilation warning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed possible compilation warningsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed MSWin compiler warningsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-14Fix STR # 2485. Triple click must be done with left mouse button to select a ↵Manolo Gouy
whole line. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-14Windows: Fixed off-by-one error when dropping Unicode textAlbrecht Schlosser
and wrong data size value. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-14Fix STR # 2484. Middle mouse button paste now works within an Fl_Text_EditorManolo Gouy
and from/to other applications. Also fixed interaction between selection and insertion cursor. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-13add missing SWAP GL_SWAP_TYPE overlay draw (the slowest)yuri
change default to COPY for linux because UNDEFINED don't work and sometimes crash X with intel video cards. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-13Fixed memory leak in MSWindows drag-n-drop : dragged data was malloc'ed ↵Manolo Gouy
twice (once at DragEnter once at Drop) and never free'ed. Now it's malloc'ed once and free'ed after use. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-13Fix STR #2478: added missing code that updates the FLTK selection buffer afterManolo Gouy
the Fl_Text_xxx selection is changed by shift-arrow key. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-13Mac OS X: removed unused global variable fl_selection_requestorManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Hopefully last fix for STR #2472. The DnD receive code has been changed from ↵Manolo Gouy
accepting ASCII text and transmitting it unchanged to the FLTK widget into accepting either UTF-16 or CP1252 text and in both cases transmitting it to FLTK recoded into UTF-8. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Fix STR#2477; problem with SHIFT-DEL not doing copy() operation.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Added an 'Options' dialog (replacing test/preferences) that can be used to ↵Matthias Melcher
set system wide or user real options like Visible Focus. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Moved enums Page_Format and Page_Layout to class Fl_Paged_DeviceManolo Gouy
where they are better located. Small reorganization of device-related include files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Moved some code from do_queued_events() to a better location in ↵Manolo Gouy
[FLApplication sendEvent:] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11Moved doxygen info about Fl::paste(Fl_Widget&, int) to where it belongs.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11Fixed inexact value for last argument of two fl_utf8toUtf16() calls.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11Fixed DnD of text to non FLTK applications expecting CP1252 data.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11Better algorithm for function convert_crlf().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11Made Mac OS X menu windows very slightly transparent.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix STR #2348. Files encoded with UTF-8 or CP1252 are accepted. Any ↵Manolo Gouy
non-UTF-8-encoded data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning message is displayed when the input file was transcoded. This default behavior can be modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object that informs the caller if the input file was transcoded to UTF-8. The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets, UTF-16). This code is not compiled at this point. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix the MSWindows part of STR #2472. DnD now works well with UTF-8 dataManolo Gouy
between FLTK and other apps in both directions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix STR #2475Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix STR #2473Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fixed buffer null termination inconsistency when removing cr's fromAlbrecht Schlosser
selection, source file indenting, and a crash if we have an empty selection. Update for previous fix to STR #2472 (X11). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09STR #2472: X11 only: fixes DnD between FLTK and other apps for non-ASCII text.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09Windows: removed hidden old winsock 1 (wsock32.dll) support, asAlbrecht Schlosser
discussed in fltk.development. We exclusively use winsock 2 (ws2_32.dll) and winsock2.h now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"Greg Ercolano
Summary: Get rid of eps files, change all doxygen '\image latex' references to eps files to png/jpeg instead, convert doxygen images from gif -> png (to support html+latex). Actual operations: 1) svn remove *.eps 2) convert all gifs -> png 3) svn remove *.gif 4) svn add *.png 5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] .. 6) For gif images, change all \image html foo.gif .. -> \image html foo.png and (harder to do): change \image latex foo.eps .. -> \image latex foo.png .. 7) Remove EPSFILES macro from documentation/Makefile and remove eps related dependencies that were added recently git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121