Re: [Iup-users] Returning Close State from Popup

2021-01-08 Thread Johann Philippe via Iup-users
 Hey , 
I use lsignal : https://github.com/cpp11nullptr/lsignal
It is a Qt like signal/slot system. You can call a signal from both click 
actions in iup, with a different value. Let's say something like : 

// declare signal
lsignal::signal clickSig;
// call it from click actions
okClickAction(Ihandle *handle){    clickSig(true);
}
cancelClickAction(Ihandle *handle){    clickSig(false);
}
// suppose you have connected your signal to something : 
clickSig.connect([&](bool isOk){    if(isOk)    //something
    else    //something else
}

Le vendredi 8 janvier 2021 à 12:50:43 UTC+1, Scott Morgan via Iup-users 
 a écrit :  
 
 Assume you have some iup.dialog with Cancel and OK buttons, where their
action events return iup.CLOSE.

What's the best way to find which button the user closed the dialog with
from an dlg:popup call?

I can think of a few methods, but they all seem clunky (i.e. setting a
global)

Scott


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupMatrix slow scrolling

2021-01-03 Thread Johann Philippe via Iup-users
 Hi Antonio, And happy new year ! 

Thanks for you answer. I understand that SHOW would possibly make some of the 
situations quicker. But even if GTK 3 is drawing the matrix twice, don't you 
think it is quite weird that simple scrolling around elements that are not so 
complex (graphically I mean) is that slow ? I'm just trying to figure out what 
is happening when scrolling, except drawing. Is IupMatrix doing some complex 
stuff when scrolled ? I guess some profiling could be great here, since I'm 
quite sure it is note related to my particular use. 
Thanks anyway, it's great to hear you could investigate ! 
Best regards. 
JohannLe dimanche 3 janvier 2021 à 19:53:18 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,

  The SHOW attribute will scroll only if the given cell is not visible.

  The ORIGIN attribute always positions the given cell at the top left corner 
regardless if it was visible or not. 
  A matrix with lots of lines will be slow only if its lines are visible. The 
matrix renders only the visible cells.
  Scrolling with the wheel is slow because it will redraw many times, one for 
every wheel event which is usually much more that the scrollbar itself being 
dragged. 
  Scrolling with ORIGIN shouldn't be a problem. One thing that occurs to me is 
that the scrollbar must be also updated, if you turn off the scrollbars the 
process may be faster, but you will be able to scroll only using the ORIGIN 
attribute. But you can turn it off only when performance is needed, for 
instance.
  I notice that in GTK 3 a scroll is drawing the matrix twice. I don't think it 
is a GTK problem. It may be something related with the redraw function we use, 
but I couldn't solve it.
Best,Scuri

Em qua., 2 de dez. de 2020 às 12:27, Johann Philippe via Iup-users 
 escreveu:

 Duration is between 5 and 7 milliseconds per matrix when setting "ORIGIN" 
attribute. 

Le mercredi 2 décembre 2020 à 16:02:11 UTC+1, Johann Philippe via Iup-users 
 a écrit :  
 
 Dear all, 

I'm using several IupMatrix (more than 10, can be up to 20) in my musical 
application (on Linux, mint 20), and those matrixes can have a lot of lines. 
I noticed that scrolling is a bit slow when I scroll with mouse wheel.And it's 
even worst when the scrolling is done programatically with the "ORIGIN" 
attribute. 
When I say slow, I mean it's more than a few milliseconds, which is a big deal 
in a musical software, where many graphic elements are redrawn at something 
like 30 frame per second. In some context, the matrixes "ORIGIN" attribute can 
be reset several times per second, which is slowing the other graphical 
elements. 
Is it related to the IupMatrix itself ? 
Is there a quicker way to scroll programatically? Is the "SHOW" attribute 
quicker ? And if so, I couldn't find a way to make it work.

Thank you !
Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupMatrix slow scrolling

2020-12-02 Thread Johann Philippe via Iup-users
 Duration is between 5 and 7 milliseconds per matrix when setting "ORIGIN" 
attribute. 

Le mercredi 2 décembre 2020 à 16:02:11 UTC+1, Johann Philippe via Iup-users 
 a écrit :  
 
 Dear all, 

I'm using several IupMatrix (more than 10, can be up to 20) in my musical 
application (on Linux, mint 20), and those matrixes can have a lot of lines. 
I noticed that scrolling is a bit slow when I scroll with mouse wheel.And it's 
even worst when the scrolling is done programatically with the "ORIGIN" 
attribute. 
When I say slow, I mean it's more than a few milliseconds, which is a big deal 
in a musical software, where many graphic elements are redrawn at something 
like 30 frame per second. In some context, the matrixes "ORIGIN" attribute can 
be reset several times per second, which is slowing the other graphical 
elements. 
Is it related to the IupMatrix itself ? 
Is there a quicker way to scroll programatically? Is the "SHOW" attribute 
quicker ? And if so, I couldn't find a way to make it work.

Thank you !
Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] IupMatrix slow scrolling

2020-12-02 Thread Johann Philippe via Iup-users
Dear all, 

I'm using several IupMatrix (more than 10, can be up to 20) in my musical 
application (on Linux, mint 20), and those matrixes can have a lot of lines. 
I noticed that scrolling is a bit slow when I scroll with mouse wheel.And it's 
even worst when the scrolling is done programatically with the "ORIGIN" 
attribute. 
When I say slow, I mean it's more than a few milliseconds, which is a big deal 
in a musical software, where many graphic elements are redrawn at something 
like 30 frame per second. In some context, the matrixes "ORIGIN" attribute can 
be reset several times per second, which is slowing the other graphical 
elements. 
Is it related to the IupMatrix itself ? 
Is there a quicker way to scroll programatically? Is the "SHOW" attribute 
quicker ? And if so, I couldn't find a way to make it work.

Thank you !
Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Mac OS X Cocoa build?

2020-08-28 Thread Johann Philippe via Iup-users
Hi Isaac, 

I wrote to Eric Wing a few months ago (almost a year now). I remember we talked 
that the IUP Cocoa didn't provide any wrapper around CD, I don't know if the 
situation has evolved since. I wrote a big application in IUP too, for Windows 
and Linux, but it uses CD and IM, so it couldn't be ported to MacOS . 
I would be interested in helping to implement a canvas solution to make it 
possible to have CD, but I assume it wouldn't be a simple task, and I don't 
have this time currently. 

But I'm still curious to learn how it goes with IUP Cocoa. 

Regards---
Johann

   Le jeudi 27 août 2020 à 20:42:36 UTC+2, Matthew Kennedy 
 a écrit :  
 
 #yiv8746300955 p.yiv8746300955MsoNormal, #yiv8746300955 
p.yiv8746300955MsoNoSpacing{margin:0;}#yiv8746300955 p.yiv8746300955MsoNormal, 
#yiv8746300955 p.yiv8746300955MsoNoSpacing{margin:0;}
On Tue, Aug 18, 2020, at 1:06 PM, Isaac Raway wrote:

This is mostly for Eric Wing but I figured this should be out in the open in 
case others are interested in chiming in.

I'd like to help out with the Cocoa effort. I have a fairly complex application 
that I build for Windows and Linux using IUP and want to add a Mac OS X build 
as well.

So my questions are:
- Are there setup instructions for Mac OS X? I see what look like XCode 
projects but haven't attempted to load anything up yet. What version of XCode 
was used for this work so far?
- Is there a task list somewhere or any high level idea you can provide of what 
is left to do?

If not I can just try to get setup with a build and attempt to document the 
process as I go.



Hi Isaac, 

I'm also interested in seeing a Cocoa port of IUP and once asked off list.

Eric has a repo here https://github.com/ewmailing/IupNext which is from time to 
time synced into IUP's main repo. He also maintains a status document here 
https://docs.google.com/spreadsheets/d/1UqyDTLFp3--ZohqeFgkuGRnWXigJQ0HAoU-2UyZHm2Y/edit#gid=0

Matt

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] CD installation script

2020-02-17 Thread Johann Philippe via Iup-users
 Thank you !

Le lundi 17 février 2020 à 18:47:36 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,

  This is already fixed on the CD SVN files. The two lines that generate the 
errors were simply commented. Thanks for reporting anyway.
Best,Scuri


Em dom., 16 de fev. de 2020 às 16:25, Johann Philippe via Iup-users 
 escreveu:

Dear all, 

I found something like a error in install scripts of CD 5.12 for Linux (Linux 
415 64bit), from binary releases. 

The install  script returns : 'libcdcontextplus.so' -> 
'/usr/lib/libcdcontextplus.so'
'libcdgl.so' -> '/usr/lib/libcdgl.so'
'libcdim.so' -> '/usr/lib/libcdim.so'
'libcdpdf.so' -> '/usr/lib/libcdpdf.so'
'libcd.so' -> '/usr/lib/libcd.so'
cp: impossible d'évaluer 'libfreetype.so': Aucun fichier ou dossier de ce type
'libpdflib.so' -> '/usr/lib/libpdflib.so'
cp: impossible d'évaluer 'libftgl.so': Aucun fichier ou dossier de ce type


The install_dev script returns : 
'include/cdcairo.h' -> '/usr/include/cd/cdcairo.h'
'include/cdcgm.h' -> '/usr/include/cd/cdcgm.h'
'include/cdclipbd.h' -> '/usr/include/cd/cdclipbd.h'
'include/cddbuf.h' -> '/usr/include/cd/cddbuf.h'
'include/cddebug.h' -> '/usr/include/cd/cddebug.h'
'include/cddgn.h' -> '/usr/include/cd/cddgn.h'
'include/cddirect2d.h' -> '/usr/include/cd/cddirect2d.h'
'include/cddxf.h' -> '/usr/include/cd/cddxf.h'
'include/cdemf.h' -> '/usr/include/cd/cdemf.h'
'include/cdgdiplus.h' -> '/usr/include/cd/cdgdiplus.h'
'include/cdgl.h' -> '/usr/include/cd/cdgl.h'
'include/cd.h' -> '/usr/include/cd/cd.h'
'include/cdimage.h' -> '/usr/include/cd/cdimage.h'
'include/cdim.h' -> '/usr/include/cd/cdim.h'
'include/cdirgb.h' -> '/usr/include/cd/cdirgb.h'
'include/cdiup.h' -> '/usr/include/cd/cdiup.h'
'include/cdlua3_private.h' -> '/usr/include/cd/cdlua3_private.h'
'include/cdlua5_private.h' -> '/usr/include/cd/cdlua5_private.h'
'include/cdluagl.h' -> '/usr/include/cd/cdluagl.h'
'include/cdlua.h' -> '/usr/include/cd/cdlua.h'
'include/cdluaim.h' -> '/usr/include/cd/cdluaim.h'
'include/cdluaiup.h' -> '/usr/include/cd/cdluaiup.h'
'include/cdluapdf.h' -> '/usr/include/cd/cdluapdf.h'
'include/cdmf.h' -> '/usr/include/cd/cdmf.h'
'include/cdmf_private.h' -> '/usr/include/cd/cdmf_private.h'
'include/cdnative.h' -> '/usr/include/cd/cdnative.h'
'include/cd_old.h' -> '/usr/include/cd/cd_old.h'
'include/cdpdf.h' -> '/usr/include/cd/cdpdf.h'
'include/cdpicture.h' -> '/usr/include/cd/cdpicture.h'
'include/cd_plus.h' -> '/usr/include/cd/cd_plus.h'
'include/cdpptx.h' -> '/usr/include/cd/cdpptx.h'
'include/cdprint.h' -> '/usr/include/cd/cdprint.h'
'include/cd_private.h' -> '/usr/include/cd/cd_private.h'
'include/cdps.h' -> '/usr/include/cd/cdps.h'
'include/cdsvg.h' -> '/usr/include/cd/cdsvg.h'
'include/cdwmf.h' -> '/usr/include/cd/cdwmf.h'
'include/wd.h' -> '/usr/include/cd/wd.h'
'include/wd_old.h' -> '/usr/include/cd/wd_old.h'
'libcd.a' -> '/usr/lib/libcd.a'
'libcdcontextplus.a' -> '/usr/lib/libcdcontextplus.a'
'libcdgl.a' -> '/usr/lib/libcdgl.a'
'libcdim.a' -> '/usr/lib/libcdim.a'
'libcdpdf.a' -> '/usr/lib/libcdpdf.a'
cp: impossible d'évaluer 'libfreetype.a': Aucun fichier ou dossier de ce type
'libpdflib.a' -> '/usr/lib/libpdflib.a'
cp: impossible d'évaluer 'libftgl.a': Aucun fichier ou dossier de ce type


