Re: [fltk.development] [RFE] STR #2948: Add a method to Fl_Widget that returns its top-level window

2013-04-12 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2948 Version: 1.3-feature Fix Version: 1.3-current (r9871) @Greg: Yes to all proposed changes. There's no reason, but laziness, to loose const protection. Link:

Re: [fltk.development] [RFE] STR #2948: Add a method to Fl_Widget that returns its top-level window

2013-04-11 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2948 Version: 1.3-feature Fix Version: 1.3-current (r9871) Thanks Greg for implementing exactly what I was getting at. I still have a few remarks about the current

Re: [fltk.development] [RFE] STR #2948: Add a method to Fl_Widget that returns its top-level window

2013-04-11 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2948 Version: 1.3-feature Fix Version: 1.3-current (r9871) Attached file window.patch... Link: http://www.fltk.org/str.php?L2948 Version: 1.3-feature Fix Version:

Re: [fltk.development] [RFE] STR #2948: Add a method to Fl_Widget that returns its top-level window

2013-04-10 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2948 Version: 1.3-feature - The last statement of the Fl_Widget::top_window() function may be written more simply: return w-as_window(); - I'm unsure this

Re: [fltk.bugs] [LOW] STR #2947: Drawing Things in FLTK / minor fixes

2013-04-09 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2947 Version: 1.3.2 Fix Version: 1.3-current (r9868) Fixed in Subversion repository. Thanks for spotting that. Link: http://www.fltk.org/str.php?L2947 Version: 1.3.2 Fix Version: 1.3-current (r9868)

Re: [fltk.development] src/Fl_mac.cxx -- dead code?

2013-04-06 Thread Manolo Gouy
Seems nutty, but is the entire file src/Fl_mac.cxx unused code? If I remove the file, I can rebuild FLTK without it. A 'grep -r Fl_mac.cxx' on the entire fltk directory shows only one reference to it; an #include in Fl_x.cxx which is commented out. Perhaps it should be removed from SVN,

Re: [fltk.development] mods to fltk-config.cmake.in in r9861

2013-04-06 Thread Manolo Gouy
Hmm, aren't we loosing the close of /dict with this change? Modified: branches/branch-1.3/fltk-config.cmake.in === --- branches/branch-1.3/fltk-config.cmake.in 2013-04-05 15:09:50 UTC (rev 9860) +++

Re: [fltk.development] fltk and high res retina display?

2013-04-05 Thread Manolo Gouy
I just upgraded to a newer mac laptop, and discovered that fltk apps don't render in the new highres mode. It seems like it shouldn't be too hard for text at least, but I wasn't able to find an enable high res flag after a bit of looking at

Re: [fltk.development] fltk and high res retina display?

2013-04-05 Thread Manolo Gouy
I just upgraded to a newer mac laptop, and discovered that fltk apps don't render in the new highres mode. It seems like it shouldn't be too hard for text at least, but I wasn't able to find an enable high res flag after a bit of looking at

Re: [fltk.general] [FLTK 1.3] Fl_Helpview doesn't take care of br?

2013-04-04 Thread Manolo Gouy
It'd be good if we could fix adjacent BR's though. I recall our html parser's source being a bit tricky to grok, but I think I worked on a small part of it once.. will see if I can figure this one out. I've seen that commenting out line 657 of file src/Fl_Help_View.cxx seems

Re: [fltk.general] Fl_Scrollbars with floats.

2013-03-12 Thread Manolo Gouy
Fl_Scrollbar has a value(int) member function that allows to give it integer values. It also inherits from its superclass Fl_Valuator a value(double) member function that gives it a double value. Do as follows: Fl_Scrollbar *sb; double d = 45.2; ((Fl_Valuator*)sb)-value(d); Hi there,

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-21 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file gtk-browser3.patch... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-featureIndex: src/Fl_Native_File_Chooser_GTK.cxx

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-21 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature In attached gtk-browser3.patch: - class Fl_X11_File_Chooser renamed Fl_FLTK_File_Chooser - added support for

