aros:aros.git
10 years agogcc: force failure of test for writev
deadwood [Fri, 20 Sep 2013 19:26:29 +0000 (19:26 +0000)]
gcc: force failure of test for writev

This tests was succeeding on i386 host building i386 crosscompiler
causing the generated libstdc++.a to have unresolved symbols.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48111 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoFix for a crash because of too long font file names.
mazze [Thu, 19 Sep 2013 21:05:46 +0000 (21:05 +0000)]
Fix for a crash because of too long font file names.
Previous version allocated some buffers with MAXFONTNAME
but didn't check for buffer overruns.
It seems that diskfont.library doesn't use MAXFONTNAME
anymore, so that font name sizes up to MAXFILENAMELENGTH
are now possible. Therefore we are now using MAXFILENAMELENGTH
as buffer size for font file names.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48110 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDetabbed.
mazze [Thu, 19 Sep 2013 19:52:44 +0000 (19:52 +0000)]
Detabbed.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48109 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated status of Scrollgroup.mui.
neil [Thu, 19 Sep 2013 14:31:47 +0000 (14:31 +0000)]
Updated status of Scrollgroup.mui.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48108 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoImplemented OM_GET method. Supports
neil [Thu, 19 Sep 2013 00:44:45 +0000 (00:44 +0000)]
Implemented OM_GET method. Supports
MUIA_Scrollgroup_(Contents|HorizBar|VertBar) attributes.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48105 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated from source code.
mazze [Wed, 18 Sep 2013 06:38:01 +0000 (06:38 +0000)]
Updated from source code.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48104 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agomake.tmpl build_module: made linklibname modname compare case insensitive to avoid...
weissms [Tue, 17 Sep 2013 18:27:39 +0000 (18:27 +0000)]
make.tmpl build_module: made linklibname modname compare case insensitive to avoid having libglu.a and libGLU.a

git-svn-id: https://svn.aros.org/svn/aros/trunk@48103 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoAutoDocs improvement: specify that AllocPooled() must be paired with
neil [Mon, 16 Sep 2013 22:56:15 +0000 (22:56 +0000)]
AutoDocs improvement: specify that AllocPooled() must be paired with
FreePooled().

git-svn-id: https://svn.aros.org/svn/aros/trunk@48102 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoAllocVecPooled() and FreeVecPooled():
neil [Mon, 16 Sep 2013 22:55:19 +0000 (22:55 +0000)]
AllocVecPooled() and FreeVecPooled():
 - Added AutoDocs.
 - Fixed arguments' m68k registers (warning: this changes the AROS m68k
   ABI).

git-svn-id: https://svn.aros.org/svn/aros/trunk@48101 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago - Optimised redrawing.
neil [Mon, 16 Sep 2013 01:18:13 +0000 (01:18 +0000)]
 - Optimised redrawing.
 - Shared more code between horizontal and vertical sliders.
 - Knob now goes in correct direction when background is clicked and
   MUIA_Numeric_Reverse is TRUE.
 - Replaced several calls to DoSuperMethod() with DoMethod() so that
   these methods can be overridden effectively.
 - Don't use MUIA_Group_Horiz as a synonym for MUIA_Slider_Horiz.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48100 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoSDL.library: Use posixc.library and not stdcio.library
verhaegs [Sun, 15 Sep 2013 20:25:46 +0000 (20:25 +0000)]
SDL.library: Use posixc.library and not stdcio.library

Solves problems when program uses POSIX path names;
hides problem of stdcio.library not properly initialized.

I would like to have a version using stdcio.library in the future again.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48099 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agostdc/stdcio_startup.c: Debug output
verhaegs [Sun, 15 Sep 2013 20:25:42 +0000 (20:25 +0000)]
stdc/stdcio_startup.c: Debug output

git-svn-id: https://svn.aros.org/svn/aros/trunk@48098 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agouse FindTask(NULL) in userspace code.
NicJA [Sun, 15 Sep 2013 17:19:10 +0000 (17:19 +0000)]
use FindTask(NULL) in userspace code.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48097 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDrawer icons must be created in parent directory.
mazze [Sat, 14 Sep 2013 16:01:55 +0000 (16:01 +0000)]
Drawer icons must be created in parent directory.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48096 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoSet MUIA_Pressed according to knob state (observed MUI behaviour).
neil [Sat, 14 Sep 2013 00:06:16 +0000 (00:06 +0000)]
Set MUIA_Pressed according to knob state (observed MUI behaviour).