It seems some files are missing, or are not needed anymore (?, if so, scripts 
need to be updated).
Thanks
BestsJohann PHILIPPE

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] CD installation script

2020-02-16 Thread Johann Philippe via Iup-users
Dear all, 

I found something like a error in install scripts of CD 5.12 for Linux (Linux 
415 64bit), from binary releases. 

The install  script returns : 'libcdcontextplus.so' -> 
'/usr/lib/libcdcontextplus.so'
'libcdgl.so' -> '/usr/lib/libcdgl.so'
'libcdim.so' -> '/usr/lib/libcdim.so'
'libcdpdf.so' -> '/usr/lib/libcdpdf.so'
'libcd.so' -> '/usr/lib/libcd.so'
cp: impossible d'évaluer 'libfreetype.so': Aucun fichier ou dossier de ce type
'libpdflib.so' -> '/usr/lib/libpdflib.so'
cp: impossible d'évaluer 'libftgl.so': Aucun fichier ou dossier de ce type


The install_dev script returns : 
'include/cdcairo.h' -> '/usr/include/cd/cdcairo.h'
'include/cdcgm.h' -> '/usr/include/cd/cdcgm.h'
'include/cdclipbd.h' -> '/usr/include/cd/cdclipbd.h'
'include/cddbuf.h' -> '/usr/include/cd/cddbuf.h'
'include/cddebug.h' -> '/usr/include/cd/cddebug.h'
'include/cddgn.h' -> '/usr/include/cd/cddgn.h'
'include/cddirect2d.h' -> '/usr/include/cd/cddirect2d.h'
'include/cddxf.h' -> '/usr/include/cd/cddxf.h'
'include/cdemf.h' -> '/usr/include/cd/cdemf.h'
'include/cdgdiplus.h' -> '/usr/include/cd/cdgdiplus.h'
'include/cdgl.h' -> '/usr/include/cd/cdgl.h'
'include/cd.h' -> '/usr/include/cd/cd.h'
'include/cdimage.h' -> '/usr/include/cd/cdimage.h'
'include/cdim.h' -> '/usr/include/cd/cdim.h'
'include/cdirgb.h' -> '/usr/include/cd/cdirgb.h'
'include/cdiup.h' -> '/usr/include/cd/cdiup.h'
'include/cdlua3_private.h' -> '/usr/include/cd/cdlua3_private.h'
'include/cdlua5_private.h' -> '/usr/include/cd/cdlua5_private.h'
'include/cdluagl.h' -> '/usr/include/cd/cdluagl.h'
'include/cdlua.h' -> '/usr/include/cd/cdlua.h'
'include/cdluaim.h' -> '/usr/include/cd/cdluaim.h'
'include/cdluaiup.h' -> '/usr/include/cd/cdluaiup.h'
'include/cdluapdf.h' -> '/usr/include/cd/cdluapdf.h'
'include/cdmf.h' -> '/usr/include/cd/cdmf.h'
'include/cdmf_private.h' -> '/usr/include/cd/cdmf_private.h'
'include/cdnative.h' -> '/usr/include/cd/cdnative.h'
'include/cd_old.h' -> '/usr/include/cd/cd_old.h'
'include/cdpdf.h' -> '/usr/include/cd/cdpdf.h'
'include/cdpicture.h' -> '/usr/include/cd/cdpicture.h'
'include/cd_plus.h' -> '/usr/include/cd/cd_plus.h'
'include/cdpptx.h' -> '/usr/include/cd/cdpptx.h'
'include/cdprint.h' -> '/usr/include/cd/cdprint.h'
'include/cd_private.h' -> '/usr/include/cd/cd_private.h'
'include/cdps.h' -> '/usr/include/cd/cdps.h'
'include/cdsvg.h' -> '/usr/include/cd/cdsvg.h'
'include/cdwmf.h' -> '/usr/include/cd/cdwmf.h'
'include/wd.h' -> '/usr/include/cd/wd.h'
'include/wd_old.h' -> '/usr/include/cd/wd_old.h'
'libcd.a' -> '/usr/lib/libcd.a'
'libcdcontextplus.a' -> '/usr/lib/libcdcontextplus.a'
'libcdgl.a' -> '/usr/lib/libcdgl.a'
'libcdim.a' -> '/usr/lib/libcdim.a'
'libcdpdf.a' -> '/usr/lib/libcdpdf.a'
cp: impossible d'évaluer 'libfreetype.a': Aucun fichier ou dossier de ce type
'libpdflib.a' -> '/usr/lib/libpdflib.a'
cp: impossible d'évaluer 'libftgl.a': Aucun fichier ou dossier de ce type


It seems some files are missing, or are not needed anymore (?, if so, scripts 
need to be updated).
Thanks
BestsJohann PHILIPPE

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Libwebkit issue

2019-12-17 Thread Johann Philippe via Iup-users
Dear all, 

Recently updated to IUP 3.28, and did apt update and apt upgrade before to 
recompile my IUP based programs (Linux Mint 19 - Cinnamon). It appears that my 
programs using IupWeb cannot open (it runs, but returns immediatly), console 
returns this : 
error while loading shared libraries: libwebkit-1.0.so.2: cannot open shared 
object file: No such file or directory

I guess it's more related to apt upgrade than to IUP 3.28, because this problem 
persists even after going back to IUP 3.27. 

I tried to uninstall and reinstall every version of libwebkit (particularly 
libwebkitgtk-1.0, but also libwebkit-dev and libwebkit-3.0/libwebkit-3.0-dev). 
Running my program still returns the same error.

In the same time, I do link my program with libwebkit-1.0, and it 
compiles/links well. But I'm not sure where "libwebkit-1.0.so.0" is supposed to 
be found (since libraries I can install are libwebkitgtk, not libwebkit) ? 

If you have any idea of how to solve this, I'd be grateful. 

Thank you.
BestsJohann


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] File Dialog save directory

2019-10-15 Thread Johann Philippe via Iup-users
Dear all,I'm currently using IupFileDlg, and I would like it to be able have 
the same behavior that with "DIALOGTYPE=SAVE", but with "DIALOGTYPE=DIR". I 
guess on Windows, it can be done using "SHOWEDITBOX", but on linux, is there a 
way to get the text box on the top ? 

Thank you Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Popup menu radio

2019-09-22 Thread Johann Philippe via Iup-users
 Sorry I found. 
Here solution was to set "VALUE" to "ON" on item, and "AUTOTOGGLE" to "YES"

Le dimanche 22 septembre 2019 à 00:29:46 UTC+2, Johann Philippe via 
Iup-users  a écrit :  
 
 Dear All, Antonio, 

I'm using a Menu popup with a radio attribute set to "yes". I'm currently 
trying to find a way to set the radio value before popup - without success. 
Documentation of Radio says to set either "VALUE" or "VALUE_HANDLE" attribute, 
with handle name as value. But this doesn't seem to work here. 
Is there another way ? 

Thanks 

Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Popup menu radio

2019-09-21 Thread Johann Philippe via Iup-users
Dear All, Antonio, 

I'm using a Menu popup with a radio attribute set to "yes". I'm currently 
trying to find a way to set the radio value before popup - without success. 
Documentation of Radio says to set either "VALUE" or "VALUE_HANDLE" attribute, 
with handle name as value. But this doesn't seem to work here. 
Is there another way ? 

Thanks 

Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupPopup and IupMenu

2019-09-13 Thread Johann Philippe via Iup-users
 Great, tested, it works fine !
Thanks a lot.
Johann
Le vendredi 13 septembre 2019 à 22:23:30 UTC+2, Antonio Scuri 
 a écrit :  
 
   The way is to use IupShow. Yes, it will not work with a IupMenu, so the idea 
is to use an IupDialog with no decorations with some control inside, maybe a 
IupList to display your list of options and allow typing some text. 

For instance:
  Ihandle* dlg = IupDialog(NULL);

  IupSetAttribute(dlg, "RESIZE", "NO");
  IupSetAttribute(dlg, "MENUBOX", "NO");
  IupSetAttribute(dlg, "MAXBOX", "NO");
  IupSetAttribute(dlg, "MINBOX", "NO");
  IupSetAttribute(dlg, "NOFLUSH", "Yes");

  IupSetCallback(dlg, "K_ESC", (Icallback)iDropButtonDialogKeyEscCB);

  You can also monitor the focus to see if the user clicked outside the dialog.
Best,Scuri

Em sex, 13 de set de 2019 às 17:16, Johann Philippe via Iup-users 
 escreveu:

Dear all, 

I'm currently using IupPopup with IupMenu to display an autocompletion 
interface for IupMatrix. I'm currently having some troubles : In my project, 
the menu is supposed to be modified or completely re-created if the user 
continues typing in matrix cell (like a proper auto completion system). So, the 
modal state of popup is kind of a trouble for me. 

I have a few options : 
-Is there a way to do the same with a non modal interface ? IupShow doesn't 
seem to work with a Menu. 
-Since there is no keyboard callback in Menu, i guess it's not possible to 
implement such a thing here ? 
-Or maybe there are some Dialog attributes that could allow to do the same 
interface, using then IupShow ? -(unlikely) Maybe an autocompletion system is 
already implemented in IupMatrix cells ? 
-Anything else...

Thanks in advance
Johann 

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] IupPopup and IupMenu

2019-09-13 Thread Johann Philippe via Iup-users
Dear all, 

I'm currently using IupPopup with IupMenu to display an autocompletion 
interface for IupMatrix. I'm currently having some troubles : In my project, 
the menu is supposed to be modified or completely re-created if the user 
continues typing in matrix cell (like a proper auto completion system). So, the 
modal state of popup is kind of a trouble for me. 

I have a few options : 
-Is there a way to do the same with a non modal interface ? IupShow doesn't 
seem to work with a Menu. 
-Since there is no keyboard callback in Menu, i guess it's not possible to 
implement such a thing here ? 
-Or maybe there are some Dialog attributes that could allow to do the same 
interface, using then IupShow ? -(unlikely) Maybe an autocompletion system is 
already implemented in IupMatrix cells ? 
-Anything else...

Thanks in advance
Johann 

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Feature proposition

2019-07-04 Thread Johann Philippe via Iup-users
Oh my bad. Thanks. 

   Le jeudi 4 juillet 2019 à 14:32:28 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,

  We already have that, see the TRAY, TRAYIMAGE and TRAYTIP attributes of a 
IupDialog. Yes, they must be associated with a dialog even if the dialog is 
hidden.
Best,Scuri


Em ter, 2 de jul de 2019 às 20:56, Johann Philippe via Iup-users 
 escreveu:

 For Gnome : HowDoI/GNotification - GNOME Wiki!

| 
| 
|  | 
HowDoI/GNotification - GNOME Wiki!


 |

 |

 |




Windows 7 : Notifications and the Notification Area - Windows applications

| 
| 
|  | 
Notifications and the Notification Area - Windows applications

