Commit Graph

34 Commits

Author SHA1 Message Date
Pierre d'Herbemont 14d79cf682 vlc_arrays.h: Fix insertion rebuilding. 2008-02-15 22:04:18 +00:00
Pierre d'Herbemont 536386869c vlc_arrays.h: More vlc_dictionary_t fixes. 2008-02-13 22:09:00 +00:00
Pierre d'Herbemont 755df9f11d vlc_arrays.h: Make sure we return the right value associated with a given key. 2008-02-13 19:06:43 +00:00
Pierre d'Herbemont 27808e124a vlc_arrays.h: Sanity check. 2008-02-01 10:15:46 +00:00
Antoine Cellerier d2ea07fa41 You still need the cast to compile :) 2008-01-17 23:03:31 +00:00
Pierre d'Herbemont 3432e956a1 vlc_arrays.h: Don't use calloc, seems unreliable. 2008-01-17 22:48:41 +00:00
Antoine Cellerier 8b3d8a11a0 Fix compilation and remove a few trailing spaces. 2008-01-17 22:16:11 +00:00
Pierre d'Herbemont 666ca3c1e0 vlc_arrays.h: vlc_array_new, vlc_array_destroy. 2008-01-17 22:10:09 +00:00
Rafaël Carré 89e093a7a1 update: performs size and m5 checksum verification (untested) 2007-11-26 14:00:39 +00:00
Pierre d'Herbemont 264bde566b vlc_arrays.h: Implement vlc_array_index_of_item. 2007-11-19 13:58:52 +00:00
Jean-Paul Saman 9d6bf51a76 Add macro for determining array size. 2007-11-15 13:38:29 +00:00
Pierre d'Herbemont 1359fbd101 vlc_arrays.h: Use item_at_index istead of object_at_index. 2007-10-15 17:51:11 +00:00
Pierre d'Herbemont da53016cca include/vlc_arrays.h: Fix previous commit. 2007-10-11 12:12:31 +00:00
Pierre d'Herbemont c08fa1c24e include/vlc_arrays.h: Export a static inlined array API. 2007-10-11 12:02:06 +00:00
Rafaël Carré 6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Pierre d'Herbemont 6f7935161f vlc_arrays.h: Fix a bug in vlc_dictionary_remove_value_for_key, thanks to funman. 2007-08-19 21:20:47 +00:00
Pierre d'Herbemont 1855d4a8d0 include/vlc_arrays.h: Allow zero sized vlc_dictionary_t creation. 2007-08-13 14:05:34 +00:00
Pierre d'Herbemont 27d17eb1f3 include/vlc_arrays.h: Don't forget to return a value in value_for_key. 2007-08-10 13:18:46 +00:00
Pierre d'Herbemont dcabd0549c include/vlc_arrays.h: Compile fix for g++. 2007-08-10 00:56:04 +00:00
Pierre d'Herbemont 9c86aabc08 include/vlc_arrays.h: Always return a valid ptr in vlc_dictionary_all_keys. 2007-08-10 00:40:04 +00:00
Pierre d'Herbemont d248d3f2f9 include/vlc_arrays.h: Implement simple best-case-in-O(1) hash table. 2007-08-10 00:35:57 +00:00
Pierre d'Herbemont 16c039d47d include/vlc_arrays.h: oops, (I did it again). 2007-08-09 19:54:43 +00:00
Pierre d'Herbemont 98d4bb6772 (oops) 2007-08-09 19:38:00 +00:00
Pierre d'Herbemont 2fa6989d9c Fix previous commit on gcc. (oops). 2007-08-09 19:29:17 +00:00
Pierre d'Herbemont 1488ac1394 include/vlc_arrays.h: Fix previous commit compilation with g++. 2007-08-09 19:12:11 +00:00
Pierre d'Herbemont 64a70c8e36 include/vlc_arrays.h: Transform the dictionary macro to static inline, and publish a vlc_dictionary_t type. 2007-08-09 18:38:48 +00:00
Laurent Aimar 8919d218a7 Fixed vlc_meta_SetXXX macros
Added decoder_GetInputAttachments.
2007-06-03 22:19:50 +00:00
Laurent Aimar 28b7dd1a57 Added a c++ compatible TAB_APPEND_CPP 2007-03-23 19:49:21 +00:00
Laurent Aimar 3f61549949 Added missing const qualifier to vod_MediaControl.
Improved TAB_* protection and added TAB_INIT/CLEAN.
2007-02-26 19:19:18 +00:00
Clément Stenac acf462d72a Rework dicts as macros for type-independance 2006-12-15 23:21:27 +00:00
Clément Stenac fbf4c8060d A bit of vlc/libvlc cleanup:
* libvlc sources and plugins now define __LIBVLC__ and headers exported to
  plugins (ie, include/vlc_*.h) check for this
* libvlc sources use the value of the "libvlc" component in vlc-config instead
  of vlc
* Apply flags directly to "libvlc" in configure.ac - might temporarily break win32 :)
2006-12-03 13:48:21 +00:00
Clément Stenac d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Clément Stenac 799b2826ee Playlist
* Remove the random special case
 * Use the array of currently playing items for all cases
 * Convert array items to array API
 * Replace standard searches in sorted arrays by bsearches
 * Size is not yet fixed (next round).

Array
 * Add reset/value and bsearch functions
 * Add foreach helper
2006-10-21 11:09:51 +00:00
Clément Stenac 266fb28cd7 Dynamic array with log allocation 2006-10-19 21:00:14 +00:00