aros:aros.git
9 years agonlist.class: Compiler delint (x86_64)
Jason S. McMullan [Wed, 4 Sep 2013 01:59:55 +0000 (21:59 -0400)]
nlist.class: Compiler delint (x86_64)

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agotexteditor.class: Compiler delint
Jason S. McMullan [Wed, 4 Sep 2013 01:58:36 +0000 (21:58 -0400)]
texteditor.class: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoSMP: Make 'THISCPU' a private convenience macro for kernel.resource and exec.library
Jason S. McMullan [Thu, 22 Aug 2013 17:50:58 +0000 (13:50 -0400)]
SMP: Make 'THISCPU' a private convenience macro for kernel.resource and exec.library

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Fix glaringly obvious typo
Jason S. McMullan [Thu, 22 Aug 2013 01:58:11 +0000 (21:58 -0400)]
kernel.resource: Fix glaringly obvious typo

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agosmp: Move SysFlags/SFF_SoftInt to ExecCPUInfo
Jason S. McMullan [Thu, 22 Aug 2013 01:57:48 +0000 (21:57 -0400)]
smp: Move SysFlags/SFF_SoftInt to ExecCPUInfo

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoIgnore "Builds" directory
Michal Schulz [Wed, 21 Aug 2013 13:52:41 +0000 (15:52 +0200)]
Ignore "Builds" directory

9 years agoarch/m68k-*: SMP fixes
Jason S. McMullan [Wed, 21 Aug 2013 17:11:48 +0000 (13:11 -0400)]
arch/m68k-*: SMP fixes

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoradeon.hidd: Compiler delint
Jason S. McMullan [Wed, 21 Aug 2013 17:11:16 +0000 (13:11 -0400)]
radeon.hidd: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Fix Uniprocessor build
Jason S. McMullan [Wed, 21 Aug 2013 17:11:01 +0000 (13:11 -0400)]
kernel.resource: Fix Uniprocessor build

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Fix typo for m68k
Jason S. McMullan [Wed, 21 Aug 2013 17:10:44 +0000 (13:10 -0400)]
exec.library: Fix typo for m68k

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-pc: Bootstrap compiler delint
Jason S. McMullan [Wed, 21 Aug 2013 17:10:19 +0000 (13:10 -0400)]
arch/all-pc: Bootstrap compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Fix missing header for uniprocessor builds
Jason S. McMullan [Wed, 21 Aug 2013 13:56:59 +0000 (09:56 -0400)]
exec.library: Fix missing header for uniprocessor builds

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Fix some SMP stub compilation issues
Jason S. McMullan [Wed, 21 Aug 2013 13:56:42 +0000 (09:56 -0400)]
kernel.resource: Fix some SMP stub compilation issues

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoconfigure: Move aros_smp definition to the correct location
Jason S. McMullan [Wed, 21 Aug 2013 13:55:50 +0000 (09:55 -0400)]
configure: Move aros_smp definition to the correct location

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Use default KrnGetCPUCount() implementation
Jason S. McMullan [Wed, 21 Aug 2013 04:30:36 +0000 (00:30 -0400)]
arch/all-unix: Use default KrnGetCPUCount() implementation

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Use a global TaskReady/TaskWait list
Jason S. McMullan [Wed, 21 Aug 2013 04:18:37 +0000 (00:18 -0400)]
exec.library: Use a global TaskReady/TaskWait list

Nice side effect - the first ready processor will self-assign
the CPU affinity of a Ready task.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Add some paranoia to RemTask()
Jason S. McMullan [Wed, 21 Aug 2013 04:08:53 +0000 (00:08 -0400)]
exec.library: Add some paranoia to RemTask()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: No need to 'save and restore' TDNestCnt
Jason S. McMullan [Wed, 21 Aug 2013 03:58:31 +0000 (23:58 -0400)]
exec.library: No need to 'save and restore' TDNestCnt