The notification area is a portion of the taskbar that provides a temporary 
source for notifications and status.
 |

 |

 |





Not sure about Windows 10. 
Le mercredi 3 juillet 2019 à 01:44:53 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 Hello, 
Working on Android those days, I'm not a big fan of Android SDK but I have to 
say one thing : some of their widgets are quite useful. For example, the Toast 
allows to display a message on top of the current window (something like a TIP 
message), for a short time, independant of mouse position, and in a 
non-blocking way. It can be triggered with any action. Main Android Toast 
limitation is that it appears only at the bottom of the screen. Could a new 
control like this be part of IUP plans for the next versions ? 

Globally, I cannot find any function in IUP like the Toast that could allow to 
display something on top of another control in a non blocking way. I know the 
TIP is available as a set of attributes of controls, but as an attribute, it 
cannot be triggered like the Toast. 
This feature could also be presented like a container, allowing to display an 
element on top of a Dialog, for a certain time (element that wouldn't be 
modal). But maybe the Dialog version could be a big work. I would also be glad 
of a simple text / and list display. 
Not sure if it is clear ? 
Also, and it can complete (or replace) the last proposition, is it in IUP plans 
to take care of system native notifications ? I know Linux and Windows have 
those kind of dialogs, which appear for a short time, but I don't know about 
the others OS's supported by IUP. 
Thanks in advance
Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Feature proposition

2019-07-02 Thread Johann Philippe via Iup-users
 For Gnome : HowDoI/GNotification - GNOME Wiki!

| 
| 
|  | 
HowDoI/GNotification - GNOME Wiki!


 |

 |

 |




Windows 7 : Notifications and the Notification Area - Windows applications

| 
| 
|  | 
Notifications and the Notification Area - Windows applications

The notification area is a portion of the taskbar that provides a temporary 
source for notifications and status.
 |

 |

 |





Not sure about Windows 10. 
Le mercredi 3 juillet 2019 à 01:44:53 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 Hello, 
Working on Android those days, I'm not a big fan of Android SDK but I have to 
say one thing : some of their widgets are quite useful. For example, the Toast 
allows to display a message on top of the current window (something like a TIP 
message), for a short time, independant of mouse position, and in a 
non-blocking way. It can be triggered with any action. Main Android Toast 
limitation is that it appears only at the bottom of the screen. Could a new 
control like this be part of IUP plans for the next versions ? 

Globally, I cannot find any function in IUP like the Toast that could allow to 
display something on top of another control in a non blocking way. I know the 
TIP is available as a set of attributes of controls, but as an attribute, it 
cannot be triggered like the Toast. 
This feature could also be presented like a container, allowing to display an 
element on top of a Dialog, for a certain time (element that wouldn't be 
modal). But maybe the Dialog version could be a big work. I would also be glad 
of a simple text / and list display. 
Not sure if it is clear ? 
Also, and it can complete (or replace) the last proposition, is it in IUP plans 
to take care of system native notifications ? I know Linux and Windows have 
those kind of dialogs, which appear for a short time, but I don't know about 
the others OS's supported by IUP. 
Thanks in advance
Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Feature proposition

2019-07-02 Thread Johann Philippe via Iup-users
Hello, 
Working on Android those days, I'm not a big fan of Android SDK but I have to 
say one thing : some of their widgets are quite useful. For example, the Toast 
allows to display a message on top of the current window (something like a TIP 
message), for a short time, independant of mouse position, and in a 
non-blocking way. It can be triggered with any action. Main Android Toast 
limitation is that it appears only at the bottom of the screen. Could a new 
control like this be part of IUP plans for the next versions ? 

Globally, I cannot find any function in IUP like the Toast that could allow to 
display something on top of another control in a non blocking way. I know the 
TIP is available as a set of attributes of controls, but as an attribute, it 
cannot be triggered like the Toast. 
This feature could also be presented like a container, allowing to display an 
element on top of a Dialog, for a certain time (element that wouldn't be 
modal). But maybe the Dialog version could be a big work. I would also be glad 
of a simple text / and list display. 
Not sure if it is clear ? 
Also, and it can complete (or replace) the last proposition, is it in IUP plans 
to take care of system native notifications ? I know Linux and Windows have 
those kind of dialogs, which appear for a short time, but I don't know about 
the others OS's supported by IUP. 
Thanks in advance
Johann 
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] GTK3 issues

2019-07-02 Thread Johann Philippe via Iup-users
 
Anyway, I have to upadte my system in the summer, I'll see at this point (since 
this matrix is not an emergency for me now). Thanks  !
Le lundi 1 juillet 2019 à 19:34:10 UTC+2, Antonio Scuri 
 a écrit :  
 
 > I saw I was on GTK 3.20 (so there was a mistake in the version I mentioned 
 > before), maybe it's related ?
  Maybe, I installed Mint from the ISO and changed nothing. Just added the 
development packages so I could build IUP.
  If I recall it right, GTK 3.20 has a few issues with IUP. They seems to be 
fixed in newer GTK versions.
Best,Scuri

Em seg, 1 de jul de 2019 às 14:28, Johann Philippe  
escreveu:


   Le mardi 25 juin 2019 à 18:44:15 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
   Let me know if you find something about the matrix. 

And yes, for the plot, I upgraded from GTK2 to 3 with the last IUP update. I 
was using an older version until that. It might be related. 

Thanks

Le mardi 25 juin 2019 à 18:21:01 UTC+2, Antonio Scuri 
 a écrit :  
 
  That's just the major GTK version... 
  Anyway I'm downloading the Linux mint 18.3, because I would like to see the 
IupMatrix problem. This was reported before and I have no idea what's going on.
  Regarding to IupPlot, there were no changes. Unless you moved from GTK2 to 
GTK3 also when upgrading your own system. IupPlot uses Cairo to draw even on 
earlier versions, and that has not changed.
  That warning can be ignored. We don't use the GTK layout system and sometimes 
GTK doesn't like that. We don't do anything during mouse move, this is an 
internal issue in GTK.
Best,Scuri

Em ter, 25 de jun de 2019 às 12:14, Johann Philippe  
escreveu:

 Gtk version is 3.0. 
My system is Linux mint 18.3 (...i should update soon).

Le mardi 25 juin 2019 à 16:56:15 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Can you report more details about your system? Do you know which gtk version?
Best,Scuri
Em ter, 25 de jun de 2019 11:49, Johann Philippe via Iup-users 
 escreveu:

Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] GTK3 issues

2019-07-01 Thread Johann Philippe via Iup-users

   Le mardi 25 juin 2019 à 18:44:15 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
   Let me know if you find something about the matrix. 

And yes, for the plot, I upgraded from GTK2 to 3 with the last IUP update. I 
was using an older version until that. It might be related. 

Thanks

Le mardi 25 juin 2019 à 18:21:01 UTC+2, Antonio Scuri 
 a écrit :  
 
  That's just the major GTK version... 
  Anyway I'm downloading the Linux mint 18.3, because I would like to see the 
IupMatrix problem. This was reported before and I have no idea what's going on.
  Regarding to IupPlot, there were no changes. Unless you moved from GTK2 to 
GTK3 also when upgrading your own system. IupPlot uses Cairo to draw even on 
earlier versions, and that has not changed.
  That warning can be ignored. We don't use the GTK layout system and sometimes 
GTK doesn't like that. We don't do anything during mouse move, this is an 
internal issue in GTK.
Best,Scuri

Em ter, 25 de jun de 2019 às 12:14, Johann Philippe  
escreveu:

 Gtk version is 3.0. 
My system is Linux mint 18.3 (...i should update soon).

Le mardi 25 juin 2019 à 16:56:15 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Can you report more details about your system? Do you know which gtk version?
Best,Scuri
Em ter, 25 de jun de 2019 11:49, Johann Philippe via Iup-users 
 escreveu:

Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] GTK3 issues

2019-07-01 Thread Johann Philippe via Iup-users
I can't find what is going on with Matrix on my system. Even tried to change 
desktop theme, it doesn't fix. 
I saw I was on GTK 3.20 (so there was a mistake in the version I mentionned 
before), maybe it's related ?

Thank you for tests ! 
   Le lundi 1 juillet 2019 à 00:28:47 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  I just installed Mint 18.3 and compiled IUP. GTK is 3.18.
  I didn't see the warnings in IupVal. 
  Can tel about the IupPlot performance.
  And IupMatrix worked ok. I was able to edit values and see the characters I 
typed during edition. See the following screenshots: 
Before editing  
During editing
Best,Scuri



Em ter, 25 de jun de 2019 às 13:43, Johann Philippe  
escreveu:

 Let me know if you find something about the matrix. 

And yes, for the plot, I upgraded from GTK2 to 3 with the last IUP update. I 
was using an older version until that. It might be related. 

Thanks

Le mardi 25 juin 2019 à 18:21:01 UTC+2, Antonio Scuri 
 a écrit :  
 
  That's just the major GTK version... 
  Anyway I'm downloading the Linux mint 18.3, because I would like to see the 
IupMatrix problem. This was reported before and I have no idea what's going on.
  Regarding to IupPlot, there were no changes. Unless you moved from GTK2 to 
GTK3 also when upgrading your own system. IupPlot uses Cairo to draw even on 
earlier versions, and that has not changed.
  That warning can be ignored. We don't use the GTK layout system and sometimes 
GTK doesn't like that. We don't do anything during mouse move, this is an 
internal issue in GTK.
Best,Scuri

Em ter, 25 de jun de 2019 às 12:14, Johann Philippe  
escreveu:

 Gtk version is 3.0. 
My system is Linux mint 18.3 (...i should update soon).

Le mardi 25 juin 2019 à 16:56:15 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Can you report more details about your system? Do you know which gtk version?
Best,Scuri
Em ter, 25 de jun de 2019 11:49, Johann Philippe via Iup-users 
 escreveu:

Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] GTK3 issues

2019-06-25 Thread Johann Philippe via Iup-users
 Let me know if you find something about the matrix. 

And yes, for the plot, I upgraded from GTK2 to 3 with the last IUP update. I 
was using an older version until that. It might be related. 

Thanks

Le mardi 25 juin 2019 à 18:21:01 UTC+2, Antonio Scuri 
 a écrit :  
 
  That's just the major GTK version... 
  Anyway I'm downloading the Linux mint 18.3, because I would like to see the 
IupMatrix problem. This was reported before and I have no idea what's going on.
  Regarding to IupPlot, there were no changes. Unless you moved from GTK2 to 
GTK3 also when upgrading your own system. IupPlot uses Cairo to draw even on 
earlier versions, and that has not changed.
  That warning can be ignored. We don't use the GTK layout system and sometimes 
GTK doesn't like that. We don't do anything during mouse move, this is an 
internal issue in GTK.
Best,Scuri

Em ter, 25 de jun de 2019 às 12:14, Johann Philippe  
escreveu:

 Gtk version is 3.0. 
My system is Linux mint 18.3 (...i should update soon).

Le mardi 25 juin 2019 à 16:56:15 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Can you report more details about your system? Do you know which gtk version?
Best,Scuri
Em ter, 25 de jun de 2019 11:49, Johann Philippe via Iup-users 
 escreveu:

Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] GTK3 issues

2019-06-25 Thread Johann Philippe via Iup-users
 Gtk version is 3.0. 
My system is Linux mint 18.3 (...i should update soon).

Le mardi 25 juin 2019 à 16:56:15 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Can you report more details about your system? Do you know which gtk version?
Best,Scuri
Em ter, 25 de jun de 2019 11:49, Johann Philippe via Iup-users 
 escreveu:

Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] GTK3 issues

