Commit Graph
100 Commits
Author SHA1 Message Date
Jérôme Duval 37b14b15ab adding missing ARM_ONLY variable 2012-11-18 15:31:35 +01:00
Jerome Duval 25a627d880 hda: fixes KDL on HDMI, some digital quirks
* avoid crashing in case of lack of playback or record stream
* set format on digital output widgets
* accept digital output on the output path
2012-11-12 21:14:43 +01:00
Jerome Duval 1e6ae0de3a Development: don't link to libs with minor version numbers (for real)
* should help with #9126
2012-11-12 21:06:12 +01:00
Jerome Duval 5ad12a800d vm_page_allocate_page_run: use a mask to enforce the boundary
* use a mask to enforce the boundary as suggested by Ingo. Thanks!
2012-11-09 00:21:41 +01:00
Jérôme Duval 62cff38e78 usb_asix: fix for 88772B
* select RX header format type 1 for AX88772B.
* should help with #8238
2012-11-07 23:55:13 +01:00
Jerome Duval 8ddec5b565 vm_page_allocate_page_run: fix previous commit
* remove superfluous codes
* when aligning, sPhysicalPageOffset would be substracted twice
+alpha4

Signed-off-by: Ingo Weinhold <ingo_weinhold at gmx dot de>
2012-11-06 19:40:47 +01:00
Jérôme Duval f5a14b17df vm_page_allocate_page_run: fix for aligned page allocations
* don't enforce a zero boundary or a zero alignment
* when going to the next range, takes alignment into account.
  It could previously just be enforced again through alignment and loop infinite.
