Recent Posts

Pages: 1 ... 8 9 [10]
91
Español / Re: [Tutorial] Cómo compilar el código fuente de HFS
« Last post by bmartino1 on November 24, 2018, 06:49:46 AM »
I have tested it and can confirm that this process works.

I will not that the warning messages were not 100% necessary to disable:
    - Deprecated Symbol
    - Platform Symbol
    - Return value of function might be undefined

I have created a sfx zip (self extracting exe zip file that contains the portable application, the lib files and current hfs source file 2.3m)
https://drive.google.com/file/d/1UntWvAcJcHgXMoHD14ThB7SQy2NGywtE/view?usp=sharing

*This zip has successfully built hfs and is also in the folder. you will have to delete hfs.exe form
%path% \TDLite\Projects\HFS\hfs.exe

run the portable application and build.

Thank you Leo for this, I will now be able to review the code a bit easier and may find the kink in the chain from my previous attempt form last attempt at this.
92
Beta / Re: version 2.4
« Last post by LeoNeeson on November 21, 2018, 09:04:16 AM »
if that's not enough, come back to me  ;)
Thank you, I appreciate your reply, but it's much better what you have proposed here: having automatic 'template revision' detection (without needed to modify any template). So, if TR2 is detected, then use old jQuery of v2.3m, and if TR3 is detected, then use new jQuery of v2.4. Even if I currently don't needed this change, programming is fun. 8)

Since now I can compile HFS by myself, I would like to experiment adding whatever idea comes to my mind, no matter how crazy the idea is. That's the fun of having your own fork or modification of something: experiment. That's why I've asked if you can share again (that) file, but if you don't have it (or whatever), don't worry, it's OK :) (I will try to implement it by myself).
93
Español / Re: [Tutorial] Cómo compilar el código fuente de HFS
« Last post by LeoNeeson on November 21, 2018, 09:02:45 AM »
(This space is reserved for future use, please ignore this)
[Espacio reservado para uso futuro, ignora este mensaje]
94
Español / [Tutorial] Cómo compilar el código fuente de HFS
« Last post by LeoNeeson on November 21, 2018, 09:00:23 AM »
[Tutorial] Cómo compilar el código fuente de HFS

Por primera vez en la historia de este foro, me gustaría compartir con ustedes el proceso de compilar el código fuente de HFS, de la manera más simple posible para que cualquiera de ustedes pueda realizarlo sin problemas. Se recomienda previamente ver ESTE video tutorial (en formato GIF animado, de 1,56 MB que también puedes descargar de aquí), para poder previsualizar en apenas 5 minutos todo el proceso completo. Luego puedes seguir las instrucciones que dejo a continuación.

Simplemente sigan estos pasos:

1] Descarga el 'Portable Turbo Delphi Lite v1.0d', de aquí.
2] Descarga el 'Paquete de componentes' requeridos HFS, de aquí.
3] Descarga el 'Código fuente' de la última versión de HFS, de aquí.
4] Instala y/o descomprime el ejecutable del paso uno, en: C:\Portable\TDLite
5] Descomprime el archivo del paso dos, en esta carpeta: C:\Portable\TDLite\lib
6] Descomprime el código fuente de HFS, del paso tres, aqui: C:\Portable\TDLite\Projects\HFS
7] Inicia Turbo Delphi abriendo "TDrun.exe" o utilizando el acceso directo del escritorio.
8] Ve al menú 'Tools' y haz click en 'Options...' y se abrirá una nueva ventana.
     Allí, ve a: 'Environment Options' > 'Delphi Options' > 'Library - Win32'.
     Ahora en 'Directories' > 'Library path:' reemplázalo con la siguiente ruta:

Code: [Select]
$(BDS)\lib;$(BDS)\lib\Obj;$(BDS)\Imports;$(BDS)\lib\DelphiZLib.128;$(BDS)\lib\FastMM4991;$(BDS)\lib\GifImaged2010b;$(BDS)\lib\JCL1_22\source;$(BDS)\lib\Kdl32;$(BDS)\lib\OverbyteIcsV7Gold\Delphi\Vc32;$(BDS)\lib\TRegExpr\Source;$(BDS)\Projects\HFS;
9] Ahora ve al menu 'File' y haz click en 'Open Project...' y abre el archivo 'hfs.bdsproj'.
10] Luego ve al menu 'Project' y haz click en 'Options...' y se abrirá una nueva ventana.
       Allí, haz click en 'Compiler Messages' y luego en 'Warnings', desmarca o deselecciona los siguientes items:

Code: [Select]
    - Deprecated Symbol
    - Platform Symbol
    - Return value of function might be undefined

(Este paso número 10 es enteramente opcional, pero se recomienda hacerlo. Si no lo haces, encontrarás 32 o 33 advertencias ó 'Warnings' de Delphi, al momento de compilar, pero ésto no afecta en absoluto el proceso de compilación y obtendrás el mismo y funcional ejecutable. Éstas advertencias no son importantes, sino informativas).

11] Finalmente, ve al menu 'Project' y haz click en 'Build hfs' y todo se compilará.
       Una vez compilado, verás (en un texto en negrita): 'Done: Build All', haz click en 'OK' y habrás concluído.
       Encontrarás tu nuevo ejecutable hfs.exe en ésta carpeta: C:\Portable\TDLite\Projects\HFS

12] Que lo disfrutes! :)

Si necesitas un programa para descomprimir, puedes utilizar 7-Zip.

Si necesitas o deseas instalar todo en otra carpeta (para tener todo en un pendrive USB), es mejor que completes los pasos uno al seis desde las ubicaciones indicadas, y que luego antes de efectuar el paso siete, muevas toda la carpeta al dispositivo USB que quieras. De ésta manera, te aseguras de no equivocarte con las ubicaciones de carpeta. Desde luego, si eliges otra carpeta deberás cambiarla en todos los pasos, EXCEPTO que no debes modificar la ruta del paso ocho (ya que el programa auto-detectará la nueva ubicación).

» RENUNCIA DE RESPONSABILIDAD: No me hago responsable de ningún daño o desconfiguración de su PC. Siempre haga una copia de seguridad primero y tenga en cuenta que este tutorial se realizó en una computadora con un Windows recién instalado. Si ya tiene instalada alguna versión de Delphi, tenga en cuenta que ejecutar esta versión portátil de 'Turbo Delphi' podría ocasionarle problemas (así que evite usarla en una PC con Delphi instalada). Mis archivos subidos no fueron modificados por mí, y están libres de virus, pero debe comprobar las sumas de verificación MD5 para asegurarse que los archivos que ha bajado sean los mismos:

Quote
hfs2.3m.src.zip / MD5: AE2C3025B36FFF2BC72DB5FF7784C4BD
HFS.Libraries.zip / MD5: 7751002A930B7C211BFC1F9C7AA1853C
PortableTurboDelphiLiteInstaller10d.exe / MD5: 9B24FA6BD91FAF9ACA8AEA78B90AEF07
(Puedes utilizar el freeware HashCheck para verificar las sumas de comprobación MD5 de los archivos que has descargado)

» HFS.Libraries.zip / Enlaces de descarga:
https://www.4shared.com/s/fsY2jRS7Tda
http://www.mediafire.com/?z32tkfzezfx36i7

Siéntete libre de dejar cualquier comentario o pregunta si tienes alguna duda, y por favor reporta cualquier error o problema que encuentres al momento de compilar. Se aprecia todo tipo de comentarios, críticas constructivas, o sugerencias de cualquier tipo (tu comentario me da más ánimo para seguir publicando nuevos tutoriales).

Saludos,
Leo.-
95
Programmers corner / Re: [Tutorial] How to compile the HFS's Source code
« Last post by LeoNeeson on November 21, 2018, 08:12:55 AM »
With this, I could say that I'm a 'virtual member' of the group of users who can compile HFS, and I hope I could contribute in the future (to Rejetto) with small and tested modifications (that's in the case he likes something I could do, but if he don't, at least I will publish it here so anyone could benefit of it). For the time being, I don't plan to implement any change (I currently don't have too much free time, and I've spent too much time and energy on getting everything working, along with doing this tutorial for the benefit of anyone who could be interested on compile HFS).

I encourage that any member, with a basic level of Pascal/Delphi knowledge, feel free to join the virtual group of 'compilers/programmers', contributing (here on the forum) with any change, modification or enhancement that could have in mind (even leaving new ideas). That doesn't mean Rejetto automatically would incorporate those new ideas in HFS, but perhaps if something is good enough, he could take some of those contributions. Team work is always positive in the open source world. ;)