Re: [fltk.bugs] [MOD] STR #2931: Re-implement fl_scandir for *nix systems that do not provide a native version

2013-02-20 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2931 Version: 1.3-current The patch is also OK with Mac OS X 10.8 Link: http://www.fltk.org/str.php?L2931 Version: 1.3-current

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-18 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file gtk-browser2.patch... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-featureIndex: src/Fl_Native_File_Chooser_GTK.cxx

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-18 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Uploaded gtk-browser2.patch with a somewhat cleaner implementation that separates the FLTK and GTK browsers in two classes and two source files.

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-16 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file gtk-browser.patch... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-featureIndex: src/fl_gtk.h

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-16 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature The attached gtk-browser.patch modifies the current svn repository so that Fl_Native_File_Chooser uses the GTK dialog when libgtk2-or-3.so is

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-15 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file Fl_Native_File_Chooser_GTK_test.cxx... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature// $Id: $ // // FLTK native

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-15 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file gtk.h... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature#ifndef FALSE #define FALSE (0) #endif #ifndef TRUE

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-15 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature - added support for Fl_Native_File_Chooser-directory(char*) - added a Show hidden files toggle button - dlopen first searches for GTK3 and then,

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-13 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file Fl_Native_File_Chooser_GTK_Test.cxx... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature// $Id: $ // // FLTK native

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-13 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature Attached file Fl_Native_File_Chooser.H... Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature// // $Id: Fl_Native_File_Chooser.H 9704

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-13 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature With today's Fl_Native_File_Chooser.H and Fl_Native_File_Chooser_GTK_test.cxx (attached files), the GTK widget fully supports filters. The

Re: [fltk.bugs] [HIGH] STR #2928: Shortcuts not processed correctly on MacOS

2013-01-29 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2928 Version: 1.3-current Fix Version: 1.3-current (r9811) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2928 Version: 1.3-current Fix Version: 1.3-current (r9811)

Re: [fltk.development] Fl::event_key() inconsistency between X andOS X

2013-01-29 Thread Manolo Gouy
Mac OS gives access to, in Cocoa parlance: - keyCode, the rank of the physical key that was hit; - characters, the text emitted by the key, which is the source of Fl::event_text(); - charactersIgnoringModifier, which gives the text of the key without ctrl, alt or cmd modifiers, but

Re: [fltk.bugs] [HIGH] STR #2928: Shortcuts not processed correctly on MacOS

2013-01-28 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2928 Version: 1.3-current Fix Version: 1.3-current (r9811) OK. alt+letter shortcuts are necessary. I believe the problem is fixed in the SVN repository with r.9811.

[fltk.development] [RFE] STR #2929: New Fl_I18n class to support internationalization of FLTK apps

2013-01-28 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2929 Version: 1.3-feature I would like to get input from developers about whether a new class to support internationalization of FLTK apps could be useful. The attached

Re: [fltk.development] [RFE] STR #2929: New Fl_I18n class to support internationalization of FLTK apps

2013-01-28 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2929 Version: 1.3-feature Link: http://www.fltk.org/str.php?L2929 Version: 1.3-feature ___ fltk-dev mailing list

Re: [fltk.development] [RFE] STR #2929: New Fl_I18n class to support internationalization of FLTK apps

2013-01-28 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2929 Version: 1.3-feature Attached file Fl_I18n.cxx... Link: http://www.fltk.org/str.php?L2929 Version: 1.3-feature// // $Id: Fl_I18n.cxx 9718 2012-11-13 13:03:20Z

[fltk.development] [RFC] a new class to support Internationalization

2013-01-28 Thread Manolo Gouy
I would like to get input from developers about whether a new class to support internationalization of FLTK apps could be useful. See:http://www.fltk.org/str.php?L2929 ___ fltk-dev mailing list fltk-dev@easysw.com