2019-06-25 Thread Johann Philippe via Iup-users
Hello,Since I updated to last IUP version, there are a few modifications with 
the behavior of some widgets : 
-IupMatrix : when writing into a cell, it only displays the content after 
leaving the cell. The last version used to display it after every key pressed. 
Is there an attribute to modify that ? Or do I need to use the k_any callback ? 
-IupPlot : Nativeplus graphicsmode is much slower than it used to be (same 
problem for Native). I had to switch to OpenGL which appears to be faster. I 
guess there's nothing else to do ?
-IupVal : GTK warnings when the mouse moves around the slider area (maybe it's 
motion_cb ? ).  Here is the warning : (simple_sine:11316): Gtk-WARNING **: 
Negative content width -2 (allocation 0, extents 1x1) while allocating gadget 
(node highlight, owner GtkScale)

Any idea ? 


Thanks,Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Matrix Value edit cb

2019-06-20 Thread Johann Philippe via Iup-users
 I think it's more something like this. Maybe it's due to a homemade templated 
print i did using cout. 


Le mardi 18 juin 2019 à 16:14:46 UTC+2, Antonio Scuri 
 a écrit :  
 
   Another option is that cout is buffering the string and keeping a reference 
for the pointer (unlikely but...), that would cause a strange behavior because 
the returned string not necessarily can be referenced.
Best,Scuri

Em ter, 18 de jun de 2019 às 09:51, Johann Philippe  
escreveu:

 Thanks, i'm using the IFniis
Le mardi 18 juin 2019 à 14:03:41 UTC+2, Antonio Scuri 
 a écrit :  
 
   Notice that there is a very similar callback signature:
sIFniis x IFniis (the correct one)
  This could be causing your problems.
Best,Scuri

Em seg, 17 de jun de 2019 às 19:39, Johann Philippe via Iup-users 
 escreveu:

