Feed aggregator

#687 DRAW doesn't remember subpixel positions

fbc bugs - 8 hours 27 min ago
  • status: closed --> open

#687 DRAW doesn't remember subpixel positions

fbc bugs - 8 hours 27 min ago

It looks like the fix introduced a regression (or exposed another issue):

http://www.freebasic.net/forum/viewtopic.php?p=201990#p201990

screen 12 draw "BR20 BD20 G4 H4" line (20, 36) - (16, 40) line (16, 40) - (12, 36) sleep

The DRAW's G and H commands (for drawing diagonal lines down+left and up+left) seem to have rounding issues; they produce "steps" instead of a clean diagonal line of pixels. For comparison, the two LINE commands show what the DRAW should have produced.

It seems to be context-sensitive; for example, with this DRAW, G works ok, but H still has the issue:

screen 12 draw "BM20,20 G4 H4" line (20, 36) - (16, 40) line (16, 40) - (12, 36) sleep

#742 x86_64: hardcoded-library-path

fbc bugs - Mon, 10/20/2014 - 02:28

Will you implement option for build and install? For example, libdir= and the 3rd parameter for install.sh.

#742 x86_64: hardcoded-library-path

fbc bugs - Sun, 10/19/2014 - 20:27

According to file system standard that's true, but it also depends on distro, doesn't it? For example Debian/Ubuntu with multiarch layout uses /usr/lib/x86_64-linux-gnu. Although I think even there /usr/lib64 still exists (and is one of the linker's default search dirs).

FreeBASIC will currently use:
bin/fbc
lib/freebasic/linux-x86
lib/freebasic/linux-x86_64
lib/freebasic/linux-arm
lib/freebasic/linux-aarch64
lib/freebasic/win32
lib/freebasic/win64
which I think is pretty nice.

In a way it's similar to gcc which can also have both 32bit and 64bit libraries in the same directory under a multilib setup. An example from my OpenSUSE x86_64:
/usr/lib64/gcc/x86_64-suse-linux/4.8/
/usr/lib64/gcc/x86_64-suse-linux/4.8/32/
(note the 32bit libs under /usr/lib64)

And it's worth noting that the libraries in lib/freebasic/ are "private" ones, that will be statically linked (currently anyways) (so it's somewhat similar to gcc's libgcc.a).

Honestly I'm not sure what to do yet. I'd prefer keeping it as-is, but if it's really necessary then we can also use lib64 for 64bit stuff:
bin/fbc
lib/freebasic/linux-x86
lib/freebasic/linux-arm
lib/freebasic/win32
lib64/freebasic/linux-x86_64
lib64/freebasic/linux-aarch64
lib64/freebasic/win64

x86_64: hardcoded-library-path

fbc bugs - Sun, 10/19/2014 - 18:56

FreeBasic installed in /usr/lib for x86_64, but it is against policy for packaging x86_64 libraries. You should use /usr/lib64.
hardcoded-library-path in %{_prefix}/lib/freebasic

ProPgProcedurePointers

wiki changes - Sun, 10/19/2014 - 08:46
2014-10-19 10:46:34 by FxMwikki - Added link to a calling example of subroutine pointer

ProPgProcedurePointers

wiki changes - Sat, 10/18/2014 - 07:34
2014-10-18 10:34:48 by FxMwikki - Better define what is "pfunc.bi"

KeyPgData

wiki changes - Sat, 10/18/2014 - 04:14
2014-10-18 07:14:36 by FxMwikki - Data statements must be only entered in module-level code

incorrect-fsf-address

fbc bugs - Fri, 10/17/2014 - 14:39

incorrect-fsf-address, for example, sndfile.bi, gdbm.bi

Add -gsymbolsonly command line option

fbc commits - Wed, 10/15/2014 - 16:43

Add -gsymbolsonly command line option
View Changes

KeyPgEvent

wiki changes - Wed, 10/15/2014 - 11:02
2014-10-15 14:02:33 by DkLwikki - EVENT (message data from ScreenEvent)

CatPgGfx

wiki changes - Wed, 10/15/2014 - 11:02
2014-10-15 14:02:14 by DkLwikki - EVENT (message data from ScreenEvent)

CatPgFunctIndex

wiki changes - Wed, 10/15/2014 - 11:01
2014-10-15 14:01:38 by DkLwikki - EVENT (message data from ScreenEvent)

CatPgFullIndex

wiki changes - Wed, 10/15/2014 - 11:00
2014-10-15 14:00:58 by DkLwikki - EVENT (message data from ScreenEvent)

CatPgFunctIndex

wiki changes - Tue, 10/14/2014 - 08:35
2014-10-14 11:35:03 by DkLwikki - Link to KeyPgEvent

CatPgGfx

wiki changes - Tue, 10/14/2014 - 08:34
2014-10-14 11:34:19 by DkLwikki - Link to KeyPgEvent

CatPgFullIndex

wiki changes - Tue, 10/14/2014 - 08:33
2014-10-14 11:33:13 by DkLwikki - Link to KeyPgEvent

KeyPgEvent

wiki changes - Tue, 10/14/2014 - 08:30
2014-10-14 11:30:24 by DkLwikki - Formatting

readme: Remove libgpm-dev package from Linux installation instructions

fbc commits - Mon, 10/13/2014 - 13:25

readme: Remove libgpm-dev package from Linux installation instructions
View Changes

CompilerInstalling

wiki changes - Mon, 10/13/2014 - 08:36
2014-10-13 11:36:24 by DkLwikki - Update for 64bit

Pages

Subscribe to FreeBASIC Programming Language aggregator