git-svn-id: https://svn.aros.org/svn/aros/trunk@48095 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoCorrect Icons for change in theme path
NicJA [Thu, 12 Sep 2013 22:42:41 +0000 (22:42 +0000)]
Correct Icons for change in theme path

git-svn-id: https://svn.aros.org/svn/aros/trunk@48094 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agouse global theme path
NicJA [Thu, 12 Sep 2013 22:26:34 +0000 (22:26 +0000)]
use global theme path

git-svn-id: https://svn.aros.org/svn/aros/trunk@48093 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agofix theme path
NicJA [Thu, 12 Sep 2013 22:25:39 +0000 (22:25 +0000)]
fix theme path

git-svn-id: https://svn.aros.org/svn/aros/trunk@48092 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agofix global theme path
NicJA [Thu, 12 Sep 2013 22:25:12 +0000 (22:25 +0000)]
fix global theme path

git-svn-id: https://svn.aros.org/svn/aros/trunk@48091 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoset the correct catalog version to use (localisation now working). tweak the gui...
NicJA [Thu, 12 Sep 2013 18:18:59 +0000 (18:18 +0000)]
set the correct catalog version to use (localisation now working). tweak the gui layout a little and disable debug.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48090 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agomake the window layout a little tidier.
NicJA [Thu, 12 Sep 2013 17:01:41 +0000 (17:01 +0000)]
make the window layout a little tidier.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48089 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoRe-implement ReqTools Prefs using Zune & AROS prefs objects.
NicJA [Thu, 12 Sep 2013 01:51:21 +0000 (01:51 +0000)]
Re-implement ReqTools Prefs using Zune & AROS prefs objects.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48088 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoforgotten file
NicJA [Wed, 11 Sep 2013 17:11:52 +0000 (17:11 +0000)]
forgotten file

git-svn-id: https://svn.aros.org/svn/aros/trunk@48087 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agowip commit for native language support
NicJA [Wed, 11 Sep 2013 17:09:40 +0000 (17:09 +0000)]
wip commit for native language support

git-svn-id: https://svn.aros.org/svn/aros/trunk@48086 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoFor x86_64-pc provide a 32bit version of stdc.static for bootstrap code.
verhaegs [Wed, 11 Sep 2013 16:42:00 +0000 (16:42 +0000)]
For x86_64-pc provide a 32bit version of stdc.static for bootstrap code.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48085 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoMade hid.class independent of stdc.library.
verhaegs [Wed, 11 Sep 2013 16:41:55 +0000 (16:41 +0000)]
Made hid.class independent of stdc.library.

This class can be in ROM and stdc.library is not available then,
stdc.static does not provide rand().

git-svn-id: https://svn.aros.org/svn/aros/trunk@48084 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agocorrect catalog file name
NicJA [Wed, 11 Sep 2013 16:30:00 +0000 (16:30 +0000)]
correct catalog file name

git-svn-id: https://svn.aros.org/svn/aros/trunk@48083 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoSerial -> IControl
NicJA [Wed, 11 Sep 2013 16:00:27 +0000 (16:00 +0000)]
Serial -> IControl

git-svn-id: https://svn.aros.org/svn/aros/trunk@48082 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoits ICONTROLEDITOR not SEREDITOR ;)
NicJA [Wed, 11 Sep 2013 15:34:26 +0000 (15:34 +0000)]
its ICONTROLEDITOR not SEREDITOR ;)

git-svn-id: https://svn.aros.org/svn/aros/trunk@48081 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agomatch string usage in other locations
NicJA [Wed, 11 Sep 2013 14:30:49 +0000 (14:30 +0000)]
match string usage in other locations

git-svn-id: https://svn.aros.org/svn/aros/trunk@48080 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agosmall correction..
NicJA [Wed, 11 Sep 2013 13:56:09 +0000 (13:56 +0000)]
small correction..

