Commit Graph

26695 Commits

Author SHA1 Message Date
Jérôme Duval
3c4a3ce31c * correctly init ref_count on driver settings handles
* unload settings when ref_count is zero and boot device is available


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 14:58:12 +00:00
François Revol
85f9771aec Avoid crashing if gccPlatform is NULL, thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 08:41:54 +00:00
François Revol
6b6bfc7b31 Got rid of the ugly non-working hack to hide the password and use BTextView::HideTyping() instead. Seems the BeOS one removes the text on call !?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 08:24:39 +00:00
Ingo Weinhold
4eaa43ac48 * Added "flags" parameter to VMCache::Read().
* Use the new VMCache::Read() flags parameter to directly read into the
  physical page in the page fault handler instead of mapping it first.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 07:30:44 +00:00
Rene Gollent
b99c736b83 Add the current version of JiSheng Zhang's firewire_dv media add-on to the
build. This is mostly complete, excepting BBufferConsumer's virtuals are not
yet implemented, and needs more testing to ensure that the encoded stream is
correctly read from the camera, though based off preliminary tests by Francois,
detection/publishing at least seems to work.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-11 04:52:20 +00:00
Jérôme Duval
00acef29d6 take sample rate from settings into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 23:43:56 +00:00
François Revol
d5368245ce Support IP:port notation in the server field for sftp, pass it as -oPort=port.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 23:27:25 +00:00
Axel Dörfler
230e325926 * The network usage data sources are now actually using a single scale as
intended before.
* Also found a bug in the scales that prevented them from working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 23:20:59 +00:00
Axel Dörfler
2716cfd3d7 * Threw away the broken stat() vs. _stat() mechanism to allow for more fields
in struct stat.
* Instead, I followed Marcus' great idea and added a compatibility check in
  the runtime loader: now, R5 binaries (also shared libraries) are detected,
  and they get special versions for stat(), fstat(), and lstat() that return
  the smaller stat struct.
* However, I've disabled (in src/system/libroot/posix/sys/stat.c) using the
  larger stat field for now, as this breaks some of our optional packages.
  So until we rebuild them all, this shouldn't be enabled.
* This should now also be used for BeOS compatibility in libnetwork.so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 22:13:05 +00:00
Ingo Weinhold
1b3b00c2a1 memset() returned the wrong value. Fascinatingly there's even software
(APR) that uses it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 21:49:03 +00:00
Ingo Weinhold
78594e1f21 Save one byte of code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 20:07:08 +00:00
Stephan Aßmus
877f6beaec zuMi was at it again and created a cool icon for the mail_daemon. Almost a pity
to use this gem for a background application. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 19:14:20 +00:00
Karsten Heimrich
d034a4c9f7 * traverse the entry so that symlinks to files can be opened as well
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 19:08:57 +00:00
Karsten Heimrich
18c9bf5575 * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 19:07:20 +00:00
Stephan Aßmus
126ce07138 * Cleanup with regards to file panel usage. There are two global file panels
now maintained by the application. (So that the last used folder is more
  consistently remembered.)
* Added a message protocol for using the file panels from other loopers.
* Implemented playlist saving and loading for the binary (BMessage-based)
  format. There were some beginnings for supporting a m3u-like text-based format
  as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:55:06 +00:00
Karsten Heimrich
fe93c7b3ea * rewrote BTime to operate entirely on microseconds
* added some convenient functions, operator etc...
* reused parts of the patch by Stephen Deken, thanks



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:51:15 +00:00
Ingo Weinhold
cfe2aa898c Should have been part of the previous commit. x86 commpage definition
for memset().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:44:44 +00:00
Ingo Weinhold
b18c9b97ae * Implemented x86 assembly version of memset().
* memset() is now available through the commpage.
* CPU modules can provide a model-optimized memset().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:43:46 +00:00
Stephan Aßmus
609bc8ca47 Fix a confusion with the big-endian versus little endian saving of the
magic four bytes to recognize native (BMessage-based) icons. The file
recognition rule didn't work in the end.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:41:57 +00:00
Axel Dörfler
ea93f584ad * put_device_interface() accessed "device" which was already freed to get
the module name, possibly causing a crash when you delete an interface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 18:38:12 +00:00
David McPaul
057e9d6386 Add FindKeyFrame function
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 08:34:34 +00:00
David McPaul
fa4c6d578f Handle duration for mp3 in wav container better, add FindKeyFrame function
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-10 08:33:57 +00:00
Ingo Weinhold
379ad6d037 * Moved the arch specific stuff in src/system/kernel/lib into arch/...
subdirectories. Also moved the x86 kernel arch_string.S there.
* Moved memcpy.c from src/system/libroot/posix/string into the
  arch/generic subdirectory.
* Dealt with the consequences of moving things around. Affected are also
  the boot loader and runtime loader builds.