[fltk.development] translation of Print Front Window

2013-01-25 Thread Manolo Gouy
@Albrecht: could you, please, report whether the German translation Print Front Window = Frontfenster drucken present in file ide/Xcode4/Resources/German.lproj/Localizable.strings is correct, and suggest one if it's not. Thanks. ___ fltk-dev mailing

[fltk.development] Testing application menu with Mac OS 10.4

2013-01-19 Thread Manolo Gouy
Could any developer, please, run any FLTK 1.3 program on a Mac running OS X 10.4 and report here how its application menu behaves ? Are the Services, Hide, Show, and Quit menu items repeated ? Do the cmd-H and cmd-Q menu shortcuts work as expected? I ask because I just fixed issues that occur

Re: [fltk.bugs] [MOD] STR #2917: FLTK 1.3.2/trunk does not compile on OS X 10.4 and older

2013-01-17 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2917 Version: 1.3-current Fix Version: 1.3-current (r9799) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2917 Version: 1.3-current Fix Version: 1.3-current (r9799)

Re: [fltk.general] OpenGL + widgets

2013-01-15 Thread Manolo Gouy
It's not clear how to actually *use* a different graphics driver, I'm simply swapping my driver into fltk3::graphics_driver when drawing the window, but this seems unlikely to be the correct way...suggestions? I use the existing FLTK font stuff. Assuming you just have to change the way you

Re: [fltk.bugs] [MOD] STR #2915: Mac OS: subwindow is not shown correctly after hide() and then show()

2013-01-13 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2915 Version: 1.3.2 Fix Version: 1.3-current (r9788) Closed after confirmation from the OP. Link: http://www.fltk.org/str.php?L2915 Version: 1.3.2 Fix Version: 1.3-current (r9788) ___

[fltk.bugs] [MOD] STR #2915: Mac OS: subwindow is not shown correctly after hide() and then show()

2013-01-08 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2915 Version: 1.3.2 On Mac OS, when a subwindow is created, shown, hidden, and shown again, it doesn't get drawn until the window is resized or is minimized and

Re: [fltk.bugs] [MOD] STR #2915: Mac OS: subwindow is not shown correctly after hide() and then show()

2013-01-08 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2915 Version: 1.3.2 Fix Version: 1.3-current (r9788) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2915 Version: 1.3.2 Fix Version: 1.3-current

Re: [fltk.general] Subwindow show/hide behavior

2013-01-08 Thread Manolo Gouy
I've come across some odd behavior with windows as subwindows, when trying to show/hide or add/remove the subwindow. The subwindow remains invisible until the containing window is resized. When I replace the subwindow with a group, I get the behavior I expect. My understanding is that

Re: [fltk.development] Text dragdrop within Fl_Text_Editor

2012-12-29 Thread Manolo Gouy
On 28.12.2012, at 23:40, Ian MacArthur imacart...@gmail.com wrote: =20 On 28 Dec 2012, at 21:27, Manolo Gouy wrote: =20 Both the Fl_Text_Editor and Fl_Input widgets support dragdrop of text, but only Fl_Input draws the cursor while dragging text around from the same widget to indicate

Re: [fltk.general] Mac OS: crash in lockFocus

2012-12-29 Thread Manolo Gouy
Again, that Fl_Window::make_current() gets called when you destroy your window suggests that FLTK windows are not handled correctly. Hello, Thank you for your quick answer. I tried your suggestion, however, from my understanding of this function, it only applies within the context of a

[fltk.development] Text dragdrop within Fl_Text_Editor

2012-12-28 Thread Manolo Gouy
Both the Fl_Text_Editor and Fl_Input widgets support dragdrop of text, but only Fl_Input draws the cursor while dragging text around from the same widget to indicate where the drop would act. There's code in Fl_Text_Editor (case FL_DND_DRAG of Fl_Text_Editor::handle(int)) that moves the insertion