Cheers,
Leo.-
96
Programmers corner / Re: [Tutorial] How to compile the HFS's Source code
« Last post by LeoNeeson on November 21, 2018, 07:15:04 AM »
(This space is reserved for future use, please ignore this)
97
Programmers corner / [Tutorial] How to compile the HFS's Source code
« Last post by LeoNeeson on November 21, 2018, 07:04:05 AM »
[Tutorial] How to compile the HFS's Source code

As the result of this, and for the first time ever, I would like to publish the complete process of compiling the HFS's Source code (as simple as possible, step by step, so everyone could do it). It's recomended to watch first THIS video tutorial (download size: 1.56 MB, in GIF format), to see the enterelly compilation process. Then, just follow these steps:

1] Download 'Portable Turbo Delphi Lite v1.0d', from here.
2] Download the 'Library pack' required by HFS, from here.
3] Download the latest 'Source code' file of HFS, from here.
4] Install and/or unrar the exe of the step one, on: C:\Portable\TDLite
5] Unzip the file from the step two, on this exact folder: C:\Portable\TDLite\lib
6] Unzip the source code file of HFS, from step three, here: C:\Portable\TDLite\Projects\HFS
7] Start Turbo Delphi by opening the file "TDrun.exe" or using the shortcut on your desktop.
8] Go to the menu 'Tools' and click on 'Options...' and the 'Options' window will open.
     There, on go to: 'Environment Options' > 'Delphi Options' > 'Library - Win32'.
     Now on 'Directories' > 'Library path:' replace it with the following path:

Code: [Select]
$(BDS)\lib;$(BDS)\lib\Obj;$(BDS)\Imports;$(BDS)\lib\DelphiZLib.128;$(BDS)\lib\FastMM4991;$(BDS)\lib\GifImaged2010b;$(BDS)\lib\JCL1_22\source;$(BDS)\lib\Kdl32;$(BDS)\lib\OverbyteIcsV7Gold\Delphi\Vc32;$(BDS)\lib\TRegExpr\Source;$(BDS)\Projects\HFS;
9] Go to the menu 'File' and click on 'Open Project...' and locate the file 'hfs.bdsproj'.
10] Go to the menu 'Project' and click on 'Options...' and the 'Project Options' will open.
       There, click on 'Compiler Messages' and on 'Warnings', uncheck the following items:

Code: [Select]
    - Deprecated Symbol
    - Platform Symbol
    - Return value of function might be undefined

(This entirely step 10 is optional, but recommended. If you don't do it, you will encounter 32 or 33 Warnings on compiling time, but this doesn't affect the compilation process and you will get the very same functional executable. Those warnings are not important, but informative).

11] Finally, go to the menu 'Project' and click on 'Build hfs' and wait the process to finish.
       Once finished, you will see (in bold text): 'Done: Build All', click on 'OK' and it's done.
       You will find the new executable hfs.exe on this folder: C:\Portable\TDLite\Projects\HFS

12] Enjoy! :)

If you need a tool to unzip/uncompress, you can use 7-Zip.

If you want to use another folder path location (for example to run it from a USB drive), it's better you complete steps one to six from those locations, and then move that folder to the USB before running step seven. This way, you don't mess up with folder locations. Of course, if you choose another folder, you need to change the path in all the steps, but do NOT change the path of step eight (since it will auto-detect the new location).

» DISCLAIMER: I'm not making me responsible for any damage or miss-configuration on your PC. Always backup first, and keep in mind this tutorial was done on fresh installed Windows computer. If you already have any version of Delphi, running this portable version of 'Turbo Delphi' could lead you to problems, so avoid using it on a PC with Delphi installed. My uploads are untouched and virus free, but you must re-check that the MD5 file checksums are the same, as follows:

Quote
hfs2.3m.src.zip / MD5: AE2C3025B36FFF2BC72DB5FF7784C4BD
HFS.Libraries.zip / MD5: 7751002A930B7C211BFC1F9C7AA1853C
PortableTurboDelphiLiteInstaller10d.exe / MD5: 9B24FA6BD91FAF9ACA8AEA78B90AEF07
(You could use the freeware HashCheck to verify the MD5 file checksums)