Adjust the m68k and ppc parts, too, but only the x86 build is tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 23:47:01 +00:00
Stefano Ceccherini
026c75e91c add ctype-extn.c to the build. It contains the function versions of the is*** defines. Without this, bash 3 refuses to compile on haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 14:58:45 +00:00
Rene Gollent
aa420f85e2 Added TRACE macros to this file and redid its dprintfs to use that instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 13:41:15 +00:00
Stefano Ceccherini
2cddb12bac don't use the minimum window width, but the real window width. Just in case one day the deskbar was a bit wider
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 12:35:06 +00:00
François Revol
4129f84603 - add team id on a TRACE()
- try to accomodate for low ram systems by making the first kernel heap allocation smaller


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 12:11:49 +00:00
David McPaul
e978942c95 improve detection of quicktime and MPEG4 files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 12:11:43 +00:00
Stephan Aßmus
64546f13ae Removed wrong additional line breaks for spacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 12:05:08 +00:00
Axel Dörfler
4682283fbd * The BView archived the view's event mask - if the auto-raise feature was
enabled when the view got archived, the replicant inherited the event mask
  of the view. We now make sure the event mask is always set to 0.
* This fixes bug #2566.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 10:03:43 +00:00
François Revol
82a6a6f3b2 Some debug code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 09:51:49 +00:00
Axel Dörfler
8a89ce7e93 * WorkspacesView::MouseDown() now only reacts on mouse buttons within the view
even if the auto raise feature is activated. This fixes bug #2173.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 09:50:58 +00:00
François Revol
93861ead3e Better floppy media descriptor for the fake FAT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 09:50:00 +00:00
François Revol
68083f29a3 The last 16MB (physical) on Atari is used for IO, and we currently map it through transparent translation register. Move commpage out of the way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 09:48:08 +00:00
Rene Gollent
8b6f1d5ef5 Fixed warnings with tracing enabled and made some very noisy dprintfs trace-only
as they were flooding the syslog.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 03:53:00 +00:00
Ingo Weinhold
c28bcbdf58 Added "--signal" option that performs the crash in a signal handler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-09 00:47:36 +00:00
François Revol
2bd9dd82a6 Unix is a name, should be capitalized. (it's actually a trademark too)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 23:30:53 +00:00
Stephan Aßmus
9000a4b179 * Fixed some layout issues here and there.
* Fixed wrong link to filetypes workshop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 23:25:32 +00:00
François Revol
afa07bfacd Some acronyms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 22:59:59 +00:00
François Revol
7a9f779fb7 Better definition for OsDrawer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 22:04:01 +00:00
Stephan Aßmus
20bf7d63a4 * More conversion to using CSS. The complicated table for layouting is gone,
the logo area is very simple now, as well as the navigation area. Tweaked
  the looks to remind a little of the Haiku website look.
* Incorporated patch by Humdinger (better "Open With..." menu screen shot,
  added "Open With Preferred" screen shot and text.)
* Some minor fixes here and there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 20:51:49 +00:00
Karsten Heimrich
c7cb73f5aa * use snprintf
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 19:39:51 +00:00
Axel Dörfler
6450ea1855 * Added the "Open Target Folder" Tracker add-on as published on BeBits
to the repository and image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 15:22:07 +00:00
Ingo Weinhold
ee0d2e6445 Right check, wrong place. The "-C" option (don't profile child teams)
was broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 14:07:21 +00:00
Ingo Weinhold
7867cf37df Increase the heap size in 64 KB steps. Was 4 KB before, which was a bit
slow for short-running, heap-intensive programs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 14:05:47 +00:00
François Revol
79097ca072 Add comment on haikuports and osdrawer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 13:49:52 +00:00
François Revol
ff00865639 Add a CSS and use it from the first page.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 13:39:23 +00:00
François Revol
15202c31b1 Add OsDrawer to the list of 3rd party sites.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 13:05:00 +00:00
Axel Dörfler
4a1b989745 * Made the screen saver window as well as the password window kWindowScreenFeel.
* This makes them highest in the window order, so that floating all windows
  like the Deskbar cannot compromise the password protection anymore.
  This fixes #2808.
* Note, the password window should also block uses of Alt-Tab, even though this
  is usually harmless (as only other windows with kWindowScreenFeel can be
  promoted to the front).
* Also note, the password window should actually be an app modal window that
  appears in front of the screen saver window. However, the app_server currently
  doesn't allow anything but menus on top of a kWindowScreenFeel window.
* Removed changing full screen setting of the ScreenSaver window, as this
  shouldn't matter.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 07:58:41 +00:00
Axel Dörfler
54f92239a2 * The ServerWindow now memorizes the original BDirectWindow feel when switching
to full screen. Since BDirectWindows can have any feel, this does now
  correctly restore it instead of always reverting to B_NORMAL_WINDOW_FEEL.
* This fixes part of bug #2808.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-08 07:46:27 +00:00