1 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * MenuBackend.C (getMenubar): new method: return the menubar of
5 (read): treat differently reading of menu and menubar (in
6 particular, the menubar has no name now)
7 (Menu::menubar): remove
9 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
14 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
15 a bibitem inset in a RTL paragraph.
17 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
19 * paragraph_pimpl.C: constify
23 * lyxfunc.C: fix dispatch in a nicer way
25 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * lyxfunc.C (dispatch):
31 * BufferView.h: rename Dispatch() to dispatch()
33 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
35 * lyxlayout.C (Read): honor DependsOn tag
37 * lyxlayout.[Ch] (depends_on): new method
39 * version.C.in: update lyx_docversion
41 * LaTeXFeatures.C (getMacros): only define \LyX when needed
43 * paragraph.C (validate): remove from here...
44 * paragraph_pimpl.C (validate): ... and move here
45 (isTextAt): make it const
47 * buffer.C (getLists): ws cleanup
49 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
51 * language.C (read): Use iso8859-1 encoding in latex_lang
52 (this prevents LyX from crashing when using iso10646-1 encoding).
54 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
56 * text2.C (toggleInset): if cursor is inside an inset, close the
57 inset and leave cursor _after_ it
59 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
61 * lyxfunc.C: move minibuffer completion handling out of here
63 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
66 * LaTeX.C: fix dispatch calls
68 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
70 * text.C (drawChars): Fix Arabic text rendering.
72 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
76 * lyxfunc.C: remove message-push/pop
80 * lyxfunc.C: rationalise some code by removing verboseDispatch
81 in favour of a bool argument to dispatch()
83 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * lyx_main.C (init): make sure to read symlinks as absolute paths
87 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
90 * lyxfunc.C: no need for commandshortcut to be a member
92 2002-07-15 André Pönitz <poenitz@gmx.net>
94 * converter.C: add support for $$s (scripts from lib/scripts dir)
95 * lyx_main.C: white space
98 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
102 * lyxrc.C: remove second exit confirmation
104 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
109 * BufferView_pimpl.h:
110 * BufferView_pimpl.C:
111 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
113 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
115 * MenuBackend.C (expand): add numeric shortcuts to document menu
117 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
119 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
121 * lyxfont.C (setLyXFamily):
128 * buffer.C (asciiParagraph): use ascii_lowercase
130 2002-07-15 Mike Fabian <mfabian@suse.de>
132 * lyxlex_pimpl.C (search_kw):
133 * lyxlex.C (getLongString):
134 * converter.h (operator<):
135 * converter.C (operator<):
136 * buffer.C (parseSingleLyXformat2Token):
138 * ToolbarDefaults.C (read):
139 * MenuBackend.C (checkShortcuts):
141 * LColor.C (getFromGUIName):
142 (getFromLyXName): use the compare_ascii_no_case instead of
143 compare_no_case, because in turkish, 'i' is not the lowercase
144 version of 'I', and thus turkish locale breaks parsing of tags.
146 2002-07-16 Angus Leeming <leeming@lyx.org>
148 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
149 now takes a Buffer const & argument.
151 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
153 * BufferView.C (resize): check there's a buffer to resize
155 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
157 * lyxfunc.C: remove dead code
160 * lyxserver.C: use lyx_guii::set_read_callback
162 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
164 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
165 an inset in a RTL paragraph.
167 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
169 * lyxfunc.C: repaint after a font size update
171 2002-07-15 André Pönitz <poenitz@gmx.net>
173 * lyxlength.C: inBP should be able to return negative values
175 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
177 * lyxfunc.C: use lyx_gui::update_fonts()
179 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
181 * lyxfunc.C: use lyx_gui::update_color()
183 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
189 * lyxrc.C: remove file->new asks for name option, and let
190 buffer-new take an argument
192 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
194 * BufferView_pimpl.C: remove unneeded extra repaint()
196 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
198 * LyXAction.C: allow command-sequence with NoBuffer
200 * lyxfunc.C: don't insist on trailing ';' for command-sequence
202 2002-07-10 Angus Leeming <leeming@lyx.org>
204 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
206 2002-07-09 Angus Leeming <leeming@lyx.org>
208 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
210 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
212 * lengthcommon.h: whitespace
214 * lyxfunc.C: update scrollbar after goto paragraph
216 * lyxtext.h: factor out page break drawing, and fix it so
217 page break/added space paints as selected nicely
219 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
221 * BufferView_pimpl.C: add FIXMEs, clean up a little
223 2002-07-09 André Pönitz <poenitz@gmx.net>
225 * lyxfont.[Ch]: support for wasy symbols
227 2002-07-08 André Pönitz <poenitz@gmx.net>
229 * BufferView_pimpl.C: apply John's patch for #93.
231 2002-07-05 Angus Leeming <leeming@lyx.org>
233 * BufferView_pimpl.C (buffer): generate previews if desired.
235 * LColor.h: add "preview" to the color enum.
237 * LColor.C (LColor): add a corresponding entry to the items array.
239 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
242 2002-07-05 Angus Leeming <leeming@lyx.org>
244 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
245 The body of the code is now in the method that is passed an ostream &
246 rather than a file name.
247 Pass an additional only_preamble parameter, useful for the forthcoming
250 2002-07-03 André Pönitz <poenitz@gmx.net>
252 * lyxfunc.C: simplify getStatus() a bit for math stuff
254 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
256 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
258 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
260 * text.C (changeRegionCase): do not change case of all the
261 document when region ends at paragraph end (bug #461)
263 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
265 * paragraph.C (startTeXParParams):
266 (endTeXParParams): add \protect when necessary
268 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
270 * BufferView_pimpl.C (workAreaExpose): remove warning
272 2002-06-27 Angus Leeming <leeming@lyx.org>
274 * Makefile.am: add lyxlayout_ptr_fwd.h.
276 2002-06-26 André Pönitz <poenitz@gmx.net>
278 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
280 2002-06-25 Angus Leeming <leeming@lyx.org>
282 * lyxfunc.C (dispatch): Comment out the call to
283 grfx::GCache::changeDisplay. The method no longer exists now that the
284 pixmap generation part of the graphics loader has been moved into
287 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
289 * text2.C: layout as layout
291 * text.C: layout as layout
293 * tabular.C (OldFormatRead): layout as layout
295 * paragraph_pimpl.C (TeXDeeper): layout as layout
296 (realizeFont): layout as layout
298 * paragraph.C (writeFile): layout as layout
299 (validate): layout as layout
300 (getFont): layout as layout
301 (getLabelFont): layout as layout
302 (getLayoutFont): layout as layout
303 (breakParagraph): layout as layout
304 (stripLeadingSpaces): layout as layout
305 (getEndLabel): layout as layout
306 (getMaxDepthAfter): layout as layout
307 (applyLayout): layout as layout
308 (TeXOnePar): layout as layout
309 (simpleTeXOnePar): layout as layout
310 (TeXEnvironment): layout as layout
311 (layout): layout as layout
312 (layout): layout as layout
314 * lyxtextclass.C (compare_name): new functor to work with
315 shared_ptr, layout as layout
316 (Read): layout as layout
317 (hasLayout): layout as layout
318 (operator): layout as layout
319 (delete_layout): layout as layout
320 (defaultLayout): layout as layout
322 * lyxlayout_ptr_fwd.h: new file
324 * lyxlayout.C (Read): layout as layout
326 * lyx_cb.C (MenuInsertLabel): layout as layout
328 * bufferlist.C (newFile): layout as layout
330 * buffer.C (readLyXformat2): layout as layout
331 (parseSingleLyXformat2Token): layout as layout
332 (insertStringAsLines): layout as layout
333 (asciiParagraph): layout as layout
334 (latexParagraphs): layout as layout
335 (makeLinuxDocFile): layout as layout
336 (simpleLinuxDocOnePar): layout as layout
337 (makeDocBookFile): layout as layout
338 (simpleDocBookOnePar): layout as layout
339 (getLists): layout as layout
341 * LaTeXFeatures.C (getTClassPreamble): layout as layout
343 * CutAndPaste.C (cutSelection): layout as layout
344 (pasteSelection): layout as layout
345 (SwitchLayoutsBetweenClasses): layout as layout
347 * BufferView_pimpl.C (Dispatch): layout as layout
348 (smartQuote): layout as layout
350 * BufferView2.C (unlockInset): layout as layout
352 2002-06-24 André Pönitz <poenitz@gmx.net>
354 * lyxfunc.C: fix #487
356 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
360 * lyxfunc.C: remove display_shortcuts, show_banner
362 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
364 * Buffer_pimpl.C: oops, update on resize
366 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
373 * BufferView.C: use repaint()
375 * BufferView_pimpl.h:
376 * BufferView_pimpl.C: s/updateScreen()/repaint()/
377 as it's a clearer description. Remove superfluous
380 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
382 * text.C: fix bug 488. Not ideal, but getting
383 getWord() to work properly for the insets that
384 matter is more difficult ...
386 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
388 * BufferView_pimpl.C:
391 * lyxfunc.C: remove the six million index lyxfuncs to just
392 one, and DTRT (bug 458)
394 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
398 * BufferView_pimpl.h:
399 * BufferView_pimpl.C: clean up resize() stuff,
400 and unnecessary updateScreen()s
402 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
406 * BufferView_pimpl.h:
407 * BufferView_pimpl.C:
410 * minibuffer.C: remove focus management of workarea,
411 not needed. Use screen's greyOut()
413 2002-06-17 Herbert Voss <voss@lyx.org>
415 * converter.C: (convert) do not post a message, when converting
416 fails, let the calling function decide what to do in this case
418 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
420 * lyxfunc.C: tidy up a little
422 2002-06-16 <alstrup@diku.dk>
424 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
425 Got rid of FORMS_H_LOCATION include. Now we are
428 2002-06-15 LyX Development team <lyx@rilke>
430 * buffer.[Ch] (sgmlOpenTag):
431 (sgmlCloseTag): Added support for avoiding pernicious mixed
432 content. Return number of lines written.
435 (makeDocBookFile): Fixed calls to sgml*Tag.
436 Simple white space clean.
438 (simpleDocBookOnePar): Simple white space clean.
440 * tabular.[Ch] (docBook): Renamed to docbook and got another
441 argument to related with the pernicious mixed content.
443 (docbookRow): Fixed calls for docbook inset method.
445 2002-06-15 Lyx Development team <larsbj@birdstep.com>
447 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
448 so it's X11 independent.
452 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
454 2002-06-15 Lyx Development team <lyx@electronia>
456 * intl.h: Renamed getTrans to getTransManager.
458 2002-06-14 Angus Leeming <leeming@lyx.org>
460 * Makefile.am: nuke forgotten stl_string_fwd.h.
462 2002-06-12 Angus Leeming <leeming@lyx.org>
464 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
466 2002-06-13 Angus Leeming <leeming@lyx.org>
469 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
471 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
473 * kbmap.C (getiso): add support for cyrillic and greek
475 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
479 * BufferView_pimpl.h:
480 * BufferView_pimpl.C: move bogus scrolling logic
483 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
486 * BufferView_pimpl.C: view->resize() change
488 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
490 * BufferView_pimpl.C: topCursorVisible
493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
497 * lyx_gui.C: move to frontends/
501 * lyx_main.C: changes from above
503 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
510 * lyx_main.C: minor tidy
512 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
514 * BufferView_pimpl.h:
515 * BufferView_pimpl.C:
517 * BufferView.C: make painter() const,
520 * BufferView2.C: use screen() accessor
523 * lyx_main.C: some minor cleanup
525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
527 * BufferView_pimpl.h:
528 * BufferView_pimpl.C: remove enter/leaveView,
531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
536 * BufferView_pimpl.h:
537 * BufferView_pimpl.C: only construct screen once,
540 * lyxrc.C: remove pointless comment
542 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
545 * BufferView.C: remove active() and belowMouse()
547 * BufferView_pimpl.h:
548 * BufferView_pimpl.C: use workarea() not workarea_,
549 and make it use a scoped_ptr instead
551 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
553 * lyx_gui.C: add debug message on BadWindow
555 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
557 * sp_spell.C: fdopen is not part of the C++ standard.
559 * paragraph.C (InsetIterator): use >= instead of ==
561 2002-06-07 Angus Leeming <leeming@lyx.org>
563 Fixes needed to compile with Compaq cxx 6.5.
564 * BufferView_pimpl.C:
571 * lyxtextclasslist.C:
576 all c-library variables have been moved into namespace std. Wrap
577 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
582 Add a using std::abs declaration.
584 * kbmap.h (modifier_pair):
585 * paragraph.h (InsetTable, InsetList):
586 * lyxfont.h (FontBits):
587 type definition made public.
589 * bufferlist.C (emergencyWriteAll): the compiler complains that
590 there is more than one possible lyx::class_fun template to choose from.
591 I re-named the void specialisation as lyx::void_class_fun.
593 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
595 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
596 the compiler is is unable to find tostr in write_attribute.
598 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
600 * buffer.C (sgmlError): hide #warning
602 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
604 * xtl/*: get rid of xtl, which is not in use anyway
606 * LyXAction.C (init):
607 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
608 were unimplemented xtl experimentation
610 2002-06-04 André Pönitz <poenitz@gmx.net>
612 * lyxfunc.C: disable array operation on simple formulae
614 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
616 * converter.C: constify a bit
618 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
620 * lyx_gui.C: check xforms version correctly
622 2002-04-30 Herbert Voss <voss@lyx.org>
624 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
627 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
629 * lyxvc.C: fix bug 416 (make sure buffer is saved before
630 attempt to register it with a VCS)
632 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
634 * lyx_main.C (init): honor variables LYX_DIR_13x and
637 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
641 * lyx_main.C: fix a crash on bad command line,
642 and give a useful exit status on error
644 * lyxfunc.C (doImport): allow -i lyx to work
646 2002-03-30 André Pönitz <poenitz@gmx.net>
648 * lyxfunc.C: mathed font changes
650 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
665 * trans_mgr.h: srcdocs, and some minor cleanups
667 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
669 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
670 call getFont all the time)
672 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
674 * switch from SigC signals to boost::signals
676 2002-05-29 André Pönitz <poenitz@gmx.net>
678 * paragraph_pimpl.C (getChar): don't call size() too often...
680 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
682 * paragraph_pimpl.C (insertChar): do not try to update tables when
683 appending (pos == size())
685 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
686 in order to reduce drastically the number of comparisons needed to
687 parse a large document
689 2002-05-29 André Pönitz <poenitz@gmx.net>
695 * textclasslist.[Ch]:
696 * sp_ispell.h: whitespace change
698 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
700 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
701 lyxaction directly now.
703 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
707 * lyxvc.C: remove unused headers
709 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
716 * undo_funcs.C: some cleanups. Use shared_ptr
717 and a template for the undo stacks.
719 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
721 * BufferView_pimpl.h:
722 * BufferView_pimpl.C:
729 * text2.C: use key_state/mouse_state
731 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
733 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
736 * chset.C: change include order
737 (loadFile): use boost regex and get rid of LRegex and LSubstring
739 * Makefile.am (BOOST_LIBS): new variable
742 * LaTeX.C: change include order.
743 (scanAuxFile): use boost regex and get rid of LRegex and
747 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
752 * FontInfo.C: moved to frontends/xforms/
755 * FontLoader.C: moved into frontends for GUIIzation
760 * lyxfunc.C: changes from above
762 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
764 * LColor.C: remove spurious X include
766 * BufferView_pimpl.C:
771 * text2.C: move font metrics to frontends/
773 2002-05-24 Juergen Vigna <jug@sad.it>
775 * undo_funcs.C (textHandleUndo): fix the cursor selection after
776 setting the undo_cursor.
778 * ParagraphParameters.h: include local includes first.
780 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
782 * BufferView_pimpl.C:
783 * BufferView_pimpl.h:
787 * screen.C: move WorkArea into frontends/
793 * BufferView2.C: move LyXScreen into frontends/
797 * lyx_gui.C: move lyxlookup into frontends/xforms/
799 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
802 * BufferView_pimpl.C:
812 * bufferview_funcs.C:
825 * vc-backend.C: move LyX/XFormsView into frontends/
827 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
839 * text2.C: move Painter to frontends/
841 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
843 * buffer.C: comment out some some code that depend upon lyx_format
846 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
847 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
849 * buffer.h (NO_COMPABILITY): turn off compability
851 * ColorHandler.C: include scoped_array.hpp
853 * font.C: Use more specific smart_ptr header.
856 * ShareContainer.h: ditto
860 * BufferView_pimpl.h: ditto
861 * ColorHandler.h: ditto
863 * kbmap.C (defkey): change call to shared_ptr::reset
865 2002-05-21 Juergen Vigna <jug@sad.it>
867 * buffer.C (insertErtContents): fix to insert ert asis if it is
868 non empty. Skip it completely if it contains only whitespaces.
870 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
872 * BufferView_pimpl.C:
873 * BufferView2.C: clear selection on paste (bug 393)
875 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
877 * DepTable.C: include ctime
879 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
881 * buffer.C (latexParagraphs): Add new argument (moving_arg).
883 2002-05-14 Juergen Vigna <jug@sad.it>
885 * text.C (breakParagraph): fixed function to honor the keepempty
886 layout in the right maner and also to permit the right breaking
887 algorithm on empty or non empyt keepempty paragraphs.
889 * paragraph.C (breakParagraph): we have to check also if the par
890 is really empty (!size()) for isempty otherwise we do the wrong
893 2002-05-10 Juergen Vigna <jug@sad.it>
895 * buffer.[Ch] : The following are only changes to the ert
896 compatibility read reading old LaTeX layout and font stuff and
897 convert it to ERTInsets.
899 * buffer.h: added isErtInset().
901 * buffer.C (struct ErtComp): add a fromlayout bool to check
902 if we're inside a LaTeX layout.
903 (isErtInset): new helper function.
904 (insertErtContents): look for other ert insets before this one
905 and insert the contents there, so that we don't have subsequent
906 ERT insets with nothing between them. This way we create only one
907 inset with multiple paragraphs. Also check if we don't insert only
908 spaces ' ' as they are ignored anyway afterwards in the .tex file
909 so if we have only spaces we will ignore this latex part in the
911 (parseSingleLyXformat2Token \\layout): better compatibility when
912 reading layout-latex stuff.
913 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
915 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
916 stuff after reading the inset only get the information back from
919 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
921 * buffer.C (makeLaTeXFile): Put language options after loading babel.
923 * LaTeXFeatures.C (getBabelOptions): New method.
925 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
927 * BufferView_pimpl.C (Dispatch): work around missing argument for
930 2002-05-08 Juergen Vigna <jug@sad.it>
932 * text.C (leftMargin): handle paragraph leftindent.
934 * paragraph.C (writeFile): write the new \\leftindent tag.
935 (validate): handle leftindent code.
936 (TeXEnvironment): handle paragraphleftindent code again.
938 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
940 * buffer.C (parseSingleLyXformat2Token): added compatibility code
941 for paragrap_extra indent code and new token \\leftindent.
942 (latexParagraphs): handle the leftindent as environment.
944 * ParameterStruct.h: added leftindent support.
946 * ParagraphParameters.C (leftIndent): added support functions for
947 the paragraph left indent.
949 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
952 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
954 * paragraph.C (isRightToLeftPar): Return false for a paragraph
957 * text.C (computeBidiTables): No bidi in insetERT.
959 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
962 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
964 * version.C.in: pre 5
966 2002-05-02 José Matos <jamatos@fep.up.pt>
967 * buffer.C (makeDocBookFile): white space changes, add newline to
969 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
971 * tabular.C (docBook): fix typo.
973 2002-05-03 Juergen Vigna <jug@sad.it>
975 * screen.C (drawFromTo): recalculate the rowpointer if we had a
976 change in LyXText as we can not be sure it was not freed.
977 (drawOneRow): remove unused code.
979 * text.C (drawInset): redo the calculation of the need_break_row as
980 it could have a row which was already freed.
981 (draw): look at the return value of drawInset and return false if
982 it also returned false.
983 (paintRowText): look at the return value of draw and return false if
984 it also returned false.
986 * lyxtext.h: added bool return type to drawInset() and draw() so that
987 if we have a change in the row so that the rowbreak has to be redone
988 we abort drawing as it will be called again.
990 2002-05-02 Juergen Vigna <jug@sad.it>
992 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
993 a change in the maintext also if we're inside an inset.
994 (Dispatch): set the cursor again after a break line and after the
995 screen has been updated as it could be we're in a different row.
997 * text2.C (fixCursorAfterDelete): check to make sure we don't request
998 to set the cursor behind the pargraph with > size().
999 (setCursor): check also for the same paragraph when checking where
1000 to put the cursor if we have a NFR inset.
1002 * buffer.C (parseSingleLyXformat2Token): move the compatibility
1003 parts of layout read further up as it still was in the wrong
1006 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1008 * screen.C (drawFromTo): change sine fullRebreak always return
1011 * buffer.C (parseSingleLyXformat2Token): reindent some
1013 * BufferView_pimpl.C (update): change since fullRebreak always
1015 (Dispatch): git rid of the last hardcoded "Standard"s.
1017 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1019 * text2.[Ch] (fullRebreak): make it return void now that we always
1022 2002-04-30 Juergen Vigna <jug@sad.it>
1024 * buffer.C (parseSingleLyXformat2Token): reset the font before the
1025 ert compatibility check for "latex" layout.
1027 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
1029 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
1030 minipages: use col% instead of p%, and also use the current font.
1031 (makeLaTeXFile): Fix use babel condition.
1032 (parseSingleLyXformat2Token): Correct font when reading old floats.
1034 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1036 * BufferView_pimpl.C (Dispatch): Check that float type exists when
1037 inserting list of floats.
1039 2002-04-25 Herbert Voss <voss@lyx.org>
1041 * MenuBackend.C (expand): don't add the graphics extensions to the
1044 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1046 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
1047 non-existing layout, do not complain if it was the default layout
1048 of the original class (bug #342)
1050 2002-04-24 Juergen Vigna <jug@sad.it>
1052 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
1053 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
1055 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1057 * buffer.C (getBibkeyList): If using \bibliography, return the
1058 option field with the reference itself. Enables us to provide natbib
1059 support when using \bibliography.
1061 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
1063 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
1065 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
1066 natbib is provided by the LaTeX class.
1068 2002-04-23 Juergen Vigna <jug@sad.it>
1070 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
1073 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
1075 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1077 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
1079 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
1080 ensuremath around textordmasculine, textordfeminine and
1083 2002-04-19 Juergen Vigna <jug@sad.it>
1085 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
1086 reinitializing the buffer otherwise row-dimensions may be wrong.
1087 (update): reset also the selection cursors if they do exits otherwise
1088 their x/y positions may be wrong.
1090 * text2.C (cursorDown): don't enter the inset if we came from a row
1091 above and are one row over the inset.
1093 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
1094 really leaving an inset.
1096 2002-04-18 Juergen Vigna <jug@sad.it>
1098 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
1099 of the selected paragraph does not have the selected layout also if
1102 * text2.C (setLayout): fixed bug which did not change last selected
1105 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
1106 changed the read and substituted \\end_float with \\end_inset!
1108 * BufferView_pimpl.C (cursorPrevious):
1109 (cursorNext): fixed to make it work with rows heigher than the work
1110 area without moving the cursor only the draw of the row.
1111 (workAreaMotionNotify): fix jumping over high rows.
1113 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1115 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
1118 2002-04-16 Juergen Vigna <jug@sad.it>
1120 * text2.C (setCursor): set also the irow().
1121 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
1123 (cursorDown): support for locking an inset if the x_fix value goes
1124 inside it. That way I can transverse insets too with cursor up/down.
1126 * lyxrow.h: added irow helper function same as other (i) functions.
1128 * BufferView_pimpl.C (cursorPrevious):
1129 (cursorNext): fixed for insets!
1131 2002-04-15 Juergen Vigna <jug@sad.it>
1133 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
1134 position otherwise it is wrong in some cases.
1136 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
1137 inside the inset before the call.
1139 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1141 * buffer.[Ch] (getBibkeyList): make it const.
1143 2002-04-12 Juergen Vigna <jug@sad.it>
1145 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
1147 * text2.C (getCursorX): new helper function
1148 (setCursor): compute also ix_
1149 (setCursorFromCoordinates): set also ix.
1151 * lyxcursor.h: added ix_ and helper functions.
1153 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
1155 * buffer.C (insertStringAsLines): dont break paragraph if the this
1156 paragraph is inside an inset which does not permit it!
1158 * text.C (breakParagraph): honor keepempty flag and break the paragraph
1159 also with no chars on this paragraph.
1160 (paintRowText): only paint stuff if it's inside the workarea!
1162 * paragraph.C (breakParagraph): honor keepempty flag and break the
1163 paragraph always below not above.
1165 * BufferView2.C (unlockInset): update the paragraph layout on inset
1166 unlock as we changed paragraph in such a case.
1168 * lyxfind.C (LyXFind): clear the former selection if not found!
1170 * text2.C (insertInset): freeze Undo after setUndo so that it is not
1171 again called in insertChar().
1173 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
1174 an inset which uses the whole row!
1175 (rightMargin): ditto.
1176 (insertChar): force a rebreak if we inserted an inset!
1178 2002-03-28 Herbert Voss <voss@lyx.org>
1180 * lyxlength.[Ch]: add inBP() to get the right PS-point
1181 units (BigPoint). With inPixels we have rounding errors
1183 2002-04-11 Juergen Vigna <jug@sad.it>
1185 * text2.C (setCursorFromCoordinates): set iy to the right value.
1186 (setCursor): add check if row->previous exists!
1188 * buffer.C (parseSingleLyXformat2Token): reset font after read of
1189 an old float_type as this was the case in the old code!
1191 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
1193 * BufferView2.C (showLockedInsetCursor): use iy
1194 (fitLockedInsetCursor): ditto
1196 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
1197 locked insets as there we have the right value now.
1199 * lyxcursor.C: added iy_ variable and iy functions to set to the
1200 baseline of cursor-y of the locked inset.
1202 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
1203 (setCursor): fixed for insets which need a full row.
1205 * text.C (rowLastPrintable): don't ignore the last space when before
1206 an inset which needs a full row.
1207 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
1208 as last character of a row when before a inset which needs a full row.
1210 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1212 * version.C.in: update date
1214 * text2.C (fullRebreak): try to always return true and see what
1217 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1219 * MenuBackend.C (expand): use Floating::listName
1221 * FloatList.C (FloatList): add listName argument to the built-in
1224 * Floating.[Ch]: add listName member, which is the 'List of XXX'
1225 text associated with the float.
1227 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1229 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
1231 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1233 * ShareContainer.h: add a couple of missing typenames.
1235 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
1237 * lyxrc.C (getDescription): use _() correctly rather than N_().
1239 2002-03-28 Herbert Voss <voss@lyx.org>
1241 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
1242 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
1244 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1246 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
1247 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
1249 2002-03-29 Juergen Vigna <jug@sad.it>
1251 * lyxfunc.C (dispatch): add a missing fitCursor call.
1253 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
1254 it was scrolled by a cursor move, so return the bool status.
1256 * BufferView.C (fitCursor): return the bool flag also to the outside
1257 world as this is needed.
1259 * screen.C (toggleToggle): don't subtract the offset if it's positive.
1261 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
1262 call the edit() as it is not needed (and wrong) IMO.
1263 (workAreaButtonPress): set the screen_first variable before evt.
1264 unlock the inset as this may change screen_first and then we have
1265 a wrong y position for the click!
1267 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1269 * MenuBackend.C (expand): another translation that I missed
1271 2002-03-28 Juergen Vigna <jug@sad.it>
1273 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
1275 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
1277 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1279 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
1281 * MenuBackend.C (expand): fix export/view/update when there is no
1284 2002-03-27 Herbert Voss <voss@lyx.org>
1286 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
1289 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1291 * bufferview_funcs.C (currentState): only show paragraph number
1292 for is DEVEL_VERSION is set.
1294 * lyxfunc.C (dispatch): put warning in INFO channel
1296 * MenuBackend.C (expand): translate the name of floats
1298 * FloatList.C (FloatList): mark the float names for translation
1300 * converter.C (convert): use LibScriptSearch
1302 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1304 * MenuBackend.C (defaults): fix default menu (we might as well get
1307 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1309 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
1312 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1314 * lyxvc.C: reorder includes.
1316 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
1318 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
1321 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
1323 * CutAndPaste.C: change layouts earlier on paste
1324 to avoid crashing when calling getFont()
1326 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1328 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
1331 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * WorkArea.C: remove 'Pending' debug message.
1335 * most files: ws cleanup
1337 * buffer.[Ch]: ws changes
1339 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
1341 2002-03-21 Juergen Vigna <jug@sad.it>
1343 * tabular.C (SetMultiColumn): collapse also the contents of the
1344 cells and set the last border right. Added a Buffer const * param.
1346 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1348 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
1351 2002-03-19 Juergen Vigna <jug@sad.it>
1353 * text2.C (clearSelection): reset also xsel_cache.
1355 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
1356 where it needs to be called (John tells us to do so too :)
1357 (selectionLost): reset sel_cache.
1359 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
1361 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1363 * text2.C (setCursorIntern): put debuging code in INSETS channel
1365 2002-03-19 André Pönitz <poenitz@gmx.net>
1367 * lyxfunc.C: tiny whitespace change
1369 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1371 * ToolbarDefaults.C (init):
1372 * LyXAction.C (init):
1374 * BufferView_pimpl.C (Dispatch):
1375 * lyxfunc.C (dispatch): remove LFUN_DEPTH
1377 2002-03-19 Allan Rae <rae@lyx.org>
1379 * exporter.C (Export): removeAutoInsets before doing anything else.
1380 While I've just introduced a dependency on BufferView this really is
1381 the best place to clean the buffer otherwise you need to cleanup in
1382 a dozen places before calling export or cleanup in a dozen functions
1385 * converter.C (runLaTeX):
1386 (scanLog): Better handling of removeAutoInsets and screen updates.
1388 * lyxfunc.C (dispatch): small whitespace changes
1390 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * WorkArea.C (C_WorkAreaEvent): return a value.
1393 (event_cb): return 1 if we handled the event, 0 otherwise.
1395 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
1397 2002-03-18 Juergen Vigna <jug@sad.it>
1399 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
1400 (GetAdditionalWidth): ditto.
1404 * BufferView2.C (copy): use getLyXText() so that we do it inside an
1405 inset if we're there actually (probably not used right now but this
1406 is the direction to go for unifying code).
1407 (paste): disable code to clear the selection.
1409 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
1410 inside an InsetText and move the check further up as it is in the
1413 * text2.C (pasteSelection): set a selection over the pasted text.
1415 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
1417 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
1418 and libgraphics to build on Cygwin.
1420 2002-03-15 Juergen Vigna <jug@sad.it>
1422 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
1423 inserting an Inset into the paragraph. I know this is not the best
1424 fix but we already use current_view in CutAndPaste so we will remove
1425 all of it's using at the same time.
1427 * buffer.C (sgmlError): deactivated function till it is rewritten in
1428 the right mode, now it can create problems.
1430 * paragraph.C (isLineSeparator): check if getInset returns != 0,
1431 before accessing it.
1433 2002-03-14 Juergen Vigna <jug@sad.it>
1435 * undo_funcs.C (textHandleUndo): do the right thing when updating
1436 the inset after the undo/redo.
1438 * text2.C (setCursor): just some testcode for #44 not ready yet.
1440 * undo_funcs.C (textHandleUndo): set the next() and previous()
1441 pointers of the paragraph to 0 before deleting otherwise we have
1442 problems with the Paragraph::[destructor].
1444 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
1445 on a paragraph insertion.
1447 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1449 * buffer.C (asciiParagraph): use += operator for char append to
1452 * paragraph.C (getFontSettings): compare >= not just >
1453 (highestFontInRange): ditto
1456 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1458 * paragraph.C: change several algorithm to be more appripriate for
1459 the problem domain. This is lookip in FontList and in the InsetList.
1461 2002-03-13 André Pönitz <poenitz@gmx.net>
1464 * LyXAction.C: remove unused LFUN_MATH_MACROARG
1466 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
1471 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
1473 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1475 * Painter.C (display): anon helper function, adjust code for this
1477 (pixmap): remove function.
1479 * Painter.h: remove private display variable.
1481 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
1483 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
1485 * WorkArea.[Ch]: remove figinset_canvas cruft.
1487 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1489 * lyxtextclass.C (operator): add one item cache optimization.
1491 * bufferlist.h: doxy changes
1493 * bufferlist.C: ws changes
1495 * DepTable.[Ch] (ext_exist): place const in the right spot.
1497 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
1499 (workAreaExpose): call resizeInsets when the with BufferView changes.
1500 (Dispatch): adjust for protectedBlank removal
1501 (specialChar): call updateInset if the insert went ok.
1503 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
1504 specialChar instead.
1506 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
1508 * BufferView.h: doxy change
1510 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
1512 * lyxtextclass.C (operator[]): remove non-const version
1513 (defaultLayout): remove non-const version
1515 2002-03-12 Juergen Vigna <jug@sad.it>
1517 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
1518 did resize the LyXText too.
1520 * buffer.C (readLyXformat2): set layout information on newly allocated
1523 * tabular.C (OldFormatRead): set layout information on the paragraph.
1525 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1527 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
1529 2002-03-11 Juergen Vigna <jug@sad.it>
1531 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
1533 (resizeCurrentBuffer): force also the insets to resize themselfes.
1534 (moveCursorUpdate): fixed up for InsetText.
1536 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
1539 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
1540 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
1541 value of Dialogs::tooltipsEnabled().
1542 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
1544 2002-03-08 Juergen Vigna <jug@sad.it>
1546 * BufferView_pimpl.C (updateInset): update inset inside inset also
1547 if it isn't inside theLockingInset().
1549 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1551 * buffer.C (asciiParagraph): redo some of the word and line length
1553 (getLists): look for Caption instead of caption.
1555 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1557 * buffer.C (Buffer): initialize niceFile to true
1560 (makeDocBookFile): make sure niceFile is true on exit
1562 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1564 * buffer.C (makeLaTeXFile): escape ~ in \input@path
1566 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
1568 * LyXSendto.C: remove.
1569 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
1570 * lyx_gui.C: remove now-redundant comment.
1571 * ColorHandler.h: remove forward declaration of class WorkArea.
1572 * lyxfunc.C: remove #include "WorkArea.h".
1574 2002-03-07 Juergen Vigna <jug@sad.it>
1576 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
1577 got moved away with the DEPM and also set the inset_owner always
1578 right which before could have been omitted.
1580 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1582 * buffer.C (parseSingleLyXformat2Token): use default layout is the
1583 wanted layout is not found.
1585 2002-03-07 Juergen Vigna <jug@sad.it>
1587 * CutAndPaste.C (cutSelection): another layout settings forgotten.
1589 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1591 * paragraph.C (breakParagraph): use default layout not layout of
1593 (Paragraph): clear ParagraphParameters.
1595 2002-03-06 Juergen Vigna <jug@sad.it>
1597 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
1598 otherwise it would not be a valid lenght. Fixed a special case in
1599 the minipage compatibility read where we end the document with a
1602 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
1603 was set as it could be 0 for InsetTexts first entry.
1605 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1607 * paragraph.C (writeFile): if layout is empty write out
1608 defaultLayoutName().
1610 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
1611 file without named layout we set layout to defaultLayoutName().
1613 2002-03-06 Juergen Vigna <jug@sad.it>
1615 * CutAndPaste.C (copySelection): set layout for new paragraph.
1617 * text.C (prepareToPrint): leave ERT inset left aligned
1618 (leftMargin): don't indent paragraphs inside ERT insets
1620 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1622 * paragraph.C (breakParagraph): dont call clear do the work manually
1624 * paragraph.[Ch] (clear): remove function
1626 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1628 * paragraph.C (Paragraph): dont call clear, the work has already
1631 * lyxtextclass.C (operator): assert if n is empty
1633 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
1634 work manually instead.
1636 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
1638 * BufferView_pimpl.C: protect selectionLost against text == 0
1640 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1642 * text.C (breakParagraph): fix a setting layout to '0' problem.
1644 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1646 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
1647 final location of file, for the included files, and graphics.
1649 2002-03-05 Juergen Vigna <jug@sad.it>
1651 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
1653 2002-03-04 Juergen Vigna <jug@sad.it>
1655 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
1657 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
1658 last column of multicolumn cells.
1659 (SetWidthOfMulticolCell): recalculate NMC and real columns.
1661 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
1663 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
1664 file if it doesn't go to a temporary file.
1666 * buffer.C (sgmlOpenTag):
1667 (sgmlCloseTag): remove extra newline insertion.
1669 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1671 * text.C (getRowNearY): comment out debug msg
1673 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1675 * text2.C: first -> first_y
1677 * text.C (getRowNearY): add some attemts at a possible
1678 optimization, not working.
1680 * tabular.[Ch]: add BufferParams to several function so that newly
1681 created paragraph can be initialized to he default layotu for the
1684 * tabular-old.C (ReadOld): add buf->params to call of Init
1686 * screen.C: rename text->first to text->first_y
1688 * paragraph.C (breakParagraph): always set layout in the broken
1691 * lyxtextclass.C (Read): remove lowercase
1694 (delete_layout): ditto
1696 * lyxtext.h: rename first -> first_y
1698 * lyxlayout.C (Read): remove lowercase
1701 (obsoleted_by): ditto
1703 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
1705 * buffer.C (insertErtContents): add params are to InsetERT
1706 (parseSingleLyXformat2Token): add code to check if a paragraphs
1707 layout really exist.
1708 (parseSingleLyXformat2Token): add params to several inset
1710 (asciiParagraph): remove lowercase, do the layout comparisons with
1713 * BufferView_pimpl.C (cursorNext): first -> first_y
1714 (resizeCurrentBuffer): first -> first_y
1715 (updateScrollbar): first -> first_y
1716 (scrollCB): first -> first_y
1717 (workAreaMotionNotify): first -> first_y
1718 (workAreaButtonPress): first -> first_y
1719 (checkInsetHit): first -> first_y
1720 (cursorPrevious): first -> first_y
1721 (cursorNext): first -> first_y
1722 (Dispatch): add buffer_->params to severl inset contructors
1724 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1726 * lyxlayout.C (Read): remove some debug info that I forgot.
1728 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
1729 clean up the code slightly.
1730 (makeLinuxDocFile): ditto
1731 (makeDocBookFile): ditto
1733 * text2.C: layout as string
1735 * text.C: layout as string
1737 * paragraph_pimpl.C: layout as string
1739 * paragraph.[Ch]: layout as string
1741 * lyxtextclasslist.[Ch]: layout as string
1743 * lyxtextclass.[Ch]: layout as string
1745 * lyxtext.h: layout as string
1747 * lyxlayout.[Ch]: layout as string
1749 * lyx_cb.C: layout as string
1751 * bufferview_funcs.C: layout as string
1753 * bufferparams.C: layout as string
1755 * buffer.C: layout as string
1757 * LyXView.[Ch]: layout as string
1759 * LaTeXFeatures.[Ch]: layout as string
1761 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
1763 * BufferView_pimpl.C: change current_layout to string, remove
1768 (workAreaButtonRelease): layout as string
1770 * BufferView2.C (unlockInset): adjust
1772 * vspace.C (asLatexCommand): use an explict temp variable.
1774 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
1776 * Makefile.am: use FRONTEND_*
1778 2002-03-01 Juergen Vigna <jug@sad.it>
1780 * tabular.C (SetWidthOfMulticolCell): changed to something better
1781 I hope but still work in progress.
1782 (recalculateMulticolumnsOfColumn): renamed function from
1783 recalculateMulticolCells as it is more appropriate now.
1784 (SetWidthOfCell): calculate multicols better.
1786 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1788 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
1790 * lyxfunc.C (processKeySym): print sequence also if it is
1791 `deleted' (complete)
1793 * kbsequence.C (print): print sequence even if it is deleted
1794 (complete would be a better word, actually).
1796 * lyxfunc.C (dispatch): print complete options after a prefix key
1798 * vspace.C (asLatexCommand): rewrite in a slightly different form.
1800 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
1802 * text2.C (setCharFont): eliminate setCharFont code duplication.
1804 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1806 * BufferView_pimpl.C (Dispatch): remove bogus handling of
1807 LFUN_TABULAR_FEATURE (bug #177)
1809 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
1811 * Makefile.am: remove figure.h
1813 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
1815 * Bufferview_pimpl.C:
1827 * text2.C: remove #include "lyx_gui_misc.h".
1829 * LaTeX.C: added #include <cstdio>
1831 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1833 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
1834 that the paragraph following this one can have.
1836 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
1838 * vspace.C (asLatexCommand): fix bogus gcc warning
1840 * Makefile.am (lyx_SOURCES): remove vms_defines.h
1842 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
1844 * text2.C (setLayout): get rid of redundant code
1846 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
1848 * text2.C (incDepth): make sure depth cannot be increased beyond
1851 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
1853 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
1854 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
1856 * PainterBase.h (image):
1857 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
1860 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1864 * BufferView_pimpl.C:
1865 * BufferView_pimpl.h:
1885 * sp_spell.C: remove fig inset, and the crap house of
1886 cards that follows it
1888 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1894 * nt_defines.h: move .h into support/
1896 * vms_defines.h: remove
1898 * WorkArea.C: add space in debug output
1902 * buffer.C: add WITH_WARNINGS
1906 * bufferlist.C: s/retrive/retrieve/, add docs
1917 * lyxgui.C: add ID to X error handler
1919 * lyxtestclass.c: fix typo
1921 2002-02-26 Juergen Vigna <jug@sad.it>
1923 * tabular_funcs.C (write_attribute): changed so that some default
1924 attributes are not written at all.
1925 (getTokenValue): set default values before trying to read the
1926 value so we have the return value always set as default if we don't
1927 find the token we search for.
1929 * tabular.C (Write): write bools as bools not as strings!
1931 2002-02-22 Juergen Vigna <jug@sad.it>
1933 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
1934 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
1936 * text.C (leftMargin): don't add an indent for paragraphs inside
1937 tabular cells (fix #208).
1939 2002-02-21 José Matos <jamatos@fep.up.pt>
1941 * tabular.C (docBook): fixed support for long tables.
1943 2002-02-20 Juergen Vigna <jug@sad.it>
1945 * text2.C (getFont): get the drawing font of the Inset if this
1946 paragraph is inside an inset (only important for InsetERT for now).
1948 * buffer.C (insertErtContents): use new lanugage params in ERT
1951 * CutAndPaste.C: commenting out seemingly uneeded code.
1953 2002-02-19 Allan Rae <rae@lyx.org>
1955 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
1956 Iterators might be simple to use but they also get invalidated.
1957 (removeAutoInsets): renamed saved cursor tracking variables and added
1958 some comments to clarify what everything does.
1960 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1967 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
1968 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1971 * vc-backend.h: remove #include "support/syscall.h"
1975 * converter.C: rearrange #includes in Lars' approved fashion.
1977 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1978 forward declare class Timeout in the header file.
1980 * XFormsView.C: changes due to the above.
1982 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1985 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1986 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1988 2002-02-18 José Matos <jamatos@fep.up.pt>
1990 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1993 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1995 * a lot of small ws changes
1996 * add a lot of using std::XXX
1997 * use std construcs some places where approp.
1998 * use some exisint stuff from lyxfunctional where approp.
1999 * Make file changes to use partial linking (lets test this now...)
2001 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2005 remove #include "support/syscontr.h" as it's redundant. Always has been.
2013 change Systemcalls::System to Systemcalls::Wait and
2014 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
2015 No change of functionality, just reflects the stripped down Systemcalls
2018 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2020 * debug.[Ch]: add a GRAPHICS type to the enum.
2022 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2024 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
2026 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
2029 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2031 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
2032 match the changes below.
2034 * text2.C (toggleInset): if there is not editable inset at cursor
2035 position, try to see if cursor is _inside_ a collapsable inset
2038 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2040 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
2041 document menu has a nice checkbox
2043 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2045 * lyxlength.C (asLatexString): change PW to output as percent of
2048 * lengthcommon.C: change '%' to 't%'
2050 * lyxfunc.C (dispatch): a few comments from Martin
2052 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
2056 * BufferView_pimpl.h:
2057 * BufferView_pimpl.C: clear our selection when X tells us we've lost
2060 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2062 * vspace.C (inPixels): fix compiler warning
2064 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2066 * lyxfunc.C (getStatus): fix status message for disabled commands.
2068 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
2070 * BufferView_pimpl.C: fix crash on close buffer
2071 during selection (#227)
2073 2002-01-27 Herbert Voss <voss@lyx.org>
2075 * buffer.C: link old Figure to new graphic inset
2077 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
2079 * FontLoader.C (getFontinfo): Change the latex font names in order
2080 to match the names of type1inst.
2082 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2084 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
2086 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
2089 (remove_files_with_extension): ditto
2090 (remove_file): ditto
2093 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
2094 document is smaller than the work area height. Do not initialize
2095 static variables to 0.
2097 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2099 * lyx_gui.C (init): give the toolbar tooltips a normal font.
2101 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
2102 LFUN_LAYOUT_PARAGRAPHS.
2104 * tabular.C (GetCellFromInset): new method. Finds an inset in a
2105 tabular. It is possible to provide a possible cell, which will
2106 typically be the actcell from the corresponding insettabular
2108 * lyxfunc.C (getStatus): small cleanup; disable
2109 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
2112 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2114 * tabular.C (Validate): remove broken optimization (fixes bug #201)
2116 * paragraph.C (startTeXParParams):
2117 (endTeXParParams): new methods. The LaTeX code to
2118 start/end paragraph formatting
2119 (simpleTeXOnePar): call startTeXParParams also when paragraph is
2120 empty (fixes bug #200)
2122 * vspace.C (inPixels): adapt to the change below
2123 (inPixels): [later] more cleanups (remove unused variables)
2125 * lyxlength.C (inPixels): change to use a width and a height as
2128 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2130 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
2131 Replaced with \paperwidth
2133 * DepTable.C (insert): add std:: qualifier
2135 2002-01-18 Allan Rae <rae@lyx.org>
2137 * text2.C (removeRow): add comment. Should other refresh_?? vars be
2140 * text.C (drawInset): Turned out I didn't know enough about how
2141 rebreaking worked. This fixes most of the redraw problems. I see
2142 an occasional cursor trail when a line is broken now and the cursor
2143 placement can seem out by a few pixels also after a rebreak.
2145 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2147 * buffer.C (parseSingleLyXformat2Token): update because minipage
2148 width is now a LyXLength
2150 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
2152 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
2155 2002-01-17 Juergen Vigna <jug@sad.it>
2157 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
2159 * BufferView2.C (lockInset): call edit() so that theLockingInset()
2160 is set correctly and the inset is updated correctly.
2162 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2164 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
2165 the beginning of the loop.
2167 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
2169 * lyxrc.C: improve help for use_scalable_fonts
2171 2002-01-17 Allan Rae <rae@lyx.org>
2173 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
2175 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2177 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
2178 make sure to set their inset_owner to the right value (bug #171)
2180 2001-12-12 Ben Stanley <bds02@uow.edu.au>
2183 * DepTable.C: Implement mtime checking to reduce time spent doing
2186 2002-01-16 Juergen Vigna <jug@sad.it>
2188 * tabular.C (GetAdditionalHeight): one of error fixed.
2190 * lyxrc.C (output): small fix in writing use_pspell.
2192 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
2194 * sp_base.h: #include LString.h
2196 2002-01-16 Allan Rae <rae@lyx.org>
2198 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
2199 Can someone check this please?
2201 * text.C (drawInset): It was possible that p.row would be removed by
2202 breakAgainOneRow upsetting a few other settings. There may be another
2203 small tweak possible by setting need_break_row = 0 when p.row has been
2204 removed but I don't know enough about the logic here.
2206 2002-01-15 Allan Rae <rae@lyx.org>
2208 * text.C (insertChar): removed conditional truism.
2210 * BufferView2.C (removeAutoInsets): More tweaks.
2211 cur_par_prev could be a stray pointer. Check for trailing empty line
2212 in case last line was cur_par and only had an error inset on it.
2214 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2216 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
2219 * vc-backend.C (most methods):
2220 * exporter.C (Export):
2221 * converter.C (convert):
2223 * LyXSendto.C (SendtoApplyCB):
2224 * lyxfunc.C (dispatch):
2228 * lyx_cb.C (AutoSave):
2230 * BufferView_pimpl.C (MenuInsertLyXFile):
2231 * buffer.C (runChktex): use Buffer::filePath().
2233 * buffer.h: rename filename to filename_; rename filepath to
2234 filepath_ and make it private
2235 (filePath): new method
2237 * buffer.C (writeFile): use fileName()
2240 * lyx_main.C (init): fix starting of LyX when the binary is a
2241 link from so,ewhere else.
2243 * minibuffer.C: include <cctype> for isprint
2245 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2247 * buffer.C (parseSingleLyXformat2Token): changes associated with the
2248 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
2249 name clash with InsetCollapsable's width function.
2251 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2253 * lastfiles.C: include <iterator>
2255 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2257 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
2260 * buffer.C (makeLaTeXFile): ditto.
2261 Also make loop operation more transparent.
2263 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2265 * ToolbarDefaults.C: remove trailing comma closing namespace.
2267 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
2269 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
2272 * trans.C (Load): comment out unused variable, allowed.
2274 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
2276 * minibuffer.[Ch] (append_char): new method to recieve input from the
2277 drop-down completion browser. If a key was pressed, then recieve this
2278 char and append it to the existing string.
2279 (peek_event): modify the positioning data passed to the completion
2280 browser so that it can be placed above the minibuffer rather than below.
2281 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2283 * LyXAction.C (init): alloe error-next for readonly documents.
2285 * BufferView2.C (ChangeRefsIfUnique): use standard version of
2288 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2290 * bufferlist.C (readFile): create the buffer _after_ checking that
2293 * lyxfunc.C (verboseDispatch): fix handling of arguments
2295 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
2297 * lyxrc.C: use string::erase() instead of initializing to "".
2300 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2302 * BufferView_pimpl.h:
2303 * BufferView_pimpl.C:
2306 * text2.C: tell X when we have made a selection for copying
2308 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2310 * BufferView_pimpl.C (MenuInsertLyXFile):
2311 * lyxfunc.C (menuNew):
2313 (doImport): add shortcuts to directory buttons
2315 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
2318 * lyxfunc.C (setStatusMessage):
2319 (getStatusMessage): new methods
2320 (getStatus):use setStatusMessage instead of setErrorMessage
2321 (dispatch): when function is disabled, set error message here
2322 [instead of in getStatus previously]
2324 * BufferView_pimpl.C (workAreaButtonRelease): update
2325 toolbar/menubar here too.
2327 2002-01-13 Allan Rae <rae@lyx.org>
2329 * BufferView2.C (removeAutoInsets): finished off earlier fix.
2330 Now seems indestructible. Remaining task is to audit all other
2331 code affected by deleteEmptyParagraphMechanism. One small quirk
2332 left is that an empty document with an error in the preamble can
2333 be made to report an error but no error box appears. I don't know
2335 (removeAutoInsets): Improved comments.
2337 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
2340 * Thesaurus.C: update for Aiksaurus 0.14
2342 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2344 * text2.C (firstParagraph): removed member function, all uses
2345 replaces with ownerParagraph
2346 (redoParagraphs): here
2348 (toggleAppendix): here
2349 * BufferView2.C (insertErrors): here
2350 (setCursorFromRow): here
2352 2002-01-13 Allan Rae <rae@lyx.org>
2354 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
2355 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
2356 There is still a way to segfault this although you may have to do this
2357 multiple times: Have an InsetERT with an unknown command in it.
2358 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
2359 <down-arrow>, <Enter> again, View->DVI, BANG!
2361 * text2.C (setCursor):
2362 (deleteEmptyParagraphMechanism):
2363 * lyxtext.h (setCursor):
2364 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
2365 Making use of the return value may help fix other bugs.
2367 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2369 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
2371 * LyXView.C (updateMenubar): call MenuBar::update here
2372 (updateToolbar): but not here
2373 (showState): do not update toolbar/menubar
2375 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
2376 should need to care about that.
2378 * lyxfunc.C (verboseDispatch): simplify a bit
2379 (getStatus): have a version which takes a pseudoaction, and
2380 another which requires a (kb_action,string).
2382 * LyXAction.C (retrieveActionArg): make it work also when action
2383 is not a pseudo-action.
2384 (getActionName): simplify a bit
2387 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2389 * lyxfunc.C (verboseDispatch): new families of methods with
2390 several ways to specify a command and a bool to indicate whether
2391 the command name and shortcut should be displayed in minibuffer
2392 (eventually, we could extend that to a finer bitmask like
2393 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
2394 (dispatch): the pristine dispatch command which just, well,
2395 dispatchs! Note it still sets its result to minibuffer; I'm not
2398 * lyxfunc.h: remove setHintMessage
2400 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
2402 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2404 * BufferView_pimpl.C (specialChar): delete new inset if we have
2405 not been able to insert it.
2407 * kbmap.C: revert to using int instead of kb_action, since all we
2408 are dealing with is pseudo-actions.
2410 * LyXAction.C (searchActionArg): change to return int instead of
2411 kb_action, since the result is a pseudoaction.
2413 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
2415 * buffer.C (insertErtContents): Fix (partially) the font bug.
2417 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
2419 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
2420 as the other one is broken on my machine!
2422 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
2425 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
2427 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
2429 * lyxrc.[Ch]: change names and descriptions of popup font variables to
2430 reflect their actual use. Provide compatibility code for older lyxrc
2433 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
2435 change names of popup font variables in line with the changes to lyxrc.C
2437 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2439 * buffer.C (asciiParagraph): avoid outputing a word twice after
2442 * lyxrc.C (getDescription): document that document_path and
2443 template_path can be empty.
2445 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2447 * LaTeXFeatures.C (getMacros):
2448 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
2450 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
2452 * LaTeXFeatures.C (useFloat): require "float" here instead of in
2454 (getPackages): rename feature "floats" to "float". Use an array to
2455 iterate over 'simple' features (i.e. just a \usepackage). Add
2456 handling of "amsmath" (renamed from "amsstyle").
2458 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
2460 * LaTeXFeatures.C (require): Prevent duplicate entries in the
2463 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
2465 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
2466 FuncStaus::FuncStatus & FuncStaus::some_method().
2468 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2470 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
2471 of the func_satus stuff. Edited and massaged in various ways by
2474 * lyxfunc.C (getStatus): use FuncStatus
2476 2002-01-08 Juergen Vigna <jug@sad.it>
2478 * text.C (nextBreakPoint): use function Inset::isChar().
2480 * paragraph.C (TeXOnePar): use function
2481 Inset::forceDefaultParagraphs.
2483 * buffer.C (latexParagraphs): use function
2484 Inset::forceDefaultParagraphs.
2486 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2488 * lyx_gui.C (init): set the style of the menu popups to
2489 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
2491 2002-01-07 Juergen Vigna <jug@sad.it>
2493 * text.C (setHeightOfRow): small fix
2494 (prepareToPrint): don't look at alignment if we don't have the place
2497 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2499 * box.C: New file. Move the Box methods and functions out of box.h,
2500 following Lars' suggestion.
2502 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2504 * box.h: #include "support/LOstream.h", needed for inlined function.
2507 * lyxtextclasslist.C: added some using std declarations.
2509 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
2511 * box.h: make signed dimensions to allow insets wider than
2512 the screen (bug #162)
2514 * BufferView_pimpl.C: add some insetHit debug
2516 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2518 * vc-backend.C: add FIXME
2520 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2522 * lyxfunc.C (getStatus): enable code for showing math font status
2525 2002-01-07 Juergen Vigna <jug@sad.it>
2527 * text.C (nextBreakPoint): removed debug output not needed anymore.
2529 2002-01-06 Juergen Vigna <jug@sad.it>
2531 * text.C (nextBreakPoint): fixed up this function we had this bug
2532 since ever but now hopefully we break row better.
2533 (insertChar): we have to check if an inset is the next char as it
2534 could now happen that a large inset is causing a break.
2536 2002-01-05 Juergen Vigna <jug@sad.it>
2538 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
2539 if it doesn't like to be drawed.
2541 2002-01-04 Juergen Vigna <jug@sad.it>
2543 * BufferView2.C (lockInset): forgot to set a cursor.
2545 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
2547 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
2552 * form_maths_panel.C:
2553 * form_maths_panel.h:
2554 * form_maths_panel.fd: implemented sub- and super- buttons in math
2557 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
2558 (or ^ space) to be used as in TeX (req'd by André).
2560 * lyxfunc.C: Allow ^ and _ again to be used both as
2561 super/subscript (mathed) and as themselves (in text).
2563 2002-01-03 Allan Rae <rae@lyx.org>
2565 * LyXView.C (updateWindowTitle): Setup a short icon title of either
2566 "LyX" or the filename of the current buffer if it has one. This is a
2567 modified form of John Levon's patch.
2569 * XFormsView.C (setWindowTitle): also set icon title.
2571 * LyXView.h (setWindowTitle): signature changed.
2572 * XFormsView.h (setWindowTitle): ditto.
2574 2002-01-02 Juergen Vigna <jug@sad.it>
2576 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
2578 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2580 * screen.C (topCursorVisible): introduce a temp var for
2581 text->cursor.row(), handle the case where this row is null. (kindo
2584 * text2.C (setCursor): add a couple of asserts.
2586 * paragraph.h (inset_iterator): add -> operator
2588 * paragraph.[Ch] (autoDeleteInsets): remove member function
2590 * BufferView2.C (removeAutoInsets): rewrite to handle the old
2591 cursor pos correctly and handle inset deletion by itself.
2592 (insertErrors): move iterator declaration out of for expression
2594 * lyxtextclass.C: add <algorithm>
2596 * Makefile.am: added the new files to sources, removed layout.C
2598 * layout.C: removed file
2600 * layout.h: remove LYX_DUMMY_LAYOUT
2602 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
2606 * lyxtextclass.[Ch]:
2607 * lyxtextclasslist.[Ch]: new files
2609 * include order changes to a lot of files, also changes because of
2612 2001-12-27 Juergen Vigna <jug@sad.it>
2614 * buffer.C (asciiParagraph): more fixes.
2616 * tabular.C (ascii): make ascii export support export of only the
2617 data separated by a column-delimiter.
2618 (ascii): better support for ascii export.
2620 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
2622 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2624 * tabular_funcs.C: use a "using std::getline" instead of the
2625 previous fix from Angus (necessary for cxx + lyxstring)
2627 2001-12-24 Juergen Vigna <jug@sad.it>
2629 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
2631 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
2632 problems. First check a minipage also if we have some ert-contents
2633 (not only on par->size(), second set the right depth of the paragraph
2634 on the relink to the root-paragraph-list!
2636 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
2637 which then did not anymore update the main paragraphs on undo/redo!
2639 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2641 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
2642 code. Support all font-changing funcs (even those which are not in
2643 menu currently). Support for reporting font settings in
2644 mathed (disabled until Andre provides a function on mathed's side).
2646 * func_status.h (toggle): small helper function to set toggle
2649 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
2651 * tabular_funcs.C: getline -> std::getline
2653 2001-12-21 Juergen Vigna <jug@sad.it>
2655 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
2656 accessed and could be 0 (I couldn't generate this but it seems
2659 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2661 * tabular_funcs.C: add LIstream.h, move write_attribute to..
2662 * tabular_funcs.h: here and include iosfwd
2664 2001-12-20 Juergen Vigna <jug@sad.it>
2666 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
2667 inside inset but undo_par was.
2669 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2671 * Thesaurus.C: always include <config.h> in sources.
2675 * box.h: do not include <config.h> in header files
2677 * text.C (paintLastRow): remove unused variable
2679 * text.C (transformChar):
2681 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
2684 * font.C (width): rewrite to use uppercase() instead of
2687 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
2689 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
2691 * lyxfind.C: clean up of find failure position change
2693 2001-12-20 Juergen Vigna <jug@sad.it>
2695 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
2697 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
2698 (TeXRow): added to LaTeX a single tabular row.
2699 (TeXLongtableHeaderFooter): added to output LT-h/f data.
2700 (Latex): simplified and finally good LT-h/f support.
2701 (various_functions): just small adaptions for LT-h/f support.
2703 * tabular_funcs.[hC]: added and moved here all not classfunctions
2706 2001-12-19 Juergen Vigna <jug@sad.it>
2708 * tabular.[Ch]: better support for longtabular options (not finished
2711 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2713 * text.C (paintLastRow): use the label font instead of the font of
2714 the last character to compute the size of *_BOX. This makes more
2715 sense and avoids a crash with empty paragraphs.
2716 Use Painter::rectangle to draw EMPTY_BOX.
2718 2001-12-19 Juergen Vigna <jug@sad.it>
2720 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
2721 the paragraphs if the replaced paragraph is not the first one!
2722 Tried to delete not used paragraphs but does not work yet so for
2723 now it's inside #ifdef's and by default off!
2725 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2727 * MenuBackend.C: include "lyx_main.h" instead of declaring
2728 lastfiles (actually was declared as LastFiles* instead of a
2731 2001-12-17 Juergen Vigna <jug@sad.it>
2733 * tabular.C (AppendColumn): applied John's fix
2735 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
2739 * BufferView_pimpl.h:
2740 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
2743 * box.h: new start of class for above
2745 * lyxfunc.C: ignore space-only minibuffer dispatches.
2746 Show the command name when it doesn't exist
2748 * minibuffer.C: don't add empty lines to the history
2750 * minibuffer.C: add a space on dropdown completion
2752 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
2754 * text.C: fix line above/below drawing in insets
2756 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
2758 * lyxlength.C (LyXLength): Initialize private variables.
2760 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
2762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
2763 when inserting error insets.
2765 2001-12-13 Juergen Vigna <jug@sad.it>
2767 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
2768 actually sometimes the before-paragraph.
2769 (setUndo): don't clear the redostack if we're not actually undoing!
2771 2001-12-06 Juergen Vigna <jug@sad.it>
2773 * undo_funcs.C (textHandleUndo): well after John's hint I got here
2774 and fixed redoing of main paragraph, so we can use it now ;)
2776 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
2778 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2780 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
2783 2001-12-13 André Pönitz <poenitz@gmx.net>
2786 * undo_func.C: minor cleanup
2788 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2790 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
2791 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
2792 font in urw-fonts package which is marked as -urw-fontspecific and
2793 does not work (incidentally, changing the encoding in the
2794 fonts.dir of this package to -adobe-fontspecific fixes the
2797 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
2798 is a crash when undoing first paragraph (Juergen, please take a
2799 look). THis does not mean the undo fix is wrong, just that it
2802 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
2803 the (Paragraph*) version when needed instead of duplicating the
2806 * text.C (workWidth): use Inset::parOwner to find out where the
2807 inset has been inserted. This is a huge performance gain for large
2808 documents with lots of insets. If Inset::parOwner is not set, fall
2809 back on the brute force method
2811 * paragraph_pimpl.C (insertInset):
2812 * paragraph.C (Paragraph):
2813 (cutIntoMinibuffer): set parOwner of insets when
2814 inserting/removing them
2816 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2818 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
2824 * mathed/formulabase.C:
2825 * mathed/math_cursor.[Ch]:
2826 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
2829 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2831 * lyxlength.[Ch] (operator!=): new function
2833 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2835 * text.C (workWidth): use Inset::parOwner to find out where the
2836 inset has been inserted. This is a huge performance gain for large
2837 documents with lots of insets. If Inset::parOwner is not set, fall
2838 back on the brute force method
2840 * paragraph_pimpl.C (insertInset):
2841 * paragraph.C (Paragraph):
2842 (cutIntoMinibuffer): set parOwner of insets when
2843 inserting/removing them
2845 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2847 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2849 * tabular-old.C (getTokenValue):
2850 * tabular.C (getTokenValue):
2851 (write_attribute): new versions for LyXLength
2852 (everywhere): adjust the use of widths
2854 * tabular.h: change the type of widths from string to LyXLength
2856 2001-12-11 Ben Stanley <bds02@uow.edu.au>
2858 * paragraph.C: fixed missing line number count when exporting
2859 Environments to LaTeX file
2861 * buffer.C: added informational message for checking line numbers.
2863 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2865 * text2.C (deleteEmptyParagraphMechanism): if there is only one
2866 paragraph, do the 'double space' part, but not the 'empty
2869 * text.C (workWidth): small optimization
2870 (getLengthMarkerHeight): use minimal size for negative lengths.
2872 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
2874 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
2876 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
2878 2001-12-11 André Pönitz <poenitz@gmx.net>
2881 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
2883 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2885 * text2.C: keep selection on a setFont()
2887 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2889 * lyx_cb.C: another bv->text misuse, from insert label
2891 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
2894 * kbsequence.C: re-instate nmodifier mask
2896 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
2898 * lyx_main.h: make lyxGUI private.
2900 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
2902 * lyxfind.C: place the cursor correctly on failed search
2904 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2906 * text.C (getLengthMarkerHeight): for small heights, the arrows
2907 are not always on top/bottom of the text
2908 (drawLengthMarker): smaller arrows; take the left margin in
2909 account; draw also vfills.
2911 (paintLastRow): remove special code for vfill and standard spaces,
2912 since everything is handled in drawLengthMarker now.
2914 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2916 * buffer.C (insertErtContents): try to handle font and language
2917 interaction a bit better.g
2919 * ColorHandler.C (updateColor): change the hash to cover the whole
2920 LColor enum, ws cleanup
2921 (getGCLinepars): ditto
2922 (getGCLinepars): only lookup in the linecache once.
2924 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
2926 * iterators.C (operator++): Make the iterator more robust
2928 * BufferView2.C (removeAutoInsets): Use paragraph iterators
2930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
2932 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2935 * text.C: better added space drawing
2937 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2940 * BufferView2.C: fix layout combo update on inset unlock
2942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2944 * Makefile.am: don't compile unused files
2946 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2950 * LyXAction.C: remove old LFUN_LAYOUTNO
2952 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2954 * paragraph_pimpl.h:
2955 * paragraph_pimpl.C: isTextAt() doesn't need font param
2957 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2960 * lyxlex.C: little cleanup
2962 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
2964 * BufferView_pimpl.C: fix insertAscii for insets
2966 2001-12-05 Juergen Vigna <jug@sad.it>
2968 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
2969 set the right font on the "multi" paragraph paste!
2971 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2977 * lyxlength.C: remove out-commented code.
2993 * vc-backend.C: change "while(" to "while ("
2995 * lyxlength.[Ch]: add zero function to check if length is zero or
2997 * lyxgluelength.C: use it
2999 2001-12-05 Allan Rae <rae@lyx.org>
3001 * lyxlength.C: Attempted a fix for the abs(int) header selection.
3002 Works for 2.95.3, from what I understand of Garst's reports this should
3003 work for other g++ versions. We're screwed if the abs(int) definition
3004 changed between bugfix releases of gcc.
3006 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3008 * text.C: fix chapter label offset !
3010 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3013 * text.C: fix hfill at end of line, clean up
3015 2001-12-04 Juergen Vigna <jug@sad.it>
3017 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
3018 that we force an update of the inset and it's owners if neccessary.
3020 2001-12-03 Juergen Vigna <jug@sad.it>
3022 * text.C (rowLast): simplified code
3024 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3026 * lyxfunc.C: fix show options on timeout
3028 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3030 * screen.C (topCursorVisible): scroll half a page when the cursor
3031 reached top of bottom of screen
3033 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
3035 * minibuffer.C: deactivate on loss of focus
3037 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3039 * vspace.[Ch] (operator!=): add operator.
3041 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3043 * BufferView_pimpl.C: refuse to open an inset when
3044 there's a selection.
3046 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
3048 * BufferView_pimpl.C: allow to click on RHS of full row insets
3050 2001-11-30 Juergen Vigna <jug@sad.it>
3052 * tabular.C (LyXTabular): add a same_id to set the same id's in the
3053 insets for undo reasons.
3055 2001-11-28 André Pönitz <poenitz@gmx.net>
3057 * vspace.[Ch]: cosmetical changes
3059 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3069 * kbsequence.C: part re-write of old kb code
3072 * WorkArea.C: remove Lgb_bug_find_hack
3074 2001-11-30 José Matos <jamatos@fep.up.pt>
3076 * buffer.C (makeDocBookFile): add a comment to point a hack.
3077 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
3078 Fixed a double write of labels.
3080 2001-11-29 Ben Stanley <bds02@uow.edu.au>
3083 * LaTeX.h Fixed bug in LaTeX class where it would not
3084 re-run latex if no depfiles were changed, but the .dvi was removed.
3086 2001-11-28 André Pönitz <poenitz@gmx.net>
3088 * all the files from the change on 2001/11/26:
3089 use lyx::layout_type instead of LyXTextClass::size_type
3090 use lyx::textclass_type instead of LyXTextClassList::size_type
3092 2001-11-29 Juergen Vigna <jug@sad.it>
3094 * text.C: added support for paragraph::isFreeSpacing()
3096 * buffer.C: same as above
3098 * paragraph.h: inserted isFreeSpacing() function to enable
3099 FreeSpacing inside InsetERT.
3101 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
3102 of the paragraph's in the cut/copy buffer to 0!
3104 * text2.C (removeRow): remove the assert as it can!
3106 * lyxtext.h: added helper function firstRow returning firstrow and
3107 made firstrow private again.
3109 * BufferView2.C (lockInset): don't relock if we're already locked!
3111 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
3113 (removeRow): added Assert::(firstrow)
3115 * debug.C: forgot to add INSETTEXT here.
3117 2001-11-28 Juergen Vigna <jug@sad.it>
3119 * sp_spell.C (initialize): changed error text to more general
3120 spellchecker command use (not only ispell!)
3122 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
3124 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
3126 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3128 * vspace.C: initialise lyxgluelength on failure
3130 2001-11-28 Allan Rae <rae@lyx.org>
3132 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
3133 declaration & definition that looks like a function declaration.
3135 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3137 * BufferView2.C (copy):
3138 (copyEnvironment): do not clear the selection when doing a copy.
3140 * text.C (paintFirstRow): compilation fix
3142 2001-11-27 Ben Stanley <bds02@uow.edu.au>
3144 * tabular.C (Latex): correct line count when writing latex.
3146 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
3148 * paragraph_pimpl.h:
3149 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
3152 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3156 * LColor.C: change vfillline->added_space
3158 * text.C: add markers and text for added space
3160 * vspace.C: fix comment
3162 2001-11-28 André Pönitz <poenitz@gmx.net>
3164 * paragraph.C: whitespace changes
3165 * all the other files from the change on 2001/11/26:
3166 change *::pos_type into lyx::pos_type
3168 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
3170 * buffer.C (parseSingleLyXformat2Token): Set the language to the
3171 language of the document when inserting error insets.
3173 2001-11-26 André Pönitz <poenitz@gmx.net>
3175 * BufferView_pimpl.[Ch]:
3183 * paragraph_pimpl.[Ch]:
3186 * text2.C: reduce header dependencies, introduce type for positions
3188 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3190 * <various>: change to use Alert.h
3192 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
3194 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
3195 when encountering an unknown token.
3196 (readLyXformat2): Show an error message if there were unknown tokens.
3198 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3201 * BufferView_pimpl.C:
3205 * text2.C: use par->isInset()
3207 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3209 * paragraph_pimpl.h:
3210 * paragraph_pimpl.C: cleanup
3212 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3214 * text2.C (removeRow):
3215 * text.C (setHeightOfRow): remove useless (and costly) call to
3218 2001-11-20 Allan Rae <rae@lyx.org>
3220 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
3221 Now need Inset*::checkInsertChar() to return true for appropriate
3222 cases so that the characters in the minibuffer will actually be
3225 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3227 * text.C: change the order of the includes.
3228 (workWidth): initialize it at once.
3229 (workWidth): make maxw unsigned
3230 (setHeightOfRow): remove unused variable (inset)
3231 (selectSelectedWord): remove unused variable (inset)
3232 (paintRowText): fix drawing of hfill characters, and clean up a bit.
3234 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3236 * lyxserver.C (emergencyCleanup): do not try to close pipes if
3237 server is not running.
3239 (closeConnection): add debug info when server is disabled.
3241 * ColorHandler.C (getGCForeground): send debug message to GUI
3244 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
3246 * kbmap.C (bind): modify because return conventions of
3247 kb_sequence::parse have changed.
3249 * kbsequence.C (parse): only ignore spaces and not any stupid
3250 control character. This avoids tests like s[i] <= ' ', which are
3251 guaranteed to fail with 8bit characters and signed chars.
3252 Change return code to string::npos when there have been no error
3253 (0 was a bad idea when error is at first character)
3255 2001-11-14 José Matos <jamatos@fep.up.pt>
3258 * buffer.C (simpleDocBookOnePar): removed unused argument.
3260 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3262 * text.C (selectNextWordToSpellcheck): do not test explicitely for
3263 insets which are part of a word. Paragraph::isLetter takes care of
3264 that now. Use Paragraph::isInset to identify insets.
3265 (selectSelectedWord): do not test for hyphenation break.
3267 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
3268 that protected spaces are considered as spaces.
3270 * paragraph.C (isLetter): cleanup the code for ispell extras; use
3273 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
3276 * lyxserver.C: fix it. and small cleanup.
3278 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3280 * BufferView_pimpl.C: use inline helpers
3283 * LaTeXFeatures.C: fix typos
3286 * Spacing.C: move spacing_string into class
3288 * ToolbarDefaults.C: move stuff into namespace anon
3290 * layout.h: update enum
3292 * lyxfunc.C: use better debug
3294 * minibuffer.h: fix typo
3298 * WorkArea.C: add and use Debug::WORKAREA
3302 * text2.C: code re-organisation, inline helpers
3304 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
3306 * Layout.C: replaced a few cases of std::vector.size() == 0 with
3307 std::vector.empty().
3309 2001-11-09 Allan Rae <rae@lyx.org>
3311 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
3312 '\n's after tables. Tabular and ERT inset work now makes this no
3315 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3318 * minibuffer.C: fix crash, improve drop-down completion
3320 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
3323 * lyxserver.C: invalidate fd's when doing endPipe()
3325 2001-11-08 José Matos <jamatos@fep.up.pt>
3327 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
3328 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
3331 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
3333 2001-11-07 José Matos <jamatos@fep.up.pt>
3336 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
3339 * buffer.C (sgmlOpenTag):
3340 * buffer.C (sgmlCloseTag): removed debug info.
3342 * buffer.h (sgmlOpenTag):
3343 * buffer.h (sgmlCloseTag): made public.
3345 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3347 * buffer.C (saveParamsAsDefaults):
3348 * lyx_cb.C (MenuLayoutSave): remove
3350 * LyXAction.C (init):
3352 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
3354 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3356 * buffer.C (setPaperStuff): removed from here...
3358 * bufferparams.C (setPaperStuff): ... and moved there.
3360 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
3364 * XFormsView.C: add support for drop-down completion
3366 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
3368 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
3371 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3373 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
3376 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3378 * lyx_main.C: change ref to known bugs
3380 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3382 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
3383 to work around older babel problems.
3385 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3387 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
3389 2001-10-24 Juergen Vigna <jug@sad.it>
3391 * tabular-old.C (ReadOld): below variable changes reflected.
3393 * tabular.[Ch]: added ltType struct for longtable header/footer
3394 defines and changed all instances where they are used. Added
3395 future support for double top/bottom rows.
3397 2001-10-24 José Matos <jamatos@fep.up.pt>
3399 * buffer.h (docbookHandleCaption):
3400 * buffer.C (docbookHandleCaption): removed unused function.
3401 (makeDocBookFile): moved docbook supported version to v4.1.
3403 2001-10-24 José Matos <jamatos@fep.up.pt>
3406 * tabular.C (docbookRow): new function to export docbook code of a row.
3407 (DocBook): now honors the longtable flags.
3409 2001-10-23 José Matos <jamatos@fep.up.pt>
3412 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
3413 of the lyx defined sgml entities used in a docbook/linuxdoc document.
3415 * buffer.C (makeLinuxDocFile):
3416 (makeDocBookFile): reworked the preamble, more clean, and with
3417 support for lyx defined entities. Changed the document declaration
3418 to be more XML friendly.
3420 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
3421 if we need to output XML that should be done with a filter.
3423 2001-10-22 Juergen Vigna <jug@sad.it>
3425 * sp_pspell.h (class PSpell): add alive function needed in the
3426 controller to see if the spellchecker could be started.
3428 2001-10-22 Juergen Vigna <jug@sad.it>
3430 * buffer.C (insertStringAsLines): modify the font for inserting
3431 chars in certain conditions by calling checkInsertChar(font).
3433 2001-10-19 Juergen Vigna <jug@sad.it>
3435 * text.C (workWidth): use getRow instead of wrong algorithm.
3436 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
3438 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
3443 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
3445 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3447 * text.C (workWidth): do not search for the exact row when
3448 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
3449 optimization for big documents.
3451 2001-10-18 Juergen Vigna <jug@sad.it>
3453 * text.C (workWidth): new function with added Inset * parameter.
3455 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3457 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
3459 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
3460 change return type of getColumnNearX.
3463 * text.C (changeRegionCase): use uppercase/lowercase instead of
3466 (rightMargin): simplify code by factoring out the uses of
3471 (appendParagraph): use Paragraph::size_type
3473 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3475 * vspace.C (asLatexString): add a missing break
3477 2001-10-15 Herbert Voss <voss@perce.de>
3479 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
3481 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3483 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
3486 2001-10-10 André Pönitz <poenitz@gmx.net>
3488 * lyxfunc.C: removed greek_kb_flag.
3490 2001-10-10 Herbert Voss <voss@perce.de>
3492 * lyx_main.C: delete global string help_lyxdir.
3494 2001-10-09 Herbert Voss <voss@perce.de>
3496 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
3498 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
3500 * lyx_main.C: added global string help_lyxdir.
3502 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
3504 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3506 * lyxrc.C (set_font_norm_type): support iso8859-4
3508 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
3510 * LaTeX.C (deplog): add another regex for MikTeX
3512 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
3514 * lyxrc.C (set_font_norm_type): support iso8859-3
3516 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3518 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
3520 * LaTeXFeatures.C: remove special case of french and index
3522 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
3523 before \begin{document}). This solves several incompatibilities.
3525 2001-10-03 Garst Reese <reese@isn.net>
3527 * lyx_cb.C: change CheckTex error msg.
3529 2001-10-03 José Matos <jamatos@fep.up.pt>
3531 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
3533 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3535 * .cvsignore: update
3537 * lyx_main.C (commandLineVersionInfo): use new style version info.
3539 * buffer.C (writeFile):
3542 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
3544 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
3546 * version.h: update to use stuff in version.C
3548 * version.C.in: new file. Contains version information determined
3549 at compile time. This is a merging of version.h and
3552 2001-10-03 Juergen Vigna <jug@sad.it>
3554 * BufferView_pimpl.C (update): don't change "dirty" status in
3557 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
3559 * WorkArea.C (c-tor): re-position version string slightly.
3561 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
3563 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
3564 revert to previous code.
3566 WorkArea.[Ch]: (show, destroySplash): methods removed.
3568 WorkArea.C: rework code so that it's an amalgam of the codes before and
3569 after the splash screen was moved to WorkArea.
3571 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3574 * vspace.C (inPixels):
3577 * buffer.C (insertStringAsLines):
3578 (asciiParagraph): fix types to be large enough
3580 * lyxlex_pimpl.h: change member status from short to int
3582 * layout.h: fix type of endlabeltype
3585 * kbsequence.C (parse): change return type to string::size_type
3587 * LaTeX.C (updateBibtexDependencies): comment out unneeded
3590 * Bullet.C (bulletSize):
3591 (bulletEntry): do not use short ints as parameters
3593 * BufferView2.C (insertLyXFile): change a char to an int.
3595 * WorkArea.C (WorkArea): remove unneeded floats in computation
3597 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
3599 * buffer.C (asciiParagraph): Treat '\\' as other chars.
3601 * paragraph.C (asString): Do not ignore newline/hfill chars when
3602 copying to the clipboard.
3604 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
3606 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
3607 after a multi-line inset.
3609 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3611 * paragraph.C (validate): Set NeedLyXFootnoteCode
3613 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
3615 * lyxfont.C (LyXSizeNames): changed increase-error to increase
3616 and decrease-error to decrease.
3618 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3620 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
3621 it more readable (should be equivalent)
3623 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
3625 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
3627 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3629 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
3630 of a cursor (row, etc.) after a character has been deleted
3631 (deleteEmptyParagraphMechanism): call the method above on _all_
3632 cursors held by the LyXText when a double space has been
3635 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
3637 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
3639 (resizeCurrentBuff): remove code to destroy the old splash dialog.
3641 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
3642 background. Use greyOut() and the new show() methods to toggle between
3643 the foreground and background. Add code to remove the splash after
3644 its initial showing.
3646 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
3647 (create_forms): no longer call Dialogs::showSplash.
3649 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3651 * .cvsignore: add version_info.h
3653 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3655 * version_info.h.in: new file
3657 * Makefile.am: add version_info.h.in
3659 * lyx_main.C (commandLineVersionInfo): use version_info defined in
3660 version_info.h instead of VERSION_INFO
3662 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3664 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
3665 The ERT inset now returns string().
3667 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3669 * lyxtext.h, text.C (selectNextWord): renamed as
3670 selectNextWordToSpellcheck.
3672 * text.C (selectNextWordToSpellcheck): Modified to not select
3673 words inside an ERT inset.
3675 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3677 * lyx_cb.C (MenuLayoutSave): change a bit the question
3679 * sp_base.h: include <sys/types.h>
3681 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3683 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
3685 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
3687 * several files: fix typos in user-visible strings
3689 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3691 * text2.C (pasteSelection): do not set the selection, since it
3692 will be cleared later. Actually, the intent was to fix the way the
3693 selection was set, but I figured rmoving the code was just as good.
3695 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
3697 * FontLoader.C (available): Check if font is available without
3700 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3702 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
3704 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
3706 * lyxrc.[Ch]: added display_graphics variable and associated code.
3708 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3710 * bufferparams.C (hasClassDefaults): new method. Returns true if
3711 the buffer parameters correspond to known class defaults
3713 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
3715 * XFormsView.C (show): set minimum size to the main window.
3717 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3719 * text2.C (copySelection):
3721 * lyxfind.C (LyXReplace):
3722 * BufferView_pimpl.C (Dispatch): pass the correct flag to
3723 LyXText::selectionAsString.
3725 * paragraph.C (asString): add "label" argument to the second form
3727 * text2.C (selectionAsString): add "label" argument and pass it to
3728 Paragraph::asString.
3730 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3732 * lyx_main.C (commandLineHelp): remove version information
3734 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
3736 * lyx_main.C: add -version commandline option
3738 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3740 * paragraph.h: make the optional constructor arg required instead.
3741 some modifications to other files because of this.
3743 * minibuffer.C (C_MiniBuffer_peek_event): make it static
3745 * lyxserver.C (C_LyXComm_callback): make it static
3747 * lyx_main.C (error_handler): make it static
3749 * lyx_gui.C (LyX_XErrHandler): make it static
3751 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
3753 * WorkArea.C: make the extern "C" methods static.
3755 * Makefile.am (lyx_LDADD): simplify
3757 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3759 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
3760 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
3762 * LyXAction.C (init):
3763 * lyxfunc.C (dispatch): associated code removal.
3765 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3767 * lyxfont.h (isSymbolFont): shut off warning
3769 * text.C (setHeightOfRow):
3770 (getVisibleRow): fix crash with empty paragraphs which have a
3773 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
3775 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
3778 2001-09-04 José Matos <jamatos@fep.up.pt>
3781 * tabular.C (docbook): rename docBook method to docbook.
3783 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3785 * Makefile.am: add dependencies to main.o.
3787 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
3789 * FontLoader.C (available): Return false if !lyxrc.use_gui
3791 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
3793 * FontInfo.C (query):
3794 * converter.C (view):
3795 * importer.C (Import):
3796 * exporter.C (Export): Can not -> cannot.
3798 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
3800 * BufferView_pimpl.C: allow to create index inset even if
3803 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
3805 * buffer.C (getLists): replace boost::tie code with an explicit pair
3806 as boost::tie can break some compilers.
3808 * iterators.h: Added a std:: declaration to the return type of
3811 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
3813 * lyxrc.C: add help for view_dvi_paper_option, default to safe
3816 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3818 * iterators.[Ch]: New files. Provide paragraph iterators.
3820 * buffer.C (changeLanguage): Use paragraph iterators.
3821 (isMultiLingual): ditto
3823 * BufferView2.C (ChangeInsets): Use paragraph iterators.
3825 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
3827 * FontLoader.C: Support for cmr font.
3829 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
3831 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
3832 (available): New method.
3834 * FontInfo.C (getFontname): Use scalable fonts even when
3835 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
3838 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3840 * converter.C (Formats::view): reverted! Incorrect fix.
3842 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
3844 * converter.C (Formats::view): only output the -paper option
3845 if the dvi viewer is xdvi, thereby fixing bug #233429.
3847 2001-08-23 Herbert Voss <voss@perce>
3849 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
3851 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
3853 * Spacing.h (Spacing): Set space to Default on in the default
3856 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
3858 * vc-backend.h (RCS::versionString): add RCS to version
3859 (CVS::versionString): add CVS to version
3861 * vc-backend.C (scanMaster): do not add CVS to version.
3862 (scanMaster): do not add RCS to version
3864 * lyxvc.C (versionString): new method
3866 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
3868 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3870 * Spacing.C (set): initialize fval
3872 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
3874 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
3877 2001-08-16 Juergen Vigna <jug@sad.it>
3879 * lyxfunc.C (dispatch): implemented the new FINISHED states.
3881 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3883 * BufferView_pimpl.C:
3886 * text2.C: setParagraph takes linespacing now
3888 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
3890 * LyxAction.C: add internal LFUN_CITATION_INSERT
3892 * LyXView.C: actually apply fix
3894 * bufferlist.C: fix open non-existent file
3896 * lyxfind.C: fix indentation
3898 * lyxfunc.C: remove unneeded assert, fix typo
3900 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3902 * MenuBackend.C: use "Floatname List"
3904 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3906 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
3907 when converting LaTeX layout to insetERT.
3908 Generate a non-collapsed float when reading old float
3910 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3912 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
3915 2001-08-13 Juergen Vigna <jug@sad.it>
3917 * text.C (fill): return 0 instead of 20 as this seems to be the more
3920 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
3922 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
3925 2001-08-13 Juergen Vigna <jug@sad.it>
3927 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
3929 (SearchBackward): comment out the unlocking of the inset_owner this
3930 should not be needed!
3932 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3934 * Many files: Remove inherit_language, and add latex_language
3936 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
3939 2001-08-10 Juergen Vigna <jug@sad.it>
3941 * text.C (prepareToPrint): fixed hfill-width in draw!
3943 * BufferView2.C (selectLastWord): save the selection cursor as this
3944 now is cleared in the function LyXText::clearSelection!
3946 2001-08-08 Juergen Vigna <jug@sad.it>
3948 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
3949 BACKSPACE type functions.
3951 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
3952 is only cutted from the document but not put in the cut-buffer, where
3953 still the old stuff should be.
3955 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
3957 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
3959 * tabular.C (SetWidthOfCell): fixed special case where the width
3961 (LeftLine): handle '|' in align_special.
3963 (LeftAlreadyDrawed): ditto
3964 (SetWidthOfCell): ditto
3966 2001-08-07 Juergen Vigna <jug@sad.it>
3968 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
3970 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3972 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3973 * lyxlex.[hC]: ditto
3975 2001-08-06 Juergen Vigna <jug@sad.it>
3977 * text.C (getVisibleRow): fix up row clearing a bit.
3979 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3981 * minibuffer.C: make sure the X server sees the changes in the input.
3983 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3985 * paragraph.C (getFont): split into...
3986 (getLabelFont): this
3987 (getLayoutFont): and this
3988 * paragraph_pimpl.C (realizeFont): calling this
3990 * text2.C (getFont): split into...
3991 (getLayoutFont): this
3992 (getLabelFont): and this
3993 (realizeFont): all three calling this
3995 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3998 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4000 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
4002 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
4004 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
4005 layouts from the Quote inset insertion.
4007 2001-08-03 Juergen Vigna <jug@sad.it>
4009 * BufferView_pimpl.C (update): do the fitCursor only at the end!
4011 * screen.C (drawFromTo): don't call fitcursor here and do the loop
4012 only if status not is already CHANGED_IN_DRAW (second level).
4014 * text.C (draw): don't set the need_break_row when inside an
4017 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4019 * buffer.C (parseSingleLyXformat2Token): handle more latex
4022 * bufferview_funcs.[hC]: change function names to
4023 begin with small char, adjust other files.
4025 2001-08-02 André Pönitz <poenitz@gmx.net>
4028 BufferView_pimpl.C: remove broken special code for math-greek
4030 2001-08-02 Juergen Vigna <jug@sad.it>
4032 * BufferView_pimpl.C (update): redone this function so that we
4033 update the text again if there was a CHANGE_IN_DRAW.
4035 * screen.C (cursorToggle): removed LyXText parameter and recoded.
4036 (drawFromTo): added a new internal bool which is used by draw() and
4038 (general): some cursor drawing problems fixed.
4040 2001-08-01 Juergen Vigna <jug@sad.it>
4042 * lyxfind.C (LyXFind): fixed
4043 (SearchForward): ditto
4044 (SearchBackward): ditto
4046 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
4047 spurius drawing of the cursor in the main area.
4049 * text2.C (status): small fix which could lead to a segfault!
4050 (clearSelection): remove unneeded BufferView param.
4052 2001-08-01 André Pönitz <poenitz@gmx.net>
4054 * lyxfunc.C: small change due to changed mathed interface
4056 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4058 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
4060 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
4062 * lyxfunc.c: fail gracefully if file doesn't exist
4067 * BufferView_pimpl.C: IsDirWriteable() proto changed
4069 * LyXView.C: fix updateWindowTitle() to store the last title
4071 2001-07-31 Juergen Vigna <jug@sad.it>
4073 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
4074 the font (wrong since using of Paragraph::highestFontInRange).
4076 * paragraph.C (highestFontInRange): added a default_size parameter.
4078 * text.C (getVisibleRow): minor clear row changes (still not perfect).
4079 (setHeightOfRow): reformat
4081 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * converter.[hC] + affected files: move to (inital-char)lowercase
4086 * ParagraphParameters.C (ParagraphParameters): remove commented code
4088 * PainterBase.[Ch]: remove commented code
4090 * LaTeXFeatures.h: add "bool floats" for float.sty
4092 * LaTeXFeatures.C (LaTeXFeatures): init floats
4093 (require): handle float
4094 (getPackages): do it with floats
4096 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4098 * BufferView_pimpl.C (Dispatch): improve handling of
4099 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
4101 * commandtags.h: #include lyxfont.h here temporarily to avoid
4104 * bufferlist.h: include LString.h here.
4106 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4108 * text2.C (getStringToIndex): new method.
4110 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
4112 * *: Reduced header file dependencies all over.
4114 2001-07-30 Baruch Even <baruch@lyx.org>
4116 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
4118 2001-07-29 Baruch Even <baruch@lyx.org>
4120 * buffer.C (readInset): Changed GRAPHICS to Graphics.
4122 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4124 * ParameterStruct.h (endif): add a default constructor to make
4125 sure that all variables is initialized.
4127 * ParagraphParameters.C (ParagraphParameters): adjust
4129 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4131 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4132 index; also, check that there is something to index, and that it
4133 does not span over several paragraphs.
4134 (doubleClick): use WHOLE_WORD_STRICT for double click.
4136 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
4138 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
4141 2001-07-26 Baruch Even <baruch@lyx.org>
4143 * buffer.C (readInset): Changed to call up InsetGraphics when reading
4144 an InsetFig figure, backwards compatible reading of old figure code.
4146 2001-07-27 Juergen Vigna <jug@sad.it>
4148 * text2.C: font.realize function adaption.
4150 * text.C (draw): add a warnings lyxerr text if needed.
4152 * layout.C: font.realize function adaption.
4154 * language.C: add inherit_language and implement it's handlings
4156 * bufferview_funcs.C (StyleReset): remove language parameter from
4157 font creation (should be language_inherit now).
4159 * bufferparams.C (writeFile): handle ignore_language.
4161 * paragraph.C (getFontSettings): the language has to be resolved
4162 otherwise we have problems in LyXFont!
4164 * lyxfont.C (lyxWriteChanges): added document_language parameter
4165 (update): removed unneeded language parameter
4167 * paragraph.C (validate): fixed wrong output of color-package when
4168 using interface colors for certain fonts in certain environments,
4169 which should not seen as that on the final output.
4171 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
4173 * BufferView_pimpl.C:
4178 * LyXAction.C: add thesaurus support
4181 * lyxfind.C: add "once" parameter, for thesaurus, to not
4182 move to the next match
4184 2001-07-26 Juergen Vigna <jug@sad.it>
4186 * lyxfont.C (realize): honor ignore_language too!
4189 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
4191 * text.C (draw): one place more for ignore_language to not draw
4194 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
4196 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
4198 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * buffer.C (parseSingleLyXformat2Token): a more general fix for
4201 the minipage conversion problem.
4203 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4205 * buffer.C (parseSingleLyXformat2Token): check minipage if we
4208 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4210 * BufferView.h: don't forward declare WorkArea
4212 * BufferView.C: don't include WorkArea.h
4214 2001-07-25 André Pönitz <poenitz@gmx.net>
4218 * lyxfunc.C: new LFUN 'math-space'
4220 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
4222 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4224 * text2.C (toggleInset): call open/close
4226 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4228 * lyxfunc.C (dispatch): add debug for the disabled case
4230 * font.C (buttonText): make similar to rectText
4232 * buffer.C (readInset): comment out parsing of insetlist and
4235 * PainterBase.C (rectText): small correction
4237 * BufferView_pimpl.C: comment out insettheorem and insetlist
4238 * LyXAction.C: ditto
4239 * commandtags.h: ditto
4241 2001-07-24 Juergen Vigna <jug@sad.it>
4243 * text.C (draw): honor the ignore_language.
4245 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
4247 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4249 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
4252 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4254 * lyxtext.h: remove unused (and unimplemented) methods
4256 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4258 * text.C (getVisibleRow): honor background color
4261 * Painter.h: remove default color argument for fillRectangle
4263 * text.C (backgroundColor): new method
4265 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4267 * text.C (getVisibleRow): adjust
4269 * font.[Ch] (rectText): new method, metrics
4270 (buttonText): new method, metrics
4272 * PainterBase.[hC]: make rectText and buttonText always draw and take
4275 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4277 * ToolbarDefaults.C (read):
4278 * MenuBackend.C (read): allow escaping in all strings
4280 * BufferView_pimpl.C (insertAndEditInset): new method.
4281 (Dispatch): use insertAndEditInset whenever appropriate.
4283 * BufferView_pimpl.C (insertNote): removed
4285 * BufferView_pimpl.C (smartQuote): new method, moved from
4286 BufferView; if an insetquote cannot be inserted, insert a '"'
4289 * BufferView2.C: remove insertCorrectQuote();
4291 * lyxfunc.C (getStatus): Add support for all remaingin
4294 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
4296 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
4297 command (necessary to pass " as parameter of self-insert.
4299 * text.C (selectWordWhenUnderCursor):
4300 (selectWord): add word_location parameter
4301 (selectWordWhenUnderCursor): same + remove special code for word
4303 (selectNextWord): use kind() to guess type of insetspecialchar,
4306 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
4307 (insertErtContents): create ert insets as collapsed.
4308 (readInset): better compatibility code for Info inset.
4310 2001-07-20 Juergen Vigna <jug@sad.it>
4312 * lyxfunc.C (dispatch): use always LyXFind now!
4314 * text2.C (init): add a reinit flag so that the LyXText can be
4315 reinited instead of deleted and reallocated (used in InsetText).
4317 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
4323 2001-07-18 Juergen Vigna <jug@sad.it>
4325 * text.C (selectNextWord): handle insets inside inset by calling
4326 always the bv->text functions so that we can go up the_locking_inset!
4328 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
4329 in strange locations when inside an inset!
4331 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
4332 handling to include insets.
4334 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
4336 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4338 * LyXAction.C (init):
4340 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
4341 LIGATURE_BREAK, since the name is so stupid.
4343 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4345 * buffer.C (readInset): enable reading of new InsetNotes as well as old
4348 * FontLoader.C: remove FORMS_H_LOCATION cruft.
4350 * sp_form.[Ch]: remove.
4352 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
4354 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
4357 * src/buffer.C (readInset): ditto.
4359 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4361 * BufferView_pimpl.C (specialChar): new method. Obsoletes
4362 menuSeparator(), endOfSentenceDot(), ldots() and
4363 hyphenationPoint(), which are therefore removed.
4364 (Dispatch): handle LFUN_HYPHENATION_BREAK.
4366 * LyXAction.C (init):
4367 * commandtags.h: add LFUN_HYPHENATION_BREAK.
4369 * paragraph.C (getWord): removed.
4371 * BufferView_pimpl.C (Dispatch): use last word or selection for
4372 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
4374 * lyx_main.C (queryUserLyXDir): do not ask before creating
4375 user_dir, except if it has been named explicitely.
4377 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4379 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4380 a document of zero size.
4382 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4384 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
4385 approriately in the c-tor and in require().
4386 (getPackages): output the appropriate LaTeX for natbib support.
4388 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
4389 variables "use_natbib" and "use_numerical_citations" when reading the
4391 (readInset): read the various natbib cite commands.
4392 (validate): white-space change.
4394 * bufferparams.[Ch]: new variables "bool use_natbib" and
4395 "bool use_numerical_citations".
4396 (writeFile): output them in the LyX file.
4398 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4400 * lyxfunc.C (getStatus): add support for all the inset insertion
4403 * text2.C (insertInset):
4404 * paragraph.C (insetAllowed):
4405 * BufferView_pimpl.C (insertInset): update to take in account the
4406 renaming of insertInsetAllowed
4408 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
4410 * text2.C (getInset): new method. returns inset at cursor position.
4412 * BufferView_pimpl.C (Dispatch): changes because of this.
4414 * LyXAction.C (init): rename open-stuff to inset-toggle.
4416 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
4418 * text2.C (toggleInset): renamed from openStuff; use
4421 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4423 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
4425 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
4427 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
4429 * buffer.C (readLyXformat2): Add filename to the error dialog
4431 2001-07-18 Juergen Vigna <jug@sad.it>
4433 * tabular.C (GetCellNumber): put an assert here instead of the check!
4435 2001-07-17 Juergen Vigna <jug@sad.it>
4437 * BufferView_pimpl.C (toggleSelection): adapted too.
4439 * text.C (selectNextWord): adapted for use with insets.
4440 (selectSelectedWord): ditto
4442 2001-07-17 Juergen Vigna <jug@sad.it>
4444 * sp_spell.C (PSpell): fix initialitation order.
4446 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4448 * paragraph.C: spacing
4450 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
4452 * sp_spell.C: repair language selection for pspell
4454 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4456 * lyxfunc.h: change more methods to begin with lower char.
4458 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
4460 * buffer.C (parseSingleLyXformat2Token): Generate error insets
4461 for unknown layouts.
4463 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
4465 * buffer.C (readLyXformat2): Generate an error dialog if there are
4468 2001-07-16 Juergen Vigna <jug@sad.it>
4470 * sp_spell.C: always compile ISpell part.
4472 * lyxrc.C: added use_pspell entry and it's handling.
4474 2001-07-13 Juergen Vigna <jug@sad.it>
4476 * sp_spell.C: removed double includes.
4478 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4480 Consistent use of Lsstream.h:
4481 * Lsstream.h: added using std::stringstream for consistencies sake.
4483 * buffer.C: removed using std::stringstream
4485 * lyxfont.C (stateText):
4486 * paragraph.C (asString):
4487 * text.C (selectNextWord, selectSelectedWord):
4488 * text2.C (setCounter):
4489 * vspace.C (asString, asLatexString):
4490 std::ostringstream -> ostringstream.
4492 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
4494 * LyXAction.C: add LFUN_HELP_ABOUTLYX
4495 * commandtags.h: add LFUN_HELP_ABOUTLYX
4496 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
4498 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
4500 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
4502 * lyx_gui_misc.C: remove spellchecker
4503 * lyxfunc.C: showSpellchecker
4505 * sp_ispell.h: added
4506 * sp_pspell.h: added
4508 * sp_form.[Ch]: removed
4509 * spellchecker.[Ch]: removed
4511 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
4513 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
4515 (simpleTeXSpecialChars): Simply print the input character without
4516 any special translation if pass_thru is set.
4518 * layout.h: Added bool pass_thru to layout class for being able to
4519 implement pass through of a paragraph for Literate Programming.
4521 * layout.C: add LT_PASS_THRU to LayoutTags enum.
4522 * layout.C (LyXLayout): set pass_thru to flase in constructor.
4523 * layout.C (Read): add "passthru" to list of layout tags and add
4524 code to set the pass_thru boolean when it is read.
4526 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4528 * trans_decl.h: remove allowed from KmodInfo
4530 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
4534 * paragraph_pimpl.C (erase): use boost::prior
4536 * Painter.C (text): use data() instead of c_str() when length is
4538 * WorkArea.C (putClipboard): ditto
4539 * font.h (width): ditto
4541 * BufferView2.C: use it-> instead of (*it). for iterators
4543 * paragraph_pimpl.C: ditto
4544 * paragraph.C: ditto
4545 * minibuffer.C: ditto
4550 * converter.C: ditto
4552 * Variables.C: ditto
4553 * TextCache.C: ditto
4554 * MenuBackend.C: ditto
4555 * LyXAction.C: ditto
4557 * FloatList.C: ditto
4559 * ColorHandler.C (LyXColorHandler): ditto
4561 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4563 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
4565 * text2.C (openStuff): reintroduce this method (which had been
4566 nuked in NEW_INSETS frenzy).
4568 * lyxfunc.C (Dispatch): when an action has not been handled, use
4569 its name in the error message, not its number.
4571 * paragraph.C (inInset): change method name to begin with lowercase.
4574 * text2.C: updates because of this.
4576 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4578 * ToolbarDefaults.C (add): add spaces in error message
4580 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4582 * buffer.C (readLyXformat2): initialize the ert comp. variables.
4583 (readLyXformat2): rename return_par to first_par, use lyxlex's
4584 pushToken and remove the manual push handling.
4585 (parseSingleLyXformat2Token): add another ert comp. variable:
4586 in_tabular, rename return_par to first_par. handle newlines better
4588 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4590 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
4592 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4594 * text2.C (getParFromID): removed
4596 * buffer.C (getParFromID): new method moved form lyxtext.
4597 * BufferView2.C (insertErrors): adjust
4598 (setCursorFromRow): adjust
4599 * BufferView_pimpl.C (restorePosition): adjust
4600 * lyxfunc.C (Dispatch): adjust
4601 * undo_funcs.C (textUndo): adjust
4603 (textHandleUndo): adjust
4604 (textHandleUndo): adjust
4606 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4608 * buffer.C: up' the LYX_FORMAT
4610 * lyxfont.h: turn NO_LATEX on as default
4612 * buffer.C (insertErtContents): new methods of tex style compability.
4613 (parseSingleLyXformat2Token): use it several places.
4614 * tabular.C (OldFormatRead): and here
4616 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4618 * text2.C: remove some commented code.
4621 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
4622 * trans.C: changes because of the above.
4624 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
4626 * text2.C (setCounter): Fix counters bug with bibliography layout.
4628 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4630 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
4631 own member functions
4632 (simpleTeXSpecialChars): ditto
4634 2001-07-06 Juergen Vigna <jug@sad.it>
4636 * a lot of files: changed the access to LyXText::status and the
4637 call of undo-functions.
4639 * undo.[Ch]: added a inset_id to the undo informations.
4641 * undo_funcs.[Ch]: added and moved here all undo functions.
4643 * lyxtext.h: give the status enum a weight, made status_ a private
4644 variable and made accessor functions for it, removed the whole bunch
4645 of undo-functions as they are now in their own file, make some
4646 functions publically available. Added function ownerParagraph with
4649 * paragraph.[Ch]: added "bool same_ids" to the constructor,
4650 made InInset() a const function, added getParFromID() function.
4652 * buffer.[Ch]: added const version for inset_iterator functions,
4653 added getInsetFromID() function.
4655 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
4656 changed undo functions for new version.
4658 2001-07-05 Juergen Vigna <jug@sad.it>
4660 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
4661 unknow mechanism does not call the proper constructor but only this
4662 one also if I request the other!?
4664 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4666 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
4668 * text2.C (LyXText): use initialization lists.
4670 * lyxtext.h (Selection): initialize set_ and mark_
4671 (init): remove method
4673 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
4675 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
4677 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4679 * screen.[Ch]: change method names to begin with lowercase
4681 * BufferView_pimpl.C (updateScrollbar): simplify further and
4682 hopefully make it a bit faster.
4684 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4686 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
4687 calling directly xforms functions.
4689 * Painter.C (Painter):
4690 * lyx_cb.C (MenuWrite):
4691 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
4694 * lyx_gui.C: remove bogus guiruntime extern declaration.
4696 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4698 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
4700 (redoDrawingOfParagraph): ditto
4701 (redoParagraphs): ditto
4702 (cutSelection): don't create a object for CutAndPaste use the
4703 static method directly
4704 (pasteSelection): ditto
4706 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
4709 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4711 * modifications to some other files because of this.
4713 * Makefile.am (lyx_SOURCES): add XFormsView
4715 * XFormsView.[Ch]: new files
4717 * LyXView.[Ch]: make LyXView a base class for the gui handling for
4718 the main window. Move the gui dependent stuff to XFormsView
4720 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4722 * tabular.C (GetCellInset): update cur_cell also in the row/col
4723 version of this function.
4725 * lyxfunc.C: no need to include figure_form.h here.
4731 * lyxvc.C: no need to include forms.h here.
4733 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4735 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
4737 * lyxfunc.C (Dispatch):
4739 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
4740 constructor argument.
4742 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4744 * paragraph.C (Paragraph): dont't clear, and just set layout.
4745 (makeSameLayout): use params's copy contructor.
4747 * ParagraphParameters.[Ch] (makeSame): delete method
4749 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
4751 * Variables.[Ch]: fix indentation, rename set to isSet
4753 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4755 * lyxfunc.C (Dispatch): fix typo
4757 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4759 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
4762 * bufferlist.C: include assert.h for emergencyWrite().
4764 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4766 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
4767 give up at last (bug #425202) !
4769 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
4775 * spellchecker.C: strip spellchecker options and bring up
4776 preferences tab instead
4778 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4780 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
4781 the istringstream constructor
4783 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4785 * paragraph.C (getLayout): fix return value
4787 * paragraph.h: do not declare getLayout as inline.
4789 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
4791 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4793 * lyxcursor.h (operator<): new func
4794 (operator>): new func
4795 (operator>=): new func
4796 (operator<=): new func
4798 * text.C (changeCase): use selection.start and selection.end
4799 (changeRegionCase): require from to be <= to. Require par to be a
4802 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4804 2001-06-27 Juergen Vigna <jug@sad.it>
4806 * text.C (cursorLeftOneWord): changed to return the cursor and added
4807 overlay with BufferView * parameter which calls this one.
4809 (selectWord): use new getWord function.
4810 (changeCase): renamed from changeWordCase as and extended to work
4813 * lyxtext.h: added enum word_location
4815 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
4816 changeCase as this operates now also on selections.
4818 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4820 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
4822 * many files: send debug output to Debug::INFO instead of
4825 * converter.C (View):
4827 (Move): send debug output to Debug::FILES instead of console.
4829 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4831 * lyxfunc.C (getStatus): use func_status
4833 * func_status.h: new header, describing the results of
4836 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
4839 2001-06-25 The LyX Project <jug@sad.it>
4841 * buffer.C (sgmlOpenTag):
4843 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
4845 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4847 * text2.C: remove some dead code
4849 * tabular.C (GetCellInset): store the last cell checked (gotten)
4851 * tabular.h: add the helper for the speedup
4853 * lyxtext.h: remove some dead code
4855 2001-06-26 The LyX Project <Asger>
4857 * paragraph.C: Change export to LaTeX of alignment to
4858 \begin{center} and family for better roundtrip work with reLyX.
4860 * Tune the math drawing a bit.
4862 2001-06-25 The LyX Project <Asger>
4864 * LColor.C (LColor): New color for math background. New color
4867 2001-06-25 The LyX Project <jug@sad.it>
4869 * lyxfunc.C (MenuNew): remove extra check for .lyx file
4872 * bufferlist.C (newFile): do not restrict to files ending with
4875 * BufferView_pimpl.C (MenuInsertLyXFile):
4877 2001-06-24 The LyX Project <jug@sad.it>
4879 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
4882 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4884 * lyxtext.h: rename most methods to begin with a small char.
4885 Lots of changes because of this.
4887 * paragraph.C (Paragraph): do not call fitToSize
4888 (erase): call Pimpl::erase
4889 (insertChar): call Pimpl::insertChar
4890 (insertInset): call Pipl::insertInset
4891 (breakParagraph): do not call fitToSize
4892 (breakParagraphConservative): do not call fitToSize
4893 (fitToSize): remove method
4895 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
4897 2001-06-24 The LyX Project <Asger>
4899 * Fix Qt compilation^2
4901 2001-06-24 The LyX Project <jug@sad.it>
4903 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
4904 depthHook(getDepth()-1).
4907 * ParagraphParameters.h:
4908 * ParameterStruct.h: change type of depth to unsigned int ==
4909 depth_type. Many adaptations to other files before of that.
4911 2001-06-24 The LyX Project <Asger>
4913 * Fix Qt compilation.
4915 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4917 * paragraph.h: renamed several methods to begin with small letter.
4918 several changes to many parts of the code because of this.
4920 2001-06-23 The LyX Project <jug@sad.it>
4922 * text2.C (InsertStringAsLines): renamed from InsertStringA;
4923 rewritten to discard all double spaces when KeepEmpty is off
4924 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
4925 to only handle newlines but not fiddle with spaces and friends.
4927 * lyxfunc.C (MenuNew): when doing 'new from template', use
4928 template_path as default directory
4930 2001-06-23 The LyX Project <Asger>
4932 * Clean-up of header file includes all over
4933 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
4935 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4937 * paragraph.h: renamed from lyxparagraph.h
4939 2001-06-23 Asger <lyx@violet.home.sad.it>
4941 * Buffer.h: Removed Buffer::resize
4942 * BufferList.h: Removed BufferList::resize
4943 * LyXView.h: Added LyXView::resize. This way, we will only reflow
4944 the document lazily when we change the width, or the font settings.
4946 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4948 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
4950 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4952 * buffer.h: remove out of date comment
4954 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
4957 * screen.C: fix "theoretical" GC leak
4959 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4961 * LaTeX.C (scanAuxFile):
4962 (deplog): remove trailing \r when reading stream (useful under
4965 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
4967 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
4968 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
4969 and BufferView::theLockingInset(Inset*), so should use them and not
4970 access bv_->text->the_locking_inset directly.
4972 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4974 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4977 * tex-defs.h: remove old unused file
4979 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
4981 * BufferView_pimpl.C: fix typo, remove minibuffer message
4982 when buffer has loaded
4984 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4986 * lyxfunc.C (Dispatch): use stringstream
4987 (MenuNew): use stringstream
4988 (Open): use stringstream
4990 * importer.C (Import): use stringstream
4992 * bufferview_funcs.C (CurrentState): use stringstream
4994 * LaTeX.C (run): use stringstream
4996 * BufferView_pimpl.C (savePosition): use stringstream
4997 (restorePosition): use stringstream
4998 (MenuInsertLyXFile): use stringstream
5000 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
5013 * vspace.C: removed // -*- C++ -*- as first line.
5016 * version.h: added // -*- C++ -*- as first line.
5018 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5020 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
5022 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
5025 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5027 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
5030 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5032 * gettext.C: include LString.h even when --disable-nls is on.
5034 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
5036 * converter.h (Get): changed argument type from int to
5037 FormatList::size_type to avoid unnecessary conversion.
5039 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
5042 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5044 * gettext.h: include LString.h even when --disable-nls is on.
5046 2001-06-07 Juergen Vigna <jug@sad.it>
5048 * text.C (BreakAgain): subst spaces with tabs.
5050 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
5051 (resizeInsetsLyXText): set force on resizeLyXText.
5053 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5055 * gettext.h (gettext_init):
5056 (locale_init): use a real definition instead of a macro
5058 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5060 * Bufferview_pimpl.C:
5062 * LColor.C: further lcolor tidies
5064 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5066 * BufferView_pimpl.C (updateScrollbar): simplify.
5068 * BufferView2.C: don't include insets/insetinfo.h, change
5069 prototype for insertInset and call the Pimpl version. let
5070 updateInset call Pimpl version.
5072 * BufferView.h: move inset_slept to BufferView::Pimpl, move
5073 gotoInset to BufferView::Pimpl
5075 2001-06-01 Juergen Vigna <jug@sad.it>
5077 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
5078 inside a LockingInset (is the update needed at all?).
5080 2001-05-31 Juergen Vigna <jug@sad.it>
5082 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
5083 here not the old one otherwise how should we compare it afterwards
5086 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5091 * FontInfo.C: bring C functions into global namespace when
5094 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5096 * LString.h: make sure config.h has been loaded before LString.h.
5098 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
5099 (one for each char read by EatLine!).
5101 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
5104 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5106 * paragraph.C (BreakParagraph): set the inset_owner in the new par
5107 to the same as the par we break from
5109 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5111 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
5113 * MenuBackend.C (expand): also create menu entries for wide
5114 versions of the floats.
5116 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
5118 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
5120 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
5121 frontends/Makefile.am
5127 * tabular.C (getTokenValue): add std::
5129 * tabular-old.C (getTokenValue): add std::
5130 (getTokenValue): ditto
5131 (getTokenValue): ditto
5133 * screen.C (ToggleSelection): adjust
5135 * lyxtext.h: put selection cursors inside a Selection struct.
5137 * lyxfunc.C (moveCursorUpdate): adjust
5139 * lyxfont.C (latexWriteStartChanges): add std::
5143 * font.h: delete with(char const *, LyXFont const &)
5145 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
5147 * FontInfo.C (getFontname): add std::
5149 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5150 (workAreaButtonPress): adjust
5151 (tripleClick): adjust
5153 (moveCursorUpdate): adjust
5156 * BufferView2.C (gotoInset): adjust
5158 2001-05-30 Juergen Vigna <jug@sad.it>
5160 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
5161 to check pspell I add this as default as I now have new pspell
5162 libraries and they seem to use this.
5164 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * text2.C (CutSelection): make the cursor valid before the call to
5169 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5171 * kbsequence.C (parse): de-uglify a bit the parsing code, which
5172 relied on 0 terminated strings and other horrors. Bug found due to
5173 the new assert in lyxstring!
5175 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
5178 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5180 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
5183 * lyxfunc.C (processKeySym): change method of getting to the
5186 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
5187 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
5188 * BufferView_pimpl.[Ch]: here as private methods.
5190 2001-05-28 Juergen Vigna <jug@sad.it>
5192 * text.C (SetHeightOfRow): added the update() call again as it is
5193 needed to initialize inset dimensions!
5195 2001-05-16 Juergen Vigna <jug@sad.it>
5197 * text2.C (SetCharFont): Add new function with BufferView * and
5198 bool toggleall parameters for setting insets internal fonts.
5199 (SetFont): Freeze the undo as we may change fonts in Insets and
5200 all this change should be inside only one Undo!
5202 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
5203 setting font's in insets as for them we have the SetFont function!
5205 2001-05-15 Juergen Vigna <jug@sad.it>
5207 * text2.C (ClearSelection): to be sure we REALLY don't have any
5210 * tabular.C (TeXCellPreamble): fixed the left border problem for
5213 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5215 * LaTeX.C (deplog): Make sure that the main .tex file is in the
5218 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
5221 LFUN_BREAKPARAGRAPH.
5223 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
5224 help test to "internal only", similar for LFUN_INSERT_URL
5226 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
5227 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
5228 auto_region_delete and deadkeys.
5230 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
5233 * LColor.C: remove some dead entries, tidy a little
5235 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5237 * lyxfunc.C (processKeySym): comment the Escape handling, remove
5239 (Dispatch): implement LFUN_ESCAPE
5241 * commandtags.h: add LFUN_ESCAPE
5243 * LyXAction.C (init): add entry for LFUN_ESCAPE
5245 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
5246 Remove commented code.
5247 (insertNote): moved here
5248 (open_new_inset): moved here
5250 * BufferView[2].[Ch]: move insertNote and open_new_inset to
5253 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5255 * kbmap.C (findbinding): clean it up and make it work correctly.
5257 * lyx_main.C (init): do not pass argc and argv as parameters
5259 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5261 * buffer.C: fix path for OS/2 & Win32
5265 * lyx_main.C: Added os:: class.
5267 * os2_defines.h: update
5269 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5271 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
5272 better by trying again with reduced state.
5274 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5276 * lyxrc.C (read): print error about invalid key sequence only when
5277 debugging (because not all latinX keysyms are known to some X
5280 * kbsequence.C (getiso): add a few std:: qualifiers
5281 (getiso): comment out extra return statement.
5283 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
5285 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
5287 (Dispatch): enhance the accent inset a bit. (not perfect)
5289 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5291 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5293 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5295 * bufferlist.C (emergencyWrite): fix assert() call
5297 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
5299 * text.C (InsertChar): Added trivial patch to only send the "you
5300 can not do multiple spaces this way" message once during a
5303 2001-05-08 Baruch Even <baruch@lyx.org>
5305 * Makefile.am: Changed order of libraries to get LyX to link properly
5306 with the gnome frontend.
5308 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5310 * LaTeXFeatures.h: add a std:: qualifier
5312 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5314 * paragraph.C (String): use stringstream
5316 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5318 * paragraph.C (writeFile): remove footflag arg
5320 * buffer.C (makeLaTeXFile): use stringstream
5321 (latexParagraphs): remove footnot gurba
5323 * LaTeXFeatures.C (getPackages): use stringstream
5324 (getMacros): likewise
5325 (getTClassPreamble): likewise
5326 (getFloatDefinitions): new method
5328 * paragraph.C (writeFile): reindent
5331 * WorkArea.h: revert the xpos + etc changes.
5333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
5335 * lyxparagraph.[Ch]: add copy constructor, remove Clone
5337 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
5338 (pasteSelection): likewise
5339 * text2.C (CreateUndo): likewise
5341 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5343 * minibuffer.C (peek_event): temporarily reduce the functionality
5344 of the minibuffer (to allow args on lfuns)
5346 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
5347 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
5349 * buffer.C (readInset): add compability reading of old float
5350 lists, add reading of new style float list.
5351 (readInset): avoid reevaluation of inscmd.getCmdName()
5352 (getLists): reindent
5354 * MenuBackend.C (MenuItem): implement parsing of
5355 md_floatlistinsert and md_floatinsert.
5356 (expand::LastFiles): move initalizaton of iterators out of loop,
5358 (expand::Documents): introduce typdedef vector<string> Strings,
5360 (expand::ExportFormats): introduce typedef vector<Format const *>
5361 Formats, and use it.
5362 (expand): implement FloatListInsert and FloatInsert.
5364 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
5365 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
5366 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
5368 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
5370 (Dispatch::LFUN_FLOAT_LIST): implement
5372 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5374 * LaTeX.C (run): Fix problem with --export code.
5376 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5378 * BufferView.[Ch] (workarea): removed.
5379 (getClipboard) new method; wrapper for workarea()->getClipboard()
5381 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
5384 * WorkArea.h (width, height, xpos, ypos): These methods all
5385 returned the dimensions of the work_area sub-area of WorkArea,
5386 resulting in a position error if the WorkArea were resized. Now
5387 return the dimensions of the entire WorkArea.
5389 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
5391 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5393 * LaTeX.C (deplog): correct the syntax of regex reg1
5395 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5397 * undo.C: remove !NEW_INSETS cruft
5399 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5401 * text2.C: remove !NEW_INSETS cruft
5403 * text.C: remove !NEW_INSETS cruft
5405 * tabular.C: remove !NEW_INSETS cruft
5407 * spellchecker.C: remove !NEW_INSETS cruft
5409 * lyxtext.h: remove !NEW_INSETS cruft
5411 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
5413 * lyxfunc.C: remove !NEW_INSETS cruft
5415 * lyxfind.C: remove !NEW_INSETS cruft
5417 * lyx_cb.C: remove !NEW_INSETS cruft
5419 * figureForm.C: remove !NEW_INSETS cruft
5421 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
5423 * buffer.[Ch]: remove !NEW_INSETS cruft
5425 * ToolbarDefaults.C: remove !NEW_INSETS cruft
5427 * CutAndPaste.C: remove !NEW_INSETS cruft
5429 * BufferView_pimpl.C: remove !NEW_INSETS cruft
5431 * BufferView2.C: remove !NEW_INSETS cruft
5433 * BufferView.h: remove !NEW_INSETS cruft
5435 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5437 * Lsstream.h: include LString.h before the sstream headers to
5438 fix problem with gcc 2.95.3 and lyxstring
5440 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5442 * lyx_main.C: add using directives when needed for C functions
5443 declared in std:: namespace.
5445 2001-04-27 Juergen Vigna <jug@sad.it>
5447 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
5448 (SetHeightOfRow): comment out the update call should not be needed!
5450 2001-04-13 Juergen Vigna <jug@sad.it>
5452 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
5453 (LyXTabular): tried to minimize operator= operations (and realized
5454 hopfully Lars wish).
5456 2001-04-27 Juergen Vigna <jug@sad.it>
5458 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
5460 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5462 * lyxfunc.C (Dispatch): hack to make listof algorithm work
5464 * buffer.C (readInset): hack to make listof algorithm work
5466 * BufferView_pimpl.C: hack to make listof algorithm work
5468 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * LyXAction.C: removed all !NEW_INSETS cruft
5471 (init): moved lfun_item in method
5473 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
5475 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5477 * BufferView2.C (theLockingInset): white space.
5479 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * minibuffer.C: include <iostream>
5483 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
5485 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
5487 * commandtags.h: add LFUN_TRANSPOSE_CHARS
5489 * text.[Ch] (TransposeChars): new method
5491 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5493 * call message directly through LyXView instead of through LyXFunc
5494 * BufferView2.C: adjust
5495 * BufferView_pimpl.C: adjust
5496 * FontLoader.C: adjust
5498 * bufferview_funcs.C: adjust
5499 * converter.C: adjust
5500 * figureForm.C: adjust
5501 * importer.C: adjust
5503 * lyx_gui_misc.C: adjust
5507 + more files in subdirs
5509 * lyxparagraph.h (size): move up int file
5512 * adjust all uses of Assert to lyx::Assert.
5514 * BufferView2.C (ChangeCitationsIfUnique): adjust for
5515 lyxfunctional in namespace lyx
5516 * layout.C (hasLayout): ditto
5519 (delete_layout): ditto
5520 (NumberOfClass): ditto
5521 * converter.C (GetFormat): ditto
5526 * bufferlist.C (getFileNames): ditto
5527 (emergencyWriteAll): ditto
5530 * MenuBackend.C (hasSubmenu): ditto
5533 * BufferView_pimpl.C (getInsetByCode): ditto
5535 2001-04-18 Juergen Vigna <jug@sad.it>
5537 * vspace.C (asLatexString): fixed the 100% problem.
5539 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5541 * lyxfunc.C (Dispatch):
5543 * minibuffer.h: add a few std:: qualifiers
5545 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5547 * minibuffer.[Ch]: reimplement so that commands is initiated and
5548 run from lyxfunc, simplified som handling, and made the completion
5549 and history code for complete. wip.
5551 * lyxfunc.C (processKeySym): call message
5552 (miniDispatch): new temporary method
5553 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
5554 (LFUN_MESSAGE): implement
5555 (LFUN_MESSAGE_PUSH): implement
5556 (LFUN_MESSAGE_POP): implement
5557 (initMiniBuffer): the initial/defualt minibuffer message.
5559 * lyxfont.[Ch]: inline some more getters
5561 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
5563 * lyx_gui_misc.[Ch] (WriteStatus): remove method
5565 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
5566 (AutoSave): use LFUN_MESSAGE
5567 (Reconfigure): ditto
5569 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
5571 * figureForm.C: use LFUN_MESSAGE
5573 * converter.C (runLaTeX): use LFUN_MESSAGE
5575 * bufferview_funcs.C: use LFUN_MESSAGE
5577 (changeDepth): ditto
5579 * bufferparams.h: use boost::
5581 * bufferlist.h: inherit privately from noncopyable
5583 * bufferlist.C (loadLyXFile): remove some commented code.
5585 * buffer.C (runChktex): use LFUN_MESSAGE
5587 * ShareContainer.h: inherit privately from noncopyable
5589 * ParagraphParameters.[hC] (depth): inline it.
5591 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
5593 (message): new method
5594 (messagePush): ditto
5596 (show): init minibuffer
5597 (showState): direct call
5599 * LaTeX.[Ch]: inherit privately from noncopyable
5600 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
5601 instead of WriteStatus.
5603 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
5605 * BufferView_pimpl.C (buffer): don't init minibuffer
5606 (workAreaButtonPress): use LFUN_MESSAGE
5607 (workAreaButtonRelease): ditto
5608 (savePosition): ditto
5609 (restorePosition): ditto
5610 (MenuInsertLyXFile): ditto
5611 (workAreaExpose): don't init minibuffer
5612 (update): remove commented code, simplify
5614 * BufferView2.C (openStuff): use LFUN_MESSAGE
5615 (toggleFloat): ditto
5618 (copyEnvironment): ditto
5619 (pasteEnvironment): ditto
5624 (updateInset): remove some commented code
5626 * lastfiles.h: inherit privately from noncopyable
5631 * lyxlex_pimpl.h: ditto
5633 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
5634 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
5635 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5637 * LyXAction.h: inherit privately from noncopyable, add methods
5638 func_begin, func_end, returning iterators to the func map.
5640 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
5641 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5642 (func_begin): new method
5643 (func_end): new method
5645 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
5647 (copySelection): ditto
5648 (pasteSelection): ditto
5650 * BufferView.C: whitespace change
5651 * BufferView.h: inherit privately from noncopyable
5653 2001-04-16 Allan Rae <rae@lyx.org>
5655 * tabular-old.C (l_getline):
5656 * spellchecker.C (sc_check_word):
5657 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
5658 an unrecognised preprocessor directive. So ensure they're wrapped.
5660 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
5662 * src/exporter.C (Export): Give an error message when path to file
5665 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
5667 * LaTeX.C (deplog): Always check that foundfile exists.
5669 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5672 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
5674 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5676 * tabular.[Ch] (getLabelList): implement new method
5678 * minibuffer.h: comment ouf setTiimer
5680 * minibuffer.C (ExecutingCB): constify res
5681 (peek_event): constify s
5682 (Set): constify ntext
5683 (Init): constify nicename
5685 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
5687 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
5688 (savePosition): use two params to Minibuffer::Set
5689 (restorePosition): ditto
5691 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5693 * lyx_main.C: include language.h
5695 * Makefile.am (lyx_main.o): add language.h
5697 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5703 * CutAndPaste.C: include gettext.h
5705 * lyxfont.h: remove old hack with ON and OFF.
5708 * lyxfont.h: do not include language.h...
5713 * bufferview_funcs.C:
5719 * paragraph.C: ... but do it here instead
5721 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5723 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
5725 * tabular.C: small reformat
5727 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
5730 (BreakParagraph): ditto
5731 (SetOnlyLayout): ditto
5734 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
5737 * lastfiles.C: removed most using decl, add std:: where needed
5739 * buffer.C: ws changes
5741 * MenuBackend.C (class compare_format): put into anon namespace
5742 (expand): constify label, names, action, action2
5745 * text.C (SingleWidth): constify font
5746 (IsBoundary): constify rtl2
5747 (GetVisibleRow): constify ww
5749 * LaTeX.C (deplog): constify logfile
5751 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
5753 (workAreaExpose): constify widthChange, heightChange
5755 * lyxrow.C (par): moved
5758 * lyxrow.h: as inlines here
5760 * lyxfont.h (shape): moved from lyxfont.C
5761 (emph): moved from lyxfont.C
5763 * lyxfont.C (LyXFont): use initialization list for all
5765 (shape): move to lyxfont.h as inline
5766 (emph): move to lyxfont.h as inline
5769 2001-04-04 Juergen Vigna <jug@sad.it>
5771 * vspace.C: had to include stdio.h for use of sscanf
5773 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
5776 * BufferView_pimpl.h: remove xforms cruft. Both classes are
5777 independent of xforms.
5779 2001-04-02 Juergen Vigna <jug@sad.it>
5781 * spellchecker.C: fixed namespace placing!
5783 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
5785 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
5786 the LyXParagraph * is 0.
5788 2001-03-29 Juergen Vigna <jug@sad.it>
5790 * vspace.C: added support for %, c%, p%, l%.
5791 (stringFromUnit): added helper function.
5792 (asLatexString): changed to give right results for the %-values.
5794 * buffer.C: convert the widthp in a width%.
5796 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5798 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
5801 * figureForm.[Ch]: stripped the FD_from_figure manipulation
5802 code out of lux_cb.[Ch], ready for its (imminent?) removal.
5804 * lyx_cb.[Ch]: see above.
5806 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
5810 * lyx.[Ch]: replaced by figure_form.[Ch].
5814 * lyxfunc.C: changed headers associated with above changes.
5816 2001-03-27 Juergen Vigna <jug@sad.it>
5818 * BufferView_pimpl.C: set the temporary cursor right!
5820 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5822 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
5824 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5826 * LString.h: removed "using std::getline"!
5828 * BufferView_pimpl.C (Dispatch): changes due to changes in
5829 InsetInclude::Params.
5831 * buffer.C (tag_name): removed redundant break statements as they were
5832 producing lots of warnings with my compiler.
5834 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5836 * LString.h: add "using std::getline" when using the real <string>.
5838 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5840 * buffer.C: removed bitset usage.
5841 PAR_TAG moved to an anonymous name space.
5842 (tag_name): new funtion, also in the anonymous namespace.
5843 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
5844 (makeDocBookFile): clean code. Completed transition from string arrays
5846 (SimpleDocBookOnePar): code clean.
5848 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5850 * tabular.C: add some comments.
5852 2001-03-22 Juergen Vigna <jug@sad.it>
5854 * buffer.C (parseSingleLyXformat2Token): redone the minipage
5855 compatibility read a bit and fixed bug with minipage in different
5858 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
5860 * buffer.C (pop_tag): removed.
5861 (push_tag): removed.
5862 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
5863 array replaced with vector. Added support for CDATA sections.
5864 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
5866 (makeDocBookFile): XML conformant declaration of CDATA section,
5867 fixed bug related to <emphasis> in the first paragraph char.
5868 (sgmlOpenTag): exclude empty tags.
5869 (sgmlCloseTag): ditto.
5871 * buffer.h (pop_tag): removed.
5872 (push_tag): removed.
5874 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5876 * language.h (Languages): added size_type and size().
5878 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5880 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
5881 response on compability reading of minipages. One probliem is that
5882 the old usage of minipages was «flertydig»
5884 * several files here and in subdirs: don't use static at file
5885 scope use anon namespaces instead.
5887 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
5889 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
5890 LaTeX output. This is necessary for Literate document
5893 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5895 * buffer.C: insert hfill when needed.
5897 * tabular.C (l_getline): use string::erase, small whitespace change.
5899 * BufferView_pimpl.C: try the anon namespace.
5902 2001-03-16 Juergen Vigna <jug@sad.it>
5904 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
5905 otherwise it won't open options-dialogs.
5907 * buffer.C: honor pextraWidth(p) on converting minipages.
5909 * tabular.C (l_getline): changed the functions to strip trailing \r.
5911 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
5913 * BufferView_pimpl.C:
5914 * minibuffer..C: added "using SigC::slot" declaration.
5916 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5918 * lyxlex_pimpl.h: noncopyable is in namespace boost.
5924 * paragraph.C: ditto
5926 * lyxtext.h: NO_PEXTRA
5928 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
5930 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
5931 * ParameterStruct.h: ditto
5932 * ParagraphParameters.h: ditto
5933 * lyxparagraph.h: ditto
5935 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5937 * buffer.C: add compability for minipage alignment.
5938 (latexParagraphs): remove unwanted pextra check.
5940 * several files: remove CXX_WORKING_NAMESPACES
5942 * buffer.C (pop_tag): tie is in namespace boost
5944 * BufferView.h: noncopyable is in namespace boost
5949 * lastfiles.h: ditto
5950 * bufferlist.h: ditto
5951 * ShareContainer.h: ditto
5953 * LyXAction.h: ditto
5956 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5958 * Merging changes from BRANCH_MVC back into HEAD.
5960 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
5962 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
5964 * BufferView_pimpl.C: change from intl.C
5968 * Makefile.am: move combox.*
5974 * intl.C: remove dialog (covered by prefs)
5976 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5978 * lyxfunc.C (Dispatch): removed redundant break statement.
5980 2001-03-14 Juergen Vigna <jug@sad.it>
5982 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5984 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5986 * buffer.C: add hack to fix compability reading of minipages.
5988 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5990 * buffer.C (getLists): Cleanup.
5992 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * lyxfont.C (update): don't honor toggleall on font size.
5996 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
6000 * Makefile.am: moved to frontends/xforms/
6004 * BufferView_pimpl.C: changes for moved mathpanel
6006 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6008 * gettext.h: fix gettext_init() in --disable-nls
6010 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6012 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
6014 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6017 * lyx.h: strip external form
6019 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6021 * BufferView_pimpl.C: add comment, destroySplash()
6023 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6025 * BufferView_pimpl.C:
6029 * lyxfunc.C: use re-worked insetinclude
6031 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6033 * buffer.C: add using std::stringstream.
6035 * lyx_cb.C: readd using std::ios.
6037 * buffer.C: add using std::map.
6039 * BufferView_pimpl.C: add using std::vector.
6041 * ShareContainer.h: add std:: to swap.
6043 * buffer.h: add some typedefs
6044 * buffer.C (getLists): use them
6045 (getLists): renamed from getTocList.
6046 add a counter for the different float types and use it in the
6048 (getLists): use the same counter for the NEW_INSETS and the "non"
6051 * lyx_cb.h: remove unused items, includes, using etc.
6053 * ShareContainer.h: remove some commented code, add more comments
6054 and "documentation".
6056 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6058 * buffer.C (getTocList): make the list also when NEW_INSETS is
6061 * buffer.h: remove TocType
6063 * buffer.C (getTocList): change to return a map<string,
6064 vector<TocItem> >, implement for dynamic number of list.
6066 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
6067 * text2.C (PasteSelection): adjust
6068 * CutAndPaste.C (pasteSelection): adjust
6070 * FloatList.C (FloatList): update from the new_insets branch.
6071 * Floating.[Ch]: ditto
6072 * LaTeXFeatures.C: ditto
6074 * lyxlex_pimpl.C: ditto
6076 * paragraph.C (Last): remove when NEW_INSETS is defined.
6078 * other file: changes because of the above.
6080 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6082 * lyxparagraph.h: rename next to next_, previous to previous_,
6083 make them private for NEW_INSETS. Rename Next() to next(),
6084 Previous() to previous().
6086 * other files: changes because of the above.
6088 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
6091 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
6094 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * main.C (main): pass lyx_localedir to gettext_init().
6098 * gettext.h: remove locale_init and gettext_init macros
6100 * gettext.C (locale_init): new function
6101 (gettext_init): new function
6103 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
6106 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
6108 * Moved credits to frontends:
6109 * credits.[Ch]: removed
6110 * credits_form.[Ch]: removed
6111 * lyx_gui_misc.C: remove credits stuff
6114 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6116 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
6118 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
6119 unneeded destructor.
6121 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
6122 a standalone pointer again.
6124 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
6126 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6132 * ToolbarDefaults.C:
6141 * BufferView_pimpl.C: use new file dialog in GUII
6144 * lyx_cb.C: remove LayoutsCB to Toolbar
6146 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6148 * ShareContainer.h (get): add std:: qualifier
6150 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6152 * ShareContainer.h: define a proper ShareContainer::value_type
6153 type (and use typename to please compaq cxx)
6155 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6157 * lyxparagraph.h: move serveral local vars to
6158 ParameterStruct/ParagraphParameters., use ShareContainer in
6159 FontTable., make vars in FontTable private and add getter and
6162 * paragraph.C: changes because of the above.
6164 * lyxfont.h: remove copy constructor and copy assignment. (the
6165 default ones is ok), move number inside FontBits. move inlines to
6168 * lyxfont.C: add number to initializaton of statics, move several
6169 inlines here. constify several local vars. some whitespace
6170 cleanup. Dont hide outerscope variables.
6172 * Spacing.h: add two new constructors to match the set methods.
6174 * ShareContainer.h: new file, will perhaps be moved to support
6176 * ParameterStruct.h: new file
6178 * ParagraphParameters.h: new file
6180 * ParagraphParameters.C: new file
6182 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
6183 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
6185 * BufferView_pimpl.C: ParagraphParameter changes.
6186 * buffer.C: Likewise.
6187 * bufferview_funcs.C: Likewise.
6189 * text2.C: Likewise.
6191 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * lyxfind.C (LyXReplace): do not redefine default argument in
6195 (IsStringInText): ditto
6196 (SearchForward): ditto
6197 (SearchBackward): ditto
6199 2001-03-06 Juergen Vigna <jug@sad.it>
6201 * lyxfind.C (IsStringInText): put parentes around expressions.
6203 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
6205 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
6207 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
6209 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
6211 * stl_string_fwd.h: add comment
6213 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
6216 * tabular.C: remove unused DocBook methods
6222 killed DO_USE_DEFAULT_LANGUAGE
6224 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6226 * lyx_gui.C: do not include language.h.
6228 * bufferview_funcs.C (ToggleAndShow): do not provide optional
6229 arguments in function implementation.
6231 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6233 * BufferView_pimpl.C: add <ctime>
6235 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6237 * BufferView_pimpl.C: add using std::find_if
6239 2001-02-27 José Matos <jamatos@fep.up.pt>
6241 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
6244 2001-02-11 José Matos <jamatos@fep.up.pt>
6246 * buffer.C (makeDocBookFile): command styles now have a parameter as
6249 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
6251 * layout_forms.[Ch]: removed
6252 * lyx_cb.[Ch]: out character
6253 * lyx_gui.C: out character
6254 * lyx_gui_misc.C: out character
6255 * bufferview_funcs.C: : out character,
6256 added toggleall as parameter in ToggleAndShow
6258 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
6260 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
6262 * text2.C (SetCurrentFont): Disable number property at boundary.
6264 2001-02-26 Juergen Vigna <jug@sad.it>
6266 * lyxfunc.C (getStatus): added a string argument override function so
6267 that this is correctly called from LyXFunc::Dispatch if it contains a
6268 do_not_use_argument which is used!
6269 (Dispatch): added check for "custom" export and call appropriate func.
6271 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
6273 * lyxrc.C: Add language_command_local, language_use_babel and
6274 language_global_options.
6276 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
6278 * buffer.C (makeLaTeXFile): Use language_use_babel and
6279 language_global_options.
6281 2001-02-23 Juergen Vigna <jug@sad.it>
6283 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
6284 which works with LyXText and putted it inside BufferView. Here now we
6285 only call for that part the BufferView::Dispatch() function.
6287 * BufferView.C (Dispatch): added.
6289 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
6290 functions which needs to use a LyXText over from LyXFunc.
6291 (MenuInsertLyXFile): added
6292 (getInsetByCode): added
6293 (moveCursorUpdate): added
6294 (static TEXT): added
6296 2001-02-22 Juergen Vigna <jug@sad.it>
6298 * BufferView_pimpl.C (update): call a status update to see if LyXText
6301 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6303 * vc-backend.C (revert): implement for CVS
6304 (getLog): implement for CVS
6306 2001-02-20 Juergen Vigna <jug@sad.it>
6308 * text2.C (ClearSelection): added BufferView param for inset_owner call
6310 * lyxfunc.C (TEXT): added this function and use it instead of
6311 directly owner->view()-text of getLyXText().
6313 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
6315 * src/layout_forms.C: out preamble
6316 * src/layout_forms.h: out preamble
6317 * src/lyx_cb.C: out preamble
6318 * src/lyx_cb.h: out preamble
6319 * src/lyx_gui.C: out preamble
6320 * src/lyx_gui_misc.C: out preamble
6321 * src/lyxfunc.C: connect with guii preamble
6323 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6325 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
6327 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
6329 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
6330 whether to run bibtex.
6332 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
6334 * Makefile.am (lyx_SOURCES): Remove BackStack.h
6336 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6338 * Makefile.am (lyx_SOURCES): removed bibforms.h
6342 * text.C (GetVisibleRow): make several local vars const
6344 * tabular.C: small cleanup.
6346 * lyxserver.C (callback): use compare instead of strncmp
6348 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
6349 inlines to after class or to paragraph.C
6351 * lyxfont.h: remove friend operator!=
6353 * converter.h: move friend bool operator< to non friend and after
6356 * combox.h: small cleanup
6358 * buffer.h: doxygen, remove unused constructor, move inclas inlies
6359 to inlines after class def.
6361 * buffer.C (pop_tag): use string operations instead of strcmp
6363 * bmtable.c: doxygen, small cleanup
6365 * LaTeX.h: remove friend operator==
6367 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6379 * BufferView_pimpl.C:
6380 * BufferView.[Ch]: remove cruft
6382 2001-02-14 Juergen Vigna <jug@sad.it>
6384 * lyxfunc.C: removed #if 0 unused code
6386 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
6388 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
6390 * text2.C (SetSelection): added a BufferView * parameter
6392 2001-02-13 Juergen Vigna <jug@sad.it>
6394 * lyxfunc.C (Dispatch): fixed protected blank problem.
6395 * BufferView2.C (protectedBlank): added LyxText * parameter.
6397 * tabular.C (AppendRow): forgot to set row_info of newly added row.
6398 (AppendColumn): same as above for column_info.
6400 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
6401 (moveCursorUpdate): use a LyXText param for support of InsetText.
6403 * BufferView_pimpl.C (doubleClick): added support for InsetText.
6404 (tripleClick): ditto
6406 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
6408 * BufferView_pimpl.C (update): added LyXText param to honor insets.
6410 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
6412 * text2.C (SetSelection): set correct update status if inset_owner
6415 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
6417 * tabular.C: remove some commented code.
6419 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6421 * BufferView_pimpl.C: call hideSplash()
6423 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
6426 * bibforms.h: remove
6429 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
6430 add LFUN_CHILD_CREATE
6432 * counters.h: fix tiny typo
6437 * lyx.C: move splash to frontends/xforms/
6439 * lyx_gui_misc.C: move Include and Bibform to frontends
6441 * lyxvc.h: clarify comment
6443 * vspace.C: tiny housekeeping
6445 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6447 * text.C (PrepareToPrint): RTL Fix.
6449 * paragraph.C (GetUChar): New method.
6450 (String): Use GetUChar.
6452 * buffer.C (asciiParagraph): Use GetUChar.
6454 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6456 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
6458 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
6461 * buffer.C: rename to getLogName(), handle
6462 build log / latex log nicely
6464 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6467 * MenuBackend.h: remove support for reference menuitem type.
6469 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
6471 * BufferView_pimpl.C: housekeeping
6472 * BufferView_pimpl.h:
6477 * minibuffer.h: move Timeout GUI-I
6479 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
6481 * lyxrc.C (read): Update converters data-structures.
6483 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
6485 * LaTeX.h (operator!=): add operator != for Aux_Info
6487 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
6489 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
6491 * LaTeXLog.C: deleted, useful code moved to Buffer
6494 * buffer.C: new function getLatexLogName()
6500 * lyxfunc.C: use frontends for LaTeX and VC logs
6502 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * LaTeX.h: yet another std:: that Allan forgot.
6506 * Variables.C (set): renamed from isset(), because this clashes
6507 with some HP-UX macros (grr).
6509 2001-02-06 Allan Rae <rae@lyx.org>
6511 * LaTeX.h: Another bug fix. Missing std:: this time.
6513 2001-02-04 Allan Rae <rae@lyx.org>
6515 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
6516 floats problem. I've left it commented out because it's not quite
6517 correct. It should also test that the current object is a table or
6518 figure inset. But I haven't gotten around to figuring out how to do
6519 that. I *think* it'll be something like: "table" == inset.type()
6521 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
6524 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
6526 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
6527 all the citation/databases/styles in the auxilary file.
6528 (run): Rerun latex if there was a babel language error.
6530 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
6532 * text.C (Backspace): Preserve the font when changing newline char
6534 (BreakParagraph): If the cursor is before a space, delete the space.
6536 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
6538 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6540 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
6541 new argument (code).
6542 (ChangeCitationsIfUnique): New method.
6544 * paragraph.C (GetPositionOfInset): Handle bibkey.
6546 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6548 * BufferView_pimpl.h: change type of Position::par_pos to
6549 LyXParagraph::size_type.
6551 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
6553 * BufferView_pimpl.C (savePosition, restorePosition): Write
6554 messages to minibuffer.
6556 2001-01-28 José Matos <jamatos@fep.up.pt>
6558 * buffer.C (makeDocBookFile): adds support for document language.
6559 A silly restriction on the name of LatexCommand types where removed.
6560 Added support for CDATA sections, allows to chars unescaped, used
6561 among others in code, to avoid escape < and >.
6563 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
6565 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
6566 saved positions instrad of a stack. Furthermore, a position is
6567 stored using paragraph id/paragraph position.
6569 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
6570 Remove LFUN_REF_BACK.
6572 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
6574 * converter.C (dvipdfm_options): New method.
6576 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6578 * vspace.C (isValidLength): Fix for empty input string.
6580 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6582 * LyXAction.C (init): change description of LFUN_FIGURE to
6585 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6587 * LaTeX.C: add using directive
6589 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
6591 * MenuBackend.C (expand): Fix the sorting of the formats.
6593 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
6595 * lyx_main.C: tiny error message fix
6597 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6599 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
6600 calling fl_initialize(). This fixes the problem with ',' as
6601 decimal separator in text files.
6603 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
6605 * trans.C (process): Fix the keymap bug.
6607 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
6609 * LaTeX.C (scanAuxFiles): New method. Provides support for
6610 multiple bibliographies (when using the bibtopic/bibunits pacakges).
6611 (scanLogFile) Scan for "run BibTeX" messages.
6613 * buffer.C (makeLaTeXFile): Do not load the ae package when using
6614 OT1 font encoding. Also, load the aecompl package if the ae
6617 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
6619 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6621 * texrow.C (increasePos): turn two error messages into debug
6624 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
6626 * LaTeX.C (scanAux): Handle the \@input macro.
6627 (runBibTeX): Use scanAux().
6629 * language.C (latex_options_): New field.
6631 * LaTeXFeatures.C (getMacros): Add language macros.
6633 * buffer.C (makeLaTeXFile): Small fix.
6635 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6637 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
6639 * text2.C: add a using directive.
6641 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
6646 * lyxfunc.C: kill LyXBell.
6648 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
6650 * text.C (IsBoundary): Remove the error message
6652 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
6654 * lyxrc.C (setDefaults): Correct initialization value for
6657 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
6659 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
6662 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
6665 * src/LyXAction.C: Added reference-next.
6667 * text.C (InsertChar): Use contains instead of strchr.
6669 * lyx_cb.C (MenuInsertLabel): Enable default value code.
6671 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
6673 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
6674 alignment commands (when needed).
6676 * text.C (InsertChar): Add ':' to number separator chars.