* 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
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
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
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
* 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
-> 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
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
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
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
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
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
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
* 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
- 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
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
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
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
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
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
* 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
* 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
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
* 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
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
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
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
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
* 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
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
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
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
* 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
* 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
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
* 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
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
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
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
(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
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
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
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
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
* 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
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
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
* 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
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
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
* 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
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
(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
* 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
* 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
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
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
* 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
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
"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
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
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
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
* 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
* 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
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
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
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
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
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
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
* 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
* 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
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
* 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