Re: [fltk.general] Printing to postscript file

2012-12-25 Thread Manolo Gouy
This message makes me discover that ps files created using 0 as pagecount are slighlty incorrect. Specifically, there should be these 2 added lines at the file bottom %%Trailer %%Pages: n I didn't see that yet because reading these files on Linux and MacOS do not generate warning. This bug will

Re: [fltk.general] Printing to postscript file

2012-12-25 Thread Manolo Gouy
Thank you for your message Manolo. I was worried my users would get into trouble if the postscript file had the wrong page count. GSView will be able to correct it but other software may not. I think the problem could be fixed in two ways: a) FLTK counts the pages printed and updates the

Re: [fltk.general] Mac OS: crash in lockFocus

2012-12-21 Thread Manolo Gouy
Any info about the suggestion previously made to use the Fl::delete_widget(Fl_Widget*) function ? Another suggestion would be to replace [[i-xid contentView] lockFocus]; by if ( ! [[i-xid contentView] lockFocusIfCanDraw] ) return; Hello, I have been using FLTK for quite a while now

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2012-12-20 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature It works well here: Linux Debian 2.6 in VirtualBox with Gtk2 Link: http://www.fltk.org/str.php?L2904 Version: 1.3-feature

Re: [fltk.bugs] Mac OS: bug in make_current

2012-12-19 Thread Manolo Gouy
Could you, please, prepare a minimal program that triggers the problem and post it here? Hello, I have been using FLTK for quite a while now (about a year), and with some success. I use the 1.3.2 version, which I have integrated in projects on Windows, Mac OS and Linux. However, I have a

Re: [fltk.bugs] Mac OS: bug in make_current

2012-12-19 Thread Manolo Gouy
It is unexpected that you call Fl_Window::make_current(), that runs before writing to a window, when you are destroying this window. Is it possible that you destroy this window in a callback of an element of the window? In that case, you should use Fl::delete_widget(Fl_Widget*) to delete your

Re: [fltk.development] Testing CJK text input on Mac OS platform

2012-12-19 Thread Manolo Gouy
Many thanks for testing Chinese input. I have (r.9761) changed things a little bit: marked text appears now in white on blue background, so it should be easily visible. Do you agree? It is, this way is much easier to read. I still think the ideal would be an underline, since that's what

Re: [fltk.development] Testing CJK text input on Mac OS platform

2012-12-17 Thread Manolo Gouy
. Evidently I was wrong! On Sat, Dec 15, 2012 at 7:18 AM, Manolo Gouy wrote: Could somebody with knowledge of Chinese, Japanese and/or Korean text input on the Mac OS platform, please, test the current svn version of FLTK 1.3 (r.9755)? The editor example program can be used for this test

[fltk.development] Testing CJK text input on Mac OS platform

2012-12-15 Thread Manolo Gouy
Could somebody with knowledge of Chinese, Japanese and/or Korean text input on the Mac OS platform, please, test the current svn version of FLTK 1.3 (r.9755)? The editor example program can be used for this test. Using the Mac OS help for CJK text input, I believe several text input functions are

[fltk.development] Release 1.3.2

2012-12-07 Thread Manolo Gouy
The bug in FLTK 1.3.1 concerning unbundled Mac OS applications is now solved. Is it possible to release 1.3.2 so Mac OS users/developers no longer see this bug? ___ fltk-dev mailing list fltk-dev@easysw.com

Re: [fltk.bugs] [HIGH] STR #2886: Fl_Tile and scrollbars

