Commit Graph

16452 Commits

Author SHA1 Message Date
Jérôme Duval
52f8cb492d fixes bug #395
month 0 is January
year 0 is 1900


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 21:22:21 +00:00
Michael Lotz
f51fb4696c Corrected the repeat checks (did not compare the right buffers) and added a length argument to debug_puts() to safe the strlen in the syslog case. Also removed some leftover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 20:48:30 +00:00
Stefano Ceccherini
195f58ddbb BMenu::_AddItem() keeps the looper locked for the whole time, other changes: let's see if this fixes that bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 19:50:16 +00:00
Axel Dörfler
8da774372c No longer "abuses" the provided message to send the request to the registrar.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 19:38:17 +00:00
Axel Dörfler
e83935e59b It no longer appears as if you need to delete file types twice until they
disappear. This fixes a part of bug #279.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 16:52:40 +00:00
Axel Dörfler
bf5e11677b * Improved BMimeType::GetSupportingApps(): no longer uses the provided message to
send the request, and it now checks if the object is valid.
* Fixed building supporting apps table: now all types are converted to lower case,
  so that it works reliable now. This fixes bug #278.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 16:44:46 +00:00
Jérôme Duval
9d6b4ad586 actually print the color_which which fails (ie in Cortex)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 16:25:59 +00:00
Jérôme Duval
01aa08639d fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:43:00 +00:00
Jérôme Duval
f203ff709b clean debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:16:01 +00:00
Jérôme Duval
a827021eb0 added error output when ide_adapter can't acquire resources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:01:26 +00:00
Axel Dörfler
020c1aa823 * init_driver() now behaves better in low memory situations.
* Some preparations to support more than one chipset, added i855G (device ID 0x3582)
  to test with - the accelerant_device_info is now filled with that additional data
  as well.
* Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 13:21:31 +00:00
Jérôme Duval
224a6b047f code hardening, should help on bug #385
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:57:49 +00:00
Axel Dörfler
c0a7267732 Minor cleanup: removed some unused commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:45:37 +00:00
Axel Dörfler
cce5601a7a * The background is now repainted on workspace switch in case the background
color differs. This fixes bug #373.
* The workspaces window is now invalidated when the workspace color is
  changed, so that it shows the correct color then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:41:16 +00:00
Axel Dörfler
8aca9ad64d Commented out removing the /dev/bus/scsi/raw device for IDE devices. This seems
to cause some problems with the device manager that needs to be investigated,
see bug #393 and #389.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:07:04 +00:00
Jérôme Duval
6e66ef1c1a added Greg Crain as contributor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 09:56:03 +00:00
Jérôme Duval
a65710728f added mpu401 module to the image, could help on bug #391
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 08:15:53 +00:00
Stefano Ceccherini
e90bed06b1 Fixed vlc menubars
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 22:31:04 +00:00
Stefano Ceccherini
a2b0a7ac3e Avoid tracking the menubar if it's tracking already
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 21:47:46 +00:00
Axel Dörfler
290026d3b1 * Fixed font sensitivity issues of the directory choosing window.
* Made the code more robust, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 19:36:41 +00:00
Axel Dörfler
5fef96ef20 Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:42:07 +00:00
Axel Dörfler
0e6b056fdc Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:31:30 +00:00
Michael Lotz
3647d70ded Replaced the hash based approach to repeat detection with the probably more efficient strncmp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:45:04 +00:00
Axel Dörfler
5652ba7236 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:39:32 +00:00
Michael Lotz
3352a462a7 Implemented the "Last message repeated x times." thing in the kernel (hash based).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:23:47 +00:00
Axel Dörfler
ac1f397e60 Rewrote the private query_for_app() function to search on all mounted volumes
instead of just the boot volume.
It now also has a second pass in case nothing could be found. The second pass
does a case insensitive query for the application's signature, and fixes the
problem that some apps couldn't be started by signature until they were launched
once (because the MIME database is always case insensitive).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:02:28 +00:00
Axel Dörfler
60bf6a1fbe Removed the detached version of the BMessageRunner object again, and instead
have a static method for spawning one (BMessageRunner::StartSending()), as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 14:47:01 +00:00
Axel Dörfler
94f8d3fcee A TTY now refuses read/write requests while the other end is dead; it also
notified the other end when it has been closed. This fixes bug #388.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 12:52:33 +00:00
Axel Dörfler
243fcbe279 Since SF cannot be reached currently, this fix gets into the Haiku tree first:
ExpandoMenuBar::ItemAtPoint() was broken, which could cause a crash when doing
the "vulcan death grip" over a window item. This fixes bug #379.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 11:21:15 +00:00
Stefano Ceccherini
265242ecfa Patch by barber which actually make menu color changes work, plus some other changes. Note that this shows some problems in how BMenuItems are drawn (wrong colors)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 08:11:53 +00:00
Stefano Ceccherini
9deb82dfc0 If the popup was asynchronous, the window menu semaphore was never resetted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 07:39:13 +00:00
Stephan Aßmus
b9e275a6a5 app_server remembers the font settings now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 22:03:44 +00:00
Axel Dörfler
61212865dc More or less rewrote cursor conversion code: it's now working as expected.
Note, this code needs to be reviewed for PPC; do they really work with little endian RGBA?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:36:50 +00:00
Axel Dörfler
92eab70620 Oops, accidently didn't commit the correct version.
Also note that BeOS doesn't seem to pick up the cursor this way, it only
works when we're doing this later (ie. in MouseMoved() or Pulse()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:08:40 +00:00
Axel Dörfler
da07353dcd Added a small cursor test application.
Note, it looks like we translate the cursor shape differently than R5
(according to the docs, black is always opaque and ignores the transparency
bits).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:06:50 +00:00
Stephan Aßmus
600fbd78e4 * BView::FillRegion() sends the BRegion data instead of decomposing
it and rebuilding it on the server side (that causes a huge speed
  up for regions containing many rects)
