code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
package quickdb.db.connection;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author gato
*/
public interface IConnectionDB {
public void connectMySQL();
public void connectPostgres();
public void connectSQLServer();
public void connectSQLite();
... | zzqchy-qaw1 | java/src/main/java/quickdb/db/connection/IConnectionDB.java | Java | lgpl | 1,315 |
package quickdb.db.connection;
import java.sql.*;
/**
*
* @author Diego Sarmentero
*/
public class ConnectionDB implements IConnectionDB{
protected Connection connection = null;
protected Statement statement = null;
protected ResultSet rs = null;
private boolean tryAgain = true;
//Connection D... | zzqchy-qaw1 | java/src/main/java/quickdb/db/connection/ConnectionDB.java | Java | lgpl | 8,611 |
package quickdb.db;
import java.util.Collection;
/**
*
* @author Diego Sarmentero
*/
public class AdminThread implements Runnable{
private AdminBase admin;
private Object object;
private String sqlQuery;
private OPERATIONS oper;
private enum OPERATIONS{
SAVE, MODIFY, DELETE, EXECUTE, ... | zzqchy-qaw1 | java/src/main/java/quickdb/db/AdminThread.java | Java | lgpl | 4,358 |
package quickdb.db;
import java.security.InvalidParameterException;
import quickdb.db.dbms.DbmsInterpreter;
import quickdb.db.dbms.mysql.ColumnDefined;
import quickdb.db.dbms.mysql.DataType;
import quickdb.modelSupport.M2mTable;
import quickdb.modelSupport.PrimitiveCollec;
import quickdb.query.Query;
import quickdb.qu... | zzqchy-qaw1 | java/src/main/java/quickdb/db/AdminBase.java | Java | lgpl | 28,950 |
package quickdb.db.dbms;
import quickdb.db.AdminBase;
import quickdb.db.connection.ConnectionDB;
import quickdb.db.connection.ConnectionDBFirebird;
import quickdb.db.connection.ConnectionDBPostgre;
import quickdb.db.connection.IConnectionDB;
import quickdb.db.connection.ProxyConnectionDB;
import quickdb.db.dbms.firebi... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/DbmsInterpreter.java | Java | lgpl | 3,564 |
package quickdb.db.dbms.mysql;
import java.util.HashMap;
import java.sql.Date;
/**
*
* @author Diego Sarmentero
*/
public class DataType {
private HashMap<Class, String> mysqlDataType;
public DataType() {
//MYSQL
this.mysqlDataType = new HashMap<Class, String>();
this.mysqlDataTyp... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/mysql/DataType.java | Java | lgpl | 1,233 |
package quickdb.db.dbms.mysql;
import quickdb.annotation.Column;
import quickdb.annotation.ColumnDefinition;
import quickdb.db.AdminBase;
import quickdb.reflection.EntityManager;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
/**
*
* @author Diego Sarmentero
*/
public class MySQL {
pu... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/mysql/MySQL.java | Java | lgpl | 3,808 |
package quickdb.db.dbms.mysql;
/**
*
* @author Diego Sarmentero
*/
public class ColumnDefined {
protected String name;
protected String type;
protected int length;
protected boolean notNull;
protected String defaultValue;
protected boolean autoIncrement;
protected boolean unique;
pr... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/mysql/ColumnDefined.java | Java | lgpl | 5,039 |
package quickdb.db.dbms.sqlite;
import quickdb.annotation.Column;
import quickdb.db.AdminBase;
import quickdb.reflection.EntityManager;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
/**
*
* @author Diego Sarmentero
*/
public class SQLite {
public static boolean createTable(AdminBase ... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/sqlite/SQLite.java | Java | lgpl | 2,145 |
package quickdb.db.dbms.postgre;
import quickdb.db.dbms.mysql.ColumnDefined;
/**
*
* @author Diego Sarmentero
*/
public class ColumnDefinedPostgre extends ColumnDefined {
public ColumnDefinedPostgre() {
}
public ColumnDefinedPostgre(String name, String type, int length,
boolean notNull, S... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/postgre/ColumnDefinedPostgre.java | Java | lgpl | 2,276 |
package quickdb.db.dbms.postgre;
import quickdb.annotation.Column;
import quickdb.annotation.ColumnDefinition;
import quickdb.db.AdminBase;
import quickdb.reflection.EntityManager;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
/**
*
* @author Diego Sarmentero
*/
public class PostgreSQL {
... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/postgre/PostgreSQL.java | Java | lgpl | 4,096 |
package quickdb.db.dbms.postgre;
import java.util.HashMap;
import java.sql.Date;
/**
*
* @author Diego Sarmentero
*/
public class DataTypePostgre {
private HashMap<Class, String> mysqlDataType;
public DataTypePostgre() {
this.mysqlDataType = new HashMap<Class, String>();
this.mysqlDataTyp... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/postgre/DataTypePostgre.java | Java | lgpl | 1,184 |
package quickdb.db.dbms.firebird;
import quickdb.annotation.Column;
import quickdb.annotation.ColumnDefinition;
import quickdb.db.AdminBase;
import quickdb.reflection.EntityManager;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
/**
*
* @author Diego Sarmentero
*/
public class Firebird {
... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/firebird/Firebird.java | Java | lgpl | 4,140 |
package quickdb.db.dbms.firebird;
import java.util.HashMap;
import java.sql.Date;
/**
*
* @author Diego Sarmentero
*/
public class DataType {
private HashMap<Class, String> firebirdDataType;
public DataType() {
this.firebirdDataType = new HashMap<Class, String>();
this.firebirdDataType.pu... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/firebird/DataType.java | Java | lgpl | 1,198 |
package quickdb.db.dbms.firebird;
/**
*
* @author Diego Sarmentero
*/
public class ColumnDefined {
protected String name;
protected String type;
protected int length;
protected boolean notNull;
protected String defaultValue;
protected boolean autoIncrement;
protected boolean unique;
... | zzqchy-qaw1 | java/src/main/java/quickdb/db/dbms/firebird/ColumnDefined.java | Java | lgpl | 4,554 |
package quickdb.db;
import quickdb.query.Query;
import quickdb.reflection.ReflectionUtilities;
/**
*
* @author Diego Sarmentero
*/
public class AdminBinding {
private static AdminBase admin;
public static void initializeAdminBase(AdminBase admin) {
AdminBinding.admin = admin;
}
public bo... | zzqchy-qaw1 | java/src/main/java/quickdb/db/AdminBinding.java | Java | lgpl | 2,024 |
package quickdb.db;
import quickdb.reflection.EntityManager;
import java.sql.Date;
import java.sql.SQLException;
import java.util.ArrayList;
/**
*
* @author Diego Sarmentero
*/
public class AdminSQLite extends AdminBase {
AdminSQLite(DATABASE db, String... args) {
super(db, args);
}
@Override... | zzqchy-qaw1 | java/src/main/java/quickdb/db/AdminSQLite.java | Java | lgpl | 4,091 |
package quickdb.query;
import quickdb.annotation.Column;
import quickdb.annotation.Parent;
import quickdb.annotation.Properties;
import quickdb.exception.QueryException;
import quickdb.reflection.ReflectionUtilities;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Metho... | zzqchy-qaw1 | java/src/main/java/quickdb/query/StringQuery.java | Java | lgpl | 13,091 |
package quickdb.query;
import java.util.ArrayList;
/**
*
* @author Diego Sarmentero
*/
public interface IQuery {
boolean find();
ArrayList findAll();
void dataForViews(String fields, String names, Object obj, Class... clazz);
}
| zzqchy-qaw1 | java/src/main/java/quickdb/query/IQuery.java | Java | lgpl | 249 |
package quickdb.query;
import java.util.ArrayList;
import quickdb.exception.SubQueryException;
/**
*
* @author Diego Sarmentero
*/
public class Where implements IQuery {
Query query;
private StringBuilder condition;
private DateQuery date;
private boolean hasSub;
private String sub;
privat... | zzqchy-qaw1 | java/src/main/java/quickdb/query/Where.java | Java | lgpl | 6,050 |
package quickdb.query;
import quickdb.db.AdminBase;
import quickdb.reflection.ReflectionUtilities;
import java.lang.reflect.Field;
import java.util.ArrayList;
import quickdb.exception.SubQueryCloseException;
/**
*
* @author Diego Sarmentero
*/
public class Query implements IQuery {
AdminBase admin;
protec... | zzqchy-qaw1 | java/src/main/java/quickdb/query/Query.java | Java | lgpl | 15,629 |
package quickdb.query;
import quickdb.db.AdminBase;
import java.util.Hashtable;
/**
*
* @author Diego Sarmentero
*/
public class DateQuery {
private Where where;
private String whereCondition;
private enum OPERATIONS{
DATEDIFF, MONTH, YEAR, DAY
}
private Hashtable<OPERATIONS, String>... | zzqchy-qaw1 | java/src/main/java/quickdb/query/DateQuery.java | Java | lgpl | 3,880 |
package quickdb.query;
/**
*
* @author Diego Sarmentero
*/
public class SubQuery extends Query{
private Where whereBase;
private Query tempQuery;
private SubQuery(Where where, String attr, Object obj){
super(null, obj);
this.whereBase = where;
this.tempQuery = this.whereBase.qu... | zzqchy-qaw1 | java/src/main/java/quickdb/query/SubQuery.java | Java | lgpl | 1,455 |
package quickdb.modelSupport;
import quickdb.annotation.Column;
import quickdb.annotation.Properties.TYPES;
/**
*
* @author Diego Sarmentero
*/
public class PrimitiveCollec {
private int id;
private int base;
@Column(type=TYPES.PRIMITIVE)
private Object object;
public PrimitiveCollec(){}
... | zzqchy-qaw1 | java/src/main/java/quickdb/modelSupport/PrimitiveCollec.java | Java | lgpl | 767 |
package quickdb.modelSupport;
/**
*
* @author Diego Sarmentero
*/
public class M2mTable{
private int id;
private int base;
private int related;
public M2mTable(){}
public M2mTable(int b, int r){
this.base = b;
this.related = r;
}
public int getId() {
return id... | zzqchy-qaw1 | java/src/main/java/quickdb/modelSupport/M2mTable.java | Java | lgpl | 657 |
package quickdb.modelSupport;
import java.util.ArrayList;
import quickdb.annotation.Column;
/**
*
* @author Diego Sarmentero
*/
public class CacheManager {
private int id;
@Column(ignore=true)
private int cacheType;
@Column(ignore=true)
private String tableName;
@Column(ignore=true)
pr... | zzqchy-qaw1 | java/src/main/java/quickdb/modelSupport/CacheManager.java | Java | lgpl | 1,017 |
package quickdb.util;
import quickdb.annotation.Validation;
import quickdb.reflection.ReflectionUtilities;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.sql.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* @author Di... | zzqchy-qaw1 | java/src/main/java/quickdb/util/Validations.java | Java | lgpl | 3,313 |
package quickdb.annotation;
import java.lang.annotation.*;
/**
*
* @author Diego Sarmentero
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Column {
String name() default "";
Properties.TYPES type() default Properties.TYPES.PRIMITIVE;
String collectionClass() defa... | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Column.java | Java | lgpl | 559 |
package quickdb.annotation;
import quickdb.db.AdminBase;
import java.util.HashMap;
/**
*
* @author Diego Sarmentero
*/
public class Definition {
public enum DATATYPE {
BIT, BOOLEAN, SMALLINT, INT, INTEGER, BIGINT, REAL, DOUBLE, FLOAT,
DECIMAL, NUMERIC, DATE, TIME, TIMESTAMP, DATETIME, CHAR,
... | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Definition.java | Java | lgpl | 5,509 |
package quickdb.annotation;
import java.lang.annotation.*;
/**
*
* @author Diego Sarmentero
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Table{
String value() default "";
boolean cache() default false;
boolean cacheUpdate() default false;
String[] before() def... | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Table.java | Java | lgpl | 365 |
package quickdb.annotation;
import java.lang.annotation.*;
/**
*
* @author Diego Sarmentero
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Parent{
}
| zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Parent.java | Java | lgpl | 191 |
package quickdb.annotation;
import java.lang.annotation.*;
/**
*
* @author Diego Sarmentero
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Validation {
public static final String conditionURL = "www\\.(.+)\\.(.+)"; //IMPROVE
public static final String conditionMail = "... | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Validation.java | Java | lgpl | 1,175 |
package quickdb.annotation;
import java.lang.annotation.*;
/**
*
* @author Diego Sarmentero
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ColumnDefinition {
Definition.DATATYPE type() default Definition.DATATYPE.VARCHAR;
int length() default -1;
boolean notNull(... | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/ColumnDefinition.java | Java | lgpl | 646 |
package quickdb.annotation;
/**
*
* @author Diego Sarmentero
*/
public class Properties {
public static enum TYPES {
PRIMITIVE, PRIMARYKEY, FOREIGNKEY, COLLECTION
}
} | zzqchy-qaw1 | java/src/main/java/quickdb/annotation/Properties.java | Java | lgpl | 187 |
package quickdb.reflection;
import java.lang.reflect.Method;
import quickdb.annotation.Properties;
import quickdb.annotation.Properties.TYPES;
import quickdb.annotation.Validation;
/**
*
* @author Diego Sarmentero
*/
public class DictionaryBody {
private String fieldName;
private String colName;
priva... | zzqchy-qaw1 | java/src/main/java/quickdb/reflection/DictionaryBody.java | Java | lgpl | 1,764 |
package quickdb.reflection;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.sql.ResultSet;
import java.util.ArrayList;
import quickdb.annotation.*;
import quickdb.db.AdminBase;
import quickdb.db.View;
import quickdb.db.dbms.mysql.ColumnDefined;
impor... | zzqchy-qaw1 | java/src/main/java/quickdb/reflection/EntityManager.java | Java | lgpl | 41,341 |
package quickdb.reflection;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Hashtable;
import quickdb.annotation.Table;
import quickdb.db.AdminBase;
import quickdb.db.View;
import quickdb.exception.DictionaryIncompleteException;
import qui... | zzqchy-qaw1 | java/src/main/java/quickdb/reflection/EntityDictionary.java | Java | lgpl | 18,788 |
package quickdb.reflection;
import quickdb.annotation.Column;
import quickdb.annotation.Parent;
import quickdb.annotation.Properties;
import quickdb.annotation.Table;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.sql.Date;
import java.util.ArrayLis... | zzqchy-qaw1 | java/src/main/java/quickdb/reflection/ReflectionUtilities.java | Java | lgpl | 13,917 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class DictionaryIncompleteException extends RuntimeException{
public DictionaryIncompleteException() {
super("Dictionary Incomplete exception");
}
public DictionaryIncompleteException(Throwable t) {
super("Query malf... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/DictionaryIncompleteException.java | Java | lgpl | 351 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class OptimisticLockException extends RuntimeException{
public OptimisticLockException() {
super("Optimistic Lock Exception, the object has been modified outside this session.");
}
public OptimisticLockException(Throwable t)... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/OptimisticLockException.java | Java | lgpl | 431 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class ConnectionException extends Exception {
public ConnectionException(String msg) {
super(msg);
}
public ConnectionException(String msg, Throwable t) {
super(msg, t);
}
} | zzqchy-qaw1 | java/src/main/java/quickdb/exception/ConnectionException.java | Java | lgpl | 281 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class LoggerException extends RuntimeException{
public LoggerException() {
super("Logger exception, Logger could not be initialized");
}
public LoggerException(Throwable t) {
super("Logger exception, Logger could not... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/LoggerException.java | Java | lgpl | 351 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class SubQueryException extends RuntimeException{
public SubQueryException() {
super("For was expected");
}
public SubQueryException(String s){
super(s);
}
public SubQueryException(Throwable t) {
sup... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/SubQueryException.java | Java | lgpl | 356 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class InvalidParametersException extends RuntimeException{
public InvalidParametersException() {
super("Invalid Parameters exception");
}
public InvalidParametersException(Throwable t) {
super("Invalid Parameters ex... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/InvalidParametersException.java | Java | lgpl | 343 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class QueryException extends RuntimeException{
public QueryException() {
super("Query malformed exception");
}
public QueryException(Throwable t) {
super("Query malformed exception", t);
}
}
| zzqchy-qaw1 | java/src/main/java/quickdb/exception/QueryException.java | Java | lgpl | 300 |
package quickdb.exception;
/**
*
* @author Diego Sarmentero
*/
public class SubQueryCloseException extends RuntimeException{
public SubQueryCloseException() {
super("SubQuery For closed without being initialized");
}
public SubQueryCloseException(Throwable t) {
super("SubQuery For clos... | zzqchy-qaw1 | java/src/main/java/quickdb/exception/SubQueryCloseException.java | Java | lgpl | 364 |
using System;
namespace cat.quickdb.db
{
public class AdminBase
{
public AdminBase()
{
}
}
}
| zzqchy-qaw1 | csharp/quickdb/db/AdminBase.cs | C# | lgpl | 110 |
using System;
namespace cat.quickdb.attribute
{
[AttributeUsage(AttributeTargets.Field)]
public class ParentAttribute : Attribute
{
}
}
| zzqchy-qaw1 | csharp/quickdb/attribute/ParentAttribute.cs | C# | lgpl | 143 |
using System;
namespace cat.quickdb.attribute
{
[AttributeUsage(AttributeTargets.Property)]
public class ColumnAttribute : Attribute
{
private string name;
private Properties.TYPES type;
private string getter;
private string setter;
private string table;
private string collectionClass;
private bool ... | zzqchy-qaw1 | csharp/quickdb/attribute/ColumnAttribute.cs | C# | lgpl | 1,340 |
using System;
namespace cat.quickdb.attribute
{
[AttributeUsage(AttributeTargets.Field)]
public class ColumnDefinitionAttribute : Attribute
{
private Definition.DATATYPE type;
private int length;
private bool notNull;
private string defaultValue;
private bool autoIncrement;
private bool unique;
priv... | zzqchy-qaw1 | csharp/quickdb/attribute/ColumnDefinitionAttribute.cs | C# | lgpl | 1,662 |
using System;
using System.Collections;
namespace cat.quickdb.attribute
{
public class Definition
{
public enum DATATYPE {
BIT, TINYINT, SMALLINT, MEDIUMINT, INT, INTEGER,
BIGINT, REAL, DOUBLE, FLOAT, DECIMAL, NUMERIC, DATE, TIME, TIMESTAMP,
DATETIME, YEAR, CHAR, VARCHAR, BINARY, VA... | zzqchy-qaw1 | csharp/quickdb/attribute/Definition.cs | C# | lgpl | 3,363 |
using System;
namespace cat.quickdb.attribute
{
[AttributeUsage(AttributeTargets.Field)]
public class TableAttribute : Attribute
{
private string name;
private bool cache;
private bool cacheUpdate;
private string[] before;
private string[] after;
public TableAttribute(){}
public string Name
... | zzqchy-qaw1 | csharp/quickdb/attribute/TableAttribute.cs | C# | lgpl | 384 |
using System;
namespace cat.quickdb.attribute
{
public class Properties
{
public enum TYPES {
PRIMITIVE, PRIMARYKEY, FOREIGNKEY, COLLECTION
}
}
}
| zzqchy-qaw1 | csharp/quickdb/attribute/Properties.cs | C# | lgpl | 170 |
using System;
using System.Runtime.Remoting;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using cat.quickdb.attribute;
namespace cat.quickdb.reflection
{
public class ReflectionUtilities
{
public ReflectionUtilities()
{
}
public List<string> isMany2Many(object ... | zzqchy-qaw1 | csharp/quickdb/reflection/ReflectionUtilities.cs | C# | lgpl | 3,428 |
using System;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using cat.quickdb.db;
using cat.quickdb.attribute;
namespace cat.quickdb.reflection
{
public class EntityManager
{
public enum OPERATION
{
SAVE, MODIFY, DELETE, OBTAIN, OTHER
}
private Stack<string> pri... | zzqchy-qaw1 | csharp/quickdb/reflection/EntityManager.cs | C# | lgpl | 3,972 |
using System;
namespace cat.quickdb.exception
{
public class ConnectionException : Exception
{
public ConnectionException() : base(){}
public ConnectionException(string message) : base(message){}
}
}
| zzqchy-qaw1 | csharp/quickdb/exception/ConnectionException.cs | C# | lgpl | 217 |
using System;
namespace cat.quickdb.exception
{
public class QueryException : Exception
{
public QueryException() : base(){}
public QueryException(string message) : base(message){}
}
}
| zzqchy-qaw1 | csharp/quickdb/exception/QueryException.cs | C# | lgpl | 201 |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("quickdb")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: A... | zzqchy-qaw1 | csharp/quickdb/AssemblyInfo.cs | C# | lgpl | 968 |
# NSIS file to create a self-installing exe for Vim.
# It requires NSIS version 2.0 or later.
# Last Change: 2010 Jul 30
# WARNING: if you make changes to this script, look out for $0 to be valid,
# because uninstall deletes most files in $0.
# Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc.
!define VIMSRC "..\... | zyz2011-vim | nsis/gvim.nsi | NSIS | gpl2 | 12,751 |
# This Makefile has two purposes:
# 1. Starting the compilation of Vim for Unix.
# 2. Creating the various distribution files.
#########################################################################
# 1. Starting the compilation of Vim for Unix.
#
# Using this Makefile without an argument will compile Vim for Unix.... | zyz2011-vim | Makefile | Makefile | gpl2 | 22,365 |
:: Start Vim on a copy of the tutor file.
@echo off
:: Usage: vimtutor [-console] [xx]
::
:: -console means gvim will not be used
:: xx is a language code like "es" or "nl".
:: When an xx argument is given, it tries loading that tutor.
:: When this fails or no xx argument was given, it tries using 'v:lang'
:: When tha... | zyz2011-vim | vimtutor.bat | Batchfile | gpl2 | 1,798 |
$ !
$ !=====================================================================
$ !
$ ! VimTutor.com version 29-Aug-2002
$ !
$ ! Author: Tom Wyant <Thomas.R.Wyant-III@usa.dupont.com>
$ !
$ ! This DCL command procedure executes the vimtutor command
$ ! (suprise, suprise!) which gives you a brief tutorial on the VIM
$ ! edi... | zyz2011-vim | vimtutor.com | DIGITAL Command Language | gpl2 | 2,898 |
#
# Makefile for Vim.
# Compiler: Borland C++ 5.0 and later 32-bit compiler
# Targets: Dos16 or Win32 (Windows NT and Windows 95) (with/without GUI)
#
# Contributed by Ben Singer.
# Updated 4/1997 by Ron Aaron
# 6/1997 - added support for 16 bit DOS
# Note: this has been tested, and works, for BC5. Your mileage may v... | zyz2011-vim | src/Make_bc5.mak | Makefile | gpl2 | 26,532 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* syntax.c: code for syntax highlighting
*/... | zyz2011-vim | src/syntax.c | C | gpl2 | 253,220 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* feature.h: Defines for optional code and preferences
*
* Edit this file to include/exclude parts o... | zyz2011-vim | src/feature.h | C | gpl2 | 33,020 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* option.h: definition of global variables for settable options
*/
/*
* Default values for 'errorfo... | zyz2011-vim | src/option.h | C | gpl2 | 34,672 |
/* this file contains the actual definitions of */
/* the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 3.00.44 */
/* at Sat Jan 03 16:34:55 1998
*/
/* Compiler settings for if_ole.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
err... | zyz2011-vim | src/iid_ole.c | C | gpl2 | 1,218 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* ex_eval.c: functions for Ex command line f... | zyz2011-vim | src/ex_eval.c | C | gpl2 | 68,914 |
@echo off
rem To be used on MS-Windows for Visual C++ 2008 Express Edition
rem aka Microsoft Visual Studio 9.0.
rem See INSTALLpc.txt for information.
@echo on
call "%VS90COMNTOOLS%%vsvars32.bat"
| zyz2011-vim | src/msvc2008.bat | Batchfile | gpl2 | 199 |
/* vi:set ts=8 sw=8:
*
* VIM - Vi IMproved by Bram Moolenaar
* Visual Workshop integration by Gordon Prieur
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
... | zyz2011-vim | src/integration.c | C | gpl2 | 26,831 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* hashtab.c: Handling of a hashtable with Vi... | zyz2011-vim | src/hashtab.c | C | gpl2 | 13,086 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* QNX port by Julian Kinraid
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* os_qnx.c
*/
#include "vim.h"
#if defined(FEAT_GUI_PHOTON)
int i... | zyz2011-vim | src/os_qnx.c | C | gpl2 | 3,508 |
/* vi:set ts=8 sts=4 sw=4: */
/*
* The following software is (C) 1984 Peter da Silva, the Mad Australian, in
* the public domain. It may be re-distributed for any purpose with the
* inclusion of this notice.
*/
/* Modified by Bram Moolenaar for use with VIM - Vi Improved. */
/* A few bugs removed by Olaf 'Rhialto'... | zyz2011-vim | src/termlib.c | C | gpl2 | 14,051 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*
* Blowfish encryption for Vim; in Blowfish output... | zyz2011-vim | src/blowfish.c | C | gpl2 | 24,231 |
/* vim:ts=8 sts=4:sw=4
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* Atari MiNT Machine-dependent things.
*/
#define BINARY_FILE_IO
| zyz2011-vim | src/os_mint.h | C | gpl2 | 281 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
* GUI/Motif support by Robert Webb
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* Com... | zyz2011-vim | src/gui_x11.c | C | gpl2 | 88,382 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* Python extensions by Paul Moore.
* Chan... | zyz2011-vim | src/if_python3.c | C | gpl2 | 46,865 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* if_perl.xs: Main code for Perl interface support.
* Mostly written by Sven Verdoolaege.
*/
#defin... | zyz2011-vim | src/if_perl.xs | XS | gpl2 | 34,305 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/* for debugging */
/* #define CHECK(c, s) if (c... | zyz2011-vim | src/memline.c | C | gpl2 | 143,629 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* eval.c: Expression evaluation.
*/
#inclu... | zyz2011-vim | src/eval.c | C | gpl2 | 541,230 |
# The most simplistic Makefile for Win32 (NT and Windows 95).
# Used for Borland C++.
!if ("$(BOR)"=="")
BOR = c:\bc5
!endif
!if ("$(BCC)"=="")
BCC = bcc32
!endif
xxd: xxd.exe
xxd.exe: xxd.c
$(BCC) -I$(BOR)\include -L$(BOR)\lib -DWIN32 xxd.c $(BOR)\lib\wildargs.obj
clean:
- del xxd.obj
- del xxd.exe
| zyz2011-vim | src/xxd/Make_bc5.mak | Makefile | gpl2 | 308 |
# The most simplistic Makefile, for MinGW gcc on MS-DOS
ifndef USEDLL
USEDLL = no
endif
ifeq (yes, $(USEDLL))
DEFINES =
LIBS = -lc
else
DEFINES =
LIBS =
endif
CC = gcc
CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
ifneq (sh.exe, $(SHELL))
DEL = rm
else
DEL = del
endif
xxd.exe: xxd.c
$(CC) $(CFLAGS) -s -o xxd.exe xx... | zyz2011-vim | src/xxd/Make_ming.mak | Makefile | gpl2 | 357 |
# VMS MM[KS] makefile for XXD
# tested with MMK and MMS as well.
#
# Maintained by Zoltan Arpadffy <arpadffy@polarhome.com>
#
# Edit the lines in the Configuration section below to select.
#
# To build: use the following command line:
#
# mms/descrip=Make_vms.mms
# or if you use mmk
# mmk/descrip=Make_vms.mms
#
####... | zyz2011-vim | src/xxd/Make_vms.mms | Module Management System | gpl2 | 1,727 |
# Makefile for xxd on the Amiga, using Aztec/Manx C 5.0 or later
#
#>>>>> choose between debugging (-bs) or optimizing (-so)
OPTIONS = -so
#OPTIONS = -bs
#>>>>>> choose -g for debugging
LN_DEBUG =
#LN_DEBUG = -g
CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst=
Xxd: xxd.o
ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16... | zyz2011-vim | src/xxd/Make_amiga.mak | Makefile | gpl2 | 364 |
# The most simplistic Makefile
xxd: xxd.c
$(CC) $(CFLAGS) $(LDFLAGS) -DUNIX -o xxd xxd.c
clean:
rm -f xxd xxd.o
| zyz2011-vim | src/xxd/Makefile | Makefile | gpl2 | 116 |
# The most simplistic Makefile, for Cygnus gcc on MS-DOS
ifndef USEDLL
USEDLL = no
endif
ifeq (yes, $(USEDLL))
DEFINES =
LIBS = -lc
else
DEFINES = -mno-cygwin
LIBS =
endif
CC = gcc
CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
ifneq (sh.exe, $(SHELL))
DEL = rm
else
DEL = del
endif
xxd.exe: xxd.c
$(CC) $(CFLAGS) -s ... | zyz2011-vim | src/xxd/Make_cyg.mak | Makefile | gpl2 | 370 |
/* xxd: my hexdump facility. jw
*
* 2.10.90 changed to word output
* 3.03.93 new indent style, dumb bug inserted and fixed.
* -c option, mls
* 26.04.94 better option parser, -ps, -l, -s added.
* 1.07.94 -r badly needs - as input file. Per default autoskip over
* consecutive lines of zeroes, as uni... | zyz2011-vim | src/xxd/xxd.c | C | gpl2 | 22,787 |
# The most simplistic Makefile for Win32 using Microsoft Visual C++
# (NT and Windows 95)
xxd: xxd.exe
xxd.exe: xxd.c
cl /nologo -DWIN32 xxd.c
# This was for an older compiler
# cl /nologo -DWIN32 xxd.c /link setargv.obj
clean:
- if exist xxd.obj del xxd.obj
- if exist xxd.exe del xxd.exe
| zyz2011-vim | src/xxd/Make_mvc.mak | Makefile | gpl2 | 312 |
# Simple makefile for Borland C++ 4.0
# 3.1 can NOT be used, it has problems with the fileno() define.
# Command line variables:
# BOR path to root of Borland C (E:\BORLANDC)
# DEBUG set to "yes" for debugging (no)
!ifndef BOR
BOR = e:\bc4
!endif
!if ("$(DEBUG)" == "yes")
DEBUG_FLAG = -v -DDEBUG
!else
DEBUG_FLAG =... | zyz2011-vim | src/xxd/Make_bc3.mak | Makefile | gpl2 | 732 |
# A very (if most the most) simplistic Makefile for OS/2
CC=gcc
CFLAGS=-O2 -fno-strength-reduce -DOS2
xxd.exe: xxd.c
$(CC) $(CFLAGS) -s -o $@ $<
clean:
- del xxd.o
- del xxd.exe
| zyz2011-vim | src/xxd/Make_os2.mak | Makefile | gpl2 | 184 |
# The most simplistic Makefile, for DJGPP on MS-DOS
CFLAGS = -O2 -Wall
xxd.exe: xxd.c
gcc $(CFLAGS) -s -o xxd.exe xxd.c -lpc
clean:
del xxd.exe
| zyz2011-vim | src/xxd/Make_djg.mak | Makefile | gpl2 | 149 |
/* if_python3.c */
int python3_enabled __ARGS((int verbose));
void python3_end __ARGS((void));
int python3_loaded __ARGS((void));
void ex_py3 __ARGS((exarg_T *eap));
void ex_py3file __ARGS((exarg_T *eap));
void python3_buffer_free __ARGS((buf_T *buf));
void python3_window_free __ARGS((win_T *win));
/* vim: set ft=c : *... | zyz2011-vim | src/proto/if_python3.pro | C | gpl2 | 322 |
/* os_amiga.c */
void win_resize_on __ARGS((void));
void win_resize_off __ARGS((void));
void mch_write __ARGS((char_u *p, int len));
int mch_inchar __ARGS((char_u *buf, int maxlen, long time, int tb_change_cnt));
int mch_char_avail __ARGS((void));
long_u mch_avail_mem __ARGS((int special));
void mch_delay __ARGS((long ... | zyz2011-vim | src/proto/os_amiga.pro | C | gpl2 | 1,983 |
/* ex_cmds2.c */
void do_debug __ARGS((char_u *cmd));
void ex_debug __ARGS((exarg_T *eap));
void dbg_check_breakpoint __ARGS((exarg_T *eap));
int dbg_check_skipped __ARGS((exarg_T *eap));
void ex_breakadd __ARGS((exarg_T *eap));
void ex_debuggreedy __ARGS((exarg_T *eap));
void ex_breakdel __ARGS((exarg_T *eap));
void e... | zyz2011-vim | src/proto/ex_cmds2.pro | C | gpl2 | 4,285 |
/* regexp.c */
int re_multiline __ARGS((regprog_T *prog));
int re_lookbehind __ARGS((regprog_T *prog));
char_u *skip_regexp __ARGS((char_u *startp, int dirc, int magic, char_u **newp));
regprog_T *vim_regcomp __ARGS((char_u *expr, int re_flags));
int vim_regcomp_had_eol __ARGS((void));
void free_regexp_stuff __ARGS((vo... | zyz2011-vim | src/proto/regexp.pro | C | gpl2 | 1,050 |
/* main.c */
void main_loop __ARGS((int cmdwin, int noexmode));
void getout_preserve_modified __ARGS((int exitval));
void getout __ARGS((int exitval));
int process_env __ARGS((char_u *env, int is_viminit));
void mainerr_arg_missing __ARGS((char_u *str));
void time_push __ARGS((void *tv_rel, void *tv_start));
void time_... | zyz2011-vim | src/proto/main.pro | C | gpl2 | 1,118 |
/* gui_x11.c */
void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum));
void gui_mch_prepare __ARGS((int *argc, char **argv));
int gui_mch_init_check __ARGS((void));
int gui_mch_init __ARGS((void));
void gui_mch_uninit __ARGS((void));
void gui_mch_new_colors __ARGS((void));
int gui_mch_o... | zyz2011-vim | src/proto/gui_x11.pro | C | gpl2 | 3,765 |
/* ex_docmd.c */
void do_exmode __ARGS((int improved));
int do_cmdline_cmd __ARGS((char_u *cmd));
int do_cmdline __ARGS((char_u *cmdline, char_u *(*fgetline)(int, void *, int), void *cookie, int flags));
int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
... | zyz2011-vim | src/proto/ex_docmd.pro | C | gpl2 | 3,002 |
/* os_msdos.c */
void mch_set_normal_colors __ARGS((void));
void mch_update_cursor __ARGS((void));
long_u mch_avail_mem __ARGS((int special));
void mch_delay __ARGS((long msec, int ignoreinput));
void mch_write __ARGS((char_u *s, int len));
int mch_inchar __ARGS((char_u *buf, int maxlen, long time, int tb_change_cnt));... | zyz2011-vim | src/proto/os_msdos.pro | C | gpl2 | 2,077 |
/* if_python.c */
int python_enabled __ARGS((int verbose));
void python_end __ARGS((void));
int python_loaded __ARGS((void));
void ex_python __ARGS((exarg_T *eap));
void ex_pyfile __ARGS((exarg_T *eap));
void python_buffer_free __ARGS((buf_T *buf));
void python_window_free __ARGS((win_T *win));
/* vim: set ft=c : */
| zyz2011-vim | src/proto/if_python.pro | C | gpl2 | 318 |