AfterAJAX for WebDev 14
Jul 24th
AfterAJAX is a Javascript function that will allow you to execute javascript after that ajax process of a button is done.
It is available for WebDev 14 30A140030f. For WebDev, AWP and PHP.
To implement it:
- Download it from here.
- Extract it.
- Import the file WBAJAX.wwn into your WebDev project.
How to use it:
- Create a browser procedure without parameters to execute after AJAX is done. For example, i’m gonna call it MiProcedure.
- Right before an AJAX event is goin to execute, call AfterAJAX with the name of your procedure to execute. Following our example: AfterAJAX(“MiProcedure”)
- Done. Your procedure will be executed after the AJAX is done and after all form values are filled in with new values.
This piece of software is released under the HPL v1.0 license.
C`yall
Yuu Diagram Editor “wannabe”
Jun 9th
Sniffing on my backups i found this program i made back in WinDev 11 when i was learning WinDev. I’ve converted it to WinDev 15.
It’s not complete, it just let you draw Actors and Use Cases and it doesn’t even allow you to change it’s names. But i think it work very well as a base to create a diagramming tool, it is programmed in OOP, and is very easy to extend and complement new features. It was created to support unlimited Undo/Redo but i don’t remember if that was implemented.
It is mostly in spanish, but i know u’r smart people that can manage that.
Here is the binary demo.
Here is the source code.
Again, it’s released under the HPL v1.0 license.
C’yall
WinDev: Horde3D Bindings
Jun 6th
I have started this bindings some time ago (since December 2009). Back then i started them on WinDev 14.
I didn’t released the bindings back then because i had a very strange and annoying bug that i couldn’t solve. I tryed to solve the bug agean on February with bad luck.
This week was released WinDev 15, so i tryed agean (maybe a newer version could help)… The new version didn’t helped, the bug was still there, so i decided to debug the problem with Visual Studio C++.
And yes, the problem was mine, i was sending 8-byte reals instead of 4-byte reals, so the problem is solved now, and everything is working as expected.
I have ported the Knight Sample and the Chicago Sample to WinDev.
You can download the binarys here.
You can download the source code here.
DISCLAIMER: As with other products i release, MY code is released under the Hilario Public License. This means YOU can change the Author name and say it’s yours, i won’t blame you. Just dont call me if it chashes your computer or burns your house. Oh, and any donation is welcome
.
Another note: The code will ONLY work with WinDev 15. I won’t change it to work with newer versions. So you can contact me to upgrade from previous versions
.
Another note: The source code archive DOES NOT contain the Content folder nor the Horde3D libraries. The binary DOES contains these files.
Another note: Horde3D was NOT made by me. It was made by a very cool guys here. I just wrote the bindings for WinDev 15.
Another note: The binary version contain files from Horde3D engine. Please read their license here.
Hope you like it.
C’yall
What i’m working on…
Feb 26th
I’ve not posted something for a looong time…
I’m working on several spare-time projects… Let me list them:
- A PSK/PSA Exporter for Blender (Blender -> UDK). The PSK is mostly complete, maybe 90% or so… PSA is about 20%. This project is in semi-active state…
- DemoDev, a video recorder/editor and FLV creator. This will be a commercial product from my own creation… 99% developed on WinDev. Don’t worry, it will be VERY cheap, and i will also sell the source code (thought not cheap) to people that needs this functionality on their own apps. Its about 30% development. I’ve finished the video/audio capturer, the timeline view, and the exporter (needs some improvement in performance, but it is quite fast and can be compared to other commercial tools). I still need to work on the frame editor, put bubbles, change times on the timeline, change cursor positions, add special effects, etc… That will be the most time-consuming part, i am trying to make some prototypes and figure out some parts… This project is on hold until i make un my mind…
- UR3, an UnrealScript editor, with syntax highlighting, auto-complete, outline, debugger and profiling tools. Currently i’ve finished the first part of the editor, you can create a project, define the UDK directory and see the current library (all the /Development/Src/%X%/Classes files). Right now i’m working on an ANTLR grammar for UnrealScript. Just a LOT of work, since i have very poor experience with UnrealScript, and i’m figuring out some syntax options… The grammar is about 70% done, most part is done. Just got into the Left Recursion problems, hehe, nothing offworld just a little mind work. I’m really learning UnrealScript, it’s pretty easy and intuitive. Why am i doing this project? Because there are only two “nice” UnrealScript IDE’s: WOTgrel and nFringe… WOTgrel is not good for me (i don’t liked it), and nFringe is VERY expensive (above 2K USD) and it is based on Microsoft Tools (wich i hate). I’m making UR3 as part of an Eclipse plugin (i love eclipse’s coding experience =D). I don’t know if i’ll give UR3 for free or i’ll license it… But if i license it, it will be VERY cheap. It will depend on the final quality of the product…
As you can see, i’m very interested on UDK because me and some friends are working on a game project (since about a year of planning), so we decide to go with UDK… So, all money i receive from tools will go directly to fund our indie game development company… I’ll try to post screenshots of what i’m doin’ as soon as i have something “pretty”…
C’yall
WinDev: FLVEncoder
Nov 3rd
Hi, today i’m posting a FLV Video Encoder written in W-language…
It works on WinDev, WebDev and WinDev Mobile.
It is not meant to be fast, it was just the first iteration, another proof that you can do anything on WinDev.
You can find the Download here.
It uses the ScreenVideo codec, and it has been tested with flvcheck, and passed all tests.
NOTE: It creates FLV files, not SWF files, and with the ScreenVideo codec, this means that you cannot play the FLV file on all players, for example, i couldn’t played it with VLC, GOM and Windows Media Player… But i played it well with an SWF player named EasyFLV FLV Player.
Currently the source code is a mix between english and spanish… sorry for that, i’ll polish it latter…
Here is a code snippet on how to use the code:
// First step is to create our Encoder... The FLV Encoder is tought
// to support multiple encoders
// But right now only ScreenVideo is finished...
// We need to tell the Encoder that the image is on IMG_Captura,
// and the difference mask between
// the current image and the last image is on IMG_Mascara
// Also we specify the width and height of each box (internal ScreenVideo encoder workings...)
// Just be sure to specify 64, 128, 256, 512
Senc is ScreenVideoEncoder dynamic = new ScreenVideoEncoder(IMG_Captura..Name, IMG_Mascara..Name, 256, 128)
// Now we create the actual FLV Encoder, and we tell him that
// it would encode the video using the ScreenVideoEncoder that we just created
// We also tell him that the total video time is 8 seconds
FlvEnc is FLVEncoder dynamic = new FLVEncoder(Senc, 8 )
// We Start the Encoding (initialize global state)
FlvEnc.StartEncode()
// Previous image used
sNomAnt is string = ""
// 9 frames, frame for second 0, 1, 2, 3, ... 8, 8 seconds in total
FOR i = 0 _TO_ 8
// We name our actual image: SSHOT_0001.png
sNomImg is string = "SSHOT_" + NumToString(i, "04d") + ".png"
// Routine for generating the IMG_Mascara
// And assigning IMG_Captura, its something like this:
// IMG_Referencia = sNomAnt
// IMG_Captura = sNomImg
// dCopyBlt(IMG_Referencia, IMG_MascaraSaved)
// dCopyBlt(IMG_Captura, IMG_MascaraSaved, copySrcInvert)
// dCopyBlt(IMG_MascaraSaved, IMG_Mascara, copySrcCopy)
GenerarImagenes(sNomAnt, sNomImg)
// We move the time... It's measured in milliseconds
FlvEnc.SetTimestamp(i * 1000)
// Check if it's the first frame
IF i = 0 THEN
// If it's the first frame, render all the frame
FlvEnc.EncodeFrame(VideoEncoder::Keyframe)
ELSE
// If it's NOT the first frame, render only the differences
// using IMG_Mascara as the Mask image
FlvEnc.EncodeFrame(VideoEncoder::Interframe)
END
sNomAnt = sNomImg
END
// Encode the final video to "video.flv"
FlvEnc.EndEncode("video.flv")
Currently the FLVEncoder only encodes Video, i’ll program the Audio part later…
As i said, it’s VERY slow, i made this in about 5 hours, most of the time reading the FLV spec pdf… Use it at your own risk, you can use it in any project, it doesn’t have any license restrictions, but i would like to recive a notice that you are using, or that it was useful for your project.
C’yall
WolfBit.com goes Live!
Oct 25th
Hi everyone, this is my first post, and wolfbit.com is goin’ live!
This site is to shout out loud everything i used to make for myself. I am constantly developing new pieces of software, but i have never released them to the public… They just get forgotten on my hard drive, and eventually they got erased or lost.
I hope you find handy this web site, as i enjoy posting things.
I’m not an all-knowing human as i’m still learning new things everyday…
C’yall