Hello all, 
A small report : 
The "VALUE_EDIT_CB" of the IupMatrix (tested with IupMatrixEx) seems to have 
some kind of issue. 
I'm using it in C++ with the IUP_DECLARE_CALLBACK, IUP_INITCALLBACK and 
IUP_SETCALLBACK (which by the way work very fine for all other callbacks). 
Sometimes, this one works ok. But at some point, it blocked my std output 
stream (i was printing the values of course). Not sure why. I could see that it 
printed some 0 values at startup, and then the output stream was blocked for 
all the application (I couldn't even use cout in another class or anything). 

Finally I Use the "LEAVEITEM_CB", which is almost the same in my case.
I hope it can help.
Johann

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Matrix Value edit cb

2019-06-18 Thread Johann Philippe via Iup-users
 Thanks, i'm using the IFniis
Le mardi 18 juin 2019 à 14:03:41 UTC+2, Antonio Scuri 
 a écrit :  
 
   Notice that there is a very similar callback signature:
sIFniis x IFniis (the correct one)
  This could be causing your problems.
Best,Scuri

Em seg, 17 de jun de 2019 às 19:39, Johann Philippe via Iup-users 
 escreveu:

Hello all, 
A small report : 
The "VALUE_EDIT_CB" of the IupMatrix (tested with IupMatrixEx) seems to have 
some kind of issue. 
I'm using it in C++ with the IUP_DECLARE_CALLBACK, IUP_INITCALLBACK and 
IUP_SETCALLBACK (which by the way work very fine for all other callbacks). 
Sometimes, this one works ok. But at some point, it blocked my std output 
stream (i was printing the values of course). Not sure why. I could see that it 
printed some 0 values at startup, and then the output stream was blocked for 
all the application (I couldn't even use cout in another class or anything). 

Finally I Use the "LEAVEITEM_CB", which is almost the same in my case.
I hope it can help.
Johann

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Matrix Value edit cb

2019-06-17 Thread Johann Philippe via Iup-users
Hello all, 
A small report : 
The "VALUE_EDIT_CB" of the IupMatrix (tested with IupMatrixEx) seems to have 
some kind of issue. 
I'm using it in C++ with the IUP_DECLARE_CALLBACK, IUP_INITCALLBACK and 
IUP_SETCALLBACK (which by the way work very fine for all other callbacks). 
Sometimes, this one works ok. But at some point, it blocked my std output 
stream (i was printing the values of course). Not sure why. I could see that it 
printed some 0 values at startup, and then the output stream was blocked for 
all the application (I couldn't even use cout in another class or anything). 

Finally I Use the "LEAVEITEM_CB", which is almost the same in my case.
I hope it can help.
Johann

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Scintilla issue

2019-06-05 Thread Johann Philippe via Iup-users
 That's good to know ! 
Thanks

Le mercredi 5 juin 2019 à 18:07:17 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  Some attributes are actually set at the native control after the element is 
mapped. But before map they are stored until map is performed, so almost 
nothing is lost. Almost because the order is lost, when the element is mapped 
the stored attributes are set at the native elements but not in any particular 
order. So some attributes that depends on others, specially for complex 
controls such as IupTree, IupMatrix, and IupScintilla, can fail because of the 
order they are set. The proper way is just like you did, set them after map, 
doing inside map_cb is the most common way.
Best,Scuri

Em qua, 5 de jun de 2019 às 10:53, Johann Philippe  
escreveu:

 I could make it work by setting the attributes after scintilla is mapped, 
inside the MAP_CB. It seems that only some of them were working when i was 
setting the attributes before mapping, but now (with the exact same set of 
IupSetAttribute code in the map_cb) all of them are working.So, not an issue 
anymore.

Le mardi 4 juin 2019 à 22:32:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,

  I would recommend you to take a look at the IupLuaScripterDlg code in the 
folder "iup\srclua5\scripter". It uses different colors for some fgcolor styles.

  IUP works very close with the Scintilla specs, so each IUP attribute is 
almost a direct map to a Scintilla message. You can also take a look at the 
Scintilla documentation:
https://www.scintilla.org/ScintillaDoc.html 
Best,Scuri

Em ter, 4 de jun de 2019 às 14:12, Johann Philippe via Iup-users 
 escreveu:

Hello, 
I'm using IupScintilla today, and i'm having some issues with the 
autocompletion. 
I copied the example code to my cpp project, and it seems that the STYLEFGCOLOR 
only works on the 
10th style. So, operators have the right color, but everything else is black. 
I tried to put the STYLEBGCOLOR5 to 255 0 255 and it works (the keywords have a 
bg color)... so it seems related only to the STYLEFGCOLOR attribute. 
Any idea ? 
Thanks
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Scintilla issue

2019-06-05 Thread Johann Philippe via Iup-users
 I could make it work by setting the attributes after scintilla is mapped, 
inside the MAP_CB. It seems that only some of them were working when i was 
setting the attributes before mapping, but now (with the exact same set of 
IupSetAttribute code in the map_cb) all of them are working.So, not an issue 
anymore.

Le mardi 4 juin 2019 à 22:32:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,

  I would recommend you to take a look at the IupLuaScripterDlg code in the 
folder "iup\srclua5\scripter". It uses different colors for some fgcolor styles.

  IUP works very close with the Scintilla specs, so each IUP attribute is 
almost a direct map to a Scintilla message. You can also take a look at the 
Scintilla documentation:
https://www.scintilla.org/ScintillaDoc.html 
Best,Scuri

Em ter, 4 de jun de 2019 às 14:12, Johann Philippe via Iup-users 
 escreveu:

Hello, 
I'm using IupScintilla today, and i'm having some issues with the 
autocompletion. 
I copied the example code to my cpp project, and it seems that the STYLEFGCOLOR 
only works on the 
10th style. So, operators have the right color, but everything else is black. 
I tried to put the STYLEBGCOLOR5 to 255 0 255 and it works (the keywords have a 
bg color)... so it seems related only to the STYLEFGCOLOR attribute. 
Any idea ? 
Thanks
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Scintilla issue

2019-06-04 Thread Johann Philippe via Iup-users
Hello, 
I'm using IupScintilla today, and i'm having some issues with the 
autocompletion. 
I copied the example code to my cpp project, and it seems that the STYLEFGCOLOR 
only works on the 
10th style. So, operators have the right color, but everything else is black. 
I tried to put the STYLEBGCOLOR5 to 255 0 255 and it works (the keywords have a 
bg color)... so it seems related only to the STYLEFGCOLOR attribute. 
Any idea ? 
Thanks
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Spin in GTK

2019-05-28 Thread Johann Philippe via Iup-users
 
Thanks for the answer. 
I think i'll rather write a homemade spin with two vertical buttons, in my 
project, that's probably the easy way to go if I want to keep GTK3 at the same 
time...
Le mardi 28 mai 2019 à 15:51:35 UTC+2, Antonio Scuri 
 a écrit :  
 
   Not that I know of. This was a GTK decision. You can find the documentation 
here:
https://developer.gnome.org/gtk3/stable/GtkSpinButton.html 
  I would love to change that. I don't like the spin side by side. It seems to 
have something vertical in the CSS, but I have no idea how to use that. If 
someone figure that out please let me know.
  We use GTK3 where it is most like the default GTK on the system, but you may 
try to force the use of GTK2 when rebuilding IUP, by defining USE_GTK2=Yes in 
your environment.
Best,Scuri 

Em seg, 27 de mai de 2019 às 17:05, Johann Philippe via Iup-users 
 escreveu:

Hello, 
Recently downloaded the last IUP (also last CD and IM), which work great. 
Just one thing : it seems it made me pass from GTK2 to GTK3 - and the spin 
buttons (from iup text) are now disposed horizontally, instead of vertically... 
So it's now a bit bigger, because with vertical disposition, it used to auto 
fit to the iupText height, but now it's horizontally, it takes more horizontal 
space. 

First  : is it possible to change that with iup attributes ? 
Second : if not, wouldn't it be reasonable to find a way to go back to the old 
horizontal style ? 

ThanksJohann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Spin in GTK

2019-05-28 Thread Johann Philippe via Iup-users
 *old vertical style..
Le lundi 27 mai 2019 à 22:05:29 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 Hello, 
Recently downloaded the last IUP (also last CD and IM), which work great. 
Just one thing : it seems it made me pass from GTK2 to GTK3 - and the spin 
buttons (from iup text) are now disposed horizontally, instead of vertically... 
So it's now a bit bigger, because with vertical disposition, it used to auto 
fit to the iupText height, but now it's horizontally, it takes more horizontal 
space. 

First  : is it possible to change that with iup attributes ? 
Second : if not, wouldn't it be reasonable to find a way to go back to the old 
horizontal style ? 

ThanksJohann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Spin in GTK

2019-05-27 Thread Johann Philippe via Iup-users
Hello, 
Recently downloaded the last IUP (also last CD and IM), which work great. 
Just one thing : it seems it made me pass from GTK2 to GTK3 - and the spin 
buttons (from iup text) are now disposed horizontally, instead of vertically... 
So it's now a bit bigger, because with vertical disposition, it used to auto 
fit to the iupText height, but now it's horizontally, it takes more horizontal 
space. 

First  : is it possible to change that with iup attributes ? 
Second : if not, wouldn't it be reasonable to find a way to go back to the old 
horizontal style ? 

ThanksJohann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Running with LuaJIT

2019-04-17 Thread Johann Philippe via Iup-users
 As far as I know, there is no distribution of luajit compatible with lua 5.3. 
The last luajit distro i know is 5.1 so you should download the full iup 
package for lua5.1. 
Also, make sure your luajit interpreter is 64bit, (and your OS too).
Le mardi 16 avril 2019 à 21:12:12 UTC+2, David Cuny  a 
écrit :  
 
 I'm trying to run IUP using LuaJIT, but with no success. 

I've downloaded the library files iup-3.26-Lua53_Win64_dll15_lib and unzipped 
them into the same directory as the LuaJIT executable.
At the head of my Lua script, I've got:

package.cpath = package.cpath .. ".\\?53.dll;"
require("iuplua")

On launching LuaJIT, I get the error:

%1 is not a valid Win32 application.
Using the library iup-3.26-Lua53_Win32_dll15_lib, I get the error:
error loading module 'iuplua' from file '.\iuplua53.dll':
    The specified module could not be found.
What's the proper way to run IUP from LuaJIT?

Thanks!
-- David Cuny
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] cdluacairo

2019-02-01 Thread Johann Philippe via Iup-users
Hello, 

I'm trying to run my Iup program on lubuntu system (light ubuntu). It seems 
that the plots causes the program to crash. I get the following error at 
startup : 
"/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(+0x76ba9b) [0x7fa3de525a9b]" 
...And the program doesn't run. But if i remove the plots from the dialog and 
start the program, it  runs perfectly. Also, i tried every available 
"GRAPHICSMODE" in my plot, to see if it could be this, but none is working. 
I noticed that the symlink cdluacairo.so created with config_lua_module is a 
dead link. And, in fact, after looking at the script and the library, there's 
nothing called libcdluacairo51.so in the package, so it can't link. Could it be 
related to my problem ? 

I also thought it could be a lubuntu related issue, i'm not really aware of 
what libraries of standard ubuntu they choose not to put in lubuntu...
Do anyone has an idea ? 

PS : 
Not totally related but i noticed something : 
The config_lua_module script of iup for Linux (26g_64 package) seems to have an 
small error with one symlink : i fixed it at home changing iuplua_pplot to 
iuplua_plot. 

ThanksJohann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP 3.26

2019-01-12 Thread Johann Philippe via Iup-users
 
Is Eric Wing following this mailing list ? Or should I ask anywhere else ? 
Le samedi 12 janvier 2019 à 18:49:19 UTC+1, Antonio Scuri 
 a écrit :  
 
   They are partially working. But I don't know which parts.
Best,Scuri

Em sáb, 12 de jan de 2019 às 11:47, Johann Philippe  
escreveu:

 Hi , 

Actually i wasn't aware of the "work in progress" for android,IOs, MacOs, and 
browser with emscripten.It's really great news. I'd really like to help, but 
not having time enough those days.But i'll be glad to do some testings as soon 
as there is something stable (at least for MacOs, but even browser and Android 
if available). Are those current work in progress working now ? Maybe i could 
give a try, since the program i wrote is quite large, it could be a good test.
ThanksJohann



Le mardi 8 janvier 2019 à 14:20:52 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi Johann,
  We eventually build a MacOS binary using GTK. But the experience is bellow 
normal. GTK works best on Linux, other platforms, including Windows, are not 
comparable with native applications. 
  I'm having some issues with our Mac used to build it, but I hope to have some 
binaries soon.
  For the future we expect to have a native MacOS driver functional. It is a 
contribution from Eric Wing, but there is no time frame for a stable release. 
He needs help by the way.
Best,Scuri


Em seg, 7 de jan de 2019 23:38, Johann Philippe via Iup-users 
 a écrit :  
 
 Hi All,

   We just released IUP version 3.26.

   We would like to highlight some of the new features: 
   
   - New: SHOWTRANSPARENT attribute for flat scrollbars, affects 
IupFlatScrollBox and IupMatrix when FLATSCROLLBAR=Yes. This makes the flat 
scrollbar semi transparent and only interactive trough its handler.   

   - New: IupMultiBox container that distributes elements in multiple lines or 
columns according to the available space.   

   - New: alternative implementation for IupFileDlg in Windows using the new 
Explorer interface available since Windows Vista.   

   - New: SHAPEIMAGE attribute for IupDialog in Windows and GTK. Sets a RGBA 
image as the dialog shape so it is possible to create a non rectangle window 
with children. The OPACITYIMAGE couldn't have children in the dialog.   

   - New: THEME common attribute and DEFAULTTHEME global attribute that works 
for all controls to apply a set of attributes at once.   


   You can find the complete list of changes and files for download at:

http://www.tecgraf.puc-rio.br/iup/
http://iup.sourceforge.net/

Best Regards,
Antonio Scuri
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP 3.26

2019-01-12 Thread Johann Philippe via Iup-users
 Hi , 

Actually i wasn't aware of the "work in progress" for android,IOs, MacOs, and 
browser with emscripten.It's really great news. I'd really like to help, but 
not having time enough those days.But i'll be glad to do some testings as soon 
as there is something stable (at least for MacOs, but even browser and Android 
if available). Are those current work in progress working now ? Maybe i could 
give a try, since the program i wrote is quite large, it could be a good test.
ThanksJohann



Le mardi 8 janvier 2019 à 14:20:52 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi Johann,
  We eventually build a MacOS binary using GTK. But the experience is bellow 
normal. GTK works best on Linux, other platforms, including Windows, are not 
comparable with native applications. 
  I'm having some issues with our Mac used to build it, but I hope to have some 
binaries soon.
  For the future we expect to have a native MacOS driver functional. It is a 
contribution from Eric Wing, but there is no time frame for a stable release. 
He needs help by the way.
Best,Scuri


Em seg, 7 de jan de 2019 23:38, Johann Philippe via Iup-users 
 a écrit :  
 
 Hi All,

   We just released IUP version 3.26.

   We would like to highlight some of the new features: 
   
   - New: SHOWTRANSPARENT attribute for flat scrollbars, affects 
IupFlatScrollBox and IupMatrix when FLATSCROLLBAR=Yes. This makes the flat 
scrollbar semi transparent and only interactive trough its handler.   

   - New: IupMultiBox container that distributes elements in multiple lines or 
columns according to the available space.   

   - New: alternative implementation for IupFileDlg in Windows using the new 
Explorer interface available since Windows Vista.   

   - New: SHAPEIMAGE attribute for IupDialog in Windows and GTK. Sets a RGBA 
image as the dialog shape so it is possible to create a non rectangle window 
with children. The OPACITYIMAGE couldn't have children in the dialog.   

   - New: THEME common attribute and DEFAULTTHEME global attribute that works 
for all controls to apply a set of attributes at once.   


   You can find the complete list of changes and files for download at:

http://www.tecgraf.puc-rio.br/iup/
http://iup.sourceforge.net/

Best Regards,
Antonio Scuri
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP 3.26

2019-01-07 Thread Johann Philippe via Iup-users
 Hello ! 
Thanks for this new release. I'll enjoy it in the future days. 

I was just wondering in the last few days : since i saw somewhere that IUP used 
to be built for MacOs also (and i don't see it in the latest version binaries), 
is it planned that binaries for this plateform will be released someday ? And, 
if not, is there a big issue to compile for MacOs ? 

In fact, it's not for my personal use, but, since I use IUP for musical 
applications, i thought it could be great to have a Mac support. 
So, if it's not a big issue, i could try to do it myself. 

Thanks for allJohann
Le mardi 8 janvier 2019 à 02:15:13 UTC+1, Antonio Scuri 
 a écrit :  
 
 Hi All,

   We just released IUP version 3.26.

   We would like to highlight some of the new features: 
   
   - New: SHOWTRANSPARENT attribute for flat scrollbars, affects 
IupFlatScrollBox and IupMatrix when FLATSCROLLBAR=Yes. This makes the flat 
scrollbar semi transparent and only interactive trough its handler.   

   - New: IupMultiBox container that distributes elements in multiple lines or 
columns according to the available space.   

   - New: alternative implementation for IupFileDlg in Windows using the new 
Explorer interface available since Windows Vista.   

   - New: SHAPEIMAGE attribute for IupDialog in Windows and GTK. Sets a RGBA 
image as the dialog shape so it is possible to create a non rectangle window 
with children. The OPACITYIMAGE couldn't have children in the dialog.   

   - New: THEME common attribute and DEFAULTTHEME global attribute that works 
for all controls to apply a set of attributes at once.   


   You can find the complete list of changes and files for download at:

http://www.tecgraf.puc-rio.br/iup/
http://iup.sourceforge.net/

Best Regards,
Antonio Scuri
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] How to do concurrency with IUP?

2018-12-28 Thread Johann Philippe via Iup-users
 I think using threads is the right solution here. But be careful with those 
points :-it's recommanded not to alloc memory inside the threads routine. It's 
betterave allocating before threads runs. -if sole variables are acessed on 
both threads at the same Time, it may crash. Then you should use mutexes to 
lock data accessing.
Hope it Can HellpJohann 
Le vendredi 28 décembre 2018 à 10:43:26 UTC+1, John Spikowski 
 a écrit :  
 
 Hi Dan,
I was able to get IUP to work in a threaded environment under Windows but not 
Linux (Gtk) using Script BASIC. 
John
On Fri, 2018-12-28 at 01:54 -0600, Daniel G. wrote:
I have a program with a button that calls a function that can take some time to 
finish (up to 10 seconds). I need the main thread to not be blocked while this 
function finish so that the GUI remain responsive. I thought I could use 
threads since even though IUP is not thread safe, I didn’t need to update the 
interface from within the worker function.
I have near cero experience with multi-thread libraries but I tried with 
pthread. So I created a new thread from the callback, this second thread would 
run the worker function, then I detach the thread so that the callback function 
can reach the return point while the second thread continues, this would in 
theory allow IUP to continue his main loop while the worker function did his 
thing on a second thread. Something like this:

pthread_t thread_id;
int btn_cb(Ihandle *self) {
    pthread_create(_id, NULL, worker_function, NULL);
    int pthread_detach(thread_id);    return IUP_DEFAULT;
}

The problem is when I run this I get a segfault as soon as the callback 
function reach the return point while the second thread is still going. But 
before anything else, I want to ask this:Is my approach with pthread even close 
to correct for what I am trying to accomplish? Should I be using threads for 
something like this?

I’ve also tried with fork and I manage to get the worker function to execute 
while having a responsive GUI, but I think would rather avoid processes and the 
more complex methods of communication it implies, like IPC servers or FIFO.

I would really appreciate if anyone can help me with this for my amateur 
project.___Iup-users mailing 
listiup-us...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 I'll check that. 
Thanks for all ! 
Johann

Le dimanche 25 novembre 2018 à 17:21:50 UTC+1, Antonio Scuri 
 a écrit :  
 
   Yes, it is something in the Windows configuration.
  I older Windows you could use a classic theme so all application will have 
the classic look without the visual styles. In Windows 10, the classic look 
option is not there, but maybe other parameter on the Control Panel does that. 
I have no idea.
Best,Scuri

Em dom, 25 de nov de 2018 às 14:16, Johann Philippe  
escreveu:

It seems to be the same in the Iup test app. May it be the Windows 10 config ? 
   Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri 
 a écrit :  
 
   That's weird because the application should work with or without the 
Manifest only the appearance of the common controls . What's not working?
  Regarding the default file, probably TEC_64 is not defined and has the same 
effect as commenting the manifest include, because the 32 bit manifest will not 
work for a 64 bit executable. 
  Regarding the visual styles, the regular IUP test applications (pre-compiled 
available for download) the visual styles are OK?
Best,Scuri

Em dom, 25 de nov de 2018 às 13:48, Johann Philippe  
escreveu:

 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  
  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
It seems to be the same in the Iup test app. May it be the Windows 10 config ? 
   Le dimanche 25 novembre 2018 à 16:59:28 UTC+1, Antonio Scuri 
 a écrit :  
 
   That's weird because the application should work with or without the 
Manifest only the appearance of the common controls . What's not working?
  Regarding the default file, probably TEC_64 is not defined and has the same 
effect as commenting the manifest include, because the 32 bit manifest will not 
work for a 64 bit executable. 
  Regarding the visual styles, the regular IUP test applications (pre-compiled 
available for download) the visual styles are OK?
Best,Scuri

Em dom, 25 de nov de 2018 às 13:48, Johann Philippe  
escreveu:

 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 
It also doesn't work with the basic .rc like this : 
#ifndef IUP_DLL
#ifdef TEC_64
1 24 "iup64.manifest"
#else
1 24 "iup.manifest"
#endif
#endif

I need to remove so that remain only 1 24 "iup64.manifest"
Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 In fact, the manifest is useful. I use the iup64.manifest. i removed some of 
the last lines in the .rc file so that remain only  :1 24 iup64.manifestAnd if 
i comment this, the application doesn't work. If i keep this line, the 
application still works, but still using classic visual style.


Le dimanche 25 novembre 2018 à 16:15:03 UTC+1, Antonio Scuri 
 a écrit :  
 
   Hi,
  Check if you are using the correct manifest file for 32 or 64 bits. 
  You can take a look at LuaBinaries distribution source files. There manifests 
for both. The IUP source package also contains sample manifests.
Best,
Scuri

Em dom, 25 de nov de 2018 às 12:44, Johann Philippe  
escreveu:

 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-11-25 Thread Johann Philippe via Iup-users
 Some precisions : i'm compiling some Lua code with the lua C api, using iup 
precompiled. 

Le dimanche 25 novembre 2018 à 15:41:33 UTC+1, Johann Philippe 
 a écrit :  
 
 I'm compiling the application with gcc. So i did pre-compile the iup.rc to an 
object file .o, and compiled my project like this : 
gcc myapp.c myrc.o -I... -L... -o myapp.exeThe rc seems to work well since the 
application icon "tecgraf" is used. But the windows style isn't changed. So i'm 
wondering if the manifest is really working here ? 



   Le samedi 6 octobre 2018 à 13:41:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Yes, when you build the application.
  Add a Windows RC file to the project. See the IUP documentation in System / 
Drivers / Win32.
Best,Scuri

Em sáb, 6 de out de 2018 08:30, Johann Philippe  
escreveu:

 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] spinbox anti bound

2018-11-19 Thread Johann Philippe via Iup-users
Hello, 

I would like to put an anti bound to some of the spinboxes i use in my program, 
so that it cannot keep incrementing if i sustain the button pressed (the 
sensibility is quite high with GTK, sometimes even a really quick click makes a 
+2 increment or more). 
Since there is no attribute for anti bound, i thought it could be done if i get 
the information when the spin button is released. But in the spin_cb, i only 
get the information when i click, not when i release the button. Would it be 
possible for you or maybe easy to implement such a function ? Maybe there is 
some hack i could do to get the button release ?  
Or do I need to implement my own spin here ? 

Thanks in advance. 
Johann
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Segmentation fault Iup Matrix

2018-11-04 Thread Johann Philippe via Iup-users
 Thanks ! 
I'm still running with the 3.24 version - and i'm now experiencing another 
issue with redrawing matrix. 

It's quite a complex situation : there is an audio engine running in another 
thread, and triggering some callbacks events, to refresh some IUP tools. For 
example, like a 100 times/second, the callback is refreshing a progressbar, so 
it acts like a level meter. 
At the same time, another callback (triggering one time per second, so not 
really CPU expansive) sets a matrix mark (marks a line). This works fine. But 
then i have to redraw the matrix, with track.redraw="yes", and this cause a 
segmentation fault (sometimes it works fine for like 3 or 4 seconds, but then 
it crashes).
Because you said that you changed the way matrix is drawn, i thought maybe it 
could be something that had been fixed in 3.25 now ? I'm not sure, but it seems 
not to be a threading issue, since all the callbacks work fine except the 
matrix redraw. It's advised not to reallocate memory while audio is running, do 
the "redraw" attribute reallocates some memory ? 

Thanks in advanceJohann


Le dimanche 28 octobre 2018 à 20:11:29 UTC+1, Antonio Scuri 
 a écrit :  
 
 Hi,
  Just fixed and committed to the SVN. Thanks for reporting.
Best,Scuri

Em sáb, 27 de out de 2018 às 11:39, Antonio Scuri  
escreveu:

  I think I was able to reproduce the problem here. Not totally sure yet. 
  I'll keep you posted.
Best,Scuri

Em qui, 25 de out de 2018 às 20:10, Johann Philippe  
escreveu:

 So to be clear - the spin_cb calls the resize lua function, which body is 
mymatrix.NUMLIN=x


Le vendredi 26 octobre 2018 à 00:15:28 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
  I didn't try to compile from source. 
Of course, it's the NUMLIN i'm setting. But it's not inside resizemat_cb. It's 
a sort of Lua object with a resize function, only using mymatrix.NUMLIN=x, with 
x = a number set with a spinbox. 

BestsJohann
Le mercredi 24 octobre 2018 à 19:04:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  I need to understand a little bit more about what you are doing. I guess you 
are setting NUMLIN inside the RESIZEMATRIX_CB callback, that's it? Did you do 
anything else inside the callback?
  In 3.25 we made a few changed in how the Matrix is drawn.
  Have you tried compiling it from SVN sources?
Best,Scuri


Em qua, 24 de out de 2018 às 13:55, Johann Philippe via Iup-users 
 escreveu:

Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'm dynamically resizing the 
number of lines (mymat.numlin=x) and it causes the program to crash and it 
returns :  /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9]
Segmentation fault (core dumped)

