Commit Graph

37218 Commits

Author SHA1 Message Date
Clemens Zeidler
c2f0a314a0 Rename ReplaceObjectiveFunction to SwapObjectiveFunction I think this makes it more clear that the old function is not deleted.
Cleanup Jamfile.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-13 05:44:52 +00:00
Clemens Zeidler
8ecf0b8b09 Change the semantic of the SetSame*As function. I think its easier to understand now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-13 05:40:45 +00:00
Philippe Saint-Pierre
dde4ac4386 DiskUsage enhancement (ticket #3520)
* the volume are now displayed in tabs, mounting and unmounting volume adds and remove tabs accordingly
 * the infos (file size, etc..) are now displayed below the graph
 * node monitoring tells you when your current view is outdated. (the ticket suggested to adjust the view automatically, but I'll wait for comments on this first).
 * Drag&Dropping a file on the graph changes the tabview to the tab representing the volume owning that file.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 23:50:09 +00:00
François Revol
4cbffbf53f Style is overrated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 10:24:49 +00:00
François Revol
14016c7ce9 Add some simplified structure definitions the way NetBSD does.
Implement cpu detection using Exec's AttnFlags.
Now panics a little later.

Note you need to tell UAE to emulate a 040 now (020 not supported) with -C4 to boot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 10:11:04 +00:00
Stephan Aßmus
9d570aa4dd Some drawing mode implementations actually use the color
passed to the pixel format methods. Don't use a dummy color
for drawing dots. (Untested, but should fix Clockwerk time
line objects drawing)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 09:48:12 +00:00
François Revol
0128537395 Cleanup leftover atari code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 09:12:59 +00:00
Alex Wilson
675ffabd70 Layout update for LookTest, fixes #6648.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 08:49:18 +00:00
François Revol
7171eb5907 Actually it seems using HD ADF image is what is causing this issue with 6 sectors. Using DD images seems to work fine.
Fix panic(). Now panic() in _start.

To try it, do :

TARGET_BOOT_PLATFORM=amiga_m68k jam -j1 -q haiku_loader
dd if=/dev/zero of=haiku.adf count=1760
dd if=generated/objects/haiku/m68k/release/system/boot/haiku_loader of=haiku.adf conv=notrunc
uae -s floppy0=haiku.adf -s cpu_type=68020/68881 -s chipmem_size=8 -i


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-12 00:20:53 +00:00
François Revol
52d6ea00ea Adapt the putx routine from atari code to update the string for the alert with a code. Use it to indicate remaining sectors to read on error.
It seems DoIO() fails after 6 sectors. Could it have something to do with side handling ? I hope I won't have to dig trackdisk.device specific stuff...
Anyway even with 6 sectors read, the boot code now calls _start() successfully. Use _floppy_err_alert() to assert this until the copying is fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 23:33:01 +00:00
Jérôme Duval
de66992b72 * added support for huge_file feature, untested (need a >2TB file)
* actually checks for readonly features if mounting read-write  
* don't use a journal when mounting readonly
* DataStream::_BlocksNeeded(): in case of double or triple indirects,
compute the additional blocks needed using the difference between the
old and new indirects blocks. This was resulting in a bad NumBlocks on an inode
* BitmapBlock: mark methods missed an iteration when the startingBit was zero.
Some blocks were then allocated two times (at most 32 for each allocation run).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 19:58:46 +00:00
Matt Madia
b0ce12a2af Introduced a sanity check for building hybrids. This will cause jam to error
when the user attempts to build an incorrectly configured hybrid.
For example a GCC 2  + GCC 2 system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 17:51:44 +00:00
Philippe Houdoin
5f86ad125d Relax the copyright...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 13:39:37 +00:00
Philippe Houdoin
89fa2a8573 Move the boot images conditional selection in one place, to remove
possible mismatch images info between loader and kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 12:54:21 +00:00
Philippe Houdoin
3bd99634d1 Make the development boot splash more discret, relaying on the usual
quite hidden bug theme.
This also reduce its RLE compression size, which should fix #6710.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 10:47:06 +00:00
Philippe Houdoin
b2b54ce0f6 Check in BuildFloppyBootImage1 that haiku_loader could actually fit
before the image archive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-11 10:23:22 +00:00
François Revol
7ddba3d2ad s/amicalls/rom_calls/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 20:44:33 +00:00
François Revol
4543fd0ef6 Define the needed Library Vector Offsets in the header and use them from the asm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 20:41:41 +00:00
François Revol
396a612a64 Better error codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 20:27:46 +00:00
François Revol
1d4497a8f6 The Coding Style Police is much more efficient than the HADOPI...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 20:18:07 +00:00
François Revol
84092eea1a Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 18:33:00 +00:00
François Revol
aed95f3c6c Also checksum the bootsector in the Atari version of haiku_loader.
Remove duplicate of the checksum tool.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 18:28:07 +00:00
François Revol
06abf33747 Add a rule to checksum the bootblock inside haiku_loader for Amiga. It seems Jam correctly runs the action after creating the file, though I'm not sure it's correct with respect to jam -j.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 18:19:02 +00:00
François Revol
91d95c16eb Clone atari platform args headers. This gets the Amiga loader to link.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 18:16:16 +00:00
Oliver Tappe
72cf60a534 * replace glibc-base wcwidth() and wcswidth() with the one from
Bruno Haible's libunistring, which seems to work just fine

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 17:49:09 +00:00
François Revol
398144a1b4 We don't need dos.library here.
Open intuition.library correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 16:14:58 +00:00
Oliver Tappe
fdb863b626 * added tests for wcwidth() to locale_test that expose the pretty
drastic failure to handle anything else than ascii chars.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 15:07:36 +00:00
François Revol
3b939cb0b6 Comment out atari stuff.
Initialize SysBase and IntuitionBase that will be needed by C++ code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 14:18:05 +00:00
François Revol
918ac85f32 Comment out atari stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 14:15:10 +00:00
François Revol
816efc4097 Seems gas doesn't like the syntax from the syscall macros, prefixing a6 with %% helps. Add some Exec calls and the Intuition call needed for panic().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 14:14:41 +00:00
François Revol
788565c49a Copy the Atari bootloader ldscript.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 14:10:49 +00:00
François Revol
7030ac1279 Library call macros from fd2pragma Include/inline/macros.h. The header has no copyright claims, and there is no point in rewriting this anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 13:29:27 +00:00
François Revol
7364eb8e9b Remove Atari stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 13:15:39 +00:00
François Revol
648d00c49c Those are C++ files now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 13:15:16 +00:00
François Revol
fb6b9ae341 Remove Commodore code and rewrite. Hate wasting time on this...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 13:03:19 +00:00
François Revol
6ed98199f1 Amiga is just an Atari clone :-P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 12:42:18 +00:00
François Revol
acb1d6c8e0 s/tos/ami/g;s/ATARI/AMIGA/g
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:27:52 +00:00
François Revol
2231a4e6a3 Copy some more from Atari.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:22:50 +00:00
François Revol
9c720d59e3 Copy Handle stuff from Atari.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:20:55 +00:00
François Revol
4ae92968ab Stub out some more of the platform code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:16:46 +00:00
François Revol
1ae25236b2 Some useful Amiga API definitions. We'll just stuff what we need in there from all the SDK headers. More to come.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:09:51 +00:00
François Revol
b780f56676 Add some amiga code from stage1.S.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:07:14 +00:00
François Revol
92d1f05e9a Cleanup. Some more tries.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:05:05 +00:00
François Revol
f3ab95c889 Fix ROM base. On Amiga the first page is a bit special but it should still be mapped at boot time. Will need more checks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 11:04:25 +00:00
François Revol
12760a5cc9 Copy the Atari memory map for Amiga.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 09:23:09 +00:00
Michael Pfeiffer
08af89feda * The add-on additionally to the print_server gets loaded by printer
add-ons too. The USBPrinterRoster thread has to be stopped before
  the transport add-on gets unloaded.
  This fixes the bug described in ticket #6008 that a page gets printed
  again and again.
* Added comment that the add-on might access a deleted object if the printer
  get disconnected during printing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 09:09:51 +00:00
François Revol
7fbfbc1dac Cleanup. Offsets were wrong for dos.library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 02:00:14 +00:00
François Revol
948720fa91 cpu-specific mmu files are in arch/m68k now. Remove leftover atari prg stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 01:04:36 +00:00
Matt Madia
e6e5634b43 Reverted r38875, as this caused /bin to become an actual directory in /boot.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-10 00:19:52 +00:00
François Revol
ca7ec01422 Use cpu-specific mmu code from arch/m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-09 23:38:09 +00:00