Switch and Dispatch already take care of that for us.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Move 'Quantum' back to SysBase
Jason S. McMullan [Wed, 21 Aug 2013 03:54:30 +0000 (23:54 -0400)]
exec.library: Move 'Quantum' back to SysBase

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Remove unneeded 'storage' variable
Jason S. McMullan [Wed, 21 Aug 2013 03:49:22 +0000 (23:49 -0400)]
arch/all-unix: Remove unneeded 'storage' variable

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Remove custom getcpucount
Jason S. McMullan [Wed, 21 Aug 2013 03:47:38 +0000 (23:47 -0400)]
arch/all-unix: Remove custom getcpucount

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Fix implementation of KrnCause() for SMP
Jason S. McMullan [Wed, 21 Aug 2013 03:43:14 +0000 (23:43 -0400)]
arch/all-unix: Fix implementation of KrnCause() for SMP

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Don't use SC_ENABLE/SC_DISABLE macros on SMP
Jason S. McMullan [Wed, 21 Aug 2013 03:41:34 +0000 (23:41 -0400)]
arch/all-unix: Don't use SC_ENABLE/SC_DISABLE macros on SMP

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: KrnGetCPUCount() - reasonable default implementation
Jason S. McMullan [Wed, 21 Aug 2013 03:19:05 +0000 (23:19 -0400)]
kernel.resource: KrnGetCPUCount() - reasonable default implementation

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agogdbinit: Fixes for hosted
Jason S. McMullan [Sun, 18 Aug 2013 02:07:38 +0000 (22:07 -0400)]
gdbinit: Fixes for hosted

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Add counting semaphore primitive
Jason S. McMullan [Wed, 21 Aug 2013 03:15:07 +0000 (23:15 -0400)]
arch/all-unix: Add counting semaphore primitive

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Disable interrupts *after* all tasks have halted
Jason S. McMullan [Fri, 16 Aug 2013 04:13:17 +0000 (00:13 -0400)]
arch/all-unix: Disable interrupts *after* all tasks have halted

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Better obey pthread rules for cond variables
Jason S. McMullan [Fri, 16 Aug 2013 04:12:27 +0000 (00:12 -0400)]
arch/all-unix: Better obey pthread rules for cond variables

cond_wait and cond_signal/broadcast cannot be used in the
same mutex lock block.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Add a few paranoia NULLs to remtask
Jason S. McMullan [Fri, 16 Aug 2013 04:10:02 +0000 (00:10 -0400)]
exec.library: Add a few paranoia NULLs to remtask

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Remove (very obsolete) check for FreeMem(FindTask(NULL))
Jason S. McMullan [Fri, 16 Aug 2013 04:09:25 +0000 (00:09 -0400)]
exec.library: Remove (very obsolete) check for FreeMem(FindTask(NULL))

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Fix Forbid() breaking in cpu_Dispatch()
Jason S. McMullan [Fri, 16 Aug 2013 04:04:31 +0000 (00:04 -0400)]
arch/all-unix: Fix Forbid() breaking in cpu_Dispatch()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Simplify Cli/Sti behaviour
Jason S. McMullan [Thu, 15 Aug 2013 03:44:51 +0000 (23:44 -0400)]
arch/all-unix: Simplify Cli/Sti behaviour

