Commit Graph

27511 Commits

Author SHA1 Message Date
Jérôme Duval
dc7290d08d fix noticed by Olivier Cortes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-13 12:35:54 +00:00
François Revol
7c9f1243c4 return a proper error after the panic when no device is found, and avoid a leak. Shouldn't happen anyway, but doesn't hurt.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-13 02:30:07 +00:00
Jérôme Duval
8214934cdc added p7zip as an optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-12 22:17:05 +00:00
Jérôme Duval
6bee3c14b5 unlock the application after calling Quit(): this fixes #3188. Not sure it's the best fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-11 22:54:04 +00:00
Rene Gollent
cf44fcdb52 Updated patch from Olivier Cortes - complete the list of modifier keys that are checked and returned. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-11 04:27:56 +00:00
Rene Gollent
0017304e3d Correct a small style violation noted by Axel, and add a TODO note.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 14:41:10 +00:00
Rene Gollent
3332e5b796 Correct small style violation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 14:36:53 +00:00
Rene Gollent
932334b709 Build fix, thanks to Olivier Cortes for submitting!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 14:34:36 +00:00
Rene Gollent
835e354694 Remove unnecessary comparison.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 02:28:00 +00:00
Rene Gollent
eaed962ce9 send_notification needs to return a status_t, otherwise the build breaks in the notifications module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 01:06:50 +00:00
Rene Gollent
582f68d73f And that should of course be Message, not Welcome...no idea how that happened..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:54:32 +00:00
Rene Gollent
bdffbce7af Adjust ScreenSaverRunner to make the screen saver draw once before sleeping. This fixes the perceived black screen problem with the Message screensaver. Also cleaned up Message slightly to retrieve its string from fortune more cleanly, and readded it to the build since it will no longer deadlock the screensaver module for 30 seconds at a time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:44:14 +00:00
Rene Gollent
dbcdcf3950 Correct slight regression from r28777 - screen saver tick size can be adjusted dynamically, and thus we must update it after each complete tick. Fixes ticket #3211.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-10 00:33:55 +00:00
Stephan Aßmus
1f92a41ace Patch by Humdinger with the following commit message:
* Added explanation of icons to Bootloader.
* Applied css-fix by Braden Ewing to fix rendering under MS Internet Explorer.
  Added Braden to welcome.css authors.
* Added a css class pre.terminal to make Terminal output more visible plus a few more
  things. Added myself to welcome.css authors. :)
* Updated all Terminal output with the new pre-class tag.
* Flaunted our beautiful icons at the top of every preference/application/applet plus
  their contents page.
* Added icon PNGs in 16x16 32x32 and 64x64.
* Added quick info where to find a preference/application/applet and its settings at the
  top of every page.
* Added apps: ActivityMonitor, Magnify, StyledEdit, Terminal
* Added applet: Launchbox
* Added stubs to all missing prefs/apps/applets. Everyone's welcome to work on the
  contents (announce it on the mailing list, though!).
* Moved preference/application/applet into own folders.
* Updated contents page.
* Reformatted everything to be XHTML1.0-Strict conforming. Added XHTML DTDs to
  welcome/html-dtd/.
* Added copyright and author as comment to the header of every page. If someone else
  should be mentioned there, speak up.

---
Whoot! What a titanian piece of work, Humdinger!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 23:31:04 +00:00
Axel Dörfler
e6dd439f7c * Work-in-progress of a network notification implementation.
* Compiles, but doesn't work at all yet. For those who wonder: the networking
  notifications are put into a separate module, so that the network stack can
  be unloaded without losing connection, IOW user applications will continue
  to retrieve notifications when the stack is loaded again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 23:16:10 +00:00
Axel Dörfler
311635a1ab * Minor cleanup - thanks, Rene, I just got aware of it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 23:09:58 +00:00
Rene Gollent
5a60521c89 Build fix. Redeclaration of status variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 22:36:00 +00:00
Axel Dörfler
c0c4841c24 While looking at the code, I found two memory leaks:
* UpdateUserListener() did not delete the copiedListener in case adding the
  monitor listener failed.
* RemoveListener() did never delete UserNodeListeners, IOW user node monitors
  were never freed!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 22:23:36 +00:00
Rene Gollent
8aafdd05fc Make the uptime view a multiline textview. This allows it to gracefully wrap the text instead of simply cutting it off when your uptime is too long to fit into the provided space. Fixes ticket #701.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 05:37:35 +00:00
Rene Gollent
27c43a2d8f Implement the missing pieces to handle per workspace display mode support.
Adjust Workspace view to correctly scale each workspace based on the 
resolution of that workspace. This exposes one or two anomalies in other
places in the app_server code though which I wasn't able to track down.
This fixes ticket #693.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 02:50:23 +00:00
Oliver Ruiz Dorantes
fbbf64a410 Remove dedicated implementation of GetAddress and GetName in server side.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-08 22:49:20 +00:00
Oliver Ruiz Dorantes
e41b54f56c GetAddress and GetFriendlyName does not need a dedicated request in the server side
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-08 22:45:25 +00:00
Jérôme Duval
4f8e7ecc5a * use the keymap control and command keys to trigger the team monitor
* this fixes part of #3176 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-08 20:50:16 +00:00
Ingo Weinhold
ad27081fa6 Missed to check this one in:
* Invoke the UserBuildConfigRulePostBuildTargets rule.
* Some automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-06 18:42:33 +00:00
Jérôme Duval
49cdd09be6 added missing label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-05 20:05:51 +00:00
Jérôme Duval
1b8d812005 update 20081205
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-05 19:08:21 +00:00
Rene Gollent
a63ebcb3ca Updated CVS package courtesy of the HaikuPorts crew - fixes the root user commit problem. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-05 04:13:34 +00:00
Rene Gollent
4f07e62e33 Break up the screen saver update interval into 50 msec ticks. This lets us quickly evaluate if it's time to exit the screen saver, which would previously have blocked until the tick interval was up. This fixes ticket #2339.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-04 23:52:28 +00:00
Ithamar R. Adema
8acabe5a2b * Take into account that get_device_hid() can fail; so empty string before passing it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-04 22:28:42 +00:00
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