Commit Graph

37174 Commits

Author SHA1 Message Date
Clemens Zeidler
843c030f80 Cleanup there is no Audio plugin yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 18:12:14 +00:00
Jérôme Duval
71e85f7f8f added definition for Extensible Host Controller Interface (usb3)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 17:31:36 +00:00
Clemens Zeidler
59cad21bf2 Add a simple CLucene search app written by Ankur Sethi. I just made some smaller modifications. Don't look at the coding style, it is just for testing at the moment, this has to be integrate somewhere else anyway, there is no point to fix it at this state. There are also some memory leaks...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:32:44 +00:00
Clemens Zeidler
3a88830daa Add a CLucene full-text add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:22:52 +00:00
Clemens Zeidler
4462ce0d83 - The purpose of the SwapEntryRefVector is to exchange entry_ref's between the watcher thread and the worker thread. The idea is to use two list, the first list is filled by the watcher and the second is passed to the worker. When the worker finished both lists are swapped. This was totally broken, the list swap was not locked and SwapList always returned the wrong list.
- Use BAutolock class.
- Write the correct sync time in micro seconds.
- Fix the event dispatching in the worker thread.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:11:02 +00:00
François Revol
20bf353a79 argv[0] is binary name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 15:10:58 +00:00
François Revol
53612087c4 Add ipp: and lpr: as supported uri schemes for the Printer pref, and the ArgsReceived() hook with a TODO to handle them. It should use it to prefill the add printer dialog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 14:50:05 +00:00
Ithamar R. Adema
7bc3564aa8 * ARM: Some more cleanup...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 11:19:20 +00:00
Joachim Seemer
b57206f658 Fixed erroneously reversed translations. Looks like one always has to export the complete dataset from the translation site instead of just the changed sets ATM. Thanks Vincent for the tip.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-28 08:57:17 +00:00
Siarzhuk Zharski
adbe44b82d Update to Russian locale files. Made by Diver. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 21:34:33 +00:00
François Revol
710dac2313 M68K: Do not force HAIKU_BOOT_PLATFORM and make the floppy image size depend on it. One should use HAIKU_BOOT_PLATFORM={atari_m68k|amiga_m68k} now instead of setting TARGET_BOOT_PLATFORM.
Note we aren't yet at the point where jam can make you a floppy image due to broken vm stuff.
It might be interesting to also switch the extension used on the image, amiga emulators prefer .adf for ex.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 15:51:54 +00:00
Joachim Seemer
c585624fa4 Update of userguide\welcome page. Thanks translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 15:47:37 +00:00
Stephan Aßmus
766bc131b4 Integrated the test from the "Services Kit" GSoC project. The urlRequest tests
don't currently compile since not all of the Services Kit classes are included
in the build ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:16:51 +00:00
Stephan Aßmus
eb3504793b Added the new headers to the NetworkKit.h all-in-one header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:16:19 +00:00
Stephan Aßmus
45939109b4 Patch done by Christophe Huriaux as part of GSoC 2010 "Services Kit" project:
Integrated the classes in the Network Kit (libbnetapi.so). Only the foundation
classed BUrl, BUrlContext, BNetworkCookie, BNetworkCookieJar and the private
HttpTime code is currently compiled. The BUrlProtocol currently contains some
misplaced BUrlProtocolHttp specific stuff, and the HTTP stuff itself has a
dependency on libcrypto and should live in an add-on instead. I've sprinkled
some TODOs in the code, and I've done some renaming compared to the last
version of the GSoC patch. Any help to bring this further along is appreciated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 14:03:31 +00:00
Clemens Zeidler
1294543de9 Initial work on an index server. No add-on yet so quite useless at the moment, but a clucent full-text search add-on is coming soon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 13:55:45 +00:00
Philippe Houdoin
7b5743bab4 JPEG translator was reporting uninitialized input and output formats.
That explain why a empty menu after JPEG Image was visible in any menu
populated by BtranslationUtils::AddTranslationItems(, B_TRANSLATOR_BITMAP, ...),
as seen for instance in Screenshot "Save As".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-27 10:11:52 +00:00
Jonas Sundström
2ae22b9b1b Correction of code style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 22:32:48 +00:00
Stephan Aßmus
e66d0f5520 Patch by Barrett: Check for errors when obtaining information
about the contained tracks from media files. Display an alert
accordingly. Fixes ticket #6497. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 16:32:39 +00:00
Michael Pfeiffer
961e35fb58 * Changed BaseCap ID type from int to int32.
* Removed unused printer ID from PrinterCap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 13:06:29 +00:00
Philippe Houdoin
ed13a41e18 Fix the build, which was broken in r39147.
I hope I didn't overlap too much on your shoes, Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 10:24:17 +00:00
Michael Pfeiffer
56c20e828b * Style changes.
* Removed unused code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:56:56 +00:00
Michael Pfeiffer
308f0e195d * Enable halftone configuration options if requested by printer driver
only.
* WIP: Driver specific generic capabilities.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:48:36 +00:00
Philippe Houdoin
2ca94d9be9 Small change lost in the void: search in common addons dir too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:26:41 +00:00
Michael Pfeiffer
a12efb945f * Style changes.
* Use assignment operator in copy constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 09:03:26 +00:00
Alex Wilson
5c0767ca6f Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 04:48:58 +00:00
Alex Wilson
768734a831 In media preflet, update handling of nodes with no controls to look nicer and not make our window really small.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-26 03:34:17 +00:00
Jonas Sundström
7327585ba3 Create settings file if missing, so shortcut_catchers node monitoring works. Prior to this change, the add-on would not sense the Shortcuts preferences creating the file, and it wouldn't work right away but only after a reboot. This improves first boot, first use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 23:08:19 +00:00
Axel Dörfler
1d56eab029 * Work in progress network API changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 20:20:09 +00:00
Axel Dörfler
44fe7b9f4f * Added a static Draw() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 20:17:06 +00:00
Rene Gollent
04e916ccb5 Override Update() so we can return an item width that includes our flag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 17:33:06 +00:00
Rene Gollent
31a81a2b93 Go through the list view to tell it to expand the super item rather than
setting its expanded property. Doesn't actually fix #6747 but at least corrects
the observed bogus behavior for now until I figure out a proper solution that
isn't hideously inefficient, no thanks to the train wreck that is the API
design we inherited from Be for BOLV.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 16:15:10 +00:00
Michael Pfeiffer
f412257ccb * Store resolution ID in libprint specific field in JobData;
as the pair of x/y resolutions might not be unique in all
  supported Gutenprint printer models 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 14:46:26 +00:00