git-svn-id: https://svn.aros.org/svn/aros/trunk@48079 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoadd option for classic magicmenu "mixed" menu style (pull donw on screen title, pop...
NicJA [Wed, 11 Sep 2013 13:50:35 +0000 (13:50 +0000)]
add option for classic magicmenu "mixed" menu style (pull donw on screen title, pop up otherwise)

git-svn-id: https://svn.aros.org/svn/aros/trunk@48078 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoupdate to reflect change in theme name.
NicJA [Wed, 11 Sep 2013 12:10:28 +0000 (12:10 +0000)]
update to reflect change in theme name.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48077 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agorename contryprefs to regionprefs on AROS - define old values for compatability
NicJA [Wed, 11 Sep 2013 10:47:54 +0000 (10:47 +0000)]
rename contryprefs to regionprefs on AROS - define old values for compatability

git-svn-id: https://svn.aros.org/svn/aros/trunk@48076 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoadd placeholder for classic magicmenu pull-down-on-titlebar behaviour when using...
NicJA [Wed, 11 Sep 2013 10:45:31 +0000 (10:45 +0000)]
add placeholder for classic magicmenu pull-down-on-titlebar behaviour when using popup menus (re-order existing value for sanity)

git-svn-id: https://svn.aros.org/svn/aros/trunk@48075 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agouse the mkdirs_q macro
NicJA [Wed, 11 Sep 2013 09:32:28 +0000 (09:32 +0000)]
use the mkdirs_q macro

git-svn-id: https://svn.aros.org/svn/aros/trunk@48074 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated to v1.11
mazze [Wed, 11 Sep 2013 06:24:18 +0000 (06:24 +0000)]
Updated to v1.11

git-svn-id: https://svn.aros.org/svn/aros/trunk@48073 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated to v 16.0.5.
mazze [Tue, 10 Sep 2013 22:33:49 +0000 (22:33 +0000)]
Updated to v 16.0.5.
Patch for missing alarm().
Create drawer icon in parent directory.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48072 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoLinker needs libstdc++.
mazze [Tue, 10 Sep 2013 22:10:15 +0000 (22:10 +0000)]
Linker needs libstdc++.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48071 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoAttempt to build mathx with build_prog macro.
mazze [Tue, 10 Sep 2013 21:49:45 +0000 (21:49 +0000)]
Attempt to build mathx with build_prog macro.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48070 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDisabled because it's too unstable.
mazze [Tue, 10 Sep 2013 20:28:08 +0000 (20:28 +0000)]
Disabled because it's too unstable.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48069 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoHint about -nix option added.
mazze [Tue, 10 Sep 2013 19:39:55 +0000 (19:39 +0000)]
Hint about -nix option added.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48068 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoCreate drawer icon in parent directory.
mazze [Tue, 10 Sep 2013 19:29:21 +0000 (19:29 +0000)]
Create drawer icon in parent directory.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48067 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated comment to match "code" changes.
neil [Tue, 10 Sep 2013 10:13:09 +0000 (10:13 +0000)]
Updated comment to match "code" changes.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48066 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoHint about crash added.
mazze [Mon, 9 Sep 2013 23:50:46 +0000 (23:50 +0000)]
Hint about crash added.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48065 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoahi.device: Only ask for version 0 of stdc.library
verhaegs [Mon, 9 Sep 2013 20:14:20 +0000 (20:14 +0000)]
ahi.device: Only ask for version 0 of stdc.library

git-svn-id: https://svn.aros.org/svn/aros/trunk@48064 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agouse ASSERT() not assert()
NicJA [Mon, 9 Sep 2013 15:57:34 +0000 (15:57 +0000)]
use ASSERT() not assert()

git-svn-id: https://svn.aros.org/svn/aros/trunk@48063 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated.
mazze [Mon, 9 Sep 2013 06:25:12 +0000 (06:25 +0000)]
Updated.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48062 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoForgot to remove some debug code.
mazze [Sun, 8 Sep 2013 23:12:22 +0000 (23:12 +0000)]
Forgot to remove some debug code.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48061 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated to v 3.0
mazze [Sun, 8 Sep 2013 23:01:25 +0000 (23:01 +0000)]
Updated to v 3.0