The exact same program runs fine on windows. 

Thanks in advanceJohann 


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Segmentation fault Iup Matrix

2018-10-25 Thread Johann Philippe via Iup-users
 So to be clear - the spin_cb calls the resize lua function, which body is 
mymatrix.NUMLIN=x


Le vendredi 26 octobre 2018 à 00:15:28 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
  I didn't try to compile from source. 
Of course, it's the NUMLIN i'm setting. But it's not inside resizemat_cb. It's 
a sort of Lua object with a resize function, only using mymatrix.NUMLIN=x, with 
x = a number set with a spinbox. 

BestsJohann
Le mercredi 24 octobre 2018 à 19:04:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  I need to understand a little bit more about what you are doing. I guess you 
are setting NUMLIN inside the RESIZEMATRIX_CB callback, that's it? Did you do 
anything else inside the callback?
  In 3.25 we made a few changed in how the Matrix is drawn.
  Have you tried compiling it from SVN sources?
Best,Scuri


Em qua, 24 de out de 2018 às 13:55, Johann Philippe via Iup-users 
 escreveu:

Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'm dynamically resizing the 
number of lines (mymat.numlin=x) and it causes the program to crash and it 
returns :  /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9]
Segmentation fault (core dumped)

The exact same program runs fine on windows. 

Thanks in advanceJohann 


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Segmentation fault Iup Matrix

2018-10-25 Thread Johann Philippe via Iup-users
 I didn't try to compile from source. 
Of course, it's the NUMLIN i'm setting. But it's not inside resizemat_cb. It's 
a sort of Lua object with a resize function, only using mymatrix.NUMLIN=x, with 
x = a number set with a spinbox. 

BestsJohann
Le mercredi 24 octobre 2018 à 19:04:16 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  I need to understand a little bit more about what you are doing. I guess you 
are setting NUMLIN inside the RESIZEMATRIX_CB callback, that's it? Did you do 
anything else inside the callback?
  In 3.25 we made a few changed in how the Matrix is drawn.
  Have you tried compiling it from SVN sources?
Best,Scuri


Em qua, 24 de out de 2018 às 13:55, Johann Philippe via Iup-users 
 escreveu:

Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'm dynamically resizing the 
number of lines (mymat.numlin=x) and it causes the program to crash and it 
returns :  /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9]
Segmentation fault (core dumped)

The exact same program runs fine on windows. 

Thanks in advanceJohann 


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Segmentation fault Iup Matrix

2018-10-24 Thread Johann Philippe via Iup-users
 And changing the standard library for 3.24 works fine too. 

Le mercredi 24 octobre 2018 à 18:55:00 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'm dynamically resizing the 
number of lines (mymat.numlin=x) and it causes the program to crash and it 
returns :  /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9]
Segmentation fault (core dumped)

The exact same program runs fine on windows. 

Thanks in advanceJohann 


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Segmentation fault Iup Matrix

2018-10-24 Thread Johann Philippe via Iup-users
Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'm dynamically resizing the 
number of lines (mymat.numlin=x) and it causes the program to crash and it 
returns :  /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9]
Segmentation fault (core dumped)

The exact same program runs fine on windows. 

Thanks in advanceJohann 


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Linux Binaries iup-use iup-users@lists.sourceforge.net iup-us...@lists.sourceforge.netr iup-us...@lists.sourceforge.nets iup-users@lists.sourceforge.net iup-users@lists.sourceforge.net

2018-10-22 Thread Johann Philippe via Iup-users
 Of course it's a mistake in the  message i sent earlier. The package i 
installed is iup-3.25-Lua51_Linux26g4_64_lib.tar.gzBut finally, i didn't 
remember that the standard library was also needed for Lua use. So i installed 
it + the lua bindings, and it works fine ! 
Thanks for helpingJohann Philippe
   Le lundi 22 octobre 2018 à 14:10:41 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
 Because there are 3 different Lua versions in use, we separate the IUP 
standard libraries from the IupLua bindings. The package you mention is the 
standard only, does not contains the Lua binding. In the SourceForge files you 
will findo also a LuaXX folder (XX is the version number) that will contain the 
respective IupLua binding.
  Notice that there are some additional configurations need for IupLua to work 
with dynamic loading. Our libraries have a 51 suffix in the library name. 
  You can find more info here:
http://webserver2.tecgraf.puc-rio.br/iup/en/building.html

Best,Scuri

Em seg, 22 de out de 2018 às 04:53, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm currently trying to use IUP shared library with luajit on linux Mint 18.3. 
I downloaded The iup-3.25_Linux26g4_64_lib.tar.gz, unpacked it, and installed 
it. I checked the lua package.cpath to ensure it was pointing to the symlinks 
created in the /usr/lib/lua/5.1. And then, require ("iuplua") returns : 
error loading module 'iuplua' from file '/usr/lib/lua/5.1/iuplua.so':
    libiup.so: cannot open shared object file: No such file or directory
stack traceback:
    [C]: at function: 0x419decb0
    [C]: in function 'require'
    Terra/test_iup.t:9: in main chunk



I tried many things last night, like ldconfig, and reinstalling with another 
version (3.24,3.20...) and it still returns the error. I'm not sure what is 
going on here  ? 

Thanks in advanceJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Linux Binaries iup-use iup-users@lists.sourceforge.net iup-us...@lists.sourceforge.netr iup-us...@lists.sourceforge.nets iup-users@lists.sourceforge.net iup-users@lists.sourceforge.net@lis

2018-10-22 Thread Johann Philippe via Iup-users
Dear all,
I'm currently trying to use IUP shared library with luajit on linux Mint 18.3. 
I downloaded The iup-3.25_Linux26g4_64_lib.tar.gz, unpacked it, and installed 
it. I checked the lua package.cpath to ensure it was pointing to the symlinks 
created in the /usr/lib/lua/5.1. And then, require ("iuplua") returns : 
error loading module 'iuplua' from file '/usr/lib/lua/5.1/iuplua.so':
    libiup.so: cannot open shared object file: No such file or directory
stack traceback:
    [C]: at function: 0x419decb0
    [C]: in function 'require'
    Terra/test_iup.t:9: in main chunk



I tried many things last night, like ldconfig, and reinstalling with another 
version (3.24,3.20...) and it still returns the error. I'm not sure what is 
going on here  ? 

Thanks in advanceJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Iup LuaJIT change windows style

2018-10-06 Thread Johann Philippe via Iup-users
 Thank for the answer. 
To be sur I understand well - the manifest is not used when I compile the IUP 
source, but it's used when i build an application from my IUP program ? 
What should i write then to make it work with Windows w/ style  instead of 
classic style ? 

