code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php /** * This is the model class for table "bookpublisher". * * The followings are the available columns in table 'bookpublisher': * @property string $book_id * @property string $publisher_id */ class BookPublisher extends CActiveRecord { /** * Returns the static model of the specified AR class. * @param...
zy-task
trunk/rapid/protected/models/BookPublisher.php
PHP
asf20
2,124
<?php /** * This is the model class for table "user". * * The followings are the available columns in table 'user': * @property string $id * @property string $username * @property string $pwd_hash * @property string $person_id * * The followings are the available model relations: * @property Person $person ...
zy-task
trunk/rapid/protected/models/User.php
PHP
asf20
4,768
<?php /** * This is the model class for table "publisher". * * The followings are the available columns in table 'publisher': * @property string $id * @property string $name * * The followings are the available model relations: * @property Bookpublisher[] $bookpublishers */ class Publisher extends CActiveReco...
zy-task
trunk/rapid/protected/models/Publisher.php
PHP
asf20
2,178
<?php class SiteController extends Controller { /** * Declares class-based actions. */ public function actions() { return array( // captcha action renders the CAPTCHA image displayed on the contact page 'captcha'=>array( 'class'=>'CCaptchaAction', 'backColor'=>0xFFFFFF, ), // page action r...
zy-task
trunk/rapid/protected/controllers/SiteController.php
PHP
asf20
2,623
<?php class JobController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public function f...
zy-task
trunk/rapid/protected/controllers/JobController.php
PHP
asf20
3,383
<?php class ScheduledJobController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public f...
zy-task
trunk/rapid/protected/controllers/ScheduledJobController.php
PHP
asf20
3,419
<?php class UserController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public function ...
zy-task
trunk/rapid/protected/controllers/UserController.php
PHP
asf20
6,775
<?php class LibraryController extends Controller { /** * @return array action filters */ public function filters() { return array( //'accessControl', // perform access control for CRUD operations ); } /** * Specifies the access control rules. * This method is used by the 'accessControl' filter. ...
zy-task
trunk/rapid/protected/controllers/LibraryController.php
PHP
asf20
1,982
<?php class PublisherController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public func...
zy-task
trunk/rapid/protected/controllers/PublisherController.php
PHP
asf20
4,040
<?php class BookController extends BController { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public function...
zy-task
trunk/rapid/protected/controllers/BookController.php
PHP
asf20
4,166
<?php class WishController extends BController { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout='//layouts/column2'; /** * @return array action filters */ public function...
zy-task
trunk/rapid/protected/controllers/WishController.php
PHP
asf20
5,113
<?php // change the following paths if necessary $yii='/opt/lampp/htdocs/yii/framework/yii.php'; $config=dirname(__FILE__).'/../config/main.php'; // remove the following lines when in production mode defined('YII_DEBUG') or define('YII_DEBUG',true); // specify how many levels of call stack should be shown in each l...
zy-task
trunk/rapid/protected/utils/job_entry.php
PHP
asf20
471
<?php return CMap::mergeArray( require(dirname(__FILE__).'/main.php'), array( 'components'=>array( 'fixture'=>array( 'class'=>'system.test.CDbFixtureManager', ), 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=cbdb_test', 'emulate...
zy-task
trunk/rapid/protected/config/test.php
PHP
asf20
500
<?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'Comic B...
zy-task
trunk/rapid/protected/config/main.php
PHP
asf20
4,370
<?php // This is the configuration for yiic console application. // Any writable CConsoleApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'My Console Application', // application components 'components'=>array( 'db'=>array(...
zy-task
trunk/rapid/protected/config/console.php
PHP
asf20
964
@echo off rem ------------------------------------------------------------- rem Yii command line script for Windows. rem This is the bootstrap script for running yiic on Windows. rem ------------------------------------------------------------- @setlocal set BIN_PATH=%~dp0 if "%PHP_COMMAND%" == "" set PHP_COMMAND...
zy-task
trunk/rapid/protected/yiic.bat
Batchfile
asf20
380
.list-view-loading { background:url(loading.gif) no-repeat; } .list-view .summary { margin: 0 0 5px 0; text-align: right; } .list-view .sorter { margin: 0 0 5px 0; text-align: right; } .list-view .pager { margin: 5px 0 0 0; text-align: right; } .list-view .sorter { font-size: 0.9em; } .list-view .sorter ul...
zy-task
trunk/rapid/assets/efdb5f50/listview/styles.css
CSS
asf20
724
/** * jQuery Yii ListView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { /** * yiiListView set function. * @param options map settings f...
zy-task
trunk/rapid/assets/efdb5f50/listview/jquery.yiilistview.js
JavaScript
asf20
5,582
.grid-view-loading { background:url(loading.gif) no-repeat; } .grid-view { padding: 15px 0; } .grid-view table.items { background: white; border-collapse: collapse; width: 100%; border: 1px #D0E3EF solid; } .grid-view table.items th, .grid-view table.items td { font-size: 0.9em; border: 1px white solid; pad...
zy-task
trunk/rapid/assets/efdb5f50/gridview/styles.css
CSS
asf20
1,606
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ (function ($) { var selectCheckedRows, methods, gridSettings = []; /** * 1. Se...
zy-task
trunk/rapid/assets/efdb5f50/gridview/jquery.yiigridview.js
JavaScript
asf20
16,358
table.detail-view .null { color: pink; } table.detail-view { background: white; border-collapse: collapse; width: 100%; margin: 0; } table.detail-view th, table.detail-view td { font-size: 0.9em; border: 1px white solid; padding: 0.3em 0.6em; vertical-align: top; } table.detail-view th { text-align: right;...
zy-task
trunk/rapid/assets/efdb5f50/detailview/styles.css
CSS
asf20
508
/** * CSS styles for form and input fields. * * These styles are used with form and input fields generated via yiic script. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2009 Yii Software LLC * @license http://www.yiiframework.com/l...
zy-task
trunk/rapid/assets/73675ccb/srbac.css
CSS
asf20
6,835
/** * CSS styles for CLinkPager. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @since 1.0 */ ul.yiiPager { font-size:11px; border:0; margin:0; padding:0; line-heigh...
zy-task
trunk/rapid/assets/6070a693/pager.css
CSS
asf20
895
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.yii = { version : '1.0', submitForm : function (element, url, params) {...
zy-task
trunk/rapid/assets/34c79422/jquery.yii.js
JavaScript
asf20
1,161
/* ### jQuery Star Rating Plugin v3.14 - 2012-01-26 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
zy-task
trunk/rapid/assets/34c79422/jquery.rating.js
JavaScript
asf20
14,528
.yiiTab ul.tabs { padding: 2px 0; margin: 0; border-bottom: 1px solid #4F81BD; font: bold 12px Verdana, sans-serif; } .yiiTab ul.tabs li { list-style: none; margin: 0; display: inline; } .yiiTab ul.tabs a { -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; padding: 2px...
zy-task
trunk/rapid/assets/34c79422/yiitab/jquery.yiitab.css
CSS
asf20
897
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.p...
zy-task
trunk/rapid/assets/34c79422/jquery.ajaxqueue.js
JavaScript
asf20
2,934
/* * jQuery Autocomplete plugin 1.1 * * Modified for Yii Framework: * - Renamed "autocomplete" to "legacyautocomplete". * - Fixed IE8 problems (mario.ffranco). * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * ht...
zy-task
trunk/rapid/assets/34c79422/jquery.autocomplete.js
JavaScript
asf20
21,503
/*! * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 * http://benalman.com/projects/jquery-bbq-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Script: jQuery BBQ: Back Button & Query Library // // *Version...
zy-task
trunk/rapid/assets/34c79422/jquery.ba-bbq.js
JavaScript
asf20
42,516
/* * Metadata - jQuery plugin for parsing metadata from elements * * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: j...
zy-task
trunk/rapid/assets/34c79422/jquery.metadata.js
JavaScript
asf20
5,035
/** * jQuery yiiactiveform plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @since 1.1.1 */ (function ($) { /* * returns the value of the CActiveForm input ...
zy-task
trunk/rapid/assets/34c79422/jquery.yiiactiveform.js
JavaScript
asf20
14,193
/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-...
zy-task
trunk/rapid/assets/34c79422/jquery.treeview.js
JavaScript
asf20
8,203
(function($) { var CLASSES = $.treeview.classes; var proxied = $.fn.treeview; $.fn.treeview = function(settings) { settings = $.extend({}, settings); if (settings.add) { return this.trigger("add", [settings.add]); } if (settings.remove) { return this.trigger("remove", [settings.remove]); } return p...
zy-task
trunk/rapid/assets/34c79422/jquery.treeview.edit.js
JavaScript
asf20
1,567
.ac_results { padding: 0px; border: 1px solid black; background-color: white; overflow: hidden; z-index: 99999; } .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0; } .ac_results li { margin: 0px; padding: 2px 5px; cursor: default; display: block; /* ...
zy-task
trunk/rapid/assets/34c79422/autocomplete/jquery.autocomplete.css
CSS
asf20
797
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Version 2.1.2 */ (function($){ $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { s = $.extend({ top : 'auto', // auto == .currentStyle.borderTo...
zy-task
trunk/rapid/assets/34c79422/jquery.bgiframe.js
JavaScript
asf20
1,724
/* * Async Treeview 0.1 - Lazy-loading extension for Treeview * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
zy-task
trunk/rapid/assets/34c79422/jquery.treeview.async.js
JavaScript
asf20
2,974
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */ div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden} div.rating-cancel,div.rating-cancel a{background:url(delete.gif) no-repeat 0 -16px} ...
zy-task
trunk/rapid/assets/34c79422/rating/jquery.rating.css
CSS
asf20
836
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.extend($.fn, { yiitab: function() { function activate(id) { var...
zy-task
trunk/rapid/assets/34c79422/jquery.yiitab.js
JavaScript
asf20
1,193
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. * * @examp...
zy-task
trunk/rapid/assets/34c79422/jquery.cookie.js
JavaScript
asf20
3,937
.treeview, .treeview ul { padding: 0; margin: 0; list-style: none; } .treeview ul { background-color: white; margin-top: 4px; } .treeview .hitarea { background: url(images/treeview-default.gif) -64px -25px no-repeat; height: 16px; width: 16px; margin-left: -16px; float: left; cursor: point...
zy-task
trunk/rapid/assets/34c79422/treeview/jquery.treeview.css
CSS
asf20
2,725
/* Masked Input plugin for jQuery Copyright (c) 2007-2011 Josh Bush (digitalbush.com) Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) Version: 1.3 */ (function($) { var pasteEventName = ($.browser.msie ? 'paste' : 'input') + ".mask"; var iPhone = (window.orientation ...
zy-task
trunk/rapid/assets/34c79422/jquery.maskedinput.js
JavaScript
asf20
6,822
/*! http://mths.be/punycode by @mathias */ ;(function(root) { /** * The `punycode` object. * @name punycode * @type Object */ var punycode, /** Detect free variables `define`, `exports`, `module` and `require` */ freeDefine = typeof define == 'function' && typeof define.amd == 'object' && define.amd && ...
zy-task
trunk/rapid/assets/34c79422/punycode.js
JavaScript
asf20
14,083
function update_roles(updateUrl) { // reload the role select field $.ajax({ type: 'get', url: updateUrl, data: { "ajax" : "1" }, success: function(resp) { console.log(resp); ...
zy-task
trunk/rapid/js/user_form_ajax.js
JavaScript
asf20
1,184
$(document).ready(function() { $('.delete').click(function() { var author = "#author-" + $(this).attr('author_id'); $.ajax({ type: 'get', url: $(this).attr('url'), success: function() { $('li').remove(author); }, error: function() { ...
zy-task
trunk/rapid/js/book_form_ajax.js
JavaScript
asf20
963
$(document).ready(function() { $('.claim').click(function() { $.ajax({ type: 'get', url: $(this).attr('url'), data: {"ajax" : "1"}, success: function(resp) { console.log(resp); $("ul.authors").append(resp); }, error: function() { // FIXM...
zy-task
trunk/rapid/js/wish_list_ajax.js
JavaScript
asf20
390
<?php /** * This is the bootstrap file for test application. * This file should be removed when the application is deployed for production. */ // change the following paths if necessary $yii=dirname(__FILE__).'/../../../../opt/lampp/htdocs/yii-1.1.10.r3566/framework/yii.php'; $config=dirname(__FILE__).'/protected/c...
zy-task
trunk/rapid/index-test.php
PHP
asf20
505
body { margin: 0; padding: 0; color: #555; font: normal 10pt Arial,Helvetica,sans-serif; background: #EFEFEF; } #page { margin-top: 5px; margin-bottom: 5px; background: white; border: 1px solid #C9E0ED; } #header { margin: 0; padding: 0; border-top: 3px solid #C9E0ED; } #content { padding: 20px; } #...
zy-task
trunk/rapid/css/main.css
CSS
asf20
3,082
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
zy-task
trunk/rapid/css/screen.css
CSS
asf20
10,761
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
zy-task
trunk/rapid/css/print.css
CSS
asf20
1,286
/* ----------------------------------------------------------------------- Blueprint CSS Framework 1.0.1 http://blueprintcss.org * Copyright (c) 2007-Present. See LICENSE for more info. * See README for instructions on how to use Blueprint. * For credits and origins, see AUTHORS. * This is a compressed...
zy-task
trunk/rapid/css/ie.css
CSS
asf20
1,938
<?php // change the following paths if necessary $yii=dirname(__FILE__).'/../../yii/framework/yii.php'; $config=dirname(__FILE__).'/protected/config/main.php'; // remove the following lines when in production mode defined('YII_DEBUG') or define('YII_DEBUG',true); // specify how many levels of call stack should be sho...
zy-task
trunk/rapid/index.php
PHP
asf20
466
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
zy-soft-jxc
trunk/zul/fckconfig.js
JavaScript
asf20
14,169
/* * ZybImport - zyb importer for android * Copyright (C) 2009 Søren Juul <zpon.dk at gmail.com> * * 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 (...
zyb-import
src/dk/zpon/zybImport/ZybImport.java
Java
gpl2
19,977
/* * ZybImport - zyb importer for android * Copyright (C) 2009 Søren Juul <zpon.dk at gmail.com> * * 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 (...
zyb-import
src/dk/zpon/zybImport/CheckAdapter.java
Java
gpl2
3,693
package com.rokonexamples.helloworld; import com.stickycoding.rokon.Scene; import com.stickycoding.rokon.Sprite; import com.stickycoding.rokon.background.FixedBackground; public class GameScene extends Scene { private FixedBackground background; public GameScene() { super(); setBackground(backgr...
zyc-test
trunk/helloworld_1.0/src/com/rokonexamples/helloworld/GameScene.java
Java
gpl3
573
package com.rokonexamples.helloworld; import com.rokonexamples.helloworld.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; public class Receive extends Activity{ private TextView show=null; @Override public void onCreate(Bundle savedInstanc...
zyc-test
trunk/helloworld_1.0/src/com/rokonexamples/helloworld/Receive.java
Java
gpl3
582
package com.rokonexamples.helloworld; import android.app.*; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class Send extends Activity{ private Button mybut = null; @Override public void onCreate(Bund...
zyc-test
trunk/helloworld_1.0/src/com/rokonexamples/helloworld/Send.java
Java
gpl3
757
package com.rokonexamples.helloworld; import com.stickycoding.rokon.Scene; import com.stickycoding.rokon.Sprite; import com.stickycoding.rokon.background.FixedBackground; public class GameScene extends Scene { private FixedBackground background; public GameScene() { super(); setBackground(backgr...
zyc-test
trunk/helloworld/src/com/rokonexamples/helloworld/GameScene.java
Java
gpl3
573
package com.rokonexamples.helloworld; import com.rokonexamples.helloworld.R; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; public class Receive extends Activity{ private TextView show=null; @Override public void onCreate(Bundle savedInstanc...
zyc-test
trunk/helloworld/src/com/rokonexamples/helloworld/Receive.java
Java
gpl3
582
package com.rokonexamples.helloworld; import android.app.*; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class Send extends Activity{ private Button mybut = null; @Override public void onCreate(Bund...
zyc-test
trunk/helloworld/src/com/rokonexamples/helloworld/Send.java
Java
gpl3
757
# 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 "..\...
zy199402-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....
zy199402-vim
Makefile
Makefile
gpl2
22,365
/* 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_amiga.c * * Amiga system-dependent ro...
zy199402-vim
src/os_amiga.c
C
gpl2
36,482
/* vi:set ts=8 sts=4 sw=4: * * CSCOPE support for Vim added by Andy Kahn <kahn@zk3.dec.com> * Ported to Win32 by Sergey Khorev <sergey.khorev@gmail.com> * * The basic idea/structure of cscope for Vim was borrowed from Nvi. * There might be a few lines of code that look similar to what Nvi * has. If this is a pr...
zy199402-vim
src/if_cscope.h
C
gpl2
2,393
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
zy199402-vim
src/gvimtutor
Shell
gpl2
143
/* 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...
zy199402-vim
src/option.h
C
gpl2
34,922
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
zy199402-vim
src/vimtutor
Shell
gpl2
2,084
/* vi:set ts=8 sts=4 sw=4: * * 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. */ #if !defined(GUI_BEVAL_H) && (defined(FEAT_BEVAL) || def...
zy199402-vim
src/gui_beval.h
C
gpl2
2,219
# # Makefile for VIM, using DICE 3 # #>>>>> choose options: ### See feature.h for a list of optionals. ### Any other defines can be included here. DEFINES = -DHAVE_TGETENT -DUP_BC_PC_EXTERN -DOSPEED_EXTERN #>>>>> if HAVE_TGETENT is defined o/termlib.o has to be used TERMLIB = o/termlib.o #TERMLIB = #>>>>> end of cho...
zy199402-vim
src/Make_dice.mak
Makefile
gpl2
3,821
# Makefile for Borland C++ 3.1 or 4.0 to compile a 16 bit version of Vim. # # There are compilation options at the end of this file. # # Command line variables: # BOR path to root of Borland C (E:\BORLANDC) # DEBUG set to "yes" for debugging (no) # SPAWNO path to the spawno library directory, empty if you do not have...
zy199402-vim
src/Make_bc3.mak
Makefile
gpl2
2,980
/* 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, David...
zy199402-vim
src/if_py_both.h
C
gpl2
130,759
/* 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...
zy199402-vim
src/gui_x11.c
C
gpl2
88,390
/* 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...
zy199402-vim
src/if_python3.c
C
gpl2
53,665
/* 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. */ /* * hardcopy.c: printing to paper */ #includ...
zy199402-vim
src/hardcopy.c
C
gpl2
97,382
Test for script-local function. vim: set ft=vim : STARTTEST :so small.vim :" :set nocp viminfo+=nviminfo :/^start:/+1,/^end:/-1w! Xtest.vim :source Xtest.vim _x :$-1,$wq! test.out ENDTEST start: fun <SID>DoLast() call append(line('$'), "last line") endfun fun s:DoNothing() call append(line('$'), "nothing line...
zy199402-vim
src/testdir/test56.in
Vim Script
gpl2
457
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh
zy199402-vim
src/testdir/unix.vim
Vim Script
gpl2
102
# # Makefile to run all tests for Vim # VIMPROG = ../vim # Uncomment this line to use valgrind for memory leaks and extra warnings. # The output goes into a file "valgrind.testN" # Vim should be compiled with EXITFREE to avoid false warnings. # This will make testing about 10 times as slow. # VALGRIND = valgrin...
zy199402-vim
src/testdir/Makefile
Makefile
gpl2
3,383
Tests for multi-line regexps with ":s". vim: set ft=vim : STARTTEST :" test if replacing a line break works with a back reference :/^1/,/^2/s/\n\(.\)/ \1/ :" test if inserting a line break works with a back reference :/^3/,/^4/s/\(.\)$/\r\1/ :" test if replacing a line break with another line break works :/^5/,/^6/s/\...
zy199402-vim
src/testdir/test46.in
Vim Script
gpl2
431
# # Makefile to run all tests for Vim, on Amiga # # Requires "rm", "csh" and "diff"! VIMPROG = /vim # These tests don't work (yet): # test2 "\\tmp" doesn't work # test10 'errorformat' is different # test11 "cat" doesn't work properly # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit f...
zy199402-vim
src/testdir/Make_amiga.mak
Makefile
gpl2
3,792
Tests for various python features. vim: set ft=vim : STARTTEST :so small.vim :set noswapfile :if !has('python3') | e! test.ok | wq! test.out | endif :lang C :fun Test() :py3 import vim :let l = [] :py3 l=vim.bindeval('l') :py3 f=vim.bindeval('function("strlen")') :" Extending List directly with different types :py...
zy199402-vim
src/testdir/test87.in
Vim Script
gpl2
33,066
" Vim script language tests " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> " Last Change: 2013 Jun 06 "------------------------------------------------------------------------------- " Test environment {{{1 "------------------------------------------------------------------------------- ...
zy199402-vim
src/testdir/test49.vim
Vim Script
gpl2
225,409
# # Makefile to run all tests for Vim, on Dos-like machines. # # Requires a set of Unix tools: echo, diff, etc. VIMPROG = ..\\vim # Omitted: # test2 "\\tmp" doesn't work. # test10 'errorformat' is different # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit file with "*" in file name #...
zy199402-vim
src/testdir/Make_dos.mak
Makefile
gpl2
2,757
import before_2 dir = "after"
zy199402-vim
src/testdir/python_after/after.py
Python
gpl2
30
Tests for List and Dictionary types. vim: set ft=vim : STARTTEST :so small.vim :fun Test(...) :lang C :" Creating List directly with different types :let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},] :$put =string(l) :$put =string(l[-1]) :$put =string(l[-4]) :try : $put =string(l[-5]) :catch : $put =v:...
zy199402-vim
src/testdir/test55.in
Vim Script
gpl2
8,118
" Settings for test script execution " Always use "CMD.EXE", don't use the value of "$SHELL". set shell=CMD.EXE shellquote= shellxquote= shellcmdflag=/c shellredir=>
zy199402-vim
src/testdir/os2.vim
Vim Script
gpl2
166
# # Makefile to run all tests for Vim, on Dos-like machines # with sh.exe or zsh.exe in the path or not. # # Author: Bill McCarthy # # Note that test54 has been removed until it is fixed. # # Requires a set of Unix tools: echo, diff, etc. ifneq (sh.exe, $(SHELL)) DEL = rm -f MV = mv CP = cp DIRSLASH = / else DEL = del...
zy199402-vim
src/testdir/Make_ming.mak
Makefile
gpl2
2,683
Tests for the exists() function. vim: set ft=vim : STARTTEST :so small.vim :function! RunTest(str, result) if exists(a:str) == a:result echo "OK" else echo "FAILED: Checking for " . a:str endif endfunction :function! TestExists() augroup myagroup autocmd! BufEnter *.my echo 'myfile edited' augr...
zy199402-vim
src/testdir/test60.in
Vim Script
gpl2
12,483
Tests for sha256() function. vim: set ft=vim et ts=2 sw=2 : STARTTEST :so small.vim :if !has('cryptv') || !exists('*sha256') e! test.ok wq! test.out :endif :" :let testcase='test for empty string: ' :if sha256("") ==# 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' : let res='ok' :else : le...
zy199402-vim
src/testdir/test90.in
Vim Script
gpl2
1,203
# # Makefile to run all tests for Vim, on OS/2 # # Requires a set of Unix tools: echo, diff, etc. VIMPROG = ../vim.exe # Omitted: # test2 "\\tmp" doesn't work. # test10 'errorformat' is different # test11 requires sed # test12 can't unlink a swap file # test25 uses symbolic link # test27 can't edit file with "*" in ...
zy199402-vim
src/testdir/Make_os2.mak
Makefile
gpl2
1,952
Tests for completefunc/omnifunc. vim: set ft=vim : STARTTEST :"Test that nothing happens if the 'completefunc' opens :"a new window (no completion, no crash) :so small.vim :function! DummyCompleteOne(findstart, base) : if a:findstart : return 0 : else : wincmd n : return ['onedef', 'oneDEF'] : endif :endfu...
zy199402-vim
src/testdir/test76.in
Vim Script
gpl2
899
:" Script to make sure a file is in "dos" file format. :set ff=dos :wq
zy199402-vim
src/testdir/todos.vim
Vim Script
gpl2
71
" Vim script for exists() function test " Script-local variables are checked here " Existing script-local variable let s:script_var = 1 echo 's:script_var: 1' if exists('s:script_var') echo "OK" else echo "FAILED" endif " Non-existing script-local variable unlet s:script_var echo 's:script_var: 0' if !exists(...
zy199402-vim
src/testdir/test60.vim
Vim Script
gpl2
1,757
" Settings for test script execution set shell=csh map! /tmp t: cmap !rm !Delete all
zy199402-vim
src/testdir/amiga.vim
Vim Script
gpl2
85
" Settings for test script execution " Always use "COMMAND.COM", don't use the value of "$SHELL". set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=> " This is used only when the +eval feature is available. if executable("cmd.exe") set shell=cmd.exe endif
zy199402-vim
src/testdir/dos.vim
Vim Script
gpl2
286
Tests for getbufvar(), getwinvar(), gettabvar() and gettabwinvar(). vim: set ft=vim : STARTTEST :so small.vim :" :" Test for getbufvar() :" Use strings to test for memory leaks. :let b:var_num = '1234' :let def_num = '5678' :$put =string(getbufvar(1, 'var_num')) :$put =string(getbufvar(1, 'var_num', def_num)) :$put =s...
zy199402-vim
src/testdir/test91.in
Vim Script
gpl2
2,679
" Settings for test script execution under OpenVMS " Do not make any swap files set noswapfile
zy199402-vim
src/testdir/vms.vim
Vim Script
gpl2
96
#
zy199402-vim
src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
Python
gpl2
2
#
zy199402-vim
src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py
Python
gpl2
2
#
zy199402-vim
src/testdir/pythonx/topmodule/submodule/__init__.py
Python
gpl2
2
#
zy199402-vim
src/testdir/pythonx/topmodule/__init__.py
Python
gpl2
2