Commit Graph

18084 Commits

Author SHA1 Message Date
Axel Dörfler
784166f253 Imported ContainerWindow.cpp 1.39 from OpenTracker repository.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 22:43:20 +00:00
Axel Dörfler
0d01edbaba Fixed a stupid bug found by accident:
* When removing the last key from a leaf node, the node wasn't freed, but just
  emptied, and thus the whole tree structure would never combast.
* This could also cause a bug in the TreeIterator: if the last entry was not
  in the last node, every second readdir() after the last one would return
  the last entry again. I only found this because that happens to be what
  Tracker does (which would run in an endless loop while scanning the directory
  then).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 17:51:22 +00:00
Axel Dörfler
65bf7e89c9 Fixed typo in the BIOS work-around that should prevent booting from Intel partitions at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 15:26:40 +00:00
Stefano Ceccherini
c585b1f46d GetEscapements() didnt' take the font spacing into account. Looks like the spacing is ignored by the font backend, though, am I correct?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 11:46:55 +00:00
Stefano Ceccherini
0b77c8eb4f Cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 09:19:04 +00:00
Axel Dörfler
0e9f724cf8 * When run as part of the boot loader, it will now adjust the size of partitions
to fit into the session - this should help bug #238 to disappear.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-02 22:49:32 +00:00
Stefano Ceccherini
de20f0faca some changes, fixed a rendering bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-02 12:23:38 +00:00
Niels Sascha Reedijk
0439428356 Implemented endpoint creation for Pipes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-02 10:59:15 +00:00
Oliver Tappe
be2bd5ef4b * implemented a suggestion of korli: the legacy & gcc4 cross-tools are now built
in separate folders ('cross-tools-legacy' and 'cross-tools-gcc4') and you
  can use the new cmdline-switches 'use-cross-tools' and 'use-cross-tools-gcc4'
  to switch between those two. Before, you always had to recompile the tools
  in order to switch.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-01 18:52:48 +00:00
François Revol
2e965710dc Without it you won't get far with nfs =)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 23:54:00 +00:00
François Revol
f4783a9fb9 The fixed version of the NFS client
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 23:49:30 +00:00
Axel Dörfler
8d07a4ae75 Our heap doesn't like big allocations, use areas instead - this fixes bug #875.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 23:29:21 +00:00
Michael Lotz
4e9efbcf24 * Moved and unified the explore threads from the BusManager to the Stack
Now there is only one explore thread instead of one per BusManager.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 19:33:03 +00:00
Marcus Overhagen
50b6109c5f Build fix, at least for building on Linux. The host stdio.h has a different dprintf definition than BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 16:35:33 +00:00
Axel Dörfler
b83fe28463 * Fixed some warnings.
* I forgot to mention it before, but this driver seems to have been written
  by Erdi Chen.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 14:12:22 +00:00
