Waldemar Kornewald
5d7cf21bdf
More preparations for libnetwork.so. SVN does not let me commit everything at once.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15604 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15604
2005-12-20 10:48:12 +00:00
Waldemar Kornewald
ffcb4cfc98
Preparations for libnetwork.so commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15603 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15603
2005-12-20 10:43:54 +00:00
Rudolf Cornelissen
c0f6162783
updated scaled_filtered_blit code and fixed NV1_RENDER_SOLID_LIN setup. Scaled blit might still be down, but we are getting there.. (in progress)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15602 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15602
2005-12-20 09:42:06 +00:00
Stephan Aßmus
de0283f0f1
forgot to commit the heart of the new drawing_mode implementation. Sorry about that, guys. Thou shalt use svn status after doing huge changes...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15600 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15600
2005-12-20 08:16:04 +00:00
Jérôme Duval
3b41fbe463
replaced #include <> with #include "" to fit the build system
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15599 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15599
2005-12-19 23:35:46 +00:00
Jérôme Duval
e619df91e4
added init of HPSEL and LOSEL bits of register 0x76 for some AD codecs
...
Should fix speaker output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15598 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15598
2005-12-19 23:08:22 +00:00
Axel Dörfler
9d845483cf
Got rid of two ToDo-items: instead of clearing the PAGE_MODIFIED flag after having
...
written the page, we now do it before, so that it cannot lose any changed data
anymore; it doesn't matter if the page is written to while writing it back, the
worst thing that can happen is that we write the same page twice. Also, we don't
rely on the PAGE_MODIFIED bit anymore, we now check all mappings of that page
to find all modified pages, no matter how far the (currently disabled) page
daemon had come.
Also, destroying an area will now result in writing back changed pages - this
is only really important for memory mapped files, though, and should probably
be avoided for other vm_store types.
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15597 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15597
2005-12-19 23:01:11 +00:00
Stephan Aßmus
8d7b8e8ce7
complete rework of the drawing_modes implementation... I achieved a speedup of 8 to 9 times, tested with text rendering. Believe it or not, but the Haiku text rendering is now faster than R5 for B_OP_COPY at least. And there is quite some room for improvement yet. (faster text bounding box calculation, avoiding the double UTF8 conversion, etc)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15596 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15596
2005-12-19 21:22:03 +00:00
Stephan Aßmus
270b7f58b6
removed unnecessary locks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15595 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15595
2005-12-19 21:18:23 +00:00
Stephan Aßmus
1bcc09f226
small improvements here and there
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15594 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15594
2005-12-19 21:18:01 +00:00
Stephan Aßmus
ce8ae4d8c2
_TriggerContentRedraw is now given the dirty region, so ProcessDirtyRegion does not have to be called for triggering window local redraws
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15593 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15593
2005-12-19 21:16:23 +00:00
Stephan Aßmus
85e1d00d58
small style cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15592 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15592
2005-12-19 21:14:16 +00:00
Jérôme Duval
37a84232bb
fix build for echo drivers, added cs_timer.h from pcmcia-cs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15591 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15591
2005-12-19 18:57:29 +00:00
Waldemar Kornewald
8c85eedc66
Moved the needed headers from private to posix folder. This should hopefully fix the build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15590 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15590
2005-12-19 17:42:05 +00:00
Ingo Weinhold
44c11fdbc1
Added console support functions required for the generic textual boot
...
menu. The menu basically works, but has a couple of problems. The
harmless ones are graphical: we get cursor artifacts when the colors
are changed, and the item selection doesn't quite look as it should.
More serious is the lack of Home/End, Page Up/Down keys. All I read from
the console is a '\0' byte when such a key is pressed. The cursor keys
work fortunately. I mapped the functionality of Page Up/Down
additionally to the Left/Right cursor keys. So the menu should be usable
at least. I guess, I'll leave it in that state; Axel wants a graphical
menu anyway.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15589 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15589
2005-12-19 13:49:45 +00:00
Ingo Weinhold
b821cecc36
Added of_interpret for interpreting arbitrary Forth code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15588 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15588
2005-12-19 13:40:15 +00:00
Ingo Weinhold
4c62b0919f
Pulled platform independent part of the BIOS boot menu out into
...
platform/generic/...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15587 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15587
2005-12-19 13:35:01 +00:00
Ingo Weinhold
59d0807e01
Missing newline in output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15586 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15586
2005-12-19 13:31:19 +00:00
Waldemar Kornewald
f7a223fa1b
Removed unneeded libbind files (were never compiled, anyway).
...
Moved some headers around and cleaned them up.
Fixed threading code in libbind.so. Don't know why I hadn't noticed this before. Now it is reliable, but uses an even uglier hack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15585 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15585
2005-12-19 13:26:54 +00:00
Axel Dörfler
39cc80346c
* Implemented automatic font_directory creation for font_mappings.
...
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15584 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15584
2005-12-19 12:02:17 +00:00
Stefano Ceccherini
cbe65c2e73
Don't ask me how, but I apparently fixed the weird bug I had introduced.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15583 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15583
2005-12-19 11:06:20 +00:00
Stefano Ceccherini
70da1fab92
Haiku doesn't have byteorder.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15582 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15582
2005-12-19 10:52:48 +00:00
Axel Dörfler
7a3fa7d368
* Followed Ingo's suggestion and removed the now superfluous "length" correction
...
in ConsoleHandle::WriteAt().
* Updated license.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15581 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15581
2005-12-19 09:44:52 +00:00
Axel Dörfler
1bd3bb1d58
* Added fallback mappings for the default fonts - since we don't save the
...
mappings yet, that's a good way to test this functionality.
* Turns out the directory of the mappings must be known already - they
should be added automatically, but I've added them manually for now
(which is okay for the default system directory).
* Having more than one style with the same family in the mappings didn't
work as planned - it now does.
* On my current system, time spend in the font manager constructor went
down from 1.5 secs to around 12000 usecs (and I have only a moderate
number of fonts installed, or so I thought - looks like the mappings
were a good idea :-)) - and that directly cuts down the boot time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15580 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15580
2005-12-19 01:01:04 +00:00
Jérôme Duval
bd8c5981aa
fixed midiplayer build for non haiku platforms
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15579 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15579
2005-12-18 22:54:47 +00:00
Jérôme Duval
89f3467fa1
fixed midi interrupt handling, added logs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15578 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15578
2005-12-18 22:53:55 +00:00
Ingo Weinhold
ccf56c61be
Fixed PPC boot loader linker script.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15577 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15577
2005-12-18 14:37:34 +00:00
Ingo Weinhold
8f75497433
Fixed endless loop.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15576 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15576
2005-12-18 14:35:31 +00:00
Stefano Ceccherini
4c0af4a82e
Cleanup. Removed the weird SingletonMouseDevice
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15575 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15575
2005-12-17 21:46:37 +00:00
Stefano Ceccherini
4722c56e4c
avoid code duplication
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15574 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15574
2005-12-17 21:45:41 +00:00
Stefano Ceccherini
b8fe2d4ed5
some changes, fixed a possible segfault
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15573 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15573
2005-12-17 21:45:18 +00:00
Waldemar Kornewald
5352d6baaa
Updated DEVNOTES. It's finally complete, now.
...
Fixed headers:
- added checks for C++
- removed _REENTRANT checks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15572 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15572
2005-12-17 11:58:39 +00:00
Jérôme Duval
ec816dffe2
fixed build for non haiku platforms
...
fixed displayed names for some models
added untested support for CardBus models Indigo*, thanks to Patrick Lafarguette for his great help on this feature
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15571 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15571
2005-12-16 23:44:40 +00:00
Waldemar Kornewald
c544064d35
Updated BIND resolver library (libbind.so) to version 9.3.1.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15570 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15570
2005-12-16 22:38:13 +00:00
Jérôme Duval
f6486d9d01
added some more headers from pcmcia-cs
...
fixed the build for non haiku platforms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15569 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15569
2005-12-16 19:06:45 +00:00
Axel Dörfler
89f5f72a15
* Added debug output to vm_low_memory.cpp.
...
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15568 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15568
2005-12-16 17:35:03 +00:00
Axel Dörfler
2058e6c1d4
Refactored MTRR code a bit: there is now a generic base that is used by
...
all CPU specific implementations as much as possible.
AMD and Intel are now separated again, even though they are currently
equivalent besides the CPU vendor detection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15567 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15567
2005-12-16 17:16:22 +00:00
Axel Dörfler
d0d37bdfd1
* vfs_init() is now called later in the startup sequence - since no core kernel
...
service depends on it, it doesn't make any sense to call it that early in the
game.
* The VFS now has a low memory handler for vnodes as well. If there is enough
memory left, it won't free any vnodes anymore.
* Potential crashing bug fix: some functions did not check if the FD passed
in belonged to the right type; they just assumed it had a valid vnode, but
it could have had a mount structure associated as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15566 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15566
2005-12-16 16:11:36 +00:00
Axel Dörfler
4c0f46e2a3
The block_cache::LowMemoryHandler() must check if it could acquire the cache's lock;
...
it might have been deleted in the mean time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15565 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15565
2005-12-16 15:50:13 +00:00
Axel Dörfler
182f88dda1
* block_cache_delete() now deletes the cache with with its lock held.
...
* the link were not initialized in cached_block, as its constructor were never called
(was using malloc/free instead of new/delete).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15564 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15564
2005-12-16 15:45:00 +00:00
Axel Dörfler
005108a262
Forget to remove debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15563 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15563
2005-12-16 14:33:10 +00:00
Axel Dörfler
37bd67edb8
Now also flushes dirty blocks correctly (cannot happen if transactions are used,
...
ie. never happens with BFS).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15562 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15562
2005-12-16 13:53:34 +00:00
Axel Dörfler
41e866f3ae
The block cache now registers and uses a low memory handler that will flush
...
unused blocks when needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15561 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15561
2005-12-16 13:49:23 +00:00
Axel Dörfler
af01805834
Implemented VIA specific MTRR functionality - untested, though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15560 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15560
2005-12-16 13:08:35 +00:00
Axel Dörfler
7d7f4675bb
* Added some cpuid eax == 1 feature definitions to arch_cpu.h
...
* Renamed IA32_MTR_WRITE_COMBINED to IA32_MTR_WRITE_COMBINING.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15559 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15559
2005-12-16 12:25:49 +00:00
Axel Dörfler
348c7214f5
Improved processor identification for some VIA C3 models.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15558 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15558
2005-12-16 11:55:01 +00:00
Jérôme Duval
e4857dd34d
fixed ico and jpeg2000 translators build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15557 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15557
2005-12-16 11:12:07 +00:00
Jérôme Duval
38e07e8f22
fixed build for patch
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15556 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15556
2005-12-16 10:13:12 +00:00
Jérôme Duval
23edb337cd
fixed build for sharutils
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15555 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15555
2005-12-16 10:06:11 +00:00
Jérôme Duval
2b68b87f87
fixed build for tar
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15554 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev15554
2005-12-16 09:59:46 +00:00