2012-12-05 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2886 Version: 1.3-current Fix Version: 1.3-current (r9720) Reopened because the fix in r.9720 creates a bug apparent with fluid. To reproduce on X11 or WIN32 (no bug

Re: [fltk.bugs] [HIGH] STR #2886: Fl_Tile and scrollbars

2012-12-05 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2886 Version: 1.3-current Fix Version: 1.3-current (r9720) Yes, seems this bug is now repaired. Link: http://www.fltk.org/str.php?L2886 Version: 1.3-current Fix

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1forunbundled applications

2012-12-05 Thread Manolo Gouy
On 30 Nov 2012, at 18:25, Manolo Gouy wrote: =20 Testing on my 10.6.8 Mac, and building at the command line using =3D configure/make I find that: =20 - the current SVN does not work, though it *nearly* does. If I launch the executable from the shell itself, it works, but if I launch

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1forunbundledapplications

2012-12-05 Thread Manolo Gouy
Manolo, On 2012-12-05, at 10:02 AM, Manolo Gouy manolo.g...@univ-lyon1.fr = wrote: ... I tend to believe the shell wrapper created for each application by fltk-config --post is not useful. Opinions? It allows command-line users to more easily access the program; for = example, I

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1forunbundledapplications

2012-12-02 Thread Manolo Gouy
On 1 Dec 2012, at 07:55, Manolo Gouy wrote: =20 Launched from the finder, it works fine, but I'm still getting the console thrown up as well, which ideally I'd rather not have. =20 Of course, it works fine if I bundle the exe in my regular build, or = if I use fltk-config --post

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1forunbundled applications

2012-12-01 Thread Manolo Gouy
On 30 Nov 2012, at 18:25, Manolo Gouy wrote: =20 Testing on my 10.6.8 Mac, and building at the command line using =3D configure/make I find that: =20 - the current SVN does not work, though it *nearly* does. If I launch the executable from the shell itself, it works, but if I launch

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1 for unbundled applications

2012-11-30 Thread Manolo Gouy
MacOS-specific bug in FLTK 1.3.1 for unbundled applications I have noticed with STR #2890 a Mac OS X-specific bug present in FLTK 1.3.1: unbundled applications don't appear in the dock and don't show their system menu. [For developers unfamiliar with Mac OS X: a standard Mac OS

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1 forunbundled applications

2012-11-30 Thread Manolo Gouy
On 30 Nov 2012, at 15:52, Manolo Gouy wrote: MacOS-specific bug in FLTK 1.3.1 for unbundled applications =20 I have noticed with STR #2890 a Mac OS X-specific bug present in FLTK 1.3.1: unbundled applications don't appear in the dock and don't show their system menu. =20

Re: [fltk.development] MAC OS X 10.7.5 + FLTK 1.3.1: terminal catch keyboard input

2012-11-29 Thread Manolo Gouy
I have this problem: when I run the executable of my program, the terminal window is opened and it catch all keyboard input directed to the graphical window. I don't want the terminal ! Where I wrong ? Can you use Xcode to build FLTK and your program? This will produce bundled

Re: [fltk.development] MacOS-specific bug in FLTK 1.3.1 for unbundled applications

2012-11-26 Thread Manolo Gouy
MacOS-specific bug in FLTK 1.3.1 for unbundled applications I have noticed with STR #2890 a Mac OS X-specific bug present in FLTK 1.3.1: unbundled applications don't appear in the dock and don't show their system menu. My idea would be to change the current 1.3.1 archive from

Re: [fltk.general] drawing how to

2012-11-23 Thread Manolo Gouy
You'll find that at http://www.fltk.org/doc-1.3/drawing.html I am searching for a documentation of drawing methods. I only find the doxygen generated docs which do not describe the usage of the methods. Can anyone give me a little example of drawing a polygon, filled or not, maybe with a

Re: [fltk.bugs] [MOD] STR #2888: CMake build on OSX 10.7 fails

2012-11-22 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2888 Version: 1.3.1 Fix Version: 1.3.1 Closing this because a workaround has been found. I now realize that you initially reported that build was errorless with configure/make. This implies your compilers (CMake uses the same) can

[fltk.bugs] [MOD] STR #2890: MacOS 10.8: unbundled applications don't appear in dock nor menu bar

2012-11-21 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2890 Version: 1.3.1 With MacOS X 10.8, unbundled applications don't appear in dock nor have a menu bar. Link: http://www.fltk.org/str.php?L2890 Version: 1.3.1

Re: [fltk.bugs] [MOD] STR #2890: MacOS 10.8: unbundled applications don't appear in dock nor menu bar

2012-11-21 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2890 Version: 1.3.1 Fix Version: 1.3-current (r9729) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2890 Version: 1.3.1 Fix Version: 1.3-current (r9729) ___ fltk-bugs

Re: [fltk.bugs] [MOD] STR #2888: CMake build on OSX 10.7 fails

2012-11-20 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2888 Version: 1.3-current This is unexpected because CMake builds without error here under Mac OSX 10.8 and used to do so a few months ago when I used 10.7. CMake should

Re: [fltk.general] FLTK Build Problems on OS X 10.6.8

2012-11-15 Thread Manolo Gouy
Hi. I'm developing a GLUT based model-train sim (iRunTrains) and FLTK looks perfect for the improved GUI it needs. Unfortunately I cannot get FLTK to build and was hoping for some pointers. I'm on a Mac (OS X 10.6.8) with xCode v3.2.6 (64 bit). I've downloaded the

Re: [fltk.bugs] [MOD] STR #2887: Weird behavior of Fl_Scroll on retina display (MacOS X 10.8)

2012-11-14 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2887 Version: 1.3-current Hi Christophe, Could you, please, change in file Fl_cocoa.mm the current function rect_to_NSBitmapImageRep() by this one static

Re: [fltk.bugs] [MOD] STR #2887: Weird behavior of Fl_Scroll on retina display (MacOS X 10.8)

2012-11-14 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2887 Version: 1.3-current Thanks. Unfortunately this is a false solution, because it redraws everything instead of scrolling the window. Could you just try to start

Re: [fltk.bugs] [HIGH] STR #2884: Fl_PNG_Image made from static memory will forget filename

2012-11-10 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2884 Version: 1.3.1 Fix Version: 1.3-current (r9712) Fixed in Subversion repository. The fix is a little different because a NULL name is acceptable and means don't add the image to the list of shared images. Link:

Re: [fltk.bugs] [CRIT] STR #2881: Check image bounds before allocation

2012-11-09 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2881 Version: 1.3-current Fix Version: 1.3-current (r9709) Fixed in Subversion repository. The new static function Fl_RGB_Image::max_size(size) allows to control the maximum memory size allowed when creating a new Fl_RGB_Image

Re: [fltk.development] CRIT STR #2881

2012-11-07 Thread Manolo Gouy
Because it is unclear how to decide what is an acceptable image size and what is too big. Why just not inspect file header, as I commented in STR? On 11/05/2012 02:51 PM, Manolo Gouy wrote: Fixing STR #2881 (Check image bounds before allocation) requires to check for failed memory

Re: [fltk.development] Release 1.3.1 ?

2012-11-06 Thread Manolo Gouy
I agree that all instances of #if FLTK_ABI_VERSION = 10302 should be changed to #if FLTK_ABI_VERSION = 10301. About the #define FLTK_ABI_VERSION line of Enumerations.H : it's presently commented out. It should remain so, so default compiles don't include ABI-breaking features. Users who want to

Re: [fltk.bugs] [CRIT] STR #2881: Check image bounds before allocation

2012-11-05 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2881 Version: 1.3-current Fix Version: 1.4-feature Attached file 2881.patch... Link: http://www.fltk.org/str.php?L2881 Version: 1.3-current Fix Version:

Re: [fltk.bugs] [CRIT] STR #2881: Check image bounds before allocation

2012-11-05 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2881 Version: 1.3-current Fix Version: 1.4-feature The attached file 2881.patch corrects this issue (also with JPEG images), but requires to use #include new array =

Re: [fltk.development] CRIT STR #2881

2012-11-05 Thread Manolo Gouy
Fixing STR #2881 (Check image bounds before allocation) requires to check for failed memory allocation. Without exception handling, I believe the only way to do it is: #include new ... array = new(std::nothrow) char[xxx]; if (!array) longjmp(xxx, 1); which violates the CMP because it

Re: [fltk.development] support for scaling text?

2012-10-28 Thread Manolo Gouy
fl_draw has some hardcoded support for rotating text, but what about scaling? Well, scaling along one axis, obviously scaling on both axes is wel supported :) I noticed that whether or not it pays attention to the transformation matrix is undefined, and on OS X at least, it doesn't. Does

