mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Move utf8 to the public part (libpolyp).
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@909 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									d9cc2cfcb9
								
							
						
					
					
						commit
						7ca25e58e9
					
				
					 10 changed files with 13 additions and 13 deletions
				
			
		| 
						 | 
					@ -313,6 +313,7 @@ polypinclude_HEADERS = \
 | 
				
			||||||
		polyp/subscribe.h \
 | 
							polyp/subscribe.h \
 | 
				
			||||||
		polyp/version.h \
 | 
							polyp/version.h \
 | 
				
			||||||
		polyp/sample.h \
 | 
							polyp/sample.h \
 | 
				
			||||||
 | 
							polyp/utf8.h \
 | 
				
			||||||
		polyp/volume.h \
 | 
							polyp/volume.h \
 | 
				
			||||||
		polyp/xmalloc.h
 | 
							polyp/xmalloc.h
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -358,6 +359,7 @@ libpolyp_la_SOURCES = \
 | 
				
			||||||
		polyp/subscribe.c polyp/subscribe.h \
 | 
							polyp/subscribe.c polyp/subscribe.h \
 | 
				
			||||||
		polyp/sample.c polyp/sample.h \
 | 
							polyp/sample.c polyp/sample.h \
 | 
				
			||||||
		polyp/volume.c polyp/volume.h \
 | 
							polyp/volume.c polyp/volume.h \
 | 
				
			||||||
 | 
							polyp/utf8.c polyp/utf8.h \
 | 
				
			||||||
		polyp/mainloop.c polyp/mainloop.h \
 | 
							polyp/mainloop.c polyp/mainloop.h \
 | 
				
			||||||
		polyp/mainloop-signal.c polyp/mainloop-signal.h \
 | 
							polyp/mainloop-signal.c polyp/mainloop-signal.h \
 | 
				
			||||||
		polyp/thread-mainloop.c polyp/thread-mainloop.h \
 | 
							polyp/thread-mainloop.c polyp/thread-mainloop.h \
 | 
				
			||||||
| 
						 | 
					@ -485,8 +487,7 @@ polypcoreinclude_HEADERS = \
 | 
				
			||||||
		polypcore/source-output.h \
 | 
							polypcore/source-output.h \
 | 
				
			||||||
		polypcore/strbuf.h \
 | 
							polypcore/strbuf.h \
 | 
				
			||||||
		polypcore/tokenizer.h \
 | 
							polypcore/tokenizer.h \
 | 
				
			||||||
		polypcore/util.h \
 | 
							polypcore/util.h
 | 
				
			||||||
		polypcore/utf8.h
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
lib_LTLIBRARIES += libpolypcore.la
 | 
					lib_LTLIBRARIES += libpolypcore.la
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -498,6 +499,7 @@ libpolypcore_la_SOURCES = \
 | 
				
			||||||
		polyp/mainloop-signal.c polyp/mainloop-signal.h \
 | 
							polyp/mainloop-signal.c polyp/mainloop-signal.h \
 | 
				
			||||||
		polyp/sample.c polyp/sample.h \
 | 
							polyp/sample.c polyp/sample.h \
 | 
				
			||||||
		polyp/volume.c polyp/volume.h \
 | 
							polyp/volume.c polyp/volume.h \
 | 
				
			||||||
 | 
							polyp/utf8.c polyp/utf8.h \
 | 
				
			||||||
		polyp/xmalloc.c polyp/xmalloc.h
 | 
							polyp/xmalloc.c polyp/xmalloc.h
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Pure core stuff (some are shared in libpolyp though).
 | 
					# Pure core stuff (some are shared in libpolyp though).
 | 
				
			||||||
| 
						 | 
					@ -546,8 +548,7 @@ libpolypcore_la_SOURCES += \
 | 
				
			||||||
		polypcore/strbuf.c polypcore/strbuf.h \
 | 
							polypcore/strbuf.c polypcore/strbuf.h \
 | 
				
			||||||
		polypcore/tokenizer.c polypcore/tokenizer.h \
 | 
							polypcore/tokenizer.c polypcore/tokenizer.h \
 | 
				
			||||||
		polypcore/util.c polypcore/util.h \
 | 
							polypcore/util.c polypcore/util.h \
 | 
				
			||||||
		polypcore/winsock.h \
 | 
							polypcore/winsock.h
 | 
				
			||||||
		polypcore/utf8.c polypcore/utf8.h
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
if OS_IS_WIN32
 | 
					if OS_IS_WIN32
 | 
				
			||||||