Michael Pfeiffer
f53abcbdf8 * Added field fKey to BaseCap (will be required for Gutenprint printer
driver add-on).
* Added ability to search for a PrinterCap by ID to class PrinterCap
  (for Gutenprint driver add-on).
* Moved code for searching a PrinterCap by name into class PrinterCap.
* Refactored code in JobSetupDlg to use the new method.
* Refactored duplicated code in JobSetupDlg.
* There is still a lot of refactoring potential in libprint.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 14:21:09 +00:00
Michael Pfeiffer
08d759feae * More style changes.
* Removed namespace handling for Metrowerks compiler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:44:09 +00:00
Michael Pfeiffer
a7dde370f5 * Style changes.
* Unused code removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:34:31 +00:00
Ithamar R. Adema
ac4c302248 * Adjust code to use the new page directory/table helper macros.
* Some more code cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:19:17 +00:00
Ithamar R. Adema
d38153721e * Add page directory/table helper macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-25 11:16:21 +00:00
François Revol
ee0c130257 Display flags and interlace in the mode menu items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:46:06 +00:00
François Revol
b14f16077c Fix setting console position.
Generate a list of video modes, though there seem to be some dups and missing ones... The Nominal resolution doesn't mean it can't be better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:28:13 +00:00
François Revol
2e74287ab2 Force a 040 detection for now, it seems E-UAE is making kickstart detect it randomly :(
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:26:27 +00:00
Ithamar R. Adema
2609a6bc98 * Fix header guard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 22:06:22 +00:00
Axel Dörfler
6db01936fe * Added a selection mode that can currently only be enabled via the menu
(should be part of an optional tool bar in the future). Now the primary, and
  the tertiary mouse button pan the image. You still get the selection when
  using alt or ctrl and the primary mouse button, even outside of the selection
  mode. In selection mode, the primary button changes the selection.
* Renamed {Shrink|Stretch}ToBounds() to comply to our coding style, thanks Ingo.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 20:59:34 +00:00
Clemens Zeidler
4a5a077ff7 Add a private B_ATTR_CHANGE_NOTIFICATION flag to the open query syscall to tell the query to send notifications when an entry attribute changed and the entry stays in the query. Previously you only get created and removed messages, now you can also get updated messages. Only implement it for bfs.
Fix copy right.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 20:47:46 +00:00
Matt Madia
9de5b02252 Renamed the variables for the catalogs and re-introduced the target 'catkeys',
which builds just the en.catkeys inside HAIKU_OUTPUT_DIR/objects/catalogs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:55:33 +00:00
Axel Dörfler
4fd570d307 * Fixed another pet peeve of mine: you can now always zoom, no matter if you
have enabled the shrink/stretch option.
* Renamed "zoom to window" to "stretch to window".
* Readded the shrink/stretch options to the full screen context menu only.
* Renamed GetShrinkToBounds() to ShrinkToBounds() as it's a simple getter.
* Changed how and when the shrink/stretch options come into play. Shrinking is
  now only set once, when the image is first shown.
* Added snapping in ZoomIn(), and ZoomOut(): they will now always choose 1.0,
  and the "fit to window" zoom level when they are close.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:36:27 +00:00
François Revol
062c606d62 An implementation of a ConsoleDevice using console.device but it seems it requires having a window open.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:28:23 +00:00
François Revol
77fd9ce1f9 Of course we need the Exec call definition for ColdReboot().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:26:17 +00:00
François Revol
e4e2237013 reboot sanely from platform_exit().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 16:21:59 +00:00
Jérôme Duval
21451bd38d added some definitions for readonly features
we already support the extra isize feature, so it's now added
removed unused Inode::AttributeBlockReadAt()
group_descriptor_size was previously a reserved field in the super block


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 14:55:54 +00:00