Sat Jan 12 10:22:59 AM PST 2002 Chris Phelps
* integrate patch for paned window cycling by Giuseppe Corbelli
Sat Jan 12 16:25:47 EST 2002 Alejandro Dubrovsky
* gnome-file-selector.c:
Fix crash when completion completes full filename.
Thu Jan 10 10:25:40 AM PST 2002 Chris Phelps
* HACKING:
describe the proper indentation behavior
* scripts/Bookmarks.py:
added
* po/de.po
added
* all:
new indentation standard
Mon Jan 07 04:51:28 EST 2002 Alejandro Dubrovsky
* insert.c: (insert_file_cb) Make gnome_file_selector a transient of main
Mon Dec 24 16:11:29 EST 2001 Alejandro Dubrovsky
* Global.py: New version of global interface by Giuseppe Corbelli.
Fri Dec 21 20:48:44 EST 2001 Alejandro Dubrovsky
* file-io.c: Made get_time check for the linked-to file's modification time if the
file being checked is a link. Also, changed the function's name to
get_modification_time.
Thu Dec 20 00:52:03 EST 2001 Alejandro Dubrovsky
* gnome-file-selector.c:
Added initial tab-completion. ATM, it lacks directory cacheing (there are other
performance issues too), home-directory handling, and there are other minor
bugs, but that should slowly change.
* gnome-file-selector.h:
Added gnome-file-selector-get-dirs to the exported functions (needed to clear
completion garbage)
* file-io.c, insert.c:
Call gnome-file-selector-get-dirs before opening previously existent file-selector.
Fri Dec 07 13:00:00 EST 2001 Alejandro Dubrovsky
* gnome-file-selector.c:
Added setting, getting and intialising with specific directory histories
* file-io.c, insert.c:
Merged save-as, open and insert file directory histories
* session.c:
Merged save-as and open session directory histories.
* getprefs.c:
Added function to save/load directory histories
* main.c:
Save session and file directory histories on exit. Load on startup.
Sat Dec 01 12:38:53 PM PST 2001 Chris Phelps
* main.c (main_finish) fixed a "line proximity" bug in the argument processing
loop that caused a g_free() on some memory multiple times if multiple files
were specified on the command line.
Fri Nov 30 05:20:06 PM PST 2001 Chris Phelps
* applied patch from Alejandro Dubrovsky
to implement the saving of files over the top of a symlink.
Sat Nov 17 02:27:43 PM PST 2001 Chris Phelps
* gnome-file-selector.c, (gnome_file_selector_get_dirs):
fixed to handle symbolic links.
Fri Nov 16 12:36:12 PM PST 2001 Chris Phelps
* file-io.c
(create_file):
only close file handle if the create succeeds.
(save_file_full):
conditional when calling create_file to see if it succeeds. If not, popup a dialog and return immediatly.
Thu Nov 01 05:38:36 PM PST 2001 Chris Phelps
* menus.[c/h], windows.[c/h], main.c, bindings-python.c:
Added menus for "Previous Paned Item", "Next Paned Item", "Focus Paned Item", and "Focus Current File"
and related impl. code. This will improve overall accesability, etc.
Wed Oct 31 12:09:51 AM PST 2001 Chris Phelps
* main.[c/h]:
allow for notebooks inside paned areas so we can have multiple children in an organized manner.
use a GHashTable to keep track of children via a key.
* bindings-python.c:
(add_paned_object) uses new notebook layout,etc.
(remove_paned_object) ditto.
(get_paned_object) yeah, again...
(ref_paned_object, unref_paned_object) needed because pygtk doesnt provide this.
* scripts/Global.py:
modified to match general style of the FileSelector.
Tue Oct 30 09:08:50 PM PST 2001 Chris Phelps
* bindings-python.c, gdsfile.c, gdsfile.h, signals.c, signals.h:
Added generalized key-pressed event for python scripting purposes.
* scripts/Global.py:
Added interface for 'global' script by Giuseppe Corbelli.
Mon Oct 29 09:09:13 PM PST 2001 Chris Phelps
* menus.[c/h], searches.[c/h], mdi-routines.c:
Added menu item, callback, etc. for "select to matching bracket"
* main.c:
Added -n, --none command line argument to allow for opening zero files no matter what the current settings are.
Fri Oct 26 05:14:44 PM PDT 2001 Chris Phelps
* gtkextext.[c/h]: backported more changes from glimmer2 work.
* languages/*ml.lang:
synced up all language entries that use html tags. (html, dhtml, perl, etc)
* others: cleaning/fixing to make everything work with gtkextext changes.
Thu Oct 25 10:11:12 PM PDT 2001 Chris Phelps
* gnomefilelist.[c/h]: renamed to gnome-file-selector.[c/h]
* gnome-file-selector.[c/h]:
Improved UI design. Removed menus and replaced with toggle buttons/etc.
New icons for "common targets" (Home, Src, etc)
* main.c:
dont do a sleep(1)
kill the splash screen right before we show the main window.
* splash.c:
window is a toplevel instead of a popup
* file-io.c, insert.c, dialogs.c, session.c: s/gnome_filelist/gnome_file_selector
Sun Oct 21 09:52:14 PM PDT 2001 Chris Phelps
* gnomefilelist.c:
fixed bug when we dont have the proper icons, but gnome-vfs says we do.
Tue Oct 16 01:04:05 PM PDT 2001 chicane
* libprint/print.[c/h]:
implemented copies & collate options for printing (backport from glimmer 2...maybe 5 lines of code)
* searches.c:
fixed replace with multi-file on to actually work.
Tue Oct 16 09:59:29 AM PDT 2001 chicane
* libprint/print.c:
back-ported some changed in the printing code for glimmer2
fixed a GTK_EDITABLE() reference that should have been changed to GTK_EXTEXT()
moved the selection determining code to the right place so that should work now.
* main.c:
added code to allow for opening files in cwd. This was previously broken on the change to GNOME-VFS
Sat Oct 13 12:04:01 PM PDT 2001 chicane
searches.c:
* Go to the right line, not line-1.
Wed Sep 26 01:57:19 PM PDT 2001 chicane
insert.[c/h], menus.c:
* Fixed typo in Insert GPL Notice, and added Insert LGPL Notice.
others:
* Fixed typos in GPL Notice headers
Tue Sep 25 05:52:07 PM PDT 2001 chicane
file-io.c, gdsfile.c, gnomefilelist.c:
* use gnome_vfs_unescape_string() to remove % encoded stuff.
Sun Sep 23 01:46:04 PM PDT 2001 chicane
perl.lang:
* fixed a small typo in this definition for a keywords secion...\b instead of \n
Fri Aug 24 01:18:25 PM PDT 2001 chicane
settings.c, gtkextext.c:
* draw_pixmaps and draw_line_numbers options take effect immediatly as they should now.
Thu Aug 16 04:31:03 PM PDT 2001 chicane
settings.c, toolbar.c:
* Added support for changing toolbar styles icons, text, both
* Major code cleaning and rearrangement
Wed Aug 15 07:05:48 PM PDT 2001 chicane
gnome-vfs-remote-dialog.[c/h]:
* New composite widget to open up files from another computer.
gnome-password-dialog.[c/h]:
* Widget to prompt the user for a user name and password.
file-io.c:
* save routines check to see if we need a password.
* convert many routines from filenames to uris.
mdi-routines.c, getprefs.c, settings.c:
* Changable colors for notebook tabs
Mon Aug 13 02:18:37 PM PDT 2001 chicane
file-io.c:
* Fixed async save/open routines to deal with empty files properly.
Sun Aug 12 06:06:53 PM PDT 2001 chicane
file-io.c:
* Fixed get_time() bug...was assigning to result (a GnomeVFSResult) instead of retval.
Sat Aug 11 11:37:44 PM PDT 2001 chicane
misc.:
* New function: localize_uri_string() to remove file:// from filenames
file-io.c:
* Fixed small g_free() that should have been removed earlier with some other code.
session.c:
* Use localize_uri_string() with gnomefilelist widget to get right filenames for use with non-vfs file access functions.
Sat Aug 11 04:45:22 PM PDT 2001 chicane
dragndrop.c, findbar.c, highlightbar.c insert.c, main.c, toolbar.c:
* il8n updates
Sat Aug 11 03:56:32 PM PDT 2001 chicane
gnomefilelist.c:
* Cleaned up some debug printing
settings.c, settings.h, getprefs.c:
* Added "All files are transfered asyncronously?" option.
file-io.c:
* Cleaned up async file open
* Modified all saving code for optional async mode
* Support for new async transfer option: remote files are opened async always, local files can be opened async if option is set.
Sun Aug 05 07:47:23 PM PDT 2001 chicane
gnomefilelist.[c/h]:
* Added multiple selection support.
* Other code cleaning and such.
file-io.c, menus.c:
* Remove Open Multiple Files dialog stuff
* Added support for multiple file selection support in the regular open dialog
Wed Aug 01 10:03:07 PM PDT 2001 chicane
gnomefilelist.[c/h]:
* Added shortcuts drop-down menu with Home, Desktop, Documents, etc
* Added quick keypress search to file and directory lists.
* Fixed history system
* Added "toggle show of dot files" button
settings.c, getprefs.c:
* Added "Show dot files in selection dialogs?" option
Tue Jul 31 11:31:30 PM PDT 2001 chicane
file-io.c
* Convert all file-io functions to use gnome-vfs
* Support remote file-io
gnomefilelist.[c/h]:
* Convert all file-io functions to use gnome-vfs
Thu Jul 26 07:16:56 PM PDT 2001 chicane
macro-language.c:
* Convert build_menu_from_scripts_dir() function from regular gtk menus to GnomeUIInfo items so that users can have keybindings for the Scripts menu saved between sessions.
* Replace underscores with spaces when building the menu labels (accelerator issues were occuring, and it just looks better that way)
Wed Jul 25 07:33:07 PM PDT 2001 chicane
splash.[c/h]:
* Added support for icons in the splash screen
main.c:
* Add GNOME_STOCK icons to the splash screen
Tue Jul 24 11:15:15 PM PDT 2001 chicane
splash.[c/h]:
* Composite splash screen widget
main.c:
* Updated to use splash screen
Tue Jul 24 05:32:49 PM PDT 2001 chicane
main.c:
* added function that tells gnome to save dock layout.
bindings-python.c:
* some changes to add/remove_paned_object()
* connect to hide/show signals of object in paned widget and set gutter width, etc
* New function: add_widget_to_menu() for adding stuff like GtkCheckMenuItem's and such for preferences.
scripts/FileSelector.py:
* Removed show/hide buttons
* Use new add_widget_to_menu() function to add a CheckItem to the View menu
* Change "File Selector" label to a button with a dropdown menu that has options for the file selection dialog in it.
* Added option to hide files/directories that start with a '.'
* Start in cwd instead of "/"
Mon Jul 23 05:26:08 PM PDT 2001 chicane
main.c:
* Added 4 GtkPaned widgets for new docking style.
bindings-python.c:
* Added support for add_paned_object() and remove_paned_object()
scripts/FileSelector.py:
* Changed to use new *_paned_object() calls instead of GnomeDock
Mon Jul 23 12:38:55 PM PDT 2001 chicane
scripts/FileSelector.py:
* Added label + hide/show and close buttons
Sun Jul 22 05:05:51 PM PDT 2001 chicane
file-io.c, menus.c:
* Move recent menu code from file-io.c to menus.c
configure.in:
* Fix to not build python support if version has major number 2.
*.[c/h]:
* Major code cleaning and header structure improvement.
customize.html:
* Updated customization information for new xml based language definitions.
Sat Jul 21 09:43:56 AM PDT 2001 chicane
build.c:
* Small fix for building under FreeBSD (include sys/wait.h instead of wait.h)
gdseditor.c:
* Apply patch to fix some highlighting problems with quotes and backslashes.
Mon Jul 16 05:20:19 PM EDT 2001 Chris Phelps
dragndraop.c:
* Implemented dnd support for directories, including prompt for recursive open.
menus.c:
* Added some insertion stuff to the popup menu.
Sun Jul 08 08:20:43 PM PDT 2001 chicane
dragndrop.c:
* Ask for confirmation on drop
* Error dialog when trying to open directories
gdseditor.c:
* Implement dnd support for colors from gimp, gtkcolorsel, etc.
insert.c:
* Add Insert Color dialog with support for parsing $XXXXXX input as well (as a selection).
Sun Jul 08 01:25:34 PM PDT 2001 chicane
gdstearaway.c:
* Fixed GdsTearAway widget to automatically set the new window size to the old size of the GdsTearAway widget wherever it was before it was torn.
settings.c, getprefs.c, main.c:
* Added color option for gutter background color so it is no longer the same as the bracket matching background color.
Fri Jul 06 10:57:21 PM PDT 2001 chicane
Fixed some improper focus behavior with tear away windows and such.
Replaced radio menu items with normal menu items in highlight bar option menu.
Code cleaning.
Fri Jul 06 09:55:45 AM PDT 2001 chicane
Updated all language definitions to properly insert menu items on non-english systems (I HOPE)
Thu Jul 05 09:20:01 PM PDT 2001 chicane
Updated php.lang with changes from Steve Fox.
Wed Jul 04 03:01:38 PM PDT 2001 chicane
Removed all GtkExText code having to do with GtkEditable stuff.
Removed all GtkEditable code in glimmer.
Mon Jul 02 04:34:28 PM PDT 2001 chicane
Fix little bug that caused the compiler and debugger strings to get jacked in GdsFile settings (mistype in the parser)
Mon Jul 02 08:49:49 AM PDT 2001 chicane
Fixed some uglyness in GnomeFileList...works like a sane file selector now.
Sun Jul 01 09:27:50 PM PDT 2001 chicane
Added "Print lines numbers every n lines" option in print preferences.
Thu Jun 28 10:54:37 PM PDT 2001 chicane
Wrote a C program to convert the old pseudo html/xml hybrid language definitions to full xml compliance for use with the new parser (using libxml now)
Converted and bugfixed all the language definitions.
Thu Jun 07 4:52:09 PM PDT 2001 chicane
After requests from Mandrake, and a report from Ximian, I decided that I would have to break down and add support for disabling Python, because it wasn't working with 2.x, and apparently you're not supposed to link GPL programs with it...anyway, just do a --disable-python on the configure line and all is cool.
Tue Jun 05 03:53:58 PM PDT 2001 chicane
Layed some smack down on GtkExText code. See the Changelog in the GtkExText directory.
Fri Apr 27 05:44:57 PM PDT 2001 chicane
Fix compiler warnings for RedHat 7.0/7.1 w/ gcc 2.96
Thu Mar 01 21:05:50 PST 2001 chicane
settings.c, getprefs.c:
Finished implementing all needed options for printing (orientation, font size, etc)
print.c:
Fixed code for changable fonts and such.
Wed Feb 28 22:03:14 PST 2001 chicane
Added printing support jacked from gEdit!
All printing related stuff is in the src/libprint directory.
Tue Feb 27 19:02:42 PST 2001 chicane
bindings_python.c:
Removed specific add_* for scripts, insert, and build, and build new generic functions that will work for any menu.
languages/*.lang:
Fixed language defs for new add_* functions.
Tue Feb 27 01:01:22 PST 2001 chicane
gtkextext.c:
Small modification to some code order in the expose_text function to prevent a Gdk-Critical due to passing a NULL pointer to a GdkPixmap.
Mon Feb 26 22:00:02 PST 2001 chicane
perl.lang
Added a patch from Richard Balint to fix some small highlighting issues.
asp.lang
Added new language definition.
Sun Feb 18 02:00:01 PM PST 2001 chicane
gtkextext.[c/h]:
Using new GtkExText 1.0.0 from Mikael Hermanson. This includes all of my changes plus some new bugfixes by Mikael that fix the only known Glimmer segmentation fault.
gdseditor.c, gdsfile.c, bindings.c, edit.c, main.c, mdi-routines.c, searches.c:
Fix some small source incomapabilites with new gtkextext.
Sun Feb 04 07:41:01 PM PST 2001 chicane
settings.c:
Added icons to the preferences window.
Sat Feb 03 04:47:38 PM PST 2001 chicane
searches.c:
Fixed some stuff in the replace text to automatically search again after a replace.
Added a new "multiple file" feature to find and replace functionality. I think it works in all the test cases that I have fooled with so far.
Fri Jan 26 11:02:47 AM PST 2001 chicane
widgets/gdsfile.c:
Added column delete
Fixed small bug in re-selection after multi-line changes.
Wed Nov 15 01:08:10 AM PST 2000 chicane
Added fortran and xhtml language definitions.
Added To_Lower.py
Mon Nov 06 12:38:43 PM PST 2000 Chris Phelps
main.c
Move explicit window resize on startup after initializing all toolbars.
Added ocaml.lang
Added swedish translation
Thu Nov 02 08:17:46 PM PST 2000 Chris Phelps
Added an external pseudo-terminal so we dont have our terminal disappearing all the time before we get to look at it.
Sat Oct 28 03:37:10 PM PDT 2000 Chris Phelps
Added external file modification notification.
Added option for 'Show full filename in title bar?'
Fixed a couple of small bugs in php.lang definition.
Mon Oct 02 03:03:49 PM PDT 2000 Chris Phelps
Added adb and ads extensions to the ada.lang definition.
Fixed a couple of typos in other definitions.
Added a new list of menu items to separate script files from script items added from language definitions and script files. (This is to fix a problem with the Regenerate function)
Tue Sep 26 09:47:04 PM PDT 2000 Chris Phelps
Added ada.lang and tktcl.lang
Fixed scheme.lang problems with keywords not being specific as their own word (ie, or matched inside of more)
Added strong and address tags to html.lang and php.lang
Added proper indenting to lang.lang (same as python.lang)
Mon Sep 18 10:52:19 PM PDT 2000 Chris Phelps
gdsfile.c
Fixed one more problem with non-multi-line selections and inserting tab/space
Sat Sep 16 04:03:44 PM PDT 2000 Chris Phelps
linebar.[c/h]: Created.
Added line toolbar functions and View setting for line toolbar.
Sat Sep 16 10:53:50 AM PDT 2000 Chris Phelps
getprefs.c:
Fixed some problems with default_preferences and gnome_config_get_*() stuff.
Fri Sep 15 05:58:11 PM PDT 2000 Chris Phelps
GdsFile:
Proper handling of Tab and Space presses when there is a selection that does not cross a line boundary.
GtkExText:
Proper handling of End press when line length=1 the char != \n
Thu Sep 14 12:55:28 PM PDT 2000 Chris Phelps
all:
Removed guile scripting support. It was beginning to be too much of a hassle to maintian both languages, and Guile was having some problems, so I decied to axe it.
settings.c, mdi-routines.c, getprefs.c:
Options for "Show blinking cursor?" and "Auto-save session when files change?"
Wed Sep 13 12:01:33 PM PDT 2000 Chris Phelps
main.c, settings.c, getprefs.c:
Fixed the rest of the highlight styles problem. They were being retrieved properly, but they were not being applied upon highlight table parsing.
Tue Sep 12 05:38:45 PM PDT 2000 Chris Phelps
Added sql.lang
menus.c: (user submission)
Move many 'Insert' items to the submenu "Common Text" (user request)
Tue Sep 12 01:42:11 PM PDT 2000 Chris Phelps
syntax-highlight.c:
Fixed a small problem with Highlight styles. It was saving and retrieving properly, but the processor function was messed up.
Thu Sep 07 10:12:55 AM PDT 2000 Chris Phelps
GtkExText:
Use get_line_data_next() in recompute_scroll_line_width function.
g_free(linedata) in goto_line function approx 10 bytes/line change were being leaked.
Thu Sep 07 09:29:38 AM PDT 2000 Chris Phelps
GtkExText: full width selection is now optional.
settings.c, getprefs.c, mdi-routines.c:
Option for full width selection.
Wed Sep 06 08:36:20 PM PDT 2000 Chris Phelps
GtkExText:
Line iteration functions...
gboolean gtk_extext_get_line_data_[next/prev](GtkExText *text, GtkExTextLineData *cur)
Return value is true if line exists.
GtkExTextLineData *cur is modified.
This is used as optimization in the expose_text() function.
Wed Sep 06 06:03:17 PM PDT 2000 Chris Phelps
GtkExText:
Some small speed improvements...
Dont render (or even call the render function) if x > width_of_window, or if x+width_of_text < text->gutter_width.
Change in iteration of line printing from text->scroll_line_start to linedataptr.
When generating GtkExTextLineData structs, only fill in cur->propery_first when we are on the line that will be returned.
Tue Sep 05 08:00:44 PM PDT 2000 Chris Phelps
signals.c:
More work on signals...added 2 new ones for move-right and move-left (need to be able to re-order things in a project manager for instance)
Added proper unrefing for Python.
You can have the app_* signals in language definitions now.
Mon Sep 04 10:17:53 PM PDT 2000 Chris Phelps
all:
Fixed event system (for language bindings)
Add a bunch of new events for non language definitions.
Sun Sep 03 08:05:27 PM PDT 2000 Chris Phelps
GtkExText:
Fix a stupid bug in the select & scroll code. (I put it there awhile back when fixing another scrolling bug)
Sat Sep 02 05:31:04 PM PDT 2000 Chris Phelps
GtkExText:
Added gutter pixmap support.
Main:
Added bookmarking functions (add/remove, search forward/back)
Thu Aug 31 06:51:09 PM PDT 2000 Chris Phelps
searches.c:
gtk_extext_thaw() before popping up dialog (on replace all).
Thu Aug 31 04:05:59 PM PDT 2000 Chris Phelps
GtkExText:
No expose for delete/backspace when no text is removed.
Thu Aug 31 03:02:37 PM PDT 2000 Chris Phelps
settings.c, mdi-routines.c, main.c, getprefs.c:
Implement line number setting.
GtkExText:
Option for [not]using proper tab-stop behavior.
Functions to find the absolute column of a position and how large a tab should be if inserted at any position.
settings.c, mdi-routines.c, main.c, getprefs.c:
Implement tab-stop option.
GdsFile:
Fix funky insertion behavior (tab)
bindings.c, bindings-guile.c, bindings-python.c:
New function get_tab_stop() - boolean value for if we should follow tab-stops.
Language Definitions:
Fix for new binding with tab stops.
Wed Aug 30 11:15:42 PM PDT 2000 Chris Phelps
GtkExText:
Added line number option. It was really quite a bit less work that i has originally expected.
Tue Aug 29 08:27:17 PM PDT 2000 Chris Phelps
Add js.lang and x86.lang from Ben Blank
highlightbar.c:
Add re-highlight button.
main.c:
Proper sensitivity for re-highlight button
menus.c:
Change around some icons:
* Edit > Re-Parse Highlight tables to "refresh"
* Edit > Re-Highlight to "jump-to"
* Scripts > Regenerate Menu to "refresh"
* Settings > Highlight Colors to "colorselector"
commandbar.c:
Convert commandbar from GtkVBox to GtkToolbar (like we did with the findbar yesterday)
Tue Aug 29 08:04:31 PM PDT 2000 Chris Phelps
syntax-highlight.c:
Major fixing/cleaning or syntax table generation code.
Copy extension and settings code into main make_highlight_table() call.
Remove settings retrieval function.
This fixes a *bunch* of issues, most importantly the rebuilding of highlight tables for files that are not in the extensions list.
Tue Aug 29 12:22:35 PM PDT 2000 Chris Phelps
settings.c:
Fixed page saving with preferences window.
Added 2 new options to 'File Options' section:
* Display full filenames in notebook tab?
* Close all files on open session?
getprefs.c:
Add above options.
session.c:
Implement close all files on open session.
gdsfile.[c/h]:
Add gboolean full argument to gds_file_set_title() and gds_file_new() for use with the first new option mentioned above.
mdi-routines.c:
Fixed some code for option #1
Tue Aug 29 11:09:20 AM PDT 2000 Chris Phelps
findbar.c:
Display "Text not found." in the Status bar when text isn't found.
Mon Aug 28 07:37:21 PM PDT 2000 Chris Phelps
findbar.c:
Change findbar to a toolbar instead of a vbox. (for purposes of easy tooltips)
Put on the second dock instead of the third.
Fri Aug 25 11:35:01 AM PDT 2000 Chris Phelps
searches.c:
Fixed some problems with selection searching.
gtkextext.c:
Fixed problems with Ctrl+Shift+[Right/Left]
Thu Aug 24 01:51:14 PM PDT 2000 Chris Phelps
c.lang, cpp.lang:
Added proper spacing code to the tab callback. Now inserts x spaces depending on your tab-stop setting.
This relies partly on the python function string.expandtabs()
Replace_Tabs.py:
Now replaces properly by using string.expandtabs() ie, tab-stops are used instead of just tab width.
Thu Aug 24 10:59:46 AM PDT 2000 Chris Phelps
Find with findbar focuses the current document.
Fixed bug with empty line and Ctrl+Tab (crash)
Wed Aug 23 06:27:26 PM PDT 2000 Chris Phelps
perl.lang:
Add auto-indent code (same as cpp.lang)
c.lang:
Created from cpp.lang, with small modifications.
cpp.lang:
Small changes.
*.lang:
Remove some unused/unneeded code/comments.
Wed Aug 23 05:58:12 PM PDT 2000 Chris Phelps
*.c
Added "Highlight" toolbar for choosing a non-standard syntax for any file. (Very usefull when the file doesnt have any extension)
main.c:
Code for keeping the highlight option menu up-to-date added to adjust_sensitivity().
settings.c:
Move radio functions to misc.c
Mon Aug 21 10:58:05 AM PDT 2000 Chris Phelps
*.lang:
Small updates to several language definitions.
Mon Aug 21 10:34:54 AM PDT 2000 Chris Phelps
Fixed small GtkExText bug with GtkExText::key_press::GDK_End
Fri Aug 18 01:40:39 PM PDT 2000 Chris Phelps
cpp.lang:
Added "Open Reverse" callback. (Open c file from h, or other way around)
z80.lang:
Added auto-indenting after labels (same char as python :-)
Added "Comment" callback
Fri Aug 18 12:39:14 PM PDT 2000 Chris Phelps
gdsfile.c:
Fixed auto indenting problems (wrong variable was used in conditional)
java.lang:
Use code from cpp.lang for auto-indenting.
Thu Aug 17 03:25:39 PM PDT 2000 Chris Phelps
menus.c
Added "Documents" menu, and renamed "Windows" to "Window"
Added "Move File Backward" and "Move File Forward" menu entries to "Window" menu.
mdi-routines.c:
Add new documents to docsmenu instead of windowmenu
windows.c:
Added Document re-ordering functions. Warning: works only when there are no windows torn away.
settings.c:
History settings go to 50 instead of 25.
Tue Aug 15 05:59:27 PM PDT 2000 Chris Phelps
Finished the last of the latte/C changeover in bindings-*.c
Sat Aug 12 09:49:34 PM PDT 2000 Chris Phelps
Major code cleaning. All C++ depandancies have been removed, and all *.C files have been renamed to *.c
Sat Aug 12 07:24:56 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Added gboolean bottom to all goto_line() and scroll_to_view() calls for working out proper page scrolling problems.
Fixed scroll_to_view to accomodate new argument.
Wed Aug 09 10:21:41 AM PDT 2000 Chris Phelps
I did a bunch of work yesterday, but forgot to log it, so here are the
changes for the last 2 days:
* Fix memory leaks for bindings that return newly allocated gchar*
* Add a few more bindings for working with GdsFile's
* Fix endless loop in GdsEditor::check_syntax when regex found and length == 0
* General code cleaning in the bindings area.
Mon Aug 07 09:08:25 PM PDT 2000 Chris Phelps
Today was a mad-dash effort to coolify CodeCommander exponentialy...
Here are the commits:
-GtkExText-
* Reduce GtkExText exposes when no movement has occured (such as when dragging a window over the top)
* Set the widget->window background when bg_pixmap is available.
* Remove cursor-column history saving. It wasnt working properly.
-GdsFile-
* Modifications to HighlightTable structs for new features.
-Bindings-
* Bindings to add dock items to the main CC window.
Note: Im still working on the dock-item function for guile, as I have not yet gotten guile-gtk to link with CodeCommander properly.
* Bindings to set callbacks for certain events (add-file, remove-file, focus-file, leave-file, remove-table, enter-press, tab-press)
-Main-
* Fixed Window menu items (did not actually change file properly)
* Fixed window cycling with Alt+[N/P] (skips torn away windows)
* Other tear-away related fixes...
* Fixed problem with "multiple deletion" ie. if you pressed close really fast with a bunch of files open, bad things could happen...they dont anymore.
-Documentation-
* Updated
Sat Aug 05 08:21:07 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed double expose with [Shift/Ctrl] + Anything
Sat Aug 05 02:52:17 PM PDT 2000 Chris Phelps
More with the various stuff...
* Added delete and rename buttons/functions to GnomeFileList widget. Only work for files at the current time.
* Finished tab signal code for scripting. (tested, etc)
* Small change in GtkExText Page Up/Down movement
* Add text remove/delete API for GdsEditor... Checks for readonly, so changed signals dont get emitted when there really isnt a change.
* Add function for editable/read_only handling to GdsEditor (changes GtkEditable::editable and GtkExText::read_only)
Fri Aug 04 10:17:08 PM PDT 2000 Chris Phelps
Lots of various work today...
* API for hooking enter/tab keypresses with scripting languages
* Remove all refereces to props->indent_chars
* Fix line_start and line_end bindings (weren't actually calling the functions)
* API for custom toolbar entries
* View > Custom Toolbar option.
* Add binding for get_file_use_spaces(int file_no). This is helpful in enter hooks.
* Boolean variable set when parsing a language definition
* Use boolean variable to fix some problems with add_[item/sub] bindings.
Mon Jul 31 06:13:57 PM PDT 2000 Chris Phelps
src/settings.C, src/properties.C:
Set the tabstop range to 1-8 instead of 0-10 (fixes a crash problem)
Mon Jul 31 02:08:09 PM PDT 2000 Chris Phelps
src/searches.C:
Set find, find/replace, and goto line dialogs as transient children of the main window.
Mon Jul 31 10:52:33 AM PDT 2000 Chris Phelps
src/file-io.C:
Fixed Save All problem (multiple dialogs popping up when there are multiple untitled docs open)
Sun Jul 30 12:45:40 PM PDT 2000 Chris Phelps
src/widgets/gdsmanpage.c:
Added error dialog and default button the GdsManpage
Mon Jul 31 11:37:12 CDT 2000 Ryan Weaver
src/session.C:
Set "Save As" dialog as modal, and Open dialog as a transient of the main window.
Fix bug in "Save As" callback (wasn't saving the new name of the session)
src/file-io.C:
Set "Save As" dialog as modal, and Open dialog as a transient of the main window.
Fixed problem with check_if_file_exists() (now checks with fopen *and* stat)
Sat Jul 29 02:21:16 PM PDT 2000 Chris Phelps
src/settings.C, src/properties.C, src/color-settings.C:
Added default buttons to settings, properties, and color-settings dialogs. (no modality)
Sat Jul 29 02:11:04 PM PDT 2000 Chris Phelps
src/dialogs.C:
Replaced all normal (manually created) dialogs with GnomeDialog's. The buttons are now sized properly and such, and man are also modal.
src/main.C:
Fixed bug cause by modality change in exit routine.
src/file-io.C:
Fixed problems with saying "yes" to "would you like to save Untitled?" (when closing it).
Wed Jul 12 01:16:02 PM PDT 2000 Chris Phelps
src/getprefs.C, src/syntax-highlight.C:
Fixed problem with gettings proper color/style settings.
Wed Jul 12 11:22:28 AM PDT 2000 Chris Phelps
src/file-io.C:
Open, Open Multiple, and Save As dialogs give focus to the selection entry upon creation.
Save As has current filename inserted upon creation.
src/widgets/gdseditor.c:
Fixed highlighting problem with multi-line comments (/* comment */) when removing the end /, the comment would not be re-highlighted, as it should be. My fix works, but may cause other problems, which are yet to be seen, but could show up at any time.
src/widgets/gnomesearchdialog.c:
Fixed the find segfault! It was a very simple, stupid mistake...I was returning a FALSE rather than a -1 when the find list was NULL.
In misc.C, there is a similar function to the one in gnomesearchdialog, except that it returns 0 for none, and pos+1 for the position...probably should have done it this way, but oh well, im that kind of guy.
Tue Jul 11 03:45:52 PM PDT 2000 Chris Phelps
src/main.C, src/settings.C:
Fooled with the Geometry settings a bit. Should be working properly now (as properly as one can get with gtk anyway...)
Tue Jul 11 12:42:24 PM PDT 2000 Chris Phelps
src/file-io.C:
Fix segfault on Open Multiple...
Tue Jul 11 11:49:43 AM PDT 2000 Chris Phelps
src/properties.C, src/settings.C, src/syntax-highlight.C, src/widgets/gdsfile.c:
Move some stucts to the gdsfile widget.
src/properties.C:
Added code to only allow for one properties dialog.
src/widgets/gdsfile.c:
Delete properties dialog when we close a file.
src/settings.C:
Set a default page... row 2 (directory settings)
Save page in between uses of settings dialog (not saved on disk or anything).
Tue Jul 11 11:35:06 AM PDT 2000 Chris Phelps
src/widgets/gtkextext.c:
Fixed tab-stop problem when tabs are part of, or are split up by a property (including a selection or pseudo-selection).
On GDK_End, check that we are not already at the end of the line before queueing an expose..
On GDK_Right, check to make sure we are not at the end of the buffer before calling an expose.
Fixed scrollbar update problem. Sometimes the scrollbar would not show the proper position...I think I did this to cut out an expose, but apparently it wasnt double exposing anyway.
Mon Jul 10 04:32:23 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Cleanups with cut/copy/paste (fixed paste but that was pretending that there was a selection when there really wasnt.
Mon Jul 10 02:20:14 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Implemented proper tab-stop behavior in GtkExText due to an overwhelming number of requests.
Sun Jul 09 11:02:43 PM PDT 2000 Chris Phelps
src/settings.C, src/getprefs.C:
Added terminal and make entries in the settings.
src/misc.C:
replace %term% and %make% with above mentioned text.
src/build.C:
Fixed the execution of the build processes. Now using execvp() and using g_strsplit() to parse the command strings.
src/menus.C, src/toolbars.C:
Added Stop Execution menu and toolbar item.
src/build.C:
Code to switch between Stop Execution and Execute entries.
Code to disable menu and toolbar entries while they are in use.
src/widget/gdsfile.c:
Kill all build processes before closing a file.
Sun Jul 09 05:07:37 PM PDT 2000 Chris Phelps
Small changes to Indent and Shell Ouput commands.
Sun Jul 09 03:43:22 PM PDT 2000 Chris Phelps
src/searches.C:
Fixed some things with Find/Replace.
This will hopefully fix the segfault that people are getting, but I dont know yet...I still havent been able to replicate it.
src/build.C, src/widgets/gdsfile.c:
Removed the clist at the bottom of each file. It was generally worthless anyway.
src/menus.C, src/searches.C:
Added item/functions for using gnome-help-browser to view manpages. (its much cooler than the local gdsmanpage)
Sun Jul 09 01:47:45 PM PDT 2000 Chris Phelps
src/widgets/gdsfile.c:
Removed the current bracket matching setup.
src/gtkextext/gtkextext.c:
Added a pseudo-selection setting for bracket matching.
Sat Jul 08 02:46:54 PM PDT 2000 Chris Phelps
Added proper keybinding and default stuff to find/replace, run command, and goto line dialogs.
Sat Jul 08 01:33:42 PM PDT 2000 Chris Phelps
Added Next File and Previous File menu items with keybindings. Very nice for cycling through the open files. As always, they are disabled when such behaviour is not appropriate.
Sat Jul 08 12:53:39 PM PDT 2000 Chris Phelps
Fixed filebar prefs saving (mispelled it findbar).
Sat Jul 08 10:29:46 AM PDT 2000 Chris Phelps
Added Insert GPL (#) for python and perl users.
Sat Jul 08 10:15:34 AM PDT 2000 Chris Phelps
src/file-io.C:
Removed double call to gds_file_set_title() (we are emiting the changed signal on the gdseditor, so it will get called later instead.
src/menus.C:
Moved session menu over the the file menus as a submenu. Also added hotkeys for them, and the Edit > 'Properties' item as well.
Fri Jul 07 10:49:41 PM PDT 2000 Chris Phelps
Changed LGPL insert to GPL insert (one word difference)
Added tearoff items to scripts and insert submenus (the bindings stuff).
Added an asterisk to the end of the filename of a changed file, and changed the icon.
Fri Jul 07 02:59:13 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Added "Auto line select" option to GtkExText
Added draw_cursor flag and accessor function.
With readonly=1, draw_cursor=0, and select_line=1, it will act like a list of data.
src/settings.C, src/getprefs.C:
Implemented above mentioned feature in CodeCommander.
src/edit.C, src/bindings.C:
Plugged 4 leaks from gtk_extext_get_line_data(); (forgot to free the mem)
Fri Jul 07 10:02:37 AM PDT 2000 Chris Phelps
Added menus.html and sessions.html to documentation (unfinished)
Fri Jul 07 09:09:10 AM PDT 2000 Chris Phelps
Added a little check in GtkExText to adjust the cursor size to the size of the current style, unless it is within a selection, at which point it will be made as tall as the whole line.
Thu Jul 06 10:49:46 PM PDT 2000 Chris Phelps
Added po.lang and sgml.lang to the main distribution. Props to Frank Jensen for these.
Thu Jul 06 10:28:42 PM PDT 2000 Chris Phelps
src/bindings.C
Remove comment and comment_selection bindings. They shouldnt need to be used.
src/gtkextext/gtkextext.c:
Removed a comment from a line that was preventing repainting of the widget after a cut/copy/paste operation. (paste was the important one actually)
Thu Jul 06 09:33:03 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Removed some internal keybindings.
src/menus.C, src/edit.C:
New menu entries for:
Select Line, Clear Line, Clear to Line End, Clear to Line Start
src/bindings.C:
New bindings for:
line_start(), line_end(), freeze(), thaw()
src/searches.C:
freeze while replacing (no screen refreshes)
Thu Jul 06 08:35:05 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed GtkExText bug that was really jacking up the cursor position...I introduced this yesterday with my little cursor backup stuff.
Thu Jul 06 05:05:45 PM PDT 2000 Chris Phelps
src/insert.C:
Added "Indent" feature.
src/menus.C:
Changed some icons and general crap that needed to be fixed.
Switched bracket matching to the other side of the character. (a-la nedit rather than CoolEdit)
Thu Jul 06 02:23:13 PM PDT 2000 Chris Phelps
src/color-settings.C:
Added font settings to the color-settings dialog box. The whole system is very cool, and does not require you do go editing your lang files just to get all your keywords to be bold.
Wed Jul 05 04:41:34 PM PDT 2000 Chris Phelps
Fixed search problem with regex searching.
Wed Jul 05 04:05:32 PM PDT 2000 Chris Phelps
src/searches.C:
Added regex searching for search and replace (search is regex, replace is not).
src/findbar.C:
Findbar uses find settings (case sensitivety and regex)
Wed Jul 05 02:07:55 PM PDT 2000 Chris Phelps
src/main.C:
Allow shrinking of main window.
src/widget/gdstearaway.c:
Fixed some gtk_widget_size_allocate() problems.
Wed Jul 05 01:42:35 PM PDT 2000 Chris Phelps
src/searches.C, src/main.C, src/getprefs.C:
Added saving of find-replace options.
Wed Jul 05 12:32:31 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Added cursor position backup so that scrolling to a line shorter than the current line wont effect the position when scrolling to the line after it if it is as large as the previous position (sounds a bit confusing eh?)
Fixed possible crash when removing last line in a file if it has a propery at the very end.
src/widgets/gdsfile.c:
non-multi-line-selection: with key==tab would always insert tab, without checking if spaces should be used instead.
multi-line-selection: Fixed problem with area not being selected properly.
Wed Jul 05 07:34:30 CDT 2000 Ryan Weaver
macros/Makefile.am: Opps forgot to add CodeCommander.spec.in
to the EXTRA_DIST to be included in tar.gz.
Tue Jul 04 02:16:39 PM PDT 2000 Chris Phelps
src/settings.C/h, src/getprefs.C/h, src/main.C:
Added background pixmap support. If you want a nice tiled pixmap as your background, here ya go :o)
Finished various font things. Testing etc.
src/widget/gdseditor.C:
Added "default" color class so you can have text that is the default color, but with a bold font or something. This is automatically updated when you change font colors.
general:
Updated documentation for new features.
Mon Jul 03 10:34:36 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Moved scrolling wheel mouse code from gdseditor.
Added some new text classes... strike-thru and underline.
src/gdseditor.C:
Fixed up to accomodate multiple fonts and font classes.
src/settings.C, src/getprefs.C:
3 new fonts, italic, bold, and bold-italic.
src/searches.C:
Moved the bracket matching out of file and into here, so we can have a menu entry and such.
Mon Jul 03 01:38:44 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed style_set event callback.
Added 'full width' selections (if end of line is included in a selection, we make the selection as wide as the whole widget.
Fixed selection problems with multiple fonts. (selection uses whatever font is in the current property)
Added color reversal for selections... We reverse whatever color is under the selection.
src/settings.C:
Fixed some general crap with applying new styles to the text widget. (its actually pretty sane now)
Note: the cursor blink problem after changing the bg is now gone!
Sun Jul 02 04:54:45 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed french/spanish/german character support (through XIM). Props to Owen Taylor for telling me know what was up with this.
Sun Jul 02 03:31:14 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Changed cursor to GDK_XTERM, like the one used in the GtkEntry.
src/file-io.C:
Added last_dir saving in save_as function.
src/menus.C:
Proper menu naming to be consistant with other gnome programs... Things with '...' at the end mean that they will ask for something.
Sat Jul 01 05:06:47 PM PDT 2000 Chris Phelps
src/widgets/gdsfile.c:
Implemented bracket match highlighting. (highlight the matching bracket)
src/settings.C, src/properties.C, src/getprefs.C:
Option for turning above option on or off (global or per file).
src/gtkextext.c:
Fixed bug with move_to_row, move_to_column signals. (they were used with dashes instead of underscores).
More small (possibly unnoticable) speed improvements.
Fixed some of the property code that needed a little love.
src/widgets/gdseditor.c:
Fixed what will hopefully be the last highlighting problem. Every so often we were getting some 'phantom' highlights when inserting/removing text. I think that I have taken care of this problem.
Fri Jun 30 06:38:34 PM PDT 2000 Chris Phelps
Tons of work on GtkExText:
-Horizontal scrolling
*proper cursor movement (viewport follows the cursor better)
*proper scroll width
-Removal
*Remove line/word wrap code
*Remove WChar code
*Remove all references to create_paint_cache()
-Speedups
*Speed has been increased by approximatly 25%
Wed Jun 28 12:21:41 PM PDT 2000 Chris Phelps
Fixed findbar bug (was not disabled when there were no files open.
Wed Jun 28 08:47:18 AM PDT 2000 Chris Phelps
Fixed gtkextext draw routine bug that was messing up bg_pixmaps.
Mon Jun 26 09:35:17 AM PDT 2000 Chris Phelps
Implemented "Open Multiple" File selection. We basically have a normal window with the cancel button removed, and a close button in its place. Also, the kill_widget callback is not connected to the clicked event of the open button.
Fixed some spacing problems with the properties dialog.
Sun Jun 25 06:47:10 PM PDT 2000 Chris Phelps
src/settings.[C/h]:
Reoworking for gnome-settings widget.
Added "Save view settings" option.
Added options for window geometry.
src/main.C:
Accomodate new settings (set window position on startup etc)
Sun Jun 25 10:43:09 AM PDT 2000 Chris Phelps
src/widgets/gnomesearchdialog.[c/h]:
Fixed up the history stuff to only display "general_prefereces.history" items.
When item is searched for, and its already in the list, it gets move to the top.
src/findbar.[C/h]:
Created, edited, made generally badass.
It's hooked up with GDK_Return, the Find button, and the standard find callback.
src/toolbar.[C/h]
Split the main toolbar up into 2 pieces, and then added Build toolbar.
src/view.[C/h]:
Created, edited.
Sat Jun 24 07:33:48 PM PDT 2000 Chris Phelps
src/syntax_highlight.C:
Removing items from menu_entries removes them from dynamic_build now.
src/macro-language.C:
Make dynamic_build GList global.
Remove command entry code and put into src/commandbar.[C/h]
Sat Jun 24 12:33:58 PM PDT 2000 Chris Phelps
Fixed another bug with session restore...we were not applying the spaces setting for the document in the event that over_ride was set.
Also fixed bug in gdsfile.c with the same basic problem...we were checking for general_preferences.use_spaces, but we needed && !over_ride as well.
Props to Mark Faine for reporting these 2 bugs, and a couple down below too.
Sat Jun 24 09:50:45 AM PDT 2000 Chris Phelps
Apply button in settings doesn't close the window anymore. I had changed this at the request of a user, but the consensus is that this is bad (Gnome Hit Squad people)
Sat Jun 24 09:02:14 AM PDT 2000 Chris Phelps
Fixed 2 bugs with syntax highlighting settings. One with changing settings, and one with opening sessions.
Fri Jun 23 10:24:01 PM PDT 2000 Chris Phelps
src/widgets/gnomefilelist.c:
Set combo to not popdown on activate, and hooked activer to goto directory.
Fri Jun 23 10:22:12 PM PDT 2000 Chris Phelps
Fixed all *.lang files *again* I dont know what I was smokin when I changed that...
Anyway, you can have the scripting tags and such, but the xml stuff is there too.
Fri Jun 23 08:13:37 PM PDT 2000 Chris Phelps
src/main.C:
Remove 5 pixel border around main window.
Fri Jun 23 07:41:22 PM PDT 2000 Chris Phelps
Build system improvements:
Remove Build submenu from popup menu.
Add bindings to add entries to Build menu.
Add code to hide other build entries if they have no rule associated.
Fri Jun 23 07:09:09 PM PDT 2000 Chris Phelps
Fixed bug with reverting a read only file (you shouldnt need to to it, so now it doesn't.
Fri Jun 23 07:03:12 PM PDT 2000 Chris Phelps
Fixed bugs with being able to insert/pseudo-remove text into a read-only buffer...I forgot to check for editability in my key-press hooks.
Fri Jun 23 08:19:54 AM PDT 2000 Chris Phelps
Late last night I decided that taking out the xml-style language defs was a bad idea...having to do the same thing for both python and guile is dumb, so I just re-implemented the old code and then merged int he new stuff as well, so one can use both.
Thu Jun 22 08:43:53 PM PDT 2000 Chris Phelps
Fixed bug with session saving & line setting (had to throw in a while(gtk_events_pending()) loop to make sure that the widgets were getting realized before we tried to set the line.
Thu Jun 22 08:24:41 PM PDT 2000 Chris Phelps
Fixed GtkFont unref bug when changing font and then closing a file. GtkExText was trying to unref a font associated with the "Prelight" style, which we had already unref'd.
Thu Jun 22 08:00:45 PM PDT 2000 Chris Phelps
Fixed GtkExText bug in new scroll routines that caused badness with non-fixed fonts.
Seemed that my logic was moderatly jacked up with figuring out text offset and cursor position.
Wed Jun 21 09:07:36 PM PDT 2000 Chris Phelps
It's been awhile since I updated this baby...Guess I should try to do so more often.
Anyway, there have been a slew of changes in the past week and a half:
GtkExText:
Rewrote the display routines so that there can be an unlimited # of highlights on a line.
Fixed jumpy scrolling and other scrolling problems.
GdsEditor:
Fixed more highlighting problems...
GdsFile:
Fixed some bugs with tab/spaces stuff.
Main Program:
Everything has been updated to use the new guile/python support.
Menu creation bindings for both languages.
Added "Persistant Untitled Document" option and code.
Fixed the Save All bug. (saved the current file under all the open docs names)
Color settings dialog and settings.
Smart Indent can now have certain characters set in language defs.
Changed the name of some files with underscores '_' to dashes '-'
Fixed the color scheme to use "color classes" and explicit colors.
Updated language definitions (damn that took a long time).
Updated documentation.
Mon Jun 12 09:26:18 PM PDT 2000 Chris Phelps
Added guile scripting support. Just pass --enable-guile to the config script.
Removed all swig dependancies. I will still use it to generate the wrappers, but the users wont have to download it now.
Sun Jun 11 06:06:28 PM PDT 2000 Chris Phelps
Finished 'Insert > Shell Output' callbacks. (mostly stolen from build.C)
Sun Jun 11 03:13:07 PM PDT 2000 Chris Phelps
src/toolbar.C:
Changed command entry to command combo and added history functions.
Sun Jun 11 01:24:37 PM PDT 2000 Chris Phelps
src/menus.C, src/main.C:
Added new pointer to the label of the 'Insert' menu, and used it in sensitivity stuff, so it looks the same as other menus.
Sun Jun 11 01:23:53 PM PDT 2000 Chris Phelps
src/widgets/gnomeruncmd.[c/h]:
Created, edited etc. (very similar to gnomegotoline widget)
Sun Jun 11 12:35:09 PM PDT 2000 Chris Phelps
src/widgets/gnomegotoline.c:
Added functions for handling history lists (GTK_COMBO) and other fixes/improvements.
Sat Jun 10 10:03:44 PM PDT 2000 Chris Phelps
src/gdseditor.c:
Fixed yet _another_ highlighting bug...
Sat Jun 10 06:00:10 PM PDT 2000 Chris Phelps
src/gdseditor.c:
Fixed yet another highlighting bug...Also added a signal_emit_stop for "property_text_insert to make sure that GtkExText doesnt do anything bad to me.
Sat Jun 10 10:45:32 PM PDT 2000 Chris Phelps
src/insert.C
Added "Insert File" and "Ascii Character"
Moved some file dependancies around.
Fri Jun 09 11:15:29 PM PDT 2000 Chris Phelps
src/widgets/gnomeasciilist.[c/h]
Created, edited, perfected. Has nice keybindings and all.
Fri Jun 09 07:15:29 PM PDT 2000 Chris Phelps
src/widgets/gnomedirlist.[c/h]:
Fixed 'em up and added some nice keybindings so that you can navigate from the keyboard.
Thu Jun 08 09:21:40 AM PDT 2000 Chris Phelps
src/settings.C, src/main.C, src/getprefs.C:
Fixed segfault on Settings > Preferences when the default font wasnt found on the system.
Wed Jun 07 12:17:01 PM PDT 2000 Chris Phelps
src/settings.C, src/main.C, src/getprefs.C:
Added setting for following the GTK theme. This does not effect fonts though. This was a major pain in the ass to get working properly.
Added button to get the colors of the current theme.
Fixed most of the font-related crashes. There are still problems with 2 byte fonts and such, so its better to stick with the default "terminal-dec-bold" one. It looks the best IMO anyway. (which is why it is the default)
src/syntax_highlight.C:
In the function for getting highlight settings, added props->syntax=TRUE
Tue Jun 06 01:03:00 PM PDT 2000 Chris Phelps
src/getprefs.C:
Default colors are now figured everytime we start up, so they follow the Gtk theme better.
Tue Jun 06 11:29:10 AM PDT 2000 Chris Phelps
src/settings.C/h]:
Added "Follow Gtk Theme settings" toggle.
Works with all theme changes except if we have a theme that uses bg_pixmap's, and then it gives a dialog that says you have to restart to have it take effect.
Tue Jun 06 09:00:13 AM PDT 2000 Chris Phelps
src/bindings.C:
Added 4 new functions for python bindings for filename retreival.
Mon Jun 05 10:20:47 PM PDT 2000 Chris Phelps
src/widgets/gdseditor.c:
Rectified a very serious problem that was causing highlight problems in defintions that did not include embedded tables.
Fixed highlighting problem when removing/inserting text and there is a prop at the current position, but the extents are not larger than the amount of text that we took out.
Mon Jun 05 08:48:32 PM PDT 2000 Chris Phelps
Many files:
Worked in some more code by Pablo De Napoli
Including:
autoexec.py execution on startup.
delete_text(start, end) binding.
Other compile fixes.
Mon Jun 05 04:29:35 PM PDT 2000 Chris Phelps
src/settings.C: Fixed bug where defaults/undo would not apply settings to open docs.
src/widgets/gdseditor.c: Fixed a highlight bug. We were getting the current highlight at start, rather than start-diff.
Sun Jun 04 06:27:36 PM PDT 2000 Chris Phelps
Fixed bugs reported by Andy Kahn.
src/file-io.C: Revert works on "Untitled" docs by deleting their text.
Save on "Untitled" docs envokes a Save As dialog.
src/searches.C: Fixed a problem with replace that was not causing the appropriate number of changes to occur (1 instead of 2)
Sun Jun 04 09:46:59 AM PDT 2000 Chris Phelps
src/settings.C: Fixed the Settings > Preferences segfault for good (hopefully)
src/widgets/gdseditor.c:
Once again, I have rewritten the highlighting code. This should _hopefully_ be the last time for this one.
Sat Jun 03 09:41:09 PM PDT 2000 Chris Phelps
Added regex seach support. Integrated into Python scripting as well.
Sat Jun 03 08:09:34 AM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed all compile warnings involving undeclared (prototyped) functions.
Added 1 to text->line_count because we were forgetting to count all the lines.
Fri Jun 02 11:10:09 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
BUG! text->length - start changed to text->length in gtk_extext_regex_search(). This fixes a couple of bugs that were only occuring in the second half of files. It was very jacked up :o)
Fri Jun 02 03:17:04 PM PDT 2000 Chris Phelps
Documentation additions/subtractions.
src/menus.C: Add python documentation to help menu.
src/Makefile.am: Python doc goes to $prefix/share/CodeCommander/docs
Thu Jun 01 07:05:17 PM PDT 2000 Chris Phelps
src/widgets/gdseditor.c:
Fixed problem with Re-Highlight call. (gtk_extext_freeze() and such)
Wed May 31 08:57:27 PM PDT 2000 Chris Phelps
src/bindings.[C/h]:
Created, edited, edited, edited.
All other files:
Edited to allow for Python scripting.
Added '--disable-python' option, and fixed everything so that certain items dont show up if there is no python.
Fixed a bunch of crap in the makefiles.
Fixed some highlighting garbage _again_
Lots of other stuffs.
Mon May 29 09:53:51 PM PDT 2000 Chris Phelps
src/main.C: Fixed some window raising problems with the gdstearaway.
src/mdi_routines.C: New function for focusing a tear away from a menu click.
src/main.C: Update undo buttons/menus when changing documents.
Mon May 22 07:55:37 AM PDT 2000 Chris Phelps
src/widgets/gdseditor.c:
Even more highlight work. Some new problems arose from last nights fixes that were not desirable, so I had to go back and undo some stuff, and and some other stuff etc.
Sun May 21 07:17:52 PM PDT 2000 Chris Phelps
src/widgets/gdseditor.c:
Mucho highlight work *again* I've fixed nearly every bug I can find, but Im sure that there are plenty more hiding still.
Fri May 19 10:10:27 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Complete rewrite of undo routines to allow for redo as well.
Fri May 19 05:10:27 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fix problems with '\n' showing up in the docs as a funky char (certain versions of freetype).
Fix problems resulting from the above fix :-)
Had to make a new function called text_get_text_no_replace() so that editable_get_chars() would work properly, and not return a string without an newlines.
Tue May 16 06:36:21 PM PDT 2000 Chris Phelps
src/toolbar.C:
Added DnD support to the 'Command' entry. Drop files on it, and it will open them.
src/file-io.C:
Fixed check_if_file() function to not accept directories.
Tue May 16 02:25:05 PM PDT 2000 Chris Phelps
src/widgets/gdsfile.c:
Fixed bug with multiple-line indentation (it didnt have to be multiple lines...now it does).
Tue May 16 12:02:01 PM PDT 2000 Chris Phelps
src/widgets/gnomefilelist.c:
Added [Enter] keybinding to selection_entry.
Fixed other stuff.
Wed May 10 09:12:18 AM PDT 2000 Chris Phelps
languages/* :
Added lang.lang definition file.
Fixed all other language definition files for new format/features.
Wed May 10 08:22:31 AM PDT 2000 Chris Phelps
src/gdseditor.c:
Fixed another highlighting problem. We were having trouble with escaped chars like this: '\"', which was throwing all the quotes off.
src/syntax_highlight.C:
Added commenting to language definition files. Use '#' on the first column of a line.
Tue May 09 06:11:40 PM PDT 2000 Chris Phelps
src/syntax_highlight.C:
Added dynamic menu generation for language definitions.
src/dialogs.C:
Fixed segfault with generic dialog.
Thu May 04 07:23:54 PM PDT 2000 Chris Phelps
Bugfixes (reported by Andy Kahn):
src/properties.C:
Fixed bug that caused degfault when pressing defaults button with a file that has no defaults.
src/toolbar.C:
Hide the Redo button.
src/widgets/gnomefilelist.c:
Fixed segfault occuring when default directory is '.'
Thu May 04 03:17:07 PM PDT 2000 Chris Phelps
Last several days, in no particular order...
src/widgets/gdseditor.c:
Major highlighting work. Should be nearly perfect these days. Added a new highlighting class called embedded, for matching certain things.
src/menus.C:
Added HTML menu, and moved other stuff around.
src/toolbar.C:
Added properties button.
Sat Apr 29 05:55:48 PM PDT 2000 Chris Phelps
src/regex/*:
Added.
src/gtkextext/gtkextext.h:
changed to use local copy of regex
This is done for Solaris, FreeBSD systems that do not always have gnu regex installed.
Sat Apr 29 05:11:09 PM PDT 2000 Chris Phelps
src/widgets/gdsfile.c:
Add an extra logic check for editable->has_selection. We were getting some erratic behavior I think.
Fri Apr 28 05:24:40 PM PDT 2000 Chris Phelps
src/main.C:
Moved get_prefs() call to 1 line after gnome_init() call.
Props to Ted Parnefors for finding the cause of this problem.
Fri Apr 28 10:50:47 AM PDT 2000 Chris Phelps
src/menus.C:
Change a few accelerators and other menu junk.
src/settings.C:
Cleaned up the spacing on all of the settings widgets. Everything is evenly spaced and looking pretty now.
Sat Apr 22 08:16:37 PM PDT 2000 Chris Phelps
src/Makefile.am:
Add '-Wall' option.
src/main.C, src/syntax_highlight.C, src/build.C:
Fix most of the compiler errors.
Fri Apr 21 04:50:26 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Switch to the new GtkExText (v0.0.21)
I still need to send in the bloody patch for Mike H.
Thu Apr 20 04:09:03 PM PDT 2000 Chris Phelps
src/dialogs.C:
More changes with string handling with file-io stuffs.
src/widgets/gdsfile.c:
Paned widget stays where you put it when resizing window (for the most part)
Wed Apr 19 04:00:46 PM PDT 2000 Chris Phelps
src/file-io.C:
Fixed the bug in the save routine that would save "(null)" if the file was empty.
Wed Apr 19 03:43:18 PM PDT 2000 Chris Phelps
src/file-io.C, src/dialogs.C:
Ack! Fixed a very bad problem with File > Save As. We were loosing the filename and saving to a garbage string.
This issue was caused by the use of my gnomefilelist widget, and my general habit of not testing things well enough.
Wed Apr 19 10:48:03 AM PDT 2000 Chris Phelps
src/main.C:
Dont raise main window when switching files. (Andy Kahn)
Wed Apr 19 10:35:46 AM PDT 2000 Chris Phelps
src/settings.C:
Speed up preferences application.
src/session.C, src/main.C:
Fixed up some session saving problems.
Wed Apr 19 09:42:38 AM PDT 2000 Chris Phelps
src/build.C, dialogs.C:
Fix bug with build code reguarding saving a changed file before building.
Add "Do you want to save %filename?" that doesnt close the file.
Tue Apr 18 06:28:01 PM PDT 2000 Chris Phelps
src/main.C:
Fixed stupid bug with popt parsing. Was using gint *int instead of gint int.
Mon Apr 17 07:12:32 PM PDT 2000 Chris Phelps
src/all:
Fixed some compiler warnings.
Mon Apr 17 05:10:34 PM PDT 2000 Chris Phelps
src/settings.C:
Hours of hacking on the color changing code.
It's still not perfect, but it works better than ever before.
When changing the bg/fg colors, you need to create a new file, and then everything should be dandy.
src/mdi_routines.C:
Fixed problem with selecting the wrong notebook tab when creating a new tab, and other documents are torn away.
Sun Apr 16 09:04:44 PM PDT 2000 Chris Phelps
src/main.C:
Fixed all the session management stuff.
We not save the current session properly, and then bring it up when we start again.
Sun Apr 16 06:30:39 PM PDT 2000 Chris Phelps
src/menus.C:
Fixed some improper menu accelerators.
Add Shift + Space to Key bindings. Shift + Tab wont work unfortunatly.
Sun Apr 16 05:25:02 PM PDT 2000 Chris Phelps
src/gtkextext/gtkextext.c:
Fixed some of the cursor problems.
1. blinks faster.
2. When it is off, it really shows as off.
3. Not always black.
The only problem right now is that changing the bg color wont work properly on the cursor. You have to re-open the files.
This isn't always the case...no idea what the problem is.
Sun Apr 16 03:04:27 PM PDT 2000 Chris Phelps
src/searches.C:
Grab focus for new gnome_goto_line_dialog();
Attach callback to entry::activate signal;
Sun Apr 16 02:17:21 PM PDT 2000 Chris Phelps
src/widgets/gdseditor.c, src/widgets/gdsfile.c:
Horizontal scrollbar.
src/*:
Some basic reformatting from CoolEdit to CodeCommander style. (Taking out all the tabs... I hate em)
Sun Apr 16 01:41:59 PM PDT 2000 Chris Phelps
src/widgets/gdseditor.[c/h]:
Created, edited, debugged. This replaces src/gtkextext/highlight.[c/h]
Some code moved from gdsfile.c to gdseditor.c
Sun Apr 16 09:15:03 AM PDT 2000 Chris Phelps |