git-svn-id: https://svn.aros.org/svn/aros/trunk@48060 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDrawer icon must be created in parent directory.
mazze [Sun, 8 Sep 2013 21:55:44 +0000 (21:55 +0000)]
Drawer icon must be created in parent directory.
Added a hint about a version which can create Amigaguide files.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48059 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDrawer icon must be created in the parent directory.
mazze [Sun, 8 Sep 2013 21:46:18 +0000 (21:46 +0000)]
Drawer icon must be created in the parent directory.
Added TODO.AROS because of a problem with PNG files.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48058 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoarosc_emul.c/emul_arosc.c: Remove most of the functions from c emul code.
verhaegs [Sun, 8 Sep 2013 21:21:07 +0000 (21:21 +0000)]
arosc_emul.c/emul_arosc.c: Remove most of the functions from c emul code.

The stdc.library and stdcio.library versions of the functions can be
used now.
These libraries are now peropenerbase and so modules can have their own private
libbase for these libraries.

abort() and exit() will Guru when called from a library and non appropriately
initialized. This is as good as going into endless loop.
The functions gettimeofday(), usleep() are part of posixc.library and remain
in the emul files.
The atexit() implementation for mesa also stays; maybe this should be looked at
further how this exactly has to be implemented.

For SDL.library now an internal dummy sigaction() is provided.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48057 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Remove arosc.library/libarosc.static.a; compiler clib is now exterminated.
verhaegs [Sun, 8 Sep 2013 21:20:57 +0000 (21:20 +0000)]
[csplit] Remove arosc.library/libarosc.static.a; compiler clib is now exterminated.

 * Remove rellib statements in module .conf file
 * Remove -noarosc option from gcc. Removed also it's usage in make.tmpl and
   mmakfile.src files.
 * mmakefile.src: Removed metadepencies for linklibs-clib or linklibs-arosc
   Just remove or replace it with linklibs-rom. Added metadependency for
   building stdc.library, stdcio.library and posixc.library
 * bootfloppy: Replace arosc.library with stdc.library + stdcio.library
 * remove sys/arosc.h from include files
 * Remove arosc.static from mmakefiles; implementation based on code from Jason S. McMullan
 * metadenpendencies fix by Jason S. McMullan
 * BGUI: bguiclass_lib.c: Open stdc.library
 * Update documentation/developers/specification/abiv1.en

git-svn-id: https://svn.aros.org/svn/aros/trunk@48056 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Clean up remaining functions in arosc.library
verhaegs [Sun, 8 Sep 2013 21:20:23 +0000 (21:20 +0000)]
[csplit] Clean up remaining functions in arosc.library

 * Remove sharecontextwithchild()
   The split libraries stdc.library, stdcio.library and
   posixc.library allow by default their functions to be called from
   different tasks with the same libbase.
   No equivalent of sharecontextwithchild() is thus needed in these libraries.
 * Remove __filesystem_support.[ch]
 * Remove arosccommon link library.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48055 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Move legacy POSIX/BSD functions to libposixc.a
verhaegs [Sun, 8 Sep 2013 21:20:18 +0000 (21:20 +0000)]
[csplit] Move legacy POSIX/BSD functions to libposixc.a

These functions are put in the static link library. This makes it possible
to remove the code in the future. Code already linked with them will keep
on working; recompilation will fail.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48054 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved several POSIX functions with minor changes to posixc.library
verhaegs [Sun, 8 Sep 2013 21:20:12 +0000 (21:20 +0000)]
[csplit] Moved several POSIX functions with minor changes to posixc.library

A lot of the functions are not implemented functions or stubs.
Compiler delint by Jason S. McMullan.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48053 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Split strerror.c and moved to stdc.library and posixc.library.
verhaegs [Sun, 8 Sep 2013 21:19:58 +0000 (21:19 +0000)]
[csplit] Split strerror.c and moved to stdc.library and posixc.library.

When linking with posixc.library the strerror() function will override
the one provided by stdc.library. When linking without the former
library strerror() from stdc.library will be used.
Bug squashed by Jason S. McMullan.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48052 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved most of remaining C99 I/O related functions
verhaegs [Sun, 8 Sep 2013 21:19:51 +0000 (21:19 +0000)]
[csplit] Moved most of remaining C99 I/O related functions

  * getc.c and putc.c only contain the autodoc for the function as it is an
    alias for fgetc() and fputc(). Don't use putc internally in the library.
  * Added autodocs for system() call.
  * From Jason S. McMullan:
    Disable setjmp/longjmp trap-based debugging by default (m68k)

git-svn-id: https://svn.aros.org/svn/aros/trunk@48051 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Move assert() support function to shared libraries.
verhaegs [Sun, 8 Sep 2013 21:19:42 +0000 (21:19 +0000)]
[csplit] Move assert() support function to shared libraries.

Three versions are implemented:
 * __stdc_assert() in stdc.library that uses a requester.
 * __stdcdos_assert() in stdcio.library that uses that library's I/O functions.
 * __nixc_assert() in posixc.library that uses that library's I/O functions.
 * delint by Jason S. McMullan

git-svn-id: https://svn.aros.org/svn/aros/trunk@48050 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved all functions that uses Amiga<>Posix path name conversion.
verhaegs [Sun, 8 Sep 2013 21:19:37 +0000 (21:19 +0000)]
[csplit] Moved all functions that uses Amiga<>Posix path name conversion.

remove() and rename() from posixc.library will call corresponding
functions in stdcio.library with converted path names.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48049 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Big patch with move for I/O related functions
verhaegs [Sun, 8 Sep 2013 21:19:29 +0000 (21:19 +0000)]
[csplit] Big patch with move for I/O related functions

Usage if __fdesc.c, __upath.c and __stdio.c is interrelated and so all files
that depend on it were moved in one patch.
Don't use memset() stdc.library function in library init code as base of the
library may not be available yet.
m68k fix by Jason S. McMullan

git-svn-id: https://svn.aros.org/svn/aros/trunk@48048 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] compiler/clib/__vfork.[ch]: Clean up data structure.
verhaegs [Sun, 8 Sep 2013 21:19:06 +0000 (21:19 +0000)]
[csplit] compiler/clib/__vfork.[ch]: Clean up data structure.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48047 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] compiler/clib/__vfork.c: Wait in child for _exit() called in parent.
verhaegs [Sun, 8 Sep 2013 21:19:01 +0000 (21:19 +0000)]
[csplit] compiler/clib/__vfork.c: Wait in child for _exit() called in parent.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48046 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Move wait()/waitpid() to posixc.library.
verhaegs [Sun, 8 Sep 2013 21:18:57 +0000 (21:18 +0000)]
[csplit] Move wait()/waitpid() to posixc.library.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48045 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Light-weight implementation of C99 stdio.h functions.
verhaegs [Sun, 8 Sep 2013 21:18:52 +0000 (21:18 +0000)]
[csplit] Light-weight implementation of C99 stdio.h functions.

This implement the C99 I/O functions with a light-weight wrapper around
dos.library file handlers. This means no support for UNIX file descriptors
or POSIX path names.
It can be used for code only using C99 I/O functions where one doesn't
want to use posixc.library.
Compiler delint by Jason S. McMullan

git-svn-id: https://svn.aros.org/svn/aros/trunk@48044 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved environ handling code
verhaegs [Sun, 8 Sep 2013 21:18:34 +0000 (21:18 +0000)]
[csplit] Moved environ handling code

A temporary hack was applied: environment variables used in child of vfork.c
may be wrong. Will be OK after vfork has been moved.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48043 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved signal handling code.
verhaegs [Sun, 8 Sep 2013 21:18:26 +0000 (21:18 +0000)]
[csplit] Moved signal handling code.

Default signal handler will now show a requester; stdio functions are not
available in stdc.library. Maybe revise code in the future to use dos.library
functions when we are in a process context.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48042 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] exit handling move
verhaegs [Sun, 8 Sep 2013 21:18:19 +0000 (21:18 +0000)]
[csplit] exit handling move

Includes startup code, atexit(), on_exit(), abort(), exit() and _Exit()