* it should help with some FreeBSD based drivers
2012-11-06 00:41:08 +01:00
Jérôme Duval 12e574a316 enlarge the buffer for the CPU features string
* 256 bytes wasn't enough for i5-2557m
2012-11-04 10:35:40 +01:00
Jérôme Duval 4107ac9cda Cleanup of remains of subversion in the build system 2012-10-30 22:36:32 +01:00
Jérôme Duval 0d6a077db2 Development: don't link to libs with minor version numbers
This change should be backported to alpha4 (without the zlib part).
2012-10-30 22:18:42 +01:00
Jérôme Duval 7be608abc4 HPGSTranslator: fix the build
* add missing definition since libpng upgrades
* don't treat warnings as errors
2012-10-30 21:51:23 +01:00
Jérôme Duval a6a99fce04 zlib: added an optional build package, integrated to the build
* optional package for zlib 1.2.7
* keep zlib in build for the bootloader tarfs
2012-10-30 21:50:24 +01:00
Jerome Duval e634025c06 unistd.h: added noreturn attribute on _exit() 2012-10-27 19:50:26 +02:00
Jérôme Duval ee3c886743 UDF: use mirror metadata file when needed
* style fixes
* try the mirror metadata file in case read fails on the main file
2012-10-23 21:49:27 +02:00
Jérôme Duval ed3ea3b05c udf: moved partitions deletion before block cache deletion (#9004) 2012-10-21 12:47:14 +02:00
Jérôme Duval c530d46cca UDF: support for metadata partition (feature from 2.50)
* added Icb::FindBlock() to find block in extents.
* MetadataPartition uses extents descriptors found in the metadatafile
to lookup blocks on a physical partition
* uses struct timespec instead of time_t
* added init_entities() to call C++ structures constructors. This is
called at module initialization, C++ constructors are currently not called when
a kernel module is loaded.
* tested with a sample bluray ISO.
2012-10-09 22:50:17 +02:00
Jérôme Duval 714ff0c581 libtiff: add libjpeg to tif_ojpeg.c dependencies
fixed ticket #9048
2012-10-07 13:34:00 +02:00
Jérôme Duval 5485c7646e udf: print an error for unsupported revisions 2012-09-28 00:45:06 +02:00
Jérôme Duval ce14ea0c3e DevelopmentMin optional package: add 3rdparty headers
* Add freetype, libpng and jpeg headers
2012-09-12 22:12:32 +02:00
Jerome Duval 1d6d4b7872 libtiff: fix ppc build 2012-09-03 19:01:20 +02:00
Jérôme Duval 992c945afe hda: later specification updates 2012-08-30 23:52:05 +02:00
Jérôme Duval b7bb583779 hda: mixer and audio paths fixes
* avoid mixing input and output paths when building a tree. In fact, an
audio input shouldn't use only a mixer used for output.
* in case an audio input has more than one input, use these inputs to
build a mux control.
* should help with #8270, #8333
2012-08-29 23:51:51 +02:00
Jérôme Duval 17ce10a770 fix libpng link introduced in 61cb4d8c6d 2012-08-29 20:44:42 +02:00
Jérôme Duval c618b6ccb1 input_server: use a generated cookie instead of pointer
* fixed #8831
2012-08-29 20:44:06 +02:00
Jérôme Duval 61cb4d8c6d libpng and jpeg: build against optional packages.
* added optional feature package for libpng 1.5.12 gcc4/gcc2 x86 and ppc
* drop libpng sources and headers from the tree.
* added optional feature package for jpeg 8d gcc4/gcc2 x86 and ppc
* drop jpeg sources and headers from the tree.
2012-08-27 22:03:18 +02:00
Jérôme Duval 14b654326d ffmpeg: switch to 0.11.1 2012-08-07 00:53:29 +02:00
Jérôme Duval 5e4a2efb47 ntfs: takes read only volumes into account #8449
* initial patch from kag_anil fixed by myself
* fix log message in fs_write_attrib()
2012-07-12 21:07:19 +02:00
Jérôme Duval f190d7d580 app_server: cleanup of the previous commit 2012-07-11 23:56:38 +02:00
Jérôme Duval 9fb13e2c1e app_server: fixed FreeType headers dependency #8716
* added DrawingEngine.cpp
2012-07-11 22:12:38 +02:00
Jérôme Duval 36daae570c app_server: fixed FreeType headers dependency #8716
* added ServerFont.cpp
2012-07-11 21:44:46 +02:00
Jérôme Duval 74880af10c app_server: fixed FreeType headers dependency #8716
* added source files which use ServerFont.h and ServerApp.h
2012-07-11 20:38:10 +02:00
Jérôme Duval 342e3b2c1b Updated optional package for Freetype ppc.
* Fix the PPC build.
2012-06-27 00:07:10 +02:00
Jérôme Duval 24df347e9c Patch by X512 for Icon-O-Matic.
* support HVIF icons and SVG images in rdef

Signed-off-by: Stephan Assmus <[email protected]>
2012-06-20 19:57:24 +02:00
Jérôme Duval 75d1324b91 ntfs: fix double free #8484 2012-06-05 21:55:41 +02:00
Jérôme Duval 411272adfd Work in progress on xHCI bus driver
* added a thread to handle events, locking wasn't easy in an interrupt
  handler
* the td struct can now track several buffers instead of just one.
* use Transfer::Data*() instead of Vector*() for the time being
  until support for fragmented transfers is done
* added CreateDescriptorChain, WriteDescriptorChain and ReadDescriptorChain,
  chained tds not working yet though.
* added a mutex lock per enabled endpoint, lock when touching the endpoint
  transfer ring.
* correctly configure interval and average trb length for endpoint contexts.
* interrupt transfers seem to work on real hardware
* xhci qemu driver doesn't advance ring dequeue pointers on link trbs, thus
  accessing freed trbs that could already be reused, leading to crash.
2012-06-03 22:51:28 +02:00
Jérôme Duval 91bc463512 USB transport addon: support for alternate interfaces.
* Tested with a Profilic USB-Parallel adapter and a Laserjet printer.
2012-05-03 22:25:40 +02:00
Jérôme Duval 77a7e76cc1 Work in progress on xHCI bus driver, testing on emulation.
* Initial testing with QEmu emulation works with interrupt/bulk,
   testing on real hardware still not working. Small bulk requests work
   OK, not bigger ones (for instance it can't load the MediaPlayer
   application at 800KB).
* QEmu doesn't support byte read in the MMIO space, switch to double word.
* added SubmitNormalRequest() for interrupt and bulk endpoints.
* AllocateDevice(): fixed the physical address of the link TRB pointing
   to the beginning of the ring.
* _InsertEndpointForPipe(): setup context for non-default endpoints
   on creation. This should get the device to the configured state.
* _UnlinkDescriptorForPipe(): the next pointer wasn't null after unlinking.
* HandleTransferComplete(): add descriptor to a list to be processed by the
   finisher thread.
* FinishThread(): process finished transfers and call the callback,
   then free the TRB.
2012-05-02 23:45:14 +02:00
Jérôme Duval 2b31b4a88c Work in progress on xHCI bus driver.
* added more traces, coding style
* added xhci_td, xhci_endpoint structs.
* SubmitRequest: this links a 3-stage TD control request into
    the endpoint ring.
* _InsertEndpointForPipe: when a pipe is created, configure the
    endpoint and set up the controller cookie.
* CreateDescriptor and FreeDescriptor: allocates memory for a TD.
* _LinkDescriptorForPipe: link a TD in an endpoint ring.
* _UnlinkDescriptorForPipe: unlink a TD
* AllocateDevice:
    slot number zero isn't valid.
    stick the slot number to the device struct.
    configure the default endpoint before calling SetAddress.
    address is found in the device context instead of the input context.
    device address passed to the USB stack has to begin with 1.
* Ring:
    check for invalid slot/endpoint combination.
    ring the slot doorbell instead of the doorbell 0.
* Root hub: fixed USB version.
* HandleTransferComplete: finds out the TD which submitted a
    transfer.
2012-05-01 22:13:23 +02:00
Jérôme Duval 319a3798bc Work in progress on XHCI bus driver.
* USB Core:
Hub: pass more correct speed, port and address for USB3 devices.
Transfer: doesn't care for bandwidth computation for super speed.
BusManager: Make AllocateDevice() and FreeDevice() virtual, XHCI needs to setup
	a slot and an address for the device.
Add USB_SPEED_WIRELESS usb_speed definition.
Add USB2.0 erratum definition and some USB3 definitions
* XHCI:
Find outs which port supports SuperSpeed or not.
Override AllocateDevice() to configure slot and address for a connected device.
Override FreeDevice() to free ressources associated to a slot.
Add context struct definitions.
2012-05-01 22:13:22 +02:00
Jérôme Duval d11be97572 XHCI improvements
* remove the xhci cmd complete thread
* creation of the scratchpad area
* wait for running status after starting the controller
* increase delays on controller reset (250ms instead of 100ms)
* use of SpinLocker from AutoLock.h
* add a DoCommand() method to queue a command, ring and wait for the event
  response
* add a method for each command
* XHCI_PORTSC macro was off 1 port
* add definitions for TRB types, Completion Codes.
2012-05-01 22:13:20 +02:00
Jérôme Duval 80ee381a5f ffmpeg: use the cpu count as decoding thread count. 2012-04-29 15:40:14 +02:00
Jerome Duval 1f5facdbe7 sysinfo: switch to c++ 2012-04-28 09:59:52 +02:00
Jérôme Duval 3af8da0ef8 use system zlib when cross building gcc4 to fix #8242
* this add a dependency on package zlib1g-dev for Linux systems.
2012-04-15 13:28:50 +02:00
Jérôme Duval b95fa2488a ffmpeg: don't use deprecated API in AVCodecDecoder. 2012-04-11 23:49:30 +02:00
Jérôme Duval 663a698165 ffmpeg: switch to 0.10 API
* let ffmpeg handle probing buffer sizes.
* definitely helps with #8458. Noticed less drops for #8393.
2012-04-10 23:40:44 +02:00
Jérôme Duval 932ed21aea marvell_yukon: status is actually a uint32. 2012-04-10 22:06:00 +02:00
Jérôme Duval 05326911fc ntfs: fixed coverity resource leaks.
* CID 5723, 5724, 5725, 5726, 5728, 5736, 5737
2012-04-08 23:37:19 +02:00
Jérôme Duval bc11edcdb5 wpa_supplicant: updated to 0.7.3 2012-04-03
* compiles against updated FreeBSD compat layer headers.
2012-04-04 19:40:55 +02:00
Jerome Duval 8ea0100184 es1370: build fix 2012-04-01 14:50:31 +02:00
Jerome Duval 57c324a753 arm: added some missing arch bits and changed asm section for arm compat. 2012-04-01 14:03:36 +02:00
Jerome Duval 0efb8b6639 Screen: fixed a warning and gcc2 build. 2012-03-31 10:43:37 +02:00
Jérôme Duval 66bcbd98fc ffmpeg: updated to 0.10.2 2012-03-29 00:04:17 +02:00
Jérôme Duval 4d498fcbe6 ffmpeg: gcc2 seems to produce crashing code with -O3, switch to -O2.
* should help with #8393
2012-03-28 22:55:47 +02:00
Jérôme Duval 5b93b4477e ffmpeg: updated gcc2 package and fixed crashes on exit.
* replaced calls to free() with calls to av_free().
* updated gcc2 package to disable SSE and a few options like we had
  before with 0.6.
2012-03-22 01:20:06 +01:00
Jérôme Duval ea702bff5f ffmpeg: updated optional packages removing --disable-mmx option. 2012-03-19 01:13:41 +01:00
Jérôme Duval f659f955ba Added an optional package DevelopmentPowerPC
* haiku-devlibs-ppc-gcc4 zip archive contains libroot and glue (but no stdc++).
* fixed /boot/develop/lib/$arch symlink to point to the right dir instead of current.
* setgcc now handles the ppc arch and updates the arch link /boot/develop/lib.
2012-03-18 15:36:26 +01:00
Jérôme Duval 026d20288d fs_shell: fix trace build for vfs.cpp 2012-03-18 15:36:25 +01:00
Jérôme Duval 65bce31ef8 Freetype: FreetypeRules isn't needed anymore.
* fixed copy of freetype headers, now part of the optional package.
2012-03-17 22:52:10 +01:00
Jérôme Duval 0460c54de1 ice1712: fixed debug build and warnings. 2012-03-17 22:47:09 +01:00
Jérôme Duval 64b0784e6c MediaPlayer: VideoConsumer now prints bounds when buffer can't be allocated. 2012-03-17 21:57:57 +01:00
Jérôme Duval 93e180d06b ice1712: added to the image 2012-03-17 20:54:57 +01:00
Jérôme Duval 362efe0c9f freetype: builds against the 2.4.6 optional package.
* added optional feature package for freetype 2.4.6 gcc4/gcc2 x86 and gcc4 ppc.
* FT_CONFIG_OPTION_SUBPIXEL_RENDERING is disabled, --include-patented-code doesn't
  change this setting anymore. This would require different packages.
* drop freetype sources and headers from the tree.
* fix decorators, test app server and appearance to use feature package headers.
* hybrid build untested.
2012-03-17 20:37:00 +01:00
Jérôme Duval 5d043aeb0f listusb: also display vendor and device strings in non verbose mode. 2012-03-15 21:34:28 +01:00
Jérôme Duval 46ebe27f98 matroska mime: detect with four first bytes. 2012-03-15 21:34:27 +01:00
Jérôme Duval 08de244f9c bzip2: switched to optional package and drop in-tree sources. 2012-03-14 22:51:35 +01:00
Jérôme Duval 538a2ec29c ffmpeg: added dependency on libvpx.
* added libvpx-1.0.0 optional package.
* updated ffmpeg optional package to depend on libvpx.
2012-03-14 01:56:15 +01:00
Jérôme Duval 991c18ad36 ffmpeg: added libs packages as dependencies.
* updated ffmpeg to enable previously enabled decoders/encoders
  based on libogg, libspeex, libtheora, libvorbis.
* removed sources for these libs.
2012-03-12 21:25:39 +01:00
Jerome Duval 5a58211db2 dvb.media_addon: only for x86 builds.
* only for x86 builds until we have a FFmpeg PPC package or headers only package.
2012-03-10 11:26:34 +01:00
Jerome Duval dc18d9e793 ffmpeg: fixed headers dependency on libavcodec for gfx_*.cpp. 2012-03-09 22:54:51 +01:00
Jérôme Duval 7007402957 DVB: add a dependency on FFMpeg optional package
* MediaFormat.cpp includes avcodec.h from libavcodec without actually
  using the library.
2012-03-07 02:05:50 +01:00
Jérôme Duval e40d995cf4 FFMpeg plugin: now build against the optional package for 0.10
* added optional feature package for ffmpeg 0.10 gcc4 and gcc2
* increased probe buffer size to 8K for now.
* built the optional packages the default way, it might need adjustments
  like dependencies on speex, ogg, theora, vorbis, which I left out for now.
2012-03-07 02:05:50 +01:00
Jérôme Duval 38d688ccbe BHandler: hopefully fixes a regression introduced in hrev43777.
* BHandler scripting handles bad scripting syntax by returning the Messenger property.
* Thanks to Siarzhuk Zharski for pointing this out.
2012-03-03 20:09:30 +01:00
Jerome Duval 7633665c77 multi_audio: Changes to please GCC2
* avoid template function pointers
* use a default function pointer
2012-03-01 00:45:12 +01:00
Jérôme Duval 25d6ff130c PCI: use definitions for PCI status. 2012-02-27 22:00:54 +01:00
Jérôme Duval 9f6b2d77b7 PCI: add bridge control flags and use them. 2012-02-27 21:46:01 +01:00
Jérôme Duval de49f7dda3 PCI: print human readable ranges for PCI-PCI bridge.
* pci_info: computes I/O, memory and prefetchable memory windows
  and displays them instead of raw register values.
2012-02-27 20:49:15 +01:00
Jerome Duval 8adaa6c544 interface kit: added compatibility symbols for GCC4
* InvalidateLayout method for BBox, BButton, BCheckBox, BMenuField,
  BScrollView, BSlider, BStringView, BTextControl.
2012-02-26 10:36:04 +01:00
Jerome Duval 44c991efdb interface kit: added compatibility symbol for BeAE
* added  _ZN9BTextView16InvalidateLayoutEb for GCC4
2012-02-26 00:55:22 +01:00
Jerome Duval 7327891c90 interface kit: added compatibility symbols for BeAE for #8354
* _ZN5BMenu16InvalidateLayoutEb for GCC4
* InvalidateLayout__7BSliderb for GCC2
2012-02-25 18:31:07 +01:00
Jerome Duval 15f3f679cb atheroswifi: try at fixing #8351
* ath introduced an inconsistency between driver module name and driver_t name
  which the compat layer uses to lookup driver symbol
* we now use ath_pci instead of ath as driver_t name member.
* trace a message when a symbol can't be found during driver module search.
2012-02-25 15:38:46 +01:00
Jérôme Duval 7f837074a6 atheroswifi: GCC2 fixes 2012-02-23 22:59:34 +01:00
Jérôme Duval 74bf05c232 merged changes from FreeBSD 9.0 for ath driver. 2012-02-23 22:41:37 +01:00
Jérôme Duval 7c4899ed72 PDF driver: calls to ttf_get_uintxx are actually needed. 2012-02-23 21:13:16 +01:00
Jerome Duval 5c6b9eb00d Some fixes for GCC 4.6 warning: variable set but not used 2012-02-23 20:32:13 +01:00
Jerome Duval 4bbb27e3cc More 'GCC4.6 variable set but not used' fixes. 2012-02-23 20:32:12 +01:00
Jerome Duval eb5f363978 Fixes some occurrences of 'variable set but not used', disables Werror for problematic items. 2012-02-23 20:32:11 +01:00
Jerome Duval 0d33f92c77 PDF driver: variable set but not used. 2012-02-23 20:32:11 +01:00
Jérôme Duval 9d46237ba1 TabView.cpp: Use B_IF_GCC_2 to simplify things 2012-02-19 15:47:49 +01:00
Jérôme Duval 48d21c1299 added BView::_ReservedView12() symbol for GCC4
* added _ZN5BView15_ReservedView12Ev
* helps with #8336
2012-02-19 14:36:53 +01:00
Jérôme Duval 0348cf8177 usb.ids is mirrored on haiku-files.org 2012-02-18 19:54:24 +01:00
Jérôme Duval 2450238230 Improve awk escape sequences a bit. 2012-02-18 18:11:38 +01:00
Jérôme Duval 484b565ad0 CannaIM: style cleanup 2012-02-18 15:17:28 +01:00
Jérôme Duval 4ea3e0d3b8 listusb: display USB vendor and devices names based on usb.ids
* download usb.ids, processed like pci.ids to generate a header.
* best would be to load and parse the file at runtime with shared code.
2012-02-18 14:25:10 +01:00
Jérôme Duval c3f7a9bca5 usb_midi: Jamfile cleanup
* source doesn't use usbdevs generated headers
* package rules cleanup
2012-02-18 11:49:19 +01:00
Jérôme Duval a57a200337 marvell_yukon: implement HAIKU_CHECK_DISABLE_INTERRUPTS()
* hrev43729 switched the interrupt handler to a threaded handler, thus requiring
  to implement HAIKU_CHECK_DISABLE_INTERRUPTS()
* should help fixing #8327
2012-02-16 21:03:42 +01:00
Jérôme Duval eed234ca08 iprowifi4965: removed obsolete firmwares. 2012-02-15 23:18:08 +01:00
Jérôme Duval 1d95605a03 FreeBSD compat layer: net80211 workaround for Haiku.
* directly call the output hook as before the net80211 code merge
2012-02-15 23:06:06 +01:00
Jérôme Duval 5f1c0791b3 merged changes from FreeBSD 9.0 for most wlan drivers and net80211.
* merged changes from FreeBSD 9.0 for most wlan drivers except atheroswifi and net80211.
* added iwlwifi-6000g2b-ucode-18.168.6.1
2012-02-15 00:56:04 +01:00
Jérôme Duval f40e4a90b7 Coding style cleanup 2012-02-09 23:15:56 +01:00
Jérôme Duval 8060e7787f Network drivers are updated from FreeBSD 9.0
* updated drivers are 3com, ar81xx, atheros813x, attansic_l1, attansic_l2,
  broadcom440x, broadcom570x, dec21xxx, ipro100, ipro1000, jmicron2x0,
  marvell_yukon, nforce, rtl8139, rtl81xx, syskonnect, via_rhine, vt612x
2012-02-09 19:52:04 +01:00