1 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
4 better by trying again with reduced state.
6 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 * lyxrc.C (read): print error about invalid key sequence only when
9 debugging (because not all latinX keysyms are known to some X
12 * kbsequence.C (getiso): add a few std:: qualifiers
13 (getiso): comment out extra return statement.
15 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
19 (Dispatch): enhance the accent inset a bit. (not perfect)
21 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
23 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
25 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
27 * bufferlist.C (emergencyWrite): fix assert() call
29 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
31 * text.C (InsertChar): Added trivial patch to only send the "you
32 can not do multiple spaces this way" message once during a
35 2001-05-08 Baruch Even <baruch@lyx.org>
37 * Makefile.am: Changed order of libraries to get LyX to link properly
38 with the gnome frontend.
40 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
42 * LaTeXFeatures.h: add a std:: qualifier
44 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * paragraph.C (String): use stringstream
48 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
50 * paragraph.C (writeFile): remove footflag arg
52 * buffer.C (makeLaTeXFile): use stringstream
53 (latexParagraphs): remove footnot gurba
55 * LaTeXFeatures.C (getPackages): use stringstream
57 (getTClassPreamble): likewise
58 (getFloatDefinitions): new method
60 * paragraph.C (writeFile): reindent
63 * WorkArea.h: revert the xpos + etc changes.
65 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
67 * lyxparagraph.[Ch]: add copy constructor, remove Clone
69 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
70 (pasteSelection): likewise
71 * text2.C (CreateUndo): likewise
73 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * minibuffer.C (peek_event): temporarily reduce the functionality
76 of the minibuffer (to allow args on lfuns)
78 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
79 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
81 * buffer.C (readInset): add compability reading of old float
82 lists, add reading of new style float list.
83 (readInset): avoid reevaluation of inscmd.getCmdName()
86 * MenuBackend.C (MenuItem): implement parsing of
87 md_floatlistinsert and md_floatinsert.
88 (expand::LastFiles): move initalizaton of iterators out of loop,
90 (expand::Documents): introduce typdedef vector<string> Strings,
92 (expand::ExportFormats): introduce typedef vector<Format const *>
94 (expand): implement FloatListInsert and FloatInsert.
96 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
97 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
98 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
100 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
102 (Dispatch::LFUN_FLOAT_LIST): implement
104 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
106 * LaTeX.C (run): Fix problem with --export code.
108 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
110 * BufferView.[Ch] (workarea): removed.
111 (getClipboard) new method; wrapper for workarea()->getClipboard()
113 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
116 * WorkArea.h (width, height, xpos, ypos): These methods all
117 returned the dimensions of the work_area sub-area of WorkArea,
118 resulting in a position error if the WorkArea were resized. Now
119 return the dimensions of the entire WorkArea.
121 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
123 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
125 * LaTeX.C (deplog): correct the syntax of regex reg1
127 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * undo.C: remove !NEW_INSETS cruft
131 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * text2.C: remove !NEW_INSETS cruft
135 * text.C: remove !NEW_INSETS cruft
137 * tabular.C: remove !NEW_INSETS cruft
139 * spellchecker.C: remove !NEW_INSETS cruft
141 * lyxtext.h: remove !NEW_INSETS cruft
143 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
145 * lyxfunc.C: remove !NEW_INSETS cruft
147 * lyxfind.C: remove !NEW_INSETS cruft
149 * lyx_cb.C: remove !NEW_INSETS cruft
151 * figureForm.C: remove !NEW_INSETS cruft
153 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
155 * buffer.[Ch]: remove !NEW_INSETS cruft
157 * ToolbarDefaults.C: remove !NEW_INSETS cruft
159 * CutAndPaste.C: remove !NEW_INSETS cruft
161 * BufferView_pimpl.C: remove !NEW_INSETS cruft
163 * BufferView2.C: remove !NEW_INSETS cruft
165 * BufferView.h: remove !NEW_INSETS cruft
167 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
169 * Lsstream.h: include LString.h before the sstream headers to
170 fix problem with gcc 2.95.3 and lyxstring
172 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
174 * lyx_main.C: add using directives when needed for C functions
175 declared in std:: namespace.
177 2001-04-27 Juergen Vigna <jug@sad.it>
179 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
180 (SetHeightOfRow): comment out the update call should not be needed!
182 2001-04-13 Juergen Vigna <jug@sad.it>
184 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
185 (LyXTabular): tried to minimize operator= operations (and realized
188 2001-04-27 Juergen Vigna <jug@sad.it>
190 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
192 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * lyxfunc.C (Dispatch): hack to make listof algorithm work
196 * buffer.C (readInset): hack to make listof algorithm work
198 * BufferView_pimpl.C: hack to make listof algorithm work
200 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
202 * LyXAction.C: removed all !NEW_INSETS cruft
203 (init): moved lfun_item in method
205 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
207 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
209 * BufferView2.C (theLockingInset): white space.
211 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
213 * minibuffer.C: include <iostream>
215 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
217 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
219 * commandtags.h: add LFUN_TRANSPOSE_CHARS
221 * text.[Ch] (TransposeChars): new method
223 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * call message directly through LyXView instead of through LyXFunc
226 * BufferView2.C: adjust
227 * BufferView_pimpl.C: adjust
228 * FontLoader.C: adjust
230 * bufferview_funcs.C: adjust
231 * converter.C: adjust
232 * figureForm.C: adjust
235 * lyx_gui_misc.C: adjust
239 + more files in subdirs
241 * lyxparagraph.h (size): move up int file
244 * adjust all uses of Assert to lyx::Assert.
246 * BufferView2.C (ChangeCitationsIfUnique): adjust for
247 lyxfunctional in namespace lyx
248 * layout.C (hasLayout): ditto
251 (delete_layout): ditto
252 (NumberOfClass): ditto
253 * converter.C (GetFormat): ditto
258 * bufferlist.C (getFileNames): ditto
259 (emergencyWriteAll): ditto
262 * MenuBackend.C (hasSubmenu): ditto
265 * BufferView_pimpl.C (getInsetByCode): ditto
267 2001-04-18 Juergen Vigna <jug@sad.it>
269 * vspace.C (asLatexString): fixed the 100% problem.
271 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * lyxfunc.C (Dispatch):
275 * minibuffer.h: add a few std:: qualifiers
277 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
279 * minibuffer.[Ch]: reimplement so that commands is initiated and
280 run from lyxfunc, simplified som handling, and made the completion
281 and history code for complete. wip.
283 * lyxfunc.C (processKeySym): call message
284 (miniDispatch): new temporary method
285 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
286 (LFUN_MESSAGE): implement
287 (LFUN_MESSAGE_PUSH): implement
288 (LFUN_MESSAGE_POP): implement
289 (initMiniBuffer): the initial/defualt minibuffer message.
291 * lyxfont.[Ch]: inline some more getters
293 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
295 * lyx_gui_misc.[Ch] (WriteStatus): remove method
297 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
298 (AutoSave): use LFUN_MESSAGE
301 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
303 * figureForm.C: use LFUN_MESSAGE
305 * converter.C (runLaTeX): use LFUN_MESSAGE
307 * bufferview_funcs.C: use LFUN_MESSAGE
311 * bufferparams.h: use boost::
313 * bufferlist.h: inherit privately from noncopyable
315 * bufferlist.C (loadLyXFile): remove some commented code.
317 * buffer.C (runChktex): use LFUN_MESSAGE
319 * ShareContainer.h: inherit privately from noncopyable
321 * ParagraphParameters.[hC] (depth): inline it.
323 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
325 (message): new method
328 (show): init minibuffer
329 (showState): direct call
331 * LaTeX.[Ch]: inherit privately from noncopyable
332 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
333 instead of WriteStatus.
335 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
337 * BufferView_pimpl.C (buffer): don't init minibuffer
338 (workAreaButtonPress): use LFUN_MESSAGE
339 (workAreaButtonRelease): ditto
340 (savePosition): ditto
341 (restorePosition): ditto
342 (MenuInsertLyXFile): ditto
343 (workAreaExpose): don't init minibuffer
344 (update): remove commented code, simplify
346 * BufferView2.C (openStuff): use LFUN_MESSAGE
350 (copyEnvironment): ditto
351 (pasteEnvironment): ditto
356 (updateInset): remove some commented code
358 * lastfiles.h: inherit privately from noncopyable
363 * lyxlex_pimpl.h: ditto
365 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
366 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
367 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
369 * LyXAction.h: inherit privately from noncopyable, add methods
370 func_begin, func_end, returning iterators to the func map.
372 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
373 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
374 (func_begin): new method
375 (func_end): new method
377 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
379 (copySelection): ditto
380 (pasteSelection): ditto
382 * BufferView.C: whitespace change
383 * BufferView.h: inherit privately from noncopyable
385 2001-04-16 Allan Rae <rae@lyx.org>
387 * tabular-old.C (l_getline):
388 * spellchecker.C (sc_check_word):
389 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
390 an unrecognised preprocessor directive. So ensure they're wrapped.
392 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
394 * src/exporter.C (Export): Give an error message when path to file
397 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
399 * LaTeX.C (deplog): Always check that foundfile exists.
401 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
404 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
406 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * tabular.[Ch] (getLabelList): implement new method
410 * minibuffer.h: comment ouf setTiimer
412 * minibuffer.C (ExecutingCB): constify res
413 (peek_event): constify s
414 (Set): constify ntext
415 (Init): constify nicename
417 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
419 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
420 (savePosition): use two params to Minibuffer::Set
421 (restorePosition): ditto
423 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
425 * lyx_main.C: include language.h
427 * Makefile.am (lyx_main.o): add language.h
429 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
435 * CutAndPaste.C: include gettext.h
437 * lyxfont.h: remove old hack with ON and OFF.
440 * lyxfont.h: do not include language.h...
445 * bufferview_funcs.C:
451 * paragraph.C: ... but do it here instead
453 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
455 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
457 * tabular.C: small reformat
459 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
462 (BreakParagraph): ditto
463 (SetOnlyLayout): ditto
466 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
469 * lastfiles.C: removed most using decl, add std:: where needed
471 * buffer.C: ws changes
473 * MenuBackend.C (class compare_format): put into anon namespace
474 (expand): constify label, names, action, action2
477 * text.C (SingleWidth): constify font
478 (IsBoundary): constify rtl2
479 (GetVisibleRow): constify ww
481 * LaTeX.C (deplog): constify logfile
483 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
485 (workAreaExpose): constify widthChange, heightChange
487 * lyxrow.C (par): moved
490 * lyxrow.h: as inlines here
492 * lyxfont.h (shape): moved from lyxfont.C
493 (emph): moved from lyxfont.C
495 * lyxfont.C (LyXFont): use initialization list for all
497 (shape): move to lyxfont.h as inline
498 (emph): move to lyxfont.h as inline
501 2001-04-04 Juergen Vigna <jug@sad.it>
503 * vspace.C: had to include stdio.h for use of sscanf
505 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
508 * BufferView_pimpl.h: remove xforms cruft. Both classes are
509 independent of xforms.
511 2001-04-02 Juergen Vigna <jug@sad.it>
513 * spellchecker.C: fixed namespace placing!
515 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
517 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
518 the LyXParagraph * is 0.
520 2001-03-29 Juergen Vigna <jug@sad.it>
522 * vspace.C: added support for %, c%, p%, l%.
523 (stringFromUnit): added helper function.
524 (asLatexString): changed to give right results for the %-values.
526 * buffer.C: convert the widthp in a width%.
528 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
530 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
533 * figureForm.[Ch]: stripped the FD_from_figure manipulation
534 code out of lux_cb.[Ch], ready for its (imminent?) removal.
536 * lyx_cb.[Ch]: see above.
538 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
542 * lyx.[Ch]: replaced by figure_form.[Ch].
546 * lyxfunc.C: changed headers associated with above changes.
548 2001-03-27 Juergen Vigna <jug@sad.it>
550 * BufferView_pimpl.C: set the temporary cursor right!
552 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
554 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
556 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
558 * LString.h: removed "using std::getline"!
560 * BufferView_pimpl.C (Dispatch): changes due to changes in
561 InsetInclude::Params.
563 * buffer.C (tag_name): removed redundant break statements as they were
564 producing lots of warnings with my compiler.
566 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
568 * LString.h: add "using std::getline" when using the real <string>.
570 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
572 * buffer.C: removed bitset usage.
573 PAR_TAG moved to an anonymous name space.
574 (tag_name): new funtion, also in the anonymous namespace.
575 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
576 (makeDocBookFile): clean code. Completed transition from string arrays
578 (SimpleDocBookOnePar): code clean.
580 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
582 * tabular.C: add some comments.
584 2001-03-22 Juergen Vigna <jug@sad.it>
586 * buffer.C (parseSingleLyXformat2Token): redone the minipage
587 compatibility read a bit and fixed bug with minipage in different
590 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
592 * buffer.C (pop_tag): removed.
594 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
595 array replaced with vector. Added support for CDATA sections.
596 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
598 (makeDocBookFile): XML conformant declaration of CDATA section,
599 fixed bug related to <emphasis> in the first paragraph char.
600 (sgmlOpenTag): exclude empty tags.
601 (sgmlCloseTag): ditto.
603 * buffer.h (pop_tag): removed.
606 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
608 * language.h (Languages): added size_type and size().
610 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
612 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
613 response on compability reading of minipages. One probliem is that
614 the old usage of minipages was «flertydig»
616 * several files here and in subdirs: don't use static at file
617 scope use anon namespaces instead.
619 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
621 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
622 LaTeX output. This is necessary for Literate document
625 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
627 * buffer.C: insert hfill when needed.
629 * tabular.C (l_getline): use string::erase, small whitespace change.
631 * BufferView_pimpl.C: try the anon namespace.
634 2001-03-16 Juergen Vigna <jug@sad.it>
636 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
637 otherwise it won't open options-dialogs.
639 * buffer.C: honor pextraWidth(p) on converting minipages.
641 * tabular.C (l_getline): changed the functions to strip trailing \r.
643 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
645 * BufferView_pimpl.C:
646 * minibuffer..C: added "using SigC::slot" declaration.
648 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
650 * lyxlex_pimpl.h: noncopyable is in namespace boost.
658 * lyxtext.h: NO_PEXTRA
660 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
662 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
663 * ParameterStruct.h: ditto
664 * ParagraphParameters.h: ditto
665 * lyxparagraph.h: ditto
667 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
669 * buffer.C: add compability for minipage alignment.
670 (latexParagraphs): remove unwanted pextra check.
672 * several files: remove CXX_WORKING_NAMESPACES
674 * buffer.C (pop_tag): tie is in namespace boost
676 * BufferView.h: noncopyable is in namespace boost
682 * bufferlist.h: ditto
683 * ShareContainer.h: ditto
688 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
690 * Merging changes from BRANCH_MVC back into HEAD.
692 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
694 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
696 * BufferView_pimpl.C: change from intl.C
700 * Makefile.am: move combox.*
706 * intl.C: remove dialog (covered by prefs)
708 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
710 * lyxfunc.C (Dispatch): removed redundant break statement.
712 2001-03-14 Juergen Vigna <jug@sad.it>
714 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
716 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
718 * buffer.C: add hack to fix compability reading of minipages.
720 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
722 * buffer.C (getLists): Cleanup.
724 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
726 * lyxfont.C (update): don't honor toggleall on font size.
728 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
732 * Makefile.am: moved to frontends/xforms/
736 * BufferView_pimpl.C: changes for moved mathpanel
738 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
740 * gettext.h: fix gettext_init() in --disable-nls
742 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
744 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
746 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
749 * lyx.h: strip external form
751 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
753 * BufferView_pimpl.C: add comment, destroySplash()
755 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
757 * BufferView_pimpl.C:
761 * lyxfunc.C: use re-worked insetinclude
763 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
765 * buffer.C: add using std::stringstream.
767 * lyx_cb.C: readd using std::ios.
769 * buffer.C: add using std::map.
771 * BufferView_pimpl.C: add using std::vector.
773 * ShareContainer.h: add std:: to swap.
775 * buffer.h: add some typedefs
776 * buffer.C (getLists): use them
777 (getLists): renamed from getTocList.
778 add a counter for the different float types and use it in the
780 (getLists): use the same counter for the NEW_INSETS and the "non"
783 * lyx_cb.h: remove unused items, includes, using etc.
785 * ShareContainer.h: remove some commented code, add more comments
788 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
790 * buffer.C (getTocList): make the list also when NEW_INSETS is
793 * buffer.h: remove TocType
795 * buffer.C (getTocList): change to return a map<string,
796 vector<TocItem> >, implement for dynamic number of list.
798 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
799 * text2.C (PasteSelection): adjust
800 * CutAndPaste.C (pasteSelection): adjust
802 * FloatList.C (FloatList): update from the new_insets branch.
803 * Floating.[Ch]: ditto
804 * LaTeXFeatures.C: ditto
806 * lyxlex_pimpl.C: ditto
808 * paragraph.C (Last): remove when NEW_INSETS is defined.
810 * other file: changes because of the above.
812 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
814 * lyxparagraph.h: rename next to next_, previous to previous_,
815 make them private for NEW_INSETS. Rename Next() to next(),
816 Previous() to previous().
818 * other files: changes because of the above.
820 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
823 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
826 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
828 * main.C (main): pass lyx_localedir to gettext_init().
830 * gettext.h: remove locale_init and gettext_init macros
832 * gettext.C (locale_init): new function
833 (gettext_init): new function
835 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
838 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
840 * Moved credits to frontends:
841 * credits.[Ch]: removed
842 * credits_form.[Ch]: removed
843 * lyx_gui_misc.C: remove credits stuff
846 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
848 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
850 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
853 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
854 a standalone pointer again.
856 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
858 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
873 * BufferView_pimpl.C: use new file dialog in GUII
876 * lyx_cb.C: remove LayoutsCB to Toolbar
878 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
880 * ShareContainer.h (get): add std:: qualifier
882 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
884 * ShareContainer.h: define a proper ShareContainer::value_type
885 type (and use typename to please compaq cxx)
887 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
889 * lyxparagraph.h: move serveral local vars to
890 ParameterStruct/ParagraphParameters., use ShareContainer in
891 FontTable., make vars in FontTable private and add getter and
894 * paragraph.C: changes because of the above.
896 * lyxfont.h: remove copy constructor and copy assignment. (the
897 default ones is ok), move number inside FontBits. move inlines to
900 * lyxfont.C: add number to initializaton of statics, move several
901 inlines here. constify several local vars. some whitespace
902 cleanup. Dont hide outerscope variables.
904 * Spacing.h: add two new constructors to match the set methods.
906 * ShareContainer.h: new file, will perhaps be moved to support
908 * ParameterStruct.h: new file
910 * ParagraphParameters.h: new file
912 * ParagraphParameters.C: new file
914 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
915 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
917 * BufferView_pimpl.C: ParagraphParameter changes.
918 * buffer.C: Likewise.
919 * bufferview_funcs.C: Likewise.
923 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
925 * lyxfind.C (LyXReplace): do not redefine default argument in
927 (IsStringInText): ditto
928 (SearchForward): ditto
929 (SearchBackward): ditto
931 2001-03-06 Juergen Vigna <jug@sad.it>
933 * lyxfind.C (IsStringInText): put parentes around expressions.
935 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
937 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
939 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
941 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
943 * stl_string_fwd.h: add comment
945 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
948 * tabular.C: remove unused DocBook methods
954 killed DO_USE_DEFAULT_LANGUAGE
956 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
958 * lyx_gui.C: do not include language.h.
960 * bufferview_funcs.C (ToggleAndShow): do not provide optional
961 arguments in function implementation.
963 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
965 * BufferView_pimpl.C: add <ctime>
967 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
969 * BufferView_pimpl.C: add using std::find_if
971 2001-02-27 José Matos <jamatos@fep.up.pt>
973 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
976 2001-02-11 José Matos <jamatos@fep.up.pt>
978 * buffer.C (makeDocBookFile): command styles now have a parameter as
981 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
983 * layout_forms.[Ch]: removed
984 * lyx_cb.[Ch]: out character
985 * lyx_gui.C: out character
986 * lyx_gui_misc.C: out character
987 * bufferview_funcs.C: : out character,
988 added toggleall as parameter in ToggleAndShow
990 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
992 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
994 * text2.C (SetCurrentFont): Disable number property at boundary.
996 2001-02-26 Juergen Vigna <jug@sad.it>
998 * lyxfunc.C (getStatus): added a string argument override function so
999 that this is correctly called from LyXFunc::Dispatch if it contains a
1000 do_not_use_argument which is used!
1001 (Dispatch): added check for "custom" export and call appropriate func.
1003 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1005 * lyxrc.C: Add language_command_local, language_use_babel and
1006 language_global_options.
1008 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1010 * buffer.C (makeLaTeXFile): Use language_use_babel and
1011 language_global_options.
1013 2001-02-23 Juergen Vigna <jug@sad.it>
1015 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1016 which works with LyXText and putted it inside BufferView. Here now we
1017 only call for that part the BufferView::Dispatch() function.
1019 * BufferView.C (Dispatch): added.
1021 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1022 functions which needs to use a LyXText over from LyXFunc.
1023 (MenuInsertLyXFile): added
1024 (getInsetByCode): added
1025 (moveCursorUpdate): added
1026 (static TEXT): added
1028 2001-02-22 Juergen Vigna <jug@sad.it>
1030 * BufferView_pimpl.C (update): call a status update to see if LyXText
1033 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1035 * vc-backend.C (revert): implement for CVS
1036 (getLog): implement for CVS
1038 2001-02-20 Juergen Vigna <jug@sad.it>
1040 * text2.C (ClearSelection): added BufferView param for inset_owner call
1042 * lyxfunc.C (TEXT): added this function and use it instead of
1043 directly owner->view()-text of getLyXText().
1045 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1047 * src/layout_forms.C: out preamble
1048 * src/layout_forms.h: out preamble
1049 * src/lyx_cb.C: out preamble
1050 * src/lyx_cb.h: out preamble
1051 * src/lyx_gui.C: out preamble
1052 * src/lyx_gui_misc.C: out preamble
1053 * src/lyxfunc.C: connect with guii preamble
1055 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1057 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1059 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1061 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1062 whether to run bibtex.
1064 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1066 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1068 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1070 * Makefile.am (lyx_SOURCES): removed bibforms.h
1074 * text.C (GetVisibleRow): make several local vars const
1076 * tabular.C: small cleanup.
1078 * lyxserver.C (callback): use compare instead of strncmp
1080 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1081 inlines to after class or to paragraph.C
1083 * lyxfont.h: remove friend operator!=
1085 * converter.h: move friend bool operator< to non friend and after
1088 * combox.h: small cleanup
1090 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1091 to inlines after class def.
1093 * buffer.C (pop_tag): use string operations instead of strcmp
1095 * bmtable.c: doxygen, small cleanup
1097 * LaTeX.h: remove friend operator==
1099 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1111 * BufferView_pimpl.C:
1112 * BufferView.[Ch]: remove cruft
1114 2001-02-14 Juergen Vigna <jug@sad.it>
1116 * lyxfunc.C: removed #if 0 unused code
1118 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1120 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1122 * text2.C (SetSelection): added a BufferView * parameter
1124 2001-02-13 Juergen Vigna <jug@sad.it>
1126 * lyxfunc.C (Dispatch): fixed protected blank problem.
1127 * BufferView2.C (protectedBlank): added LyxText * parameter.
1129 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1130 (AppendColumn): same as above for column_info.
1132 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1133 (moveCursorUpdate): use a LyXText param for support of InsetText.
1135 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1136 (tripleClick): ditto
1138 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1140 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1142 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1144 * text2.C (SetSelection): set correct update status if inset_owner
1147 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1149 * tabular.C: remove some commented code.
1151 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1153 * BufferView_pimpl.C: call hideSplash()
1155 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1158 * bibforms.h: remove
1161 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1162 add LFUN_CHILD_CREATE
1164 * counters.h: fix tiny typo
1169 * lyx.C: move splash to frontends/xforms/
1171 * lyx_gui_misc.C: move Include and Bibform to frontends
1173 * lyxvc.h: clarify comment
1175 * vspace.C: tiny housekeeping
1177 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1179 * text.C (PrepareToPrint): RTL Fix.
1181 * paragraph.C (GetUChar): New method.
1182 (String): Use GetUChar.
1184 * buffer.C (asciiParagraph): Use GetUChar.
1186 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1188 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1190 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1193 * buffer.C: rename to getLogName(), handle
1194 build log / latex log nicely
1196 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1199 * MenuBackend.h: remove support for reference menuitem type.
1201 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1203 * BufferView_pimpl.C: housekeeping
1204 * BufferView_pimpl.h:
1209 * minibuffer.h: move Timeout GUI-I
1211 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1213 * lyxrc.C (read): Update converters data-structures.
1215 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1217 * LaTeX.h (operator!=): add operator != for Aux_Info
1219 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1221 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1223 * LaTeXLog.C: deleted, useful code moved to Buffer
1226 * buffer.C: new function getLatexLogName()
1232 * lyxfunc.C: use frontends for LaTeX and VC logs
1234 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * LaTeX.h: yet another std:: that Allan forgot.
1238 * Variables.C (set): renamed from isset(), because this clashes
1239 with some HP-UX macros (grr).
1241 2001-02-06 Allan Rae <rae@lyx.org>
1243 * LaTeX.h: Another bug fix. Missing std:: this time.
1245 2001-02-04 Allan Rae <rae@lyx.org>
1247 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1248 floats problem. I've left it commented out because it's not quite
1249 correct. It should also test that the current object is a table or
1250 figure inset. But I haven't gotten around to figuring out how to do
1251 that. I *think* it'll be something like: "table" == inset.type()
1253 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1256 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1258 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1259 all the citation/databases/styles in the auxilary file.
1260 (run): Rerun latex if there was a babel language error.
1262 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1264 * text.C (Backspace): Preserve the font when changing newline char
1266 (BreakParagraph): If the cursor is before a space, delete the space.
1268 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1270 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1272 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1273 new argument (code).
1274 (ChangeCitationsIfUnique): New method.
1276 * paragraph.C (GetPositionOfInset): Handle bibkey.
1278 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1280 * BufferView_pimpl.h: change type of Position::par_pos to
1281 LyXParagraph::size_type.
1283 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1285 * BufferView_pimpl.C (savePosition, restorePosition): Write
1286 messages to minibuffer.
1288 2001-01-28 José Matos <jamatos@fep.up.pt>
1290 * buffer.C (makeDocBookFile): adds support for document language.
1291 A silly restriction on the name of LatexCommand types where removed.
1292 Added support for CDATA sections, allows to chars unescaped, used
1293 among others in code, to avoid escape < and >.
1295 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1297 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1298 saved positions instrad of a stack. Furthermore, a position is
1299 stored using paragraph id/paragraph position.
1301 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1302 Remove LFUN_REF_BACK.
1304 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1306 * converter.C (dvipdfm_options): New method.
1308 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1310 * vspace.C (isValidLength): Fix for empty input string.
1312 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1314 * LyXAction.C (init): change description of LFUN_FIGURE to
1317 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1319 * LaTeX.C: add using directive
1321 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1323 * MenuBackend.C (expand): Fix the sorting of the formats.
1325 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1327 * lyx_main.C: tiny error message fix
1329 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1331 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1332 calling fl_initialize(). This fixes the problem with ',' as
1333 decimal separator in text files.
1335 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1337 * trans.C (process): Fix the keymap bug.
1339 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1341 * LaTeX.C (scanAuxFiles): New method. Provides support for
1342 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1343 (scanLogFile) Scan for "run BibTeX" messages.
1345 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1346 OT1 font encoding. Also, load the aecompl package if the ae
1349 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1351 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1353 * texrow.C (increasePos): turn two error messages into debug
1356 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1358 * LaTeX.C (scanAux): Handle the \@input macro.
1359 (runBibTeX): Use scanAux().
1361 * language.C (latex_options_): New field.
1363 * LaTeXFeatures.C (getMacros): Add language macros.
1365 * buffer.C (makeLaTeXFile): Small fix.
1367 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1369 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1371 * text2.C: add a using directive.
1373 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1378 * lyxfunc.C: kill LyXBell.
1380 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1382 * text.C (IsBoundary): Remove the error message
1384 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1386 * lyxrc.C (setDefaults): Correct initialization value for
1389 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1391 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1394 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1397 * src/LyXAction.C: Added reference-next.
1399 * text.C (InsertChar): Use contains instead of strchr.
1401 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1403 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1405 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1406 alignment commands (when needed).
1408 * text.C (InsertChar): Add ':' to number separator chars.