1 2001-05-28 Juergen Vigna <jug@sad.it>
3 * text.C (SetHeightOfRow): added the update() call again as it is
4 needed to initialize inset dimensions!
6 2001-05-16 Juergen Vigna <jug@sad.it>
8 * text2.C (SetCharFont): Add new function with BufferView * and
9 bool toggleall parameters for setting insets internal fonts.
10 (SetFont): Freeze the undo as we may change fonts in Insets and
11 all this change should be inside only one Undo!
13 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14 setting font's in insets as for them we have the SetFont function!
16 2001-05-15 Juergen Vigna <jug@sad.it>
18 * text2.C (ClearSelection): to be sure we REALLY don't have any
21 * tabular.C (TeXCellPreamble): fixed the left border problem for
24 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
26 * LaTeX.C (deplog): Make sure that the main .tex file is in the
29 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
34 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
35 help test to "internal only", similar for LFUN_INSERT_URL
37 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
38 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
39 auto_region_delete and deadkeys.
41 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
44 * LColor.C: remove some dead entries, tidy a little
46 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
48 * lyxfunc.C (processKeySym): comment the Escape handling, remove
50 (Dispatch): implement LFUN_ESCAPE
52 * commandtags.h: add LFUN_ESCAPE
54 * LyXAction.C (init): add entry for LFUN_ESCAPE
56 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
57 Remove commented code.
58 (insertNote): moved here
59 (open_new_inset): moved here
61 * BufferView[2].[Ch]: move insertNote and open_new_inset to
64 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * kbmap.C (findbinding): clean it up and make it work correctly.
68 * lyx_main.C (init): do not pass argc and argv as parameters
70 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
72 * buffer.C: fix path for OS/2 & Win32
76 * lyx_main.C: Added os:: class.
78 * os2_defines.h: update
80 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
82 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
83 better by trying again with reduced state.
85 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
87 * lyxrc.C (read): print error about invalid key sequence only when
88 debugging (because not all latinX keysyms are known to some X
91 * kbsequence.C (getiso): add a few std:: qualifiers
92 (getiso): comment out extra return statement.
94 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
96 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
98 (Dispatch): enhance the accent inset a bit. (not perfect)
100 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
102 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
104 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
106 * bufferlist.C (emergencyWrite): fix assert() call
108 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
110 * text.C (InsertChar): Added trivial patch to only send the "you
111 can not do multiple spaces this way" message once during a
114 2001-05-08 Baruch Even <baruch@lyx.org>
116 * Makefile.am: Changed order of libraries to get LyX to link properly
117 with the gnome frontend.
119 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * LaTeXFeatures.h: add a std:: qualifier
123 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * paragraph.C (String): use stringstream
127 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * paragraph.C (writeFile): remove footflag arg
131 * buffer.C (makeLaTeXFile): use stringstream
132 (latexParagraphs): remove footnot gurba
134 * LaTeXFeatures.C (getPackages): use stringstream
135 (getMacros): likewise
136 (getTClassPreamble): likewise
137 (getFloatDefinitions): new method
139 * paragraph.C (writeFile): reindent
142 * WorkArea.h: revert the xpos + etc changes.
144 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
146 * lyxparagraph.[Ch]: add copy constructor, remove Clone
148 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
149 (pasteSelection): likewise
150 * text2.C (CreateUndo): likewise
152 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
154 * minibuffer.C (peek_event): temporarily reduce the functionality
155 of the minibuffer (to allow args on lfuns)
157 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
158 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
160 * buffer.C (readInset): add compability reading of old float
161 lists, add reading of new style float list.
162 (readInset): avoid reevaluation of inscmd.getCmdName()
165 * MenuBackend.C (MenuItem): implement parsing of
166 md_floatlistinsert and md_floatinsert.
167 (expand::LastFiles): move initalizaton of iterators out of loop,
169 (expand::Documents): introduce typdedef vector<string> Strings,
171 (expand::ExportFormats): introduce typedef vector<Format const *>
173 (expand): implement FloatListInsert and FloatInsert.
175 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
176 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
177 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
179 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
181 (Dispatch::LFUN_FLOAT_LIST): implement
183 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
185 * LaTeX.C (run): Fix problem with --export code.
187 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
189 * BufferView.[Ch] (workarea): removed.
190 (getClipboard) new method; wrapper for workarea()->getClipboard()
192 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
195 * WorkArea.h (width, height, xpos, ypos): These methods all
196 returned the dimensions of the work_area sub-area of WorkArea,
197 resulting in a position error if the WorkArea were resized. Now
198 return the dimensions of the entire WorkArea.
200 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
202 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
204 * LaTeX.C (deplog): correct the syntax of regex reg1
206 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
208 * undo.C: remove !NEW_INSETS cruft
210 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
212 * text2.C: remove !NEW_INSETS cruft
214 * text.C: remove !NEW_INSETS cruft
216 * tabular.C: remove !NEW_INSETS cruft
218 * spellchecker.C: remove !NEW_INSETS cruft
220 * lyxtext.h: remove !NEW_INSETS cruft
222 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
224 * lyxfunc.C: remove !NEW_INSETS cruft
226 * lyxfind.C: remove !NEW_INSETS cruft
228 * lyx_cb.C: remove !NEW_INSETS cruft
230 * figureForm.C: remove !NEW_INSETS cruft
232 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
234 * buffer.[Ch]: remove !NEW_INSETS cruft
236 * ToolbarDefaults.C: remove !NEW_INSETS cruft
238 * CutAndPaste.C: remove !NEW_INSETS cruft
240 * BufferView_pimpl.C: remove !NEW_INSETS cruft
242 * BufferView2.C: remove !NEW_INSETS cruft
244 * BufferView.h: remove !NEW_INSETS cruft
246 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
248 * Lsstream.h: include LString.h before the sstream headers to
249 fix problem with gcc 2.95.3 and lyxstring
251 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
253 * lyx_main.C: add using directives when needed for C functions
254 declared in std:: namespace.
256 2001-04-27 Juergen Vigna <jug@sad.it>
258 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
259 (SetHeightOfRow): comment out the update call should not be needed!
261 2001-04-13 Juergen Vigna <jug@sad.it>
263 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
264 (LyXTabular): tried to minimize operator= operations (and realized
267 2001-04-27 Juergen Vigna <jug@sad.it>
269 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
271 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * lyxfunc.C (Dispatch): hack to make listof algorithm work
275 * buffer.C (readInset): hack to make listof algorithm work
277 * BufferView_pimpl.C: hack to make listof algorithm work
279 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
281 * LyXAction.C: removed all !NEW_INSETS cruft
282 (init): moved lfun_item in method
284 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
286 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
288 * BufferView2.C (theLockingInset): white space.
290 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
292 * minibuffer.C: include <iostream>
294 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
296 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
298 * commandtags.h: add LFUN_TRANSPOSE_CHARS
300 * text.[Ch] (TransposeChars): new method
302 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
304 * call message directly through LyXView instead of through LyXFunc
305 * BufferView2.C: adjust
306 * BufferView_pimpl.C: adjust
307 * FontLoader.C: adjust
309 * bufferview_funcs.C: adjust
310 * converter.C: adjust
311 * figureForm.C: adjust
314 * lyx_gui_misc.C: adjust
318 + more files in subdirs
320 * lyxparagraph.h (size): move up int file
323 * adjust all uses of Assert to lyx::Assert.
325 * BufferView2.C (ChangeCitationsIfUnique): adjust for
326 lyxfunctional in namespace lyx
327 * layout.C (hasLayout): ditto
330 (delete_layout): ditto
331 (NumberOfClass): ditto
332 * converter.C (GetFormat): ditto
337 * bufferlist.C (getFileNames): ditto
338 (emergencyWriteAll): ditto
341 * MenuBackend.C (hasSubmenu): ditto
344 * BufferView_pimpl.C (getInsetByCode): ditto
346 2001-04-18 Juergen Vigna <jug@sad.it>
348 * vspace.C (asLatexString): fixed the 100% problem.
350 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
352 * lyxfunc.C (Dispatch):
354 * minibuffer.h: add a few std:: qualifiers
356 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
358 * minibuffer.[Ch]: reimplement so that commands is initiated and
359 run from lyxfunc, simplified som handling, and made the completion
360 and history code for complete. wip.
362 * lyxfunc.C (processKeySym): call message
363 (miniDispatch): new temporary method
364 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
365 (LFUN_MESSAGE): implement
366 (LFUN_MESSAGE_PUSH): implement
367 (LFUN_MESSAGE_POP): implement
368 (initMiniBuffer): the initial/defualt minibuffer message.
370 * lyxfont.[Ch]: inline some more getters
372 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
374 * lyx_gui_misc.[Ch] (WriteStatus): remove method
376 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
377 (AutoSave): use LFUN_MESSAGE
380 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
382 * figureForm.C: use LFUN_MESSAGE
384 * converter.C (runLaTeX): use LFUN_MESSAGE
386 * bufferview_funcs.C: use LFUN_MESSAGE
390 * bufferparams.h: use boost::
392 * bufferlist.h: inherit privately from noncopyable
394 * bufferlist.C (loadLyXFile): remove some commented code.
396 * buffer.C (runChktex): use LFUN_MESSAGE
398 * ShareContainer.h: inherit privately from noncopyable
400 * ParagraphParameters.[hC] (depth): inline it.
402 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
404 (message): new method
407 (show): init minibuffer
408 (showState): direct call
410 * LaTeX.[Ch]: inherit privately from noncopyable
411 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
412 instead of WriteStatus.
414 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
416 * BufferView_pimpl.C (buffer): don't init minibuffer
417 (workAreaButtonPress): use LFUN_MESSAGE
418 (workAreaButtonRelease): ditto
419 (savePosition): ditto
420 (restorePosition): ditto
421 (MenuInsertLyXFile): ditto
422 (workAreaExpose): don't init minibuffer
423 (update): remove commented code, simplify
425 * BufferView2.C (openStuff): use LFUN_MESSAGE
429 (copyEnvironment): ditto
430 (pasteEnvironment): ditto
435 (updateInset): remove some commented code
437 * lastfiles.h: inherit privately from noncopyable
442 * lyxlex_pimpl.h: ditto
444 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
445 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
446 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
448 * LyXAction.h: inherit privately from noncopyable, add methods
449 func_begin, func_end, returning iterators to the func map.
451 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
452 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
453 (func_begin): new method
454 (func_end): new method
456 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
458 (copySelection): ditto
459 (pasteSelection): ditto
461 * BufferView.C: whitespace change
462 * BufferView.h: inherit privately from noncopyable
464 2001-04-16 Allan Rae <rae@lyx.org>
466 * tabular-old.C (l_getline):
467 * spellchecker.C (sc_check_word):
468 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
469 an unrecognised preprocessor directive. So ensure they're wrapped.
471 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
473 * src/exporter.C (Export): Give an error message when path to file
476 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
478 * LaTeX.C (deplog): Always check that foundfile exists.
480 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
483 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
485 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
487 * tabular.[Ch] (getLabelList): implement new method
489 * minibuffer.h: comment ouf setTiimer
491 * minibuffer.C (ExecutingCB): constify res
492 (peek_event): constify s
493 (Set): constify ntext
494 (Init): constify nicename
496 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
498 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
499 (savePosition): use two params to Minibuffer::Set
500 (restorePosition): ditto
502 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
504 * lyx_main.C: include language.h
506 * Makefile.am (lyx_main.o): add language.h
508 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
514 * CutAndPaste.C: include gettext.h
516 * lyxfont.h: remove old hack with ON and OFF.
519 * lyxfont.h: do not include language.h...
524 * bufferview_funcs.C:
530 * paragraph.C: ... but do it here instead
532 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
536 * tabular.C: small reformat
538 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
541 (BreakParagraph): ditto
542 (SetOnlyLayout): ditto
545 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
548 * lastfiles.C: removed most using decl, add std:: where needed
550 * buffer.C: ws changes
552 * MenuBackend.C (class compare_format): put into anon namespace
553 (expand): constify label, names, action, action2
556 * text.C (SingleWidth): constify font
557 (IsBoundary): constify rtl2
558 (GetVisibleRow): constify ww
560 * LaTeX.C (deplog): constify logfile
562 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
564 (workAreaExpose): constify widthChange, heightChange
566 * lyxrow.C (par): moved
569 * lyxrow.h: as inlines here
571 * lyxfont.h (shape): moved from lyxfont.C
572 (emph): moved from lyxfont.C
574 * lyxfont.C (LyXFont): use initialization list for all
576 (shape): move to lyxfont.h as inline
577 (emph): move to lyxfont.h as inline
580 2001-04-04 Juergen Vigna <jug@sad.it>
582 * vspace.C: had to include stdio.h for use of sscanf
584 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
587 * BufferView_pimpl.h: remove xforms cruft. Both classes are
588 independent of xforms.
590 2001-04-02 Juergen Vigna <jug@sad.it>
592 * spellchecker.C: fixed namespace placing!
594 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
596 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
597 the LyXParagraph * is 0.
599 2001-03-29 Juergen Vigna <jug@sad.it>
601 * vspace.C: added support for %, c%, p%, l%.
602 (stringFromUnit): added helper function.
603 (asLatexString): changed to give right results for the %-values.
605 * buffer.C: convert the widthp in a width%.
607 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
609 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
612 * figureForm.[Ch]: stripped the FD_from_figure manipulation
613 code out of lux_cb.[Ch], ready for its (imminent?) removal.
615 * lyx_cb.[Ch]: see above.
617 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
621 * lyx.[Ch]: replaced by figure_form.[Ch].
625 * lyxfunc.C: changed headers associated with above changes.
627 2001-03-27 Juergen Vigna <jug@sad.it>
629 * BufferView_pimpl.C: set the temporary cursor right!
631 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
633 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
635 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
637 * LString.h: removed "using std::getline"!
639 * BufferView_pimpl.C (Dispatch): changes due to changes in
640 InsetInclude::Params.
642 * buffer.C (tag_name): removed redundant break statements as they were
643 producing lots of warnings with my compiler.
645 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
647 * LString.h: add "using std::getline" when using the real <string>.
649 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
651 * buffer.C: removed bitset usage.
652 PAR_TAG moved to an anonymous name space.
653 (tag_name): new funtion, also in the anonymous namespace.
654 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
655 (makeDocBookFile): clean code. Completed transition from string arrays
657 (SimpleDocBookOnePar): code clean.
659 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
661 * tabular.C: add some comments.
663 2001-03-22 Juergen Vigna <jug@sad.it>
665 * buffer.C (parseSingleLyXformat2Token): redone the minipage
666 compatibility read a bit and fixed bug with minipage in different
669 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
671 * buffer.C (pop_tag): removed.
673 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
674 array replaced with vector. Added support for CDATA sections.
675 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
677 (makeDocBookFile): XML conformant declaration of CDATA section,
678 fixed bug related to <emphasis> in the first paragraph char.
679 (sgmlOpenTag): exclude empty tags.
680 (sgmlCloseTag): ditto.
682 * buffer.h (pop_tag): removed.
685 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
687 * language.h (Languages): added size_type and size().
689 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
691 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
692 response on compability reading of minipages. One probliem is that
693 the old usage of minipages was «flertydig»
695 * several files here and in subdirs: don't use static at file
696 scope use anon namespaces instead.
698 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
700 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
701 LaTeX output. This is necessary for Literate document
704 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
706 * buffer.C: insert hfill when needed.
708 * tabular.C (l_getline): use string::erase, small whitespace change.
710 * BufferView_pimpl.C: try the anon namespace.
713 2001-03-16 Juergen Vigna <jug@sad.it>
715 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
716 otherwise it won't open options-dialogs.
718 * buffer.C: honor pextraWidth(p) on converting minipages.
720 * tabular.C (l_getline): changed the functions to strip trailing \r.
722 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
724 * BufferView_pimpl.C:
725 * minibuffer..C: added "using SigC::slot" declaration.
727 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
729 * lyxlex_pimpl.h: noncopyable is in namespace boost.
737 * lyxtext.h: NO_PEXTRA
739 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
741 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
742 * ParameterStruct.h: ditto
743 * ParagraphParameters.h: ditto
744 * lyxparagraph.h: ditto
746 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
748 * buffer.C: add compability for minipage alignment.
749 (latexParagraphs): remove unwanted pextra check.
751 * several files: remove CXX_WORKING_NAMESPACES
753 * buffer.C (pop_tag): tie is in namespace boost
755 * BufferView.h: noncopyable is in namespace boost
761 * bufferlist.h: ditto
762 * ShareContainer.h: ditto
767 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
769 * Merging changes from BRANCH_MVC back into HEAD.
771 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
773 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
775 * BufferView_pimpl.C: change from intl.C
779 * Makefile.am: move combox.*
785 * intl.C: remove dialog (covered by prefs)
787 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
789 * lyxfunc.C (Dispatch): removed redundant break statement.
791 2001-03-14 Juergen Vigna <jug@sad.it>
793 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
795 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
797 * buffer.C: add hack to fix compability reading of minipages.
799 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
801 * buffer.C (getLists): Cleanup.
803 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
805 * lyxfont.C (update): don't honor toggleall on font size.
807 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
811 * Makefile.am: moved to frontends/xforms/
815 * BufferView_pimpl.C: changes for moved mathpanel
817 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
819 * gettext.h: fix gettext_init() in --disable-nls
821 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
825 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
828 * lyx.h: strip external form
830 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
832 * BufferView_pimpl.C: add comment, destroySplash()
834 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
836 * BufferView_pimpl.C:
840 * lyxfunc.C: use re-worked insetinclude
842 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
844 * buffer.C: add using std::stringstream.
846 * lyx_cb.C: readd using std::ios.
848 * buffer.C: add using std::map.
850 * BufferView_pimpl.C: add using std::vector.
852 * ShareContainer.h: add std:: to swap.
854 * buffer.h: add some typedefs
855 * buffer.C (getLists): use them
856 (getLists): renamed from getTocList.
857 add a counter for the different float types and use it in the
859 (getLists): use the same counter for the NEW_INSETS and the "non"
862 * lyx_cb.h: remove unused items, includes, using etc.
864 * ShareContainer.h: remove some commented code, add more comments
867 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
869 * buffer.C (getTocList): make the list also when NEW_INSETS is
872 * buffer.h: remove TocType
874 * buffer.C (getTocList): change to return a map<string,
875 vector<TocItem> >, implement for dynamic number of list.
877 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
878 * text2.C (PasteSelection): adjust
879 * CutAndPaste.C (pasteSelection): adjust
881 * FloatList.C (FloatList): update from the new_insets branch.
882 * Floating.[Ch]: ditto
883 * LaTeXFeatures.C: ditto
885 * lyxlex_pimpl.C: ditto
887 * paragraph.C (Last): remove when NEW_INSETS is defined.
889 * other file: changes because of the above.
891 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
893 * lyxparagraph.h: rename next to next_, previous to previous_,
894 make them private for NEW_INSETS. Rename Next() to next(),
895 Previous() to previous().
897 * other files: changes because of the above.
899 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
902 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
905 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * main.C (main): pass lyx_localedir to gettext_init().
909 * gettext.h: remove locale_init and gettext_init macros
911 * gettext.C (locale_init): new function
912 (gettext_init): new function
914 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
917 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
919 * Moved credits to frontends:
920 * credits.[Ch]: removed
921 * credits_form.[Ch]: removed
922 * lyx_gui_misc.C: remove credits stuff
925 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
927 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
929 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
932 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
933 a standalone pointer again.
935 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
937 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
952 * BufferView_pimpl.C: use new file dialog in GUII
955 * lyx_cb.C: remove LayoutsCB to Toolbar
957 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
959 * ShareContainer.h (get): add std:: qualifier
961 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
963 * ShareContainer.h: define a proper ShareContainer::value_type
964 type (and use typename to please compaq cxx)
966 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
968 * lyxparagraph.h: move serveral local vars to
969 ParameterStruct/ParagraphParameters., use ShareContainer in
970 FontTable., make vars in FontTable private and add getter and
973 * paragraph.C: changes because of the above.
975 * lyxfont.h: remove copy constructor and copy assignment. (the
976 default ones is ok), move number inside FontBits. move inlines to
979 * lyxfont.C: add number to initializaton of statics, move several
980 inlines here. constify several local vars. some whitespace
981 cleanup. Dont hide outerscope variables.
983 * Spacing.h: add two new constructors to match the set methods.
985 * ShareContainer.h: new file, will perhaps be moved to support
987 * ParameterStruct.h: new file
989 * ParagraphParameters.h: new file
991 * ParagraphParameters.C: new file
993 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
994 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
996 * BufferView_pimpl.C: ParagraphParameter changes.
997 * buffer.C: Likewise.
998 * bufferview_funcs.C: Likewise.
1000 * text2.C: Likewise.
1002 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1004 * lyxfind.C (LyXReplace): do not redefine default argument in
1006 (IsStringInText): ditto
1007 (SearchForward): ditto
1008 (SearchBackward): ditto
1010 2001-03-06 Juergen Vigna <jug@sad.it>
1012 * lyxfind.C (IsStringInText): put parentes around expressions.
1014 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1016 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1018 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1020 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1022 * stl_string_fwd.h: add comment
1024 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1027 * tabular.C: remove unused DocBook methods
1033 killed DO_USE_DEFAULT_LANGUAGE
1035 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1037 * lyx_gui.C: do not include language.h.
1039 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1040 arguments in function implementation.
1042 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1044 * BufferView_pimpl.C: add <ctime>
1046 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1048 * BufferView_pimpl.C: add using std::find_if
1050 2001-02-27 José Matos <jamatos@fep.up.pt>
1052 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1055 2001-02-11 José Matos <jamatos@fep.up.pt>
1057 * buffer.C (makeDocBookFile): command styles now have a parameter as
1060 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1062 * layout_forms.[Ch]: removed
1063 * lyx_cb.[Ch]: out character
1064 * lyx_gui.C: out character
1065 * lyx_gui_misc.C: out character
1066 * bufferview_funcs.C: : out character,
1067 added toggleall as parameter in ToggleAndShow
1069 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1071 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1073 * text2.C (SetCurrentFont): Disable number property at boundary.
1075 2001-02-26 Juergen Vigna <jug@sad.it>
1077 * lyxfunc.C (getStatus): added a string argument override function so
1078 that this is correctly called from LyXFunc::Dispatch if it contains a
1079 do_not_use_argument which is used!
1080 (Dispatch): added check for "custom" export and call appropriate func.
1082 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1084 * lyxrc.C: Add language_command_local, language_use_babel and
1085 language_global_options.
1087 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1089 * buffer.C (makeLaTeXFile): Use language_use_babel and
1090 language_global_options.
1092 2001-02-23 Juergen Vigna <jug@sad.it>
1094 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1095 which works with LyXText and putted it inside BufferView. Here now we
1096 only call for that part the BufferView::Dispatch() function.
1098 * BufferView.C (Dispatch): added.
1100 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1101 functions which needs to use a LyXText over from LyXFunc.
1102 (MenuInsertLyXFile): added
1103 (getInsetByCode): added
1104 (moveCursorUpdate): added
1105 (static TEXT): added
1107 2001-02-22 Juergen Vigna <jug@sad.it>
1109 * BufferView_pimpl.C (update): call a status update to see if LyXText
1112 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1114 * vc-backend.C (revert): implement for CVS
1115 (getLog): implement for CVS
1117 2001-02-20 Juergen Vigna <jug@sad.it>
1119 * text2.C (ClearSelection): added BufferView param for inset_owner call
1121 * lyxfunc.C (TEXT): added this function and use it instead of
1122 directly owner->view()-text of getLyXText().
1124 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1126 * src/layout_forms.C: out preamble
1127 * src/layout_forms.h: out preamble
1128 * src/lyx_cb.C: out preamble
1129 * src/lyx_cb.h: out preamble
1130 * src/lyx_gui.C: out preamble
1131 * src/lyx_gui_misc.C: out preamble
1132 * src/lyxfunc.C: connect with guii preamble
1134 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1136 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1138 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1140 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1141 whether to run bibtex.
1143 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1145 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1147 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1149 * Makefile.am (lyx_SOURCES): removed bibforms.h
1153 * text.C (GetVisibleRow): make several local vars const
1155 * tabular.C: small cleanup.
1157 * lyxserver.C (callback): use compare instead of strncmp
1159 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1160 inlines to after class or to paragraph.C
1162 * lyxfont.h: remove friend operator!=
1164 * converter.h: move friend bool operator< to non friend and after
1167 * combox.h: small cleanup
1169 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1170 to inlines after class def.
1172 * buffer.C (pop_tag): use string operations instead of strcmp
1174 * bmtable.c: doxygen, small cleanup
1176 * LaTeX.h: remove friend operator==
1178 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1190 * BufferView_pimpl.C:
1191 * BufferView.[Ch]: remove cruft
1193 2001-02-14 Juergen Vigna <jug@sad.it>
1195 * lyxfunc.C: removed #if 0 unused code
1197 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1199 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1201 * text2.C (SetSelection): added a BufferView * parameter
1203 2001-02-13 Juergen Vigna <jug@sad.it>
1205 * lyxfunc.C (Dispatch): fixed protected blank problem.
1206 * BufferView2.C (protectedBlank): added LyxText * parameter.
1208 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1209 (AppendColumn): same as above for column_info.
1211 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1212 (moveCursorUpdate): use a LyXText param for support of InsetText.
1214 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1215 (tripleClick): ditto
1217 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1219 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1221 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1223 * text2.C (SetSelection): set correct update status if inset_owner
1226 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1228 * tabular.C: remove some commented code.
1230 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1232 * BufferView_pimpl.C: call hideSplash()
1234 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1237 * bibforms.h: remove
1240 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1241 add LFUN_CHILD_CREATE
1243 * counters.h: fix tiny typo
1248 * lyx.C: move splash to frontends/xforms/
1250 * lyx_gui_misc.C: move Include and Bibform to frontends
1252 * lyxvc.h: clarify comment
1254 * vspace.C: tiny housekeeping
1256 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1258 * text.C (PrepareToPrint): RTL Fix.
1260 * paragraph.C (GetUChar): New method.
1261 (String): Use GetUChar.
1263 * buffer.C (asciiParagraph): Use GetUChar.
1265 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1267 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1269 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1272 * buffer.C: rename to getLogName(), handle
1273 build log / latex log nicely
1275 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1278 * MenuBackend.h: remove support for reference menuitem type.
1280 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1282 * BufferView_pimpl.C: housekeeping
1283 * BufferView_pimpl.h:
1288 * minibuffer.h: move Timeout GUI-I
1290 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1292 * lyxrc.C (read): Update converters data-structures.
1294 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1296 * LaTeX.h (operator!=): add operator != for Aux_Info
1298 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1300 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1302 * LaTeXLog.C: deleted, useful code moved to Buffer
1305 * buffer.C: new function getLatexLogName()
1311 * lyxfunc.C: use frontends for LaTeX and VC logs
1313 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1315 * LaTeX.h: yet another std:: that Allan forgot.
1317 * Variables.C (set): renamed from isset(), because this clashes
1318 with some HP-UX macros (grr).
1320 2001-02-06 Allan Rae <rae@lyx.org>
1322 * LaTeX.h: Another bug fix. Missing std:: this time.
1324 2001-02-04 Allan Rae <rae@lyx.org>
1326 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1327 floats problem. I've left it commented out because it's not quite
1328 correct. It should also test that the current object is a table or
1329 figure inset. But I haven't gotten around to figuring out how to do
1330 that. I *think* it'll be something like: "table" == inset.type()
1332 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1335 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1337 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1338 all the citation/databases/styles in the auxilary file.
1339 (run): Rerun latex if there was a babel language error.
1341 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1343 * text.C (Backspace): Preserve the font when changing newline char
1345 (BreakParagraph): If the cursor is before a space, delete the space.
1347 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1349 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1351 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1352 new argument (code).
1353 (ChangeCitationsIfUnique): New method.
1355 * paragraph.C (GetPositionOfInset): Handle bibkey.
1357 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1359 * BufferView_pimpl.h: change type of Position::par_pos to
1360 LyXParagraph::size_type.
1362 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1364 * BufferView_pimpl.C (savePosition, restorePosition): Write
1365 messages to minibuffer.
1367 2001-01-28 José Matos <jamatos@fep.up.pt>
1369 * buffer.C (makeDocBookFile): adds support for document language.
1370 A silly restriction on the name of LatexCommand types where removed.
1371 Added support for CDATA sections, allows to chars unescaped, used
1372 among others in code, to avoid escape < and >.
1374 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1376 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1377 saved positions instrad of a stack. Furthermore, a position is
1378 stored using paragraph id/paragraph position.
1380 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1381 Remove LFUN_REF_BACK.
1383 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1385 * converter.C (dvipdfm_options): New method.
1387 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1389 * vspace.C (isValidLength): Fix for empty input string.
1391 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1393 * LyXAction.C (init): change description of LFUN_FIGURE to
1396 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1398 * LaTeX.C: add using directive
1400 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1402 * MenuBackend.C (expand): Fix the sorting of the formats.
1404 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1406 * lyx_main.C: tiny error message fix
1408 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1410 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1411 calling fl_initialize(). This fixes the problem with ',' as
1412 decimal separator in text files.
1414 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1416 * trans.C (process): Fix the keymap bug.
1418 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1420 * LaTeX.C (scanAuxFiles): New method. Provides support for
1421 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1422 (scanLogFile) Scan for "run BibTeX" messages.
1424 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1425 OT1 font encoding. Also, load the aecompl package if the ae
1428 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1430 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1432 * texrow.C (increasePos): turn two error messages into debug
1435 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1437 * LaTeX.C (scanAux): Handle the \@input macro.
1438 (runBibTeX): Use scanAux().
1440 * language.C (latex_options_): New field.
1442 * LaTeXFeatures.C (getMacros): Add language macros.
1444 * buffer.C (makeLaTeXFile): Small fix.
1446 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1448 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1450 * text2.C: add a using directive.
1452 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1457 * lyxfunc.C: kill LyXBell.
1459 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1461 * text.C (IsBoundary): Remove the error message
1463 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1465 * lyxrc.C (setDefaults): Correct initialization value for
1468 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1470 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1473 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1476 * src/LyXAction.C: Added reference-next.
1478 * text.C (InsertChar): Use contains instead of strchr.
1480 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1482 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1484 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1485 alignment commands (when needed).
1487 * text.C (InsertChar): Add ':' to number separator chars.