Commit Graph

399 Commits

Author SHA1 Message Date
DarkWyrm
5fb9e9cec7 Automatically select the main item for a newly-created account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 20:16:21 +00:00
DarkWyrm
43ba5b65dc A couple of capitalization fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 19:01:00 +00:00
Axel Dörfler
206df9cd04 Removed choice of separator style - there is only one to rule them all, now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:17:16 +00:00
Axel Dörfler
5a93dff747 Made ColorWindow font sensitive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:15:05 +00:00
Axel Dörfler
ce0998ad77 * Fixed many style issues, patch by Vasilis Kaoutsis
* Fixed some more style issues, removed unneeded class member variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:05:17 +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
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
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
DarkWyrm
f0af178d09 Change Save button into Apply because that is what it really does. Probably the last change I will make before checking in the new prefs app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-10 23:28:19 +00:00
DarkWyrm
9c01ee30da First in a series of revisions to improve the usability of the E-Mail prefs app.
This one removes a number of edge-case options and rewords technical phrases


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:05:00 +00:00
Ingo Weinhold
69b1f76d66 FreeBSD build platform support. Original patches courtesy of
Samuel Rodriguez Perez, somewhat hacked by myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-29 18:08:00 +00:00
Michael Lotz
8449c78396 Fixing build of the printing package for BONE and hopefully R5 too.
Now printing to that old HP LaserJet 2100 over an even older LPR print server from R5 with the PCL5 driver and LPR transport...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-25 20:06:18 +00:00
Axel Dörfler
dd778cd92b * Sending uninitialized buffers to Icon-O-Matic is sure fun, but it actually
caused Icon-O-Matic to refuse to work with us :)
* only call free() when the data has actually been allocated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 15:00:26 +00:00
Axel Dörfler
13417161c8 * It's #ifdef HAIKU_TARGET_PLATFORM_HAIKU - not just #if :-)
* Fixed using B_EDIT_ICON_DATA for file types in ref mode, too, as well as having
  the icon data ready for ref mode and MIME type mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 12:58:09 +00:00
Stephan Aßmus
da071f77c9 * use the external icon editor "protocol"
-> Icon-O-Matic is launched, but it says the data is not valid...
   don't know why yet (will commit a newer Icon-O-Matic next)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:42:06 +00:00
Axel Dörfler
da01893148 * A new color window was opened every time you clicked on "Color Scheme..." - patch
provided by Vasilis Kaoutsis.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 08:52:01 +00:00
Ryan Leavengood
6f095d6a03 Fixed a small bug I found in the Screen preferences:
Now if the Backgrounds preferences app is already running clicking the
"Set Background..." button will activate it. Previously this was ignored
because the app was launched without checking the return code from be_roster.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-16 00:34:25 +00:00
Axel Dörfler
7cb11339a0 * TypeIconView now inherits from IconView and only adds the icon source label
to it - it also inherits all the features like drag&drop, of course.
* IconView now inherits from BControl instead of BView, might need some more
  work to properly handle the invocation message stuff, though.
* The "Remove Icon" menu item was always enabled, no matter if there was an
  icon or not; also it was not properly detected wether or not a MIME type
  had an icon when building the menu.
* Dragging in MIME type mode now works as well.
* Added some getter methods to the IconView to retrieve the data it has.
* Some other cleanup, like adding missing consts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 20:22:46 +00:00
Axel Dörfler
b724cb6408 IconView can now also be set to a MIME type instead of a file or a buffer.
Untested actually, but FileTypesWindow's TypeIconView will be merged to this
one soon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 18:39:30 +00:00
Axel Dörfler
93ced9a11c The dragged icon is now slightly transparent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 17:56:46 +00:00
Axel Dörfler
035f2c2a4d When dragging an icon into an icon view that gets its icon from its MIME type,
the vector icon is now retrieved as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 17:49:22 +00:00
Axel Dörfler
5e0acbb2fb * Now that the icons are keyboard navigable, we need a different drop target
identifier: note, this reveals a) an incompatibility between R5 and Haiku
  with regards to drawing rects with a pen size != 1, b) a drawing bug in
  that same case in non 32-bit modes - if you have time, Stippi... :-)
* If the icon view is bound to a file, it will no longer accept that specific
  file as a drop target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 16:00:08 +00:00
Axel Dörfler
745e7694e5 * The IconView is now keyboard navigable, and can be invoked (via the enter key),
or the current icon be deleted (using the delete key).
* Drag&drop between IconViews should now also work as expected for all icon
  types (only the large icon was taken into consideration before).
