Commit Graph

18534 Commits

Author SHA1 Message Date
Travis Geiselbrecht
c4546ea038 A fix for the double-fault on bootup:
-Turns out the area removal routine had a massive race condition inside
vm_put_area(). Basically the area was removed from the address space's
area list before the pages were unmapped, so the vm could (and would)
recycle the space before the pages were finally unmapped.

It was completely reproducable on my machine during initialization of a bunch
of storage drivers that were bringing the locked_pool module into and out of
existence, which caused a thread to be spawned and stopped in rapid sucession.
On a dual processor machine, it was possible for the new thread to be started
up while the old one was still shutting down, and the kernel stack of the new
one would get wiped out.

Note, there still is a page ref counting problem with this area removal code.
It doesn't decrement the ref count of the page as it unmaps it. Will have to 
figure that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 09:38:00 +00:00
Travis Geiselbrecht
9bc7a58b1d Fixes a nit:
put a spinlock around the serial debug routines to keep multiple
cpus from interleaving their output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 07:23:39 +00:00
Stephan Aßmus
10f6ed940b * implemented "false bold" for text rendering. It is a new property
of BFont. You can BFont::SetFalseBoldWidth(float) a width on a
  BFont object, and it will cause the glyph shapes to be run through
  an AGG "contour converter" so that they become thicker or thinner.
  IIRC, this is commonly referred to as "false bold". The "width" value
  is the distance in pixels that the new glyph outline will be offset
  from the original outline.

