code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
/* 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.
*/
/*
*
* term.c: functions for controlling the te... | zy199402-vim | src/term.c | C | gpl2 | 156,543 |
#
# Makefile for VIM on OS/2 using EMX vim:ts=8:sw=8:tw=78
#
# Created by: Paul Slootman
#
### This Makefile has been successfully tested on these systems.
### Check the (*) column for remarks, listed below.
### Later code changes may cause small problems, otherwise Vim is supposed to
### compile and run without probl... | zy199402-vim | src/Make_os2.mak | Makefile | gpl2 | 3,609 |
/* 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.
*/
/*
* The stuff in this file mostly comes from t... | zy199402-vim | src/pty.c | C | gpl2 | 9,265 |
/* 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.
*/
/*
* os_macosx.m -- Mac specific things for Ma... | zy199402-vim | src/os_macosx.m | Objective-C | gpl2 | 5,173 |
/* 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.
*/
/*
* uninstal.c: Minimalistic uninstall program... | zy199402-vim | src/uninstal.c | C | gpl2 | 11,353 |
/* 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.
*/
/*
* buffer.c: functions for dealing with the b... | zy199402-vim | src/buffer.c | C | gpl2 | 140,746 |
/* os_vms_conf.h. Replaces auto/config.h for VMS */
#define CASE_INSENSITIVE_FILENAME /* Open VMS is case insensitive */
#define SPACE_IN_FILENAME /* There could be space between user and passwd */
#define FNAME_ILLEGAL "|*#?%" /* Illegal characters in a file name */
#define BINARY_FILE_IO /* Use bin... | zy199402-vim | src/os_vms_conf.h | C | gpl2 | 4,606 |
/* 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.
*/
#include "vim.h"
#ifdef AMIGA
# include <time.... | zy199402-vim | src/version.c | C | gpl2 | 43,634 |
/* 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.
*/
/*
* Win32 (Windows NT and Windows 95) machine-dependent things.
*/
#include "os_dos.h" /* common MS-D... | zy199402-vim | src/os_win32.h | C | gpl2 | 5,732 |
#! /bin/sh
#
# which.sh -- find where an executable is located. It's here because the
# "which" command is not supported everywhere. Used by Makefile.
IFS=":"
for ac_dir in $PATH; do
if test -f "$ac_dir/$1"; then
echo "$ac_dir/$1"
break
fi
done
| zy199402-vim | src/which.sh | Shell | gpl2 | 254 |
# A very (if not the most) simplistic Makefile for OS/2
CC=gcc
CFLAGS=-O2 -fno-strength-reduce
tee.exe: tee.o
$(CC) $(CFLAGS) -s -o $@ $<
tee.o: tee.c
$(CC) $(CFLAGS) -c $<
clean:
- del tee.o
- del tee.exe
| zy199402-vim | src/tee/Makefile | Makefile | gpl2 | 215 |
/* vim:set ts=4 sw=4:
*
* Copyright (c) 1996, Paul Slootman
*
* Author: Paul Slootman
* (paul@wurtel.hobby.nl, paul@murphy.nl, paulS@toecompst.nl)
*
* This source code is released into the public domain. It is provided on an
* as-is basis and no responsibility is accepted for its failure to perform
* as exp... | zy199402-vim | src/tee/tee.c | C | gpl2 | 3,722 |
/* 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'... | zy199402-vim | src/termlib.c | C | gpl2 | 14,051 |
#! /bin/sh
#
# link.sh -- try linking Vim with different sets of libraries, finding the
# minimal set for fastest startup. The problem is that configure adds a few
# libraries when they exist, but this doesn't mean they are needed for Vim.
#
# Author: Bram Moolenaar
# Last change: 2010 Nov 03
# License: Publi... | zy199402-vim | src/link.sh | Shell | gpl2 | 4,620 |
#! /bin/sh
#
# osdef.sh -- copy osdef.h.in to osdef.h while removing declarations
# found in the system header files. Caution: weird sed magic going on here.
# Warnings are printed if sed did not survive.
#
# (C) Michael Schroeder, Juergen Weigert
#
# osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ... | zy199402-vim | src/osdef.sh | Shell | gpl2 | 3,081 |
# Python script to get both the data and resource fork from a BinHex encoded
# file.
# Author: MURAOKA Taro <koron.kaoriya@gmail.com>
# Last Change: 2012 Jun 29
#
# Copyright (C) 2003,12 MURAOKA Taro <koron.kaoriya@gmail.com>
# THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE.
import sys
import binhex
input = sys.argv[... | zy199402-vim | src/dehqx.py | Python | gpl2 | 958 |
/* 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.
*
* File MOTIF_REDEFINES.H originally delivers together with
* OpenVMS Porting Library
* http://www.open... | zy199402-vim | src/gui_gtk_vms.h | C | gpl2 | 32,016 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unixio.h>
#include "vim.h"
int main(int argc, char *argv[])
{
FILE *fpi, *fpo;
char cmd[132], buf[BUFSIZ], *argp, *error_file, target[132], *mms;
int err = 0, err_line = 0;
mms = "mms";
argc--;
argv++;
while (argc-- > 0)
... | zy199402-vim | src/os_vms_mms.c | C | gpl2 | 1,328 |
#
# Makefile for VIM, using MorphOS SDK (gcc 2.95.3)
#
CFLAGS = -c \
-pipe \
-O2 \
-Wall \
\
-DNO_ARP \
-DUSE_TMPNAM \
\
-I proto \
\
-noixemul
PRG = Vim
LIBS = -noixemul -s
CC = gcc
LD = gcc
OBJDUMP = objdump
RM = rm
.c.o:
${CC} ${CFLAGS} $... | zy199402-vim | src/Make_morph.mak | Makefile | gpl2 | 1,288 |
/* 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.
*/
/*
* spell.c: code for spell checking
*
* The... | zy199402-vim | src/spell.c | C | gpl2 | 423,059 |
/* 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.
*/
#ifndef VIM__H
# define VIM__H
/* use fastcall for Borland, when compiling for Win32 (not for DOS16) */
#... | zy199402-vim | src/vim.h | C | gpl2 | 73,857 |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
... | zy199402-vim | src/mkinstalldirs | Shell | gpl2 | 638 |
/* vim:set ts=8 sts=4 sw=4:
* vim600:fdm=marker fdl=1 fdc=3:
*
* 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.
*/
/*
* fold.c:... | zy199402-vim | src/fold.c | C | gpl2 | 87,096 |
/* 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.
*/
/*
* Code to handle user-settable options. This... | zy199402-vim | src/option.c | C | gpl2 | 307,993 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
* GUI 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.
*/
/*
* gui_w48.c... | zy199402-vim | src/gui_w48.c | C | gpl2 | 92,307 |
/* 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.
*/
/* Before Including the MacOS specific files,
* lets set the OPAQUE_TOOLBOX_STRUCTS to 0 so we
* can acc... | zy199402-vim | src/os_mac.h | C | gpl2 | 7,557 |
/* 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.
*/
#ifdef __QNXNTO__
# include <sys/procmgr.h>
#endif
#define USE_TMPNAM
#define POSIX /* Used by pty.c... | zy199402-vim | src/os_qnx.h | C | gpl2 | 393 |
/* vi:set ts=8 sts=4 sw=4:
*
* if_sniff.c Interface between Vim and SNiFF+
*
* See README.txt for an overview of the Vim source code.
*/
#include "vim.h"
#ifdef WIN32
# include <stdio.h>
# include <process.h>
# include <string.h>
# include <assert.h>
#else
# ifdef FEAT_GUI_X11
# include "gui_x11.pro"
# endif
# ... | zy199402-vim | src/if_sniff.c | C | gpl2 | 28,518 |
/* vi:set ts=8 sts=4 sw=4:
*
* Load XPM image.
*
* This function is placed in separate file because Xpm headers conflict with
* Vim ones :(
*
* Written by Sergey Khorev.
* http://iamphet.nm.ru/vim/index.html
*/
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
/* reduced de... | zy199402-vim | src/xpm_w32.c | C | gpl2 | 1,326 |
/* 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... | zy199402-vim | src/ex_eval.c | C | gpl2 | 68,916 |
/* 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... | zy199402-vim | src/feature.h | C | gpl2 | 34,110 |
/* vi:set ts=8 sts=4 sw=4:
*
* NFA regular expression implementation.
*
* This file is included in "regexp.c".
*/
/*
* Logging of NFA engine.
*
* The NFA engine can write four log files:
* - Error log: Contains NFA engine's fatal errors.
* - Dump log: Contains compiled NFA state machine's information.
* - R... | zy199402-vim | src/regexp_nfa.c | C | gpl2 | 160,754 |
/* 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.
*/
/*
* ui.c: functions that handle the user inter... | zy199402-vim | src/ui.c | C | gpl2 | 79,639 |
/* vim: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.
*/
/*
* diff.c: code for diff'ing two, three or f... | zy199402-vim | src/diff.c | C | gpl2 | 65,124 |
/* vi:set ts=8 sts=4 sw=4: */
/*
* Copyright 1989 Software Research Associates, Inc., Tokyo, Japan
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
* that the above copyright notice appear in all copies and that b... | zy199402-vim | src/gui_at_fs.c | C | gpl2 | 62,331 |
/* 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... | zy199402-vim | src/memline.c | C | gpl2 | 143,633 |
/* 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.
*/
#define EXTERN
#include "vim.h"
#ifdef SPAWNO
#... | zy199402-vim | src/main.c | C | gpl2 | 108,801 |
/* 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.
*/
/*
* This file defines the Ex commands.
* When DO_DECLARE_EXCMD is defined, the table with ex command na... | zy199402-vim | src/ex_cmds.h | C | gpl2 | 44,402 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
* BeBox port Copyright 1997 by Olaf Seibert.
*
* 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.
*/
/... | zy199402-vim | src/os_beos.c | C | gpl2 | 4,456 |
/* 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.
*
* FIPS-180-2 compliant SHA-256 implementation
* ... | zy199402-vim | src/sha256.c | C | gpl2 | 12,542 |
/* vi:set ts=8 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.
*/
/*
* Tcl extensions by Ingo Wilken <Ingo.Wilken@infor... | zy199402-vim | src/if_tcl.c | C | gpl2 | 49,479 |
/* 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.
*/
/*
* Ic... | zy199402-vim | src/gui_x11_pm.h | C | gpl2 | 2,400 |
$!
$! OS_VMS_FIX.COM
$! Copyright (C) 2000, Stephen P. Wall
$!
$! Filter files for "#if" line continuations using a '\' and convert
$! them to use comments for the continuation. Necessary for VAXC - it
$! doesn't understand the '\'.
$!
$! Yes, this is honkin' ugly code, but I deliberately avoided
$! if ...
$! ... | zy199402-vim | src/os_vms_fix.com | DIGITAL Command Language | gpl2 | 7,771 |
/* 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.
*/
#ifdef GLOBAL_IME
#ifndef _INC_GLOBAL_IME
#define _INC_GLOBAL_IME
#ifdef __cplusplus
extern "C" {
#endif... | zy199402-vim | src/glbl_ime.h | C | gpl2 | 942 |
/* 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
| zy199402-vim | src/os_mint.h | C | gpl2 | 281 |
/* 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.
*/
/*
* Amiga Machine-dependent things
*/
#define CASE_INSENSITIVE_FILENAME /* ignore case when comparin... | zy199402-vim | src/os_amiga.h | C | gpl2 | 4,845 |
// VisVIM.h : main header file for the VisVim DLL
//
#if !defined(AFX_VISVIM_H__AC72670B_2977_11D1_B2F3_006008040780__INCLUDED_)
#define AFX_VISVIM_H__AC72670B_2977_11D1_B2F3_006008040780__INCLUDED_
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // Mai... | zy199402-vim | src/VisVim/VisVim.h | C | gpl2 | 1,009 |
// VisVim.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include <initguid.h>
#include "VisVim.h"
#include "DSAddIn.h"
#include "Commands.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CComModule _Module;
BEGIN_OBJECT_MAP (ObjectMa... | zy199402-vim | src/VisVim/VisVim.cpp | C++ | gpl2 | 3,132 |
//
// Class for creating OLE automation controllers.
//
// CreateObject() creates an automation object
// Invoke() will call a property or method of the automation object.
// GetProperty() returns a property
// SetProperty() changes a property
// Method() invokes a method
//
// For example, the following VB code will c... | zy199402-vim | src/VisVim/OleAut.cpp | C++ | gpl2 | 20,548 |
#ifndef __OLEAUT_H__
#define __OLEAUT_H__
class COleAutomationControl : public CObject
{
public:
COleAutomationControl ();
~COleAutomationControl ();
bool CreateObject (char* ProgId);
DISPID GetDispatchId (char* Name);
bool GetProperty (char* Name);
bool GetProperty (DISPID DispatchId);
bool PutProperty (ch... | zy199402-vim | src/VisVim/OleAut.h | C++ | gpl2 | 1,979 |
regsvr32.exe visvim.dll
| zy199402-vim | src/VisVim/Register.bat | Batchfile | gpl2 | 24 |
// Stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__AC72670E_2977_11D1_B2F3_006008040780__INCLUDED_)
#define AFX_STDAFX_H__AC72670E_2977_11D1_B2F3_006008040780__INCLUDED_
#defin... | zy199402-vim | src/VisVim/StdAfx.h | C | gpl2 | 2,346 |
// DSAddIn.h : header file
//
#if !defined(AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_)
#define AFX_DSADDIN_H__AC726715_2977_11D1_B2F3_006008040780__INCLUDED_
#include "commands.h"
// {4F9E01C0-406B-11d2-8006-00001C405077}
DEFINE_GUID (CLSID_DSAddIn,
0x4f9e01c0, 0x406b, 0x11d2, 0x80, 0x6, 0x0, 0x... | zy199402-vim | src/VisVim/DSAddIn.h | C++ | gpl2 | 1,379 |
regsvr32.exe -unregister visvim.dll
| zy199402-vim | src/VisVim/UnRegist.bat | Batchfile | gpl2 | 36 |
#include "stdafx.h"
#include "VisVim.h"
#include "DSAddIn.h"
#include "Commands.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// This is called when the user first loads the add-in, and on start-up
// of each subsequent Developer Studio session
STDMETHODIMP CDSAd... | zy199402-vim | src/VisVim/DSAddIn.cpp | C++ | gpl2 | 4,471 |
// Commands.h : header file
//
#if !defined(AFX_COMMANDS_H__AC726717_2977_11D1_B2F3_006008040780__INCLUDED_)
#define AFX_COMMANDS_H__AC726717_2977_11D1_B2F3_006008040780__INCLUDED_
#include "vsvtypes.h"
class CCommands :
public CComDualImpl < ICommands,
&IID_ICommands,
&LIBID_VisVim >,
public CComObj... | zy199402-vim | src/VisVim/Commands.h | C++ | gpl2 | 3,584 |
#include "stdafx.h"
// Returns key for HKEY_CURRENT_USER\"Software"\Company\AppName
// creating it if it doesn't exist
// responsibility of the caller to call RegCloseKey() on the returned HKEY
//
HKEY GetAppKey (char* AppName)
{
HKEY hAppKey = NULL;
HKEY hSoftKey = NULL;
if (RegOpenKeyEx (HKEY_CURRENT_USER, "Softw... | zy199402-vim | src/VisVim/Reg.cpp | C++ | gpl2 | 1,493 |
#include "stdafx.h"
#include <comdef.h> // For _bstr_t
#include "VisVim.h"
#include "Commands.h"
#include "OleAut.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// Change directory before opening file?
#define CD_SOURCE 0 // Cd to source path
#define CD_SOURCE_PA... | zy199402-vim | src/VisVim/Commands.cpp | C++ | gpl2 | 17,594 |
// Stdafx.cpp : source file that includes just the standard includes
// VisEmacs.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
#include "atlimpl.cpp"
| zy199402-vim | src/VisVim/StdAfx.cpp | C++ | gpl2 | 222 |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by VisVim.rc
//
#define IDS_VISVIM_LONGNAME 1
#define IDS_VISVIM_DESCRIPTION 2
#define IDS_CMD_DIALOG 3
#define IDS_CMD_ENABLE 4
#define IDS_CMD_DISABLE 5
#define IDS_CMD_TOGGLE 6
#define IDS_CMD_LOAD 7
#define IDR_TOOLBAR_M... | zy199402-vim | src/VisVim/Resource.h | C | gpl2 | 812 |
/* 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.
*/
/*
* Define the version number, name, etc.
* The patchlevel is in included_patches[], in version.c.
*
... | zy199402-vim | src/version.h | C | gpl2 | 1,403 |
/* 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.
*/
/*
* os_mac_conv.c: Code specifically for Mac st... | zy199402-vim | src/os_mac_conv.c | C | gpl2 | 14,189 |
/*
* Copyright (C) 1989-95 GROUPE BULL
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publ... | zy199402-vim | src/xpm/include/xpm.h | C | gpl2 | 16,644 |
/*
* Copyright (C) 1989-95 GROUPE BULL
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publ... | zy199402-vim | src/xpm/include/simx.h | C | gpl2 | 4,959 |
#
# Borland C++ 5.0[12] makefile for vim, 16-bit windows gui version
# By Vince Negri
# *************************************************************
# * WARNING!
# * This was originally produced by the IDE, but has since been
# * modified to make it work properly. Adjust with care!
# * In particular, leave LinkerLocal... | zy199402-vim | src/Make_w16.mak | Makefile | gpl2 | 5,587 |
; Thomas Leonard
; 24/5/98
ar0 rn 0
ar1 rn 1
ar2 rn 2
ar3 rn 3
ar4 rn 4
ar5 rn 5
ar6 rn 6
ar7 rn 7
ar10 rn 10
ar11 rn 11
lk rn 14
ar15 rn 15
AREA DATA
align 4
export |r0|
r0: dcd 0
export |r1|
r1: dcd 0
export |r2|
r2: dcd 0
export |r3|
r3: dcd 0
export |r4|
r4: dcd 0
export |r5|
r5: dcd 0
export |r6|... | zy199402-vim | src/swis.s | Unix Assembly | gpl2 | 2,189 |
/* 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.
*/
/*
* undo.c: multi level undo facility
*
* Th... | zy199402-vim | src/undo.c | C | gpl2 | 84,547 |
/* 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.
*/
/*
* dosinst.h: Common code for dosinst.c and un... | zy199402-vim | src/dosinst.h | C | gpl2 | 15,602 |
/* vi:set ts=8 sts=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.
*/... | zy199402-vim | src/nbdebug.c | C | gpl2 | 3,956 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
* Netbeans integration by David Weatherford
* Adopted for Win32 by Sergey Khorev
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
/*
* Implements cl... | zy199402-vim | src/netbeans.c | C | gpl2 | 95,080 |
/*
* if_sniff.h Interface between Vim and SNiFF+
*/
#ifndef __if_sniff_h__
#define __if_sniff_h__
extern int want_sniff_request;
extern int sniff_request_waiting;
extern int sniff_connected;
extern int fd_from_sniff;
extern void sniff_disconnect __ARGS((int immediately));
extern void ProcessSniffRequests __ARGS... | zy199402-vim | src/if_sniff.h | C | gpl2 | 383 |
/* 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.
*/
/*
* memfile_test.c: Unittests for memfile.c
*... | zy199402-vim | src/memfile_test.c | C | gpl2 | 3,171 |
/* vi:set ts=8 sts=4 sw=4 noet:
*
* 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.
* Ch... | zy199402-vim | src/if_python.c | C | gpl2 | 48,938 |
/* 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.
*/
/*
* Definitions of various common control characters.
* For EBCDIC we have to use different values.
*/... | zy199402-vim | src/ascii.h | C | gpl2 | 4,886 |
/* 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.
*/
/*
* misc1.c: functions that didn't seem to fit... | zy199402-vim | src/misc1.c | C | gpl2 | 262,764 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read a list of people who contributed.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
#include "vim.h"
static int path_is_url __A... | zy199402-vim | src/window.c | C | gpl2 | 162,936 |
/* 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.
*/
/*
* mark.c: functions for setting marks and ju... | zy199402-vim | src/mark.c | C | gpl2 | 43,788 |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
* VMS port by Henk Elbers
* VMS deport by Zoltan Arpadffy
*
* 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 s... | zy199402-vim | src/os_vms.c | C | gpl2 | 15,721 |
# Makefile for the Vim message translations.
# TODO make this configurable
# Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
# not installed on Unix
LANGUAGES = \
af \
ca \
cs \
de \
en_GB \
eo \
es \
fi \
fr \
ga \
it \
ja \
ko \
ko.UTF-8 \
nb \
nl \
no \
... | zy199402-vim | src/po/Makefile | Makefile | gpl2 | 7,006 |
# Makefile for the Vim message translations for MSVC
# (based on make_ming.mak)
#
# Mike Williams <mrw@eandem.co.uk>
#
# Please read README_mvc.txt before using this file.
#
LANGUAGES = \
af \
ca \
cs \
de \
en_GB \
eo \
es \
fi \
fr \
ga \
it \
ja \
ko \
no \
pl \
pt_BR \
ru \
sk \... | zy199402-vim | src/po/Make_mvc.mak | Makefile | gpl2 | 1,743 |
# Makefile for the Vim message translations for Cygwin
# by Tony Mechelynck <antoine.mechelynck@skynet.be>
# after Make_ming.mak by
# Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
#
# Read the README_ming.txt file before using it.
#
# Use at your own risk but with care, it could even kill your canary.
#
ifndef VIMR... | zy199402-vim | src/po/Make_cyg.mak | Makefile | gpl2 | 2,760 |
/*
* Simplistic program to correct SJIS inside strings. When a trail byte is a
* backslash it needs to be doubled.
* Public domain.
*/
#include <stdio.h>
#include <string.h>
int
main(argc, argv)
int argc;
char **argv;
{
char buffer[BUFSIZ];
char *p;
while (fgets(buffer, BUFSIZ, stdin) != NULL)
{
for (p ... | zy199402-vim | src/po/sjiscorr.c | C | gpl2 | 931 |
# Makefile for the Vim message translations for mingw32
#
# Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
#
# Read the README_ming.txt file before using it.
#
# Use at your own risk but with care, it could even kill your canary.
#
# Previous to all you must have the environment variable LANGUAGE set to your
# langua... | zy199402-vim | src/po/Make_ming.mak | Makefile | gpl2 | 2,076 |
" Vim script for checking .po files.
"
" Go through the file and verify that:
" - All %...s items in "msgid" are identical to the ones in "msgstr".
" - An error or warning code in "msgid" matches the one in "msgstr".
if 1 " Only execute this if the eval feature is available.
" Function to get a split line at the curs... | zy199402-vim | src/po/check.vim | Vim Script | gpl2 | 2,314 |
" Vim script to cleanup a .po file:
" - Remove line numbers (avoids that diffs are messy).
" - Comment-out fuzzy and empty messages.
" - Make sure there is a space before the string (required for Solaris).
" Requires Vim 6.0 or later (because of multi-line search patterns).
" Disable diff mode, because it makes this v... | zy199402-vim | src/po/cleanup.vim | Vim Script | gpl2 | 586 |
/* mark.c */
int setmark __ARGS((int c));
int setmark_pos __ARGS((int c, pos_T *pos, int fnum));
void setpcmark __ARGS((void));
void checkpcmark __ARGS((void));
pos_T *movemark __ARGS((int count));
pos_T *movechangelist __ARGS((int count));
pos_T *getmark_buf __ARGS((buf_T *buf, int c, int changefile));
pos_T *getmark ... | zy199402-vim | src/proto/mark.pro | C | gpl2 | 1,511 |
/* os_mswin.c */
void mch_exit __ARGS((int r));
void mch_early_init __ARGS((void));
int mch_input_isatty __ARGS((void));
void mch_settitle __ARGS((char_u *title, char_u *icon));
void mch_restore_title __ARGS((int which));
int mch_can_restore_title __ARGS((void));
int mch_can_restore_icon __ARGS((void));
int mch_FullNam... | zy199402-vim | src/proto/os_mswin.pro | C | gpl2 | 2,592 |
/* tag.c */
int do_tag __ARGS((char_u *tag, int type, int count, int forceit, int verbose));
void tag_freematch __ARGS((void));
void do_tags __ARGS((exarg_T *eap));
int find_tags __ARGS((char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname));
void free_tag_stuff __ARGS((void));... | zy199402-vim | src/proto/tag.pro | C | gpl2 | 639 |
/* move.c */
void update_topline_redraw __ARGS((void));
void update_topline __ARGS((void));
void update_curswant __ARGS((void));
void check_cursor_moved __ARGS((win_T *wp));
void changed_window_setting __ARGS((void));
void changed_window_setting_win __ARGS((win_T *wp));
void set_topline __ARGS((win_T *wp, linenr_T lnum... | zy199402-vim | src/proto/move.pro | C | gpl2 | 1,769 |
/* version.c */
void make_version __ARGS((void));
int highest_patch __ARGS((void));
int has_patch __ARGS((int n));
void ex_version __ARGS((exarg_T *eap));
void list_version __ARGS((void));
void intro_message __ARGS((int colon));
void ex_intro __ARGS((exarg_T *eap));
/* vim: set ft=c : */
| zy199402-vim | src/proto/version.pro | C | gpl2 | 289 |
/* blowfish.c */
void bf_key_init __ARGS((char_u *password, char_u *salt, int salt_len));
void bf_ofb_init __ARGS((char_u *iv, int iv_len));
void bf_crypt_encode __ARGS((char_u *from, size_t len, char_u *to));
void bf_crypt_decode __ARGS((char_u *ptr, long len));
void bf_crypt_init_keys __ARGS((char_u *passwd));
void b... | zy199402-vim | src/proto/blowfish.pro | C | gpl2 | 448 |
/* ex_cmds.c */
void do_ascii __ARGS((exarg_T *eap));
void ex_align __ARGS((exarg_T *eap));
void ex_sort __ARGS((exarg_T *eap));
void ex_retab __ARGS((exarg_T *eap));
int do_move __ARGS((linenr_T line1, linenr_T line2, linenr_T dest));
void ex_copy __ARGS((linenr_T line1, linenr_T line2, linenr_T n));
void free_prev_sh... | zy199402-vim | src/proto/ex_cmds.pro | C | gpl2 | 3,218 |
/* mbyte.c */
int enc_canon_props __ARGS((char_u *name));
char_u *mb_init __ARGS((void));
int bomb_size __ARGS((void));
void remove_bom __ARGS((char_u *s));
int mb_get_class __ARGS((char_u *p));
int mb_get_class_buf __ARGS((char_u *p, buf_T *buf));
int dbcs_class __ARGS((unsigned lead, unsigned trail));
int latin_char2... | zy199402-vim | src/proto/mbyte.pro | C | gpl2 | 4,436 |
/* misc1.c */
int get_indent __ARGS((void));
int get_indent_lnum __ARGS((linenr_T lnum));
int get_indent_buf __ARGS((buf_T *buf, linenr_T lnum));
int get_indent_str __ARGS((char_u *ptr, int ts));
int set_indent __ARGS((int size, int flags));
int get_number_indent __ARGS((linenr_T lnum));
int open_line __ARGS((int dir, ... | zy199402-vim | src/proto/misc1.pro | C | gpl2 | 5,197 |
/* message.c */
int msg __ARGS((char_u *s));
int verb_msg __ARGS((char_u *s));
int msg_attr __ARGS((char_u *s, int attr));
int msg_attr_keep __ARGS((char_u *s, int attr, int keep));
char_u *msg_strtrunc __ARGS((char_u *s, int force));
void trunc_string __ARGS((char_u *s, char_u *buf, int room, int buflen));
void reset_... | zy199402-vim | src/proto/message.pro | C | gpl2 | 3,448 |
/* hashtab.c */
void hash_init __ARGS((hashtab_T *ht));
void hash_clear __ARGS((hashtab_T *ht));
void hash_clear_all __ARGS((hashtab_T *ht, int off));
hashitem_T *hash_find __ARGS((hashtab_T *ht, char_u *key));
hashitem_T *hash_lookup __ARGS((hashtab_T *ht, char_u *key, hash_T hash));
void hash_debug_results __ARGS((vo... | zy199402-vim | src/proto/hashtab.pro | C | gpl2 | 664 |
/* option.c */
void set_init_1 __ARGS((void));
void set_string_default __ARGS((char *name, char_u *val));
void set_number_default __ARGS((char *name, long val));
void free_all_options __ARGS((void));
void set_init_2 __ARGS((void));
void set_init_3 __ARGS((void));
void set_helplang_default __ARGS((char_u *lang));
void i... | zy199402-vim | src/proto/option.pro | C | gpl2 | 3,240 |
/* if_ole.cpp */
void InitOLE __ARGS((int* pbDoRestart));
void UninitOLE __ARGS((void));
void RegisterMe __ARGS((int silent));
void UnregisterMe __ARGS((int bNotifyUser));
| zy199402-vim | src/proto/if_ole.pro | Prolog | gpl2 | 172 |
/* hardcopy.c */
char_u *parse_printoptions __ARGS((void));
char_u *parse_printmbfont __ARGS((void));
int prt_header_height __ARGS((void));
int prt_use_number __ARGS((void));
int prt_get_unit __ARGS((int idx));
void ex_hardcopy __ARGS((exarg_T *eap));
void mch_print_cleanup __ARGS((void));
int mch_print_init __ARGS((pr... | zy199402-vim | src/proto/hardcopy.pro | C | gpl2 | 922 |
/* netbeans.c */
void netbeans_parse_messages __ARGS((void));
void netbeans_read __ARGS((void));
int isNetbeansBuffer __ARGS((buf_T *bufp));
int isNetbeansModified __ARGS((buf_T *bufp));
void netbeans_end __ARGS((void));
void ex_nbclose __ARGS((exarg_T *eap));
void ex_nbkey __ARGS((exarg_T *eap));
void ex_nbstart __ARG... | zy199402-vim | src/proto/netbeans.pro | C | gpl2 | 1,456 |