* There is a method in ServerLink that could have been used, but I
  actually needed to add the direct BRegion support to LinkReceiver
* added LinkReceiver as a friend to BRegion class
* ServerApp and ServerWindow keep the CursorManager locked after they
  have retrieved a cursor until they have called Acquire() on the
  cursor. (Axel: what good is using atomic* stuff in Acquire() and
  Release() if we have to protect this by a lock anyways?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:56:10 +00:00
Stephan Aßmus
b22badf221 added TODO comment about writing an AGG Vertex Source for BShape data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:49:18 +00:00
Stephan Aßmus
5d0c78f416 skip hardware acceleration for small regions, should speed up rendering of small regions in the same way it helped small rects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:48:28 +00:00
Axel Dörfler
82e704cd1b Now writes the file type of the PNG files as well. This fixes bug #374, even though
it only cures the symptoms, ie. bug #194 remains valid (broken file types when built
from Linux).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:51:48 +00:00
Axel Dörfler
a1a04a4742 * A fake B_MOUSE_MOVED message is now send on workspace change, and when
a window is closed, too (only happened when a new window was shown
  before). This is done via the new Desktop::_SendFakeMouseMoved()
  method. This fixes bug #342.
* The MouseFilter now always sets Desktop::fWindowUnderMouse, so that
  one can differentiate between no window under mouse, and decorator
  under mouse.
* EventDispatcher::SendFakeMouseMoved() now expects a BMessenger instead
  of an EventTarget as target - this guarantees that it can safely be
  called with any window now (instead of only the current window).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:43:25 +00:00
Axel Dörfler
4436fae24d Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:38:49 +00:00
Michael Lotz
0ef40c5e17 This should fix the wrong colors for selected Tracker icons. Fixes bug #205.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 14:31:21 +00:00
Axel Dörfler
7e6a81e978 * Replaced map_mainmemory() functions with calls to vm_get_physical_page().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:55:21 +00:00
Axel Dörfler
f1b350f247 * Replaced map_mainmemory() functions with vm_get_physical_page().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:47:19 +00:00
Axel Dörfler
3759d22404 Bye-bye /dev/disk/scsi/... - IDE devices are now published under
/dev/disk/ata[pi]/%%channel%%/{master|slave}/raw.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:25:57 +00:00
Axel Dörfler
84e4066d57 It may also search recursively for that attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 12:33:56 +00:00
Axel Dörfler
fee490b02d No longer publishes something in /dev/bus/scsi for actual IDE devices.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 12:11:36 +00:00
Axel Dörfler
fdbc37db7b Added ideinfo and idestatus to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 11:57:07 +00:00
Axel Dörfler
c9fc73fc8e * Added an optional ioctl() function to the modules up to the SIM interface.
* Implemented the functions needed by ideinfo/idestatus using this one.
* The IDE bus manager now disables DMA if the safemode settings ask for this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 11:53:07 +00:00
Stefano Ceccherini
262a2483e2 I woulnd't say the classical last words... but I seem to have fixed latest crashes...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 20:13:41 +00:00