Updated visual studio project
parent
ef5cdbbb3c
commit
7bdb02e2f8
|
@ -20,7 +20,7 @@
|
|||
/* #undef HAVE_CFMAKERAW */
|
||||
|
||||
/* configargs.h is created */
|
||||
#define HAVE_CONFIGARGS_H 1
|
||||
/* #define HAVE_CONFIGARGS_H 1 */
|
||||
|
||||
/* Define to 1 if you have the `dcgettext' function. */
|
||||
#define HAVE_DCGETTEXT 1
|
||||
|
@ -89,7 +89,7 @@
|
|||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mmap' function. */
|
||||
/* #undef HAVE_MMAP */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define to 1 if you have the <netinet/in.h> header file. */
|
||||
/* #undef HAVE_NETINET_IN_H */
|
||||
|
@ -167,7 +167,7 @@
|
|||
/* #undef HAVE_TERMIOS_H */
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
|
||||
/* Define to 1 if you have the `unlink' function. */
|
||||
#define HAVE_UNLINK 1
|
||||
|
@ -227,7 +227,7 @@
|
|||
#define MOO_MAJOR_VERSION 0
|
||||
|
||||
/* moo micro version */
|
||||
#define MOO_MICRO_VERSION 1
|
||||
#define MOO_MICRO_VERSION 3
|
||||
|
||||
/* moo minor version */
|
||||
#define MOO_MINOR_VERSION 9
|
||||
|
@ -287,7 +287,7 @@
|
|||
#define MOO_USE_XML 1
|
||||
|
||||
/* moo version */
|
||||
#define MOO_VERSION "0.9.1"
|
||||
#define MOO_VERSION "0.9.3"
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "medit"
|
||||
|
|
|
@ -1,294 +0,0 @@
|
|||
/* config.h. Generated by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* If you are compiling for a system that uses EBCDIC instead of ASCII dnl
|
||||
character codes, define this macro as 1. */
|
||||
#define EBCDIC 0
|
||||
|
||||
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
|
||||
/* #undef GWINSZ_IN_SYS_IOCTL */
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
/* #undef HAVE_BCOPY */
|
||||
|
||||
/* Define to 1 if you have the `cfmakeraw' function. */
|
||||
/* #undef HAVE_CFMAKERAW */
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#define HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the `getpgid' function. */
|
||||
/* #undef HAVE_GETPGID */
|
||||
|
||||
/* Define to 1 if you have the `getpt' function. */
|
||||
/* #undef HAVE_GETPT */
|
||||
|
||||
/* Define to 1 if you have the `grantpt' function. */
|
||||
/* #undef HAVE_GRANTPT */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <io.h> header file. */
|
||||
#define HAVE_IO_H 1
|
||||
|
||||
/* Define to 1 if you have the `kill' function. */
|
||||
/* #undef HAVE_KILL */
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `long long'. */
|
||||
#define HAVE_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mmap' function. */
|
||||
/* #undef HAVE_MMAP */
|
||||
|
||||
/* Define to 1 if you have the `pipe' function. */
|
||||
/* #undef HAVE_PIPE */
|
||||
|
||||
/* Define to 1 if you have the `poll' function. */
|
||||
/* #undef HAVE_POLL */
|
||||
|
||||
/* Define to 1 if you have the <poll.h> header file. */
|
||||
/* #undef HAVE_POLL_H */
|
||||
|
||||
/* Define to 1 if you have the `posix_openpt' function. */
|
||||
/* #undef HAVE_POSIX_OPENPT */
|
||||
|
||||
/* Define to 1 if you have the `ptsname' function. */
|
||||
/* #undef HAVE_PTSNAME */
|
||||
|
||||
/* Define to 1 if you have the `ptsname_r' function. */
|
||||
/* #undef HAVE_PTSNAME_R */
|
||||
|
||||
/* Define to 1 if you have the `recvmsg' function. */
|
||||
/* #undef HAVE_RECVMSG */
|
||||
|
||||
/* Define to 1 if you have the `signal' function. */
|
||||
#define HAVE_SIGNAL 1
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <stropts.h> header file. */
|
||||
/* #undef HAVE_STROPTS_H */
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#define HAVE_STRTOLL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoq' function. */
|
||||
/* #undef HAVE_STRTOQ */
|
||||
|
||||
/* Define to 1 if you have the <sys/select.h> header file. */
|
||||
/* #undef HAVE_SYS_SELECT_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/termios.h> header file. */
|
||||
/* #undef HAVE_SYS_TERMIOS_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/un.h> header file. */
|
||||
/* #undef HAVE_SYS_UN_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/utsname.h> header file. */
|
||||
/* #undef HAVE_SYS_UTSNAME_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/wait.h> header file. */
|
||||
/* #undef HAVE_SYS_WAIT_H */
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
/* #undef HAVE_TERMIOS_H */
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
|
||||
/* Define to 1 if you have the `unlink' function. */
|
||||
#define HAVE_UNLINK 1
|
||||
|
||||
/* Define to 1 if you have the `unlockpt' function. */
|
||||
/* #undef HAVE_UNLOCKPT */
|
||||
|
||||
/* Define to 1 if the system has the type `unsigned long long'. */
|
||||
#define HAVE_UNSIGNED_LONG_LONG 1
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#define HAVE_WCHAR_H 1
|
||||
|
||||
/* Define if xmlNode structure has 'line' member */
|
||||
#define HAVE_XMLNODE_LINE 1
|
||||
|
||||
/* Define to 1 if you have the `xmlParseFile' function. */
|
||||
/* #undef HAVE_XMLPARSEFILE */
|
||||
|
||||
/* Define to 1 if you have the `xmlReadFile' function. */
|
||||
/* #undef HAVE_XMLREADFILE */
|
||||
|
||||
/* Define to 1 if you have the `_pipe' function. */
|
||||
#define HAVE__PIPE 1
|
||||
|
||||
/* The value of LINK_SIZE determines the number of bytes used to store dnl
|
||||
links as offsets within the compiled regex. The default is 2, which allows
|
||||
for dnl compiled patterns up to 64K long. This covers the vast majority of
|
||||
cases. dnl However, PCRE can also be compiled to use 3 or 4 bytes instead.
|
||||
This allows for dnl longer patterns in extreme cases. */
|
||||
#define LINK_SIZE 2
|
||||
|
||||
/* The value of MATCH_LIMIT determines the default number of times the match()
|
||||
dnl function can be called during a single execution of pcre_exec(). (There
|
||||
is a dnl runtime method of setting a different limit.) The limit exists in
|
||||
order to dnl catch runaway regular expressions that take for ever to
|
||||
determine that they do dnl not match. The default is set very large so that
|
||||
it does not accidentally catch dnl legitimate cases. */
|
||||
#define MATCH_LIMIT 10000000
|
||||
|
||||
/* build mooapp */
|
||||
#define MOO_BUILD_APP
|
||||
|
||||
/* build mooedit */
|
||||
#define MOO_BUILD_EDIT
|
||||
|
||||
/* MOO_BUILD_PCRE - bulid pcre library */
|
||||
#define MOO_BUILD_PCRE
|
||||
|
||||
/* build mooterm */
|
||||
/* #undef MOO_BUILD_TERM */
|
||||
|
||||
/* build mooutils */
|
||||
#define MOO_BUILD_UTILS
|
||||
|
||||
/* enable printing */
|
||||
/* #undef MOO_ENABLE_PRINTING */
|
||||
|
||||
/* enable relocation */
|
||||
#define MOO_ENABLE_RELOCATION 1
|
||||
|
||||
/* bsd */
|
||||
/* #undef MOO_OS_BSD */
|
||||
|
||||
/* cygwin */
|
||||
/* #undef MOO_OS_CYGWIN */
|
||||
|
||||
/* darwin */
|
||||
/* #undef MOO_OS_DARWIN */
|
||||
|
||||
/* mingw */
|
||||
#define MOO_OS_MINGW 1
|
||||
|
||||
/* unix */
|
||||
/* #undef MOO_OS_UNIX */
|
||||
|
||||
/* package name */
|
||||
#define MOO_PACKAGE_NAME "moo"
|
||||
|
||||
/* MOO_USE_PYGTK */
|
||||
/* #undef MOO_USE_PYGTK */
|
||||
|
||||
/* MOO_USE_PYTHON */
|
||||
/* #undef MOO_USE_PYTHON */
|
||||
|
||||
/* use xdgmime */
|
||||
/* #undef MOO_USE_XDGMIME */
|
||||
|
||||
/* use libxml */
|
||||
#define MOO_USE_XML 1
|
||||
|
||||
/* "libmoo version" */
|
||||
#define MOO_VERSION "0.6.999"
|
||||
|
||||
/* "libmoo major version" */
|
||||
#define MOO_VERSION_MAJOR 0
|
||||
|
||||
/* "libmoo micro version" */
|
||||
#define MOO_VERSION_MICRO 999
|
||||
|
||||
/* "libmoo minor version" */
|
||||
#define MOO_VERSION_MINOR 6
|
||||
|
||||
/* The value of NEWLINE determines the newline character */
|
||||
#define NEWLINE '\n'
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "medit"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "muntyan@math.tamu.edu"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "medit"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "medit 0.6.999"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "medit"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "0.6.999"
|
||||
|
||||
/* pcre library release date */
|
||||
#define PCRE_DATE $PCRE_DATE
|
||||
|
||||
/* PCRE_EXPORT - empty since we do not need pcre api be exported */
|
||||
#define PCRE_EXPORT
|
||||
|
||||
/* pcre library major version */
|
||||
#define PCRE_MAJOR $PCRE_MAJOR
|
||||
|
||||
/* pcre library minor version */
|
||||
#define PCRE_MINOR $PCRE_MINOR
|
||||
|
||||
/* POSIX_MALLOC_THRESHOLD */
|
||||
#define POSIX_MALLOC_THRESHOLD 10
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* SUPPORT_UCP */
|
||||
#define SUPPORT_UCP
|
||||
|
||||
/* SUPPORT_UTF8 */
|
||||
#define SUPPORT_UTF8
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.6.999"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef pid_t */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
|
@ -0,0 +1,74 @@
|
|||
import sys
|
||||
import os
|
||||
import shutil
|
||||
|
||||
glade_files = [
|
||||
'../../moo/mooutils/glade/mooaccelbutton.glade',
|
||||
'../../moo/mooutils/glade/mooaccelprefs.glade',
|
||||
'../../moo/mooutils/glade/moologwindow.glade',
|
||||
'../../moo/mooapp/glade/mooappabout.glade',
|
||||
'../../moo/mooedit/glade/mooeditprefs-file.glade',
|
||||
'../../moo/mooedit/glade/mooeditprefs-general.glade',
|
||||
'../../moo/mooedit/glade/mooeditprefs-langs.glade',
|
||||
'../../moo/mooedit/glade/mooeditprefs-view.glade',
|
||||
'../../moo/mooedit/glade/mooeditprogress.glade',
|
||||
'../../moo/mooedit/glade/mooeditsavemult.glade',
|
||||
'../../moo/mooedit/glade/mooedittools.glade',
|
||||
'../../moo/mooedit/glade/moopluginprefs.glade',
|
||||
'../../moo/mooedit/glade/mooprint.glade',
|
||||
'../../moo/mooedit/glade/mooprintpreview.glade',
|
||||
'../../moo/mooedit/glade/mootextfind.glade',
|
||||
'../../moo/mooedit/glade/mootextgotoline.glade',
|
||||
'../../moo/mooedit/glade/quicksearch.glade',
|
||||
'../../moo/mooedit/glade/statusbar.glade',
|
||||
'../../moo/mooedit/plugins/moofileselector.glade',
|
||||
'../../moo/mooedit/plugins/moofileselector-prefs.glade',
|
||||
'../../moo/moofileview/glade/moobookmark-editor.glade',
|
||||
'../../moo/moofileview/glade/moocreatefolder.glade',
|
||||
'../../moo/moofileview/glade/moofileprops.glade',
|
||||
'../../moo/moofileview/glade/moofileview-drop.glade',
|
||||
]
|
||||
|
||||
ui_files = [
|
||||
'../../moo/mooedit/medit-ui.xml',
|
||||
'../../moo/mooedit/mooedit-ui.xml',
|
||||
'../../moo/moofileview/moofileview-ui.xml',
|
||||
]
|
||||
|
||||
indir = sys.argv[1]
|
||||
outdir = sys.argv[2]
|
||||
|
||||
print >> sys.stderr, "command line arguments: %s" % (sys.argv,)
|
||||
|
||||
for source in glade_files + ui_files:
|
||||
if not source.endswith(".glade") and not source.endswith("-ui.xml"):
|
||||
raise RuntimeError("input must be *.glade or *-ui.xml")
|
||||
|
||||
if source.endswith(".glade"):
|
||||
base = os.path.basename(source).replace(".glade", "")
|
||||
output = os.path.join(outdir, base + "-glade.h")
|
||||
varname = "%s_glade_xml" % (base.replace('-', '_'),)
|
||||
else:
|
||||
base = os.path.basename(source).replace("-ui.xml", "")
|
||||
output = os.path.join(outdir, base + "-ui.h")
|
||||
varname = "%s_ui_xml" % (base.replace('-', '_'),)
|
||||
|
||||
source = os.path.join(indir, source)
|
||||
tmp = output + '.tmp'
|
||||
|
||||
in_file = open(source)
|
||||
out_file = open(tmp, "w+")
|
||||
|
||||
out_file.write("/* -*- C -*- */\n")
|
||||
out_file.write("static const char %s [] = \"\"\n" % (varname,))
|
||||
|
||||
for line in in_file:
|
||||
if line.endswith("\n"):
|
||||
line = line[:-1]
|
||||
out_file.write('"' + line.replace('"', '\\"') + '"\n')
|
||||
|
||||
out_file.write(";\n")
|
||||
out_file.close()
|
||||
|
||||
shutil.move(tmp, output)
|
||||
print >> sys.stderr, "Created %s" % (output,)
|
|
@ -0,0 +1,20 @@
|
|||
LIBRARY "libmoo"
|
||||
EXPORTS
|
||||
moo_app_get_type
|
||||
moo_app_send_msg
|
||||
moo_app_send_files
|
||||
moo_app_init
|
||||
moo_app_load_session
|
||||
moo_app_get_editor
|
||||
moo_editor_get_active_window
|
||||
moo_editor_new_window
|
||||
moo_app_open_files
|
||||
moo_app_run
|
||||
moo_filenames_from_locale
|
||||
moo_gettext
|
||||
moo_set_log_func_window
|
||||
moo_set_log_func_file
|
||||
moo_win32_get_app_dir
|
||||
moo_plugin_set_enabled
|
||||
moo_filename_from_locale
|
||||
moo_plugin_lookup
|
File diff suppressed because it is too large
Load Diff
|
@ -1,21 +1,28 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "medit", "medit.vcproj", "{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{03EBF0AA-9D4A-422D-ADF1-98254BE47975} = {03EBF0AA-9D4A-422D-ADF1-98254BE47975}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmoo", "libmoo\libmoo.vcproj", "{03EBF0AA-9D4A-422D-ADF1-98254BE47975}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Debug = Debug
|
||||
Release = Release
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Debug.ActiveCfg = Debug|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Debug.Build.0 = Debug|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Release.ActiveCfg = Release|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Release.Build.0 = Release|Win32
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7BD3D0DE-F0ED-40A7-B817-6BF4775FC991}.Release|Win32.Build.0 = Release|Win32
|
||||
{03EBF0AA-9D4A-422D-ADF1-98254BE47975}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{03EBF0AA-9D4A-422D-ADF1-98254BE47975}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{03EBF0AA-9D4A-422D-ADF1-98254BE47975}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{03EBF0AA-9D4A-422D-ADF1-98254BE47975}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,24 +0,0 @@
|
|||
/*
|
||||
* moo-version.h
|
||||
*
|
||||
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifndef __MOO_VERSION_H__
|
||||
#define __MOO_VERSION_H__
|
||||
|
||||
|
||||
#define MOO_VERSION "0.6.999"
|
||||
#define MOO_VERSION_MAJOR 0
|
||||
#define MOO_VERSION_MINOR 6
|
||||
#define MOO_VERSION_MICRO 999
|
||||
|
||||
|
||||
#endif /* __MOO_VERSION_H__ */
|
Loading…
Reference in New Issue