The KrnSchedule() mechanism tasks care of stopping processes - all
we really need is CPU0 to ignore SIGALRM/SIGIO interrupts.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Implement new KrnSchedule() API
Jason S. McMullan [Thu, 15 Aug 2013 03:43:43 +0000 (23:43 -0400)]
arch/all-unix: Implement new KrnSchedule() API

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Fix KrnSupervisor() being stuck
Jason S. McMullan [Thu, 15 Aug 2013 03:41:32 +0000 (23:41 -0400)]
arch/all-unix: Fix KrnSupervisor() being stuck

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: NewAddTask() wasn't properly coping with ThisTask == NULL
Jason S. McMullan [Thu, 15 Aug 2013 03:41:03 +0000 (23:41 -0400)]
exec.library: NewAddTask() wasn't properly coping with ThisTask == NULL

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Use new KrnSchedule() API
Jason S. McMullan [Thu, 15 Aug 2013 03:40:33 +0000 (23:40 -0400)]
exec.library: Use new KrnSchedule() API

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Add some minor paranoia into the scheduler for SMP
Jason S. McMullan [Thu, 15 Aug 2013 03:38:30 +0000 (23:38 -0400)]
kernel.resource: Add some minor paranoia into the scheduler for SMP

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Change KrnSchedule() interface (again)
Jason S. McMullan [Thu, 15 Aug 2013 03:38:00 +0000 (23:38 -0400)]
kernel.resource: Change KrnSchedule() interface (again)

The intent is that SysBase->TDNestCnt is simply a cached
copy of the kernel's internal forbid counter, and all
management of that (locked) internal counter is through
the kernel.resource API

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Move 'HAVE_SWAPCONTEXT' into exec_platform.h
Jason S. McMullan [Thu, 15 Aug 2013 03:34:23 +0000 (23:34 -0400)]
arch/all-unix: Move 'HAVE_SWAPCONTEXT' into exec_platform.h

Discovered that having it in mmakefile caused items after
IntExecBase->PlatformData to move around, since the define
was not in the regular rom/exec build

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Leave ExecBase the same size, whether SMP or not
Jason S. McMullan [Fri, 16 Aug 2013 03:53:30 +0000 (23:53 -0400)]
exec.library: Leave ExecBase the same size, whether SMP or not

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoGive a warning (it should be crash!!!!) when TDNestCnt wraps...
Michal Schulz [Wed, 14 Aug 2013 20:57:29 +0000 (22:57 +0200)]
Give a warning (it should be crash!!!!) when TDNestCnt wraps...

9 years agouse old method of selecting CPU. Temporary fix
Michal Schulz [Wed, 14 Aug 2013 20:33:53 +0000 (22:33 +0200)]
use old method of selecting CPU. Temporary fix

9 years agobe less verbose
Michal Schulz [Wed, 14 Aug 2013 20:33:23 +0000 (22:33 +0200)]
be less verbose

9 years agooops, forgot one condition in permit
Michal Schulz [Wed, 14 Aug 2013 20:21:54 +0000 (22:21 +0200)]
oops, forgot one condition in permit

9 years agoKrnScheduling takes an BYTE parameter and then behaves accordingly:
Michal Schulz [Wed, 14 Aug 2013 20:13:42 +0000 (22:13 +0200)]
KrnScheduling takes an BYTE parameter and then behaves accordingly:
parameter > 0 <-- TDNestCnt++, then stop multitasking and stop all other cores if SysBase->TDNestCnt >= 0
parameter < 0 <-- TDNestCnt--, then enable multitasking and enable all other cores if SysBase->TDNestCnt < 0
parameter = 0 <-- don't change TDNestCnt, just test it and stop or enable multitasking

9 years agoInclude CPU number in debug output
Michal Schulz [Wed, 14 Aug 2013 18:52:07 +0000 (20:52 +0200)]
Include CPU number in debug output

9 years ago"empty" or "free" cpu is a cpu without ready and without waiting tasks. If any of...
Michal Schulz [Wed, 14 Aug 2013 18:50:58 +0000 (20:50 +0200)]
"empty" or "free" cpu is a cpu without ready and without waiting tasks. If any of these is not the case, simple picking of CPU cannot be done

9 years agoarch/all-unix: Work in progress, attempt to use pthread conditional variables for...
Jason S. McMullan [Wed, 14 Aug 2013 04:22:05 +0000 (00:22 -0400)]
arch/all-unix: Work in progress, attempt to use pthread conditional variables for Forbid/Permit