» HFS.Libraries.zip Download link:
https://www.4shared.com/s/fsY2jRS7Tda
http://www.mediafire.com/?z32tkfzezfx36i7

Feel free to leave a comment or ask any question if you have doubts, and also report if you find any problem when compiling, or if you need further help.

Cheers,
Leo.-
98
Programmers corner / Re: Friendly petition to Mars and or to any programmer
« Last post by LeoNeeson on November 21, 2018, 07:00:02 AM »
I'm barely having free time to build/compile HFS, but one day I promise I'll be testing all this.
...and today WAS the day! :)
Result: EPIC WIN! :D

               

...and now feel the taste of my favorite victory song!
...or more modern victory song that reflects my attitude.
...and the same song, but a version exclusively made for Mars.

(This is just joking, I know compiling a software is not a big deal, but those third-party components drove me crazy)



The danger is to see versions pirate of hfs with bugs or viruses, it is preferable that only rejetto is capable of compiling hfs exept to help him to developphis program
Got you!! Now I clearly do understand the reason of all your "kind" and silent collaboration! (everything fits like a puzzle). Ohhh, are you worried now? Now I can compile HFS too!...


Congratulations Mars, you've earned this certificate!
YES!! Now this thread makes sense and can be closed!
[Just a joke, I know Mars & Rejetto could open it again]

I know that message is ten years old, but you seem to keep that idea still today. Following your idea, you could also find a pirate versions of Firefox, FileZilla, ReactOS, and literally hundreds of thousands of another open source software (even more in the Linux world, where is common to build your own software, or compile the kernel). I don't understand what meaning you give to the word "pirate", but if it's because malware, you don't need to build/compile a software to infect it. Any programmer (like you are), should already know that.

And since I've wasted almost ALL my precious saturday afternoon (again, all thanks for the kindness, gratitude and friendliness of Mars), I'm sharing now a complete, detailed and foolproof tutorial guide (for fools like me), so ANYONE could now compile HFS in just a few minutes (with no more pain). For an open source world community, directly from my hearth, click HERE...  :P

@Mars: this is the part were I give you my 'official apologies' for the jokes or comments out-of-place, but those days I felt REALLY bad and sad (and all because I was expecting way much more help from an intelligent and adult user like you). I hope you have not felt offended. The process of compiling HFS was very painfully for me (and searching the whole forum I did found other users with the same problems), and I had to deal with several errors (mostly because having incorrect component versions or putting those archives on wrong locations), and several hours were wasted before being able of getting a proper compilation. Sorry to be so hard on you, but I hope you can understand me how bad I felt because that (next time, keep in mind that an SMALL help could mark a BIG difference).



Now, the serious notes:

jclNTFS is not listed in dev-notes because it was an experiment, introduced few days ago.
i removed it, so you won't need it in next release, that will be this week.
This gave me a big headache, since this component was not listed on dev-notes ("developer notes.txt"), and IMHO it should be listed there. In that old post you said that you have removed it, but latest v2.3m was still using it. I wish you had uploaded all the libs before, since it took me some time figuring out that the "JEDI Code Library" v1.22 was necessary. Anyway, it's OK now, since I did a tutorial about compiling HFS, here. ;)

@Rejetto: As a suggestion, it would be great if you keep your dev-notes (text file) updated, with the current component versions used (in case you use another more recent versions and you haven't updated that file).
99
Beta / Re: version 2.4
« Last post by Mars on November 19, 2018, 05:03:27 PM »
I do not know which version it was, but we can work around the problem more simply to perform compatibility tests (as could have suggest rejetto)

add a JQUERY folder to the vfs by configuring it as HIDE

put the two files jquery.min.js jquery2.min.js inside

change the reference in every template
<script type="text/javascript" src="/?mode=jquery"></script>

towards
<script type="text/javascript" src="/jquery/jquery.min.js"></script>    -->  hfs23.tpl
or
<script type="text/javascript" src="/jquery/jquery2.min.js"></script>  -->  hfs24.tpl

so it is not necessary to make a change in the exe

if that's not enough, come back to me  ;)

100
Beta / Re: version 2.4
« Last post by LeoNeeson on November 19, 2018, 10:12:05 AM »
use this link to load a demo version
@Mars: This link is down. Could you please upload/share it again?... :)
Pages: 1 ... 8 9 [10]