Commit Graph

33560 Commits

Author SHA1 Message Date
Michael Lotz
5ec7bd49cb The default for deleteWhenUnreferenced changed between the Referencable of the
old userlandfs and the BReferenceable now in use by netfs. So better explicitly
set that to avoid nasty surprises (like crashes left and right).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 02:41:06 +00:00
Ingo Weinhold
df6a690eae Patch by Matt Madia: Use "set -o errexit" to error out when a command failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 02:39:03 +00:00
Ingo Weinhold
3cfe017578 Corrected spelling of Samuel's surnames.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 02:35:43 +00:00
Michael Lotz
44b08ffcb9 The node parameter is a void ** but these calls expect the void * to the node we
got as a result from read_vnode. The joys of void pointers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 23:57:38 +00:00
Niels Sascha Reedijk
ae15171716 Update the SupportDefs documentation for several changes and document the atomic_* functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 23:14:46 +00:00
Rene Gollent
27bb89cae1 BFS needs to also allocate a file cache when dealing with a long symlink inode. Fixes ticket #5282.
Axel and/or Ingo, please review.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 22:49:33 +00:00
Jérôme Duval
585a28af7b I thought afterwards the stub can still be useful to run R5 C only binaries on a GCC4 Haiku. It might be better placed in the arch folder though.
Also fixed a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 22:32:57 +00:00
Adrien Destugues
35c16bd3fe DeadYak over IRC:
-Fix gcc4 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 21:52:30 +00:00
Karsten Heimrich
0e56556dcd * Fix missing colon.
* Use sentence case in PrimaryPartitionEditor.
* Fixed double spacing in InitializeBFSEditor view. Since we are going
  to embed it anyway, don't put some extra spacing arround it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 20:41:22 +00:00
Adrien Destugues
4e7bc18cbc - Fix style and bugs in the davicom driver
- Also remove and add some debug output to try to spot the problem without getting flooded with too much messages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 20:12:48 +00:00
Jérôme Duval
a4248cf53b * Rename _thread_do_exit_notification() to _thread_do_exit_work() as suggested by Ingo.
Also added an empty stub for _thread_do_exit_notification() when compiling for GCC2.
* Removed the check testing if the thread is already dead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 17:58:38 +00:00
Stephan Aßmus
16940ab877 Now that the speed is displayed right away, increase the number of slots for
calculating the average speed to get a more stable value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 08:52:42 +00:00
Stephan Aßmus
0dd025d0c4 Applied patch by "vegardw":
* Fix order of Source/Destination buttons in Expander after porting the UI
   to use layout management.

Fixes #5283. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 08:44:18 +00:00
Karsten Heimrich
35982ed847 * Fix can't cut and drag a piece of picture from ShowImage to Desktop, ticket #4874.
* Set the current image mime as first in the translators list, thus on drag&drop with
  left mouse button the same image type is created as the currently loaded in ShowImage.

  Still this does more hide than fix the real problem, beeing ICO translator the first in
  the generated translator list due to the high capabilitys values and a limited set of
  output sizes it can handle. I attached a further fix to the ticket, still i would like
  to get some other opinions on it before commiting.