Not yet functional.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Use pthread thread-specific storage for CPU Number and Storage
Jason S. McMullan [Wed, 14 Aug 2013 04:20:28 +0000 (00:20 -0400)]
arch/all-unix: Use pthread thread-specific storage for CPU Number and Storage

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Remove unneeded Enable() in SMP init
Jason S. McMullan [Wed, 14 Aug 2013 04:19:03 +0000 (00:19 -0400)]
exec.library: Remove unneeded Enable() in SMP init

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Use KrnSchedule() hook
Jason S. McMullan [Wed, 14 Aug 2013 04:18:40 +0000 (00:18 -0400)]
exec.library: Use KrnSchedule() hook

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agokernel.resource: Add KrnSchedule() hook
Jason S. McMullan [Wed, 14 Aug 2013 04:18:19 +0000 (00:18 -0400)]
kernel.resource: Add KrnSchedule() hook

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Fix issue where FreeMem()'d tasks were still referenced
Jason S. McMullan [Wed, 14 Aug 2013 04:17:50 +0000 (00:17 -0400)]
exec.library: Fix issue where FreeMem()'d tasks were still referenced

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agowhen picking up semi-random CPU, actually assign the task to it. Until now iteration...
Michal Schulz [Tue, 13 Aug 2013 19:32:38 +0000 (21:32 +0200)]
when picking up semi-random CPU, actually assign the task to it. Until now iteration through cpus was done, but assignment missed...

9 years agofixed typo
Michal Schulz [Tue, 13 Aug 2013 17:45:02 +0000 (19:45 +0200)]
fixed typo

9 years agoDon't use ThisTask from SysBase. Call FindTask(NULL) instead.
Michal Schulz [Tue, 13 Aug 2013 17:31:54 +0000 (19:31 +0200)]
Don't use ThisTask from SysBase. Call FindTask(NULL) instead.

9 years agoarch/all-unix: SMP fix - add pthread_cond_broadcast, remove malloc/alloc
Jason S. McMullan [Tue, 13 Aug 2013 00:57:53 +0000 (20:57 -0400)]
arch/all-unix: SMP fix - add pthread_cond_broadcast, remove malloc/alloc

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/all-unix: Use pthreads to implement SMP
Jason S. McMullan [Mon, 12 Aug 2013 04:30:52 +0000 (00:30 -0400)]
arch/all-unix: Use pthreads to implement SMP

usage:

AROSBootstrap --cpus N

If N > 1, then you will be running in SMP mode.

The 'CPU0' thread handles all external signals,
SIGUSR1, and SIGUSR2.

All other threads use SIGURG for 'irq' style signals, and
SIGSYS for 'syscall' style signals.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoSMP: Infrastructure for AROS SMP support
Jason S. McMullan [Sun, 11 Aug 2013 23:21:12 +0000 (19:21 -0400)]
SMP: Infrastructure for AROS SMP support

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoAROSTCP: Use Exec/ScanTasks()
Jason S. McMullan [Sat, 10 Aug 2013 15:59:49 +0000 (11:59 -0400)]
AROSTCP: Use Exec/ScanTasks()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoC:TaskList - use Exec/ScanTasks()
Jason S. McMullan [Sat, 10 Aug 2013 15:58:35 +0000 (11:58 -0400)]
C:TaskList - use Exec/ScanTasks()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoC:StackSnoop: Use Exec/ScanTasks()
Jason S. McMullan [Sat, 10 Aug 2013 15:58:12 +0000 (11:58 -0400)]
C:StackSnoop: Use Exec/ScanTasks()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agobootstrap: Add KRN_MaxCPUs SMP parameter
Jason S. McMullan [Sat, 10 Aug 2013 15:57:31 +0000 (11:57 -0400)]
bootstrap: Add KRN_MaxCPUs SMP parameter

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoSMP: Don't use SysBase->ThisTask outside of kernel.library & exec.library
Jason S. McMullan [Fri, 9 Aug 2013 19:40:20 +0000 (15:40 -0400)]
SMP: Don't use SysBase->ThisTask outside of kernel.library & exec.library

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoexec.library: Add ScanTasksA()
Jason S. McMullan [Sat, 10 Aug 2013 14:17:42 +0000 (10:17 -0400)]
exec.library: Add ScanTasksA()

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoSMP: Don't use SysBase->ThisTask outside of kernel.library & exec.library
Jason S. McMullan [Fri, 9 Aug 2013 20:46:55 +0000 (16:46 -0400)]
SMP: Don't use SysBase->ThisTask outside of kernel.library & exec.library

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoCompositor: Compiler delint
jmcmullan [Fri, 27 Sep 2013 02:46:03 +0000 (02:46 +0000)]
Compositor: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk@48151 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