It would be nice if someone could look at my change to View.h with
regards to the B_FONT_ALL flag.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 05:22:13 +00:00
Travis Geiselbrecht
c3a89b90d3 fix the 'cache_ref' and 'cache' kdl commands
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 04:29:39 +00:00
Jérôme Duval
6d1fea3553 added a workaround for an optimization bug in our GCC4 with -O1 and -O2, this should be dropped when we upgrade
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 23:34:54 +00:00
DarkWyrm
6a7e1e9a2f "Options" -> "Preferences"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 21:55:03 +00:00
Jérôme Duval
0a4542854b added iasl bin tool from acpica-20061109
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 19:53:01 +00:00
Michael Pfeiffer
0acb8cc41c Variable width2 used at wrong place.
Image size too small by one when passed to ResizerWindow.
Use fractional arithmetic for aspect ratio calculations to avoid rounding errors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 18:18:29 +00:00
Jérôme Duval
c72e5d2fdf fix the build
renamed "const float width" to "const float width2" as width is a parameter, please check


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 16:42:03 +00:00
Michael Pfeiffer
d9f6762d46 Integrated "resize" feature from Zetas version of ShowImage, however used our bilinear scaler instead of Zetas implementation and made ResizerWindow font sensitive and removed the radio buttons with predefined sizes. Kudos to Bernd Korz for providing the ShowImage Zeta source code under MIT license.
Moved menu item "As Desktop Background" into "Image" menu from "View" menu. 
Removed unused metod ShowImageWindow::Zoom(...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 15:18:32 +00:00
Ryan Leavengood
35346d06a7 Removed incorrect application flags (as these are not apps) and expanded the
short and long descriptions. Though these are small add-ons, I'm thinking about
making them simple apps (with no GUI though.) This way the file_types entry
will make more sense. In the R5 release on BeBits I completely took out the
file_types entry though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 05:32:37 +00:00
DarkWyrm
b998307ce0 Some style updates and fixed the layout code -- things look a *lot* better @ 12 point (and probably higher)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 23:16:58 +00:00
DarkWyrm
1080834a69 Made the Quit menu item in the system tray appear only when the icon is clicked on with the Shift key and renamed it to Shutdown Mail Services (which is clearer)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 20:04:31 +00:00
Stephan Aßmus
1e15289361 * added icon to pdf mime type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 19:45:18 +00:00
Axel Dörfler
03f78d6943 Imported wget-1.10.2; disabled SSL for now (it's not yet part of our repository), not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 18:25:42 +00:00
Jérôme Duval
794145804d merging acpica-20061109 into trunk, tested with qemu
this new code seems to introduce a bug for gcc4 builds, though it is ok for gcc 2.95 
	


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 14:58:00 +00:00
DarkWyrm
1effc98815 Add the spam filter and server to the MailKit pseudo-target
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 05:09:54 +00:00
DarkWyrm
019012f980 Account list has the focus on startup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:51:24 +00:00
DarkWyrm
9052eb4703 Forgot to add the View menu to the menu bar
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:41:36 +00:00
DarkWyrm
ac2c6cebcd Removed the 'Beginner' mode settings from the program options and the places that relied on them
Fixed a crash when pasting text into the signature textview after making a new one
Added a few more accelerators some alerts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:37:23 +00:00
DarkWyrm
e4c4753160 Made a lot of changes to more closely conform to the HIG:
Find window closes after hitting Enter
Removed unnecessary 'Close' item from signature window
Fixed signature alert capitalization and added accelerators
Reorganized menus to make more sense
Removed an extra 'Move to Trash' menu item
Removed the gross Alt+Shift+M hack - 1 accelerator per function
Disabled the right-click popup menu for the Spam, Reply, and Forward buttons. Specific reasons for this in the affected code
Removed outdated Mail.cpp revision from the about box -- build date should be sufficient
Label fix in preferences window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 00:48:38 +00:00
Stephan Aßmus
b93f9f1371 * now the Decorator uses the DrawingEngine instance of the WindowLayer,
so that we can draw the window borders using parallel access too.
  Seems to improve things even further, using the app_server environment
  with direct accelerant access on R5 looks pretty decent now, but
  of cause still far from perfect. The global font lock could actually
  be the problem now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 23:05:35 +00:00
Stephan Aßmus
527b4ad1b3 Gracious me, I forgot to actually turn on parallel frame buffer access!
Seems to make some difference too. Nothing dramatic though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:43:15 +00:00
Stephan Aßmus
2ba6b3a649 * minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:41:35 +00:00
Axel Dörfler
d881c6ba5c * Replaced the 1400x900 modeline with the one from the nVidia driver - Stephan, does this
work for you, too? If not, just replace it with yours again.
* Added resolution 1680x1050 from nVidia driver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:17:39 +00:00
Axel Dörfler
f6d219a166 When removing an interface, we must make sure it's not still up (ie. we need to
bring it down in that case). This fixes the problem that you couldn't bring an
ethernet interface up again, after you deleted it once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:10:25 +00:00
Axel Dörfler
1cdfc4880c Added missing 1400x1050 resolution.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:06:18 +00:00
Axel Dörfler
7eb1ef96e2 The device could only be opened once; gOpenMask was never cleared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:05:45 +00:00
Axel Dörfler
8c6363a8a1 Removed -Wall again; since it's added last, it would override the previous disabled warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 13:41:10 +00:00
Stephan Aßmus
1a65141503 * added icons to several archive mimetypes
* added lha and tar mimetypes (TODO: sniffer rule, help appreciated)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 10:06:40 +00:00
Stephan Aßmus
664c21b381 * don't always forget the last export mode in SavePanel
(was only saved when switching from "export" to "save")
* make use of drop index when dragging and dropping paths in
  list view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 09:56:47 +00:00
Travis Geiselbrecht
83d5eb4190 Change the vfork() declaration to match the prototype, and thus fix the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 08:42:34 +00:00
Axel Dörfler
028faa1833 * Added wide-screen resolutions, taken from the nVidia driver.
* Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 00:22:15 +00:00
Axel Dörfler
f5dc376b83 Added missing modeline for 1680x1050 (taken from nVidia driver).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 15:59:07 +00:00
Axel Dörfler
60b71f6575 Applied the cleaned/fixed version of patch by YellowTab:
* essentially, it makes sure certain bits in the PCI config are set
* also added two more device IDs, which I have disabled for now


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 15:26:54 +00:00
Axel Dörfler
c166aa847e Added -Wno-multichar to the default kernel GCC flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 14:54:51 +00:00
Axel Dörfler
60194b3f49 Added telnet to the image - it doesn't seem to work yet, but that might be
caused by the TCP implementation (it doesn't support urgent data yet!).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 14:15:49 +00:00
Axel Dörfler
4a5ac4bd55 Fixed build on R5 (it doesn't know B_KERNEL_READ_AREA or B_USER_CLONEABLE_AREA).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 13:20:33 +00:00
Ryan Leavengood
908b5c2034 Removed the dependency in the registrar on an input_server header file which I
had previously inroduced. It is not needed anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 07:07:30 +00:00
Ryan Leavengood
d6ead04161 Removed some debugging lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 05:20:18 +00:00
Ryan Leavengood
970014a60a Improved the shutdown process some more. Systems apps are allowed to ignore the
quit request and are simply removed from the list of apps to close if this
happens. This is primarily designed for the input_server.

I also corrected the MIME type of the debug_server which was causing it to be
incorrectly killed at shutdown.

I did some other clean-up and removed the code I unintentionally submitted
yesterday.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 05:15:47 +00:00
DarkWyrm
9eee47669d Quick hack to work around font issues until I have time to fix it properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:28:45 +00:00
Ryan Leavengood
9c55633809 Removing the now unneeded SearchAndReplace and Sed rules. They can always be
added back if need be. There were some building bugs anyhow in these versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:10:53 +00:00
DarkWyrm
b9a3b1c414 Reverted partial size checkbox simplification change and made according GetPreferredSize changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:10:03 +00:00
Ryan Leavengood
0a7b5658d2 Refactored the MarkAs building as per Jerome Duval's suggestion.
Also changed the include for TrackerAddon.h to TrackerAddOn.h (note the
capital O.) Haiku does not have the lower-case o version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:08:52 +00:00
DarkWyrm
48a8aa4985 More font sensitivity tweaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:25:36 +00:00
DarkWyrm
183a6c2121 Label divider fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:05:06 +00:00
DarkWyrm
24b82945f5 Capitalization fixes - HIG compliant now :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:41:24 +00:00
DarkWyrm
2e44d8ba2d Classify large messages as being bigger than 100Kb (which is large for dial-up users) and simplify by removing the file size specifier
Improved font sensitivity


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:38:34 +00:00
Jérôme Duval
e20b9d2cf1 added missing asin asinf functions for ppc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 21:06:18 +00:00