Re: [fltk.bugs] [MOD] STR #2845: image test program blank on cygwin/GDI

2012-10-21 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2845 Version: 1.3-current The image demo does work on Windows 7 and also through VirtualBox. The bug, if any, is not of high priority. Link:

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Manolo Gouy
I am having a problem with drag and drop filenames in fltk2. Basically, it seems the strings I get are utf8 as they contain Spanish accents (and they show fine in any fltk window like fltk::alert). However, when I pass the string to fopen(), it fails to open the file. I'm wondering what is

Re: [fltk.general] UTF8 filenames

2012-10-19 Thread Manolo Gouy
I presume you are using the MSWindows platform. I'm dealing with in Windows and Linux. I am using the boost::filesystem to check the existence of paths and in that it also fails so fltk_open only solves the issue partially. There are also fl_access() and fl_stat() functions in FLTK 1.3

Re: [fltk.bugs] [MOD] STR #2849: X11 drag-n-drop of non-ascii pathname to FLTK widget fails

2012-10-18 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2849 Version: 1.3-current Fix Version: 1.3-current (r9584) Closed with the fl_decode_uri() support function and new documentation. Link: http://www.fltk.org/str.php?L2849 Version: 1.3-current Fix Version: 1.3-current (r9584)

Re: [fltk.development] Release 1.3.1 ?