libpolypcore_la_SOURCES += \
 | 
					libpolypcore_la_SOURCES += \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -33,9 +33,8 @@
 | 
				
			||||||
#include <inttypes.h>
 | 
					#include <inttypes.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "utf8.h"
 | 
					#include "utf8.h"
 | 
				
			||||||
 | 
					#include "xmalloc.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define FILTER_CHAR '_'
 | 
					#define FILTER_CHAR '_'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,6 +31,7 @@
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polyp/sample.h>
 | 
					#include <polyp/sample.h>
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/esound.h>
 | 
					#include <polypcore/esound.h>
 | 
				
			||||||
| 
						 | 
					@ -46,7 +47,6 @@
 | 
				
			||||||
#include <polypcore/namereg.h>
 | 
					#include <polypcore/namereg.h>
 | 
				
			||||||
#include <polypcore/log.h>
 | 
					#include <polypcore/log.h>
 | 
				
			||||||
#include <polypcore/util.h>
 | 
					#include <polypcore/util.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "endianmacros.h"
 | 
					#include "endianmacros.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,6 +30,7 @@
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polyp/version.h>
 | 
					#include <polyp/version.h>
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/native-common.h>
 | 
					#include <polypcore/native-common.h>
 | 
				
			||||||
| 
						 | 
					@ -53,7 +54,6 @@
 | 
				
			||||||
#include <polypcore/props.h>
 | 
					#include <polypcore/props.h>
 | 
				
			||||||
#include <polypcore/sample-util.h>
 | 
					#include <polypcore/sample-util.h>
 | 
				
			||||||
#include <polypcore/llist.h>
 | 
					#include <polypcore/llist.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "protocol-native.h"
 | 
					#include "protocol-native.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,12 +28,12 @@
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/sample-util.h>
 | 
					#include <polypcore/sample-util.h>
 | 
				
			||||||
#include <polypcore/core-subscribe.h>
 | 
					#include <polypcore/core-subscribe.h>
 | 
				
			||||||
#include <polypcore/log.h>
 | 
					#include <polypcore/log.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "sink-input.h"
 | 
					#include "sink-input.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,6 +29,7 @@
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polyp/introspect.h>
 | 
					#include <polyp/introspect.h>
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/sink-input.h>
 | 
					#include <polypcore/sink-input.h>
 | 
				
			||||||
| 
						 | 
					@ -37,7 +38,6 @@
 | 
				
			||||||
#include <polypcore/sample-util.h>
 | 
					#include <polypcore/sample-util.h>
 | 
				
			||||||
#include <polypcore/core-subscribe.h>
 | 
					#include <polypcore/core-subscribe.h>
 | 
				
			||||||
#include <polypcore/log.h>
 | 
					#include <polypcore/log.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "sink.h"
 | 
					#include "sink.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,11 +28,11 @@
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/core-subscribe.h>
 | 
					#include <polypcore/core-subscribe.h>
 | 
				
			||||||
#include <polypcore/log.h>
 | 
					#include <polypcore/log.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "source-output.h"
 | 
					#include "source-output.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,7 @@
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <polypcore/source-output.h>
 | 
					#include <polypcore/source-output.h>
 | 
				
			||||||
| 
						 | 
					@ -35,7 +36,6 @@
 | 
				
			||||||
#include <polypcore/core-subscribe.h>
 | 
					#include <polypcore/core-subscribe.h>
 | 
				
			||||||
#include <polypcore/log.h>
 | 
					#include <polypcore/log.h>
 | 
				
			||||||
#include <polypcore/sample-util.h>
 | 
					#include <polypcore/sample-util.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "source.h"
 | 
					#include "source.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,8 +3,8 @@
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <assert.h>
 | 
					#include <assert.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <polyp/utf8.h>
 | 
				
			||||||
#include <polyp/xmalloc.h>
 | 
					#include <polyp/xmalloc.h>
 | 
				
			||||||
#include <polypcore/utf8.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main(int argc, char *argv[]) {
 | 
					int main(int argc, char *argv[]) {
 | 
				
			||||||
    char *c;
 | 
					    char *c;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue