Commit Graph

22260 Commits

Author SHA1 Message Date
Axel Dörfler 4accd841c7 * Fixed a big bug in common_file_io_vec_pages(): vecOffset was not correctly
set when the first chunk of the file could be read in directly, causing it
  to read data to a wrong place in the buffer.
* Reading in the first chunk directly would have also only worked if vecIndex
  and vecOffset was 0 when calling the function.
* Applied the fs_shell changes in file_map to the kernel version as well (the
  constructor already worked correctly, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 14:04:15 +00:00
Axel Dörfler 87aa1668c9 * The file_map constructor would not set the size of the file_map object,
causing all reads with an offset unequal to 0 to fail.
* Also fixed file_map_translate() which was hiding this problem.
* Fixed build and warnings when compiled with debugging output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 13:21:00 +00:00
François Revol 1dc0bb774c Avoid empty struct
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-06 00:40:17 +00:00
François Revol 050550f459 A Google eyes overlay and an icon for googlefs...
the gradient isn't what I wanted but it's enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 21:56:23 +00:00
Stephan Aßmus 0e4fdb4f97 applied patch by Anthony Lee:
* fixed rendering of certain chinese fonts

(I think it fixes rendering of bitmap fonts in general, but it should not
support rotated text AFAIKT, since that is only supported for vector fonts)

Nice work, Anthony, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 16:46:53 +00:00
Jérôme Duval 0f928a18d2 updated mesa to 7.0.2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 16:12:28 +00:00
Jérôme Duval de5c8292ae fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 16:10:39 +00:00
Marcus Overhagen b830be90e2 Marked some bits as RWC and RW1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 15:35:48 +00:00
Marcus Overhagen 0762289b3f Cleanup ccb->data_length handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 15:19:10 +00:00
Marcus Overhagen ebd99341e9 Fixed a copy&paste error. scsi_cmd_rw_10 has only a 16 bit length field,
while scsi_cmd_rw_12 has a 32 bit field. As both are big endian, that 
error shouldn't have caused any problem or data corruption.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 14:53:38 +00:00
Jérôme Duval e470a074e1 added some more support for Audigy 2, untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 14:18:10 +00:00
Axel Dörfler bcdcff768b * Applied patch by James Woodcock: added '-n' option to disable resolving names.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 13:49:57 +00:00
Axel Dörfler 4547914087 * TCP must not lock the endpoint's lock in _TimeWaitTimer() - it will deadlock
with its destructor when the socket is deleted. This effectively stopped all
  network timers from working. This will not only fix bug #1693, but also many
  other networking problems I've seen so far.
* Minor cleanup (mostly line breaks, strange indenting and superfluous
  parentheses).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 13:45:31 +00:00
Marcus Overhagen ec2bf719e8 Implemented ExecuteSataRequest() to execute all ATA and (later) ATAPI commands.
Converted Identify Device and Read / Write commands, they now create a sata_request
and pass it to ExecuteSataRequest. Added support for cache flushing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 02:27:05 +00:00
Marcus Overhagen 56f0b1a01a A helper class to easier support Native Command Qeueuing and ATAPI support.
This class either encapsulates scsi_ccb or can be used stand alone.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 02:23:39 +00:00
Marcus Overhagen e50610ed49 added defines for LBA limitations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-05 02:19:58 +00:00
Marcus Overhagen 0cc1690a17 Added a comment describing the command FIS layout, because AHCI, SATA and ATA/ATAPI standards use inconsitent terminology.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 21:24:51 +00:00
Axel Dörfler 0b847ab539 Applied patch by Fredrik Ekdahl, this fixes bug #1695.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 17:12:11 +00:00
Axel Dörfler a0b6b9b9e6 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 16:59:30 +00:00
Jérôme Duval 4cbcdf6e54 added an error message when no replicant can be found
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 13:40:06 +00:00
Axel Dörfler 37d8f330f4 * ResolveSpecifier() used the window's handler name instead of its title for the "Window"
B_NAME_SPECIFIER. This should fix bug #1681.
* Improved ResolveSpecifier() code.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 13:03:37 +00:00
Axel Dörfler aa740bac9e The ProgressWindow also need to adopt the workspaces from the reference window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-04 11:40:56 +00:00
Axel Dörfler 6d88bae7de Added nforce driver to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 21:15:25 +00:00
Axel Dörfler 5c3cf26310 Got rid of DeleteSocket().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 19:55:19 +00:00
Axel Dörfler 7d61af89af h_name must be set, or else libnetwork.so will crash when trying to resolve a name...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 19:39:35 +00:00
Axel Dörfler c37090b4f1 It seems the RTL 8167 chip works with our 8169 driver unchanged, even though I might just got
lucky.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 17:54:29 +00:00
Stefano Ceccherini d2580802d6 Somehow r23154 reverted r22930...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 16:09:32 +00:00
Stefano Ceccherini c129260a24 There was a reason for this after all: Sometimes hovering from the
submenu to the parent didn't trigger tracking from it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:43:45 +00:00
Axel Dörfler aad0d344f0 The slab areas shouldn't be user readable...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:33:03 +00:00
Axel Dörfler 9a2d0cf6ff Applied patch by Anthony Lee: the user was attached to the font manager too
late, therefore, the DesktopSettings couldn't access user fonts. This fixes
bug #1691, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:13:21 +00:00
Stefano Ceccherini 9e64a7ed1b Fixed problem with some popup menus (check ticket #1679)
Moved GetMouse() calls near the check for exit conditions.
Reorganized a bit the code, and hopefully simplified it in some places.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 07:30:05 +00:00
François Revol 943cbec3f3 Note on adding stage1 to an image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:44:41 +00:00
François Revol c9bfddbe98 Fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:26:30 +00:00
François Revol 005fb7c998 Allow using defines from .S files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:18:14 +00:00
François Revol fa9d72b1dd Test code for stage1...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:02:54 +00:00
François Revol 5c31e5fa5b Note on compiling stage1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 23:43:17 +00:00
Axel Dörfler 2671053585 gethostbyaddr() was used incorrectly, found by James Woodcock, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:29:30 +00:00
François Revol 9776e38eb1 smp ? me no know about smp here...
This will be the stage 1 loader...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:05:28 +00:00
Marcus Overhagen f6872148ca Restart. Do not pass Go, do not collect 00.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:02:15 +00:00
Axel Dörfler c88e5e410c * Added support for the G33 line of chips: mode setting and acceleration is working fine AFAICT.
* Implemented mapping the GTT area for i9xx chips other than the i965. This should also fix the
  driver working with these chips at all.
* The memory used by the driver now take the GTT area into account - before the GTT could be
  overwritten theoretically...
* Added fix for some i965 quirks from the X driver.
* Added some overlay definitions for the i965.
* Started support for G33 overlay (not complete yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 18:44:39 +00:00
Marcus Overhagen 971cf1881e Disable an io interrupt when more than 99% are unhandled. This somewhat prevents random freezing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 17:33:27 +00:00
Axel Dörfler 68af0a3fff If there is no /etc/hosts file, we now add a "localhost 127.0.0.1" definition
internally. This fixes #1688.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 16:16:28 +00:00
Michael Lotz 1df628fe2f * Two more uses for the pause instruction I apparently forgot to commit
* Minor style cleanup in the conversion factor calculation

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 02:10:55 +00:00
Michael Lotz e812c77e4a * Delay initializing SMP stuff like APICs and kstacks of non-boot CPUs until after the boot menu
* When disabling SMP initialization of those parts is avoided so it works more cleanly
* Moved smp_find_mp_config() into smp_init() and moved MPS specific parts into smp_do_mp_config()
* Removed the global floating struct, if found it is now passed into smp_do_mp_config() like it is done for ACPI
* Made the file a bit more C++, applied coding style to some variable names and unified/improved some of the debug output

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 02:07:23 +00:00
François Revol 50a57aafa0 Typos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 01:37:02 +00:00
François Revol 949958937c stage2_args.h uses #include <platform_stage2_args.h>, had to use UsePrivateHeaders.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 00:38:11 +00:00
François Revol f59395d5ac Official names
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 00:02:04 +00:00
François Revol 4568301872 Fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 23:57:42 +00:00
François Revol fa806b5473 This should be enough for keyboard handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 23:25:35 +00:00
François Revol 3e4c56176d Hopefully enough relevant TOS hooks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 22:52:03 +00:00