2012-10-16 Thread Manolo Gouy
+1 for 1.3.1 release, with the ABI breaking stuff turned off by default, and calling it 1.3.1 (not .2) ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] fluid broken in fltk3?

2012-09-28 Thread Manolo Gouy
Getting a lot of this when fluid runs in fltk3 builds... Generating CubeViewUI.cxx and header from CubeViewUI.fl... Compiling cursor.cxx... 2012-09-27 19:00:02.744 fluid[5003:903] *** __NSAutoreleaseNoPool(): = Object 0x100303400 of class NSCFDictionary autoreleased with no pool in = place

Re: [fltk.bugs] FLTK 1.3 fails to build on OSX 10.8.2

2012-09-25 Thread Manolo Gouy
I got an error compiling filename_list on my new OSX 10.8.2 computer: Compiling filename_list.cxx... filename_list.cxx: In function ‘int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**))’: filename_list.cxx:122: error: invalid conversion from ‘int (*)(const void*,

Re: [fltk.development] fl_scroll not copying all channels on OS X?

2012-09-17 Thread Manolo Gouy
For a long time I've had a bizarre bug where things that scroll slowly change color, but only on an external monitor. I ignored it because I'm usually not using an external monitor :P But recently I upgraded from OS X 10.6 to 10.8 and now it's doing it on the main monitor (macbook pro) as

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Manolo Gouy
OS: MacOSX Mountain Lion. Revision: 9678 Using CMake and generators Xcode and Unix Makefiles. Stops in scandir.c: /* This warning added to help identify any non-WIN32 hosts that actually try to use * our private implementation of the scandir function, which was suspect... */ #if

Re: [fltk.development] getting usable space per screen? alsocompilation failure on OS X

2012-09-12 Thread Manolo Gouy
So in OS X one of the screens has a 22 pixel menu bar. But due to reasons I haven't fully figured out, the maximum vertical size you can make a window before it goes off the bottom of the screen is the screen height - 44. I don't have a dock at the bottom, but if I did it would probably

Re: [fltk.bugs] [MOD] STR #2868: Xcode 4 Project file builds cmap.cxx into the fltk.framework

2012-08-30 Thread Manolo Gouy
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2868 Version: 1.3.0 Fix Version: 1.3-current (r9678) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2868 Version: 1.3.0 Fix Version: 1.3-current (r9678) ___ fltk-bugs

Re: [fltk.development] [RFE] STR #2860: Multi-head full screen support

2012-08-30 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2860 Version: 1.3-feature A function int Fl::screen_num(x,y,w,h) is missing from the patch. I have put it in file src/screen_xywh.cxx and reordered things relatively to

Re: [fltk.bugs] [MOD] STR #2864: FLTK 1.3.0 does not compile under Mac OSX Mountain Lion

2012-08-06 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649) @Matt: this solution doesn't work because MAC_OS_X_VERSION_10_8 isn't defined until ... 10.8 I'll take care of