By default the transla


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 00:14:40 +00:00
Philippe Saint-Pierre
431bbe1cc2 [Pulse] More compact display of the dragger in replicants. (follow-up of #4244)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 22:51:24 +00:00
Rene Gollent
89af054816 Employ a similar naming abstraction for the desktop as has been done for Trash to allow that name to be localized visually later (same on-disk location though).
SlowContextPopup also needed to be adjusted to account for trash's new location.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 21:35:42 +00:00
Stephan Aßmus
35de4b4862 Implement showing the estimated time to finish a file process. It will toggle
automatically between showing amount copied + speed and estimated finish time
+ time left. It could be implemented to toggle on mouse click, but then it would
be a hidden feature. Comments welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 21:02:50 +00:00
Rene Gollent
114580cd78 Update find_directory to use a lowercase path for the on-disk trash location like more or less all other system dirs. Should be the last of the trash changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 20:47:28 +00:00
Rene Gollent
b37100b2bf Missed a few instances in the previous cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 20:07:30 +00:00
Jérôme Duval
6aee58a4cb * Revert the reverse the addons iteration of r35121.
* The media_addon_server before unloading addons need to be sure the nodes are deleted.
For instance, applications could keep references on global nodes, thus preventing deletion.
To release all references, the media_addon server uses a new method BMediaRosterEx::ReleaseNodeAll().
* Quit the MediaRoster looper when quitting media_addon server before unloading addons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 20:05:01 +00:00
Rene Gollent
d9626569fb Model: Add accessor for Trash node property and cleanup spacing between inlines.
Rest: Use the IsTrash() accessor on Model where possible in place of the more expensive FSIsTrashDir() check.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 19:58:46 +00:00
Stephan Aßmus
9589965cbd Change the algorithm that calculates the average copy speed, so it begins to
display much earlier (two seconds).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 19:47:22 +00:00
Rene Gollent
bdf7d02094 Update the new mail notification add-on's name to match the sentence case changes. Should fix ticket #5257. MDR's account add-on chain format should probably be modified to not be so dependent on the actual name of the add-on as opposed to some alternate UID though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 19:18:31 +00:00
Stephan Aßmus
4e1bbd4d0d Implemented display of current size/total size copied and current copy speed.
It will begin to play after a short time (10 seconds). Estimated finish time
is still a TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:40:25 +00:00
Stephan Aßmus
406799c165 Copy and paste bugs prevented the copy progress bar to function properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:39:05 +00:00
Rene Gollent
0e848e2d69 Fix error spotted by Adrien: don't return Trash name for anonymous volumes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:27:21 +00:00
Rene Gollent
6abd81fcf0 Add a special node type for the Trash analogous to the one used for the root dir. This allows the model to return an arbitrary name not directly tied to the on-disk name for the Trash directory, which a) makes it localizable in the future, and b) means it's not tied to the on-disk name, which removes the requirement that the Trash dir name be uppercase on disk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:12:39 +00:00
Rene Gollent
782fbf00a7 Overlooked this with my previous Trash-related changes: updated NavMenu to be
behaviorally in sync - it now hides the root volume Trash dir like PoseView,
and adds the Trash entry as needed when navigating down the Desktop.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:35:06 +00:00
Oliver Ruiz Dorantes
eb30e0668a Update bluetooth optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:23:48 +00:00
Karsten Heimrich
fc17c9d286 * Fixes ticket #4913.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:13:04 +00:00
Philippe Saint-Pierre
ebb64acec1 [Expander]:
* Use be_fixed_font in the Show Content TextView (fixes ticket #5272).
 * Minor cleanup in ExpanderThread.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:00:08 +00:00
Jérôme Duval
1952dab0df * we release nodes which were instantiated or autostarted.
* I had to reverse the addons iteration when quitting, the mixer wasn't releasing correctly if released last.
* use IncrementAddonFlavorInstancesCount on autostarted flavors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:51:06 +00:00
Karsten Heimrich
deed298ba4 *Fixes ticket #4415.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:45:43 +00:00
Jérôme Duval
f0bddd1112 * also prints out the node ref_count on Dump()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:43:03 +00:00
Rene Gollent
aa61ee48ef Cleaned up legacy icon mappings and add some missing resource definitions to
TrackerIcons.h. Also removed the setup for the folder icon mimetype in 
TrackerInitialState, as it was using a non-existent resource ID to do so with.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:35:40 +00:00
Oliver Ruiz Dorantes
9760dcae20 - Move bluetooth net_device module to a independent module HCI, remake API interfaces
- Move functionality for assembling ACL/events packets of the driver to this module
- Move h2generic driver to c++ (not style)
- Pass checkstyle.py to all commited files.
Fixes:
- Wrong condition for finishing l2cap packet segmentation.
- Place NetBuffersPrependers in a inner scope to avoid Sycing twice in destructor.
- Avoid keeping trace of l2cap responses of any other kind of thread.
- Do not free net_buffers of for Frame containers.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 15:46:36 +00:00
Philippe Saint-Pierre
9b178bf778 Make sure the Replicant PopUpMenu says "About Pulse..." rather than "About CPUButton...". (Follow-up of #4244).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 15:29:04 +00:00
Stephan Aßmus
3cc5c3ffb1 Further cleanup of TrackerLoopControl. gStatusWindow is now nowhere used anymore
except inside TrackerLoopControl. The only expected change of behavior is when
trying to copy something onto a read-only volume. AFAICS, it would previously
prompt an alert and not already show the status window. Now it will show the
status window and prompt an alert, like in all the other situations when the
operation would be stopped before it even started by an alert. I was able to
remove quite a few code duplications along the way. CopyLoopControl can be
instantiated by itself and provides default implementations which could in turn
be removed from TrackerLoopControl.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 13:32:06 +00:00
Jérôme Duval
d3bb2b9543 style clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:51:31 +00:00
Stephan Aßmus
8aad948744 * 80 chars/line limit cleanup
* Fixed one more occurance of "dos" filesystem check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:16:22 +00:00
Stephan Aßmus
0bf7f1f8cd When an error occurs to incrase the node monitor limit, reset the current
value and don't keep it at the value we wanted it increased to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:15:50 +00:00
Philippe Saint-Pierre
2ee53d23fa Fix gcc4 build error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 08:48:51 +00:00
Philippe Saint-Pierre
e20b156868 Pulse : Couldn't close Pulse CPUButton replicants
* It nows leave enough room to display the dragger into the replicant in most
   cases...

 * ...excepts in deskbar.  Then it instead allows you to right click to 
   access a popup menu allowing you to close the replicant.

   The dragger isn't shown due to space constraints.

Fixing ticket #4244.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 05:12:09 +00:00
Rene Gollent
2a94c3b35b Update Installer's empty volume check to work with the new trash
directory locations.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 00:21:42 +00:00
Oliver Tappe
bd4a0479d8 * added all (virtual) qt-creator project files to svn:ignore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 22:33:49 +00:00
Oliver Tappe
4052469d00 * improved create_project_files.pl to automatically add the created qt-creator
project files to svn:ignore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 22:21:39 +00:00
Jérôme Duval
66204ee8cf forgot to add prototypes for pthread_getschedparam and pthread_setschedparam(), sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 19:33:34 +00:00
Axel Dörfler
c9025d9114 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 18:14:12 +00:00
Axel Dörfler
29ddbdbb53 * Moved the "var" directory to /boot/common/.
* Moved the "tmp" directory out of /var, and to /boot/common/cache/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 17:17:07 +00:00
Stefano Ceccherini
af029e2fb3 Fixed a gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:49:57 +00:00