git-svn-id: https://svn.aros.org/svn/aros/trunk@48041 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] compiler/stdc/__stdc_gmtoffset.c: Do locale.library opening from __optionall...
verhaegs [Sun, 8 Sep 2013 21:18:12 +0000 (21:18 +0000)]
[csplit] compiler/stdc/__stdc_gmtoffset.c: Do locale.library opening from __optionallibs.c

git-svn-id: https://svn.aros.org/svn/aros/trunk@48040 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] move time related functions to stdc.library and posixc.library
verhaegs [Sun, 8 Sep 2013 21:18:07 +0000 (21:18 +0000)]
[csplit] move time related functions to stdc.library and posixc.library

Mostly all functions from time.h; also usleep() from unistd.h as it is used by nanosleep()
Added __stdc_gmtoffset AROS extension function.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48039 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved string related functions to stdc.library
verhaegs [Sun, 8 Sep 2013 21:17:58 +0000 (21:17 +0000)]
[csplit] Moved string related functions to stdc.library

This includes all function from string.h & strings.h. Also the string
formatting functions (sprintf & co.) from stdio.h are included.

 * Most functions are now in shared library stdc.library and not anymore
in the static link lib of arosc.library. The functions in librom.a have
been kept and also memset in arosc.library as otherwise problems would be
seen during arosc.library init because stdc.library libbase is not set
yet.
 In future it is planned to provide static inline function for a lot of these
functions so stdc.library is not needed for using them.
 * Link a few libraries with stdc
 * strlcat() and strlcpy() don't use sys/types.h anymore but standard stddef.h
 * link hotkeystring.mcc with arosc.static to not need stdc.library
 * stdc.static support by Jason S. McMullan

git-svn-id: https://svn.aros.org/svn/aros/trunk@48038 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Several functions with minor changes moved
verhaegs [Sun, 8 Sep 2013 21:17:44 +0000 (21:17 +0000)]
[csplit] Several functions with minor changes moved

A lot of functions from stdlid.h, inttypes.h and locale.h have been moved.
 * Implemented llabs().
 * Link tap.device, nforce.device and hid.device with stdc as they need rand()
 * From Jason S. McMullan:
   * link muimaster with stdc as Balance.mui wants rand().
   * stdc.static support

git-svn-id: https://svn.aros.org/svn/aros/trunk@48037 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Move memory allocation/deallocation to stdc.library and posixc.library
verhaegs [Sun, 8 Sep 2013 21:17:30 +0000 (21:17 +0000)]
[csplit] Move memory allocation/deallocation to stdc.library and posixc.library

A temporary hack is implemented for __fdesc initialization to not use memset.
This hack will be removed again when __fdesc is moved to posixc.library.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48036 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Removed compiler/mlib; moved all code to stdc.library
verhaegs [Sun, 8 Sep 2013 21:17:21 +0000 (21:17 +0000)]
[csplit] Removed compiler/mlib; moved all code to stdc.library

 * signgam is now field in struct StdCBase and code has to be adapted.
 * Added some math functions to arosc.static that are used in __vcscan
 * STDC_NOLIBINLINE and STDC_NOLIBDEFINES is now #defined in proto/stdc.h.
   This avoids warning of redefinition of isinf()/isnan() that are now aliased functions but also a macro.
 * Provide dummy libm.a for code that uses -lm switch.
 * Removed usage of arosm lib in mmakefile.src files (not all tested)
   link with stdc where needed.
 * arch specific infinity.c has been replaced with common one
 * From Jason S. McMullan:
   * fenv.c fix for m68k
   * Ignore warnings we've chosen not to fix.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48035 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved errno.h related code to stdc
verhaegs [Sun, 8 Sep 2013 21:16:47 +0000 (21:16 +0000)]
[csplit] Moved errno.h related code to stdc

Renamed function __arosc_ioerr2errno to __stdc_ioerr2errno.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48034 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Moved ctype code to stdc
verhaegs [Sun, 8 Sep 2013 21:16:29 +0000 (21:16 +0000)]
[csplit] Moved ctype code to stdc

stdc.static support by Jason S. McMullan

