Stephan Aßmus [Fri, 10 Oct 2008 18:55:06 +0000 (10 18:55 +0000)]
* 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
Karsten Heimrich [Fri, 10 Oct 2008 18:51:15 +0000 (10 18:51 +0000)]
* 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
Ingo Weinhold [Fri, 10 Oct 2008 18:44:44 +0000 (10 18:44 +0000)]
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
Ingo Weinhold [Fri, 10 Oct 2008 18:43:46 +0000 (10 18:43 +0000)]
* 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
Stephan Aßmus [Fri, 10 Oct 2008 18:41:57 +0000 (10 18:41 +0000)]
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
Axel Dörfler [Fri, 10 Oct 2008 18:38:12 +0000 (10 18:38 +0000)]
* 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
David McPaul [Fri, 10 Oct 2008 08:34:34 +0000 (10 08:34 +0000)]
Add FindKeyFrame function
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27949 a95241bf-73f2-0310-859d-f6bbb57e9c96
David McPaul [Fri, 10 Oct 2008 08:33:57 +0000 (10 08:33 +0000)]
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
Ingo Weinhold [Thu, 9 Oct 2008 23:47:01 +0000 (9 23:47 +0000)]
* 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
Stefano Ceccherini [Thu, 9 Oct 2008 14:58:45 +0000 (9 14:58 +0000)]
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
Rene Gollent [Thu, 9 Oct 2008 13:41:15 +0000 (9 13:41 +0000)]
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
Stefano Ceccherini [Thu, 9 Oct 2008 12:35:06 +0000 (9 12:35 +0000)]
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
François Revol [Thu, 9 Oct 2008 12:11:49 +0000 (9 12:11 +0000)]
- 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
David McPaul [Thu, 9 Oct 2008 12:11:43 +0000 (9 12:11 +0000)]
improve detection of quicktime and MPEG4 files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27942 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Thu, 9 Oct 2008 12:05:08 +0000 (9 12:05 +0000)]
Removed wrong additional line breaks for spacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27941 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Thu, 9 Oct 2008 10:03:43 +0000 (9 10:03 +0000)]
* 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
François Revol [Thu, 9 Oct 2008 09:51:49 +0000 (9 09:51 +0000)]
Some debug code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27939 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Thu, 9 Oct 2008 09:50:58 +0000 (9 09:50 +0000)]
* 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
François Revol [Thu, 9 Oct 2008 09:50:00 +0000 (9 09:50 +0000)]
Better floppy media descriptor for the fake FAT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27937 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Thu, 9 Oct 2008 09:48:08 +0000 (9 09:48 +0000)]
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
Rene Gollent [Thu, 9 Oct 2008 03:53:00 +0000 (9 03:53 +0000)]
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
Ingo Weinhold [Thu, 9 Oct 2008 00:47:36 +0000 (9 00:47 +0000)]
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
François Revol [Wed, 8 Oct 2008 23:30:53 +0000 (8 23:30 +0000)]
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
Stephan Aßmus [Wed, 8 Oct 2008 23:25:32 +0000 (8 23:25 +0000)]
* 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
François Revol [Wed, 8 Oct 2008 22:59:59 +0000 (8 22:59 +0000)]
Some acronyms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27931 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Wed, 8 Oct 2008 22:04:01 +0000 (8 22:04 +0000)]
Better definition for OsDrawer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27930 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Wed, 8 Oct 2008 20:51:49 +0000 (8 20:51 +0000)]
* 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
Karsten Heimrich [Wed, 8 Oct 2008 19:39:51 +0000 (8 19:39 +0000)]
* use snprintf
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27928 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Wed, 8 Oct 2008 15:22:07 +0000 (8 15:22 +0000)]
* 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
Ingo Weinhold [Wed, 8 Oct 2008 14:07:21 +0000 (8 14:07 +0000)]
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
Ingo Weinhold [Wed, 8 Oct 2008 14:05:47 +0000 (8 14:05 +0000)]
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
François Revol [Wed, 8 Oct 2008 13:49:52 +0000 (8 13:49 +0000)]
Add comment on haikuports and osdrawer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27924 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Wed, 8 Oct 2008 13:39:23 +0000 (8 13:39 +0000)]
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
François Revol [Wed, 8 Oct 2008 13:05:00 +0000 (8 13:05 +0000)]
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
Axel Dörfler [Wed, 8 Oct 2008 07:58:41 +0000 (8 07:58 +0000)]
* 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
Axel Dörfler [Wed, 8 Oct 2008 07:46:27 +0000 (8 07:46 +0000)]
* 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
François Revol [Tue, 7 Oct 2008 22:41:25 +0000 (7 22:41 +0000)]
Make bugreport page look like others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27919 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Tue, 7 Oct 2008 22:33:12 +0000 (7 22:33 +0000)]
Make the workshop page look the same as others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27918 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Tue, 7 Oct 2008 22:22:19 +0000 (7 22:22 +0000)]
Fix display in NetSurf which doesn't notice the <body> parameters. visited link color isn't handled yet though.
Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27917 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Tue, 7 Oct 2008 22:07:19 +0000 (7 22:07 +0000)]
* fix build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27916 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Tue, 7 Oct 2008 21:48:37 +0000 (7 21:48 +0000)]
zuMi created a pretty awesome icon for the debug server. It could be improved
(for better silhouettes), but I think it's pretty cool as is! Thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27915 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Tue, 7 Oct 2008 21:47:46 +0000 (7 21:47 +0000)]
* The size of the array passed should was not enough to hold the entire formatted string.
This fixes ticket #2802. (Not sure why it only happend on gcc4)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27914 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Tue, 7 Oct 2008 21:40:39 +0000 (7 21:40 +0000)]
* whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27913 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Tue, 7 Oct 2008 21:39:19 +0000 (7 21:39 +0000)]
* Added "from" address space parameter to vm_swap_address_space()/
arch_vm_aspace_swap().
* The x86 implementation does now maintain a bit mask per
vm_translation_map_arch_info indicating on which CPUs the address
space is active. This allows flush_tmap() to avoid ICI for user
address spaces when the team isn't currently running on any other CPU.
In this context ICI is relatively expensive, particularly since we map
most pages via vm_map_page() and therefore invoke flush_tmap() pretty
much for every single page.
This optimization speeds up a "hello world" compilation about 20% on
my machine (KDEBUG turned off, freshly booted), but interestingly it
has virtually no effect on the "-j2" haiku build time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27912 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Tue, 7 Oct 2008 21:30:25 +0000 (7 21:30 +0000)]
* Renamed "white on blue - small" to "normal".
* Added "black on white - normal" size.
* Added the website logo area designs.
* Added the variation of the website logo that I did for the welcome
introduction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27911 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Tue, 7 Oct 2008 21:14:24 +0000 (7 21:14 +0000)]
* smp.c -> smp.cpp
* Added smp_send_multicast_ici(), which sends the message to all CPUs
specified via a mask.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27910 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Tue, 7 Oct 2008 21:13:04 +0000 (7 21:13 +0000)]
Switched to new Zip-O-Matic icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27909 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Tue, 7 Oct 2008 21:11:06 +0000 (7 21:11 +0000)]
* Finished Zip-O-Matic icon.
* Added Jamfile icon and two icons I will use in Pe. (I keep them here, since
for now, this is the one place with all HVIF icons.)
* Added helper icons for one of the boxes from the generic app icon, may be
useful for integrating in other icons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27908 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Tue, 7 Oct 2008 21:04:11 +0000 (7 21:04 +0000)]
Worked over the design and some of the text of the "Welcome" documentation.
* Changed the design of the logo area and worked on the document margins
and overall layout.
* Added a navigation infrastructure.
* Worked on the text on the Welcome page - Added an actual welcome paragraph
and unified the bug sections. Slightly changed the paragraph ordering.
* Fixed some typos, added small bits of text to the Tracker topic.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27907 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Tue, 7 Oct 2008 18:36:28 +0000 (7 18:36 +0000)]
- some cleanup
- fixed dbg output
- a priori .au can contain raw audio...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27906 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Tue, 7 Oct 2008 18:03:09 +0000 (7 18:03 +0000)]
Add some documentation for Themes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27905 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Tue, 7 Oct 2008 13:08:44 +0000 (7 13:08 +0000)]
Simplified x86_next_page_directory().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27904 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Tue, 7 Oct 2008 13:06:16 +0000 (7 13:06 +0000)]
I'm getting old. Without this change, bug #2350 was still with us. Sorry for forgetting to commit this
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27903 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Tue, 7 Oct 2008 11:49:13 +0000 (7 11:49 +0000)]
Moved vm_translation_map_arch_info definition to the header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27902 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Tue, 7 Oct 2008 11:43:15 +0000 (7 11:43 +0000)]
* Minor cleanup - this stuff really has "reimplement me" written all over it...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27901 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Tue, 7 Oct 2008 07:49:36 +0000 (7 07:49 +0000)]
check for NULL in advance (CID 1056)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27900 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Tue, 7 Oct 2008 05:51:09 +0000 (7 05:51 +0000)]
should've been part of r27898
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27899 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Tue, 7 Oct 2008 05:47:57 +0000 (7 05:47 +0000)]
Screen was assuming setting a 800x600 mode would work anyway, but currently the Intel driver only supports the 'native' mode for laptop panels. Added a 'strict' parameter to SetBestMode which, if true, fails if it doesn't find any mode with the passed width. If false, and can't find any good mode, just uses the first mode in the list (could be improved). This fixes bug #2350
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27898 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Mon, 6 Oct 2008 23:00:17 +0000 (6 23:00 +0000)]
When a thread times out on a locking primitive, reschedule only, if the
timed out thread has a higher priority than the currently running one.
Maybe we should even restrict this behavior to realtime threads.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27897 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Mon, 6 Oct 2008 21:03:58 +0000 (6 21:03 +0000)]
Applied patch by Romain, thanks!:
* get_nth_symbol() did not correctly iterate over the symbol hash, causing it
to return the same symbols more than once, and omit others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27896 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Mon, 6 Oct 2008 20:52:19 +0000 (6 20:52 +0000)]
Fix the gMainApp race on launch in a cleaner way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27895 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Mon, 6 Oct 2008 20:21:03 +0000 (6 20:21 +0000)]
* correct comment, i've written a small test app and it works the same way on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27894 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Mon, 6 Oct 2008 20:20:09 +0000 (6 20:20 +0000)]
* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27893 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Mon, 6 Oct 2008 19:51:17 +0000 (6 19:51 +0000)]
* should have been part of r27883
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27892 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Mon, 6 Oct 2008 14:12:26 +0000 (6 14:12 +0000)]
added some debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27891 a95241bf-73f2-0310-859d-f6bbb57e9c96
François Revol [Mon, 6 Oct 2008 13:24:40 +0000 (6 13:24 +0000)]
Add NetSurf as optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27890 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Mon, 6 Oct 2008 12:09:09 +0000 (6 12:09 +0000)]
With last commit, I accidentally removed a couple of network drivers from inclusion in the image. Sorry
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27889 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Mon, 6 Oct 2008 12:07:11 +0000 (6 12:07 +0000)]
Added the rtl81xx driver to the image, at least for now. The problems I'm having seems not to be reproducible on other systems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27888 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stefano Ceccherini [Mon, 6 Oct 2008 12:05:14 +0000 (6 12:05 +0000)]
renamed 're' driver to rtl81xx. I hope it's clear enough. If not, just shout. Also disabled the ids for cards already supported by the native rtl8169 driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27887 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Mon, 6 Oct 2008 09:46:06 +0000 (6 09:46 +0000)]
* Renamed the "screensaver" directory to match the name of the filter, ie.
"screen_saver".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27886 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Mon, 6 Oct 2008 09:41:59 +0000 (6 09:41 +0000)]
* The ScreenSaverFilter now uses locking in all public functions to ensure
it works well with its controlling looper. This fixes #2638.
* Header cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27885 a95241bf-73f2-0310-859d-f6bbb57e9c96
Rudolf Cornelissen [Mon, 6 Oct 2008 06:51:21 +0000 (6 06:51 +0000)]
forcing 16bit pio writes, disabling 32bit pio writes. This was already the case for read pio ever since this driver got imported. This fixes booting from IDE drives in PIO mode with both the IDE and ATA busmanagers, at least on my ASUS P5E3 mainboard. If I am stepping out of bounds here please correct and let me know..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27884 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 22:44:33 +0000 (5 22:44 +0000)]
* fix of by one bug while moving from front to back
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27883 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 22:41:36 +0000 (5 22:41 +0000)]
* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27882 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 21:52:40 +0000 (5 21:52 +0000)]
* the way it was now, not all items would have been deleted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27881 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 21:11:20 +0000 (5 21:11 +0000)]
* fix a crash when closing Cortex with some connected nodes
This should have crashed on R5 too, what happend is that deleting
a 'Box' will cause a release of it's EndPoints, thus leaving some
dangling EndPoint pointers in the Wires, which they access to call
disconnect. So deletion order is important here, delete Wires first.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27880 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 20:55:25 +0000 (5 20:55 +0000)]
* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27879 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Sun, 5 Oct 2008 15:17:31 +0000 (5 15:17 +0000)]
Yay, infinite loop when debug output is disabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27878 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Sun, 5 Oct 2008 14:37:50 +0000 (5 14:37 +0000)]
* Fixed several instances of conversions from page to byte counts. We
need to cast explicitly before the multiplication/shift, since the
former is 32 bit and the latter 64 bit. The worst instance was in
swap_file_add(), where the page count was int32, so that swap file
sizes between 2 and 4 GB resulted in a negative available swap space
size. Fixes bug #2721.
* Fixed and added optional debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27877 a95241bf-73f2-0310-859d-f6bbb57e9c96
Ingo Weinhold [Sun, 5 Oct 2008 13:15:04 +0000 (5 13:15 +0000)]
Moved several VM related debug settings to kernel_debug_config.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27876 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 11:58:59 +0000 (5 11:58 +0000)]
* argh, shouldn't have been commented out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27875 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 11:56:08 +0000 (5 11:56 +0000)]
* lock the window before calling Quit()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27874 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 11:53:29 +0000 (5 11:53 +0000)]
* cleanup, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27873 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 01:26:06 +0000 (5 01:26 +0000)]
* fix a nasty bug i introduced with 26383, leaving the looper locked
* grab the fLooper pointer in some more functions, just to play save
* remove wrong comment in UnlockLooper, since it's obviously possible to change fLooper
In case we remove the handler from the loopers handler list, we need to grab the looper
pointer first, since calling RemoveHandler(...) will call BHandler::SetLooper(...) thus
setting fLooper to NULL and calling UnlockLooper did nothing, leaving the looper locked.
Thanks Maurice for pointing out that 26383 broke Cortex, the wires where not draw and the
app was locked somehow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27872 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Sun, 5 Oct 2008 00:48:54 +0000 (5 00:48 +0000)]
* cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27871 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Sat, 4 Oct 2008 20:33:20 +0000 (4 20:33 +0000)]
* We must not sort the cached inodes, or else we mess up the order for
CanOpenWithFilter().
* This fixes bug #2795.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27870 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Sat, 4 Oct 2008 20:30:29 +0000 (4 20:30 +0000)]
* Added "sortInodes" parameter to CachedEntryIteratorList constructor.
* Moved static CompareInode() to CachedEntryIterator::_CompareInodes().
* Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27869 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Sat, 4 Oct 2008 18:28:15 +0000 (4 18:28 +0000)]
Added optional package "Welcome". The welcome package documation is
copied to /boot/beos/documetation/welcome and a link to welcome.html
is placed on the Desktop. The mime_update.sh script makes sure that
the mime type of the html files is set. However, Firefox has a problem
when it is launched for the first time via double clicking an HTML
file. Apparently, it initializes some settings and relaunches itself,
which in turn makes it forget to open the file. A second problem is
annoying as well: When launching Firefox to display a local file,
it will always open a second window with the default web location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27868 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Sat, 4 Oct 2008 17:29:17 +0000 (4 17:29 +0000)]
* Added Syslog daemon icon by zuMi. Slight tweaks by myself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27867 a95241bf-73f2-0310-859d-f6bbb57e9c96
Stephan Aßmus [Sat, 4 Oct 2008 17:00:42 +0000 (4 17:00 +0000)]
New BSnow icon by zuMi. Thanks a lot! :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27866 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Sat, 4 Oct 2008 16:38:10 +0000 (4 16:38 +0000)]
* connect() and bind() now make sure that sockaddr::sa_len is set correctly.
* Renamed MAX_SOCKET_ADDRESS_LEN to MAX_SOCKET_ADDRESS_LENGTH.
* Whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27865 a95241bf-73f2-0310-859d-f6bbb57e9c96
Jérôme Duval [Sat, 4 Oct 2008 10:47:34 +0000 (4 10:47 +0000)]
remove symlink
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27864 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Sat, 4 Oct 2008 08:09:40 +0000 (4 08:09 +0000)]
Update for the S3 driver by Gerald:
* The hardware cursor is now disabled at 640x480 with a Virge VX (before it
was just invisible).
* EDID info can now be read for all S3 chips.
* For the Savage IX, Savage MX, and SuperSavage chips the display is no
longer expanded to fill a laptop LCD display when the mode resolution is
less than the size of LCD display.
* Savage IX, Savage MX, and SuperSavage chips will now display mode
1400x1050 on a 1400x1050 laptop LCD display. Previously the display was
blank at that resolution.
* Previously about half the Savage chips would not draw properly at
1400x1050. That is, the image was badly skewed and unusable. All of
them now draw properly at 1400x1050.
* Some code was reorganized to remove unnecessary and redundant code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27863 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Sat, 4 Oct 2008 07:45:15 +0000 (4 07:45 +0000)]
* Applied a patch by Jan Klötzke: added a description for buffers passed
to the function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27862 a95241bf-73f2-0310-859d-f6bbb57e9c96
Axel Dörfler [Fri, 3 Oct 2008 12:48:59 +0000 (3 12:48 +0000)]
* White space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27861 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Fri, 3 Oct 2008 12:48:19 +0000 (3 12:48 +0000)]
* fix probable memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27860 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Fri, 3 Oct 2008 12:44:40 +0000 (3 12:44 +0000)]
* build fix...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27859 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Fri, 3 Oct 2008 12:36:58 +0000 (3 12:36 +0000)]
* fix some mem leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27858 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Fri, 3 Oct 2008 12:35:57 +0000 (3 12:35 +0000)]
* whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27857 a95241bf-73f2-0310-859d-f6bbb57e9c96
Karsten Heimrich [Fri, 3 Oct 2008 12:32:52 +0000 (3 12:32 +0000)]
* fix mem leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27856 a95241bf-73f2-0310-859d-f6bbb57e9c96