Commit Graph

27482 Commits

Author SHA1 Message Date
Rene Gollent
71279b24dd Adjust the thread counting to use atomic adds. This should prevent the previous scenario where many more threads than the limit could actually be spawned.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-04 03:28:19 +00:00
Rene Gollent
83868e649d Defer actually spawning the thread to the call to Run(). The way the thread manager is currently written as a whole won't correctly enforce the thread limit (looking into that, though I think a different approach entirely is merited here anyways), but this at least prevents large numbers of threads from being spawned and sitting in the suspended state in the registrar forever. Fixes ticket #3172.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-04 00:28:03 +00:00
Ithamar R. Adema
5b188b1c9f * Added the ar81xx driver to the image. Thanks for testing kvdman!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 21:28:12 +00:00
Axel Dörfler
f70cad5cf8 * Added "shopt -s checkwinsize" to our /etc/profile. This fixes bug #2514,
thanks Adrian!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 21:23:04 +00:00
Ithamar R. Adema
6de5686743 Add network driver for Atheros AR8121/AR8113/AR8114 controllers to the build. These are used in the EeePC 901 and later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 20:10:48 +00:00
Ithamar R. Adema
33f40256a5 Add if_llc.h to BSD compatibility layer; remove a semicolon from a macro definition where it shouldn't be; and add the roundup() macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 20:05:20 +00:00
Rene Gollent
c3341227ea If the source volume is read only, only allow a copy op since move makes no sense in this case. Ideally we should probably also modify NavMenu and the drag context menu to only present the options that make sense in a particular situation. Fixes ticket #3195.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 14:43:23 +00:00
Rene Gollent
f836b0656b Updated CVS and yasm packages, thanks to Scott McCreary for the updates!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:46:59 +00:00
François Revol
1872ef33ab Add to build, wow it even builds without a single warning :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:46:39 +00:00
François Revol
01f3ea96af YetAnotherUselessDebugToolIWrote
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:38:26 +00:00
Ingo Weinhold
30ed37c845 Introduced rules UserBuildConfigRulePostBuildTargets,
UserBuildConfigRulePreImage, and UserBuildConfigRulePostImage which will be
invoked at different points in the build system execution. They can be
overridden in UserBuildConfig, thus allowing for executing user code at
those points.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 02:02:28 +00:00
Ithamar R. Adema
4a3ec9b6a4 add the acpi_lid driver to the build system; not in the image yet though...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:43:50 +00:00
Ithamar R. Adema
672ed10926 Update iasl bin tool to acpica-20080701
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:42:13 +00:00
Rene Gollent
4f7d38d331 Correctly indicate "Copying" vs "Moving" state in status window (thanks Adrian Panasiuk for pointing this out).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 23:05:06 +00:00
Jérôme Duval
2735ebaeb1 * merge current nfe driver from FreeBSD
* now uses the generated miidevs header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 17:52:30 +00:00
Jérôme Duval
855b7c292e added some missing functions for freebsd current
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 17:51:42 +00:00
Rene Gollent
91da321846 Remove unnecessary length check, and add a clarifying comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 00:41:02 +00:00
Rene Gollent
4ebaf16fab We need to check if we have an exact match in order to match BeOS's behavior (a directory is considered to contain itself on R5). Nice catch Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-02 00:19:40 +00:00
Oliver Ruiz Dorantes
a94c1dc58d Style changes
whitespaces remaining... what editor do you use to avoid that?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-01 23:09:11 +00:00
Oliver Ruiz Dorantes
5b7fde0fb5 Really scary,
Obviously non tested code
freeing stack allocated object.  

tnx axel



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-01 23:06:01 +00:00
Rene Gollent
6020e8a4c3 When comparing paths, we need to ensure that the entry's path does in fact have a path separator at the same position as the original, otherwise we incorrectly indicate containment in some cases. Fixes ticket #3186.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-01 14:08:53 +00:00
Jérôme Duval
5acaa0fe30 check if LockGL was called, before actually going on with UnlockGL
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-30 22:06:25 +00:00
Ithamar R. Adema
8e9ff38303 Update Attansic L2 driver with latest source from FreeBSD, it is now fully functional!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-30 18:16:19 +00:00
Jérôme Duval
f4b68d125d updatedb build changed a bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-29 21:22:46 +00:00
Jérôme Duval
0f4ef4c46e updated findutils to 4.2.33 (sorry, not latest).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-29 20:41:23 +00:00
Axel Dörfler
bcc8dada2c * dhcp_message::seconds_since_start was set to a negative value, causing
corrupt values. Maybe this changes something with bug #2531.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 21:34:48 +00:00
imker
aa0c1702d5 Remove dec21143. It is not yet ready. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 21:31:13 +00:00
imker
64b633ee6c Added usb_asix ro build queue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 21:26:33 +00:00
imker
69988fd576 Driver for USB-to-Ethernet Adapters by ASIX.
It supports AX88172/AX88772/AX88178 models and clones.  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 21:22:26 +00:00
Axel Dörfler
d35d0f74a6 * s/fLastKeyTime is no longer a static member - this fixes that the type-ahead
buffer will be taken over to another window (if you type fast enough).
* Also the type-ahead runner no longer clobbers the static type-ahead buffer,
  so it won't delete something you typed in another window anymore (again, if
  you type fast enough :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 20:35:28 +00:00