Thanks in advanceJohann

Le jeudi 4 octobre 2018 à 13:08:34 UTC+2, Antonio Scuri 
 a écrit :  
 
   Hi,
  The style is changed by using a Manifest when building the executable. You 
can find a Manifest file for that purpose in the iup/etc folder. 
Best,Scuri

Em qui, 4 de out de 2018 06:15, Johann Philippe via Iup-users 
 escreveu:

Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Iup LuaJIT change windows style

2018-10-04 Thread Johann Philippe via Iup-users
Dear all,
I'm using LuaJIT 2.0.3 (Terra project) and the IUP precompiled binaries, and 
i'd like to know if it is possible to change the windows style ? Or is it only 
possible at build time ? 
Default is windows classic. 

RegardsJohann Philippe
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] iup matrix action callback

2018-06-19 Thread Johann Philippe via Iup-users
Hello, 

I'm currently using iup.matrixex (on Windows, with lua) - and the action_cb 
doesn't seem to workThe following code :
m=iup.matrixex{}m:action_cb(key,lin,col,mode,update)
returns : 
F:\LuaJIT\src\luajit.exe: [string "iuplua.lua"]:139: bad argument #3 to 
'SetCallback' (Invalid function when set callback.)stack traceback:
    [C]: in function 'SetCallback'
    [string "iuplua.lua"]:139: in function '__newindex'
    F:\LuaJIT\src\lua\miup_object.lua:371: in function 'matconnect'
    test_obj.lua:81: in main chunk
    [C]: at 0x00402000

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupplot data set callback

2018-06-03 Thread Johann Philippe via Iup-users
 
Thank you Antonio, 
I tried to run the example file you sent, it returns this error message 
"plot_cd.lua:21: attempt to index local 'cv' (a userdata value)stack traceback:
    plot_cd.lua:21: in function 
    [C]: in function 'showxy'
    plot_cd.lua:36: in main chunk
    [C]: at 0x00402000"
Le mercredi 30 mai 2018 à 23:11:08 UTC+2, Antonio Scuri 
 a écrit :  
 
   For instance:
function plot:predraw_cb(canvas)  canvas:Foreground(cd.EncodeColor(0, 0, 255))  
canvas:Rect(200, 700, 200, 700) -- pixels  canvas:Line(200, 700, 700, 200) -- 
pixels
  local x1, y1 = iup.PlotTransform(plot, 1, 0.9) -- plot coordinates  local x2, 
y2 = iup.PlotTransform(plot, 1, 0.1)  canvas:Line(x1, y1, x1, y2) -- pixelsend
  Attached is the complete sample.
Best,Scuri

2018-05-29 11:53 GMT-03:00 Johann Philippe :

 Yes in Lua.

Le lundi 28 mai 2018 à 23:09:53 UTC+2, Antonio Scuri 
 a écrit :  
 
   You mean in Lua, right?
Best,Scuri
Em seg, 28 de mai de 2018 17:11, Johann Philippe  
escreveu:

Thank you Antonio. 
I don't find the way to draw manually using CD inside the plot (created with 
iupplot). The plot.CANVAS returns that the actual canvas name is "CD" (as a 
string), but the CD variable returns nil.
Could you explain how to draw in background, using postdraw_cb and CD drawing 
method ? 

Le lundi 28 mai 2018 à 13:11:58 UTC+2, Antonio Scuri 
 a écrit :  
 
 > I need to interact with the callback with only one of those two datasets. Is 
 >that possible ? 
  Only manually testing inside the callback.
> Or is there a way to draw in the "background" 
  You can use the PREDRAW_CB, POSTDRAW_CB callbacks, but everything must be 
manually drawn with CD.
Best,Scuri

2018-05-27 13:18 GMT-03:00 Johann Philippe via Iup-users 
:

Dear all, 
I'm using IupPlot, and having a small issue here. I have two datasets, and i 
wish one of them could be not responding to FindSample function. I need to 
interact with the callback with only one of those two datasets. Is that 
possible ? 
Or is there a way to draw in the "background" of the plot, like drawing a curve 
that is not interacting with callbacks, but can be change algorithmically ? 

Thanking you in advance
Johann 

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



  
  

  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupplot data set callback

2018-05-29 Thread Johann Philippe via Iup-users
 Yes in Lua.

Le lundi 28 mai 2018 à 23:09:53 UTC+2, Antonio Scuri 
 a écrit :  
 
   You mean in Lua, right?
Best,Scuri
Em seg, 28 de mai de 2018 17:11, Johann Philippe  
escreveu:

Thank you Antonio. 
I don't find the way to draw manually using CD inside the plot (created with 
iupplot). The plot.CANVAS returns that the actual canvas name is "CD" (as a 
string), but the CD variable returns nil.
Could you explain how to draw in background, using postdraw_cb and CD drawing 
method ? 

Le lundi 28 mai 2018 à 13:11:58 UTC+2, Antonio Scuri 
 a écrit :  
 
 > I need to interact with the callback with only one of those two datasets. Is 
 >that possible ? 
  Only manually testing inside the callback.
> Or is there a way to draw in the "background" 
  You can use the PREDRAW_CB, POSTDRAW_CB callbacks, but everything must be 
manually drawn with CD.
Best,Scuri

2018-05-27 13:18 GMT-03:00 Johann Philippe via Iup-users 
:

Dear all, 
I'm using IupPlot, and having a small issue here. I have two datasets, and i 
wish one of them could be not responding to FindSample function. I need to 
interact with the callback with only one of those two datasets. Is that 
possible ? 
Or is there a way to draw in the "background" of the plot, like drawing a curve 
that is not interacting with callbacks, but can be change algorithmically ? 

Thanking you in advance
Johann 

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



  
  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] iupplot data set callback

2018-05-28 Thread Johann Philippe via Iup-users
Thank you Antonio. 
I don't find the way to draw manually using CD inside the plot (created with 
iupplot). The plot.CANVAS returns that the actual canvas name is "CD" (as a 
string), but the CD variable returns nil.
Could you explain how to draw in background, using postdraw_cb and CD drawing 
method ? 

Le lundi 28 mai 2018 à 13:11:58 UTC+2, Antonio Scuri 
 a écrit :  
 
 > I need to interact with the callback with only one of those two datasets. Is 
 >that possible ? 
  Only manually testing inside the callback.
> Or is there a way to draw in the "background" 
  You can use the PREDRAW_CB, POSTDRAW_CB callbacks, but everything must be 
manually drawn with CD.
Best,Scuri

2018-05-27 13:18 GMT-03:00 Johann Philippe via Iup-users 
:

Dear all, 
I'm using IupPlot, and having a small issue here. I have two datasets, and i 
wish one of them could be not responding to FindSample function. I need to 
interact with the callback with only one of those two datasets. Is that 
possible ? 
Or is there a way to draw in the "background" of the plot, like drawing a curve 
that is not interacting with callbacks, but can be change algorithmically ? 

Thanking you in advance
Johann 

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Plot and editable Dataset with mouse

2018-04-13 Thread Johann Philippe via Iup-users
 
Thanks Antonio ! 
Le jeudi 12 avril 2018 à 15:31:35 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  It is an error in the documentation. If you check the C version of the same 
function it does not returns x,y, it actually receives x,y as parameters.
Best,Scuri

2018-04-12 9:22 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge.net>:

Dear all, 
I've been working yesterday with iupPlot / Lua : what i want to do is to add 
points with mouse (i could do this with plotbutton_cb) and, when i click on an 
existing sample, to move it on the graph with mouse. I'm able to find the point 
with the plot:FindSample(), and to select it isn't a problem - 
plot:SetSampleSelection(). Even having mouse values isn't a problem with 
plotmotion_cb. The problem is that i can't find a way to change the sample 
coordinates : even the plot:SetSample() function doesn't work for me (and i 
don't really understand why this function doesn't take x and y points as input 
arguments).Is this function designed for that purpose ? Or is there another way 
? Maybe having direct access on the Dataset Table could be great, but i don't 
find neither a way to change coordinates in the dataset : the IupPlot page 
online only talks about DS_REMOVE, or DS_COUNT, but there is no DS_EDIT or 
something like that. 
Any help would be great
Also, this Plot seems really powerfull, "bravo" for this beatiful work, and 
thanks a lot.


Johann


-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Plot and editable Dataset with mouse

2018-04-12 Thread Johann Philippe via Iup-users
Dear all, 
I've been working yesterday with iupPlot / Lua : what i want to do is to add 
points with mouse (i could do this with plotbutton_cb) and, when i click on an 
existing sample, to move it on the graph with mouse. I'm able to find the point 
with the plot:FindSample(), and to select it isn't a problem - 
plot:SetSampleSelection(). Even having mouse values isn't a problem with 
plotmotion_cb. The problem is that i can't find a way to change the sample 
coordinates : even the plot:SetSample() function doesn't work for me (and i 
don't really understand why this function doesn't take x and y points as input 
arguments).Is this function designed for that purpose ? Or is there another way 
? Maybe having direct access on the Dataset Table could be great, but i don't 
find neither a way to change coordinates in the dataset : the IupPlot page 
online only talks about DS_REMOVE, or DS_COUNT, but there is no DS_EDIT or 
something like that. 
Any help would be great
Also, this Plot seems really powerfull, "bravo" for this beatiful work, and 
thanks a lot.


Johann

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-02 Thread Johann Philippe via Iup-users
wnload in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users




  

  

  

  

  

  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-02 Thread Johann Philippe via Iup-users
 I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users




  

  

  

  

  

  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-02 Thread Johann Philippe via Iup-users
last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users




  

  

  

  

  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-02 Thread Johann Philippe via Iup-users
 To check if it worked, i tried to run examples from the "doc" package. The 
listdialog.lua file worked.But the matrix.lua didn't because "error loading 
iupluacontrols from iupluacontrols51.dll"Could it be a related/similar problem 
? 

Le lundi 2 avril 2018 à 14:09:14 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  That's not necessary. It was a detail in the proxy build. I fixed and rebuild 
it. Please download again from the same place:
http://webserver2.tecgraf.puc-rio.br/~scuri/tmp/lua5.1_proxy.zip

  Again, rename it lua5.1.dll and replace the old one.
  Please, let me know if it works.
Best,Scuri

2018-04-01 18:46 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

More precisely : on luapower:  you can take the "all in one" download link, and 
run with the /bin/mingx64/luajit.exe interpreter. And on luajit official 
website : it's the luajit2.1.0-beta3Mabe i should try with the stable version 
2.0.5 ? I See that tomorrow.Johann
 

Le dimanche 1 avril 2018 à 20:41:37 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Link, I mean an URL. From which site you downloaded lua jit. 
  I'll make a few tests here. 
Best,Scuri

2018-04-01 14:36 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 
I'm not sure to understand what do you mean with "what's the link" ? I first 
tried it in the full luapower package (luapower-all-master/bin/ mingw64), then 
i also tried with a standard luajit build with mingw64. In both case i put the 
lua5.1.dll (the one you sent me earlier) in the same folder than lua51.dll, and 
the packages for windows 64 mingw (standard package and lua51 package) in the 
cpath folder. Both times, the error dialog occurs when i require 'iuplua'

Maybe there is another thing to do that i'm missing ? Do you mean there is a 
link to do between luajit and IUP ? 

ThanksJohann



Le dimanche 1 avril 2018 à 18:58:43 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  The proxy you download also exports the Lua internal functions marked with 
LUAI_FUNC. It seems that the lua51.dll you are using does not exports those 
functions. That's weird, we already used IUP with Lua JIT before and they work 
fine. But that was some time ago, maybe something has changed.
  You can not use two different Lua implementations in the same project, so you 
can not use the regular lua5.1.dll we provide along with your lua jit files. 
  What's the link you are using for Lua JIT?
Best,Scuri

2018-04-01 13:20 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 I put all the base package (dll) in my package.cpath folder, and also the 
lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the same 
folder than lua51.dll. Added "my/path/?51.dll" to package.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link libraryF:/Logiciels/luajit/luapower- 
all-master/bin/mingw64/lua5.1. dll"

Also tried with putting lua5.1.dll in the package.cpath folder, and it only 
returns in the console "iuplua51.dll the specified module couldn't be found"
Any idea where is the issue from ? 
Johann
Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   The Lua DLLs are separated by Lua version. So in the same place you find the 
base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP Source 
Forge page, click on Files, then the IUP version, then Windows, then dynamic. 
Then the lua version.
  But you can also use the DLLs from the tools executable. Just copy from the 
package you already have.
Best,Scuri



Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr> 
escreveu:

 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it s

Re: [Iup-users] IUP and Luajit

2018-04-02 Thread Johann Philippe via Iup-users
 Works fine here with Luajit-2.0.5Thank you very much ! 
Johann


Le lundi 2 avril 2018 à 14:09:14 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  That's not necessary. It was a detail in the proxy build. I fixed and rebuild 
it. Please download again from the same place:
http://webserver2.tecgraf.puc-rio.br/~scuri/tmp/lua5.1_proxy.zip

  Again, rename it lua5.1.dll and replace the old one.
  Please, let me know if it works.
Best,Scuri

2018-04-01 18:46 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

More precisely : on luapower:  you can take the "all in one" download link, and 
run with the /bin/mingx64/luajit.exe interpreter. And on luajit official 
website : it's the luajit2.1.0-beta3Mabe i should try with the stable version 
2.0.5 ? I See that tomorrow.Johann
 

Le dimanche 1 avril 2018 à 20:41:37 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Link, I mean an URL. From which site you downloaded lua jit. 
  I'll make a few tests here. 
Best,Scuri

2018-04-01 14:36 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 
I'm not sure to understand what do you mean with "what's the link" ? I first 
tried it in the full luapower package (luapower-all-master/bin/ mingw64), then 
i also tried with a standard luajit build with mingw64. In both case i put the 
lua5.1.dll (the one you sent me earlier) in the same folder than lua51.dll, and 
the packages for windows 64 mingw (standard package and lua51 package) in the 
cpath folder. Both times, the error dialog occurs when i require 'iuplua'

Maybe there is another thing to do that i'm missing ? Do you mean there is a 
link to do between luajit and IUP ? 

ThanksJohann



Le dimanche 1 avril 2018 à 18:58:43 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  The proxy you download also exports the Lua internal functions marked with 
LUAI_FUNC. It seems that the lua51.dll you are using does not exports those 
functions. That's weird, we already used IUP with Lua JIT before and they work 
fine. But that was some time ago, maybe something has changed.
  You can not use two different Lua implementations in the same project, so you 
can not use the regular lua5.1.dll we provide along with your lua jit files. 
  What's the link you are using for Lua JIT?
Best,Scuri

2018-04-01 13:20 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 I put all the base package (dll) in my package.cpath folder, and also the 
lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the same 
folder than lua51.dll. Added "my/path/?51.dll" to package.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link libraryF:/Logiciels/luajit/luapower- 
all-master/bin/mingw64/lua5.1. dll"

Also tried with putting lua5.1.dll in the package.cpath folder, and it only 
returns in the console "iuplua51.dll the specified module couldn't be found"
Any idea where is the issue from ? 
Johann
Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   The Lua DLLs are separated by Lua version. So in the same place you find the 
base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP Source 
Forge page, click on Files, then the IUP version, then Windows, then dynamic. 
Then the lua version.
  But you can also use the DLLs from the tools executable. Just copy from the 
package you already have.
Best,Scuri



Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr> 
escreveu:

 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to

Re: [Iup-users] IUP and Luajit

2018-04-01 Thread Johann Philippe via Iup-users
More precisely : on luapower:  you can take the "all in one" download link, and 
run with the /bin/mingx64/luajit.exe interpreter. And on luajit official 
website : it's the luajit2.1.0-beta3Mabe i should try with the stable version 
2.0.5 ? I See that tomorrow.Johann
 

Le dimanche 1 avril 2018 à 20:41:37 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Link, I mean an URL. From which site you downloaded lua jit. 
  I'll make a few tests here. 
Best,Scuri

2018-04-01 14:36 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 
I'm not sure to understand what do you mean with "what's the link" ? I first 
tried it in the full luapower package (luapower-all-master/bin/ mingw64), then 
i also tried with a standard luajit build with mingw64. In both case i put the 
lua5.1.dll (the one you sent me earlier) in the same folder than lua51.dll, and 
the packages for windows 64 mingw (standard package and lua51 package) in the 
cpath folder. Both times, the error dialog occurs when i require 'iuplua'

Maybe there is another thing to do that i'm missing ? Do you mean there is a 
link to do between luajit and IUP ? 

ThanksJohann



Le dimanche 1 avril 2018 à 18:58:43 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  The proxy you download also exports the Lua internal functions marked with 
LUAI_FUNC. It seems that the lua51.dll you are using does not exports those 
functions. That's weird, we already used IUP with Lua JIT before and they work 
fine. But that was some time ago, maybe something has changed.
  You can not use two different Lua implementations in the same project, so you 
can not use the regular lua5.1.dll we provide along with your lua jit files. 
  What's the link you are using for Lua JIT?
Best,Scuri

2018-04-01 13:20 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 I put all the base package (dll) in my package.cpath folder, and also the 
lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the same 
folder than lua51.dll. Added "my/path/?51.dll" to package.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link libraryF:/Logiciels/luajit/luapower- 
all-master/bin/mingw64/lua5.1. dll"

Also tried with putting lua5.1.dll in the package.cpath folder, and it only 
returns in the console "iuplua51.dll the specified module couldn't be found"
Any idea where is the issue from ? 
Johann
Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   The Lua DLLs are separated by Lua version. So in the same place you find the 
base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP Source 
Forge page, click on Files, then the IUP version, then Windows, then dynamic. 
Then the lua version.
  But you can also use the DLLs from the tools executable. Just copy from the 
package you already have.
Best,Scuri



Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr> 
escreveu:

 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So,

Re: [Iup-users] IUP and Luajit

2018-04-01 Thread Johann Philippe via Iup-users
Ok so the full luapower package came from the official luapower : 
https://luapower.com/
And the second luajit version I tried came from the official luajit website : 
http://luajit.org/For this last, i used the "make" function with mingw64/msys64.
Let me know ! 
Thank you very much for your help. 
Johann





 

Le dimanche 1 avril 2018 à 20:41:37 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Link, I mean an URL. From which site you downloaded lua jit. 
  I'll make a few tests here. 
Best,Scuri

2018-04-01 14:36 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 
I'm not sure to understand what do you mean with "what's the link" ? I first 
tried it in the full luapower package (luapower-all-master/bin/ mingw64), then 
i also tried with a standard luajit build with mingw64. In both case i put the 
lua5.1.dll (the one you sent me earlier) in the same folder than lua51.dll, and 
the packages for windows 64 mingw (standard package and lua51 package) in the 
cpath folder. Both times, the error dialog occurs when i require 'iuplua'

Maybe there is another thing to do that i'm missing ? Do you mean there is a 
link to do between luajit and IUP ? 

ThanksJohann



Le dimanche 1 avril 2018 à 18:58:43 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  The proxy you download also exports the Lua internal functions marked with 
LUAI_FUNC. It seems that the lua51.dll you are using does not exports those 
functions. That's weird, we already used IUP with Lua JIT before and they work 
fine. But that was some time ago, maybe something has changed.
  You can not use two different Lua implementations in the same project, so you 
can not use the regular lua5.1.dll we provide along with your lua jit files. 
  What's the link you are using for Lua JIT?
Best,Scuri

2018-04-01 13:20 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 I put all the base package (dll) in my package.cpath folder, and also the 
lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the same 
folder than lua51.dll. Added "my/path/?51.dll" to package.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link libraryF:/Logiciels/luajit/luapower- 
all-master/bin/mingw64/lua5.1. dll"

Also tried with putting lua5.1.dll in the package.cpath folder, and it only 
returns in the console "iuplua51.dll the specified module couldn't be found"
Any idea where is the issue from ? 
Johann
Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   The Lua DLLs are separated by Lua version. So in the same place you find the 
base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP Source 
Forge page, click on Files, then the IUP version, then Windows, then dynamic. 
Then the lua version.
  But you can also use the DLLs from the tools executable. Just copy from the 
package you already have.
Best,Scuri



Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr> 
escreveu:

 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/ projects/luabinaries/files/5. 
1.5/Tools%20Executables/lua-5. 1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge. net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So,

Re: [Iup-users] IUP and Luajit

2018-04-01 Thread Johann Philippe via Iup-users
 I put all the base package (dll) in my package.cpath folder, and also the 
lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the same 
folder than lua51.dll. Added "my/path/?51.dll" to package.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link 
libraryF:/Logiciels/luajit/luapower-all-master/bin/mingw64/lua5.1.dll"

Also tried with putting lua5.1.dll in the package.cpath folder, and it only 
returns in the console "iuplua51.dll the specified module couldn't be found"
Any idea where is the issue from ? 
Johann
Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   The Lua DLLs are separated by Lua version. So in the same place you find the 
base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP Source 
Forge page, click on Files, then the IUP version, then Windows, then dynamic. 
Then the lua version.
  But you can also use the DLLs from the tools executable. Just copy from the 
package you already have.
Best,Scuri



Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr> 
escreveu:

 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/projects/luabinaries/files/5.1.5/Tools%20Executables/lua-5.1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge.net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users




  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-01 Thread Johann Philippe via Iup-users
 Also, another small misunderstanding. I could run IUP using the package of 
precompiled binaries (the one including lua5.1.exe etc), but for running with 
luajit, i don't understand what are the packages I have to download in order to 
put in my package.cpath folder. I think that precompiled dlls should be easier 
to run for me. But then which one download ? If i download the windows dynamic 
library, it contains the iup.dll, but not the iuplua51.dll, so where to find 
this one ? 
ThanksJohann
Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe 
<johannphili...@yahoo.fr> a écrit :  
 
  
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/projects/luabinaries/files/5.1.5/Tools%20Executables/lua-5.1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge.net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IUP and Luajit

2018-04-01 Thread Johann Philippe via Iup-users
 
Thanks, 
So the last one you sent was the right one ? (the one called lua5.1_proxy.dll). 
I guess i have to rename it lua5.1.dll and replace the old one with it ? 
Thanks a lot. Johann
Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  You can obtain the 64 bit proxy DLL from this package:
https://sourceforge.net/projects/luabinaries/files/5.1.5/Tools%20Executables/lua-5.1.5_Win64_bin.zip/download

  The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
Best,Scuri


2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users 
<iup-users@lists.sourceforge.net>:

Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe

-- -- --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
__ _
Iup-users mailing list
Iup-users@lists.sourceforge. net
https://lists.sourceforge.net/ lists/listinfo/iup-users



  --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] IUP and Luajit

2018-03-31 Thread Johann Philippe via Iup-users
Dear all, Sorry if i'm sending this mail to the wrong topic/object, i'm a 
newcomer in "sourceforge mailing lists" which i don't really understand. 
I'm currently trying to build IUP  to use it with luajit x64 (would be great if 
it could work for windows and linux). 
I saw and older topic from 2016 where it's adviced to link a lua5.1.dll proxy 
to lua51.dll. But i couldn't download those files, since the link is dead. And 
i don't really know how to create a dll proxy, and what it should contain. 
So, my question is simple:  what could be the best way to use IUP with luajit 
(x64) ? 
Thanking you in advance
Johann Philippe
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users