git-svn-id: https://svn.aros.org/svn/aros/trunk@48033 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] setjmp()/longjmp() move
verhaegs [Sun, 8 Sep 2013 21:16:22 +0000 (21:16 +0000)]
[csplit] setjmp()/longjmp() move

setjmp()/longjmp() are now inside stdc.library and not just part of the
static link library. This should allow changing the code in the future
without having old versions statically linked into existing programs.
Provide static link version of setjmp()/longjmp() for dos.library.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48032 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Copied C and math source files to compiler/stdc or compiler/posixc
verhaegs [Sun, 8 Sep 2013 21:16:04 +0000 (21:16 +0000)]
[csplit] Copied C and math source files to compiler/stdc or compiler/posixc

This is a preparation patch. In next patches functions will be moved from
arosc.library & libm.a to stdc.library, stdcio.library & posixc.library.
If extra changes to the file was needed one will see it as a diff to the
copied source code; original file will be removed in the patch.
The math functions from libm.a have also been copied as they will become part
of shared stdc.library.

Some files have been renamed:
 * __arosc_environ.c -> posixc/__posixc_environ.c
 * __arosc_gmtoffset.c -> stdc/__stdc_gmtoffset.c
 * __arosc_ioerr2errno.c -> stdc/__stdc_ioerr2errno.c
 * __arosc_nixmain.c -> posixc/__posixc_nixmain.c
 * __arosc_startup.c -> stdc/__stdc_startup.c
 * __arosc_termios.h -> posixc/__termios.h
 * __assert.c -> stdc/__stdc_assert.c, stdc/__stdcio_assert.c
   and posixc/__posixc_assert.c

git-svn-id: https://svn.aros.org/svn/aros/trunk@48031 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Additional preparation for proper replacement of arosc.library with split...
verhaegs [Sun, 8 Sep 2013 21:14:08 +0000 (21:14 +0000)]
[csplit] Additional preparation for proper replacement of arosc.library with split versions

 * Added rellib libraries in some module .conf file where arosc was already
   a rellib
 * Added -nostdc link option in addition to -noarosc for programs that
   don't want shared C library code.
 * Added stdc(io) to uselibs= of some modules where needed.
   Default is to not link modules with it but because these libraries
   are now peropenerbase they can be added to libraries when certain
   precautions are made.
 * Open stdc.library for some of the AHI drivers.
   Preparation for moving math and string functions into stdc.library.
   These drivers don't use autoopening of libraries.
 * Corrected usage of stdc name in comments in a few places where
   it crept into main trunk during previous merging.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48030 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Added frame for stdc.library, stdcio.library and posixc.library
verhaegs [Sun, 8 Sep 2013 21:13:47 +0000 (21:13 +0000)]
[csplit] Added frame for stdc.library, stdcio.library and posixc.library

 * Reserved LVOs for all of the function to be part of these libraries.
 * Added commented out .alias lines for functions where appropriate
 * Added open tests
 * Adapted gcc compiler default link libraries.
 * Provide background autodocs.
 * stdc.static implementation based on code from Jason S. McMullan
 * stdc.library should only depend on exec.library. Provide support code
   in __optionallibs.[ch] to check if functions of certain library may
   be called.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48029 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Complete split up in ANSI-C and POSIX parts
verhaegs [Sun, 8 Sep 2013 21:13:29 +0000 (21:13 +0000)]
[csplit] Complete split up in ANSI-C and POSIX parts

Added _STDC or _POSIXC in front of constant #defines that protect the C includes
to make distinction between the location of the include.
In contrib/gnu/gmp patch had to be made for changed define name

Some include files that are both C99 and POSIX.1-2008 have been split up in
two parts on two locations. The purpose is to not include the POSIX part if
that is asked by the compiler switch.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48028 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years ago[csplit] Move include files to new place
verhaegs [Sun, 8 Sep 2013 21:13:16 +0000 (21:13 +0000)]
[csplit] Move include files to new place

The C and math library include files are moved. The source directories are
compiler/clib/include, compiler/mlib; targets are
compiler/stdc/include/aros/stdc and compiler/posixc/include/aros/posixc.
The former is for ANSI compatible files the latter for POSIX specific include
files.