Axel Dörfler
b9ecaef57a Added the S3 Savage driver from BeBits - accoring to Siarzhuk it doesn't work yet
under Haiku, though. If someone has access to this card, feel free to fix this :-)
I renamed the driver to s3savage (from BeSavage), and added the license text
separately (dunno if that's really needed, though).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 13:44:54 +00:00
Axel Dörfler
8d9e5a451e * Turned on debugging in the Intel partitioning system add-on, and the partition
stuff of the boot loader to help with bug #238.
* Minor cleanup (added license headers, fixed debug output)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 13:13:02 +00:00
Axel Dörfler
00529536d2 Fixed my previous commit - now dragging a bitmap is working again. Thanks Stefano!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 09:00:55 +00:00
Jérôme Duval
d479db5589 added mangling for gcc4, deskbar replicants are now loaded correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 21:11:01 +00:00
Axel Dörfler
02cc779b7d Moved datastore implementation into net_buffer.cpp - there is no reason to clobber the kernel with it.
This also fixes the issue of exporting a C++ API from the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 18:27:30 +00:00
Axel Dörfler
5af206180e Removed executable property.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 18:09:27 +00:00
Axel Dörfler
979fca9d83 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 15:59:04 +00:00
Axel Dörfler
8cebe02569 Tracker now also sets the preferred application when installing the Person
MIME type to the People app.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 15:54:22 +00:00
Axel Dörfler
8b4fbcf3ad * Now dumps a message to the serial debug output in case a GUI server died; if the
registrar or the input_server died, you didn't get any notification before.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 15:47:44 +00:00
Stefano Ceccherini
633d2d3d4e don't hide the cursor when the menu pops up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:53:42 +00:00
Stefano Ceccherini
1e17db8ac6 put common code for Insert() methods into DoInsertText(), this avoids an extra strlen() call
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:28:13 +00:00
Stefano Ceccherini
7d8ee43e80 now checks the real lenght of the passed buffer in BTextView::Insert(). Seems to fix bug 675
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:08:01 +00:00
Marcus Overhagen
83bf699b3f some build fixes for pxe_ia32 platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:52:20 +00:00
Stefano Ceccherini
25ba188a07 added a parameter to _BTextGapBuffer_::GetString() so that the caller knows how many bytes are really returned. password mode looks better now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:27:31 +00:00
Axel Dörfler
e0091c79d8 * Drag messages can now also be started with a NULL bitmap pointer and an invalid
drag rectangle - this fixes bug #596, as Cortex obviously relies on this.
* Added a comment on how dragging without a bitmap should be done (app_server should
  directly support this without needing to drag real bitmaps).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:11:45 +00:00
Marcus Overhagen
456b127176 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18963 a95241bf-73f2-0310-859d-f6bbb57e9c96 2006-09-28 12:05:06 +00:00
Marcus Overhagen
e42c2f9984 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18962 a95241bf-73f2-0310-859d-f6bbb57e9c96 2006-09-28 12:04:31 +00:00
Marcus Overhagen
7c3aba03bc git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18961 a95241bf-73f2-0310-859d-f6bbb57e9c96 2006-09-28 12:03:26 +00:00
Marcus Overhagen
47e8242b26 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18960 a95241bf-73f2-0310-859d-f6bbb57e9c96 2006-09-28 12:02:58 +00:00
Stefano Ceccherini
f70a414b8b fixed broken endlines in case there were TAB charachters (bug 865). A better solution is also coming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:00:14 +00:00
Marcus Overhagen
c5bbbb21da new folders for pxe_ia32 platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 11:59:55 +00:00
Marcus Overhagen
34b8a998fc allow overriding TARGET_BOOT_PLATFORM on command line
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 11:55:30 +00:00
Stefano Ceccherini
3091f56a1a more bugs fixed in keyboard text selection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 11:38:56 +00:00
Axel Dörfler
85baf76e1a The computation of the number of blocks in the last allocation group was wrong; it
would usually be one block too small - this fixes bug #659.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 10:46:37 +00:00
Stefano Ceccherini
a09f0db169 fixed some remaining bugs in keyboard selection, reimported code for up/down keys handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 10:13:29 +00:00
Stefano Ceccherini
7184af5e4e improved keyboard text selection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 10:01:07 +00:00
Michael Lotz
099dab0753 * Fixed device creation. No pipes for device endpoints are created and the initial handle of all endpoints is 0.
* The endpoint pipes of a configuration are now created when the configuration is actually set.
* Implemented an Unconfigure() function that tears down any pipe that was created for that configuration.
* Implemented the device destructor that unconfigures and frees the resources allocated for the various usb_*_info structures.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 19:09:01 +00:00
Andrew Galante
0054baf8c9 A few bugfixes to prepend_size and append_size so they don't create unnecessary empty nodes. Minor cleanup to ipv4.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 18:56:06 +00:00
Axel Dörfler
646182be71 * When specifying invalid arguments, an error message is now printed. This fixes bug #714.
* Removed some useless information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 18:00:35 +00:00
Axel Dörfler
b631d2f40d * Fixed the bug Bruno observed (and worked around) in a safer way - the node data was
not written back before GetNextSmallData() was called (which let the region appear
  empty even though it wasn't).
* I left the shortcut in case of the "name" attribute in there, because it should
  be a bit faster.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 13:10:13 +00:00
Jérôme Duval
6867aa9263 uses cmath and cstring instead of string.h and math.h (thanks Stefano!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 08:38:56 +00:00
Jérôme Duval
1ba8377d45 releases the team lock even when group is NULL
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 08:30:15 +00:00
Axel Dörfler
cc347633b9 This fixes bug #851 - GLTeapot unlocks the window before indirectly calling
BWindow::UpdateIfNeeded(); BPopUpMenu::Go() should be independent of this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 21:06:20 +00:00
Michael Lotz
00f6fab931 * Implemented a notification method for BusManagers so that they can be notified of pipe changes (creation, destruction, changed settings).
This is necessary in OHCI and will probably be used in EHCI also to keep one endpoint construct for each pipe open instead on creating and deleting it for each transfer.
* Pseudo implemented set_pipe_policy for isochronous pipes that makes use of the new notification system.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 20:51:31 +00:00
Jérôme Duval
4a718fa33d fix for gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 17:24:00 +00:00