Axel Dörfler
b9224a2568 * Fixed typo.
* No need to duplicate other people's coding style violations: parameters
  have names in Haiku even in header files; fixed some more occurences of
  this problem (but not nearly all).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 20:32:35 +00:00
Axel Dörfler
c5662f2fb9 * Changed the StringNode to replace spaces with '*' (used with "contains",
"starts with", and "ends with") to give results that mirror those of other
  search engines a bit more.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 20:22:26 +00:00
Stephan Aßmus
860678c2c7 At some point, there was some hassle about what coordinate system the "where"
BPoint in a mouse moved message is. Turns out it's different (!) according
to the type of message and this is even documented in the BeBook. I don't
really know if we want to copy this, but since there are apps out there that
depend on this, I am implementing it so that it's compatible with BeOS: In
the B_MOUSE_UP/DOWN case, it's the coordinate space of the target view, in
B_MOUSE_MOVED messages, it's that of the window. That explains a few things...
Clicking into Pe's function popup window should now select the right icon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 20:05:38 +00:00
Axel Dörfler
0a31071e2f stippi+axeld:
* DrawString() took the fast clipping path for rotated fonts which didn't work
  out (visible when moving a window over the rotated texts in DriveSetup).
* Also, made it work correctly when using sheared fonts.
* Fixed typo.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-28 19:59:34 +00:00
Karsten Heimrich
c995fd0823 * patch by Clemens Zeidler
keep the current century and and don't jump to the first
  of the month etc. in case of invalid input, thanks Clemens



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-27 21:17:22 +00:00
Oliver Ruiz Dorantes
d8de43897a - Implement ACL Segmentation and Reassembly
- Kernel traces for bluetooth devices
- Register connections helper funcs



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-27 19:44:19 +00:00
Oliver Ruiz Dorantes
7cc7cada6a - Implement signaling req/rsp
- Deliver Connection Oriented packets
- Complete the l2cap upper layers
- Basic interaction with sockets
- Implement thead at this layer for TX



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-27 19:12:33 +00:00
Oliver Ruiz Dorantes
ea40c3030b - Use CoreData module for posting events
- Fix type field for reporting devices id
- Snooze before panic for non contiguous buffers
- Debug output buffers



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-27 19:02:52 +00:00
Axel Dörfler
243680e819 * Forgot to cast before the shift; this fixes the problem seen by Bruno.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 22:15:17 +00:00
Oliver Ruiz Dorantes
0029cf816e -Add the possibility to post formatted messages to the debug window
-Make the window resizable. BUT as this is a multitab window when I resize, only the view in the active TAB is resized, as soon as I switch to another TAB the view in the new selected tab has its old size, messing all.

* Can any UI guru explain whats the Best/Elegant way fixing this?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 18:05:27 +00:00
Axel Dörfler
b614227bfd * In bfs_write_stat() B_STAT_UID, B_STAT_GID, and B_STAT_MODE now also trigger
an update of st_mtime. This is a work-around for the unmaintained st_ctime,
  and this also fixes bug #3143.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 10:24:11 +00:00
Axel Dörfler
d09596f530 * Oops, this should have been part of the last commit...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 10:22:13 +00:00
Axel Dörfler
a26a409acc * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 10:21:52 +00:00
Rene Gollent
87f41e61ea Resolve several bugs that are probably as old as Tracker itself:
1) Move To now works as advertised in all cases - previously it
silently converted a move into a copy if the destination volume
was different, as its move code was not geared towards handling
that case properly. This also has the side effect that drag and
drop is now always a move as well unless overridden via right click
DnD. This may or may not be reverted back to the original behavior
later depending on the consensus.
2) Copying a folder onto another folder of the same name now merges
the contents instead of destroying the original. This fixes ticket
#1420. Still to do: interactive prompting to allow fine grained file
replacement and skipping in this and other multi-file cases, but 
I'll open a new enhancement ticket for that.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-26 03:40:41 +00:00
Bruno G. Albuquerque
9141571856 - Traverse links when adding well known directories.
This change will make directories like the downloads folder get its correct
special icon even if it is a link to a another directory. The destination
directory also gets the icon which makes it easy to identify special
directories even in other partitions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-25 23:38:08 +00:00
Bruno G. Albuquerque
641305c237 - Find panel now also includes supertype attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-25 22:50:02 +00:00
Oliver Ruiz Dorantes
d23283c43e Increase the priority of the thread handling the HCI events, + a bit formatting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-25 22:38:55 +00:00
Oliver Ruiz Dorantes
b3256174a6 Change module name
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-25 18:22:25 +00:00
Oliver Ruiz Dorantes
18c7aa0c9d - Add bluetooth kernel module intented to manage all internal data structures
-Managing for HCI connections
    -Managing of L2cap Channels
    -Pending frames
    -Interface with KDL 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-25 18:20:40 +00:00
François Revol
72511e46a9 Add options to specify block size and number of blocks to try at once, as with the linux version.
Read 64 blocks of 1024 bytes by default.
Use getopt().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-24 21:55:14 +00:00