This is the first patch of several patches that will split up the C library
into ANSI-C compatible libraries (stdc.library and stdcio.library)
and a POSIX compatible library (posixc.library).
All log message will start with the [csplit] tag.

Patches with minor changes (only autodocs changes or NULL check etc.) are
joined in bigger patches. Patches where more code or algorithm changes are
present are separate grouped by related changes.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48027 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoCreating directory before writing into it, should fix nightly builds.
weissms [Sun, 8 Sep 2013 21:05:16 +0000 (21:05 +0000)]
Creating directory before writing into it, should fix nightly builds.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48026 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoGendir of crosstools icu is now in crosstools directory.
weissms [Sun, 8 Sep 2013 19:57:53 +0000 (19:57 +0000)]
Gendir of crosstools icu is now in crosstools directory.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48025 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoAllow to specify the gendir, icu host build can be reused.
weissms [Sun, 8 Sep 2013 19:53:52 +0000 (19:53 +0000)]
Allow to specify the gendir, icu host build can be reused.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48024 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDrawer icon must go into parent directory.
mazze [Sun, 8 Sep 2013 18:50:58 +0000 (18:50 +0000)]
Drawer icon must go into parent directory.
Lua function os.execute() returns actually a boolean type.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48023 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoDrawer icon must go into parent directory.
mazze [Sun, 8 Sep 2013 18:28:23 +0000 (18:28 +0000)]
Drawer icon must go into parent directory.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48022 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated to v2.4
mazze [Sun, 8 Sep 2013 17:35:20 +0000 (17:35 +0000)]
Updated to v2.4

git-svn-id: https://svn.aros.org/svn/aros/trunk@48021 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoSpelling fixed.
mazze [Sun, 8 Sep 2013 14:25:27 +0000 (14:25 +0000)]
Spelling fixed.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48020 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUpdated to v6.6.22
mazze [Sun, 8 Sep 2013 13:53:34 +0000 (13:53 +0000)]
Updated to v6.6.22

git-svn-id: https://svn.aros.org/svn/aros/trunk@48019 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoUse normal hook functions instead of the odd hook_func_standard.
mazze [Sun, 8 Sep 2013 08:18:33 +0000 (08:18 +0000)]
Use normal hook functions instead of the odd hook_func_standard.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48018 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoGet rid of pointless open_libs()/close_libs().
mazze [Sun, 8 Sep 2013 07:30:44 +0000 (07:30 +0000)]
Get rid of pointless open_libs()/close_libs().

git-svn-id: https://svn.aros.org/svn/aros/trunk@48017 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoreflect the correct version of macosx
NicJA [Sat, 7 Sep 2013 23:15:07 +0000 (23:15 +0000)]
reflect the correct version of macosx

git-svn-id: https://svn.aros.org/svn/aros/trunk@48016 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agocapitalise first letter for consistency.
NicJA [Sat, 7 Sep 2013 23:14:29 +0000 (23:14 +0000)]
capitalise first letter for consistency.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48015 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agotmp
NicJA [Sat, 7 Sep 2013 23:13:44 +0000 (23:13 +0000)]
tmp

git-svn-id: https://svn.aros.org/svn/aros/trunk@48014 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoadd prop gadget imagery
NicJA [Sat, 7 Sep 2013 22:45:48 +0000 (22:45 +0000)]
add prop gadget imagery

git-svn-id: https://svn.aros.org/svn/aros/trunk@48013 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agowip - MacOS X based theme
NicJA [Sat, 7 Sep 2013 21:09:31 +0000 (21:09 +0000)]
wip - MacOS X based theme

git-svn-id: https://svn.aros.org/svn/aros/trunk@48012 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoPretty print.
weissms [Sat, 7 Sep 2013 15:12:58 +0000 (15:12 +0000)]
Pretty print.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48011 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

10 years agoIgnore generated files.
olivieradam [Sat, 7 Sep 2013 12:49:33 +0000 (12:49 +0000)]
Ignore generated files.

git-svn-id: https://svn.aros.org/svn/aros/trunk@48010 fb15a70f-31f2-0310-bbcc-cdcc74a49acc