* Improved error handling in the Icon::CopyTo() methods


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 15:23:24 +00:00
Axel Dörfler
f483286d59 Application icons and supported type icons are now also saved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 14:26:10 +00:00
Axel Dörfler
6e78183a77 * The application type window did not sort the types correctly (they were ordered
by type, not type name (ie. "video/..." vs. "AVI").
* The type list is now using a DropTargetListView and will take over the file types
  of any files you drop on it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 10:48:52 +00:00
Axel Dörfler
1415b63512 * Added a simple list view that can indicate that it accepts a dragged object.
* The extension list is now using this list view: when you drop some files on
  it, it will now take over their extension into the list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-15 10:32:20 +00:00
Jérôme Duval
5ac11417e5 fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:34:21 +00:00
Axel Dörfler
00cf1f4671 Moved icon_for_type() to IconView.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 18:26:10 +00:00
Axel Dörfler
0b0ff90fa0 * Extended the IconView quite a bit to support what we need:
- supports drag&drop from icons (only tested for non-vector icons yet)
  - allows to remove/edit/add icons (there is still need for support in Icon-O-Matic
    for this to work completely)
  - has a mode where it stores the changed icon data in an object rather than
    directly to disk; this object can maintain all BeOS icon types
  - reacts to live updates from file icons
  - supports different view sizes (for later or uses in other apps)
* works again on BeOS (it crashed before because of a BeOS "feature").
* in the Application window, the "supported types" listview will now be enlarged
  with the window instead of the long version description.
* To compensate for that, the latter now shows a scroll bar.
* Application delivered supported type icons are now shown as well, and can
  be edited - they're not yet saved, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 16:11:56 +00:00
Axel Dörfler
088a32925d Make use of the new vector_icon type in rc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-06 12:26:54 +00:00
Axel Dörfler
bca3f1efbf Added support for the vector icons to FileTypes and DiskProbe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 15:13:31 +00:00
Stephan Aßmus
d632afd30e * new vector icons I created in the past months
for applications, I kept the R5 icon around and the
vector icon is only used when compiling for Haiku,
for the mimetypes, I removed the R5 icon, as I don't
think they are used outside the Haiku build

naturally, I'm open for comments



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:47:18 +00:00
Stephan Aßmus
64dfde6fb0 * new copyright header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:53 +00:00
Stephan Aßmus
2f7c57a986 * small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:27 +00:00
Stephan Aßmus
0030de4a8f * small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-03 09:38:02 +00:00
DarkWyrm
0b930886f5 Reverted last jamfile change. Stupid old compiler versions....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 22:06:08 +00:00
Jérôme Duval
06ab845986 usb devices and vendors list from NetBSD version 1.441
support in pegasus driver for ADMtek ADM8515 device


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-01 12:26:35 +00:00
DarkWyrm
ef6d0e7858 Fix build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-01 01:51:29 +00:00
DarkWyrm
3d5da9f46c Updated style to come pretty close to matching OT style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 23:58:30 +00:00
DarkWyrm
a3b25e4ff0 Serious simplification and retooling of Appearance app. Just system colors supported for now. Still not finished, but getting there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 23:30:55 +00:00
Axel Dörfler
6d7f7b86e1 All windows should have B_ASYNCHRONOUS_CONTROLS set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 23:27:40 +00:00
Axel Dörfler
37ec4f04fe * Cleanup of signatures and version infos - this is part of a fix to bug #909.
I've done all preferences apps for now, and some related.
* Some other related cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 14:55:44 +00:00
Ithamar R. Adema
d912bed187 Fix signature of network preference app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-20 18:20:53 +00:00
Jérôme Duval
2634e48f59 try at taking into account the subvendor id and the subsystem id for device info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:36:44 +00:00
Jérôme Duval
2c5c51146a update pci ids
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 11:32:23 +00:00
Stefano Ceccherini
55475b6493 Changed signature to match r5's one. Fixes bug 629
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-10 21:10:34 +00:00
DarkWyrm
37c77046c2 Added a quick hack to mitigate font sensitivity problems until it can be handled properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 15:44:13 +00:00
Stefano Ceccherini
7b44e811c1 Implemented BitmapMenuItem::GetContentSize() to get rid of a ugly hack.
This fixes bug 488, the dash was actually the "trigger" :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 15:14:18 +00:00
Jérôme Duval
43e03d5827 clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 13:16:48 +00:00
DarkWyrm
b6ee50dd11 Style cleanups
Fixed the header to mention the authors on this app on each file
Made the prefs app font sensitive


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 20:50:40 +00:00
Stefano Ceccherini
319b44afb8 Revert didn't work correctly. The default color is 216,216,216
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-15 12:07:44 +00:00
Jérôme Duval
505a035dd2 resize to preferred radio buttons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 19:21:53 +00:00
Jérôme Duval
3b77830fca improves font sensitiveness
code style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:59:53 +00:00
Jérôme Duval
99e5e6e8d2 fix R5 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:58:23 +00:00
Ithamar R. Adema
9e17884040 More work on DriveSetup. Will now show all recognized disks/partitions in hierarchical format.
It still looks aweful, partly because of BColumnListView drawing.
Please note that the partition-order is wrong, due to funky sorting in BColumnListView. This will be fixed tommorow :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 00:53:57 +00:00
Ithamar R. Adema
a4706a8cea Some initial work on using the BDiskDevice APIs in DriveSetup.
Early stages, so not usable yet. WIP!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-09 20:16:11 +00:00
Jérôme Duval
3aa0a9d879 we want button numbers to be updated as mouse map is updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 11:52:23 +00:00
Axel Dörfler
0248bb3ed8 * Screen savers are now sorted case insensitive (forgot to commit this before).
* ScreenSavers is now completely font sensitive (but not the screen savers themselves,
  they are on their own there - note, however, that a screen saver can enlarge its
  view under Haiku (like it's already the case for Translators, even under BeOS)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-16 19:07:00 +00:00
Axel Dörfler
f8253e50bd * Fixed wrong resizing mode.
* Fixed center on screen algorithm for multi-screen scenarios.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-16 14:38:10 +00:00
Axel Dörfler
f7a09629e5 I don't know why this didn't happen under R5, but now the slider background
is no longer just white...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 12:53:35 +00:00
Axel Dörfler
32553c9788 If the supertype has the same label as the subtype, they are no longer considered
equal in the _MakeTypesUnique() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 10:14:13 +00:00
Axel Dörfler
139655dd9a * New super types that are added while FileTypes is running are now displayed
correctly (without an icon).
* Fixed the incorrect __HAIKU__ only section #ifdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:36:35 +00:00
Axel Dörfler
642090fdc6 * ScreenCornerSelector is now a BControl and fully keyboard navigable.
* simplified drawing a bit, and got rid of those scary scale*() stuff (which also
  results in better looks). The monitor now looks like the one in Screen; I think
  it should either be a very reduced form or a very detailed form, but anything
  in between often looks just odd.
* It now also listens to B_MOUSE_DOWN incl. mouse tracking, not only to B_MOUSE_UP.
* Less flickering on state changes (and focus change).
* Loading settings no longer overwrites defaults missing from the settings.
* Renamed ScreenSaverSettings::GetBlankCorner() to BlankCorner(),
  LoadSettings() to Load(), GetState() to GetModuleState(), ....
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 16:03:16 +00:00
Ingo Weinhold
78f3c7e6f5 Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 19:27:57 +00:00
Jérôme Duval
7d1e1e9f07 fixed view names to match R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 15:36:46 +00:00
Axel Dörfler
7c434cc5a0 Some more work on the font sensitivity - not yet complete by any means, though,
but it's shaping up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 14:04:03 +00:00
Axel Dörfler
41158aaf91 * Renamed the ScreenSaverPrefs class to the more Be-like ScreenSaverSettings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 12:43:31 +00:00
Axel Dörfler
af55bae2f6 * Implemented DPMS support.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 12:31:28 +00:00
Axel Dörfler
5d74f3c143 Renamed MouseAreaView to ScreenCornerSelector.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 11:57:25 +00:00
Axel Dörfler
4da6b5c328 * The screen corner selection view now follow the window bottom.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 11:51:37 +00:00
Axel Dörfler
3c2793fcc1 Seconds were not shown correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 17:49:09 +00:00
Axel Dörfler
9bf8dbc829 * First baby steps to a font sensitive GUI. The window now adapts its size
to the demands of the screen saver settings.
* At least temporarily, the window is also resizable; we'll see how well
  that turns out.
* The PreviewView did not have a black border around the preview.
* You can now switch again from Blackness to another saver directly...
* The turn off screen timeout is stored relative to the blanking time.
* The list now scrolls to the selection whenever the tab is shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:56:30 +00:00
Axel Dörfler
1bba1e12c6 Added ScreenSaver.cpp to screen_blanker and ScreenSaver explicetly again, to allow
some legacy screen savers to work. Thanks, Korli!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 14:22:43 +00:00
Jérôme Duval
a60f5e9c2e useless includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 11:41:40 +00:00
Axel Dörfler
7cae4a1ee0 * Big time cleanup of the screen saver stuff, not yet finished yet, though.
Renamed lots of things, like ScreenSaverThread to ScreenSaverRunner,
  refactored code, etc. Much cleaner interfaces and code.
* Fixed a couple of bugs and in the add-on handling, especially some settings
  related bugs (ie. testing a screen saver will now use its latest settings,
  etc.).
* Correctly implemented DPMS support in ScreenSaverPrefs and the ScreenSaver
  preferences application - screen_blanker still ignores them, though.
* It's not yet font sensitive either.
* Changed the input_server add-on to not switch to the screen blanker immediately
  when it's in the "blank corner" - doesn't seem to work yet, though (only tested
  under Qemu).
* Correctly implemented the "preview" function (before, a screen saver would
  never know it rendered a preview).
* Evaluates the return value of BScreenSaver::StartSaver().
* The screen saver thread is no longer killed without notice - it's now
  always shut down properly.
* Made the code more robust against failure.
* Introduced some new bugs as well (the screen saver list view doesn't jump to
  the selection anymore, for some reason), those will be fixed later (as the
  remaining issues).
* Probably some more I forgot about.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 08:16:46 +00:00
Jérôme Duval
99e002f375 avoids drawing unknown keys
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-04 14:00:03 +00:00
Axel Dörfler
56c56cf1e3 * No longer sets the minimum/maximum slider limits to the same value - instead, if
this happens (the volume is too small to host a swap file), the slider is now
  simply disabled.
* Removed that .doxygen-conf file that somehow ended up here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 19:11:45 +00:00
Axel Dörfler
f4e8263700 * FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 11:43:18 +00:00
Axel Dörfler
194b7064ee Changed the recognition rule for applications: it doesn't matter if the application
has a signature or not, what matters is that has the correct B_APP_MIME_TYPE MIME type.
This fixes bug #606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 16:47:39 +00:00
Axel Dörfler
e3946fee88 * The window resizing is now limited to some useful bounds - this fixes
bug #617.
* The two buttons weren't aligned correctly (called MakeDefault() too
  early).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 02:17:31 +00:00
Jérôme Duval
b82aa52811 avoids analog clock flickering (ie on VPC): AnalogClock view is now of the bitmap size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:12:50 +00:00
Jérôme Duval
568e0bdbf4 write errors to stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:36:00 +00:00
Axel Dörfler
b0bc48fbd3 Some more GCC 4 and PPC fixes.
* Mesa doesn't compile yet, as some PPC specific stuff seems to be
  missing, Philippe?
* Cortex and some other stuff has been marked x86-only, although
  it's more of a "GCC 2.95.3"-only.
* I'm not sure if it's a bug in GCC 4, or if that's what the C
  standard demands, but sizeof(some_type::some_field) is not
  valid anymore :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-19 15:52:21 +00:00
Stefano Ceccherini
f56a708cde FontSizeMenu marks the correct item on AttachedToWindow. Fixes bug 565
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 22:21:48 +00:00
Stefano Ceccherini
a73a27510a more cleanups. There is now a MenuSettings class which handles settings in a central way. More code simplification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 21:31:56 +00:00
Stefano Ceccherini
fdd142c9ed Removed the Update() methods. Created a new class AutoSettingsMenu from which every menu class inherits. It gets the new settings on AttachedToWindow() automatically
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 20:23:38 +00:00
Stefano Ceccherini
1655525f95 Check the lock, some cleanups. Fixes some crashing bugs which didn't show up before for pure luck
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-10 20:15:36 +00:00
Axel Dörfler
797de116a2 * Loading and saving the settings was completely broken. I've moved to a different
file and put the window position there; loading/saving of the translators settings
  looks broken in (or rather, missing from) the Translation Kit as well.
* Now uses the new watching mechanism of BTranslatorRoster to keep track of new
  translators.
* Installing translators now gives better error requests, it now no longer uses
  undocumented BTranslatorRoster functionality, but the new IsTranslator() method
  to check if a certain file is a translator.
* Copying translators is disabled for now, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-02 00:23:22 +00:00
Jérôme Duval
ef9c8e384d fixes some font sensitiveness issues
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 12:34:13 +00:00
Stephan Aßmus
bc692d448e encoded Jérôme in UTF8
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-22 20:16:13 +00:00
Axel Dörfler
9b2a903688 Fixed bug #522 by removing the ScrollBar preferences application - you'll just have
to live with the default settings (which hopefully have *two* arrows per side, though,
won't they, Stephan? :-))


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-21 22:46:21 +00:00
Stefano Ceccherini
f274fa345d click_to_open now is always true, and cannot be disabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-19 20:19:51 +00:00
Jérôme Duval
77214f9012 when filtering, we now use GuessMimeType() so that files without BEOS:TYPE set can be scanned as well (the type provided in Filter() is application/octet-stream in this case on R5)
when selected, we only use GuessMimeType() when the type isn't found


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-19 15:28:42 +00:00
Jérôme Duval
bb55c479b8 B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-18 20:11:35 +00:00
Axel Dörfler
50f6c62f4b Fixed some issues in the "keep settings" alert:
* pressing the escape key now exits the window as it should be (SetEventMask()
  was called in the constructor, but has no effect as long as the view isn't
  attached to a window).
* The window is now font sensitive (fixing bug #450).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 23:22:12 +00:00
Stefano Ceccherini
1da0b2498f Fixes part 2 of bug 472
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-17 17:48:05 +00:00
Axel Dörfler
c5d10f7ae5 * Made the refresh selection window font sensitive.
* Nicer separation from RefreshSlider.
* Got rid of the RefreshView class (a BStringView does its job now).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-16 20:55:53 +00:00
Jérôme Duval
20ad5fdfba now better place comboboxes taking font size into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-13 15:45:41 +00:00
Axel Dörfler
541143a08b Fixed small layout issue with the sniffer rules control.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:36:55 +00:00
Jérôme Duval
336bfcc127 fix for bug 455: desktop folder was incorrectly handled for refs from Tracker
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:34:05 +00:00
Axel Dörfler
43c84ecbb4 The '/' character obviously has to be allowed in MIME types.
This fixes bug #375.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 23:27:11 +00:00
Jérôme Duval
52f8cb492d fixes bug #395
month 0 is January
year 0 is 1900


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 21:22:21 +00:00
Axel Dörfler
60bf6a1fbe Removed the detached version of the BMessageRunner object again, and instead
have a static method for spawning one (BMessageRunner::StartSending()), as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 14:47:01 +00:00
Stefano Ceccherini
265242ecfa Patch by barber which actually make menu color changes work, plus some other changes. Note that this shows some problems in how BMenuItems are drawn (wrong colors)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 08:11:53 +00:00
Jérôme Duval
1e7392d78b fixes some bugs with buttons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 19:30:19 +00:00
Axel Dörfler
29e8a73a07 * No longer ignores the screen refresh limits from the driver.
* Now builds under R5, but looks ugly (for testing only).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 20:10:34 +00:00
Axel Dörfler
a796facf49 Filled the hole between 60 and 75 Hz for the refresh rates.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:48:24 +00:00
Axel Dörfler
690b893c1e * The saved screen position is now checked; if not at least 40 pixels of the
window are on screen in any direction, it will fall back to the default
  position (ie. centered on screen).
* Centering the window now takes an eventual screen offset into account.
* Cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:46:20 +00:00
Axel Dörfler
cfa91cc4cb * Reverting the screen mode now reverts to the one applied last, not the
one that was active when the application was launched (which was lost
  on workspace change, anyway).
* Fixed on-screen centering of the AlertWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-23 15:17:54 +00:00
Axel Dörfler
c5d80d47d8 * Changed the signature of "Backgrounds" to follow how those signatures
are supposed to look like.
* Fixed Screen to have the correct signature for Backgrounds (had the
  one from Be before).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-23 15:11:07 +00:00
Axel Dörfler
a9b6762f49 The right box didn't take the border of the list view into account, and as
therefore a bit too small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-14 20:45:14 +00:00
Axel Dörfler
d1b62548b1 * Added the possibility to see and edit the sniffer rule of a type
(realized as an option enabled in the menu).
* Minor bug fixes and changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-14 18:59:00 +00:00
Axel Dörfler
56d17f07b9 Now uses the new BMessageRunner form when built for Haiku, and thus, no longer
leaks them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:33:56 +00:00
Axel Dörfler
cbc6a45a40 * Fixed crashing bugs, and thus bug #88.
* Cleanup, make it better fit to our style guide.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 00:25:30 +00:00
Axel Dörfler
dcf60976b6 * New types are now no longer directly added, but delayed a bit (via a BMessageRunner);
this is done so that the type can be fully installed before investigating it.
* When the preferred app of a type changes, the "is application" property will be
  reexamined - this should help in letting new application types appear in the
  FileTypesWindow list, but not in the ApplicationTypesWindow list.
* Added a progress window for removing uninstalled apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 23:47:26 +00:00
Axel Dörfler
8fee027ee3 Updated the resource app version information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 21:31:30 +00:00
Axel Dörfler
5ac11f960a * Fixed various minor font sensitivity/resize problems.
* Fixed translator version info; didn't correctly displayed versions < 1.
* Drastically improved looks of that info alert.
* Nicer version alert.
* Renamed class DataTranslationsView to TranslatorListView.
* Added license.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 20:14:13 +00:00
Axel Dörfler
f157272bee * You are supposed to free() the mode list returned by BScreen::GetModeList(),
and not to delete it.
* The header didn't include everything it needed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 15:13:19 +00:00
Axel Dörfler
f5d5a442b8 Supported types can now be edited and saved (but not their icons yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-10 21:53:09 +00:00
Axel Dörfler
b57ef1e651 Some more work on the application type window: it now shows the correct
entries, and you can edit everything but icons and supported types.
Saving is also possible now (but it won't ask yet if you close the
window and has made some changes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 14:21:25 +00:00
Stefano Ceccherini
2d5d385b29 some other minor stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 21:05:49 +00:00
Stefano Ceccherini
8edede9f83 The menu window's rect was never initialized, it worked by pure luck if launched from the terminal. Fixes bug 263. Other changes. Not yet finished
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 20:11:13 +00:00
Axel Dörfler
507514408c Beginnings of the application type window - doesn't do anything yet, but at
least it looks more or less okay (long description border isn't right yet)
and is font sensitive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 16:30:09 +00:00
Axel Dörfler
9638d4c877 * Fixed a font sensitivity issue not visible under BeOS.
* IconView now draws a rectangle in case there is no icon to let the
  user know there is something he could click on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 14:09:30 +00:00
Axel Dörfler
91d4f7a30a * Added "Select..." functionality to the file type window, ie. you can now
choose the file type from a list, too.
* Several windows did not forward unknown messages to their parent, and thus
  scripting did not work properly for them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 12:09:13 +00:00
Axel Dörfler
678a32a0ae Build fix (could be compiled under BeOS as is, sorry).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 11:05:54 +00:00
Axel Dörfler
4987d47a56 The FileType window now filters out application drops, and make them the preferred
app for the file(s).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 02:44:03 +00:00
Axel Dörfler
a051f66681 * Changed the way file panels are created, there is now only a single message
the FileType application understands.
* The FileTypeWindow now has support for setting the type via "Same As...",
  also by dropping a file over the window.
* The preferred application of a file can now also be specified via "Select...",
  and "Same As...".
* Moved FileTypesWindow::_AdoptPreferredApplication() to PreferredAppMenu.cpp;
  FileTypeWindow is now using it as well.
* Shuffled some functions around a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 02:26:31 +00:00
Axel Dörfler
f793ebf4db * Added an icon view to the file type window.
* Renamed the IconView class in the FileTypesWindow to TypeIconView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-07 01:25:21 +00:00
Axel Dörfler
0353f98bc3 * Beginnings of the file type window, ie. the functionality of the
FileType Tracker add-on.
* You can now drop files over the FileTypes window, and their file
  types window is opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 21:54:54 +00:00
Stefano Ceccherini
b820da1a25 Restyled Menu preflet, it's still very ugly but at least I can
understand where's things.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 17:15:16 +00:00
Stefano Ceccherini
bdd0629138 Fixed extra days in a month bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 09:22:57 +00:00
Axel Dörfler
3a14d2275f * Fixed various minor font sensitivity issues with larger fonts.
* Fixed build on Dano.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 21:18:24 +00:00
Axel Dörfler
31de48b49d * When a new type is added during lifetime, the "show icon", "application mode",
and "flat" settings of the MimeTypeListView are now honoured.
* Fixed warning in AttributeWindow.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 02:04:50 +00:00
Stephan Aßmus
067c811fe8 * "Extra Attributes" can now be added as well.
* Moved AttributeListView and AttributeItem into its own file.
* Can now be compiled on R5 systems again.

(coded by axeld)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 17:37:42 +00:00
Jérôme Duval
b221cf0502 fixed window title
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 15:23:40 +00:00
Jérôme Duval
b4a124700c fixed naming of variables
fixed some font sensitiveness issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-18 18:03:29 +00:00
Jérôme Duval
5ffd43dcb9 hopefully completes the fix for bug #190
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:47:49 +00:00
Jérôme Duval
aaa9b73980 improved font sensitiveness
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:25:54 +00:00
Stefano Ceccherini
25a4d8f957 Fixed wrong day of week shown in Time. Needs review as I used some trick
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 08:53:10 +00:00
Axel Dörfler
e635421dad * Work-around for strange BRoster::FindApp() behaviour is no longer needed.
* Fixed wrong height of the signature and path views.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:23:15 +00:00
Stephan Aßmus
3dfd20c019 * made the font of the "Set Background..." button
a little smaller, to lessen the importance of this
  button.
* changed the "standard" frequencies. I hope this
  doesn't have any negative impact on anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 20:18:59 +00:00
Axel Dörfler
8242ac7f2f The "Screen" preferences application is no longer compatible to BeOS
(it could be built with minimal effort, but it looks awful since
BMenuFields are not resized correctly on R5).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:35:47 +00:00
Axel Dörfler
7b51c43305 Moved the "Workspaces" application out of preferences - it's not a preferences application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:32:50 +00:00
Stephan Aßmus
df3f5bac68 * enjoy a fully font sensitive Screen preflet
* the Radeon specific controls are now layouted below
  the other menu fields, it is easily changed back
  to the side by side layout by changing the default
  value of "sideBySide" for ScreenWindow::LayoutMenuFields()
* I added a "Set Background..." button, because I didn't
  like the hidden functionality of the monitor view too
  much. That is still there though.
* TODO: fix the awareness of changes to the workspace
  count and include those in "reverting" and "defaults"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 15:25:25 +00:00
Axel Dörfler
bd3d31b0ab Version description was one pixel too low, dunno how I missed that before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 14:02:02 +00:00
Axel Dörfler
9786c1ecf9 * When an icon changes, the MimeTypeListView updates the type now.
* Selecting "None" as preferred application didn't work.
* Forgot to implement changing a MIME type's long description.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:48:00 +00:00
Axel Dörfler
b2be483b92 The type list will now show the generic file icon for types without an icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:28:54 +00:00
Axel Dörfler
e47433bccb * The new icon retrieval code didn't always work that well...
* For applications without an icon, the default application icon is now shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 13:20:38 +00:00
Axel Dörfler
84506c140e * The MimeTypeListView now supports switching to icon mode and back without
needing to reconstruct it.
* The file types list can now show icons, too (you can enable it using the menu)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:59:01 +00:00
Axel Dörfler
688b1b719c * Added a version box to the application types views.
* StringView didn't initialize fEnabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 12:35:39 +00:00
Axel Dörfler
4f92605003 Moved the "get icon engine" from IconView into a function in MimeTypeListView.cpp; it's
now used by the MimeTypeItems as well, if showIcon mode is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:46:58 +00:00
Axel Dörfler
041ea26008 More work on FileTypes:
* You can now edit and add extensions.
* The internal name view is no longer a disabled BTextControl, but a simple
  customized BStringView like view.
* New "Application Types" window in the making.
* MimeTypeListView can now have icons and supports a flat mode as well
  as an application only mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 15:48:35 +00:00
Axel Dörfler
879c65a301 You can now create new file types and groups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 14:41:57 +00:00
Axel Dörfler
3648c6cea4 Added error reporting and a "application does not support file type" warning when
trying to set the preferred app via the "Same As..." or "Select..." buttons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:40:40 +00:00
Axel Dörfler
43fd6fc453 * You can now also select the preferred application using the "Select..." and
"Same As..." buttons and a file panel.
* The preferred application of a file type is now also displayed correctly if
  it's not part of the list of supporting applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 02:07:47 +00:00
Axel Dörfler
8d577b370f You can now remove file extensions and attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 01:10:31 +00:00
Axel Dörfler
79dd9fd23e You can now remove MIME types.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-14 00:45:34 +00:00
Marcus Overhagen
fbe9b0b6eb This fixes bug #149.
Input server now saves keyboard typematic settings whenever they are modified,
instead of wating until it is shutdown (which never happens, either the
system will crash, or the input_server will stay active after a normal shut down)
Same problems might apply to mouse and keymap settings.
Input server shutdown handling should be reviewed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:35:05 +00:00
Jérôme Duval
3cd9828763 fix the build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 14:29:03 +00:00
Axel Dörfler
9a7fabb66c The IconView now also shows an icon for a MIME type if it got it from the
super type's preferred application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:50:22 +00:00
Axel Dörfler
1d268b8f9f The IconView now correctly invalidates its view on updates again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:44:42 +00:00
Axel Dörfler
06c21b14fe * Only those controls are updated now, that were actually changed, including
references from other types.
* Since the MimeTypeListView now listens to changes automatically, it's no longer
  necessary to update the MimeTypeListView manually anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:28:49 +00:00
Axel Dörfler
6ebc02eae4 The MimeTypeListView now listens to changes to the MIME type database as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:11:58 +00:00
Axel Dörfler
9432e2e65a * The controls now listen to BMimeType changes - the MIME list doesn't do this
yet, though.
* Noticed that the "Description" text control in the original FileTypes app is
  actually for the long description, not the short one - added another text
  control for those descriptions.
* The IconView will now also show an icon when it comes from a super type or
  an application - additionally, it will tell you from where the icon actually
  comes from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 16:21:41 +00:00
Axel Dörfler
61ed8caf39 The "Extra Attributes" list is now properly updated on resize.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 14:33:24 +00:00
Axel Dörfler
3069c9573a * You can now change a MIME type's name as well as its preferred application.
* The menu field will now show the app's signature initially as well, if it's
  part of the item's label (wasn't picked up before, because BMenuItem::SetMarked()
  was called before the signature was added to the label).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 14:27:22 +00:00
Axel Dörfler
2602f6e9c2 Some more work in progress, still far from finished:
* The extra attributes of a MIME type are now shown as well.
* The preferred applications are now not only grouped by level of support,
  but are also sorted alphabetically, and get the app signature as part
  of the label in case two (or more) apps have the same name.
* And more :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 12:59:21 +00:00
Axel Dörfler
9941e6c9ea Some more work on the FileTypes preferences application; it still doesn't do anything,
but it will now show you the installed MIME types, and their properties (though the
"Extra Attributes" group is still not maintained at all).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 18:46:49 +00:00
Axel Dörfler
d2dcb851e6 Now it even looks like the original, at least a bit :-)
Still doesn't do anything, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 15:32:54 +00:00
DarkWyrm
532d1ccd43 Main window is font sensitive now.
More style cleanups - still not finished, though
More code cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 12:43:13 +00:00
Axel Dörfler
f1486a980f Started new FileTypes preferences application, so that you can at least see
it's supposed to do nothing at the moment :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:10:47 +00:00
DarkWyrm
9bf86676ad Serious refactoring of app code.
Updating files to style guidelines
Separated classes into their own files
Lots of other things, but still nowhere near finished


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 01:38:02 +00:00
Jérôme Duval
90058ff6af improved version
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 09:10:43 +00:00
Jérôme Duval
1f955d54d8 John Drinkwater provided a new version which could avoid problem met with some R5 awk
this one doesn't require pipe usage


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 13:22:19 +00:00
Jérôme Duval
1571b4c958 added Chip and VendorShort fields to fix the build
They should be checked to see if they're useful at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:09:12 +00:00
Jérôme Duval
ab88c5f939 Now use pci.ids from http://pciids.sourceforge.net, a cleaner and updated database
Awk script provided by John Drinkwater (john@nextraweb.com), thanks for this hard work!
This closes bug #94


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 15:38:20 +00:00
Jérôme Duval
141f2cefe9 reverted to previous version as this version is not that clean
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:30:09 +00:00
Stefano Ceccherini
81a02ebcfa Fixed crash in case there were no selection and you clicked on the date/time controls's arrows. patch by John Drinkwater
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 13:08:17 +00:00
Jérôme Duval
507a724eed added pci_clean sed script from John Drinkwater (john at nextraweb.com) as noted in bug #94
made Devices beos compatible
updated pcihdr.h with current pcidatabase version


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 11:49:05 +00:00
Jérôme Duval
f38c267be6 time is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:38:22 +00:00
Jérôme Duval
4aded202be keyboard prefs is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:05:25 +00:00
Jérôme Duval
79a3f78fb5 fixes build for beos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:02:46 +00:00
Jérôme Duval
7f781bfbf2 Sounds and Media prefs are beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 22:01:43 +00:00
Jérôme Duval
3df0e46f12 fix include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-15 21:28:11 +00:00
Axel Dörfler
41d9fd9ce4 Improved debug output in case adding the volume tray icon failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 22:59:23 +00:00
Axel Dörfler
8ea9eaa1cb * Resize the placement controls to their preferred height, make them a little
wider, so that they completely fill up the space they have (making them nicely
  aligned to the surrounding border).
* the placement controls now accept up to 5 bytes (for things like "-1000").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 19:20:24 +00:00
Axel Dörfler
6e2cf48b9f * The X/Y placement text controls are now lined up with the bottom of the
color picker.
* Renamed message constants by considering our style guide.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 19:11:45 +00:00
Axel Dörfler
c77be36230 * Now makes sure the boxes/window is large enough for the BColorControl.
* The left and right box should now always look aligned horizontally
  (at least under Haiku).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 18:26:11 +00:00
Axel Dörfler
47c1e3d9a9 * Now writes the background info message as B_MESSAGE_TYPE attribute (instead of 0).
* Better error reporting when writing the attributes.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-30 15:36:14 +00:00
Axel Dörfler
2494fda73a The resolution and image type now span over the whole width of the file
panel window (and thus the text is no longer cut off under Haiku).
Instead of only writing "JPEG Image" for JPEG images, and nothing for
all other image types, the MIME types short description is now displayed
(or the MIME type itself if no such description exists).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 21:10:17 +00:00
Axel Dörfler
6c5611a064 BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 13:47:03 +00:00
Axel Dörfler
cd2d1ffdda * Renamed BGView to BackgroundsView, etc.
* Moved ImageFilePanel code to its own file, so that it can be reused easily.
* Moved BGWindow stuff into Backgrounds.cpp.
* Cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 13:37:52 +00:00
Axel Dörfler
a4513d1c7c Enabled building Backgrounds under BeOS, and added it to the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 11:55:23 +00:00
Axel Dörfler
2642bdee5c The multi-monitor settings now also look okay. Still needs some work, though, and
a new layout as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 11:21:22 +00:00
Axel Dörfler
ca8fc8c47c The aspect ratio of the monitor is now independent of the size of the MonitorView's bounds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-28 23:50:16 +00:00
Axel Dörfler
5a78744bed First baby steps into a font sensitive interface. At least it now looks good when
runnning under Haiku :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-28 23:36:39 +00:00
Axel Dörfler
99383764f6 Enabled building under BeOS, and fixed the build under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-28 23:27:32 +00:00
Stefano Ceccherini
6edaa0f6a6 Fixed PostMessage usage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-23 22:43:11 +00:00