[AD] Bug in docs (events.txt)

2017-01-19 Thread Edgar Reynaldo
Hey guys, Here's a small patch to fix a bug in the docs. There were some missing newlines which caused the events doc to display incorrectly on the ALLEGRO_EVENT_TOUCH_BEGIN event. Patch attached. docs/src/refman/events.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

[AD] Docs fail to build (make_doc.c)

2017-01-19 Thread Edgar Reynaldo
Hi guys, In latest git, system.html fails to build correctly due to a bug in make_doc.c. The allegro5.cfg file is opened in "r" mode and not "rb" mode, so ftell does not correctly report the length of the file and it causes it to abort when building system.html. Patch attached.

[AD] Fwd: RE: Working on ex_threads, d3d_display_format.cpp, tls.c

2016-08-21 Thread Edgar Reynaldo
This message wasn't sent to the mailing list, so I'm forwarding it on. Forwarded Message Subject:RE: [AD] Working on ex_threads, d3d_display_format.cpp, tls.c Date: Sun, 21 Aug 2016 17:37:56 -0600 From: tr...@nooskewl.ca To: Edgar Reynaldo <edgarre

Re: [AD] Strange timer behavior in 5.2.1.1

2016-08-21 Thread Edgar Reynaldo
On 8/21/2016 3:41 PM, tr...@nooskewl.ca wrote: Thanks for reporting this. Looks like I messed this up. I think this patch will fix it: diff --git a/src/timernu.c b/src/timernu.c index 9179969..66f1c33 100644 --- a/src/timernu.c +++ b/src/timernu.c @@ -104,6 +104,7 @@ static void

Re: [AD] Timing issue in 5.2.1.1

2016-09-02 Thread Edgar Reynaldo
Hey Trent, That second patch you made for the timing issue fixed the problems Neil was having. For reference it was line 107 of timernu.c, and this was the fix : old_time = al_get_time() - interval; Thanks a lot for looking into this. I'll recompile and make a new binary release

[AD] Allegro 5.2.1.1 + latest MinGW = off_t undefined

2016-10-08 Thread Edgar Reynaldo
Hello, I started a thread about this on a.cc : https://www.allegro.cc/forums/thread/616526 Basically, when you compile an allegro program with the latest MinGW runtime (3.21.1 or 3.22.2) and use -std=c++11, you get errors saying off_t is undefined. mingw/include/sys/types.h defines off_t, but

Re: [AD] Lua bindings for Allegro 5.2

2016-11-06 Thread Edgar Reynaldo
t did you need to do to get it done? If you're so kind, I would love it if you put a SWIG tutorial up on allegro.cc for me to learn from. I would really appreciate it if you had the time. I'll take a closer look at your binding here over the next few days when I have time. Thanks a

Re: [AD] al_set_target_bitmap and transforms

2016-10-23 Thread Edgar Reynaldo
, Edgar Reynaldo wrote: Hey people, I was just wondering, what happens when al_set_target_bitmap is called with respect to transformations? I assume since each bitmap has its own transforms, that they are made current when al_set_target_bitmap is called? I see a call to new_display->

Re: [AD] Adding a preferred window adapter parameter for going fullscreen window

2016-11-27 Thread Edgar Reynaldo
On 11/26/2016 01:04 PM, Edgar Reynaldo wrote: Hello guys, I was wondering if it would be possible to add a member to the ALLEGRO_DISPLAY_WIN struct called 'preferred_window_adapter'. This would allow us to go fullscreen window on any monitor, instead of only being able to go fullscreen window

[AD] liballeg.org server slow as molasses

2016-11-18 Thread Edgar Reynaldo
I've been noticing this for a long time, but whenever I go to visit a doc page on the liballeg.org website, it just sits there loading and loading forever. It takes anywhere between 10 seconds and a minute just to load a single doc page. For example just now I tried to load the page

[AD] Not receiving my own posts to the mailing list

2016-11-18 Thread Edgar Reynaldo
I've tried several times several different ways to receive my own posts to the AD mailing list. I've tried setting this option to on via the Web interface. I've tried sending an email to allegro-developers-requ...@gna.org with the subject "set myposts on" and this fails with "Not

Re: [AD] Additional opengl functions

2016-10-31 Thread Edgar Reynaldo
than just 'f' (e.g. following the 'al_map_rgb_f' example). -SL On 10/24/2016 11:44 AM, Edgar Reynaldo wrote: Hey guys, I've been working with Allegro and OpenGL a bit lately, and I found that the following additions to allegro/src/opengl/ogl_bitmap.c and allegro/include/allegro5/allegro_opengl.h

Re: [AD] All D3D shader examples crash in EndPass

2016-12-03 Thread Edgar Reynaldo
On 12/2/2016 10:28 PM, Elias Pschernig wrote: You can compile with mingw without dx9mgw.zip (which is really outdated at this point). There's instructions here for example, using the DirectX libs/headers included with mingw: https://wiki.allegro.cc/index.php?title=Building_with_msys2

Re: [AD] Fwd: Re: Additional opengl functions

2016-11-30 Thread Edgar Reynaldo
TrentG said : Nobody finds them useful, don't have a hissy fit... Everything is already available and we don't need repetitive bloat. Please don't reply with another rant. I wasn't ranting, and I wasn't having a hissy fit. SiegeLord originally said he could be swayed to include them. Since I

Re: [AD] Adding a preferred window adapter parameter for going fullscreen window

2016-11-30 Thread Edgar Reynaldo
On 11/27/2016 7:46 PM, SiegeLord wrote: On 11/27/2016 12:50 PM, Edgar Reynaldo wrote: It's not the unmaximize behavior, it's the switch from fullscreen window to window (al_set_display_flag(display , ALLEGRO_FULLSCREEN_WINDOW , false). The restore behavior (al_set_display_flag(display

Re: [AD] All D3D shader examples crash in EndPass

2016-12-02 Thread Edgar Reynaldo
On 12/1/2016 8:59 PM, tr...@nooskewl.ca wrote: On Thu, December 1, 2016 5:58 pm, Edgar Reynaldo wrote: As reported before a while ago, all of the shader example programs crash when using D3D and HLSL. The shaders all compile and build fine, but crash when attempting to draw them. Every

[AD] errno_t and strerror_s non-standard types - cmake incorrectly detects strerror_s when not present

2016-11-30 Thread Edgar Reynaldo
I recently updated cmake to the latest version (3.7.1) after finding out that cmake is incorrectly detecting strerror_s in MinGW 5.3.0 when it doesn't exist in MinGW. errno_t and strerror_s are used in file_stdio.c on line 302 when ALLEGRO_HAVE_STRERROR_S is defined. It is defined by a check