[Freeswitch-trunk] [commit] r12559 - in freeswitch/trunk/scripts/contrib/mrene/textmate: . FreeSWITCH.tmbundle FreeSWITCH.tmbundle/Snippets

FreeSWITCH SVN mrene at freeswitch.org
Tue Mar 10 14:42:10 PDT 2009


Author: mrene
Date: Tue Mar 10 16:42:10 2009
New Revision: 12559

Log:
TextMate bundle

Added:
   freeswitch/trunk/scripts/contrib/mrene/textmate/
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_API.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_APP.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_locate.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_log_printf.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_lock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_unlock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_rdlock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_tryrdlock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_unlock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_wrlock.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/untitled.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/info.plist

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_API.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_API.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>SWITCH_ADD_API(api_interface, "${1:app name}", "${2:description}",${3:function ptr}, "${4:syntax}");
+</string>
+	<key>name</key>
+	<string>SWITCH_ADD_API</string>
+	<key>tabTrigger</key>
+	<string>addapi</string>
+	<key>uuid</key>
+	<string>63A39832-470E-4839-8098-4CC537FAA46D</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_APP.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_ADD_APP.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>SWITCH_ADD_APP(app_interface, "${1:name}", "${2:short description}", "${3:long description}", ${4:function}, "${5:syntax}", ${6:SAF_NONE});
+</string>
+	<key>name</key>
+	<string>SWITCH_ADD_APP</string>
+	<key>tabTrigger</key>
+	<string>addapp</string>
+	<key>uuid</key>
+	<string>1D16269D-A544-4909-867E-70028ED7961B</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_locate.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_locate.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>if ((${1:session} = switch_core_session_locate($2)) {
+	$0
+	switch_core_session_rwunlock($1);
+}</string>
+	<key>name</key>
+	<string>switch_core_session_locate</string>
+	<key>tabTrigger</key>
+	<string>slocate</string>
+	<key>uuid</key>
+	<string>8940F795-2A0A-411F-AB98-48DEAB07AD69</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_log_printf.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_log_printf.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_${1:DEBUG}, "$2"$3);
+</string>
+	<key>name</key>
+	<string>switch_log_printf</string>
+	<key>tabTrigger</key>
+	<string>log</string>
+	<key>uuid</key>
+	<string>CCE4CE1C-2E71-4EDB-9733-1CDE38FA831E</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_lock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_lock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_mutex_lock($1);</string>
+	<key>name</key>
+	<string>switch_mutex_lock</string>
+	<key>tabTrigger</key>
+	<string>mlock</string>
+	<key>uuid</key>
+	<string>BC5BFA60-002A-40F2-A6FE-72CEE4AAE330</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_unlock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_mutex_unlock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_mutex_unlock($1);</string>
+	<key>name</key>
+	<string>switch_mutex_unlock</string>
+	<key>tabTrigger</key>
+	<string>munlock</string>
+	<key>uuid</key>
+	<string>C41EC675-F09C-4596-8C14-662403B27D54</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_rdlock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_rdlock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_thread_rwlock_rdlock($1);</string>
+	<key>name</key>
+	<string>switch_thread_rwlock_rdlock</string>
+	<key>tabTrigger</key>
+	<string>rdlock</string>
+	<key>uuid</key>
+	<string>FB9588B8-3540-41F6-BC2D-7A6F3083BDA4</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_tryrdlock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_tryrdlock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>if (switch_thread_rwlock_tryrdlock($1) != SWITCH_STATUS_SUCCESS) {
+	$2
+}
+$0</string>
+	<key>name</key>
+	<string>switch_thread_rwlock_tryrdlock</string>
+	<key>tabTrigger</key>
+	<string>tryrdlock</string>
+	<key>uuid</key>
+	<string>091C4224-A49A-4C68-AEA1-A25FEEAB0DE8</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_unlock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_unlock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_thread_rwlock_unlock($1);</string>
+	<key>name</key>
+	<string>switch_thread_rwlock_unlock</string>
+	<key>tabTrigger</key>
+	<string>rwunlock</string>
+	<key>uuid</key>
+	<string>D7C796FB-389A-4D1B-A64B-BCAE45B4CEAF</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_wrlock.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_thread_rwlock_wrlock.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>switch_thread_rwlock_wrlock($1);</string>
+	<key>name</key>
+	<string>switch_thread_rwlock_wrlock</string>
+	<key>tabTrigger</key>
+	<string>wrlock</string>
+	<key>uuid</key>
+	<string>86B6BF3F-C2C5-413C-A2FD-58D02D4B0AC0</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/untitled.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/untitled.tmSnippet	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>if (switch_thread_rwlock_trywrlock($1) != SWITCH_STATUS_SUCCESS) {
+	$2
+}
+$0</string>
+	<key>name</key>
+	<string>switch_thread_rwlock_trywrlock</string>
+	<key>tabTrigger</key>
+	<string>trywrlock</string>
+	<key>uuid</key>
+	<string>40D09664-79B0-4983-84FB-8007DD80E0D5</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/info.plist
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/info.plist	Tue Mar 10 16:42:10 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>name</key>
+	<string>FreeSWITCH</string>
+	<key>ordering</key>
+	<array>
+		<string>CCE4CE1C-2E71-4EDB-9733-1CDE38FA831E</string>
+		<string>40D09664-79B0-4983-84FB-8007DD80E0D5</string>
+		<string>BC5BFA60-002A-40F2-A6FE-72CEE4AAE330</string>
+		<string>C41EC675-F09C-4596-8C14-662403B27D54</string>
+		<string>8940F795-2A0A-411F-AB98-48DEAB07AD69</string>
+		<string>63A39832-470E-4839-8098-4CC537FAA46D</string>
+		<string>091C4224-A49A-4C68-AEA1-A25FEEAB0DE8</string>
+		<string>D7C796FB-389A-4D1B-A64B-BCAE45B4CEAF</string>
+		<string>86B6BF3F-C2C5-413C-A2FD-58D02D4B0AC0</string>
+		<string>FB9588B8-3540-41F6-BC2D-7A6F3083BDA4</string>
+	</array>
+	<key>uuid</key>
+	<string>5A009C17-72DB-453A-8BF9-02AFD085B5B8</string>
+</dict>
+</plist>



More information about the Freeswitch-trunk mailing list