9 years agolocale.library: Compiler delint
jmcmullan [Fri, 27 Sep 2013 02:45:57 +0000 (02:45 +0000)]
locale.library: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk@48150 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

9 years agocleanup composer/compositing/composition -> compositor
NicJA [Fri, 27 Sep 2013 02:37:22 +0000 (02:37 +0000)]
cleanup composer/compositing/composition -> compositor

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

9 years agocleanup composer/compositing/composition -> compositor
NicJA [Fri, 27 Sep 2013 01:54:19 +0000 (01:54 +0000)]
cleanup composer/compositing/composition -> compositor

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

9 years agoFTManager: Compiler delint
jmcmullan [Fri, 27 Sep 2013 01:45:26 +0000 (01:45 +0000)]
FTManager: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk@48147 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

9 years agoPrefs/Appearance: Compiler delint
jmcmullan [Fri, 27 Sep 2013 01:45:21 +0000 (01:45 +0000)]
Prefs/Appearance: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk@48146 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

9 years agocleanup composer/compositing/composition -> compositor
NicJA [Fri, 27 Sep 2013 01:31:26 +0000 (01:31 +0000)]
cleanup composer/compositing/composition -> compositor

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

9 years agobump copyright on affected files
NicJA [Thu, 26 Sep 2013 23:56:51 +0000 (23:56 +0000)]
bump copyright on affected files

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

9 years agoupdate copyrights
NicJA [Thu, 26 Sep 2013 23:51:41 +0000 (23:51 +0000)]
update copyrights

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

9 years agocleanup composer/compositing/composition -> compositor
NicJA [Thu, 26 Sep 2013 23:29:20 +0000 (23:29 +0000)]
cleanup composer/compositing/composition -> compositor

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

9 years agocleanup composer/compositing/composition -> compositor
NicJA [Thu, 26 Sep 2013 23:28:56 +0000 (23:28 +0000)]
cleanup composer/compositing/composition -> compositor

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

9 years agocleanup compositing/composition -> compositor
NicJA [Thu, 26 Sep 2013 23:02:01 +0000 (23:02 +0000)]
cleanup compositing/composition -> compositor

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

9 years agoadd version info
NicJA [Thu, 26 Sep 2013 22:58:24 +0000 (22:58 +0000)]
add version info

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

9 years agoset the screens used composition flags based upon the displays capabailities and...
NicJA [Thu, 26 Sep 2013 22:39:08 +0000 (22:39 +0000)]
set the screens used composition flags based upon the displays capabailities and the flags requested by the screen opener.

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

9 years agoDoh! fix Get/Set attribute usage. Fixes screen dragging issue - composition is workin...
NicJA [Thu, 26 Sep 2013 22:28:20 +0000 (22:28 +0000)]
Doh! fix Get/Set attribute usage. Fixes screen dragging issue - composition is working fully with no artefacts or crashing.

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

9 years agoAttempt to fix the nightly floppy build.
weissms [Thu, 26 Sep 2013 19:07:37 +0000 (19:07 +0000)]
Attempt to fix the nightly floppy build.

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

9 years agoallow screens to request compositing features
NicJA [Thu, 26 Sep 2013 17:22:54 +0000 (17:22 +0000)]
allow screens to request compositing features

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

9 years agoreally handle the compositor config
NicJA [Thu, 26 Sep 2013 16:56:46 +0000 (16:56 +0000)]
really handle the compositor config

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

9 years agomake sure the dos obj is freed
NicJA [Thu, 26 Sep 2013 16:47:53 +0000 (16:47 +0000)]
make sure the dos obj is freed

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

9 years agoread runtime config from env
NicJA [Thu, 26 Sep 2013 16:44:30 +0000 (16:44 +0000)]
read runtime config from env

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

9 years agodefault compositor prefs/config
NicJA [Thu, 26 Sep 2013 15:21:38 +0000 (15:21 +0000)]
default compositor prefs/config

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

9 years agouse amigaos like behaviour by default
NicJA [Thu, 26 Sep 2013 14:14:22 +0000 (14:14 +0000)]
use amigaos like behaviour by default

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

9 years agoadd compositing options to appearance prefs
NicJA [Thu, 26 Sep 2013 13:20:23 +0000 (13:20 +0000)]
add compositing options to appearance prefs

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

9 years agoremove debug line
NicJA [Thu, 26 Sep 2013 00:28:17 +0000 (00:28 +0000)]
remove debug line

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

9 years agodont clamp screen dimensions to rastport - open what the application has requested...
NicJA [Thu, 26 Sep 2013 00:20:05 +0000 (00:20 +0000)]
dont clamp screen dimensions to rastport - open what the application has requested (amigaos like behaviour).

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

9 years agoReworked software screen compositing. Uses graphics library region primitives instead...
NicJA [Thu, 26 Sep 2013 00:18:31 +0000 (00:18 +0000)]
Reworked software screen compositing. Uses graphics library region primitives instead of duplicating the work to handle display compositing. use a backfill hook to render empty display regions.

# Compositing on all sides of screens works but is set to amigaos like behaviour by default (composites above, fills left/right/below)

# Rendering artefacts have been fixed, aswell as issues with screen y coord being reset.

# bug preventing dragging of screens below the visible bounds (investigating)

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

9 years agoUpdated to v 2.4.2035.
mazze [Wed, 25 Sep 2013 18:53:28 +0000 (18:53 +0000)]
Updated to v 2.4.2035.

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

9 years agoRemoved unnecessary checks for null pointers.
neil [Wed, 25 Sep 2013 02:11:29 +0000 (02:11 +0000)]
Removed unnecessary checks for null pointers.

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

9 years agoCheck that internal AddFreeList() calls succeed. This prompted
neil [Wed, 25 Sep 2013 02:08:10 +0000 (02:08 +0000)]
Check that internal AddFreeList() calls succeed. This prompted
conversion of the AllocMemIcon macro into a function, as it has now got
quite large.

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

9 years agoFetch from archives.aros-exec.org.
mazze [Tue, 24 Sep 2013 19:28:55 +0000 (19:28 +0000)]
Fetch from archives.aros-exec.org.

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

9 years agoUpdated from source code.
mazze [Tue, 24 Sep 2013 19:13:49 +0000 (19:13 +0000)]
Updated from source code.

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

9 years agoImprovements to AutoDocs and comments.
neil [Tue, 24 Sep 2013 07:46:06 +0000 (07:46 +0000)]
Improvements to AutoDocs and comments.

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

9 years agoAllocate disk object with AllocMem() and keep track of it in its own
neil [Tue, 24 Sep 2013 07:39:34 +0000 (07:39 +0000)]
Allocate disk object with AllocMem() and keep track of it in its own
freelist. Previously, each disk object was allocated from a new pool,
which was neither tracked nor deleted, causing a memory leak of about
5kB per icon!

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

9 years agoRemoved an unused file.
neil [Mon, 23 Sep 2013 16:53:57 +0000 (16:53 +0000)]
Removed an unused file.

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