Commit Graph

18781 Commits

Author SHA1 Message Date
DarkWyrm
e23b0decad Some label tweaks and grammar fixes
More Alt+W modal window shortcuts
Made a couple of OK buttons the default button
Added a few ellipses to some buttons which open windows


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 16:23:19 +00:00
DarkWyrm
5cb03f9fb9 Fixed some copyright year entries I accidentally mangled in the header updates. Thanks korli!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:58:51 +00:00
DarkWyrm
4580005679 More alerts which are a bit more standard and family-friendly. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:43:12 +00:00
DarkWyrm
314167cd80 Header updates
Tweaked a couple BAlerts to be a bit more standardized


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:18:09 +00:00
DarkWyrm
a722aa3c66 Font sensitivity fixes to several places
Fixed Ink Density slider -- Minimum value should be on the left
Added the Alt+W shortcut to the Job setup dialog because R5 modal windows won't do this
Made some labels less technical

This window really needs some general layout work to fix font sensitivity issues, but this should be livable for the moment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:01:22 +00:00
Stefano Ceccherini
f0f8601b3f small cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:35:13 +00:00
Stefano Ceccherini
59f9192c3b added nothrow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:34:58 +00:00
Stefano Ceccherini
9f0ebbfcda Call Window()->Show() in DetachedFromWindow() only if we were dragging, thus correctly mirroring what done in AttachedToWindow(). This caused the empty menu window in deskbar (trac is down, can't remember the right bug number), but I don't know why it happened only in haiku. Maybe in beos the looper->Lock() call never succeeded, due to slightly different locking strategy ? Axel, could you review this change ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:32:22 +00:00
Axel Dörfler
d2de13bdd4 The boot loader (BIOS IA32 only) now chooses the default video mode by looking at the
EDID info from the monitor if available through VESA/DDC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:20:17 +00:00
DarkWyrm
bdb64116e9 Accidentally removed large icon with last patch. Fixed. <Puts on trout-proof suit> :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:12:50 +00:00
DarkWyrm
16785e2a19 Unmangled lines clobbered by the resource compiler (I think I got everything)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:39:36 +00:00
DarkWyrm
db5fdafdc7 Added some config buttons that both look better and also look clickable (like buttons should)
Updated the layout code to be font sensitive


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:04:05 +00:00
Axel Dörfler
9a4b4c617b * Fixed warning.
* Now using the new %f flag to print the level of support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 12:12:50 +00:00
Axel Dörfler
dedf1bccfe Since we're using floating point values at several places in the kernel, I added
a very simplistic floating point output routine to snprintf() and friends, for
your convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 12:05:16 +00:00
Axel Dörfler
d6edf65b05 Fixed error checks for EDID retrieval.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 22:49:53 +00:00
Axel Dörfler
f1994d8b4c Fixed a warning I probably just introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:48:30 +00:00
Axel Dörfler
5d7d960fac Added EDID version 1 retrieval from VESA; doesn't do anything yet besides dumping the
info to the serial line - not tested yet (as Qemu doesn't support DDC/EDID).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:44:03 +00:00
Axel Dörfler
3277df6e04 * Now always uses dprintf() instead of the SHOW_INFO() macro - you should only call
it in your code when you actually want to have debug output, anyway.
* No longer include ddc_int.h when compiled for the kernel or boot loader.
* Cleanup: coding style, and removed the "buffer" variable - floating point values
  can be shown in userland either way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:39:11 +00:00
Ryan Leavengood
1974232147 Changed the delay on hiding the cursor in fullscreen to 2 seconds (much
better...not sure what I was thinking with 5 seconds before.) I also fixed a
few other issues related to this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:30:56 +00:00
DarkWyrm
6c3f8a1f11 Removed some disabled code
Re-enabled the toolbar popups until I can get a chance to implement split toolbar buttons. This one's for you, Axel. :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:28:36 +00:00
Axel Dörfler
97584f7d11 * Made header C++ safe.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:13:59 +00:00
Axel Dörfler
047165ce77 * Fixed a warning.
* Removed unused include.
* Minor cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:10:25 +00:00
DarkWyrm
5618c4e835 Removed another SSL-related timeout crash
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:09:28 +00:00
DarkWyrm
175f68c589 Style fixes to last patch. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 16:54:25 +00:00
DarkWyrm
021a6aa77e small patch to add the card name to the description in the Info tab (hope you don't mind, korli :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 16:19:18 +00:00
Axel Dörfler
b5428267c7 This should fix the most often found kernel crash (on bootup):
* vm_soft_fault() did not take into account that a cache's source can change while
  traversing a cache chain.
* Now, we grab a reference to every cache we get before locking it, and
* no longer get the cache's source without having the cache locked.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 12:34:21 +00:00
Axel Dörfler
eb445177f9 * When a vm_cache is merged with another one, we now remove the consumer; that allows
for an extra check in vm_cache_release_ref() as the cache shouldn't have any areas
  or consumers at this point.
* Fixed a locking problem in vm_cache_remove_consumer(): the cache was acquired after
  its lock was gone, so someone else might have released in the mean time.
* if the cache's source is to be replaced, we now no longer release its lock after
  having merged it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 12:30:07 +00:00
Ryan Leavengood
6346c8941c Implemented Stephan's previous TODO (in an svn commit message) to hide the
cursor after a delay when in fullscreen mode. I set the delay to 5 seconds. In
addition I make sure the ShowImage window is the active window before trying to
hide the cursor, because otherwise there is a lot of cursor flickering if you
change workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 01:08:55 +00:00
Axel Dörfler
7da584bb64 * Looks like setting the first 16 palette entries is not enough.
* Tested a bit more, and there seems to be some minor drawing problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 23:01:58 +00:00
Axel Dörfler
0c6f77951e * Moved VGA planar mode blitting into the VESA kernel driver.
* In grayscale mode, the AccelerantHWInterface now sets the palette correctly.
* HWInterface now has a fVGADevice set by AccelerantHWInterface which will be used
  to talk to the VESA driver.
* Completed planar blitting for all 4 planes; we now have a perfect 16 color
  grayscale mode when you choose "Standard VGA mode" in the boot loader with
  an unsupported graphics card (such as in Qemu).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:57:56 +00:00
Marcus Overhagen
30b0fe7561 This fixes bug #951
It's not required to enable the AUX ports after enabling active multiplexing, because the default according
to specification is already enabled. In fact, Sony VGN-FS115M laptop even has a bug when processing the enable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:19:55 +00:00
Axel Dörfler
c46eb09e8f * The 4-bit VGA planar mode is now advertized as B_GRAY8 to the app_server.
* The app_server now detects that this mode is being used, and at least correctly copies
  the 32bit data to the first plane, meaning we have a monochrome output for now
  (it crashed before, as Stefano reported).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 18:45:40 +00:00
Ryan Leavengood
6504001302 Added support to ShowImage for sending an image to the Trash by scripting
Tracker. For now it only works when the delete key is pressed. I suppose a menu
item might be useful, but I can do that later if people really want it :)

When the image is trashed the next image in the directory is opened. If the
trashed image is the last in the directory the window is closed.

The code seems pretty solid as I even tested it with Tracker not running. It
also works fine in R5 (in fact that is where I tested it.)

As shown I would prefer to use the Tracker headers rather than redefining the
constant used for the trashing message. I'm already using Tracker's app MIME
type from the private headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 08:01:30 +00:00
Travis Geiselbrecht
02c92f8256 change the 'iospace' debug to use a more reasonable number of columns
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 03:27:50 +00:00
Axel Dörfler
79608a2de7 * Moved some private members of net_socket into the new net_socket_private structure.
* Added an "owner" field that stores the team which created the socket (for netstat only);
  we would need a different storage for SIGURG if we ever want to support that.
* Improved netstat address output: now prints "*" instead of INADDR_ANY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 03:01:18 +00:00
Axel Dörfler
5aee6a9ee1 Added wget, tcpdump, and netstat to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 02:22:50 +00:00
Axel Dörfler
8dfd7ea7bf * Implemented a basic infrastructure for a netstat command.
* Started a netstat command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 02:06:07 +00:00
DarkWyrm
6f9f14ec88 No more Program menu until R2... grumble, grumble
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 00:18:14 +00:00
DarkWyrm
a50c8842ae Accidentally introduced a bug for non-SSL POP accounts, which this fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 23:24:47 +00:00
DarkWyrm
6c05781006 This *should* squish the SSL bug which would crash the mail daemon on connection timeouts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 20:14:08 +00:00
Axel Dörfler
cf6b262822 Ported tcpdump 3.9.5, and libpcap 0.9.5 to Haiku to test our link level packet
monitor. Their build system and file hierarchy is pretty poor (as well as the
internals of libpcap), but the app itself seems to work well :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:22:32 +00:00
Axel Dörfler
c0d50aaedb Fixed several problems:
* sockaddr_storage::ss_len is max 255, but the structure itself is shorter; we must
  not copy ss_len bytes without checking the length first (duplicate & clone were affected).
* count_iovecs() & get_iovecs() both did not work with empty buffers that don't
  have any nodes at all (unlikely case, but should be supported).
* the net_buffer::offset union field was not copied in clone & duplicate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:13:59 +00:00
Axel Dörfler
85895023b3 We also need to put the outgoing packets into the device monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:09:09 +00:00
Axel Dörfler
6b507ddd46 Made set[e]gid() and set[e]uid() succeed in case they don't have anything to do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 18:00:21 +00:00
Axel Dörfler
c2c739ce33 * Removed superfluous prototypes from in.h. Minor cleanup.
* Fixed in6.h header. to be able to be compiled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 17:12:54 +00:00
Axel Dörfler
da758f9fce * team::args is now correctly filled in.
* the member will now also be shown when dumping a team.
* minor cleanup: moved fill_team_info() into the private functions part of the file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 12:56:27 +00:00
Axel Dörfler
ea228a84f4 Calmed down the VESA accelerant a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 12:39:38 +00:00
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