Re: [fltk.bugs] [MOD] STR #2864: FLTK 1.3.0 does not compile under Mac OSX Mountain Lion

2012-08-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649) Should be fixed with r.9649. Need confirmation from someone with 10.8 mountain lion. Link:

Re: [fltk.bugs] fltk-1.3.0 not building under MacOS 10.8 Mountain Lion

2012-08-01 Thread Manolo Gouy
Can someone, please, confirm that r.9649 compiles well with MacOS 10.8 ? Because of a change in the dirent.h header file in 10.8, the source file filename_list.cxx no longer compiles correctly. A patch to repair this is: diff --git a/src/filename_list.cxx b/src/filename_list.cxx index

Re: [fltk.bugs] [MOD] STR #2864: FLTK 1.3.0 does not compile under Mac OSX Mountain Lion

2012-08-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649) Attached file filename_list.cxx... Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version:

Re: [fltk.bugs] [MOD] STR #2864: FLTK 1.3.0 does not compile under Mac OSX Mountain Lion

2012-08-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649) Attached file mac.H... Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649)//

Re: [fltk.bugs] [MOD] STR #2864: FLTK 1.3.0 does not compile under Mac OSX Mountain Lion

2012-08-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2864 Version: 1.3.0 Fix Version: 1.3-current (r9649) If you replace your files src/filename_list.cxx and FL/mac.H by those attached here, you can test the fix.

Re: [fltk.general] Fl_Sys_Menu_Bar: About.. screen

2012-07-30 Thread Manolo Gouy
For completion, please notice that the use of the fl_mac_set_about() function is independent from the use of the Fl_Sys_Menu_Bar class. The fl_mac_set_about() function attaches a callback to the About ... item of the application menu which is a standard Mac OS X application menu, supplemented

Re: [fltk.development] [RFE] STR #2659: support conversion from Fl_Pixmap to Fl_RGB_Image

2012-07-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2659 Version: 1.4-feature Attached file big2.xpm... Link: http://www.fltk.org/str.php?L2659 Version: 1.4-feature Attachment: http://www.fltk.org/strfiles/2659/big2.xpm

Re: [fltk.development] [RFE] STR #2659: support conversion from Fl_Pixmap to Fl_RGB_Image

2012-07-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2659 Version: 1.4-feature I believe the attached test pixmap file big2.xpm is not correctly displayed with the pixmap_browser test program under X11 when the patches are

Re: [fltk.development] [RFE] STR #2659: support conversion from Fl_Pixmap to Fl_RGB_Image

2012-07-01 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2659 Version: 1.4-feature Attached file pixmap.patch... Link: http://www.fltk.org/str.php?L2659 Version: 1.4-featureIndex: src/ps_image.cxx

  1   2   3   4   5   6   7   8   9   10   >