Author Topic: Help needed with checksums  (Read 4067 times)

0 Members and 1 Guest are viewing this topic.

JRS

  • Guest
Re: Help needed with checksums
« Reply #15 on: February 04, 2019, 08:47:06 AM »
Charles,

Is O2-Classic going to remain a FB centric branch or is the goal to merge O2-DEV into that branch?

Charles Pegge

  • Guest
Re: Help needed with checksums
« Reply #16 on: February 04, 2019, 09:50:06 AM »
Hi John,

Maintaining an extra branch is unsustainable, but we can keep the FB version as an ancestor.

The new o2 pads UDTs correctly, in compliance with C, and treats numeric equates as 32bit values by default, which required some adjustments to the include files.

JRS

  • Guest
Re: Help needed with checksums
« Reply #17 on: February 04, 2019, 11:01:15 AM »
I thought you were going to release a set of examples that were tested with self compile. It seems your direction is to use existing examples and slowly merge in self compile into the O2-Classic branch. I just need to know what your goals are so I can maintain the samdbox.

Actually the sandbox has little interest by anyone and maybe your Github repo is good enough?


I was unable to update the O2-Classic repo in the sandbox with the latest build. I get the following error which I don't understand.

Code: [Select]
fatal: unable to stat 'examples/OOP/Containers/.goutputstream-CHIKWZ': No such file or directory

I'm losing interest in the sandbox for O2 myself as well. My goal for 2019 is to stop wasting my time on efforts no one cares about. Sadly this is related to anything to do with BASIC. I'm jumping on board with everyone else that doesn't give a shit.
« Last Edit: February 05, 2019, 08:22:21 AM by John »

Aurel

  • Guest
Re: Help needed with checksums
« Reply #18 on: February 04, 2019, 02:08:42 PM »
Quote
which required some adjustments to the include files.

Charles
What kind of adjustment?
I don't like constant changes..i like stability  ::)
sorry if this sounds bitter or ...

One of the reasons why I use older versions :D

Charles Pegge

  • Guest
Re: Help needed with checksums
« Reply #19 on: February 06, 2019, 02:32:57 AM »
Hi John,

I think GitLab is more suited to specialised projects being developed in a corporate environment. For instance 3d-printing.

But I hope we can keep BASIC relevant and advantageous - not just an inferior counterpart of C++

Charles Pegge

  • Guest
Re: Help needed with checksums
« Reply #20 on: February 06, 2019, 02:59:54 AM »
Hi Aurel,

It mostly affects 64bit coding.

UDTs are padded out to the size of their largest primitive member.

For instance, in 32bit-mode this structure is 12 bytes long and requires no padding. But in 64bit-mode the members are 8+8+4 bytes rounded up to 8+8+8 = 24 bytes.
 
Code: [Select]
typedef struct tagNMHDR {
  HWND     hwndFrom; '8
  UINT_PTR idFrom; '8
  UINT     code; '4
'4 bytes padding
} NMHDR;


Also, Numbers and integer-equates are treated as 32bit values  (by default) in unprototyped calls.

This is necessary to prevent sign extension into 64bits: 0x80000000 becoming 0xFFFFFFFF80000000.

JRS

  • Guest
Re: Help needed with checksums
« Reply #21 on: February 06, 2019, 09:23:07 AM »
Saving BASIC is about as difficult as saving the planet from global warming. No one cares.

I'll keep the O2-DEV branch going in the sandbox as it has value determining what you fixed since the last update. It seems Roland has taken interest in testing the distribution's examples under self compile. If he wanted to maintain an examples project in the sandbox I would be happy to set him up to accomplish that.
« Last Edit: February 06, 2019, 11:14:39 AM by John »

Arnold

  • Guest
Re: Help needed with checksums
« Reply #22 on: February 07, 2019, 12:18:52 AM »
Hi John,

I would like to contribute in some way with the tutorial examples of IUP (now in the version 3.26). IUP is a powerful gui framework, and I think that IUP works well with OxygenBasic in 32-bit and 64-bit. The examples are well documented in the help file of IUP and the code can be compared with the LUA and C language. Due to the size of the required files (the DLLs should also be provided) this would most probably exceed the intent of Oxygenbasic.

But I can not do that as a maintainer, this goes way beyond my capabilities and interests. I have to finish the last major example in Chapter 3 of the tutorial and will then upload my work in the current state before I continue with Chapter 4. So you can decide if the project should stay in the sandbox.

Roland



JRS

  • Guest
Re: Help needed with checksums
« Reply #23 on: February 07, 2019, 09:13:16 AM »
Hi Arnold,

Just attach the IUP examples to a post and I'll create a project in the sandbox for it. Thanks for your contributions to the O2 project.

Are you doing anything with LED? I have no plans to create a local repo for the IUP sandbox project and use the sandbox web UI exclusively. I would be happy to set you up so you can do the same.
« Last Edit: February 07, 2019, 01:17:28 PM by John »