]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
413d0da7b58839647e7c2ad013c911e21c70c468
[lyx.git] / src / ChangeLog
1 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         Fix bug #1666
4         
5         * BufferView.C (putSelectionAt): change the semantics when
6         backwards == true: now, this just swaps cursor and anchor wrt the
7         forward case
8         
9         * BufferView.h (putSelectionAt): add some documentation
10
11         * lyxfind.C (findBackwards): rewrite using while(). In particular,
12         make sure backwardChar is done at least once (to avoid getting
13         stuck)
14         (findNextChange): use putSelectionAt in the forward direction
15         (operator()): use Paragraph::isWord
16
17 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
18
19         * Spacing.C (set): c_str fix
20
21 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * lyx_cb.C (Reconfigure): quote the name of configure script in
24         case it contains spaces
25
26 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
27
28         * client: new dir
29
30         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
31         (BOOST_LIBS): use top_buildir when looking for the file
32
33 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
34
35         * pch.h: do not use include boost/format.hpp, multiple symbols
36                 will result (gcc bug)
37
38
39 2004-08-23  José Matos  <jamatos@lyx.org>
40
41         * bufferparams.C (readToken): fix reading of the author field.
42
43 2004-08-20  José Matos  <jamatos@lyx.org>
44
45         * lyxrc.C: remove support/translator.h inclusion since it is not used.
46
47 2004-08-20  José Matos  <jamatos@lyx.org>
48
49         * lyxlex.[Ch] (findToken): remove function.
50
51         * ParagraphParameters.C (findToken):
52         * bufferparams.C (findToken): replace call for previous function
53         with local copy. This local function has one more argument, the
54         read string argument.
55
56 2004-08-16  José Matos  <jamatos@lyx.org>
57
58         * ParagraphParameters.C (write):
59         * Spacing.C (writeFile):
60         * bufferparams.C (writeLaTeX):
61         * lyx_cb.C (Reconfigure):
62         * paragraph.C (write):
63         * tabular.C (write): remove unnecessary space at end of line.
64
65
66 2004-08-16  José Matos  <jamatos@lyx.org>
67
68         * text.C (readParagraph): remove debug message.
69
70 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
73         crash
74
75         * output_plaintext.C (asciiParagraph): set depth correctly
76
77         * outputparams.h: add member depth
78
79         * paragraph_funcs.C (ownerPar): remove.
80
81         * text2.C (setCounter): remove first_pit; comment out some
82         non-working code that uses ownerPar
83
84         * BufferView.C (getParentLanguage): remove. Not used anymore, and
85         uses ownerPar
86
87 2004-08-16  José Matos  <jamatos@lyx.org>
88
89         * text.C (readParToken, readParagraph, read): report all unknown tokens.
90         For the same level of importance use the same chanel to report problems.
91         (read): add code to deal with \begin_body and \end_body.
92
93
94 2004-08-15  José Matos  <jamatos@lyx.org>
95
96         * lyxlex.C (getString): fix comment, buffer::readBody is now
97         buffer:readDocument.
98
99         * tex-strings.C (string_papersize): Default -> default,
100         Custom -> custom, for consistency with other options.
101
102 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * pch.h: new file
105
106         * Makefile.am: support pch
107
108 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * text.C (readParToken): remove the static LyXFont variable and
111         pass it as a parameter instead. This fixes a nasty bug where an
112         inset will be inserted with a bad font in some situations
113         (readParagraph): adapt
114
115         * text2.C (setCounter): reduce number of calls to pars_[pit]
116
117         * text.C (singleWidth): add an assert, fix a test
118
119         * rowpainter.C (paintText): reduce number of calls to singleWidth
120
121         * paragraph.C (isHfill):
122         (isNewline): ws only
123
124 2004-08-14  André Pönitz  <poenitz@gmx.net>
125
126         * text.C:
127         * text2.C:
128         * rowpainter.C:
129         * lyxtext.h (several functions): use a Paragraph & argument
130         instead of par_type
131
132 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * metricsinfo.h: add a new field ltr_pos to PainterInfo
135
136         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
137
138         * text.C (singleWidth): remove useless test
139
140 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * tabular.h: remove bogus comments
143
144         * tabular.C (getDescentOfRow):
145         (isPartOfMultiColumn): add assertions
146
147         * lyxlength.C (inPixels): remove #warning
148
149 2004-08-14  André Pönitz  <poenitz@gmx.net>
150
151         * paragraph.h: inline getChar()
152
153         * BufferView.h: remove unused declarations
154
155 2004-08-14  José Matos  <jamatos@lyx.org>
156
157         * Buffer.[Ch] (readDocument): new name for old readBody.
158         * Buffer.C: new file format, new keywords: \begin_document,
159         \begin_header, \begin_body, \end_body.
160
161         * bufferparams.C (readToken): replace all calls to lex.nextToken
162         by lex.next(). Do the same to eatLine except where really needed.
163
164         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
165         line when writing to the lyx file.
166
167         * output_plaintext.C (asciiParagraph): fix Bibliography style
168         handling.
169
170         * text.C (read): fix end of file handling.
171
172 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * MenuBackend.C (Menu::operator[]): new method to access
175         individual menu items
176         (Menu::hasFunc): new method. search for an item that corresponds
177         to a given func
178         (MenuBackend::specialMenu): new method
179         (MenuBackend::expand): if a special menu has been set, skip
180         entries whose func() appears in this menu
181
182 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
183
184         * text3.C: use Debug::DEBUG a bit more
185
186         * text.C (leftMargin): try to simplify a tiny bit change var x to
187         l_margin. Dont output the wide margins always.
188         (rightMargin): no margin in inner texts
189
190         * rowpainter.h (nestMargin): new func
191         (changebarMargin): new func
192         (rightMargin): new func
193
194         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
195         now functions.
196         (paintLast): ditto
197
198         * factory.C (createInset): modify setDrawFrame
199
200         * cursor.C: use Debug::DEBUG a bit more
201
202 2004-08-14  André Pönitz  <poenitz@gmx.net>
203
204         * coordcache.[Ch]:
205         * Makefile.am: new files to accomodate an 'external' (x,y)-position
206         cache for all insets in (at least partially) visible (top-level)
207         paragraphs.
208
209         * BufferView_pimpl.C: reset external coord cache before every update.
210         This means the coord cache only contains valid entries.
211
212 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
213
214         bug 1096
215         * BufferView_pimpl.C (getInsetByCode): move function out of class
216         and change in to a template in anon namespace. Also fix to do what
217         suits us better.
218
219 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
220
221         bug 1305
222         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
223         of char
224         (breakParagraph): rename par to par_offset and use a local
225         reference. Add code to keep the language over a rebreak.
226         (breakParagraphConservative): rename par to par_offset, use a
227         local reference
228         (mergeParagraph): ditto
229         (outerHook): ditto
230         (isFirstInSequence): ditto
231         (outerFont): rename pit to par_offset
232
233         * paragraph.C: ws change
234         * paragraph.h: ditto
235         * text3.C: ditto
236         * text.C: ditto
237
238 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
241         treatment for ']'
242
243         * paragraph.C (simpleTeXOnePar): when we have a \item with
244         optional argument, enclose the argument with curly brackets (in
245         case it contains a closing square bracket)
246
247         * text2.C (editXY):
248         * text2.C (editXY):
249         * text3.C (checkInsetHit): constify
250
251 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
254         documents (bug 1629)
255
256 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         Fix toggling of collapsable insets with the mouse (bug 1558)
259
260         * lyxfunc.C (dispatch): adapt to LCursor changes
261
262         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
263         make sure that dispatch is not invoked twice
264
265         * cursor.C (needsUpdate): new method
266         (dispatch): return void
267         (result): new method, to access the DispatchResult of the cursor.
268
269 2004-08-13  José Matos  <jamatos@lyx.org>
270
271         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
272
273 2004-08-13  André Pönitz  <poenitz@gmx.net>
274
275         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
276
277         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
278           multiple cells
279
280 2004-08-12  André Pönitz  <poenitz@gmx.net>
281
282         * text3.C: take out the 'cursor right' form insertInset and only
283         do it in those places when it is really needed. Fixes crash on
284         C-m...
285
286 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
289
290         * BufferView_pimpl.C (setBuffer): initialize the current font of
291         the underlying LyXText
292
293 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * kbsequence.C (print): use UI native formatting for menu
296         shortcuts
297
298         * text.C (insertChar): call Paragraph::insertChar with a font
299         argument (cosmetic)
300
301         * paragraph.C (insertInset, insertChar): the version that takes a
302         LyXFont argument is now a wrapper around the other one (the
303         opposite used to be true).
304
305         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
306         argument. Font setting is done in Paragraph now.
307
308 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * outputparams.h: add new members intitle and lang.
311
312         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
313         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
314
315 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
316
317         * text3.C (dispatch): remove special handling of button 4 and 5,
318         it is now taken care of in the frontend code.
319
320 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
321
322         * Spacing.h: add <string> (STLPort compile fix)
323
324 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
325
326         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
327
328 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
329
330         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
331         to bool.
332
333         * converter.C (showMessage): inherit from unary_function, make
334         operator() const.
335
336         * buffer.C (writeFile): initialize retval
337
338         * InsetList.h: rename private variable list to list_
339         * InsetList.[Ch]: adjust accordingly.
340
341 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
342
343         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
344         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
345         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
346         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
347         * ParagraphParameters.C, LaTeXFeatures.C: replace
348         "support/std_sstream.h" with <sstream>
349
350 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
351
352         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
353         * lyxsocket.C (LyXServerSocket): ditto
354         (serverCallback): ditto
355
356 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
357
358         * LaTeXFeatures.C: check release date when loading jurabib.
359
360 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
361
362         * lyxserver.C (startPipe): call register_socket_callback
363         (endPipe): call unregister_socket_callback
364
365 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
368         (LyXServerSocket): register the callback
369         (LyXServerSocket): unregister the callback
370         (fd): delete function
371         (serverCallback): improve error checking and setup the callbacks.
372         (dataCallback): change arg to fd.
373         (writeln): new func (copied fro the client socket) used for server
374         write to client.
375         (LyXDataSocket): simplify
376         (~LyXDataSocket): close ann unregiser callback
377         (server): delete function
378         (fd): delete function
379         (readln): small changes, improve some std::string usage
380         (writeln): constify a bit
381
382 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
385         Qt frontend
386
387 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * BufferView_pimpl.C (setBuffer): set the layout combox value only
390         after it has been populated
391
392 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * text2.C (insertInset): move cursor when inserting inset.
395
396 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * kbmap.C (findbindings): a couple of new methods. returns a
399         container of kb_sequence objects. The real work is done by the
400         private recursive version
401         (printbindings): uses findbindings to print out a bracketed list
402         of bindings (renamed from findbinding).
403
404         * MenuBackend.C (binding): use kb_keymap::findbindings
405
406         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
407
408 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
409
410         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
411
412 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * paragraph.C (isWord): return true on insets that report
415         isLetter().
416
417         * text.C (getWord): use Paragraph::isWord to decide what is in a
418         word and what is not; fix bug 1609.
419
420 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * tex-strings.C: add "none" to string_paperpackages[], fixes
423         off-by-one-error in the paperpackage selection.
424
425         * lyxlex.[Ch]:
426         * tex-strings.[Ch]: char const * string[n]
427         -> char const * const string[]
428
429 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
432         command, return early.
433
434 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
435
436         * debug.h: add DEBUG to enum and fix size of ANY.
437
438         * debug.C: add support for Debug::DEBUG
439         (showTags): cast errorTags.level to unsigned int
440
441         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
442         (redoCurrentBuffer): ditto
443         (updateScrollbar): ditto
444         * cursor.C (dispatch): ditto
445         * text2.C (setLayout): ditto
446         (setFont): ditto
447         (updateCounters): ditto
448         (editXY): ditto
449         (deleteEmptyParagraphMechanism): ditto
450
451 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
454         annotations to cleanup the Makefile slightly.
455
456 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * lyxrc.C: do not set user_email to a default value but use empty
459         instead. The entry used to be translated, which does not work
460         since at the point where lyxrc is constructed there is no
461         translation service available
462
463         * messages.C (getLocaleDir): remove and use directly
464         lyx_localedir() instead
465
466 2004-06-02  Angus Leeming  <leeming@lyx.org>
467
468         Fix crash caused by dereferencing null pointer 'exportdata' in
469         OutputParams by creating a new ExportData variable on the heap,
470         storing it in a boost::shared_ptr.
471         The crash was triggered when generating an Instant Preview
472         of an external inset.
473
474         * Makefile.am: add outputparams.C
475
476         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
477         (c-tor): allocate memory to it.
478
479         * exporter.C (c-tor): associated changes.
480
481 2004-06-01  Angus Leeming  <leeming@lyx.org>
482
483         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
484         contains data before calling isInset(0). (Bug 1513.)
485
486 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
487
488         * exporter.C (checkOverwrite): new method
489         * exporter.C (copyFile): new method
490         * exporter.C (Export): copy referenced files to the document dir
491         * exporter.[Ch]: new class ExportedFile
492         * exporter.[Ch]: new class ExportData. Contains currently the
493         names of referenced external files
494         * outputparams.h: add exportdata member.
495
496 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
497
498         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
499         version.C-tmp
500
501 2004-05-19  Angus Leeming  <leeming@lyx.org>
502
503         * LaTeXFeatures.C:
504         * ToolbarBackend.C:
505         * bufferparams.C:
506         * lyxfunc.C: small changes due to the introduction of namespace
507         lyx::frontend and the moving of namespace biblio to lyx::biblio.
508
509 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * text3.C (dispatch): supress update when only moving the cursor
512         * cursor.C (selHandle): remove commented code
513
514 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
515
516         * paragraph.C (startTeXParParams): correct column count
517         * CutAndPaste.C (pasteSelection): remove const_cast
518         * output_docbook.C (docbookParagraphs): remove const_cast
519         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
520         const_cast and return ParagraphList::const_iterator
521         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
522         * output_plaintext.C (writeFileAscii): remove const_cast
523         * paragraph.[Ch] (simpleTeXOnePar): make const
524         * paragraph_funcs.C (outerPar): use const iterators
525         * paragraph_pimpl.C (validate): use const iterators
526         * text.C (setHeightOfRow): use const iterators
527
528 2004-05-17  Angus Leeming  <leeming@lyx.org>
529
530         * lfuns.h:
531         * LyXAction.C (init): new LFUN_INSET_REFRESH.
532
533         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
534         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
535         if the citation engine has changed.
536
537 2004-05-14  José Matos  <jamatos@lyx.org>
538
539         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
540         if the textclass does not provide it. Have it different for sgml and
541         xml.
542         support the language of document.
543         * output_docbook.C (docbookParagraphs):
544         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
545         first anchor as the id of the paragraph, remove special case code.
546         * sgml.C (escapeChar): escape only < & >.
547
548 2004-05-14  Angus Leeming  <leeming@lyx.org>
549
550         * bufferparams.h: move biblio::CiteEngine enum here to minimize
551         dependencies on src/frontends/controllers/biblio.h. Define a
552         CiteEngine_enum wrapper class to enable the enum to be forward
553         declared.
554
555 2004-05-12  Angus Leeming  <leeming@lyx.org>
556
557         * buffer.C: up LYX_FORMAT to 234.
558         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
559         use_numerical_citations with a single biblio::CiteEngine cite_engine
560         variable.
561         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
562
563 2004-05-13  José Matos  <jamatos@lyx.org>
564
565         * converter.h:
566         * converter.C (Converter, readFlags): add xml member.
567         * outputparams.h: add XML flavor.
568         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
569
570 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyxfunc.C (dispatch):
573         (getStatus): fix handling of LFUN_SEQUENCE
574
575 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * debug.C (showLevel): do not forget the end-of-line marker
578
579 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * kbmap.C (read): do not stop parsing a bind file when an error
582         occurs (bug 1575)
583
584 2004-04-29  Angus Leeming  <leeming@lyx.org>
585
586         * cursor.C:
587         * factory.C:
588         * pariterator.C:
589         * text2.C: wrap a bunch of #warning statements
590         inside #ifdef WITH_WARNINGS blocks.
591
592 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
593
594         * buffer.C: increment format to 233.
595
596 2004-04-28  Angus Leeming  <leeming@lyx.org>
597
598         * BufferView_pimpl.C:
599         * lyxfunc.C:
600         * text3.C:
601         s/updateToolbar()/updateToolbars()/
602         s/Toolbar.h/Toolbars.h/
603
604 2004-04-28  Angus Leeming  <leeming@lyx.org>
605
606         * BufferView.[Ch] (c-tor):
607         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
608         No longer passes these data to the WorkArea generator.
609
610 2004-04-28  Angus Leeming  <leeming@lyx.org>
611
612         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
613
614 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
617
618 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * output_latex.C (TeXEnvironment): make sure that there is a line
621         break before \end{foo} for the last paragraph of a document
622         (TeXOnePar): if the paragraph is at the end of the document (or
623         inset) and the language has to be reset, then make sure that the
624         line break is _before_ the language command, not after (fixes bug
625         1225); also make sure that the language reset command is the first
626         thing after the paragraph (to ensure proper nesting of
627         environments and thus fix bug 1404)
628
629 2004-04-21  John Levon  <levon@movementarian.org>
630
631         * ToolbarBackend.h:
632         * ToolbarBackend.C: make "name" be a programmatic name
633         and a gui_name field.
634
635         * lyxfunc.C: display the minibuffer on M-x
636
637 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
640         (bug 1526)
641
642 2004-04-19  Angus Leeming  <leeming@lyx.org>
643
644         * BufferView_pimpl.C (setBuffer): changed preview interface.
645
646         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
647         possible values.
648
649 2004-04-19  John Levon  <levon@movementarian.org>
650
651         * BufferView_pimpl.C:
652         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
653
654 2004-04-05  Angus Leeming  <leeming@lyx.org>
655
656         * text.C (redoParagraphs): add call to updateCounters(), thereby
657         fixing the missing "Figure #:" label from the caption of a
658         figure float.
659
660 2004-04-13  Angus Leeming  <leeming@lyx.org>
661
662         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
663         cursor is clicked out of an inset.
664
665 2004-04-13  Angus Leeming  <leeming@lyx.org>
666
667         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
668         than an InsetOld one.
669
670 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * format.[Ch]: add editor to Format
673         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
674         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
675
676 2004-04-08  André Pönitz  <poenitz@gmx.net>
677
678         * metricsinfo.h: remove PainterInfo::width member
679
680 2004-04-08  Angus Leeming  <leeming@lyx.org>
681
682         * lyx_sty.C (boldsymbol_def): modify so that it outputs
683         "\providecommand" rather than "\newcommand", thereby preventing
684         clashes with packages that define "\boldsymbol" themselves.
685         Eg, beamer.
686
687 2004-04-08  Angus Leeming  <leeming@lyx.org>
688
689         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
690         thereby squashing an unnecessary warning.
691
692 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
695         setBuffer()
696
697 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * BufferView.C (setCursor): call redoParagraph (some insets could
700         have been opened)
701         (putSelectionAt): remove the 'double update' trick
702
703         * BufferView_pimpl.C (fitCursor): call refreshPar
704         (workAreaDispatch): remove an uneeded update call
705         (dispatch): remove some manual update calls
706
707         * cursor.[Ch]: remove cached_y_, updatePos
708         (selHandle): set noUpdate when appropriate
709
710         * lyxfunc.C (dispatch): track if we need an update
711
712         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
713
714         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
715         (paintSelection): cheap optimization, do not call cursorX when not
716         needed
717         (paintPars): change signature
718         (refreshPar): add
719         (paintText): adjust
720         (paintTextInset): adjust
721
722         * text.C: adjust
723
724 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * lengthcommon.C: compilation fix: remove explicit array size from
727         unit_name[] and friends
728
729 2004-04-05  Angus Leeming  <leeming@lyx.org>
730
731         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
732
733         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
734         present only for the preferences dialog.
735         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
736
737 2004-04-05  Angus Leeming  <leeming@lyx.org>
738
739         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
740         to enable the frontends to export changes to lyxrc correctly.
741
742         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
743
744 2004-04-07  André Pönitz  <poenitz@gmx.net>
745
746         * cursor.[Ch] (selClear, adjust): remove math
747
748         * cursor_slice.C: more agressive assert
749
750         * lyxfunc.C:
751         * BufferView_pimpl.C: rework mouse event dispatch
752
753         * dociterator.C:
754         * paragraph.C:
755         * text2.C:
756         * text3.C: adjust
757
758 2004-04-05  André Pönitz  <poenitz@gmx.net>
759
760         * cursor.[Ch] (valign, halign...): remove unneeded functions
761
762 2004-04-05  Angus Leeming  <leeming@lyx.org>
763
764         * lyxlength.[Ch] (unit_name et al.): const-correct.
765
766 2004-04-05  Angus Leeming  <leeming@lyx.org>
767
768         * BufferView_pimpl.C:
769         * buffer.C:
770         * counters.C:
771         * cursor.C:
772         * lyxfunc.C
773         * paragraph.C:
774         * pariterator.C:
775         * text.C:
776         * text2.C:
777         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
778
779 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * text3.C (getStatus): add LFUN_BEGINNINGBUF
782
783 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
784
785         * lyxfind.C: add a couple of inTexted() tests + other small fixes
786         * BufferView_pimpl.[Ch] (getStatus)
787         * BufferView.[Ch] (getStatus): add
788         * lyxfunc.C (getStatus): move lfuns handled in
789         BufferView::dispatch to te function above
790         * Cursor.C (setSelection): set selection() = true
791
792 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
795
796 2004-03-31  Angus Leeming  <leeming@lyx.org>
797
798         * lyxfunc.C (dispatch): Fall through to the generic
799         Dialogs::show("preamble").
800
801 2004-03-31  Angus Leeming  <leeming@lyx.org>
802
803         * lyxfunc.C (dispatch): Fall through to the generic
804         Dialogs::show("spellchecker").
805
806 2004-03-31  Angus Leeming  <leeming@lyx.org>
807
808         * lyxfunc.C (getStatus, dispatch): changed invocation of the
809         preferences dialog.
810
811 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
812
813         * BufferView.C
814         * cursor.[Ch]
815         * dociterator.[Ch]:
816         * insetiterator.[Ch]:
817         * lyxfind.C:
818         * lyxfunc.C:
819         * pariterator.[Ch]:
820         * text2.C:
821         * undo.[Ch]: s/DocumentIterator/DocIterator/g
822
823 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
824
825         * BufferView.C (setCursor, putSelectionAt): call edit to open the
826         insets where we are putting the cursor.
827
828 2004-03-31  Angus Leeming  <leeming@lyx.org>
829
830         * lfuns.h:
831         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
832
833         * lyxrc.[Ch] (read, write): overloaded member functions taking
834         a std::[io]stream arguments.
835
836         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
837
838 2004-03-31  Angus Leeming  <leeming@lyx.org>
839
840         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
841         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
842
843         * lyxtextclass.C (load): if the text class couldn't be loaded, then
844         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
845
846 2004-03-31  Angus Leeming  <leeming@lyx.org>
847
848         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
849         the LFUN_ALL_INSETS_TOGGLE code.
850
851 2004-03-30  Angus Leeming  <leeming@lyx.org>
852
853         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
854         has died. Fall through to the generic Dialogs::show("document").
855
856 2004-03-30  Angus Leeming  <leeming@lyx.org>
857
858         * lfuns.h:
859         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
860         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
861
862         * lyxfunc.C (getStatus, dispatch): define the actions for these
863         lfuns. Little more than a cut and pste job from ControlDocument.C
864
865         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
866
867 2004-03-30  Angus Leeming  <leeming@lyx.org>
868
869         * lfuns.h:
870         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
871         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
872
873         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
874         open/closed state of ollapsable insets. Usage:
875
876         all-inset-toggle <state> <name>, where
877         <state> == "open" || "closed" || "toggle" and
878         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
879
880         * lyxtext.h, text2.C (toggleInset): removed.
881
882         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
883         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
884         now passes LFUN_INSET_TOGGLE to the found inset.
885
886         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
887         is now invoked as "all-insets-toggle toggle branch".
888
889 2004-03-30  Angus Leeming  <leeming@lyx.org>
890
891         * dociterator.C:
892         * insetiterator.C:
893         * pariterator.[Ch]: added/corrected header blurb.
894
895 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * dociterator.[Ch]: add an inset_ member
898         (backwardPos): implemented
899         (backwardPos, forwardPos): use inset_ when the stack is empty.
900         (doc_iterator_begin, doc_iterator_end): implemented
901         * pariterator.[Ch]: adjust, add begin, end
902         * insetiterator.[Ch]: adjust, add begin, end
903         * cursor.C:
904         * document.C:
905         * BufferView.C:
906         * BufferView_pimpl.C:
907         * CutAndPaste.C: adjust
908
909 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
910
911         * buffer.C: increment file format to 232.
912         * LaTeXFeatures.C: add bibtopic package.
913         * bufferparams.[Ch]: param \use_bibtopic.
914
915         * lyxrc.[Ch]: add lyxrc bibtex_command
916         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
917
918         * buffer.C: increment file format to 231.
919
920 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * dociterator.C: implement forwardPar
923         * iterators.[Ch]: remove, replaced by
924         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
925         * BufferView.C:
926         * BufferView_pimpl.C:
927         * CutAndPaste.C:
928         * buffer.C:
929         * bufferview_funcs.C:
930         * cursor.C:
931         * lyxfind.C
932         * lyxfunc.C
933         * paragraph_funcs.C
934         * toc.C:
935         * Makefile.am: adjust
936
937 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * CutAndPaste.C (pasteSelection): fix 2 crashes
940         (eraseSelection): fix a crash
941         * paragraph_funcs.C: remove a warning
942
943 2004-03-28  Angus Leeming  <leeming@lyx.org>
944
945         * lfuns.h:
946         * LyXAction.C (init): new LFUN_PRINT.
947
948         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
949
950 2004-03-27  Angus Leeming  <leeming@lyx.org>
951
952         * lfuns.h:
953         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
954
955         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
956
957 2004-03-27  Angus Leeming  <leeming@lyx.org>
958
959         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
960         insetlist always contains non-null pointers to insets.
961
962 2004-03-26  Angus Leeming  <leeming@lyx.org>
963
964         * src/BufferView_pimpl.C:
965         * src/CutAndPaste.C:
966         * src/buffer.C:
967         * src/iterators.C:
968         * src/output_plaintext.C:
969         * src/outputparams.h:
970         * src/paragraph_funcs.C:
971         * src/rowpainter.C:
972         * src/text.C:
973         * src/text2.C:
974         * src/frontends/controllers/ControlErrorList.C:
975         * src/frontends/gtk/FileDialogPrivate.C:
976         * src/frontends/gtk/GPainter.C:
977         * src/frontends/gtk/GToolbar.C:
978         * src/frontends/qt2/QRef.C:
979         * src/mathed/math_scriptinset.C: squash compiler warnings.
980
981 2004-03-26  Angus Leeming  <leeming@lyx.org>
982
983         * ispell.C (LaunchIspell::start):
984         * lyx_cb.C (AutoSaveBuffer::start):
985         invoke run(DontWait) rather than runNonBlocking().
986
987 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
990
991 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
992
993         * kbsequence.C (print): adjust
994
995         * kbmap.C (printKeySym): rename and change signature
996         (printKey): use LyXKeySym::print()
997
998 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * undo.C: add using std::advance to compile for stlport
1001
1002 2004-03-24  Angus Leeming  <leeming@lyx.org>
1003
1004         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1005         it leads to a crash when no buffer is present.
1006
1007 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1008             Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * lyxfunc.C (dispatch):
1011         * bufferparams.C (readToken): use the new LColor::setColor
1012
1013         * LColor.[Ch] (setColor): new version that takes two strings as
1014         argument and creates a new color entry if necessary
1015
1016 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1017
1018         * buffer.C (makeLaTeXFile): if the main latex file that is
1019         processed is usually a subdocument of some master, then pretend
1020         for a while that it is actually the master
1021
1022 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1023
1024         * buffer.C (getLabelList):
1025         (getBibkeyList): use getMasterBuffer()
1026         (getMasterBuffer): new method. Returns the main document in the
1027         case where one is using included documents.
1028
1029 2004-03-25  André Pönitz  <poenitz@gmx.net>
1030
1031         * Makefile.am:
1032         * iterators.[Ch]:
1033         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1034
1035         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1036
1037         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1038         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1039
1040         * ParameterStruct.h: merge with ParagraphParameters
1041
1042         * lyxtext.h: remove LyXText::parOffset() and getPar()
1043
1044         * text3.C: Remove all 'manual' update calls. We do now one per user
1045         interaction which is completely sufficient.
1046
1047         * Bidi.C:
1048         * BufferView.[Ch]:
1049         * BufferView_pimpl.C:
1050         * FontIterator.[Ch]:
1051         * MenuBackend.C:
1052         * ParagraphParameters.[Ch]:
1053         * buffer.C:
1054         * buffer.h:
1055         * bufferlist.C:
1056         * cursor.[Ch]:
1057         * cursor_slice.[Ch]:
1058         * dociterator.[Ch]:
1059         * errorlist.[Ch]:
1060         * factory.C:
1061         * lfuns.h:
1062         * lyxfind.C:
1063         * lyxfunc.C:
1064         * output_docbook.[Ch]:
1065         * output_latex.[Ch]:
1066         * output_linuxdoc.[Ch]:
1067         * output_plaintext.[Ch]:
1068         * paragraph.[Ch]:
1069         * paragraph_funcs.[Ch]:
1070         * paragraph_pimpl.[Ch]:
1071         * rowpainter.C:
1072         * tabular.[Ch]:
1073         * text.C:
1074         * text2.C:
1075         * toc.C:
1076         * undo.[Ch]: adjust
1077
1078         * frontends/controllers/ControlDocument.C:
1079         * frontends/controllers/ControlErrorList.C:
1080         * frontends/controllers/ControlSpellchecker.C:
1081         * insets/inset.C:
1082         * insets/inset.h:
1083         * insets/insetbase.h:
1084         * insets/insetbibitem.C:
1085         * insets/insetbox.C:
1086         * insets/insetbranch.C:
1087         * insets/insetcaption.C:
1088         * insets/insetcharstyle.C:
1089         * insets/insetcharstyle.h:
1090         * insets/insetcollapsable.C:
1091         * insets/insetcollapsable.h:
1092         * insets/insetert.C:
1093         * insets/insetfloat.C:
1094         * insets/insetfoot.C:
1095         * insets/insetmarginal.C:
1096         * insets/insetnote.C:
1097         * insets/insetoptarg.C:
1098         * insets/insettabular.C:
1099         * insets/insettext.C:
1100         * insets/insettext.h:
1101         * insets/insetwrap.C:
1102         * mathed/math_mboxinset.C:
1103         * mathed/math_nestinset.C:
1104         * mathed/math_scriptinset.C:
1105         * mathed/math_scriptinset.h:
1106         * support/types.h:
1107
1108 2004-03-24  Angus Leeming  <leeming@lyx.org>
1109
1110         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1111         deal with any child processes that have finished but are waiting to
1112         communicate this fact to the rest of LyX.
1113
1114 2004-03-24  Angus Leeming  <leeming@lyx.org>
1115
1116         64-bit compile fixes.
1117
1118         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1119         (c-tor): pass lyx::pos_types rather than ints.
1120
1121         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1122         lyx::pos_type.
1123
1124         * text.C (Delete): compile fix.
1125         (getPar): ensure that function declaration is the same as that in
1126         the header file.
1127
1128 2004-03-23  Angus Leeming  <leeming@lyx.org>
1129
1130         * ispell.C (LaunchIspell):
1131         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1132         a boost::shred_ptr rather than a std::auto_ptr.
1133
1134 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1135
1136         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1137         handle LFUN_FILE_INSERT_*
1138
1139         * lyxrc.C (setDefaults, getDescription, output, read):
1140         * lyxrc.h: remove ps_command
1141
1142 2004-03-22  Angus Leeming  <leeming@lyx.org>
1143
1144         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1145         Ensure that error_handler is processed once only and that all data
1146         is saved before attempting to output any warning messages.
1147
1148         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1149
1150 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1153
1154 2004-03-19  André Pönitz  <poenitz@gmx.net>
1155
1156         * cursor.[Ch] (reset): take main text inset as argument
1157
1158         * BufferView: adjust
1159         * BufferView_pimpl.C: adjust
1160
1161         * paragraph.[Ch]: fix completely broken operator=()
1162
1163 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * LColor.C (getFromLyXName): make sure that the color name is used
1166         as lowercase.
1167
1168 2004-03-17  Angus Leeming  <leeming@lyx.org>
1169
1170         * lfuns.h:
1171         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1172
1173         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1174         dialog and to kill a forked process.
1175
1176 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1177
1178         * text2.C (setCursorFromCoordinates): fix font problem
1179
1180 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1183         bogus "rebuild cursor" code
1184
1185 2004-03-11  André Pönitz  <poenitz@gmx.net>
1186
1187         * buffer.[Ch]: use InsetText instead of LyXText as container for
1188         the main lyx text.
1189
1190         * dociterator.[Ch]: drop the BufferView * member which is not needed
1191         anymore after the change to buffer.C
1192
1193         * paragraph_funcs.C:
1194         * text.C:
1195         * text2.C:
1196         * BufferView.[Ch]:
1197         * BufferView_pimpl.[Ch]:
1198         * cursor.[Ch]:
1199         * cursor_slice.[Ch]: adjust
1200
1201         * text3.C: fix bug in mathDispatch
1202
1203 2004-03-08  André Pönitz  <poenitz@gmx.net>
1204
1205         * undo.[Ch]: use 'StableDocumentIterator' as base for
1206         the Undo struct.
1207
1208 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1209
1210         * LaTeXFeatures.C:
1211         * bufferparams.[Ch]: add jurabib support and param.
1212
1213         * LaTeX.C: add FIXME/comment.
1214
1215 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1216
1217         * buffer.C: increment file format to 230.
1218
1219 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1220
1221         * cursor.C (dispatch): avoid infinite loops
1222
1223 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1224
1225         * rowpainter.C (paintSelection): fix x coordinates
1226
1227 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * text.C (rowBreakPoint): fix breaking before displayed insets
1230
1231 2004-03-01  André Pönitz  <poenitz@gmx.net>
1232
1233         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1234
1235         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1236
1237         * Makefile.am:
1238         * BufferView.C:
1239         * BufferView_pimpl.C:
1240         * buffer.C:
1241         * lyxfind.C:
1242         * lyxfunc.C:
1243         * text.C:
1244         * text2.C:
1245         * text3.C: adjust
1246
1247 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * lyxtext.h:
1250         * text.C:
1251         * text2.C:
1252         * rowpainter.C:
1253         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1254         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1255
1256 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1257
1258         * Bidi.[Ch] (computeTables): const correctness
1259         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1260         fill_hfill, fill_label_hfill and x from Row
1261         * lyxtext.h: prepareToPrint returns a RowMetrics
1262         * rowPainter.C: adjust
1263         * text.C (prepareToPrint): use width, not textWidth. adjust
1264         (redoParagraphInternal, cursorX): adjust
1265         * text2.C (getColumnNearX): adjust
1266         (init): put a default value to the top LyXText::width
1267
1268 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1269
1270         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1271
1272 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * lyxtext.h: add FontIterator class
1275
1276         * text.C (FontIterator, operator*, operator->, operator++): add
1277         (rowBreakPoint, setRowWidth): adjust (fixing a
1278         rebreaking bug)
1279
1280 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * BufferView_pimpl.C (workAreaDispatch): allow also
1283         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1284
1285 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text.C (rowBreakPoint): fix a bug showing with very large insets
1288
1289 2004-02-25  André Pönitz  <poenitz@gmx.net>
1290
1291         * text3.C:
1292         * cursor.[Ch]: move some mathed specific code to mathed
1293
1294 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1295
1296         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1297         use_tempdir in preferences
1298         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1299         tempfile creation
1300         * lyx_main.C: ensure that tempdir is valid
1301         * lyxlex.h: correct typo
1302         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1303         * paragraph.[Ch] (isMultiLingual): make const
1304         * cursor.[Ch] (openable): make const
1305
1306 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1307
1308         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1309
1310 2004-02-20  André Pönitz  <poenitz@gmx.net>
1311
1312         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1313
1314         * cursor.[Ch]: prepare for localized getStatus()
1315
1316         * lyxtext.h:
1317         * tabular.C:
1318         * text.C:
1319         * text2.C:
1320         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1321
1322 2004-02-20  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1325
1326 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * text2.C (setCursorFromCoordinates): switch to absolute coords
1329         (cursorUp): adjust
1330         (cursorDown): adjust
1331         * text3.C (dispatch): adjust
1332
1333 2004-02-16  André Pönitz  <poenitz@gmx.net>
1334
1335         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1336           insets/ChangeLog)
1337
1338         * cursor_slice.[Ch]: remove unneeded acessor function
1339
1340         * lyxtext.h: rename rtl() to isRTL()
1341
1342         * rowpainter.C:
1343         * tabular.C:
1344         * text.C:
1345         * text2.C:
1346         * text3.C: adjust
1347
1348 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * rowpainter.C (paintSelection): coord fix
1351
1352 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1353
1354         * Spacing.C: compile fix
1355
1356 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * cursor.C (dispatch): restore current_ before returning
1359
1360 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * text2.C (cursorUp, cursorDown): fix coords
1363         (moveUp): fix crash
1364
1365 2004-02-12  André Pönitz  <poenitz@gmx.net>
1366
1367         * lyxtext.h:
1368         * text.C:
1369         * text2.C:
1370         * text3.C: add LCursor & parameter to most cursor movement functions
1371           remove usage of LyXText::cursorRow() and cursorPar()
1372
1373         * cursor.[Ch]: add textRow() needed members
1374
1375         * BufferView.C:
1376         * BufferView_pimpl.C:
1377         * paragraph.[Ch]:
1378         * BufferView.C:
1379         * BufferView_pimpl.C: adjust
1380
1381 2004-02-11  André Pönitz  <poenitz@gmx.net>
1382
1383         * lyxfunc.C:
1384         * BufferView.[Ch]:
1385         * BufferView_pimpl.C: shift undo/redo handling
1386
1387         * cursor.[Ch]: fix mathed crash
1388
1389         * lyxfind.C:
1390         * lyxtext.h: move selectionAsText to LCursor
1391
1392         * output_latex.C:
1393         * paragraph.C:
1394         * text.C:
1395         * text2.C:
1396         * text3.C: adjust
1397
1398         * rowpainter.C: fix excessive drawing
1399
1400 2004-02-06  André Pönitz  <poenitz@gmx.net>
1401
1402         * BufferView.[Ch]:
1403         * BufferView_pimpl.[Ch]:
1404         * text3.C: move some text specific LFUN handling
1405
1406 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1407
1408         * text3.C (checkInsetHit): adjust coords
1409         * text2.C (getColumnNearX): adjust coords
1410         (edit): adjust coords
1411         * text.C (getRowNearY): add two asserts
1412
1413 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1414
1415         * converter.C:
1416         * format.C: add using std::distance to compile on gcc 2.95/stlport
1417
1418 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1421
1422 2004-02-04  André Pönitz  <poenitz@gmx.net>
1423
1424         * BufferView.[Ch] (insertInset):
1425         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1426
1427         * text2.C:
1428         * text3.C: adjust
1429
1430 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1433         on the default clause of the switch
1434         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1435         wasn't catched by LCursor::dispatch
1436
1437 2004-02-03  André Pönitz  <poenitz@gmx.net>
1438
1439         * BufferView.C:
1440         * cursor.[Ch]: some additional asserts
1441
1442         * undo.[Ch]: remove LyXText dependency in interface
1443
1444         * lyxfunc.C: adjust
1445
1446         * lyxtext.h (firstPar, lastPar): remove dead functions
1447
1448         * text.C:
1449         * text2.C:
1450         * text3.C:
1451         * paragraph.[Ch]: adjust
1452
1453 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * lyxfind.C (find): fix argument order in call to ::find
1456
1457 2004-02-02  André Pönitz  <poenitz@gmx.net>
1458
1459         * cursor.[Ch]: remove direct access to anchor
1460
1461         * text.C: remove findText() hack
1462
1463 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1464
1465         * iterators.[Ch] (lockPath): remove in favour of...
1466         * BufferView.[Ch] (setCursor): this addition
1467         * BufferView.C (putSelectionAt): adjust
1468         * undo.C (performUndoOrRedo): adjust
1469         * lyxfunc.C (dispatch): adjust
1470
1471 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * iterators.C (lockPath): add a missing slice
1474         * undo.C (performUndoOrRedo): remove redundant positioning code
1475
1476 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1477
1478         * vc-backend.C (scanMaster): ";" -> ';'
1479
1480 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1481
1482         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1483         std::binary_function
1484
1485         * lyxtextclass.C (compare_name): rename to...
1486         (LayoutNamesEqual): ...this
1487
1488         * lyxlex_pimpl.C (compare_tags): inherit from
1489         std::binary_function, put back into anon namespace
1490
1491         * lyxfind.C (MatchString): inherig from std::binary_function
1492         (findChange): use empty() istead of !size()
1493
1494         * format.C (FormatNamesEqual): new functor
1495         (getFormat): use it
1496         (getNumber): use it
1497         (add): use it
1498         (erase): use it
1499         (setViewer): use it
1500
1501         * converter.C (compare_Converter): rename to...
1502         (ConverterEqual): ...this, and fixup a bit.
1503         (getConverter): use it, and make function const
1504         (getNumber): use it, and make function const
1505         (add): use it
1506         (erase): use it:
1507
1508         * bufferlist.C: add using boost::bind
1509
1510         * MenuBackend.C (MenuNamesEqual): new functor
1511         (hasMenu): use it, and make function const
1512         (hasSubmenu): use nested bind to get rid of compare_memfun.
1513
1514 2004-01-30  André Pönitz  <poenitz@gmx.net>
1515
1516         * BufferView_pimpl.C:
1517         * cursor.C:
1518         * cursor.h:
1519         * cursor_slice.[Ch]:
1520         * lyxfunc.C:
1521         * lyxtext.h:
1522         * paragraph_funcs.C:
1523         * paragraph_funcs.h:
1524         * rowpainter.C:
1525         * text.C:
1526         * text2.C:
1527         * text3.C: move some of the edit(x,y) handling to the insets
1528         some coordinate changes.
1529
1530 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * text.C: add using statements for std::advance and std::distance
1533
1534         * paragraph.C: add using statement for std::distance
1535
1536         * lyxfind.C: add using statement for std::advance
1537
1538         * cursor.C (region): remove std:: from swap
1539         (openable): use nucleus in stead of operator->
1540
1541         * BufferView.C: add using statements for std::distance and std::swap
1542
1543 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1544
1545         * iterators.C: Remove the pimple, move the needed structures to
1546         the header file. Create accessor for the positions stack.
1547         (asPosIterator): remove function
1548
1549         * PosIterator.C (PosIterator): move constructors to top of file
1550         (PosIterator): reimplement the constructor taking a ParIterator in
1551         terms of setFrom.
1552         (setFrom): new function
1553         (operator!=): inline it
1554
1555 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1556
1557         * lyxfind.C (replaceAll): use std::advance
1558
1559         * iterators.h: inherit from std::iterator.
1560
1561         * PosIterator.C (advance, distance): remove
1562         * PosIterator.h: interit from std::iterator.
1563
1564 2004-01-26  André Pönitz  <poenitz@gmx.net>
1565
1566         * BufferView.[Ch]:
1567         * BufferView_pimpl.[Ch]:
1568         * InsetList.[Ch]:
1569         * PosIterator.[Ch]:
1570         * buffer.h:
1571         * bufferview_funcs.C:
1572         * cursor.[Ch]:
1573         * cursor_slice.h:
1574         * factory.[Ch]:
1575         * iterators.[Ch]:
1576         * lyxfind.C:
1577         * lyxfunc.C:
1578         * lyxtext.h:
1579         * output_docbook.C:
1580         * output_latex.C:
1581         * output_linuxdoc.C:
1582         * output_plaintext.C:
1583         * paragraph.[Ch]:
1584         * paragraph_funcs.[Ch]:
1585         * paragraph_pimpl.[Ch]:
1586         * rowpainter.C:
1587         * tabular.C:
1588         * tabular.h:
1589         * text.C:
1590         * text2.C:
1591         * text3.C: more IU:  dumps most of the rest of the mathcursor
1592     implementation into cursor.[Ch]; "globalize" a bit of it.
1593
1594 2004-01-25  Angus Leeming  <leeming@lyx.org>
1595
1596         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1597
1598 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1599
1600         * LaTeXFeatures.h: add nice_ and nice() const
1601         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1602
1603 2004-01-20  André Pönitz  <poenitz@gmx.net>
1604
1605         * BufferView.[Ch]:
1606         * BufferView_pimpl.C:
1607         * PosIterator.C:
1608         * bufferview_funcs.C:
1609         * cursor.[Ch]:
1610         * cursor_slice.[Ch]:
1611         * factory.C:
1612         * iterators.C:
1613         * lyx_cb.C:
1614         * lyxfind.C:
1615         * lyxfunc.C:
1616         * lyxtext.h:
1617         * rowpainter.C:
1618         * text.C:
1619         * text2.C:
1620         * text3.C:
1621         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1622           LCursor and mathcursor parts to LCursor and InsetBase.
1623
1624 2004-01-15  André Pönitz  <poenitz@gmx.net>
1625
1626         * cursor_slice.[Ch]: add a few covienience functions
1627
1628         * funcrequest.[Ch]: remove BufferView * member
1629
1630         * BufferView_pimpl.C:
1631         * cursor.C:
1632         * factory.[Ch]:
1633         * lyxfind.[Ch]:
1634         * lyxfunc.C:
1635         * lyxtext.h:
1636         * text3.C:
1637         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1638
1639 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1642         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1643
1644 2004-01-13  André Pönitz  <poenitz@gmx.net>
1645
1646         * textcursor.[Ch]:
1647         * lyxtext.h: hide cursor and selection anchor behind accessor function
1648
1649         * BufferView.C:
1650         * BufferView_pimpl.[Ch]:
1651         * PosIterator.C:
1652         * bufferview_funcs.C:
1653         * cursor.h:
1654         * lyxfind.C:
1655         * lyxfunc.C:
1656         * text.C:
1657         * text2.C:
1658         * text3.C:
1659         * undo.C: adjust
1660
1661         * cursor.h:
1662         * cursor_slice.[Ch]: some integer type changes for inset unification
1663
1664         * lyxcursor.[hC]: remove, it's CursorSlice now.
1665
1666         * Makefile.am:
1667         * BufferView_pimpl.[Ch]:
1668         * bufferview_funcs.C:
1669         * cursor_slice.C:
1670         * lyxtext.h:
1671         * text.C:
1672         * text2.C:
1673         * text3.C:
1674         * textcursor.[Ch]: adjust
1675
1676 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * text2.C (undoSpan): add and use
1679         * text.C (breakParagraph): use undoSpan (fix bug 578)
1680         * lyxtext.h: adjust
1681
1682 2004-01-08  Angus Leeming  <leeming@lyx.org>
1683
1684         * BufferView_pimpl.C (MenuInsertLyXFile):
1685         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1686         * lyxfunc.C (menuNew, open, doImport):
1687         FileFilterList change to the FileDialog open and save functions.
1688
1689 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1690
1691         * ShareContainer.h: make isEqual and isUnique adaptable
1692
1693         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1694
1695 2004-01-07  Angus Leeming  <leeming@lyx.org>
1696
1697         * LyXAction.C:
1698         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1699
1700         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1701
1702         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1703         functions replacing find, replace and replaceAll.
1704
1705         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1706         LFUN_WORDFIND(FORWARD|BACKWARD).
1707
1708 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1709
1710         * text.C (breakParagraph): remove an outdated #warning
1711
1712 2004-01-07  André Pönitz  <poenitz@gmx.net>
1713
1714         * lyxfind.C: somewhat clearer logic
1715
1716         * text.C: prevent crash in cursorX on unitialized row cache
1717
1718 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1719
1720         * lyxcursor.[Ch] (operator>): add
1721         * textcursor.C (selStart, selEnd): use std::min and std::max
1722
1723 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1724
1725         * Chktex.C: include boost/format.hpp
1726
1727 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1728
1729         * InsetList.C: replace functor MathcIt with adaptable functor
1730         InsetTablePosLess
1731         (insetIterator): modify accordingly
1732
1733         * BranchList.h: move the BranchNamesEqual functor here from...
1734         * BranchList.C: ... to here
1735
1736         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1737         SameName and match.
1738         (add): replace a finding loop with std::find_if.
1739
1740 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1741
1742         * output_docbook.C: moving LatexParam functionality into
1743         .layout files
1744
1745 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1746
1747         * buffer.C: increment format to 229.
1748
1749 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1750
1751         * LaTeXFeatures.C:
1752         * lyx_sty.[Ch]: remove minipageindent_def
1753
1754         * LyXAction.C:
1755         * factory.C:
1756         * lfuns.h:
1757         * lyxfunc.C:
1758         * text3.C: remove LFUN_INSET_MINIPAGE
1759
1760 2003-12-28  Angus Leeming  <leeming@lyx.org>
1761
1762         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1763
1764 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * text2.C (setParagraph): fix off-by-one crash
1767
1768 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1769
1770         * output_docbook.C: header stuff for AGU
1771
1772 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * text2.C (redoCursor): remove
1775         * text.C:
1776         * text3.C:
1777         * BufferView_pimpl.C: remove calls to redoCursor and
1778         setCursor(cursor.par(), cursor.pos()) all around
1779
1780 2003-12-15  Angus Leeming  <leeming@lyx.org>
1781
1782         * buffer.C: up the format to 228.
1783
1784 2003-12-15  André Pönitz  <poenitz@gmx.net>
1785
1786         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1787         slices
1788
1789         * Makefile.am:
1790
1791         * BufferView_pimpl.C:
1792         * cursor.[Ch]:
1793         * lyxcursor.[Ch]:
1794         * rowpainter.[Ch]:
1795         * lyxtext.h:
1796         * text.C:
1797         * text2.C:
1798         * text3.C: adjust
1799
1800 2003-12-15  Angus Leeming  <leeming@lyx.org>
1801
1802         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1803         than getFromGUIName to manipulate the color.
1804
1805 2003-12-14  Angus Leeming  <leeming@lyx.org>
1806
1807         * BranchList.[Ch]: minimize the API.
1808         (Branch::getBranch, getColor): now return a 'const &'.
1809         (Branch::setSelected) now returns a bool set to true if the
1810         selection status changes.
1811         (BranchList::clear, size, getColor, setColor, setSelected,
1812         allBranches, allSelected, separator): removed.
1813         (BranchList::find): new functions, returning the Branch with
1814         the given name.
1815         (BranchList::add, remove): return a bool indicating that
1816         the operation was successful.
1817
1818         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1819         new InsetBranch::isBranchSlected member function.
1820
1821         * LColor.[Ch]: mimimize the API.
1822         (fill): renamed as addColor and made private.
1823         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1824         versions of these functions taking a string arg have been removed.
1825
1826         * bufferparams.C (readToken):
1827         * lyxfunc.C (dispatch):
1828         * lyxrc.C (read): changes due to the altered BranchList and
1829         LColor APIs.
1830
1831         * factory.C (createInset, readInset): changes due to altered
1832         InsetBranch c-tor.
1833
1834 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1835
1836         * factory.C:
1837         * lyxfunc.C: remove insetminipage. "minipage-insert"
1838         now produces a frameless minipage box inset.
1839
1840 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * textcursor.[Ch] (selStart,selEnd): add new methods
1843         remove selection::start, end, use LyXCursor::operator<
1844         * lyxcursor.[Ch] (operator<): add
1845         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1846         * BufferView.[Ch] (unsetXSel): add
1847         * text2.C (clearSelection): use unsetXSel,adjust
1848         * text.C: adjust
1849         * text3.C: adjust
1850         * rowpainter.C: adjust
1851         * bufferview_funcs.C (put_selection_at): adjust
1852
1853 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1854
1855         * BufferView_pimpl.C: small coord. correction
1856
1857 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1860         dragging over the splash screen.
1861
1862 2003-12-11  Angus Leeming  <leeming@lyx.org>
1863
1864         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1865         as it is now handled in LyXText::dispatch.
1866
1867         * text3.C (doInsertInset): remove a level of nesting.
1868
1869 2003-12-11  Angus Leeming  <leeming@lyx.org>
1870
1871         * factory.C (createInset): changes due to the changed interface to
1872         InsetCommandMailer::string2params.
1873
1874 2003-12-10  Angus Leeming  <leeming@lyx.org>
1875
1876         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1877         'dialog-show-new-inset <inset name>'
1878
1879 2003-12-10  Angus Leeming  <leeming@lyx.org>
1880
1881         * buffer.C: up the format to 227.
1882
1883         * factory.C: the box inset is now identified simply by 'Box'.
1884
1885 2003-12-10  Angus Leeming  <leeming@lyx.org>
1886
1887         * buffer.C: up the format to 226.
1888
1889         * factory.C: the note inset is now identified simply by 'Note'.
1890
1891 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1892
1893         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1894         when a pit is enough. Standarize a couple of loops.
1895
1896 2003-12-05  Angus Leeming  <leeming@lyx.org>
1897
1898         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1899         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1900         data to the re-worked "log" dialog.
1901
1902 2003-12-03  André Pönitz  <poenitz@gmx.net>
1903
1904         * PosIterator.C:
1905         * iterators.C:
1906         * lyxtext.h:
1907         * output_latex.C:
1908         * paragraph_funcs.C:
1909         * text.C:
1910         * text2.C: use Inset::getText instead of Inset::getParagraph
1911
1912 2003-12-03  André Pönitz  <poenitz@gmx.net>
1913
1914         * buffer.[Ch]:
1915         * lyxtext.h:
1916         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1917         InsetText::read() as LyXText::read()
1918
1919 2003-12-02  Angus Leeming  <leeming@lyx.org>
1920
1921         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1922         type. Add a comment in the implementation that the function uses
1923         the stream's bad() function rather than fail() as the std::streams
1924         would do.
1925
1926 2003-12-02  André Pönitz  <poenitz@gmx.net>
1927
1928         * lyxlex.[Ch]: make interface more similar to std::stream
1929
1930         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1931
1932 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1933
1934         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1935
1936 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1937
1938         * vspace.[Ch]: remove VSpace::NONE
1939
1940 2003-12-01  André Pönitz  <poenitz@gmx.net>
1941
1942         * buffer.[Ch]:
1943         * lyxtext.h: move ParagraphList member to LyXText
1944         rename LyXText::ownerParagraphs to LyXText::paragraph
1945
1946         * CutAndPaste.C:
1947         * bufferview_funcs.C:
1948         * iterators.[Ch]:
1949         * lyx_cb.C:
1950         * paragraph.C:
1951         * rowpainter.C:
1952         * tabular.C:
1953         * text.C:
1954         * text2.C:
1955         * text3.C: adjust
1956
1957         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1958
1959         * undo.C: fix cursor positioning
1960
1961 2003-12-01  John Levon  <levon@movementarian.org>
1962
1963         * BufferView_pimpl.C: fix a crash on exit with
1964         a buffer open
1965
1966 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1967
1968         * BranchList.C: fix setSelected() method.
1969
1970 2003-11-28  André Pönitz  <poenitz@gmx.net>
1971
1972         * ParagraphParameters.[Ch]:
1973         * ParameterStruct.h: remove space above/below from Paragraph to
1974          InsetVSpace
1975
1976         * BufferView_pimpl.C:
1977         * factory.C:
1978         * lyxfunc.C:
1979         * lyxtext.h:
1980         * output_latex.C:
1981         * paragraph.C:
1982         * paragraph_funcs.C:
1983         * rowpainter.[Ch]:
1984         * text.C:
1985         * text2.C:
1986         * text3.C: adjust
1987
1988 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1989
1990         * factory.C: Syntax change for CharStyles
1991
1992 2003-11-28  André Pönitz  <poenitz@gmx.net>
1993
1994         * BufferView.[Ch]:
1995         * BufferView.[Ch]:
1996         * buffer.[Ch]:
1997         * buffer.[Ch]: move LyXText member
1998
1999 2003-11-28  André Pönitz  <poenitz@gmx.net>
2000
2001         * BufferView.[Ch]: make LyXText * text a private member
2002
2003         * BufferView_pimpl.C:
2004         * cursor.C:
2005         * iterators.C:
2006         * lyx_cb.C:
2007         * lyxfind.C:
2008         * lyxtext.h:
2009         * rowpainter.[Ch]:
2010         * text.C:
2011         * text2.C:
2012         * undo.C: adjust
2013
2014         * output_plaintext.C: cleanup
2015
2016 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2017
2018         * buffer.C:
2019         * lyxtextclass.[Ch]: parametrize SGML document header
2020
2021 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2022
2023         * converter.[Ch]:
2024         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2025         getFlavor().
2026
2027 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * text2.C (setFont): rework using PosIterator (no more recursive)
2030         (setCharFont): no more needed
2031         (setLayout): no more selection cursors fiddling (done by redoCursor)
2032         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2033         destroy remaining ones)
2034
2035 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2038         * lyxtext.h: ditto
2039         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2040         selection cursors
2041         * lyxfunc.C: adjust
2042         * text3.C: adjust + re-allow multi par depth changes
2043         * textcursor.C: simplify a bit
2044
2045 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * src/buffer.C:
2048         * src/lyxlayout.C:
2049         * src/lyxlayout.h:
2050         * src/lyxtext.h:
2051         * src/output_docbook.C:
2052         * src/output_latex.C:
2053         * src/paragraph.C:
2054         * src/paragraph.h:
2055         * src/sgml.C:
2056         * src/sgml.h:
2057         * src/text2.C: Introducing a number of tags parametrizing various
2058         XML formats that we may want to support
2059
2060 2003-11-25  André Pönitz  <poenitz@gmx.net>
2061
2062         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2063
2064         * lyxtext.h (leftMargin/rightMargin): simplify interface
2065
2066         * rowpainter.C:
2067         * text.C:
2068         * text2.C:
2069         * text3.C: adjust
2070
2071 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2072
2073         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2074         master file to any child files. Fixes bug 546.
2075
2076 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2079
2080 2003-11-24  André Pönitz  <poenitz@gmx.net>
2081
2082         * rowpainter.C: simplification
2083
2084         * text2.C (updateCounters): remove call to redoParagraph on
2085         changed labels as this is far too expensive.
2086
2087 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * converter.C (convert): fix a crash: this function gets
2090         called with buffer == 0 from importer code.
2091
2092 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2093
2094         * text3.C (cursorPrevious): make sure that we do not compare
2095         iterators form different containers.
2096         (cursorNext): ditto
2097
2098         * rowpainter.C (paintSelection): make sure that we do not compare
2099         iterators from different containers.
2100
2101         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2102         iterators from different ParagraphList containers.
2103         [NEXT] ditto
2104
2105         * text2.C (LyXText): change order of initialization slightly
2106         (operator=): new function. copy all variables except cache_par_
2107         (moveUp): make sure that we do not compare iterators from
2108         different ParagraphList constainers.
2109         (moveDown): ditto
2110
2111         * text.C (firstPar): new function
2112         (lastPar): new function
2113         (endPar): new function
2114
2115         * lyxtext.h: move things around and group public functions, public
2116         variables, private functions, private variables
2117
2118 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2119
2120         * factory.C: change call to InsetERT constructor to avoid
2121         additional invocation of method status
2122         * text2.C (toggleInset): remove redundant update() call
2123         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2124         instead of a Bufferview pointer
2125
2126 2003-11-21  André Pönitz  <poenitz@gmx.net>
2127
2128         * rowpainter.C: simplification
2129
2130 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2131
2132         * text3.C (dispatch): make possible to extend a word/row selection
2133         with the mouse
2134
2135 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2136
2137         * lyxtext.h: x0_,y0_ -> xo_,yo_
2138         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2139         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2140         * rowpainter.C (paintRows): paint full paragraphs
2141
2142 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2145         screen coordinates)
2146
2147 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * lyxtext.h: add x0_, y0_
2150         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2151         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2152
2153 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * text2.C (setCursorIntern): move the x_target update here *
2156         * text3.C: change some bv() to true/false in calls to
2157         cursorUp/Down/Right/Left
2158         * cursor.C: use helper function.
2159
2160 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2163         * paragraph_funcs.[Ch]: correct comment
2164         * rowpainter.C: do not paint selections away from bv->cursor()
2165         Fix a long standing selection painting bug.
2166         * text3.C: generalize mouse-selection code to LyXTexts other that
2167         top one
2168         * textcursor.C: do not use y coords if we can use par offsets
2169
2170 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2173         cursor position after e.g. inset insert)
2174
2175 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2176
2177         * lyxfind.C (replace): adjust to locking removal + some
2178         code simplification
2179
2180 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2183         of the path
2184
2185 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2186
2187         * lyxlayout.[Ch]:
2188         * output_docbook.C: XML sanitation: new layout
2189         parameters InnerTag and CommandDepth
2190
2191 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2192
2193         * BufferView_pimpl.C:
2194         * factory.C:
2195         * text3.C: Fix the insertion and modification of button-style
2196         insets
2197
2198 2003-11-13  André Pönitz  <poenitz@gmx.net>
2199
2200         * InsetList.[Ch]: remove deleteLyXText
2201
2202         * paragraph.[Ch]: cache beginOfBody position
2203
2204         * Bidi.C:
2205         * text.C:
2206         * text2.C:
2207         * text3.C: remove superfluous update() calls
2208
2209         * vspace.C: cleanup
2210
2211 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2214         * BufferView.C (fitLockedInsetCursor): remove
2215         * cursor.[Ch] (getDim): add
2216         * text.C (getRowNearY): add faster version
2217         * text3.C: remove some update calls
2218
2219 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2220
2221         * LaTeXFeatures.C:
2222         * LyXAction.C:
2223         * MenuBackend.C:
2224         * MenuBackend.h:
2225         * dispatchresult.h:
2226         * factory.C:
2227         * lfuns.h:
2228         * lyxfunc.C:
2229         * lyxtextclass.C:
2230         * lyxtextclass.h:
2231         * text3.C: The Character Style /XML short element patch.
2232
2233 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2234
2235         * text3.C:
2236         * factory.C: Small step to solving 'unable to insert some insets'
2237         problem
2238
2239 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * cursor.[Ch] (updatePos): new function for updating the y
2242         position of the tip inset
2243         * bufferview_funcs.C (put_selection_at):
2244         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2245
2246 2003-11-11  André Pönitz  <poenitz@gmx.net>
2247
2248         * text.C: remove big comment on invalid Paragraph pointers as it is
2249         not valid anymore
2250
2251 2003-11-11  André Pönitz  <poenitz@gmx.net>
2252
2253         * text_funcs.[Ch]: merge with ...
2254
2255         * text.C: ... this
2256
2257         * lyxtext.h:
2258         * text2.C:
2259         * text3.C: adjust
2260
2261         * Makefile.am: remove text_funcs.[Ch]
2262
2263 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2264
2265         * cursor.C (getPos): return absolute cached y coord
2266
2267         * BufferView_pimpl.C (fitCursor): new simplistic code
2268         (workAreaDispatch): add a fitCursor call
2269
2270 2003-11-10  André Pönitz  <poenitz@gmx.net>
2271
2272         * BufferView.[Ch]:
2273         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2274
2275 2003-11-10  André Pönitz  <poenitz@gmx.net>
2276
2277         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2278         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2279         indicate that the cursor needs to leave an inset
2280
2281         * lyxtext.h: remove inset locking
2282
2283         * cursor.[Ch]: re-implement functionality provided by inset locking
2284
2285         * BufferView.[Ch]:
2286         * BufferView_pimpl.[Ch]:
2287         * LyXAction.C:
2288         * bufferview_funcs.[Ch]:
2289         * factory.C:
2290         * funcrequest.[Ch]:
2291         * iterators.C:
2292         * lyx_cb.C:
2293         * lyxfind.C:
2294         * lyxfunc.C:
2295         * text.C:
2296         * text2.C:
2297         * text3.C:
2298         * undo.C: adjust
2299
2300 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2301
2302         * PosIterator.[Ch]: replace the stack with a vector, add inset
2303         accesor
2304         * iterators.[C]: adjust
2305
2306 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2307
2308         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2309         replaced
2310         * paragraph_funcs.C (readParToken): put the correct id in the
2311         error item, not the id of the top paragraph
2312
2313 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2314
2315         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2316         * bufferview_funcs.C (put_selection_at): use the above
2317
2318 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2319
2320         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2321
2322 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2323
2324         * output_linuxdoc.h:
2325         * output_plaintext.h:
2326         * output.h:
2327         * output_docbook.h: add #include statements
2328
2329 2003-11-05  José Matos  <jamatos@lyx.org>
2330
2331         * output_docbook.[Ch]:
2332         * output_latex.[Ch]:
2333         * output_linuxdoc.[Ch]:
2334         * output_plaintext.[Ch]: New files for output formats.
2335         * output.[Ch]: New file for helper functions.
2336
2337         * buffer.[Ch]:
2338         * paragraph_funcs.[Ch]: output functions moved to new files.
2339
2340         * outputparams.h: rename of latexrunparams.h
2341
2342         * LaTeX.[Ch]:
2343         * buffer.[Ch]:
2344         * bufferlist.[Ch]:
2345         * converter.[Ch]:
2346         * exporter.C:
2347         * paragraph.[Ch]:
2348         * paragraph_funcs.[Ch]:
2349         * paragraph_pimpl.[Ch]:
2350         * tabular.[Ch]: rename ascii to plaintext
2351         and LatexRunParams to OutputParams.
2352
2353 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2354
2355         * iterators.[Ch] (text): require bv argument
2356         * undo.C (recordUndo):
2357         * lyxfunc.C (dispatch):
2358         * bufferview_funcs.C (put_selection_at): adjust
2359
2360 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2361
2362         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2363
2364 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2367         nestings
2368
2369 2003-11-04  André Pönitz  <poenitz@gmx.net>
2370
2371         * cursor.[Ch]: restructure
2372
2373         * BufferView.[Ch]:
2374         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2375
2376         * iterators.[Ch] (asCursor): remove
2377
2378         * lfuns.h: remove LFUN_INSET_EDIT
2379
2380         * lyxfunc.C:
2381         * tabular.C:
2382         * text.C:
2383         * text2.C:
2384         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2385
2386 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2387
2388         * lyxfind.[Ch]: complete overhaul
2389         * BufferView_pimpl.C:
2390         * lyxfunc.C: adjust
2391         * paragraph.[Ch] (insert): add
2392
2393 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2394
2395         * BufferView.[Ch]:
2396         * lyxtext.h:
2397         * text.C: remove dead spellcheck code
2398
2399 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2400
2401         * dispatchresult.h: add a val setter
2402
2403         * cursor.C (dispatch): use a tempvar for data_[i]
2404
2405 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * PosIterator.[Ch]: compile fix
2408
2409 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * text.C (cursorPar): deactivate the cursor cache
2412
2413 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2414
2415         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2416
2417 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * text3.C (dispatch): adjust for new DisptchResult semantics.
2420
2421         * lyxfunc.C (dispatch): handle update when return from
2422         Cursor::dispatch, adjust for new DispatchResult semantics.
2423
2424         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2425         DispatchResult(true) mean to not update. Add class functions for
2426         setting dispatched and update, as well as reading.
2427
2428         * cursor.C (dispatch): don't handle update here
2429
2430 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2431
2432         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2433         * trans_mgr.C: adjust
2434
2435         * paragraph_funcs.C (readParToken): exception safety
2436
2437         * lyxvc.h: store the vcs pointer in a scoped_ptr
2438         * lyxvc.C: adjust
2439
2440         * lyxsocket.C (serverCallback): exception safety
2441
2442         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2443
2444         * ispell.C (clone): make it return a auto_ptr
2445
2446         * factory.C (createInset): exception safety
2447         (readInset): exception safety
2448
2449         * bufferlist.C (newBuffer): exception safety
2450
2451         * Thesaurus.C (Thesaurus): use initialization for aik_
2452
2453         * MenuBackend.C (expandToc): exception safety.
2454
2455 2003-11-03  André Pönitz  <poenitz@gmx.net>
2456
2457         * buffer.C:
2458         * buffer.h:
2459         * bufferview_funcs.C: remove getInsetFromId()
2460
2461         * lyxcursor.[Ch]:
2462         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2463
2464         * lyxfunc.C:
2465         * text2.C:
2466         * text3.C: adjust
2467
2468 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2469
2470         * PosIterator.C (distance, advance): new
2471         * bufferview_funcs.[Ch] (put_selection_at): new
2472         * iterators.[Ch] (lockPath): new
2473
2474 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2475
2476         * iterators.[Ch] (asPosIterator): added
2477         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2478         * PosIterator.[Ch]: added
2479
2480 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * text3.C:
2483         * lyxfunc.C:
2484         * cursor.C (dispatch):
2485         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2486
2487         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2488         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2489         contructor, add a class function dispatched. Remove operator>=
2490
2491 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * debug.C: only use the default constructor for debugstream
2494         (lyxerr) here.
2495
2496         * main.C (main): include debug.h and setup the lyxerr streambuf
2497         here.
2498
2499 2003-10-31  José Matos  <jamatos@lyx.org>
2500
2501         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2502
2503         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2504         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2505         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2506         * paragraph_pimpl.C (simpleTeXSpecialC):
2507         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2508         add LatexRunParams argument.
2509
2510         * exporter.C (Export): change call accordingly.
2511
2512         * latexrunparams.h: add new member to take care of the other backends.
2513 2003-10-30  José Matos  <jamatos@lyx.org>
2514
2515         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2516         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2517         factorise code for paragraph output.
2518         * buffer.[Ch]:
2519         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2520         move functions.
2521
2522 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * text3.C (dispatch):
2525         * lyxfunc.C (dispatch):
2526         * cursor.C (dispatch):
2527         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2528
2529         * dispatchresult.h: make the dispatch_result_t ctor explicit
2530
2531 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2532
2533         * sgml.[Ch]:
2534         * buffer.C: small refactoring of docbook stuff
2535
2536 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2539         meaning.
2540
2541 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2544         operator dispatch_result_t, and operators for == != and >=
2545
2546         * cursor.C (dispatch): adjust for operator dispatch_result_t
2547         removal. comment out call to update
2548
2549         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2550
2551 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * text3.C:
2554         * text2.C:
2555         * text.C:
2556         * lyxtext.h:
2557         * lyxfunc.C:
2558         * cursor.C:
2559         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2560         (dispatch):
2561
2562         * dispatchresult.h: new file, DispatchResult broken out of
2563         insets/insetbase.h
2564
2565         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2566
2567 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2568
2569         * text.C (rowBreakPoint): put a hack inside #if 0
2570
2571 2003-10-28  André Pönitz  <poenitz@gmx.net>
2572
2573         * lyxtext.h:
2574         * metricsinfo.C:
2575         * paragraph_funcs.C:
2576         * rowpainter.C:
2577         * text.C:
2578         * text2.C: general cleanup (lots of small stuff)
2579
2580 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2581
2582         * text2.C (cursorEnd): simple fix to the "end key goes to one
2583         before the end on last row" bug
2584
2585 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * text.C (backspace): fix the "zombie characters"
2588
2589 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2590
2591         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2592
2593 2003-10-27  André Pönitz  <poenitz@gmx.net>
2594
2595         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2596
2597         * factory.C: handle new InsetPagebreak, InsetLine
2598
2599         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2600         and move handling into new InsetPagebreak, InsetLine
2601
2602         * BufferView_pimpl.C:
2603         * LyXAction.C:
2604         * ParagraphParameters.C:
2605         * ParameterStruct.h:
2606         * lyxfunc.C:
2607         * lyxtext.h:
2608         * paragraph.C:
2609         * paragraph.h:
2610         * paragraph_funcs.C:
2611         * paragraph_pimpl.C:
2612         * rowpainter.C:
2613         * text.C:
2614         * text2.C:
2615         * text3.C: adjust
2616
2617 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * text.C:
2620         * lyxrow_funcs.[Ch]:
2621         * Bidi.C:
2622         * paragraph.C:
2623         * lyxtext.h:
2624         * rowpainter.C:
2625         * text2.C:
2626         * text3.C: remove lastPos uses in favour of Row::endpos
2627
2628 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2629
2630         * undo.C (performUndoOrRedo): fix two crashes by setting a
2631         cursor by hand and reordering some calls. Use bv->lockInset instead
2632         of inset->edit because the latter loses cursor information
2633
2634 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2637         by Martin
2638         (rowBreakPoint): fix width. change point to point + 1.
2639         Add a missing check.
2640
2641 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2642
2643         * MenuBackend.C:
2644         * lyxfunc.C: fix (at least partly) the problems
2645         with the Nav menu and headers inside branch insets
2646         reported by Kayvan
2647
2648 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * paragraph.C (getChar): add strong asserts
2651
2652         * lyxrow_funcs.C (lastPos): remove hideous hack
2653
2654         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2655         (fill): adjust to that (avoid an infinite loop)
2656
2657 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2660
2661 2003-10-23  André Pönitz  <poenitz@gmx.net>
2662
2663         * RowList_fwd.h: change list<> to vector<> to gain speed
2664         after suggestion from Alfredo
2665
2666 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2667
2668         * lyxtext.h: move the bidi stuff from here...
2669         * text.C: and here
2670         * text2.C: and here
2671         * Bidi.[Ch]: ... to here
2672
2673 2003-10-23  André Pönitz  <poenitz@gmx.net>
2674
2675         * lyxtext.h:
2676         * text.C (isLastRow, isFirstRow): new functions
2677
2678         * paragraph.h: new width cache member
2679
2680         * rowpainter.C: replace RowList::iterator with Row & where possible
2681
2682         * lyxfunc.C: replace several view()->text with a single call
2683
2684         * toc.C: fix 'unused' warning
2685
2686 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2689         when woring with stream::pos_type
2690         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2691
2692 2003-10-22  André Pönitz  <poenitz@gmx.net>
2693
2694         * lyxtext.h:
2695         * text.C: use Row & instead of RowList::iterator
2696
2697         * lyxrow.h: rename end() to endpos()
2698
2699         * rowpainter.C:
2700         * text.C:
2701         * text2.C: adjust
2702
2703 2003-10-22  Angus Leeming  <leeming@lyx.org>
2704
2705         * buffer.[Ch] (fully_loaded): new member function, returning true
2706         only when the file has been loaded fully.
2707         Used to prevent the premature generation of previews and by the
2708         citation inset to prevent computation of the natbib-style label.
2709
2710         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2711         templates are all set up.
2712
2713         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2714
2715 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2716
2717         * text.C: fixed an "oops" in the "is a bit silly"
2718         bug fix
2719
2720 2003-10-21  André Pönitz  <poenitz@gmx.net>
2721
2722         * FuncStatus.[Ch]: small stuff, whitespace
2723
2724         * lyxfont.[Ch]: operator<<() for debug reasons
2725
2726         * lyxfunc.C:
2727         * lyxrow_funcs.C:
2728         * lyxtext.h: whitespace, spelling
2729
2730         * paragraph.C: naming of variables
2731
2732         * text.C:
2733         * text2.C: small stuff
2734
2735
2736 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2737
2738         * text.C: (1) finish off the inset display() work;
2739         (2) fix the "is a bit silly" bug (accessing char
2740         past end of par).
2741
2742 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2743
2744         * text.C: re-introduce display() for insets, fixing the
2745         various bugs (stretch of line above, math inset
2746         positioning, ...)
2747
2748 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2749
2750         * text.C (rightMargin): remove spurious semicolon
2751
2752         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2753         1415)
2754
2755 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2756
2757         * text3.C: fix one crash due to wrong cursor def
2758
2759 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * vc-backend.C (scanMaster): make the regex static
2762
2763         * LaTeX.C (scanAuxFile): make the regexs static
2764
2765         * text3.C (doInsertInset, dispatch, dispatch):
2766         * text2.C (cursorUp, cursorDown):
2767         * text.C (selectNextWordToSpellcheck):
2768         * BufferView_pimpl.C (dispatch):
2769         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2770
2771 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * lyxsocket.C: include <cerrno>
2774
2775 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2776
2777         * lyxfunc.C (dispatch): remove textcache stuff
2778
2779         * bufferlist.C (release): remove textcache stuff
2780         (closeAll): ditto
2781
2782         * TextCache.C: delete file
2783         * TextCache.h: delete file
2784
2785         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2786
2787         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2788         delete of the bv_->text.
2789         (resizeCurrentBuffer): remove texcache stuff
2790         (workAreaResize): ditto
2791
2792 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2795         action.
2796
2797 2003-10-16  André Pönitz  <poenitz@gmx.net>
2798
2799         * lyxrow.[Ch]:
2800         * paragraph.h:
2801         * rowpainter.C:
2802         * text.C:
2803         * text2.C:
2804         * text3.C: speed up by storing y positions per paragraph plus per-row
2805         offset instead of having a 'full' y position in the row.
2806
2807 2003-10-15  André Pönitz  <poenitz@gmx.net>
2808
2809         * iterators.[Ch]:
2810         * iterators.[Ch]:
2811         * undo.[Ch]: make undo aware of inner insets
2812
2813 2003-10-14  Angus Leeming  <leeming@lyx.org>
2814
2815         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2816         static member functions LyX::ref() and LyX::cref.
2817         (lastfiles): new accessor functions for the new lastfiles_ member var.
2818         (addLyXView, views_): add a new LyXView to the list of views_.
2819         (updateInset): loop over all LyXViews to call their own updateInset
2820         member function, returning a pointer to the Buffer owning the inset.
2821
2822         * BufferView_pimpl.C (loadLyXFile):
2823         * MenuBackend.C (expandLastfiles):
2824         * bufferlist.C (MenuWrite, QuitLyX):
2825         lastfiles is no longer a global variable.
2826         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2827
2828         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2829         static function. Access through LyX::cref().emergencyCleanup().
2830
2831 2003-10-14  André Pönitz  <poenitz@gmx.net>
2832
2833         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2834
2835         * undo.[Ch]: restoring part of 'undo in insets'
2836
2837         * Makefile.am:
2838         * undo_funcs.[Ch]: merge with undo.[Ch]
2839
2840         * tabular.C: small cleansing stuff
2841
2842 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * paragraph_funcs.C (readParToken): report unknown insets as error
2845         boxes. Use the outer paragraph as location (also for unknown
2846         tokens).
2847
2848         * factory.C (readInset): do not abort on reading an unknown inset.
2849         Eat it and return 0.
2850
2851 2003-10-13  Angus Leeming  <leeming@lyx.org>
2852
2853         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2854
2855         * lyxrc.C: displayTranslator is now a function,
2856         declared in GraphicsTypes.h.
2857
2858 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2859
2860         * format.C: new placeholder $$a to pass the socket address.
2861
2862         * bufferlist.[Ch]: new function getBufferFromTmp.
2863
2864         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2865           files in the temporary dir.
2866
2867 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2868
2869         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2870
2871         * Makefile.am: add lyxsocket.[Ch].
2872
2873         * lyx_main.C (error_handler): handle SIGPIPE.
2874
2875 2003-10-13  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView_pimpl.C:
2878         * lyxtext.h:
2879         * text.C:
2880         * text2.C:
2881         * text3.C:
2882         * undo_funcs.[Ch]: use paroffset_type instead of
2883           ParagraphList::iterators to prevent multiple conversion
2884           (and get a more robust interface)
2885
2886 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2889         * lyxtext.h: ditto
2890         * text3.C (dispatch): ditto
2891
2892 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2895         move the onlyfile, use onlyfile instead of foundfile in a couple
2896         of places.
2897
2898         * DepTable.C (update): flush the error stream a bit more
2899
2900 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * lyxserver.C (callback): adjust
2903
2904         * lyxfunc.C (getStatus): add a missing brace in commented code
2905         (ensureBufferClean): reindent
2906         (dispatch): delete version taking a string
2907
2908 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * LaTeX.C (deplog): move found file handlig from here...
2911         (handleFoundFile): .. to new function here.
2912         (deplog): make sure to discover several files mentioned on the
2913         same log line.
2914
2915 2003-10-10  André Pönitz  <poenitz@gmx.net>
2916
2917         * lyxfunc.C:
2918         * lyxtext.h:
2919         * tabular.C:
2920         * text.C:
2921         * text2.C:
2922         * text3.C: fix some of the tabular crashes
2923
2924 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2925
2926         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2927
2928         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2929
2930 2003-10-09  André Pönitz  <poenitz@gmx.net>
2931
2932         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2933
2934         * BufferView.C:
2935         * BufferView_pimpl.C:
2936         * bufferview_funcs.C:
2937         * lyx_cb.C:
2938         * lyxcursor.C:
2939         * lyxfind.C:
2940         * lyxfunc.C:
2941         * lyxtext.h:
2942         * text.C:
2943         * text2.C:
2944         * text3.C:
2945         * text_funcs.[Ch]:
2946         * textcursor.[Ch]:
2947         * undo_funcs.C: adjust
2948
2949 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * text2.C (incrementItemDepth): new function, use a backtracking
2952         algorithm to discover the correct item depth.
2953         (resetEnumCounterIfNeeded): new function, use a backtracking
2954         algorithm to discover if counter reset is needed.
2955         (setCounter): use them. Simplify a bit. Add different labels for
2956         different item depths for itemize.
2957
2958         * paragraph.C (Paragraph): remove initialization of enumdepth
2959         (operator=): ditto
2960
2961         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2962         enumerate and itemize. Change the type of itemdepth to signed char.
2963
2964 2003-10-08  André Pönitz  <poenitz@gmx.net>
2965
2966         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2967           thing assignable.
2968         * text.C:
2969         * text2.C: adjust
2970
2971         * tabular.[Ch]: fix crash after 'row-insert'
2972
2973 2003-10-08  Angus Leeming  <leeming@lyx.org>
2974
2975         Fix doxygen warnings.
2976
2977         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2978         Remove CutAndPaste:: prefix from header file declaration.
2979
2980         * LColor.h (fill): remove LColor:: prefix from declaration.
2981
2982         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2983         use lyx::depth_type rather than Paragraph::depth_type so that
2984         header file and .C file match.
2985
2986         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2987
2988         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2989         * aspell.C: \file aspell_local.C -> \file aspell.C
2990         * gettext.C: \file gettext.C -> \file src/gettext.C
2991         * gettext.h: \file gettext.h -> \file src/gettext.h
2992         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2993         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2994         * text.C: \file text.C -> \file src/text.C
2995
2996         * toc.C: move comment so that doxygen is not confused.
2997
2998 2003-10-07  Angus Leeming  <leeming@lyx.org>
2999
3000         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3001
3002 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3003
3004         * aspell.C:
3005         * aspell_local.h: add forgotten std::string's.
3006
3007 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3008
3009         * LaTeXFeatures.C:
3010         * LyXAction.C:
3011         * factory.C:
3012         * lfuns.h:
3013         * lyxfunc.C:
3014         * text3.C: The Box patch. Fancybox support, minipage, parbox
3015
3016 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3017
3018         * CutAndPaste.h:
3019         * DepTable.h:
3020         * FloatList.h:
3021         * LaTeXFeatures.h:
3022         * ParagraphParameters.h:
3023         * TextCache.h:
3024         * Thesaurus.h:
3025         * bufferlist.h:
3026         * exporter.h:
3027         * importer.h:
3028         * lastfiles.h:
3029         * lyxfind.h:
3030         * lyxfont.h:
3031         * lyxlex.h:
3032         * lyxtextclasslist.h:
3033         * messages.h:
3034         * paragraph.h:
3035         * paragraph_pimpl.C:
3036         * textcursor.h: add <string> and other small fixes to make Lars'
3037         std::string patch compile with STLport.
3038
3039 2003-10-06  Angus Leeming  <leeming@lyx.org>
3040
3041         * LColor.h: Add missing #include <string>.
3042
3043 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * All most all file in all subdirs: Make <string> be the prefered
3046         way of getting to std::string, add using declarations.
3047
3048 2003-10-06  André Pönitz  <poenitz@gmx.net>
3049
3050         * metricsinfo.C: initialize LyXFont before changing attribute.
3051         (fixes the 'math in \emph is upright' bug)
3052
3053 2003-10-06  André Pönitz  <poenitz@gmx.net>
3054
3055         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3056
3057 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3058
3059         * graph.C:
3060         * paragraph_pimpl.C: Small fixes to build using STLport
3061
3062 2003-10-02  André Pönitz  <poenitz@gmx.net>
3063
3064         * lyxfunc.C:
3065         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3066
3067 2003-10-01  André Pönitz  <poenitz@gmx.net>
3068
3069         * factory.C: assert early
3070
3071 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * lyx_main.C: remove the global debug object
3074
3075         * debug.h: adjust for new debugstream
3076
3077         * debug.C: adjust for new debugstream and keep the global debug
3078         object here.
3079
3080 2003-09-22  Angus Leeming  <leeming@lyx.org>
3081
3082         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3083         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3084         an incomplete class LyXFont.
3085
3086 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * factory.C: bug fix in branches
3089
3090 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3091
3092         * lyxfunc.C (processKeySym): adjust
3093         (dispatch): adjust
3094         (dispatch): change arg name from ev to func, adjust
3095         (sendDispatchMessage): ditto
3096
3097         * lyx_main.C (defaultKeyBindings): adjust keybindings
3098         (deadKeyBindings): ditto
3099
3100         * kbsequence.C (addkey): return a FuncRequest
3101
3102         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3103
3104         * kbmap.C (bind): take a FuncRequest as arg, adjust
3105         (read): adjust
3106         (lookup): adjust
3107         (defkey): change to take a FuncRequest as arg, adjust
3108         (findbinding): take a FuncRequest as arg, adjust.
3109
3110         * funcrequest.h (operator=): added
3111
3112         * funcrequest.C (FuncRequest): default kb_action changed from
3113         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3114
3115         * buffer.C (dispatch): simplify
3116         (dispatch): adjust to take a FuncRequest as arg, adjust
3117
3118         * boost.C (assertion_failed): change assertion message slightly
3119
3120         * ToolbarBackend.C (read): simplify
3121
3122         * MenuBackend.C (binding): adjust call to findbinding, add a
3123         message if no binding is found.
3124         (read): simplify
3125         (expandToc): correct by adding a empty FuncRequest
3126
3127         * LyXAction.C: include <boost/assert.hpp>
3128         (isPseudoAction): delete function
3129         (LookupFunc): change name to...
3130         (lookupFunc): this. change return type to FuncRequest.
3131         (getActionName): take kb_action as arg, simplify
3132         (funcHasFlag): add an assert, simplify.
3133
3134 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * toc.C (action): return a FuncRequest, simplify
3137
3138         * lyxfunc.C (processKeySym): adjust
3139         (getStatus): delete version that takes an int.
3140         (getStatus): adjust
3141         (dispatch): delete version that takes action as int
3142         (dispatch): adjust
3143         (sendDispatchMessage): simplify and adjust
3144
3145         * funcrequest.C (getArg): take unsigned int as arg
3146
3147         * ToolbarBackend.C (read): adjust
3148         (add): delete version that takes func as a string.
3149         (getIton): take a FuncRequest as arg
3150
3151         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3152         action.
3153
3154         * MenuBackend.C (MenuItem): add a new construct that only takes a
3155         Kind, simplify the constructor use for submenus.
3156         (add): adjust
3157         (expandLastfiles): adjust
3158         (expandDocuments): adjust
3159         (expandFormats): adjust
3160         (expandFloatListInsert): adjust
3161         (expandFloatInsert): adjust
3162         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3163
3164         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3165         Remove class variables lyx_pseudo_map and lyx_arg_map
3166
3167         * LyXAction.C (searchActionArg): delete function
3168         (getPseudoAction): delete function
3169         (retrieveActionArg): delete function
3170         (LookupFunc): make it return kb_action, simplify.
3171         (getActionName): simplify
3172
3173         * factory.C (createInset): fix new bug
3174
3175 2003-09-19  Angus Leeming  <leeming@lyx.org>
3176
3177         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3178         masterFilename_ parameter in the include inset.
3179
3180         * factory.C (createInset): changes due to the changes to InsetInclude.
3181
3182 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3183
3184         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3185
3186 2003-09-18  Angus Leeming  <leeming@lyx.org>
3187
3188         * buffer.C:
3189         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3190         Inset::fillWithBibKeys.
3191         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3192
3193 2003-09-18  Angus Leeming  <leeming@lyx.org>
3194
3195         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3196         variables.
3197         (ctor): pass and store a 'Buffer const &'
3198         (buffer): new member function.
3199
3200         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3201         '*this' to the LaTeXFeatures ctor.
3202
3203 2003-09-18  Angus Leeming  <leeming@lyx.org>
3204
3205         * LColor.h:
3206         * lyxfont.C:
3207         * lyxfont.h:
3208         * lyxtext.h:
3209         * text.C: rename EnumLColor as LColor_color.
3210
3211 2003-09-18  Angus Leeming  <leeming@lyx.org>
3212
3213         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3214         remove #include "insets/insetbase.h" from cursor.h.
3215
3216 2003-09-18  Angus Leeming  <leeming@lyx.org>
3217
3218         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3219         InsetOld_code to remove #include "inset.h".
3220
3221         * iterators.C: add #include "insets/inset.h"
3222
3223 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3224
3225         * BufferView.C: remove more locking stuff that apparently doesn't
3226         do anything sensible.
3227
3228 2003-09-16  André Pönitz  <poenitz@gmx.net>
3229
3230         * paragraph.[Ch]:
3231         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3232           performance boost.
3233
3234 2003-09-16  Angus Leeming  <leeming@lyx.org>
3235
3236         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3237
3238         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3239         arg/return type.
3240
3241         * paragraph.h: remove #include "lyxfont.h". Forward declare
3242         LyXFont_size.
3243
3244 2003-09-16  Angus Leeming  <leeming@lyx.org>
3245
3246         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3247         of support/textutils.h.
3248         (isWord): move the contents of support/textutils.h's IsWordChar here.
3249
3250         * buffer.C:
3251         * lyxfind.C:
3252         * rowpainter.C:
3253         * text.C:
3254         * text2.C: add #include "paragraph.h".
3255
3256         * rowpainter.C:
3257         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3258
3259 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * main.C:
3262         * lyx_main.C:
3263         * lyx_cb.C:
3264         * buffer.C:
3265         * LaTeX.C: use namespace alias for lyx::support::os
3266
3267 2003-09-16  Angus Leeming  <leeming@lyx.org>
3268
3269         * bufferparams.C:
3270         * bufferview_funcs.C:
3271         * factory.C:
3272         * lyxfunc.C:
3273         * paragraph_pimpl.C:
3274         * rowpainter.C:
3275         * text.C: add #include "LColor.h".
3276
3277 2003-09-16  Angus Leeming  <leeming@lyx.org>
3278
3279         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3280         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3281         return LyXFont &.
3282         Store the FontBits::color variable as an int rather than as an
3283         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3284         file.
3285
3286         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3287         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3288         string calls together.
3289
3290         * lyxrc.C: add #include "LColor.h".
3291
3292 2003-09-15  Angus Leeming  <leeming@lyx.org>
3293
3294         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3295         a cow_ptr.
3296
3297 2003-09-15  Angus Leeming  <leeming@lyx.org>
3298
3299         * LColor.h: add an EnumLColor wrapper for LColor::color.
3300
3301         * lyxfont.[Ch] (color, setColor, realColor):
3302         * lyxtext.h, text.C (backgroundColor):
3303         pass EnumLColor args to/from the functions, rather than LColor::color
3304         ones.
3305
3306         * lyxfont.h:
3307         * lyxtext.h: forward declare EnumLColor.
3308
3309         * lyx_main.C: add #include "LColor.h".
3310
3311 2003-09-15  Angus Leeming  <leeming@lyx.org>
3312
3313         * .cvsignore: add lyx-gtk.
3314
3315 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * Chktex.C
3318         * LaTeX.C
3319         * LaTeXFeatures.C
3320         * ParagraphParameters.C
3321         * Spacing.C
3322         * buffer.C
3323         * bufferparams.C
3324         * bufferview_funcs.C
3325         * chset.C
3326         * counters.C
3327         * funcrequest.C
3328         * lyxfont.C
3329         * lyxgluelength.C
3330         * lyxlength.C
3331         * paragraph.C
3332         * paragraph_funcs.C
3333         * text3.C
3334         * vc-backend.C: remove usage of STRCONV
3335
3336 2003-09-15  Angus Leeming  <leeming@lyx.org>
3337
3338         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3339         explicitly define the color passed to the painter.
3340
3341 2003-09-15  Angus Leeming  <leeming@lyx.org>
3342
3343         * bufferparams.C (BufferParams): reorder member initializers to avoid
3344         compiler warning.
3345
3346 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3349         * text.C (updateRowPositions): remove an unusual nop
3350
3351 2003-09-12  André Pönitz  <poenitz@gmx.net>
3352
3353         * BufferView_pimpl.C:
3354         * Bullet.C:
3355         * layout.h:
3356         * lyxfunc.C:
3357         * lyxlayout.[Ch]:
3358         * lyxtextclass.C:
3359         * rowpainter.C:
3360         * text.C:
3361         * text2.C:
3362         * Counters.[Ch]: finish the 'automatic counters' job
3363
3364 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3365
3366         * aspell.C: include <boost/assert.cpp> (compile fix)
3367
3368 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3369
3370         * boost.C (assertion_failed): use lyx::support::abort instead of
3371         assert.
3372
3373 2003-09-10  Angus Leeming  <leeming@lyx.org>
3374
3375         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3376         with their _fwd progeny.
3377
3378 2003-09-09  Angus Leeming  <leeming@lyx.org>
3379
3380         134 files throughtout the source tree: replace 'using namespace abc;'
3381         directives with the appropriate 'using abc::xyz;' declarations.
3382
3383 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3384
3385         * boost.C (emergencyCleanup): moved here from LAssert.c
3386         (assertion_failed): new function, called by BOOST_ASSERT
3387
3388         * several files: change Assert to BOOST_ASSERT
3389
3390 2003-09-09  Angus Leeming  <leeming@lyx.org>
3391
3392         * buffer.[Ch]: Add an Impl class and move Buffer's member
3393         variables into it. As a result move several header files out of
3394         buffer.h.
3395
3396         Add header files to lots of .C files all over the tree as a result.
3397
3398 2003-09-09  Angus Leeming  <leeming@lyx.org>
3399
3400         * buffer.[Ch]: make Buffer's member variables private. Add
3401         accessor functions.
3402
3403         Lots of changes all over the tree as a result.
3404
3405 2003-09-08  Angus Leeming  <leeming@lyx.org>
3406
3407         * graph.C: #include <config.h>.
3408
3409 2003-09-08  Angus Leeming  <leeming@lyx.org>
3410
3411         * BranchList.C:
3412         * BufferView.C:
3413         * BufferView_pimpl.C:
3414         * CutAndPaste.C:
3415         * DepTable.C:
3416         * LaTeX.C:
3417         * LaTeXFeatures.C:
3418         * LyXAction.C:
3419         * MenuBackend.C:
3420         * TextCache.C:
3421         * aspell.C:
3422         * buffer.C:
3423         * bufferlist.C:
3424         * changes.C:
3425         * chset.C:
3426         * converter.C:
3427         * counters.C:
3428         * debug.C:
3429         * graph.C:
3430         * ispell.C:
3431         * lyx_cb.C:
3432         * lyxfind.C:
3433         * lyxfunc.C:
3434         * lyxlex_pimpl.C:
3435         * lyxrc.C:
3436         * lyxrow.C:
3437         * paragraph.C:
3438         * rowpainter.C:
3439         * texrow.C:
3440         * text.C:
3441         * text2.C:
3442         * toc.C: remove redundant using directives.
3443
3444 2003-09-07  Angus Leeming  <leeming@lyx.org>
3445
3446         * LaTeXFeatures.h: remove #include "support/types.h".
3447         * ToolbarBackend.h: remove #include <algorithm>.
3448         * changes.h: remove #include <ctime>.
3449         * debug.h: remove #include <iosfwd>.
3450         * graph.h: remove #include "support/std_string.h".
3451         * lyx_main.h: remove #include <csignal>.
3452         * lyxlex_pimpl.h: remove #include <fstream>.
3453         * sgml.h: remove #include <algorithm>, <utility>.
3454         * toc.h: remove #include "support/std_ostream.h".
3455         Add #include <iosfwd>.
3456
3457 2003-09-07  Angus Leeming  <leeming@lyx.org>
3458
3459         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3460
3461         * converter.h: forward declare LatexRunParams.
3462         * encoding.h: remove #include "lyxrc.h".
3463         * lyxtext.h: remove #include "LColor.h".
3464         * lyxtextclass.h: remove #include "support/types.h".
3465         * trans.h: remove #include "tex-accent.h".
3466         * trans_mgr.h: remove #include "tex-accent.h".
3467         * insets/inset.h: remove #include "support/types.h", <vector>.
3468         * insets/insetcollapsable.h: remove #include "LColor.h".
3469         * insets/insetinclude.h: remove #include "dimension.h".
3470         * insets/insetlatexaccent.h: remove #include "dimension.h".
3471         * insets/insetoptarg.h:: remove #include "insettext.h".
3472         * insets/insettext.h: remove #include "dimension.h",
3473         <boost/shared_ptr.hpp>
3474
3475         * insets/renderers.h: add #include "dimension.h".
3476         * insets/updatableinset.h: add #include "support/types.h".
3477
3478         * many .C files: Associated changes.
3479
3480 2003-09-06  Angus Leeming  <leeming@lyx.org>
3481
3482         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3483         one, inside testInvariant.
3484
3485         * PrinterParams.C: new file.
3486         * PrinterParams.[Ch]: move the function bodies out of line.
3487
3488 2003-09-06  Angus Leeming  <leeming@lyx.org>
3489
3490         * ParagraphParameters.h: forward declare ParameterStruct rather than
3491         including its header file.
3492         (depth): moved out-of-line.
3493
3494 2003-09-06  Angus Leeming  <leeming@lyx.org>
3495
3496         * BufferView_pimpl.h:
3497         * kbmap.h:
3498         * kbsequence.h:
3499         * lyxfunc.h: forward declare LyXKeySym rather than
3500         #include "frontends/LyXKeySym.h".
3501
3502         * BufferView_pimpl.C:
3503         * kbmap.C:
3504         * kbsequence.C:
3505         * lyxfunc.C: associated changes.
3506
3507 2003-09-06  Angus Leeming  <leeming@lyx.org>
3508
3509         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3510         As a result, can remove the #include "insets/inset.h" from BufferView.h
3511
3512 2003-09-06  Angus Leeming  <leeming@lyx.org>
3513
3514         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3515         As a result, can remove the #include "insets/inset.h" from BufferView.h
3516
3517 2003-09-06  Angus Leeming  <leeming@lyx.org>
3518
3519         * buffer_funcs.C:
3520         * buffer.h:
3521         * bufferlist.C:
3522         * BufferView.C:
3523         * bufferview_funcs.C:
3524         * BufferView_pimpl.C:
3525         * CutAndPaste.C:
3526         * lyx_cb.C:
3527         * lyxfunc.C:
3528         * paragraph.h:
3529         * ParagraphParameters.C:
3530         * tabular.C:
3531         * text3.C:
3532         * toc.C:
3533         * undo_funcs.C:
3534         * frontends/controllers/ControlDocument.C:
3535         * insets/insetcaption.C: rearrange the #includes into some sort of
3536         coherent order.
3537
3538         * buffer.h: remove #includes ErrorList.h, undo.h
3539
3540 2003-09-06  Angus Leeming  <leeming@lyx.org>
3541
3542         * support/types.h: add a 'depth_type' typedef, used to store the
3543         nesting depth of a paragraph.
3544
3545         * paragraph.h:
3546         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3547         defining explicitly.
3548
3549         * buffer.h:
3550         * paragraph_funcs.h:
3551         * ParagraphParameters.h:
3552         * sgml.h: use lyx::depth_type rather than Paragraph or
3553         ParameterStruct's depth_type.
3554
3555         * buffer.h
3556         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3557
3558         * BufferView.C:
3559         * BufferView_pimpl.C:
3560         * CutAndPaste.C:
3561         * ParagraphParameters.C:
3562         * buffer_funcs.C:
3563         * bufferlist.C:
3564         * bufferview_funcs.C:
3565         * lyx_cb.C:
3566         * lyxfunc.C:
3567         * tabular.C:
3568         * text3.C:
3569         * toc.C:
3570         * undo_funcs.C:
3571         * frontends/LyXView.C:
3572         * frontends/controllers/ControlDocument.C:
3573         * frontends/controllers/ControlErrorList.C:
3574         * insets/insetbibitem.C:
3575         * insets/insetbranch.C:
3576         * insets/insetcaption.C:
3577         * insets/insetcollapsable.C:
3578         * insets/insetenv.C:
3579         * insets/insetert.C:
3580         * insets/insetfloat.C:
3581         * insets/insetfoot.C:
3582         * insets/insetfootlike.C:
3583         * insets/insetnewline.C:
3584         * insets/insetquotes.C:
3585         * insets/insettabular.C:
3586         * insets/insettext.C:
3587         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3588
3589         * frontends/controllers/ControlChanges.C: #include "changes.h".
3590
3591 2003-09-06  Angus Leeming  <leeming@lyx.org>
3592
3593         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3594         than #including paragraph.h.
3595
3596         * ParagraphList.h:
3597         * RowList.h: deleted. Superfluous.
3598
3599         * CutAndPaste.h:
3600         * iterators.h:
3601         * lyxcursor.h:
3602         * lyxtext.h:
3603         * text_funcs.h:
3604         * undo.h:
3605         * undo_funcs.h:
3606         * insets/inset.h:
3607         * insets/insettext.h: use ParagraphList_fwd.h rather than
3608         ParagraphList.h.
3609
3610         * paragraph.h: don't forward declare ParagraphList.
3611
3612         * buffer.h:
3613         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3614         rather than ParagraphList.h. paragraph.h is still needed for the
3615         Paragraph::depth_type parameters.
3616
3617         * textcursor.h: enable it to compile stand-alone in light of the
3618         above changes.
3619
3620         * bufferview_funcs.C:
3621         * iterators.C:
3622         * lyxfunc.C:
3623         * lyxrow_funcs.C:
3624         * paragraph.C:
3625         * rowpainter.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C:
3629         * text_funcs.C:
3630         * textcursor.C:
3631         * undo.C:
3632         * frontends/controllers/ControlParagraph.C:
3633         * frontends/controllers/ControlTabular.C:
3634         * insets/insetmarginal.C:
3635         * insets/insetminipage.C:
3636         * insets/insetnote.C:
3637         * insets/insetoptarg.C: add header files needed to compile again.
3638
3639 2003-09-06  Angus Leeming  <leeming@lyx.org>
3640
3641         * RowList_fwd.h: new file, forward-declaring Row rather than
3642         #including lyxrow.h.
3643
3644         * lyxrow_funcs.h:
3645         * lyxtext.h:
3646         * paragraph.h:
3647         * insets/insettext.h: use it instead of RowList.h
3648
3649         * bufferview_funcs.C:
3650         * lyxfunc.C:
3651         * lyxrow_funcs.C:
3652         * paragraph.C:
3653         * rowpainter.C:
3654         * text.C:
3655         * text2.C:
3656         * text3.C: #include "RowList.h".
3657
3658 2003-09-05  Angus Leeming  <leeming@lyx.org>
3659
3660         * factory.C (createInset):
3661         * vspace.C (c-tor): replace sscanf call with an istringstream.
3662         * ispell.C: re-add missing HP/UX headers.
3663         * lyxserver.C: re-add missing  os2 headers.
3664
3665 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3666
3667         * BranchList.C:
3668         * graph.C:
3669         * ispell.C:
3670         * lastfiles.C:
3671         * lyx_cb.C:
3672         * lyxserver.C:
3673         * texrow.C:
3674         * text3.C: re-add missing system headers, needed for 2.95.2.
3675
3676 2003-09-05  Angus Leeming  <leeming@lyx.org>
3677
3678         Changes most place everywhere due to the removal of using directives
3679         from support/std_sstream.h.
3680
3681 2003-09-05  Angus Leeming  <leeming@lyx.org>
3682
3683         Replace LString.h with support/std_string.h,
3684         Lsstream.h with support/std_sstream.h,
3685         support/LIstream.h with support/std_istream.h,
3686         support/LOstream.h with support/std_ostream.h.
3687
3688         Changes resulting throughout the tree.
3689
3690 2003-09-05  Angus Leeming  <leeming@lyx.org>
3691
3692         * sgml.h: ensure that the header file can be compiled stand-alone.
3693         * *.C: strip out redundant #includes. (320 in total.)
3694
3695 2003-09-04  Angus Leeming  <leeming@lyx.org>
3696
3697         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3698         here (from getPackages).
3699
3700         * debug.[Ch]: add a new EXTERNAL tag.
3701
3702 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3703
3704         * text2.C (cursorEnd): simplify
3705         (setCursor): adjust
3706         (getColumnNearX): adjust
3707
3708         * text.C (computeBidiTables): adjust
3709         (fill): adjust
3710
3711         * rowpainter.C (paintChars): adjust
3712         (paintSelection): adjust
3713         (paintChangeBar): adjust
3714         (paintText): adjust
3715
3716         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3717         lastPos instead.
3718         (numberOfSeparators): adjust
3719
3720 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * LyXAction.C:
3723         * box.[Ch]:
3724         * lfuns.h:
3725         * lyxfunc.C:
3726         * text3.C: Restricts the mouse click functionality
3727         of insets like bibtex, include, toc and floatlist to the visible
3728         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3729         up the dialogs. Cursor has to be in front of the inset (i.e.
3730         start of row) for this to function.
3731
3732 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3733
3734         * bufferview_funcs.C (currentState): output row information
3735
3736 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3737
3738         * bufferview_funcs.C (currentState): output paragraph position
3739
3740 2003-09-04  Angus Leeming  <leeming@lyx.org>
3741
3742         * FloatList.h: move out #include "Floating.h".
3743         * LaTeX.h: move out #include "DepTable.h".
3744         * LyXAction.h: move out #include "funcrequest.h".
3745         * buffer.h: move out #include "author.h", "iterators.h".
3746         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3747         * lyx_main.h: move out #include "errorlist.h".
3748         * lyxfunc.h: move out #include "FuncStatus.h".
3749         * lyxtext: move out #include "lyxcursor.h".
3750         * paragraph_pimpl.h: move out #include "counters.h".
3751
3752 2003-09-03  Angus Leeming  <leeming@lyx.org>
3753
3754         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3755         preamble_snippets list, enabling us to add snippets to the preamble
3756         only if the snippet was not there already.
3757
3758 2003-09-04  Angus Leeming  <leeming@lyx.org>
3759
3760         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3761
3762 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3763
3764         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3765         update
3766
3767 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3768
3769         * BranchList.C: point fix, earlier forgotten
3770
3771 2003-09-02  Angus Leeming  <leeming@lyx.org>
3772
3773         * box.C (contains): renamed from 'contained' after a fantastic
3774         amount of hot air.
3775
3776 2003-09-02  John Levon  <levon@movementarian.org>
3777
3778         * BufferView.C:
3779         * lyxcursor.h:
3780         * lyxcursor.C:
3781         * lyxfunc.C:
3782         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3783
3784 2003-09-02  John Levon  <levon@movementarian.org>
3785
3786         * text2.C: simplification of cursorEnd(), including partial
3787         fix for bug 1376
3788
3789 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * buffer.C (readFile): add a space
3792
3793 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3796
3797 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * buffer.C (readFile): new function, take a filename and a
3800         ParagraphList::iterator
3801         (readFile): adjust
3802         (readFile): adjust, make it private. don't use setStream, make
3803         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3804         always contain the filename.
3805
3806         * BufferView.C (insertLyXFile): simplify and make it work for
3807         gzipped files.
3808
3809 2003-08-30  John Levon  <levon@movementarian.org>
3810
3811         * Makefile.am: fix dist (from Kayvan)
3812
3813 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * most files: change to use const Buffer refs
3816
3817 2003-08-27  André Pönitz  <poenitz@gmx.net>
3818
3819         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3820         on top of ownerPar().
3821
3822 2003-08-27  John Levon  <levon@movementarian.org>
3823
3824         * funcrequest.C: properly initialise POD members
3825
3826 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3827
3828         * lyxtext.h (top_y): move top_y from here
3829         * text.C:
3830         * text2.C:
3831         * text3.C:
3832         * BufferView.[Ch]:
3833         * BufferView_pimpl.[Ch]: to here
3834         * frontends/screen.C:
3835         * insets/insettabular.C:
3836         * insets/insettext.C: adjust
3837         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3838
3839 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * BufferView.[Ch]:
3842         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3843
3844 2003-08-26  André Pönitz  <poenitz@gmx.net>
3845
3846         * paragraph_func.[Ch] (outerPar): new function
3847
3848         * paragraph.C:
3849         * paragraph_funcs.C:
3850         * paragraph_funcs.h:
3851         * paragraph_pimpl.C:
3852         * text2.C: remove Inset::par_owner
3853
3854 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3855
3856         * lyxrow_funcs.C:
3857         * lyxtext.h:
3858         * text.C:
3859         * text2.C: eliminates the needFullRow/display() stuff
3860         altogether, putting the logic in metrics/draw in the insets.
3861
3862 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * text2.C (redoParagraphInternal, redoParagraphs):
3865         * text.C (redoParagraph): add a call to updateRowPositions at the
3866         end of each 'metrics-like' call. Remove all others.
3867         (getRow): remove the 'y-computing' version.
3868         (getRowNearY): do not compute nor return the real y. Solve the
3869         'y < 0' problem and simplify.
3870
3871 2003-08-22  Angus Leeming  <leeming@lyx.org>
3872
3873         * *.[Ch]: clean-up of licence and author blurbs.
3874         Also move config.h out of a few .h files and into a few .C files.
3875
3876 2003-08-22  André Pönitz  <poenitz@gmx.net>
3877
3878         * lyxrow.[Ch]: add x_ and *fill_ members
3879
3880         * lyxtext.h:
3881         * text.C:
3882         * rowpainter.C:
3883         * text2.C: adjust/remove prepareToPrint() calls
3884
3885 2003-08-22  André Pönitz  <poenitz@gmx.net>
3886
3887         * lyxrow.[Ch]: add  end_ member
3888
3889         * lyxrow_funcs.C: use LyXRow::end_
3890
3891         * lyxtext.h (singleWidth): add LyXFont parameter
3892
3893         * rowpainter.C:
3894         * text2.C: adjust LyXText::singleWidth() calls
3895
3896         * text.C (redoParagraph): simplify row breaking logic
3897
3898
3899 2003-08-19  André Pönitz  <poenitz@gmx.net>
3900
3901         * funcrequest.C: initialize button_ member
3902
3903         * text3.C:
3904         * rowpainter.[Ch]: interface consolidation
3905
3906 2003-08-18  André Pönitz  <poenitz@gmx.net>
3907
3908         * BufferView.C:
3909         * BufferView_pimpl.C:
3910         * lyxfind.C:
3911         * paragraph_funcs.C:
3912         * rowpainter.C:
3913         * text3.C: remove LyXScreen::draw() and fitCursor calls
3914
3915         * BranchList.h: remove spurious semicolons
3916
3917         * MenuBackend.C: fix branchlist related crash
3918
3919 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3920
3921         * BranchList.[Ch]:
3922         * InsetList.[Ch]:
3923         * LColor.[Ch]:
3924         * LyXAction.C:
3925         * Makefile.am:
3926         * MenuBackend.[Ch]:
3927         * bufferparams.[Ch]:
3928         * factory.C:
3929         * lfuns.h:
3930         * lyxfunc.C:
3931         * text3.C: implements the 'branch inset'
3932         idea. This allows the output of various versions of a document
3933         from a single source version, selectively outputing or suppressing
3934         output of parts of the text.
3935         This implementation contains a 'branch list editor' in a separate
3936         tab of the document settings dialog. Branches are user definable
3937         and have a "display colour" to distinguish them on-screen.
3938
3939         ColorHandler was somewhat cleaned up.
3940         (1) make possible a dynamically growing LColor list by allowing
3941         the graphic context cache to grow along (vector);
3942         (2) eliminate an IMHO unnecessary step in colour allocation.
3943
3944 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3945
3946         * BufferView_pimpl.C: compile fix
3947
3948 2003-08-15  André Pönitz  <poenitz@gmx.net>
3949
3950         * rowpainter.C: remove extra metrics calls
3951
3952         * lyxtext.h: merge the two constructors into a single one,
3953           pass reference to owner's par list
3954
3955         * BufferView_pimpl.C:
3956         * text.C:
3957         * text2.C: adjust
3958
3959 2003-08-15  André Pönitz  <poenitz@gmx.net>
3960
3961         * lyxrow_funcs.[Ch]:
3962         * lyxtext.h:
3963         * paragraph.h:
3964         * paragraph_funcs.C:
3965         * rowpainter.C:
3966         * text.C:
3967         * text2.C:
3968         * text3.C:
3969         * text_funcs.C: split LyXText::rowlist_ into individual
3970         Paragraph::rows_ chunks
3971
3972         * BufferView.[Ch]:
3973         * BufferView_pimpl.[Ch]:
3974         * lyxfind.C:
3975         * lyxtext.h:
3976         * text3.C: remove toggleSelection()
3977
3978 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3979
3980         * bufferlist.C: beautify two alerts (shorter text of buttons)
3981         * buffer.C: Remove redundant ' ' from message
3982         * tabular.h:
3983         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3984         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3985         rename VALIGN_CENTER to VALIGN_MIDDLE
3986
3987 2003-08-11  André Pönitz  <poenitz@gmx.net>
3988
3989         * lyxtext.h (getPar):
3990         * text.C: new function
3991
3992 2003-08-11  André Pönitz  <poenitz@gmx.net>
3993
3994         * Makefile.am:
3995         * tracer.[Ch]: remove unneeded files
3996
3997         * InsetList.[Ch]: remove resizeInsetsLyXText()
3998
3999         * lyxtext.h:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: merge insertParagraphs() and appendParagraph()
4003         remove breakAgain(), update()
4004
4005         * BufferView_pimpl.[Ch]:
4006         * bufferview_funcs.[Ch]:
4007         * lyxfunc.C:
4008         * paragraph.[Ch]:
4009         * rowpainter.C:
4010         * tabular.C: adjust after text & InsetList changes.
4011
4012 2003-08-08  André Pönitz  <poenitz@gmx.net>
4013
4014         * text.C (insertChar, backspace): replace rowlist fiddling
4015         with rebreak of full par
4016
4017         * lyxtext.h:
4018         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4019         checkParagraph, updateInset): removed
4020
4021 2003-08-07  André Pönitz  <poenitz@gmx.net>
4022
4023         * paragraph.C:
4024         * text3.C: merge some LFUN handlers, remove dead code
4025
4026 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4027
4028         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4029
4030 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * text2.C (DEPM): fix part of bug 1255 and 1256
4033
4034 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4035
4036         * BufferView_pimpl.C (workAreaDispatch): change to use
4037         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4038         that are no mouse related.
4039
4040 2003-08-05  André Pönitz  <poenitz@gmx.net>
4041
4042         * BufferView.[Ch]:
4043         * BufferView_pimpl.[Ch]:
4044         * bufferview_funcs.C:
4045         * text2.C:
4046         * text3.C: rip out "deep update"
4047
4048         * textcursor.[Ch] (last_sel_cursor): remove unused member
4049
4050 2003-08-04  André Pönitz  <poenitz@gmx.net>
4051
4052         * BufferView.[Ch]:
4053         * BufferView_pimpl.[Ch]:
4054         * ParagraphParameters.C:
4055         * bufferview_funcs.C:
4056         * lyx_cb.C:
4057         * lyxfind.C:
4058         * lyxfunc.C:
4059         * text.C:
4060         * text2.C:
4061         * text3.C: replace "complicated" BufferView::update(...) calls with
4062         simpler ones.
4063
4064         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4065
4066 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4067
4068         * Makefile.am (lyx_SOURCES): add paper.h
4069
4070 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4071
4072         * Makefile.am: move things around so that both lyx-qt and
4073         lyx-xforms can be built (according to --with-frontend). Then lyx
4074         is a symbolic link to lyx-[firstfrontend]
4075
4076 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4077
4078         * Always use std::endl with lyxerr
4079
4080 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4081
4082         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4083
4084 2003-08-01  André Pönitz  <poenitz@gmx.net>
4085
4086         * BufferView.[Ch]:
4087         * BufferView_pimpl.[Ch]:
4088         * lyxfunc.C:
4089         * text3.C: merge BufferView::repaint() and BufferView::update()
4090
4091 2003-08-01  José Matos  <jamatos@lyx.org>
4092
4093         * buffer.[Ch]: file_format is no longer a buffer data element.
4094
4095 2003-08-01  André Pönitz  <poenitz@gmx.net>
4096
4097         * BufferView.C:
4098         * lyxtext.h:
4099         * text.C:
4100         * text2.C: make redoParagraph more independent of current cursor
4101
4102         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4103         * text.C:
4104         * text2.C: remove unneeded members
4105
4106 2003-07-30  André Pönitz  <poenitz@gmx.net>
4107
4108         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4109
4110         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4111           create a single function...
4112
4113         * paragraph_funcs.C (moveItem): ... here.
4114
4115         * text.C:
4116           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4117
4118 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4119
4120         * LColor.[Ch]: Add comment and greyedout logical colors.
4121
4122 2003-07-30  André Pönitz  <poenitz@gmx.net>
4123
4124         * tabular.C: don't use Assert too heavily. This crashes where it
4125           shouldn't
4126
4127 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4130         is disabled (bug 1232)
4131
4132 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4133
4134         * factory.C: limited 'arg' scope
4135
4136 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4137
4138         * factory.C: fixed Note submenu issues
4139
4140 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4141
4142         * factory.C: submenu for Note/Comment/Greyedout
4143
4144 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4145
4146         * lyx_main.C (LyX):
4147         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4148
4149 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4150
4151         * LaTeXFeatures.C:
4152         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4153         greyedout. Patch provided by Jürgen Spitzmüller.
4154
4155 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4156
4157         * kbmap.C (read): fix error message when reading bind files
4158
4159 2003-07-29  Angus Leeming  <leeming@lyx.org>
4160
4161         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4162         certainly does not do what it purports to do. I am doing it, and
4163         us, a favour by killing it.
4164
4165 2003-07-28  José Matos  <jamatos@lyx.org>
4166
4167         * buffer.C (readBody, do_writeFile):
4168         * paragraph.C(readParagraph): \end_document replaces \the_end.
4169
4170 2003-07-29  André Pönitz  <poenitz@gmx.net>
4171
4172         * BufferView.[Ch]:
4173         * BufferView_pimpl.[Ch]:
4174         * lyxfunc.C:
4175         * text2.C:
4176         * text3.C:
4177         * textcursor.[Ch]: remove toggleToggle & Co
4178
4179 2003-07-28  José Matos  <jamatos@fep.up.pt>
4180
4181         * buffer.C (readParagraph):
4182         * params_func (readParToken, readParagraph):
4183         * paragraph.C (write): \layout -> \begin_layout.
4184
4185 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * lyxlex_pimpl.C (setFile): clean up slightly.
4188
4189         * bufferparams.h: add compressed var
4190
4191         * buffer_funcs.C (readFile): adjust for LyXLex change
4192         (newFile): ditto + simplify
4193
4194         * buffer.C (writeFile): handle writing of compressed files
4195
4196         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4197         Check if the file is compressed and set a bufferparm if so.
4198
4199         * Makefile.am (lyx_LDADD): remove explicit -lz
4200
4201 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4202
4203         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4204         makeDocBookFile): put the real LyX version in the first line of
4205         the file
4206
4207         * version.h:
4208         * version.C.in: remove lyx_docversion
4209
4210         * tabular.C (write_attribute): add a template-based version to
4211         write enums properly
4212
4213 2003-07-28  André Pönitz  <poenitz@gmx.net>
4214
4215         * lyxtext.h:
4216         * text.C:
4217         * text2.C:
4218         * text3.C: use doubles again for x-coordinates. They are needed.
4219
4220 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * messages.C (getLocaleDir): use lyx_localedir()
4223
4224         * lyxlex_pimpl.C (setFile): compress stuff
4225
4226         * buffer.C (writeFile): add some compression stuff
4227         (do_writeFile): new func, dont call expliti close... will this
4228         breake anything?
4229
4230         * Makefile.am (lyx_LDADD): add -lz
4231
4232 2003-07-28  José Matos  <jamatos@fep.up.pt>
4233
4234         * buffer.C: increment file format.
4235         * paragraph_funcs (readParagraph, readParToken):
4236         * paragraph.C (readParagraph): add \end_layout.
4237
4238 2003-07-27  Angus Leeming  <leeming@lyx.org>
4239
4240         * Makefile.am: remove special casing for configure-time setting of
4241         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4242
4243         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4244         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4245
4246 2003-07-26  André Pönitz  <poenitz@gmx.net>
4247
4248         * paragraph_func.[Ch]:
4249         * paragraph.C (realizeFont): inline it whereever it is used
4250
4251         * rowpainter.C:
4252         * text.C:
4253         * text2.C:
4254         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4255
4256
4257 2003-07-26  André Pönitz  <poenitz@gmx.net>
4258
4259         *       lyxtext.h:
4260         * text.C:
4261         * text2.C: get rid of LyXText::need_break_row
4262
4263 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * toc.[Ch]: put namespace toc inside namespace lyx
4266
4267         * MenuBackend.C (expandToc2): adjust for lyx::toc
4268         (expandToc): ditto
4269
4270         * lyxfunc.C (dispatch): adjust for lyx::find
4271
4272         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4273         lyx::find instead. Reorganize a bit.
4274         (LyXReplace): rename to replace
4275         (LyXFind): rename to find
4276
4277         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4278         (dispatch): ditto
4279
4280 2003-07-26  André Pönitz  <poenitz@gmx.net>
4281
4282         * text.C (setHeightOfRow): restrict scope of temporary variable
4283
4284         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4285           code (never has been used?)
4286
4287 2003-07-27  Asger Alstrup  <alstrup@local>
4288
4289         * text.C (fill): Optimise algorithm to exploit that we can reuse
4290         the LyXFont for many characters.
4291         (setHeightOfRow): Same thing.
4292         (rowBreakPoint): Same thing.
4293
4294 2003-07-26  Asger Alstrup  <alstrup@local>
4295
4296         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4297
4298         * text.C (singleWidth): Spurious font copying in hot-spot
4299         singleWidth avoided. Reorder tests for arabic for efficiency.
4300
4301         * text.C (fill): handle empty paragraphs better.
4302
4303 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4304
4305         * ispell.C:
4306         * encoding.h: add includes
4307
4308         * lyxrc.C: remove reading of bind files
4309
4310         * lyx_main.C (init): setup bindings and menus only if we have a
4311         gui.
4312
4313         * kbmap.C (read): new method. Do the actual reading of bind
4314         files.
4315
4316         * converter.C (dvipdfm_options):
4317         * bufferparams.C:
4318         * lyxrc.C (read):
4319         (output): adapt PAPER_* enums.
4320
4321         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4322
4323         * bufferparams.h: remove paper-related enums from there
4324
4325         * paper.h: New file. A trivial header file to hold paper-related
4326         enums. It should later expand to contain many paper-related
4327         horrors access.
4328
4329         * lyxrc.C: declare extern displayTranslator
4330
4331 2003-07-27  José Matos  <jamatos@fep.up.pt>
4332
4333         * tabular.[Ch] (linuxdoc): add support for tables and figures
4334         (linuxdoc).
4335
4336 2003-07-27  José Matos  <jamatos@fep.up.pt>
4337
4338         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4339         consistency in both functions.
4340         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4341
4342 2003-07-26  Asger Alstrup  <alstrup@local>
4343
4344         * rowpainter.C (paintRows): Change algorithm to work directly on
4345         the insets rather than asking every character in the document
4346         whether its an inset.
4347
4348 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4349
4350         * buffer.C (openFileWrite): factorize some code
4351
4352 2003-07-26  Angus Leeming  <leeming@lyx.org>
4353
4354         * lyx_cb.C:
4355         * lyx_main.[Ch]: replace occurances of system_tempdir with
4356         os::getTmpDir().
4357
4358 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * rename Inset to InsetOld
4361
4362 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4363
4364         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4365         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4366         which I think is a bit clearer. EDIT is gone, since it was
4367         premature optimisation, and broken for mathed anyway.
4368         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4369         with cursor positioning in insets as well (math insets still do not
4370         work, but that's a different story anyway.) It mysteriously
4371         crashes sometimes with undo in the first paragraph, but I'm fairly
4372         confident that this is a compiler bug.
4373
4374 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * paragraph.C (Paragraph): adjust for new clone return type
4377         (operator==): ditto
4378         (copyIntoMinibuffer): ditto
4379
4380 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4381
4382         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4383         by not having a special case, and always doing a full rebreak of
4384         the document after undo.
4385
4386 2003-07-23  Angus Leeming  <leeming@lyx.org>
4387
4388         * factory.C (createInset): InsetExternal::setParams now takes a
4389         Buffer const * arg.
4390
4391 2003-07-23  Angus Leeming  <leeming@lyx.org>
4392
4393         * factory.C (createInset): changed interface to the external and
4394         graphics mailers' string2params functions.
4395
4396 2003-07-23  Angus Leeming  <leeming@lyx.org>
4397
4398         * factory.C (createInset): pass a
4399         Buffer const * parameter to InsetExternalMailer's string2params.
4400
4401 2003-07-22  John Levon  <levon@movementarian.org>
4402
4403         * Thesaurus.h: include the right aiksaurus header
4404
4405 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4406
4407         * MenuBackend.C (expand): check menu shortcuts unconditionally
4408
4409 2003-07-21  Angus Leeming  <leeming@lyx.org>
4410
4411         * factory.C (createInset): pass a
4412         buffer_path parameter to InsetGraphicsMailer's string2params.
4413
4414 2003-07-21  Angus Leeming  <leeming@lyx.org>
4415
4416         * BufferView_pimpl.C (buffer):
4417         * buffer.C (d-tor):
4418         * lyx_main.C (LyX):
4419         * lyxfunc.C (dispatch):
4420         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4421         rather than the grfx shortcut.
4422
4423 2003-07-21  André Pönitz  <poenitz@gmx.net>
4424
4425         * rowpainter.C: remove unused variables
4426
4427         * tabular_funcs.C:
4428         * tabular_funcs.h: move to tabular.C
4429         * Makefile.am: adjust
4430
4431         * tabular.[Ch]: basic optical cleaning
4432
4433         * author.h: pass references, not values
4434
4435 2003-07-18  André Pönitz  <poenitz@gmx.net>
4436
4437         * lyxtext.h:
4438         * metricsinfo.C:
4439         * metricsinfo.h:
4440         * rowpainter.C:
4441         * text.C:
4442         * text2.C:
4443         * text3.C: two-phase drawing for InsetText and InsetTabular
4444         some float -> int changes.
4445
4446 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4447
4448         * lyx_main.C: fix the fix
4449
4450 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * lyx_main.C: fix a crash in batch mode if no files specified
4453         * converter.C: ws
4454
4455 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * format.[Ch] (papersize): moved to BufferParams
4458         * converter.[Ch] (dvips_options): moved to BufferParams
4459         (dvipdfm_options): moved to anon namespace
4460         * bufferparams.[Ch]: added above functions.
4461
4462 2003-07-17  André Pönitz  <poenitz@gmx.net>
4463
4464         * lyxtext.h:
4465         * rowpainter.C:
4466         * text2.C: don't call inset->update() anymore
4467
4468         * metricsinfo.[Ch]: add convenience constructor
4469
4470 2003-07-16  André Pönitz  <poenitz@gmx.net>
4471
4472         * lyxcursor.[Ch]:
4473         * lyxfunc.[Ch]:
4474         * text.C:
4475         * text2.C: replace the LyXCursor::irow_ member with
4476          on-demand computation of the value
4477
4478 2003-07-16  John Levon  <levon@movementarian.org>
4479
4480         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4481
4482 2003-07-15  André Pönitz  <poenitz@gmx.net>
4483
4484         * text.C:
4485         * text2.C: remove no more needed refresh_row
4486
4487 2003-07-15  André Pönitz  <poenitz@gmx.net>
4488
4489         * lyxtext.h:
4490         * rowpainter.C:
4491         * text2.C:
4492         * text3.C: refresh_status tristate -> need_update bool
4493
4494 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * lyxtext.h (init): remove reinit argument (act as if always true)
4497         * text2.C: adjust to that
4498
4499 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4500
4501         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4502         * text3.C: use it to delete selections in some cases
4503         (bugs 441, 673, 702, 954).
4504
4505 2003-07-14  André Pönitz  <poenitz@gmx.net>
4506
4507         * rowpainter.[Ch]: reduce interface
4508
4509 2003-07-14  André Pönitz  <poenitz@gmx.net>
4510
4511         * BufferView_pimpl.C:
4512         * text2.C: adjust after removing unused BufferView * argument
4513
4514 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * text2.C (init): fix a crash fired on resize
4517
4518 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4519
4520         * buffer.[Ch]: added new closing signal
4521         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4522         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4523         BufferView::Pimpl via the closing the signal
4524
4525 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * buffer.[Ch]: take out all bv-related from buffer
4528         * BufferView.C:
4529         * BufferView_pimpl.[Ch]: connect to new signals
4530         * CutAndPaste.C: removed useless asserts
4531         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4532         * lyxvc.[Ch]:
4533         * vc-backend.[Ch]:
4534         * lyxfunc.C: moved view-related funciontality from vc here
4535         * paragraph.C: removed outdated comments
4536         * text.C: ws
4537
4538 2003-07-10  André Pönitz  <poenitz@gmx.net>
4539
4540         * BufferView_pimpl.C:
4541         * tabular.h:
4542         * tabular_funcs.C:
4543         * text.C:
4544         * text2.C: remove InsetText::InnerCache, clean up consequences
4545
4546 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4547
4548         * ispell.C: fix two typos in error messages
4549
4550 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4551
4552         * Extend Note inset to other forms of annotation like Comment
4553         and Greyedout. Right button click gives dialog.
4554
4555         Files modified or added (+):
4556
4557         * insetnote.[Ch]
4558         * FormNote.[Ch]      +
4559         * ControlNote.[Ch]   +
4560         * form_note.fd       +
4561         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4562         frontends/controllers
4563         * xforms/Dialogs.C
4564         * factory.C
4565
4566 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4567
4568         * aspell.C: add missing namespace lyx::support
4569
4570 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * BufferView.[Ch] (newFile): Add
4573         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4574         * LaTeX.[Ch] (message): added this signal and use it
4575         * buffer.[Ch] (busy, message): added these signals and use them
4576         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4577         * converter.C:
4578         * exporter.C:
4579         * format.C:
4580         * importer.C: use buffer signals instead of direct bv calling
4581         * lyx_cb.[Ch] (ShowMessage): removed
4582         * lyx_main.C:
4583         * lyxfunc.C:
4584         * paragraph_funcs.C:
4585         * text2.C: use buffer signals
4586
4587 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * introduce namespace lyx::graphics
4590
4591 2003-07-02  André Pönitz  <poenitz@gmx.net>
4592
4593         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4594
4595 2003-07-01  André Pönitz  <poenitz@gmx.net>
4596
4597         * text.C:
4598         * text2.C:
4599         * text3.C:
4600         * text_funcs.[Ch]:
4601         * textcursor.h:
4602         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4603           text*.C to text_func.C
4604
4605 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * introduce namespace lyx::support
4608
4609 2003-06-30  André Pönitz  <poenitz@gmx.net>
4610
4611         * Chktex.C:
4612         * funcrequest.C:
4613         * lyxtext.h:
4614         * text.C: re-enable --with-included-string
4615
4616 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * textcursor.C: add <config.h>
4619
4620         * text.C (getWord): remove const from word_location arg
4621
4622         * lyxvc.C (getLogFile): fix const type order
4623
4624         * lyxtext.h: remove const from word_location arg, add arg name
4625
4626         * lyxlayout.h: currect type on labeltype.
4627
4628         * importer.C: correct \file
4629
4630         * converter.C (intToFormat): use std:: on ret val, ws changes
4631
4632         * bufferlist.h: correct \file
4633
4634         * buffer.C (makeLinuxDocFile): fix const type order
4635         (makeDocBookFile): ditto
4636         (fillWithBibKeys): use std:: on stdlib args.
4637
4638         * CutAndPaste.C: fix authors.
4639         (availableSelections): use std:: on return vector
4640
4641 2003-06-27  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView_pimpl.C:
4644         * bufferview_funcs.C:
4645         * lyxcursor.C:
4646         * lyxcursor.h:
4647         * lyxfunc.C:
4648         * lyxtext.h:
4649         * rowpainter.C:
4650         * text.C:
4651         * text2.C:
4652         * text3.C: remove LyXCursor::row_ member
4653
4654         * lyxtext.h:
4655         * text.C: rename fullRebreak() to partialRebreak() and implement
4656           a fullRebreak() that really bereks fully
4657
4658         * textcursor.h: new struct for cursor-related data
4659
4660 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4661
4662         * lyx_main.C (LyX): get full path of document loaded on the
4663         command line
4664
4665 2003-06-26  André Pönitz  <poenitz@gmx.net>
4666
4667         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4668           remove unused/broken operator>,<,>=.
4669
4670         *       text.C: remove only use of broken operator<= in an Assert().
4671
4672 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4675         moved errorlist_.clear to showErrorList
4676
4677 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4678
4679         * converter.C (scanLog, runLaTeX):
4680         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4681         move the bv->showErrorList call to the callers
4682         * lyxfunc.C: i.e. here...
4683         * text2.C: and here
4684         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4685         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4686         namespace, the second to...
4687         * buffer_funcs (BufferFormat, parseErrors): added
4688         * errorlist.C (ErrorList(TeXErrors const &)): removed
4689
4690 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4691
4692         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4693
4694 2003-06-24  "Garst R. Reese" <reese@isn.net>
4695
4696         * debug.C: fix typo
4697
4698 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4699
4700         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4701
4702         * version.C.in: change docversion to 1.4
4703
4704 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4705
4706         * buffer.C: fix a bug just introduced
4707
4708 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * buffer.[Ch]: added the parseError signal and use it, removed
4711         sgmlError
4712         * BufferView.[Ch] (addError): moved to ...
4713         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4714         to the Buffer::parseError signal to catch (guess what) parse errors
4715         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4716
4717 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4720         ability to create a buffer and to return an existing one from
4721         the list. Moved these functions to...
4722         * buffer_funcs.[Ch]: added
4723         * BufferView.[Ch] (loadLyXFile): added
4724         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4725         job removed from bufferlist::loadLyXFile.
4726         * buffer.C (setReadOnly): make it work without view
4727         (i.e added an if (users))
4728
4729 2003-06-19  Angus Leeming  <leeming@lyx.org>
4730
4731         * lfuns.h:
4732         * LyXAction.C (init):
4733         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4734         with LFUN_DIALOG_SHOW <name> <data>.
4735
4736 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4737
4738         * CutAndPaste.C (availableSelections): small compilation fix for
4739         ancient (gcc 2.9x) compilers
4740
4741 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text3.C (cursorNext): add tmp var
4744
4745         * text2.C (updateCounters): for function calling out of for clause
4746         (replaceSelectionWithString): ditto
4747         (insertStringAsParagraphs): ditto
4748         (getColumnNearX): add tmp var
4749         (setCursorFromCoordinates): add tmp var
4750         (cursorDownParagraph): add tmp var
4751         (deleteEmptyParagraphMechanism): add tmp var
4752
4753         * text.C (insertChar): add tmp var
4754
4755         * rowpainter.C (paintDepthBar): add tmp var
4756
4757         * CutAndPaste.C (availableSelections): potentially check all
4758         paragraphs in a cut to fill the shown strings.
4759
4760 2003-06-18  André Pönitz  <poenitz@gmx.net>
4761
4762         * kbmap.[Ch]: use vector<> instead of list<>
4763
4764 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4765
4766         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4767         pasteSelection with index
4768
4769         * text2.C (pasteSelection): modify, call pasteSelection with index
4770
4771         * paragraph.C (asString): reimplement version with no interval to
4772         call the one with interval.
4773
4774         * lyxtext.h: add index arg to pasteSelection
4775
4776         * MenuBackend.C (MenuItem): handle PasteRecent
4777         (Menu::read::Menutags): add md_pasterecent
4778         (read): handle it
4779         (expandPasteRecent): new function
4780         (expand): use it
4781
4782         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4783
4784         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4785         the limited stack
4786         (availableSelections): new function
4787
4788 2003-06-17  Angus Leeming  <leeming@lyx.org>
4789
4790         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4791
4792 2003-06-17  Angus Leeming  <leeming@lyx.org>
4793
4794         * lfuns.h:
4795         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4796
4797         * lyxfunc.C (dispatch): invoke it.
4798
4799 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4800
4801         * iterators.C (operator++, ParPosition): reintroduce some
4802         const_cast for the benefit of older compilers.
4803
4804 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4805
4806         * text3.C (dispatch): do not modify clipboard when doing
4807         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4808         LFUN_DELETE_SKIP on a selection selection
4809
4810 2003-06-16  André Pönitz  <poenitz@gmx.net>
4811
4812         * BufferView.C:
4813         * buffer.C:
4814         * buffer.h:
4815         * paragraph.C:
4816         * tabular.[Ch]: IU of clone() and getLabelList();
4817
4818 2003-06-13  André Pönitz  <poenitz@gmx.net>
4819
4820         * tabular.h: compactification
4821
4822 2003-06-12  André Pönitz  <poenitz@gmx.net>
4823
4824         * tabular.C:
4825         * tabular.h:
4826         * tabular_funcs.h: some renaming plus whitespace
4827
4828 2003-06-12  André Pönitz  <poenitz@gmx.net>
4829
4830         * BufferView.C:
4831         * BufferView_pimpl.C:
4832         * CutAndPaste.C:
4833         * buffer.C:
4834         * iterators.[Ch]:
4835         * lyxfunc.C:
4836         * text.C:
4837         * toc.C: Return a Paragraph & for ParIterator::operator*()
4838
4839 2003-06-11  John Levon  <levon@movementarian.org>
4840
4841         * lyx_main.C:
4842         * ToolbarBackend.h:
4843         * ToolbarBackend.C: add "Toolbars" section and
4844         put the flags there
4845
4846 2003-06-10  Angus Leeming  <leeming@lyx.org>
4847
4848         * lfuns.h:
4849         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4850
4851         * lyxfunc.C (dispatch): invoke it.
4852
4853 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * main.C: protect <ios> with HAVE_IOS
4856         (main): protect sync_with_stdio with HAVE_IOS
4857
4858 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4859
4860         * text2.C (cutSelection): adjust
4861         (pasteSelection): adjust
4862
4863         * messages.C: handle get of empty string
4864
4865         * main.C (main): use sync_with_stdio(false)
4866
4867         * lyxfunc.C (dispatch): adjust
4868
4869         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4870         (WriteAs): remove unneeded BufferView arg.
4871
4872         * bufferparams.h: use correct types on papersize, papersize2 and
4873         paperpackage.
4874
4875         * bufferparams.C (readToken): adjust for type
4876         (writeLaTeX): add missing cases to switch.
4877
4878         * bufferlist.C (quitWriteBuffer): adjust
4879         (close): adjust
4880
4881         * buffer.C (asciiParagraph): remove some commented code.
4882
4883         * CutAndPaste.C: remove current_view extern variable.
4884         (cutSelection): add BufferParams arg.
4885         (eraseSelection): add BufferParams arg.
4886         (pasteSelection): add Buffer const & arg
4887
4888 2003-06-07  John Levon  <levon@movementarian.org>
4889
4890         * buffer.C:
4891         * paragraph_funcs.C:
4892         * paragraph_pimpl.C:
4893         * text.C:
4894         * text2.C:
4895         * paragraph.h:
4896         * paragraph.C: allow InsetERT to freely space lines,
4897         and some consolidation of code
4898
4899 2003-06-06  José Matos  <jamatos@fep.up.pt>
4900
4901         * buffer.C (makeDocBookFile): fix bug #821
4902
4903 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4904
4905         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4906
4907 2003-06-04  Angus Leeming  <leeming@lyx.org>
4908
4909         * buffer.C: bump format to 224.
4910
4911 2003-06-05  André Pönitz  <poenitz@gmx.net>
4912
4913         * text2.C (redoParagraphs): remove two const_cast<>
4914
4915 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4916
4917         * ParagraphList.h: remove last remnants of NO_STD_LIST
4918
4919 2003-06-03  Angus Leeming  <leeming@lyx.org>
4920
4921         * factory.C (createInset): small change to the way InsetExternal's params
4922         are set.
4923
4924 2003-06-04  André Pönitz  <poenitz@gmx.net>
4925
4926         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4927
4928         * paragraph_pimpl.h:
4929         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4930
4931         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4932
4933         * undo_funcs.C: make some simple cases of undo work again
4934
4935 2003-06-03  John Levon  <levon@movementarian.org>
4936
4937         * ispell.C: HPUX doesn't have sys/select.h
4938         (from Albert Chin)
4939
4940 2003-06-03  John Levon  <levon@movementarian.org>
4941
4942         * CutAndPaste.C: update tabular and include inset
4943         buffer references
4944
4945         * buffer.h:
4946         * paragraph.h:
4947         * paragraph.C: remove owningBuffer(), don't pass Buffer
4948         to clone()
4949
4950         * factory.C: insetGraphicsParams changed
4951
4952 2003-06-02  John Levon  <levon@movementarian.org>
4953
4954         * LyXAction.C:
4955         * factory.C:
4956         * lfuns.h:
4957         * lyxfunc.C:
4958         * text3.C: remove insetparent
4959
4960 2003-06-02  John Levon  <levon@movementarian.org>
4961
4962         * buffer.h:
4963         * buffer.C: fix inset_iterator.end(), move out of line
4964         (bug 1149)
4965
4966 2003-06-01  John Levon  <levon@movementarian.org>
4967
4968         * text3.C: use a proper cut/paste when doing inset
4969         insert (from Jürgen Spitzmüller)
4970
4971 2003-06-01  John Levon  <levon@movementarian.org>
4972
4973         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4974
4975 2003-05-30  André Pönitz  <poenitz@gmx.net>
4976
4977         * rowpainter.C: unify second drawing phase
4978
4979 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * trans_mgr.C: remove one case of current_view
4982
4983         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4984
4985         * paragraph_funcs.h: remove paragraph.h include
4986
4987         * paragraph.h: delete NO_STD_LIST stuff
4988
4989         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4990
4991         * buffer.h: remove paragraph.h include
4992
4993         * ParagraphList.C: delete file
4994
4995         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4996
4997         * toc.C (getTocList): adjust
4998
4999         * paragraph_pimpl.C (validate): adjust
5000
5001         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5002
5003         * paragraph.C (Paragraph): adjust
5004         (getPositionOfInset): use const_iterator, adjust
5005         (bibitem): use const_iterator, adjust
5006         (setInsetOwner): adjust
5007
5008         * iterators.C (operator++): adjust
5009
5010         * InsetList.[Ch]: Replace selfmade iterator with standard
5011         vector::iterator also introduce const_iterator. Remove getPos,
5012         getInset and setInset from InsetTable. Adjust accordingly.
5013
5014         * BufferView.C (lockInset): adjust
5015         (ChangeInsets): adjust
5016
5017         * tabular.[Ch]: delete commented same_id functions
5018
5019 2003-05-28  John Levon  <levon@movementarian.org>
5020
5021         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5022
5023 2003-05-28  André Pönitz  <poenitz@gmx.net>
5024
5025         * metricsinfo.[Ch]: remove 'fullredraw' member
5026
5027 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5028
5029         * lyxtextclass.C (operator): remove caching.
5030
5031 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * text3.C: adjust
5034
5035         * text2.C (cursorBottom): adjust
5036         (setCounter): use ParagraphList::find, adjust
5037
5038         * text.C (workWidth): use ParagraphList::find, adjust
5039
5040         * lyxcursor.C (LyXCursor): adjust
5041
5042         * buffer.C (inset_iterator): adjust
5043
5044         * ParagraphList.h: make iterator(value_type) private, make
5045         ParagraphList a friend of iterator.
5046
5047         * ParagraphList.C (find): new function
5048
5049         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5050
5051 2003-05-27  André Pönitz  <poenitz@gmx.net>
5052
5053         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5054
5055 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5056
5057         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5058
5059 2003-05-26  John Levon  <levon@movementarian.org>
5060
5061         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5062
5063 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * remove same_id from function signatures, adjust.
5066
5067 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5070
5071         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5072
5073         * paragraph.C (Paragraph): get rid of same_ids parameter
5074
5075         * ParagraphList.C (insert): adjust
5076         (push_back): adjust
5077
5078 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * paragraph_funcs.C (breakParagraph): adjust
5081         (breakParagraphConservative): adjust
5082
5083         * buffer.C (readParagraph): adjust
5084
5085         * ParagraphList.C (insert): take a reference instead of a pointer
5086         (insert): adjust
5087
5088         * paragraph.[Ch] (id): new function
5089
5090         * bufferlist.C (newFile): adjust
5091
5092         * ParagraphList.C (ParagraphList): adjust
5093         (assign): adjust
5094         (push_back): take a reference instead of a pointer.
5095
5096         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5097
5098         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5099         instead.
5100
5101         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5102         set else use old code.
5103
5104         * ParagraphList.C: remove all NO_NEXT code and only compile this
5105         code of NO_STD_LIST is set.
5106
5107 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5108
5109         * BufferView_pimpl.C:
5110         * TextCache.C:
5111         * TextCache.h:
5112         * bufferlist.C:
5113         * errorlist.h:
5114         * format.C:
5115         * format.h:
5116         * graph.C:
5117         * lyxfunc.C:
5118         * lyxrc.C:
5119         * graphics/GraphicsConverter.C:
5120         * graphics/PreviewLoader.C: header adjustment
5121
5122 2003-05-23  Angus Leeming  <leeming@lyx.org>
5123
5124         * LaTeXFeatures.[Ch] (useBabel): new method.
5125         * bufferparams.C (writeLaTeX): use it.
5126
5127 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * ParagraphList.h (set): remove unused function.
5130
5131 2003-05-23  André Pönitz  <poenitz@gmx.net>
5132
5133         * BufferView.C:
5134         * BufferView_pimpl.C:
5135         * buffer.C:
5136         * buffer.h:
5137         * lyxfunc.C:
5138         * undo_funcs.C: setUndo reworked
5139
5140         * iterators.[Ch]: add access to topmost ParagraphList
5141
5142         * lyxtext.[Ch] (workWidth): add a const
5143
5144 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * texrow.[Ch] (increasePos): remove function
5147         * exporter.C (export): removed unused var and outdated comment
5148
5149 2003-05-23  Angus Leeming  <leeming@lyx.org>
5150
5151         * latexrunparams.h: rename fragile as moving_arg.
5152         * paragraph.C (simpleTeXOnePar): ditto.
5153         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5154
5155 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5158         (createUndo): ditto
5159         (textUndoOrRedo): comment out a currently unused var.
5160
5161         * paragraph.h (NO_NEXT): enable NO_NEXT
5162
5163         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5164
5165         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5166
5167         * exporter.C (Export): adjust for removeAutoInsets removal.
5168
5169         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5170
5171         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5172
5173         * BufferView.[Ch] (removeAutoInsets): delete function
5174
5175 2003-05-22  Angus Leeming  <leeming@lyx.org>
5176
5177         * latexrunparams.h: add a free_spacing variable.
5178
5179         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5180         to pass moving_arg, as the data is stored in runparams.fragile.
5181
5182         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5183         to Inset::latexOptional or to simpleTeXOnePar.
5184
5185         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5186         free_spacing arg to Inset::latexOptional.
5187
5188         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5189         free_spacing arg.
5190
5191 2003-05-22  Angus Leeming  <leeming@lyx.org>
5192
5193         * latexrunparams.h: add fragile and use_babel variables.
5194
5195         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5196         * buffer.C (makeLaTeXFile): store this returned value in
5197         runparams.use_babel, thus passing it to the inset::latex methods.
5198
5199         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5200         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5201
5202         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5203         longer has a fragile arg, as it is stored in runparams.fragile.
5204
5205         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5206         moving_arg parameter as the data is stored in runparams.fragile.
5207
5208         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5209         a fragile parameter as the data is stored in runparams.fragile.
5210
5211 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5214
5215 2003-05-22  Angus Leeming  <leeming@lyx.org>
5216
5217         * latexrunparams.h: add a 'bool nice' which defaults to false.
5218
5219         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5220         now encapsulated within runparams.
5221
5222         * bufferlist.C (updateIncludedTeXfiles):
5223         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5224
5225 2003-05-22  Angus Leeming  <leeming@lyx.org>
5226
5227         * latexrunparams.h: new file containing struct LatexRunParams.
5228         * Makefile.am: add new file.
5229
5230         * LaTeX.[Ch] (c-tor, run):
5231         * buffer.[Ch] (makeLaTeXFile):
5232         * bufferlist.[Ch] (updateIncludedTeXfiles):
5233         * converter.C (convert, scanLog):
5234         * converter.[Ch] (runLaTeX):
5235         * exporter.C (Export):
5236         * paragraph.[Ch] (simpleTeXOnePar):
5237         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5238         * paragraph_funcs.[Ch] (latexParagraphs):
5239         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5240         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5241         pass around a LatexRunParams parameter.
5242
5243 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * paragraph.[Ch]: remove unused constructor
5246
5247         * ParagraphList.C (erase): new function, taking two iterators
5248
5249 2003-05-22  André Pönitz  <poenitz@gmx.net>
5250
5251         * undo_funcs.C: remove duplicated code
5252
5253         * iterator.[Ch]: operator=
5254
5255 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5256
5257         * tabular.C (SetMultiColumn): ws changes
5258
5259         * rowpainter.C (paintFirst): get rid of a ->previous
5260
5261         * lyx_cb.C (getPossibleLabel): parlist simplification
5262
5263         * BufferView.C (ChangeInsets): simplify slightly.
5264
5265 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5266
5267         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5268         * lfuns.h: new LFUN_SPACE
5269         * lyxfunc.C: protected space has a new lfun
5270         * paragraph_funcs.C: read new space insets
5271         * text3.C:
5272         * factory.C: handle new space insets
5273
5274 2003-05-22  André Pönitz  <poenitz@gmx.net>
5275
5276         * BufferView.C:
5277         * BufferView_pimpl.C:
5278         * buffer.[Ch]:
5279         * lyxfunc.C:
5280         * undo_funcs.C: return a ParIterator from getParFromID.
5281
5282         * iterators.[Ch]: add two const's
5283
5284 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * toc.C (getTocList): adjust
5287
5288         * iterators.[Ch]: rework for parlist
5289
5290         * buffer.C (par_iterator_begin): adjust
5291         (par_iterator_end): adjust
5292
5293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5294
5295         * BufferView.C (removeAutoInsets): adjust
5296         (ChangeInsets): adjust
5297
5298 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * text.C (top_y): fix bug 1110
5301
5302 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5303
5304         * errorlist.[Ch]: added
5305         * buffer.C:
5306         * BufferView.[Ch]:
5307         * BufferView_pimpl.C:
5308         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5309         instead
5310
5311 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5312
5313         * Makefile.am: ensure that lyx is relinked upon changes to the
5314         various "convenience" libs.
5315
5316 2003-05-20  Angus Leeming  <leeming@lyx.org>
5317
5318         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5319         files are compiled in alphabetical order again.
5320
5321         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5322
5323 2003-05-19  Angus Leeming  <leeming@lyx.org>
5324
5325         * gettext.[Ch]: remove "char const * _(char const *)".
5326
5327 2003-05-19  André Pönitz  <poenitz@gmx.net>
5328
5329         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5330
5331         * Makefile.am:
5332         * BufferView.C:
5333         * DepTable.h:
5334         * LaTeXFeatures.C:
5335         * buffer.C:
5336         * lyxfont.C:
5337         * lyxlex.h:
5338         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5339
5340 2003-05-19  André Pönitz  <poenitz@gmx.net>
5341
5342         * buffer.C:
5343         * lyxlayout.[Ch]:
5344         * lyxtextclass.[Ch]:
5345         * paragraph.C:
5346         * paragraph_funcs.[Ch]:
5347         * text2.C:
5348         * text3.C: more insetenv work
5349
5350 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * ParagraphParameters.C (params2string): small bug fixed
5353
5354 2003-05-16  André Pönitz  <poenitz@gmx.net>
5355
5356         * debug.C:
5357         * bufferview_funcs.C: patch from Kornel Benko to prevent
5358           crash when _(...) is called twice in a statement
5359
5360 2003-05-16  André Pönitz  <poenitz@gmx.net>
5361
5362         * BufferView.C:
5363         * lyxfunc.C:
5364         * text.C:
5365         * text2.C:
5366         * text3.C:
5367         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5368
5369 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * lyx_main.C (init): remove spurious static_cast
5372
5373 2003-05-14  André Pönitz  <poenitz@gmx.net>
5374
5375         * BufferView.C: fix format string
5376
5377 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * BufferView.[Ch] (insertErrors): removed
5380         * BufferView.[Ch] (showErrorList): added
5381         * buffer.C (runChkTeX):
5382         * converter.C (scanLog): call showErrorList instead of inserterrors
5383
5384 2003-05-13  André Pönitz  <poenitz@gmx.net>
5385
5386         * BufferView_pimpl.C:
5387         * buffer.C:
5388         * bufferview_func.C:
5389         * MenuBackend.C:
5390         * lyxfunc.C:
5391         * lyxrc.C:
5392         * tex-accent.C:
5393         * text3.C:
5394         * toc.C:
5395         * tabular_funcs.h: tostr() from its own header
5396
5397         * ParagraphParameters.C:
5398         * ToolbarBackend.C:
5399         * bufferparams.C:
5400         * format.C:
5401         * lyxlex_pimpl.C:
5402         * text3.C: STRCONV()
5403
5404 2003-05-12  André Pönitz  <poenitz@gmx.net>
5405
5406         * BufferView.C:
5407         * BufferView_pimpl.C:
5408         * CutAndPaste.C:
5409         * LaTeX.C:
5410         * LaTeXFeatures.C:
5411         * ParagraphParameters.C:
5412         * buffer.C:
5413         * bufferlist.C:
5414         * bufferparams.C:
5415         * bufferview_funcs.C:
5416         * converter.C:
5417         * counters.C:
5418         * debug.C:
5419         * exporter.C:
5420         * format.C:
5421         * importer.C:
5422         * lyx_cb.C:
5423         * lyx_main.C:
5424         * lyxfont.C:
5425         * lyxfunc.C:
5426         * lyxvc.C:
5427         * paragraph.C:
5428         * paragraph_funcs.C:
5429         * tabular.C:
5430         * tabular_funcs.C:
5431         * text2.C:
5432         * text3.C:  boost::format -> bformat  all over the place
5433
5434
5435 2003-05-09  André Pönitz  <poenitz@gmx.net>
5436
5437         * LColor.[Ch]: Pimpl the #include <map> away
5438
5439 2003-05-09  John Levon  <levon@movementarian.org>
5440
5441         * bufferlist.C: never remove emergency saves
5442
5443 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * Makefile.am: better lib building
5446
5447 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5450         instead.
5451         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5452         (simpleTeXSpecialChars): adjust
5453         (simpleTeXSpecialChars): adjust
5454         * paragraph.C (simpleTeXOnePar): adjust
5455         * buffer.C (makeLaTeXFile): adjust
5456
5457         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5458
5459         * text2.C (changeDepth): parlist cleanup
5460         (getColumnNearX): ditto
5461
5462         * rowpainter.C (getLabelFont): parlist cleanup
5463
5464         * bufferlist.C (newFile): parlist cleanup
5465
5466         * CutAndPaste.C (eraseSelection): parlist cleanup
5467
5468         * BufferView_pimpl.C (trackChanges): parlist cleanup
5469         (dispatch): ditto
5470
5471         * BufferView.C (lockInset): parlist cleanup.
5472         (ChangeInsets): ditto
5473
5474 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * CutAndPaste.h: Update file header.
5477
5478         * CutAndPaste.C: Update file header.
5479         Store the parts cut out of the Document in a limited_stack.
5480         (copySelection): adjust
5481         (pasteSelection): new function, takes the index in the limited stack.
5482         (nrOfParagraphs): adjust
5483         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5484         simplify error inset insertion.
5485         (checkPastePossible): adjust
5486
5487 2003-05-06  John Levon  <levon@movementarian.org>
5488
5489         * text2.C: don't cast wrap inset to float
5490
5491 2003-05-05  André Pönitz  <poenitz@gmx.net>
5492
5493         * iterator.C:
5494         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5495
5496         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5497           few naked Paragraph *.
5498
5499 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5500
5501         * bufferparams.C: Output warning if a document with missing
5502         TeX document class is loaded
5503         * exporter.C: Disable TeX exports if the document class is missing
5504         * lyxtextclass.C:
5505         * lyxtextclass.h:
5506         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5507         isTeXClassAvailable()
5508
5509 2003-05-03  John Levon  <levon@movementarian.org>
5510
5511         * BufferView.h:
5512         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5513         explicit cursor show/hide
5514
5515         * BufferView_pimpl.h:
5516         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5517         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5518
5519         * lyxfunc.C: hide cursor before dispatching.
5520
5521         * lyx_cb.C:
5522         * lyxfind.C:
5523         * text.C:
5524         * text3.C: remove explicit cursor hides
5525
5526 2003-05-02  André Pönitz  <poenitz@gmx.net>
5527
5528         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5529
5530         * undo_funcs.C:
5531         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5532           linked lists
5533
5534         * text2.C: tiny whitespace
5535
5536 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * undo_funcs.C: almost only ws changes.
5539
5540         * ParagraphList.C (splice): just return if pl is empty.
5541
5542 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * ParagraphList.C (splice): new function.
5545
5546         * CutAndPaste.C (pasteSelection): use it
5547
5548 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * CutAndPaste.C (pasteSelection): remove the last next and
5551         previous from this file.
5552
5553 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * CutAndPaste.C (pasteSelection): more clean up, user proper
5556         ParagraphList functions for pasteing.
5557
5558         * ParagraphList.C (insert): new function, three arg insert
5559
5560 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * ParagraphList.C (insert): new function, three arg insert
5563
5564         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5565         not on paragraphs.
5566
5567 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5570
5571 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5574
5575 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5578         (copySelection): clean up a bit.
5579         (pasteSelection): use make_pair
5580
5581         * ParagraphList.C (ParagraphList): implement copy constructor
5582         (operator=): implement, base on copy constructor.
5583         (assign): new func
5584
5585         * paragraph.C (erase): return a bool
5586
5587         * paragraph_pimpl.C (erasePos): remove function, move contents...
5588         (erase): ... here. Return a bool.
5589         (erase): call erase instead of erasePos.
5590
5591 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5592
5593         * ParagraphList.h: define PitPosPair
5594         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5595         ParagraphList, fix a bug on pasting multiple pars
5596         * text2.C: change interface to C&P
5597
5598 2003-04-30  André Pönitz  <poenitz@gmx.net>
5599
5600         * undo_func.C: revert part of yesterday's patch 2
5601
5602 2003-04-30  John Levon  <levon@movementarian.org>
5603
5604         * LColor.C: s/tabular/table/
5605
5606 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * text3.C (dispatch): do not convert iterator -> pointer
5609         * undo_funcs.C (setCursorParUndo): ditto
5610         * text_funcs.C (transposeChars): ditto
5611
5612         * text2.C (setLayout): ws changes only
5613
5614         * text.C (breakParagraph): do not convert iterator -> pointer
5615         (insertChar): ditto
5616         (acceptChange): ditto
5617         (rejectChange): ditto
5618         (changeCase): ditto
5619         (Delete): ditto
5620         (backspace): ditto
5621
5622         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5623         pointer
5624
5625 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * text3.C (gotoInset): YABG (yet another bad getChar)
5628
5629 2003-04-29  André Pönitz  <poenitz@gmx.net>
5630
5631         * paragraph.h: make operator= private unimplemented as long as
5632           it is unusable
5633
5634         * ParagraphList.C: whitespace
5635
5636         * paragraph.[Ch]:
5637         * paragraph_pimpl.[Ch]:
5638         * paragraph_funcs.C:
5639         * CutAndPaste.C:
5640         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5641
5642         * text2.C:
5643           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5644
5645 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5648         * paragraph.[Ch] (erase):
5649         * paragraph_pimpl.[Ch] (erase): change return type and value
5650         * text2.C (cutSelection): some rework
5651
5652 2003-04-28  John Levon  <levon@movementarian.org>
5653
5654         * bufferlist.C: changes for unsaved changes dialog
5655
5656 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * bufferlist.C (newFile): set language (messages_) for new
5659         documents also.
5660
5661         * buffer.C (readFile): ws changes only.
5662
5663 2003-04-28  André Pönitz  <poenitz@gmx.net>
5664
5665         * undo_funcs.C:
5666         * lyxfunc.C:
5667         * buffer.[Ch]:
5668         * BufferView_pimpl.C:
5669         * BufferView.C: getParFromID related ParagraphList::iterator changes
5670
5671 2003-04-28  André Pönitz  <poenitz@gmx.net>
5672
5673         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5674           Changes
5675
5676 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * messages.C: remove one more localedir class variable.
5679
5680 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * messages.C (getLocaleDir): singleton generation function
5683         (Pimpl): use it.
5684         (Messages): add a default constructor.
5685
5686         * main.C (main): do not setup localedir here, do not call
5687         gettext_init.
5688
5689         * gettext.C (_): use it.
5690         (gettext_init): delete funciton
5691
5692 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * gettext.C (getLyXMessages): new singleton generating function.
5695
5696         * buffer.C (updateDocLang): adjust
5697
5698         * Makefile.am (messages.o): add target
5699         (main.o): remove target
5700
5701 2003-04-27  John Levon  <levon@movementarian.org>
5702
5703         * bufferlist.C:
5704         * lyx_cb.C:
5705         * lyxfunc.C:
5706         * lyxvc.C: specify cancel button in Alert::prompt
5707
5708 2003-04-26  John Levon  <levon@movementarian.org>
5709
5710         * text3.C:
5711         * lyxfunc.C:
5712         * lfuns.h:
5713         * LyXAction.C: add LFUN_INSET_SETTINGS
5714
5715         * lyxfunc.C: don't enable tabular-feature when there's
5716         just any locking inset
5717
5718 2003-04-26  John Levon  <levon@movementarian.org>
5719
5720         * bufferlist.C: re-add Cancel to buffer close question
5721
5722         * lyxfunc.C: fix import UI a bit
5723
5724 2003-04-25  John Levon  <levon@movementarian.org>
5725
5726         * gettext.C: remove the broken asserts for now
5727
5728 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * messages.C: make case where setlocale cannot comply work better.
5731
5732         * buffer.C (updateDocLang): new function
5733         (changeLanguage): use it
5734         (readFile): use it
5735
5736         * text2.C (setCounter): use B_ a bit.
5737
5738         * lyxlayout.C (Read): be sure to trim the label strings.
5739
5740         * messages.C (Messages): fix typo in comment
5741
5742         * buffer.C (readFile): set message_ after file is loaded.
5743         (makeDocBookFile): remove double return
5744         (changeLanguage): reset message_ upon language change.
5745         (B_): new func, use this to get translated buffer strings.
5746
5747         * main.C: add myself and Jean Marc as authors.
5748
5749 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * messages.[hC]: pimplify Messages, and three different pimpls to be
5752         used in different circumstances.
5753
5754         * gettext.[Ch]: change for use with new message code.
5755
5756 2003-04-24 André Pönitz <poenitz@gmx.net>
5757
5758         * factory.C: support for eqref
5759
5760 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5761
5762         * messages.[Ch]: add missing char
5763
5764         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5765
5766         * messages.[Ch]: New files
5767
5768 2003-04-18  John Levon  <levon@movementarian.org>
5769
5770         * BufferView.h:
5771         * BufferView.C:
5772         * BufferView_pimpl.C:
5773         * lfuns.h:
5774         * LyXAction.C:
5775         * lyxtext.h:
5776         * text2.C: remove layout-copy/paste (bug 778)
5777
5778 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5779
5780         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5781
5782 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5783
5784         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5785         if they succeed. Act accordingly.
5786
5787 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * text2.C (setCharFont): adjust
5790         (setCounter): adjust
5791         (insertStringAsLines): adjust
5792
5793         * text.C (leftMargin): adjust
5794         (setHeightOfRow): adjust
5795
5796         * rowpainter.C (paintFirst): adjust
5797         (paintLast): adjust
5798
5799         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5800         (outerHook): ditto
5801         (isFirstInSequence): ditto
5802         (getEndLabel): ditto
5803         (outerFont): adjust
5804
5805         * paragraph.C (getParLanguage): comment out some hard stuff.
5806
5807         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5808         (sgmlError): ditto
5809         (simpleDocBookOnePar): ditto
5810         (makeDocBookFile): use ParagraphList::iterator
5811
5812         * CutAndPaste.C (pasteSelection): adjust
5813
5814 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * text2.C (getFont): adjust
5817         (getLayoutFont): adjust
5818         (getLabelFont): adjust
5819
5820         * paragraph_funcs.C (TeXOnePar): adjust
5821
5822         * buffer.C (simpleLinuxDocOnePar): adjust
5823         (simpleDocBookOnePar): adjust
5824
5825         * CutAndPaste.C (pasteSelection): adjust
5826
5827         * BufferView.C (getEncoding): adjust
5828
5829         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5830
5831 2003-04-16  John Levon  <levon@movementarian.org>
5832
5833         * lyxfind.C: use parlist stuff for search/changes
5834
5835 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5838
5839         * text2.C (deleteEmptyParagraphMechanism): adjust
5840
5841         * text2.[Ch] (ownerParagraph): delete func (both of them
5842
5843 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5846
5847 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * ParagraphList.C: prepare for NO_NEXT
5850
5851 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5852
5853         * text2.C (getFont): adjust
5854         (getLayoutFont): adjust
5855         (getLabelFont): adjust
5856
5857         * paragraph.C (getFont): adjust
5858         (getLabelFont): adjust
5859         (getLayoutFont): adjust
5860
5861         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5862
5863 2003-04-15  John Levon  <levon@movementarian.org>
5864
5865         From Angus Leeming
5866
5867         * lyx_main.C: handle Include in .ui files
5868
5869 2003-04-15  John Levon  <levon@movementarian.org>
5870
5871         * MenuBackend.C: make the doc files length shorter
5872
5873         * ToolbarBackend.h:
5874         * ToolbarBackend.C: handle toolbar placement flags,
5875         Minibuffer
5876
5877 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5878
5879         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5880         adjust
5881
5882         * paragraph_funcs.C (TeXOnePar): adjust
5883
5884         * paragraph.C (getLabelFont): add outerfont arg, adjust
5885         (getLayoutFont): ditto
5886         (simpleTeXOnePar): adjust
5887
5888         * paragraph_pimpl.C (realizeFont): delete func
5889
5890 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5893         row argument, constify cur argument.
5894
5895 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * text2.C (getFont): adjust
5898         (getLayoutFont): adjust
5899         (getLabelFont): adjust
5900
5901         * paragraph_funcs.C (TeXOnePar): adjust
5902         (outerFont): new func...
5903         (realizeFont): ...moved out from here, changed this to facilitate
5904         transition
5905
5906         * paragraph.C (getFont): take outerfont as arg, adjust
5907         (simpleTeXOnePar): add outerfont arg, adjust
5908
5909         * buffer.C (simpleLinuxDocOnePar): adjust
5910         (simpleDocBookOnePar): adjust
5911
5912         * CutAndPaste.C (pasteSelection): adjust
5913
5914         * BufferView.C (getEncoding): adjust
5915
5916 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * text2.C (setCharFont): adjust
5919         (setCounter): adjust
5920
5921         * text.C (leftMargin): adjust
5922         (setHeightOfRow): adjust
5923
5924         * rowpainter.C (paintFirst): adjust
5925         (paintLast): adjust
5926
5927         * paragraph_pimpl.C (realizeFont): adjust
5928
5929         * paragraph.C (isFirstInSequence): move from here...
5930         * paragraph_funcs.C (isFirstInSequence): ...to here
5931
5932         * paragraph.C (outerHook): move from here...
5933         * paragraph_funcs.C (outerHook): ...to here
5934
5935         * paragraph.C (depthHook): move from here...
5936         * paragraph_funcs.C (depthHook): ...to here
5937
5938         * paragraph.C (getEndLabel): move from here...
5939         * paragraph_funcs.C (getEndLabel): ...to here
5940
5941         * text2.C (realizeFont): move from here...
5942         * paragraph_funcs.C (realizeFont): ...to here
5943
5944 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5947
5948 2003-04-14  Angus Leeming  <leeming@lyx.org>
5949
5950         * LColor.[Ch]: scrap LColor mathcursor.
5951
5952 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * lyxlex.[Ch] (text): delete function
5955         * trans.C (Load): adjust
5956         * paragraph_funcs.C (readParToken): adjust
5957
5958 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5961         vector<char> instead of a char[].
5962
5963         * lyxlex_pimpl.C (getString): adjust
5964         (next): adjust
5965         (lex): use getString
5966         (eatLine): adjust
5967         (nextToken): adjust
5968
5969         * lyxlex.C (text): use pimpl_->getString()
5970         (getBool): ditto
5971         (findToken): ditto
5972
5973 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5976         (makeFontEntriesLayoutSpecific): temp var for par.size()
5977         (setLayout): temp var for ownerParagraphs().end()
5978         (fullRebreak): temp var for rows().end()
5979         (selectionAsString): temp var for boost::next(startpit), realize
5980         that the while really is a regular for loop.
5981         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5982         setCursor in one place.
5983         (setParagraph): temp vr for ownerParagraphs().end()
5984         (updateCounters): make the while loop a for loop
5985         (cutSelection): temp var for ownerParagraphs().end()
5986         (updateInset): make the do {} while() a regular for loop
5987         (getCursorX): use temp vars
5988         (setCurrentFont): use temp vars
5989         (getColumnNearX): use temp vars
5990
5991 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * text.C (transformChar): use temp var for getChar
5994         (computeBidiTables): use temp var for row->par()
5995         (fill): move temp vars for row->par() and pit->layout() earlier in
5996         the function.
5997         (labelFill): use temp var for row->par()
5998         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5999         asc and desc, realize that pit never changes and that firstpit is
6000         just a duplicate and not needed. Exchange rit->par() with pit in a
6001         lot of places.
6002         (breakAgain): use a temp var for boost::next(rit)
6003         (breakAgainOneRow): ditto
6004         (breakParagraph): use a temp var for rows().begin()
6005         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6006         (cursorRightOneWord): use temp var for cursor.par() and
6007         cursor.pos(), remove usage of tmpcursor.
6008         (cursorLeftOneWord): use temp var for cursor.par() and
6009         cursor.pos() only set cur at end of function.
6010
6011 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text.C, text2.C: exchange all usage of Paragraph::next with
6014         boost::next(ParagraphList::iterator)
6015
6016         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6017
6018         * text2.C (cursorTop): simplify implementation
6019         (cursorBottom): ditto
6020         (setParagraph): use ParagraphList::iterator
6021         (setCurrentFont): adjust
6022         (getColumnNearX): adjust
6023         (cursorRight): adjust
6024         (cursorLeft): remove usage of Paragraph::previous
6025         (cursorUpParagraph): ditto
6026         (deleteEmptyParagraphMechanism): slight cleanup
6027
6028         * text.C (isBoundary): take a Paragraph const & instead of a
6029         pointer as arg.
6030         (addressBreakPoint): ditto
6031         (leftMargin): remove usage of Paragraph::previous.
6032         (setHeightOfRow): ditto
6033         (cursorLeftOneWord): ditto
6034         (selectNextWordToSpellcheck): ditto
6035         (Delete): ditto
6036         (backspace): ditto
6037         (breakParagraph): remove one usage of Paragraph::next
6038         (redoParagraph): ditto
6039         (acceptChange): ditto
6040         (insertChar): adjust
6041         (rowBreakPoint): adjust
6042
6043         * bufferview_funcs.C (toggleAndShow): adjust
6044
6045 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6046
6047         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6048         methods to access it.
6049         * lyxtext.h:
6050         * text.C: Added updateRowPositions to compute all row positions.
6051         Make top_y and getRowNearY() to use the cached y position
6052
6053 2003-04-11  John Levon  <levon@movementarian.org>
6054
6055         * text.C (rowBreakPoint): reintroduce the labelEnd
6056         checks, code copied from the row fill stuff. Deep voodoo.
6057
6058         * text.C (fill): add a comment and debugging for the
6059         next poor soul.
6060
6061 2003-04-11  John Levon  <levon@movementarian.org>
6062
6063         * text.C: make sure fullrow insets get wrapped to the next line,
6064         even when they're in a manual label
6065
6066 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * text2.C (insertParagraph): make it take ParagraphList::iterator
6069         as arg.
6070         (setLayout): make it return ParagraphList::iterator
6071         (redoParagraphs): ditto
6072         (setCounter): ditto
6073         (checkParagraph): ditto
6074
6075         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6076
6077         * text2.C: adjust several funcs.
6078         (realizeFont): take a ParagraphList::iterator as arg.
6079         (getLayoutFont): ditto
6080         (getLabelFont): ditto
6081         (setCharFont): ditto
6082
6083         * text.C: adjust several funcs.
6084
6085 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6086
6087         * text.C (selectNextWordToSpellcheck): don't accidentally
6088         skip insets
6089
6090 2003-04-10  John Levon  <levon@movementarian.org>
6091
6092         * ToolbarBackend.C (getIcon): special handling for
6093         LFUN_MATH_DELIM
6094
6095 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6096
6097         * text2.C (cursorRight): a getChar assert fixed
6098
6099 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * text2.C (getFont): change to take a ParagraphList::iterator
6102         instead of Paragraph*
6103         Adjust several functions.
6104
6105         * text.C (transformChar): change to take a ParagraphList::iterator
6106         instead of Paragraph*
6107         (singleWidth): ditto
6108         Adjust several functions.
6109
6110         * rowpainter.C: adjust several functions
6111         * rowpainter.h:store a ParagraphList::iterator and not a
6112         Paragraph&.
6113
6114
6115 2003-04-09  John Levon  <levon@movementarian.org>
6116
6117         * lyxfunc.C:
6118         * lfuns.h:
6119         * LyXAction.h:
6120         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6121         and the "help" bits as well
6122
6123 2003-04-09  John Levon  <levon@movementarian.org>
6124
6125         * ToolbarBackend.h:
6126         * ToolbarBackend.C: allow multiple toolbars
6127
6128 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * undo_funcs.C (setCursorParUndo): adjust
6131
6132         * text_funcs.C (transposeChars): adjust
6133
6134         * text3.C (gotoNextInset): adjust
6135         (dispatch): adjust
6136
6137         * text2.C (setLayout): adjust
6138         (changeDepth): adjust
6139         (setFont): adjust
6140         (redoParagraphs): adjust
6141         (selectionAsString): adjust
6142         (setParagraph): adjust
6143         (insertInset): adjust
6144         (cutSelection): adjust
6145         (copySelection): adjust
6146         (pasteSelection): adjust
6147         (insertStringAsLines): adjust
6148         (updateInset): adjust
6149         (setCursor): change to take a ParagraphList::iterator parameter
6150         (setCursorIntern): change to take a ParagraphList::iterator parameter
6151         (setCurrentFont): adjust
6152         (cursorLeft): adjust
6153         (cursorRight): adjust
6154         (deleteEmptyParagraphMechanism): adjust
6155
6156         * text.C (breakParagraph): adjust
6157         (insertChar): adjust
6158         (acceptChange): adjust
6159         (rejectChange): adjust
6160         (selectNextWordToSpellcheck): adjust
6161         (changeCase): adjust
6162         (Delete): adjust
6163         (backspace): adjust
6164
6165         * lyxfind.C (SearchForward): adjust
6166         (SearchBackward): adjust
6167         (nextChange): adjust
6168
6169         * lyxcursor.C (par): adjust
6170
6171         * lyxcursor.h: store a ParagraphList::iterator instead of a
6172         Paragraph*
6173
6174         * lyx_cb.C (getPossibleLabel): adjust
6175
6176         * bufferview_funcs.C (toggleAndShow): adjust
6177
6178         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6179         (dispatch): adjust
6180
6181         * BufferView.C (removeAutoInsets): adjust
6182         (lockedInsetStoreUndo): adjust
6183
6184 2003-04-09  John Levon  <levon@movementarian.org>
6185
6186         * ToolbarBackend.C: try icon without argument
6187         if with argument fails
6188
6189 2003-04-08  John Levon  <levon@movementarian.org>
6190
6191         * ToolbarBackend.h:
6192         * ToolbarBackend.C: add getIcon(), handle tooltip,
6193         and change from "Icon" to "Item".
6194
6195 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6196
6197         * BufferView.C (lockInset): another bad getchar crunched
6198
6199 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6200
6201         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6202         again)
6203
6204 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6205
6206         * lyxfind.C (searchForward, searchBackwards): bug 782
6207
6208 2003-04-07  John Levon  <levon@movementarian.org>
6209
6210         * paragraph.C: remove dead comment
6211
6212         * text.C: remove troublesome depth-fiddling code
6213         in leftMargin() and rightMargin() (bug 1017)
6214
6215         * text.C: fix breaking of rows in nested lists
6216         (bug 1004)
6217
6218         * text2.C (updateCounters): fix up depth values
6219         (bug 1013)
6220
6221 2003-04-07  John Levon  <levon@movementarian.org>
6222
6223         * BufferView_pimpl.C: clear message when doc finishes resizing,
6224         and after a mouse event
6225
6226         * lyxfunc.C: clear message after exiting inset
6227
6228 2003-04-07  John Levon  <levon@movementarian.org>
6229
6230         * bufferview_funcs.C: show math status not outside
6231         status in the statusbar
6232
6233 2003-04-07  John Levon  <levon@movementarian.org>
6234
6235         * lyxfunc.C: note status changed after a depth change
6236
6237 2003-04-04  Angus Leeming  <leeming@lyx.org>
6238
6239         * LaTeX.h: move AuxInfo operator==, != out of line.
6240         Remove LaTeX virtual destructor; nothing derives from it.
6241         Move operator()() out of public area and rename it startscript().
6242         Change protected for private.
6243
6244 2003-04-04  Angus Leeming  <leeming@lyx.org>
6245
6246         * lyxfunc.C:
6247         * text2.C: remove unneeded #includes.
6248
6249 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * text2.C (dEPM): fix the heigth of the next row
6252
6253 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6254
6255         * text.C: squashed an invalid getChar requester + some ws changes
6256
6257 2003-04-03  John Levon  <levon@movementarian.org>
6258
6259         * bufferview_funcs.h:
6260         * bufferview_funcs.C:
6261         * lyxfunc.C:
6262         * lyxtext.h:
6263         * text2.C: make getStatus work for the env depth lfuns
6264
6265 2003-04-03  John Levon  <levon@movementarian.org>
6266
6267         * bufferview_funcs.h:
6268         * bufferview_funcs.C:
6269         * lyxfunc.C:
6270         * lyxtext.h:
6271         * text2.C: parlistize decDepth(), by merging it with incDepth()
6272
6273 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * lyxrow.h: store a ParagraphList::iterator instead of a
6276         Paragraph* and adjust other class functions to suit.
6277
6278         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6279         above.
6280
6281 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6282
6283         * text2.C (setCursor): do not anchor to cursor row for the time being
6284
6285 2003-04-02  John Levon  <levon@movementarian.org>
6286
6287         * LyXAction.C:
6288         * lfuns.h:
6289         * lyx_main.C:
6290         * lyxtext.h:
6291         * text.C:
6292         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6293
6294 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * paragraph.h: make ParagraphList and ParagraphList::iterator
6297         friends of Paragraph.
6298
6299         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6300
6301         * ParagraphList.C: Use the private next_ and previous_ from
6302         Paragraph.
6303
6304 2003-04-01  John Levon  <levon@movementarian.org>
6305
6306         * ToolbarBackend.h:
6307         * ToolbarBackend.C:
6308         * Makefile.am: rename, remove defaults gunk
6309
6310         * MenuBackend.h:
6311         * MenuBackend.C: remove defaults gunk
6312
6313         * Languages.h:
6314         * Languages.C: remove defaults gunk
6315
6316         * lyx_main.h:
6317         * lyx_main.C: error out if files couldn't be found.
6318
6319 2003-04-02  John Levon  <levon@movementarian.org>
6320
6321         * text2.C: make incDepth() use parlist
6322
6323 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * undo_funcs.C (firstUndoParagraph): adjust
6326
6327         * text3.C (gotoInset): adjust
6328         (dispatch): adjust, and rewrite loop.
6329
6330         * text2.C (init): adjust, and rewrite loop.
6331         (redoParagraphs): adjust
6332         (updateInset): adjust, and rewrite loop.
6333         (deleteEmptyParagraphMechanism): adjust
6334
6335         * tabular.C (LyXTabular): adjust
6336         (SetMultiColumn): adjust
6337         (TeXRow): adjust
6338
6339         * lyxtext.[Ch] (ownerParagraph): delete function
6340         (ownerParagraphs): new function returns a ParagraphList.
6341
6342         * BufferView.C (removeAutoInsets): adjust
6343         (insertErrors): adjust
6344         (setCursorFromRow): adjust
6345
6346 2003-04-01  Angus Leeming  <leeming@lyx.org>
6347
6348         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6349         in the frontends.
6350
6351 2003-04-02  John Levon  <levon@movementarian.org>
6352
6353         * lyxtext.h:
6354         * text.C:
6355         * Makefile.am:
6356         * text_funcs.h:
6357         * text_funcs.C: make transposeChars a free function
6358
6359         * lyxrow_funcs.C: remove wrong comment
6360
6361 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * lyxtext.h: adjust
6364         * rowpainter.C: adjust
6365         * text.C: adjust
6366         * text2.C: adjust
6367         * text3.C: adjust
6368
6369         * lyxrow_funcs. [Ch]: new files
6370
6371         * lyxrow.[Ch]: remove next and previous pointers
6372         (next,previous): remove accessor functions
6373         (isParEnd): move to lyxrow_funcs
6374         (lastPos): move to lyxrow_funcs
6375         (nextRowIsAllInset): move to lyxrow_funcs
6376         (lastPrintablePos): move to lyxrow_funcs
6377         (numberOfSeparators): move to lyxrow_funcs
6378         (numberOfHfills): move to lyxrow_funcs
6379         (numberOfLabelHfills): move to lyxrow_funcs
6380         (hfillExpansion): move to lyxrow_funcs
6381
6382         * lyxfunc.C: adjust
6383
6384         * bufferview_funcs.C (toggleAndShow): adjust
6385
6386         * RowList.h: Remove class RowList from file leave just a
6387         std::list<Row>.
6388
6389         * RowList.C: delete file
6390
6391         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6392         and lyxrow_funcs.h
6393
6394 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6395
6396         * text3.C (cursorPrevious): adjust
6397         (cursorNext): adjust
6398         (dispatch): adjust
6399
6400         * text2.C (redoHeightOfParagraph): adjust
6401         (redoDrawingOfParagraph): adjust
6402         (setCursor): adjust
6403
6404         * text.C (breakParagraph): adjust
6405         (insertChar): adjust
6406         (backspace): adjust
6407
6408         * rowpainter.C (RowPainter): adjust
6409         (leftMargin): simplify and adjust
6410         (most rowpainter functions): adjust.
6411
6412         * rowpainter.h: store the row as RowList::iterator not as Row*
6413
6414         * lyxcursor.C (row): taka RowList::iterator as arg
6415         (irow): ditto
6416
6417         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6418         of Row*.
6419
6420 2003-04-01  Angus Leeming  <leeming@lyx.org>
6421
6422         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6423         stuff like bool Bool.
6424
6425 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6428         rewrite a loop
6429
6430 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6433         RowList::iterator.
6434
6435         * lyxtext.h (rows): drop one version and leve a const variant that
6436         returns a RowList::iterator.
6437
6438 2003-03-31  Angus Leeming  <leeming@lyx.org>
6439
6440         * text.C (fill): ensure that the signature is the same as that in the
6441         header file.
6442
6443 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * text2.C (redoParagraphs): adjust
6446         (updateCounters): adjust
6447         (checkParagraph): adjust
6448         (getColumnNearX): adjust and reformat a bit.
6449
6450         * text.C (top_y): adjust
6451         (workWidth): adjust
6452         (leftMargin): adjust
6453         (prepareToPrint): adjust
6454         (getRow): adjust
6455         (getRowNearY): adjust
6456
6457         * lyxtext.h: make rowlist_ mutable.
6458
6459         * RowList.h: add const_iterator
6460         * RowList.C: adjust for RowList::const_iterator.
6461
6462         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6463         adjust.
6464
6465 2003-03-31  John Levon  <levon@movementarian.org>
6466
6467         * lyxrc.h:
6468         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6469
6470         * lyx_main.C: set default fonts from using lyx_gui funcs
6471
6472         * exporter.C: pdf_mode moved from lyxrc
6473
6474         * lyx_cb.C:
6475         * lyxfunc.C: changes from above
6476
6477 2003-03-31  John Levon  <levon@movementarian.org>
6478
6479         * lyx_main.C: fix to the last fix
6480
6481 2003-03-31  John Levon  <levon@movementarian.org>
6482
6483         * bufferlist.C: "Load original" -> "Load Original"
6484
6485         * converter.C:
6486         * exporter.C:
6487         * importer.C:
6488         * lyx_main.C:
6489         * format.C: more Alert cleanups
6490
6491 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * text2.C (removeParagraph): make it take a RowList::iterator as
6494         arg, adjust.
6495         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6496         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6497
6498         * text.C (anchor_row): make it take a RowList::iterator as arg,
6499         adjust.
6500         (computeBidiTables): make it take a const reference to Row instead
6501         of Row pointer, adjust.
6502         (leftMargin): make it take a RowList::iterator as arg, adjust.
6503         (rowBreakPoint): adjust
6504         (breakAgainOneRow): make it take a RowList::iterator as arg,
6505         adjust.
6506         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6507
6508         * bufferview_funcs.C (toggleAndShow): adjust
6509
6510 2003-03-30  John Levon  <levon@movementarian.org>
6511
6512         * Makefile.am:
6513         * BoostFormat.h:
6514         * boost-inst.C: moved to support
6515
6516         * several files: changes as a result
6517
6518 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * text2.C (LyXText): adjust.
6521         (init): adjust
6522         (removeRow): make it take a RowList::iterator as arg, adjust.
6523         (fullRebreak): adjust
6524         (deleteEmptyParagraphMechanism): adjust
6525         (clearPaint): adjust
6526         (postPaint): adjust
6527
6528         * text.C (top_y): adjust
6529         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6530         (breakAgain): make it take a RowList::iterator as arg, adjust.
6531         (breakParagraph): adjust
6532         (insertChar): adjust
6533         (backspace): adjust
6534
6535         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6536         need_break_row, and refresh_row.
6537
6538         * text3.C (dispatch): adjust
6539
6540         * text2.C (checkParagraph): adjust
6541         (setCursor): adjust
6542         (setCursorFromCoordinates): adjust
6543
6544         * text.C (top_y): adjust
6545         (workWidth): adjust
6546         (getRow): make it return a RowList::iterator, adjust
6547         (getRowNearY): make it return a RowList::iterator, adjust
6548
6549         * text2.C (init): adjust
6550         (insertRow): remove function
6551         (insertParagraph): adjust
6552         (redoParagraphs): adjust
6553         (fullRebreak): adjust
6554         (updateCounters): adjust
6555
6556         * text.C (top_y): rewrite to use RowList iterators.
6557         (top_y): adjust
6558         (setHeightOfRow): rewrite to sue RowList iterators.
6559         (appendParagraph): adjust
6560         (breakAgain): adjust
6561         (breakAgainOneRow): adjust
6562         (breakParagraph): adjust
6563         (getRow): adjust
6564         (getRowNearY): adjust, and remove commented code.
6565
6566         * lyxtext.h (firstRow): delete function
6567         (lastRow): delete function
6568         (rows): new function (const and non-const versions.)
6569         (insertRow): delete function
6570
6571         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6572
6573 2003-03-29  John Levon  <levon@movementarian.org>
6574
6575         * BufferView_pimpl.C: always update scrollbar top
6576         because pasting text when we're anchored could mean we
6577         miss an update altogether
6578
6579 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * text2.C (init): use rowlist_.end() and not 0.
6582         (insertRow): change to take a RowList::iterator as arg, adjust
6583         for this.
6584         (insertParagraph): change to take a RowList::iterator as arg,
6585         adjust for this.
6586         (redoParagraphs): remove some debug msgs.
6587
6588         * text.C (appendParagraph): change to take a RowList::iterator
6589         arg, adjust for this.
6590         (breakAgain): add an assert
6591         (breakAgainOneRow): ditto
6592
6593 2003-03-29  John Levon  <levon@movementarian.org>
6594
6595         * text2.C: do not clear selection after inc/decDepth
6596         (bug 550)
6597
6598 2003-03-29  John Levon  <levon@movementarian.org>
6599
6600         * BufferView.C:
6601         * buffer.C: fix broken strerrors according to Lars
6602
6603 2003-03-29  John Levon  <levon@movementarian.org>
6604
6605         * converters.C: more Alert cleanups
6606
6607 2003-03-29  John Levon  <levon@movementarian.org>
6608
6609         * bufferview_funcs.C: remove pointless Alert
6610
6611         * buffer.C: fix confusing error message when
6612         a template is chmoded 000
6613
6614 2003-03-29  John Levon  <levon@movementarian.org>
6615
6616         * BufferView.C:
6617         * BufferView.h:
6618         * BufferView_pimpl.C: Alert fixes
6619
6620         * Makefile.am:
6621         * tabular.C:
6622         * tabular-old.C: remove unused table compat reading
6623
6624 2003-03-29  John Levon  <levon@movementarian.org>
6625
6626         * BufferView.C:
6627         * buffer.C:
6628         * lyx_cb.h:
6629         * lyx_cb.C: more Alert cleanups
6630
6631         * lyxfunc.C: don't allow chktex if not latex document
6632
6633 2003-03-29  John Levon  <levon@movementarian.org>
6634
6635         * lyx_cb.C:
6636         * BufferView.C:
6637         * buffer.C: warnings pushed down from support/,
6638         kill err_alert
6639
6640 2003-03-29  John Levon  <levon@movementarian.org>
6641
6642         * lyxfunc.C: safety check for C-r (revert)
6643
6644 2003-03-29  John Levon  <levon@movementarian.org>
6645
6646         * bufferlist.h:
6647         * bufferlist.C: several UI fixes using Alert::prompt.
6648         Fix the pointless looping quit code. Fix stupid revert
6649         behaviour (bug 938)
6650
6651         * lyxvc.h:
6652         * lyxvc.C:
6653         * lyx_cb.C: use Alert::prompt
6654
6655         * lyx_main.C: remove a silly question
6656
6657         * lyxfunc.C: remove a couple of silly questions,
6658         use Alert::prompt
6659
6660 2003-03-28  John Levon  <levon@movementarian.org>
6661
6662         * text2.C: fix bug 974 (End on empty par)
6663
6664 2003-03-28  John Levon  <levon@movementarian.org>
6665
6666         * BufferView_pimpl.C:
6667         * LyXAction.C:
6668         * lfuns.h: remove do-nothing math greek lfuns
6669
6670 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * lyxgluelength.h (isValidGlueLength): add default arg on
6673         parameter 2. Remove default arg from friend in class.
6674
6675         * lyxlength.h (isValidLength): add default arg on parameter 2.
6676         Remove default arg from friend in class.
6677
6678         * text2.C (LyXText): adjust, initialize refresh_row.
6679         (init): adjust
6680         (removeRow): adjust
6681         (insertRow): adjust
6682         (insertParagraph): adjst
6683         (redoParagraphs): adjust
6684         (fullRebreak): adjust
6685         (updateCounters): adjust
6686         (deleteEmptyParagraphMechanism): first attempt at fixing a
6687         crashing bug.
6688
6689         * text.C (top_y): adjust
6690         (setHeightOfRow): adjust
6691         (getRow): adjust
6692         (getRowNearY): adjust
6693
6694         * lyxtext.h: include RowList.h
6695         (~LyXText): not needed anymore, deleted.
6696         (firstRow): modify for RowList
6697         (lastRow): new function
6698         Delete firstrow and lastrow class variables, add a Rowlist
6699         rowlist_ class variable.
6700
6701         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6702         paragraph is empty.
6703
6704         * RowList.C (insert): fix case where it == begin().
6705
6706 2003-03-26  Angus Leeming  <leeming@lyx.org>
6707
6708         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6709         the thesaurus dialog.
6710
6711 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6714
6715         * RowList.[Ch]: new files
6716
6717         * ParagraphList.C (erase): handle the case where it == begin
6718         correctly.
6719
6720 2003-03-25  John Levon  <levon@movementarian.org>
6721
6722         * Makefile.am:
6723         * aspell_local.h:
6724         * aspell.C: add new aspell support
6725
6726         * lyxrc.h:
6727         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6728         have it accessible.
6729
6730 2003-03-25  Angus Leeming  <leeming@lyx.org>
6731
6732         * lfuns.h:
6733         * LyXAction.C (init): new LFUN_INSET_INSERT.
6734
6735         * BufferView_pimpl.C (dispatch): split out part of the
6736         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6737
6738         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6739         LFUN_INSET_APPLY.
6740
6741 2003-03-25  Angus Leeming  <leeming@lyx.org>
6742
6743         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6744
6745 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6746
6747         * text2.C:
6748         * text3.C: remove useless row->height(0)
6749
6750 2003-03-25  John Levon  <levon@movementarian.org>
6751
6752         * lyxtext.h:
6753         * text2.C:
6754         * text3.C: rename the refreshing stuff to better names
6755
6756 2003-03-24  John Levon  <levon@movementarian.org>
6757
6758         * BufferView_pimpl.h:
6759         * BufferView_pimpl.C: update layout choice on a mouse
6760         press/release
6761
6762 2003-03-23  John Levon  <levon@movementarian.org>
6763
6764         * Makefile.am: fix commandtags.h reference
6765
6766 2003-03-22  John Levon  <levon@movementarian.org>
6767
6768         * BufferView_pimpl.C:
6769         * lyxtext.h:
6770         * rowpainter.C:
6771         * rowpainter.h:
6772         * text.C:
6773         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6774
6775 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6776
6777         * lyxtext.h:
6778         * text.C: take the rtl methods out of line
6779
6780 2003-03-21 André Pönitz <poenitz@gmx.net>
6781
6782         * metricsinfo.[Ch]: new files containing structures to be passed around
6783         during the two-phase-drawing...
6784
6785 2003-03-21 André Pönitz <poenitz@gmx.net>
6786
6787         * lyxtextclass.C: read 'environment' tag.
6788
6789 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * text2.C (removeRow): fix bug 964
6792
6793 2003-03-20  John Levon  <levon@movementarian.org>
6794
6795         * rowpainter.C:
6796         * text.C:
6797         * text2.C: paint cleanups. Inset::update() dropped font
6798         parameter
6799
6800 2003-03-19  John Levon  <levon@movementarian.org>
6801
6802         * lyxfunc.C: only fitcursor/markDirty if available()
6803
6804 2003-03-19  John Levon  <levon@movementarian.org>
6805
6806         * commandtags.h: rename to ...
6807
6808         * lfuns.h: ... this, and renumber / cleanup
6809
6810 2003-03-19  John Levon  <levon@movementarian.org>
6811
6812         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6813         fit the cursor after an lfun
6814
6815         * BufferView.h:
6816         * BufferView.C:
6817         * BufferView_pimpl.h:
6818         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6819
6820         * LyXAction.C: layout-character should have ReadOnly
6821
6822         * ParagraphParameters.C:
6823         * buffer.C:
6824         * bufferview_funcs.C:
6825         * lyx_cb.C:
6826         * lyxfind.C:
6827         * lyxtext.h:
6828         * text.C:
6829         * text2.C:
6830         * text3.C:
6831         * undo_funcs.C: changes from above
6832
6833 2003-03-18  John Levon  <levon@movementarian.org>
6834
6835         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6836         remove it from update()
6837
6838         * lyxfunc.C: update layout choice after an lfun
6839
6840         * text3.C: remove extra updateLayoutChoice()s
6841
6842 2003-03-18  John Levon  <levon@movementarian.org>
6843
6844         * text.C: top_y change means full repaint, fix
6845         a drawing bug with cursor movement
6846
6847 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * lyxtext.h:
6850         * text.C:
6851         * text2.C: anchor row on setCursor
6852
6853 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * lyxtext.h: remove almost all mutable keywords
6856         * text.C:
6857         * text2.C:
6858         * text3.C: remove const keywords accordingly
6859
6860 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6863         anon namespace
6864         (TeXEnvironment): ditto
6865         (TeXOnePar): ditto
6866
6867 2003-03-17  John Levon  <levon@movementarian.org>
6868
6869         * text.C (rowBreakPoint): remove attempt to fix displayed
6870         math insets inside a manual label
6871
6872 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * lyxtext.h: remove BufferView* as first arg from almost all class
6875         functions.
6876         * other files: adjust.
6877
6878 2003-03-17  John Levon  <levon@movementarian.org>
6879
6880         * lyxtext.h:
6881         * undo_funcs.C:
6882         * text2.C: more paint cleanups
6883
6884         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6885
6886         * rowpainter.h:
6887         * rowpainter.C: remove "smart" background painting code
6888
6889 2003-03-16  John Levon  <levon@movementarian.org>
6890
6891         * lyxtext.h:
6892         * text.C:
6893         * text2.C:
6894         * text3.C: add helper functions for setting refresh_row/y
6895
6896 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6897
6898         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6899         newline inset which *can* get inserted in the pass_thru layouts.
6900         This is primarily for literate documents.
6901
6902 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6903
6904         * buffer.C: increment LYX_FORMAT to 223
6905
6906 2003-03-14 André Pönitz <poenitz@gmx.net>
6907
6908         * textclass.h: prepare for environment handling, ws changes
6909         * lyxlayout.C: read latexheader and latexfooter tags
6910
6911 2003-03-14  John Levon  <levon@movementarian.org>
6912
6913         * text2.C: rewrite ::status() a bit
6914
6915 2003-03-13  John Levon  <levon@movementarian.org>
6916
6917         * lyxtext.h: add some docs
6918
6919 2003-03-13  John Levon  <levon@movementarian.org>
6920
6921         * lyxtext.h:
6922         * text.C:
6923         * text2.C:
6924         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6925
6926 2003-03-13  John Levon  <levon@movementarian.org>
6927
6928         * text3.C: fix appendix redrawing
6929
6930 2003-03-13  John Levon  <levon@movementarian.org>
6931
6932         * text.C (setHeightOfRow):
6933         * rowpainter.h:
6934         * rowpainter.C: make appendix mark have the text
6935           "Appendix" so the user knows what it is
6936
6937         * LColor.h:
6938         * LColor.C: s/appendixline/appendix/ from above
6939
6940 2003-03-13  John Levon  <levon@movementarian.org>
6941
6942         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6943
6944         * text.C: fix a getChar(pos) bug properly
6945
6946 2003-03-13  Angus Leeming  <leeming@lyx.org>
6947
6948         * commandtags.h:
6949         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6950         Probably only temporary. Let's see how things pan out.
6951
6952         * BufferView.C (unlockInset):
6953         * BufferView_pimpl.C (fitCursor):
6954         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6955
6956         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6957         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6958
6959         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6960         new functions that convert ParagraphParameters to and from a string.
6961
6962         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6963         BufferView::Pimpl's dispatch.
6964         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6965
6966 2003-03-13 André Pönitz <poenitz@gmx.net>
6967
6968         * lyxfunc.C:
6969         * text3.C:
6970         * factory.C: make it aware of InsetEnv
6971
6972 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * text2.C (setCursor): never ask for one past last
6975         (setCursor): add some debugging messages.
6976
6977         * text.C (singleWidth): never ask for one past last
6978         (singleWidth): ditto
6979         (leftMargin): ditto
6980         (rightMargin): ditto
6981         (rowBreakPoint): ditto
6982         (setHeightOfRow): ditto
6983         (prepareToPrint): ditto
6984
6985         * rowpainter.C (paintBackground): never ask for one past last
6986         (paintText): never ask for one past last
6987
6988         * paragraph_pimpl.C (getChar): make the assert stricter, never
6989         allow the one past last pos to be taken
6990
6991         * paragraph.C (getChar): ws changes only
6992
6993         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6994         (numberOfSeparators): ditto
6995         (numberOfHfills): ditto
6996
6997 2003-03-12  John Levon  <levon@movementarian.org>
6998
6999         * author.h:
7000         * author.C:
7001         * bufferparams.h:
7002         * bufferparams.C:
7003         * paragraph_funcs.C: fix per-buffer authorlists
7004
7005 2003-03-12  John Levon  <levon@movementarian.org>
7006
7007         * text.C: fix newline in right address
7008
7009 2003-03-12  Angus Leeming  <leeming@lyx.org>
7010
7011         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7012         duplicate those in LyXFunc::dispatch.
7013
7014         * commandtags.h:
7015         * LyXAction.C:
7016         * ToolbarDefaults.C:
7017         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7018         Add LFUN_FONTFREE_UPDATE.
7019
7020         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7021         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7022
7023         * bufferview_func.[Ch]: several new functions to facilliate
7024         transfer of data to and from the character dialog.
7025
7026 2003-03-12  John Levon  <levon@movementarian.org>
7027
7028         * buffer.C:
7029         * paragraph.h:
7030         * paragraph.C:
7031         * paragraph_funcs.C:
7032         * paragraph_pimpl.C:
7033         * sgml.C:
7034         * tabular.C:
7035         * text.C:
7036         * text3.C: remove META_NEWLINE in favour of an inset
7037
7038         * rowpainter.h:
7039         * rowpainter.C: remove paintNewline (done by inset)
7040
7041 2003-03-12  John Levon  <levon@movementarian.org>
7042
7043         * paragraph_pimpl.C: complain about bad getChar()s
7044         for a while at least
7045
7046 2003-03-12  John Levon  <levon@movementarian.org>
7047
7048         * buffer.h:
7049         * buffer.C: move paragraph read into a separate function,
7050         a little renaming to reflect that.
7051
7052         * bufferparams.h:
7053         * bufferparams.C: remove the author_ids map, not necessary now
7054
7055         * factory.h:
7056         * factory.C: moved Buffer::readInset to here
7057
7058         * paragraph_funcs.h:
7059         * paragraph_funcs.C: readParagraph free function moved from
7060         buffer.C
7061
7062         * tabular.C: name change
7063
7064 2003-03-12  John Levon  <levon@movementarian.org>
7065
7066         * buffer.C:
7067         * ParagraphParameters.C: move par params input to
7068         a read() method
7069
7070         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7071         behave like a normal read from the stream wrt reading
7072         a line vs. a \\token
7073
7074 2003-03-12  John Levon  <levon@movementarian.org>
7075
7076         * paragraph.C:
7077         * ParagraphParameters.h:
7078         * ParagraphParameters.C: move output code to a
7079         ::write() method
7080
7081 2003-03-12  John Levon  <levon@movementarian.org>
7082
7083         * BufferView.C (insertLyXFile):
7084         * buffer.h:
7085         * buffer.C:
7086         * tabular.C: use a parlist iterator for creating the
7087           document.
7088
7089 2003-03-12  John Levon  <levon@movementarian.org>
7090
7091         * buffer.C: make current_change static local not
7092           static file-scope
7093
7094 2003-03-12  John Levon  <levon@movementarian.org>
7095
7096         * buffer.C: fix insertStringAsLines for change tracking
7097
7098 2003-03-12  John Levon  <levon@movementarian.org>
7099
7100         * BufferView.C:
7101         * tabular.C:
7102         * buffer.h:
7103         * buffer.C:
7104         * bufferparams.h:
7105         * bufferparams.C: move author list into params. Rename some
7106           functions. Move the header reading into a separate token
7107           loop. Move the header token reading into BufferParams.
7108
7109 2003-03-12  John Levon  <levon@movementarian.org>
7110
7111         * changes.C: put debug inside lyxerr.debugging() checks
7112
7113 2003-03-11 André Pönitz <poenitz@gmx.net>
7114
7115         * factory.C: make it aware of InsetHFill
7116
7117 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7118
7119         * buffer.C (latexParagraphs): move function from here...
7120         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7121         args.
7122
7123 2003-03-10  Angus Leeming  <leeming@lyx.org>
7124
7125         * LyXAction.C (init): fix bug in poplating array with multiple entries
7126         with the same LFUN (spotted by JMarc).
7127
7128 2003-03-10  John Levon  <levon@movementarian.org>
7129
7130         * text.C:
7131         * text2.C: move getColumnNearX() near its
7132         only call site
7133
7134 2003-03-10  John Levon  <levon@movementarian.org>
7135
7136         * text.C: fix break before a minipage
7137
7138 2003-03-10  John Levon  <levon@movementarian.org>
7139
7140         * text.C: fix the last commit
7141
7142 2003-03-09  John Levon  <levon@movementarian.org>
7143
7144         * lyxtext.h:
7145         * text.C:
7146         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7147         bug 365 (don't break before insets unless needed). Don't
7148         return a value > last under any circumstances.
7149
7150 2003-03-09  Angus Leeming  <leeming@lyx.org>
7151
7152         * BufferView_pimpl.C (trackChanges, dispatch): call
7153         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7154
7155 2003-03-09  Angus Leeming  <leeming@lyx.org>
7156
7157         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7158         than Dialogs::showAboutlyx().
7159
7160 2003-03-09  Angus Leeming  <leeming@lyx.org>
7161
7162         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7163         than Dialogs::showTabularCreate().
7164
7165 2003-03-09  John Levon  <levon@movementarian.org>
7166
7167         * lyxtext.h:
7168         * text.C:
7169         * text2.C: 3rd arg to nextBreakPoint was always the same.
7170           Use references.
7171
7172 2003-03-08  John Levon  <levon@movementarian.org>
7173
7174         * lyxrow.C:
7175         * paragraph.C:
7176         * paragraph.h:
7177         * rowpainter.C:
7178         * text.C:
7179         * text2.C: Remove the "main" bit from the "main body"
7180           notion.
7181
7182 2003-03-08  John Levon  <levon@movementarian.org>
7183
7184         * text.C (leftMargin): The left margin of an empty
7185         manual label paragraph should not include the label width
7186         string length.
7187
7188         * text.C (prepareToPrint): don't attempt to measure hfills
7189         for empty manual label paragraphs - the answer should be 0
7190
7191 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * CutAndPaste.C: remove commented code and reindent.
7194
7195 2003-03-08  John Levon  <levon@movementarian.org>
7196
7197         * lyxfunc.h:
7198         * lyxfunc.C: move reloadBuffer()
7199
7200         * BufferView.h:
7201         * BufferView.C: to here
7202
7203         * lyxvc.C: add comment
7204
7205         * vc-backend.h:
7206         * vc-backend.C: call bv->reload() to avoid
7207           getStatus() check on MENURELOAD
7208
7209 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7210
7211         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7212         to an old format .dep file.
7213
7214 2003-03-07  Angus Leeming  <leeming@lyx.org>
7215
7216         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7217         when the LFUN_MOUSE_RELEASE should have been handled by
7218         inset->localDispatch.
7219
7220 2003-03-07  Angus Leeming  <leeming@lyx.org>
7221
7222         * BufferView_pimpl.C (dispatch):
7223         * LyXAction.C (init):
7224         * ToolbarDefaults.C (init):
7225         * commandtags.h:
7226         * lyxfunc.C (getStatus):
7227         remove LFUN_INSET_GRAPHICS.
7228
7229         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7230
7231 2003-03-07  Angus Leeming  <leeming@lyx.org>
7232
7233         * commandtags.h:
7234         * LyXAction.C (init):
7235         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7236
7237         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7238
7239         * commandtags.h:
7240         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7241
7242         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7243         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7244
7245 2003-03-07  Angus Leeming  <leeming@lyx.org>
7246
7247         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7248         remove "ert".
7249
7250 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * ParagraphList.C (front): new function
7253         (back): implement
7254
7255 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7256
7257         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7258         and top_row_offset_. removed var first_y.
7259         * text.C (top_y):
7260         * text2.C (LyXText, removeRow):
7261         * text3.C:
7262         * BufferView_pimpl.C:
7263         use these methods instead of using first_y
7264
7265 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * text2.C (pasteSelection): adjust for checkPastePossible
7268
7269         * CutAndPaste.C: remove Paragraph * buf and replace with
7270         ParagraphList paragraphs.
7271         (DeleteBuffer): delete
7272         (cutSelection): change the tc type to textclass_type
7273         (copySelection): change the tc type to textclass_type
7274         (copySelection): adjust for ParagraphList
7275         (pasteSelection): change the tc type to textclass_type
7276         (pasteSelection): adjust for Paragraphlist
7277         (nrOfParagraphs): simplify for ParagraphList
7278         (checkPastePossible): simplify for ParagraphList
7279         (checkPastePossible): remove unused arg
7280
7281         * ParagraphList.C (insert): handle the case where there are no
7282         paragraphs yet.
7283
7284         * CutAndPaste.h: make CutAndPaste a namespace.
7285
7286         * text3.C (dispatch): adjust
7287
7288         * text.C (breakParagraph): add a ParagraphList as arg
7289
7290         * paragraph_funcs.C (breakParagraph): change to take a
7291         BufferParams and a ParagraphList as args.
7292         (breakParagraphConservative): ditto
7293         (mergeParagraph): ditto
7294         (TeXDeeper): add a ParagraphList arg
7295         (TeXEnvironment): ditto
7296         (TeXOnePar): ditto
7297
7298         * buffer.C (readLyXformat2): adjust
7299         (insertStringAsLines): adjust
7300         (latexParagraphs): adjust
7301
7302         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7303         (cutSelection): adjust
7304         (pasteSelection): adjust
7305
7306         * BufferView_pimpl.C (insertInset): adjust
7307
7308 2003-03-05  Angus Leeming  <leeming@lyx.org>
7309
7310         * commandtags.h:
7311         * LyXAction.C (init):
7312         * BufferView_pimpl.C (dispatch):
7313         * lyxfunc.C (getStatus):
7314         remove LFUN_CHILD_INSERT.
7315
7316         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7317
7318 2003-03-05  Angus Leeming  <leeming@lyx.org>
7319
7320         * commandtags.h:
7321         * LyXAction.C (init):
7322         * src/factory.C (createInset):
7323         * lyxfunc.C (getStatus):
7324         * text3.C (dispatch):
7325         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7326
7327         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7328
7329 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * ParagraphList.C (insert): handle insert right before end()
7332         (erase): fix cases where it can be first or last paragraph.
7333
7334 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7337         Paragraph::next and Paragraph::previous
7338         (TeXOnePar): ditto
7339
7340         * text.C (breakParagraph): adjust
7341
7342         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7343         BufferParams& as arg.
7344         (breakParagraph): use ParagraphList::insert
7345         (breakParagraphConservative): take a Buffer* instead of a
7346         BufferParams& as arg.
7347         (breakParagraphConservative): use ParagraphList::insert.
7348
7349         * buffer.C (insertStringAsLines): un-const it
7350         (insertStringAsLines): adjust
7351
7352         * ParagraphList.C (insert): new function
7353
7354         * CutAndPaste.C (pasteSelection): adjust
7355
7356         * text.C (backspace): adjust
7357
7358         * tabular.C (SetMultiColumn): adjust
7359
7360         * CutAndPaste.C (cutSelection): adjust
7361         (pasteSelection): adjust
7362
7363         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7364         Buffer const * as arg
7365
7366         * ParagraphList.C (erase): new function
7367         * paragraph_funcs.C (mergeParagraph): use it
7368         (mergeParagraph): make it take a Buffer* instead of a
7369         BufferParams* as arg
7370
7371         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7372         as arg
7373         (breakParagraphConservative): ditto
7374
7375         * paragraph.h: remove the breakParagraph friend
7376
7377         * paragraph.C (eraseIntern): new function
7378         (setChange): new function
7379
7380         * paragraph_funcs.C (mergeParagraph): make it take a
7381         ParagraphList::iterator instead of a Paragraph *, adjust
7382         accordingly.
7383
7384         * paragraph.h: move an #endif so that the change tracking stuff
7385         also works in the NO_NEXT case.
7386
7387 2003-03-04  Angus Leeming  <leeming@lyx.org>
7388
7389         * commandtags.h:
7390         * LyXAction.C: new LFUN_INSET_MODIFY.
7391
7392         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7393         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7394
7395 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * several files: ws changes only
7398
7399         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7400         (TeXEnvironment): ditto
7401         (TeXDeeper): ditto
7402
7403         * buffer.C (makeLaTeXFile): adjust
7404         (latexParagraphs): make it take ParagraphList::iterator as args
7405
7406 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * buffer.C (latexParagraphs): adjust
7409
7410         * paragraph.C (TeXOnePar): move function...
7411         (optArgInset): move function...
7412         (TeXEnvironment): move function...
7413         * paragraph_pimpl.C (TeXDeeper): move function...
7414         * paragraph_funcs.C: ...here
7415
7416         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7417
7418 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * buffer.C (readInset): remove compability code for old Figure and
7421         InsetInfo insets
7422
7423 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * buffer.C: ws changes
7426         (readInset):
7427
7428         * BufferView_pimpl.C: ditto
7429         * author.C: ditto
7430         * buffer.h: ditto
7431         * bufferlist.h: ditto
7432         * changes.h: ditto
7433         * lyxfunc.C: ditto
7434
7435 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7436
7437         * converter.[Ch]: split into itself +
7438         * graph.[Ch]
7439         * format.[Ch]
7440         * Makefile.am: += graph.[Ch] + format.[Ch]
7441         * MenuBackend.C
7442         * buffer.C
7443         * exporter.C
7444         * importer.C
7445         * lyx_main.C
7446         * lyxfunc.C
7447         * lyxrc.C: added #include "format.h"
7448
7449 2003-02-27  Angus Leeming  <leeming@lyx.org>
7450
7451         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7452           a label.
7453
7454         * factory.C (createInset): add "label" to the factory.
7455
7456         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7457           string and do no more.
7458
7459 2003-02-27  Angus Leeming  <leeming@lyx.org>
7460
7461         * commandtags.h:
7462         * LyXAction.C (init):
7463         * factory.C (createInset):
7464         * BufferView_pimpl.C (dispatch):
7465           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7466
7467         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7468
7469         * lyxfunc.C (dispatch):
7470         * text3.C (dispatch): pass name to params2string.
7471
7472 2003-02-26  Angus Leeming  <leeming@lyx.org>
7473
7474         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7475           blocks together.
7476           Rearrange the ~includes. Strip out the unnecessary ones.
7477
7478         * factory.C (createInset): reformat.
7479           create new insets for the various LFUN_XYZ_APPLY lfuns.
7480
7481 2003-02-26  John Levon  <levon@movementarian.org>
7482
7483         * lyxrow.h:
7484         * lyxrow.C: add isParStart,isParEnd helpers
7485
7486         * paragraph.h: make isInserted/DeletedText take refs
7487
7488         * paragraph_funcs.h:
7489         * paragraph_funcs.C: remove #if 0'd code
7490
7491         * lyxtext.h:
7492         * text3.C:
7493         * text2.C:
7494         * text.C: use lyxrow helpers above.
7495           Move draw and paint routines to RowPainter.
7496           Make several methods use refs not pointers.
7497           Make backgroundColor() const.
7498           Add markChangeInDraw(), isInInset().
7499           Merge changeRegionCase into changeCase.
7500           Make workWidth() shouldn't-happen code into an Assert.
7501
7502         * rowpainter.h:
7503         * rowpainter.C: new class for painting a row.
7504
7505         * vspace.h:
7506         * vspace.C: make inPixels take a ref
7507
7508 2003-02-26  Angus Leeming  <leeming@lyx.org>
7509
7510         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7511         LFUN_REF_APPLY.
7512
7513 2003-02-25  John Levon  <levon@movementarian.org>
7514
7515         * ispell.C: give the forked command a more accurate name
7516
7517 2003-02-22  John Levon  <levon@movementarian.org>
7518
7519         * toc.h:
7520         * toc.C: make TocItem store an id not a Paragraph *
7521           (bug #913)
7522
7523 2003-02-21  Angus Leeming  <leeming@lyx.org>
7524
7525         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7526           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7527           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7528           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7529           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7530           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7531
7532         * BufferView_pimpl.C (dispatch):
7533         * LyXAction.C (init):
7534         * factory.C (createInset):
7535         * lyxfunc.C (getStatus, dispatch):
7536         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7537
7538 2003-02-21  Angus Leeming  <leeming@lyx.org>
7539
7540         * BufferView_pimpl.C (MenuInsertLyXFile):
7541         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7542         * lyxfunc.C (menuNew, open, doImport):
7543           no longer pass a LyXView & to fileDlg.
7544
7545 2003-02-21  Angus Leeming  <leeming@lyx.org>
7546
7547         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7548         * LyXAction.C: change, BIBKEY to BIBITEM.
7549         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7550         Change InsetBibKey to InsetBibitem.
7551         Change BIBKEY_CODE to BIBITEM_CODE.
7552         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7553         * factory.C: replace insetbib.h with insetbibitem.h.
7554         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7555         * paragraph.C: replace insetbib.h with insetbibitem.h.
7556         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7557         Change bibkey() to bibitem().
7558         * text.C: remove insetbib.h.
7559         * text2.C: replace insetbib.h with insetbibitem.h.
7560         change bibkey() to bibitem().
7561         * text3.C: remove insetbib.h.
7562         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7563
7564 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7565
7566         * lyxrc.C (output): enclose user email in quotes (in case there are
7567         several words)
7568
7569 2003-02-18  John Levon  <levon@movementarian.org>
7570
7571         * buffer.h: add std::
7572
7573 2003-02-17  John Levon  <levon@movementarian.org>
7574
7575         * SpellBase.h:
7576         * ispell.h:
7577         * ispell.C:
7578         * pspell.h:
7579         * pspell.C: reworking. Especially in ispell, a large
7580           number of clean ups and bug fixes.
7581
7582         * lyxfunc.C: fix revert to behave sensibly
7583
7584 2003-02-17 André Pönitz <poenitz@gmx.net>
7585
7586         * LyXAction.C:
7587         * commandtags.h: new LFUN_INSERT_BIBKEY
7588
7589         * layout.h:
7590         * lyxlayout.C:
7591         * buffer.C:
7592         * factory.C:
7593         * text.C:
7594         * text2.C:
7595         * text3.C:
7596         * paragraph.[Ch]:
7597         * paragraph_func.C: remove special bibkey handling
7598
7599 2003-02-17  John Levon  <levon@movementarian.org>
7600
7601         * text.C (Delete): fix case where delete at the end of
7602           the very first paragraph would not merge the pars
7603
7604 2003-02-17  John Levon  <levon@movementarian.org>
7605
7606         * lyxrow.C: fix lastPrintablePos()
7607
7608 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7609
7610         * bufferparams.C (writeLaTeX): add a std:here
7611
7612         * buffer.C: and remove a using directive there
7613
7614 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * buffer.C (makeLaTeXFile): move the code that generates the
7617           preamble...
7618
7619         * bufferparams.C (writeLaTeX): ... in this new method
7620
7621         * LaTeXFeatures.C (getEncodingSet): make const
7622           (getLanguages): make const
7623
7624         * MenuBackend.C (binding): returns the binding associated to this
7625           action
7626           (add): sets the status of each item by calling getStatus. Adds
7627           some intelligence.
7628           (read): add support for OptSubMenu
7629           (expand): remove extra separator at the end of expanded menu
7630
7631 2003-02-15  John Levon  <levon@movementarian.org>
7632
7633         * BufferView.C:
7634         * BufferView_pimpl.C:
7635         * bufferlist.h:
7636         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7637           inset code that had no actual effect. Remove unneeded status
7638           code.
7639
7640 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7643           in preamble
7644
7645 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7646
7647         * text.C (drawLengthMarker): also draw an arrow marker for
7648           symbolic lengths (medskip...)
7649
7650 2003-02-14  John Levon  <levon@movementarian.org>
7651
7652         * tabular.h:
7653         * tabular.C: better method names
7654
7655 2003-02-14  John Levon  <levon@movementarian.org>
7656
7657         * BufferView_pimpl.C:
7658         * bufferlist.C:
7659         * buffer.C:
7660         * converter.C:
7661         * lyx_cb.C:
7662         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7663           it's a more accurate name. Remove some pointless uses.
7664
7665 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7666
7667         * text2.C (LyXText): change order of initilizers to shut off
7668           warnings
7669
7670 2003-02-14  John Levon  <levon@movementarian.org>
7671
7672         * buffer.C: use ParIterator for getParFromID()
7673
7674         * paragraph.h:
7675         * paragraph.C:
7676         * paragraph_pimpl.h:
7677         * paragraph_pimpl.C: remove unused getParFromID()
7678
7679 2003-02-14  John Levon  <levon@movementarian.org>
7680
7681         * buffer.C: remove some very old #if 0'd parse code
7682
7683 2003-02-13  John Levon  <levon@movementarian.org>
7684
7685         * text.h:
7686         * text.C:
7687         * text2.C: move hfillExpansion(), numberOfSeparators(),
7688           rowLast(), rowLastPrintable(), numberofHfills(),
7689           numberOfLabelHfills() ...
7690
7691         * lyxrow.h:
7692         * lyxrow.C: ... to member functions here.
7693
7694         * paragraph.h:
7695         * paragraph.C:
7696         * lyxtext.h:
7697         * text.C: remove LyXText::beginningOfMainBody(), and call
7698           p->beginningOfMainBody() directly. Move the check for
7699           LABEL_MANUAL into the latter.
7700
7701         * text.h:
7702         * text.C:
7703         * text2.C:
7704         * vspace.C:
7705         * BufferView.h:
7706         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7707
7708         * text.h:
7709         * text.C:
7710         * text2.C:
7711         * text3.C:
7712         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7713           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7714
7715 2003-02-13  John Levon  <levon@movementarian.org>
7716
7717         * CutAndPaste.C: remove debug
7718
7719 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7720
7721         * paragraph.C (asString): remove two unused variables
7722
7723         * lyxtextclass.C (readTitleType):
7724           (Read):
7725           (LyXTextClass): handle new members titletype_ and titlename_
7726
7727         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7728
7729 2003-02-09  John Levon  <levon@movementarian.org>
7730
7731         * buffer.h:
7732         * buffer.C: replace hand-coded list with a map for the dep clean
7733
7734 2003-02-08  John Levon  <levon@movementarian.org>
7735
7736         * LaTeX.C: consolidate code into showRunMessage() helper
7737
7738 2003-02-08  John Levon  <levon@movementarian.org>
7739
7740         * lyxfind.C:
7741         * lyxtext.h:
7742         * text2.C:
7743         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7744           and pass the size in explicitly
7745
7746         * BufferView_pimpl.h:
7747         * BufferView_pimpl.C:
7748         * BufferView.h:
7749         * BufferView.C: add getCurrentChange()
7750
7751         * BufferView_pimpl.h:
7752         * BufferView_pimpl.C: handle change lfuns
7753
7754         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7755           for changes. Mark pasted paragraphs as new.
7756
7757         * support/lyxtime.h:
7758         * support/lyxtime.C:
7759         * DepTable.C: abstract time_t as lyx::time_type
7760
7761         * LColor.h:
7762         * LColor.C: add colours for new text, deleted text, changebars
7763
7764         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7765           package use "usenames" option.
7766
7767         * commandtags.h:
7768         * lyxfunc.C:
7769         * LyXAction.C: add change lfuns
7770
7771         * Makefile.am:
7772         * author.h:
7773         * author.C: author handling
7774
7775         * buffer.h:
7776         * buffer.C: add a per-buffer author list, with first entry as
7777           current author. Handle new .lyx tokens for change tracking. Output
7778           author list to .lyx file. Output dvipost stuff to .tex preamble.
7779           Bump lyx format to 222.
7780
7781         * bufferlist.h:
7782         * bufferlist.C: add setCurrentAuthor() to reset current author details
7783           in all buffers.
7784
7785         * bufferparams.h:
7786         * bufferparams.C: add param for tracking
7787
7788         * bufferview_funcs.C: output change info in minibuffer
7789
7790         * Makefile.am:
7791         * changes.h:
7792         * changes.C: add change-tracking structure
7793
7794         * debug.h:
7795         * debug.C: add CHANGES debug flag
7796
7797         * lyxfind.h:
7798         * lyxfind.C: add code for finding the next change piece
7799
7800         * lyxrc.h:
7801         * lyxrc.C: add user_name and user_email
7802
7803         * lyxrow.h:
7804         * lyxrow.C: add a metric for the top of the text line
7805
7806         * lyxtext.h:
7807         * text.C: implement accept/rejectChange()
7808
7809         * lyxtext.h:
7810         * text.C: paint changebars. Paint new/deleted text in the chosen
7811         colours. Strike through deleted text.
7812
7813         * paragraph.h:
7814         * paragraph.C:
7815         * paragraph_pimpl.h:
7816         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7817           in the current change to the insert functions. Rework erase to
7818           mark text as deleted, adding an eraseIntern() and a range-based
7819           erase(). Implement per-paragraph change lookup and
7820           accept/reject.
7821
7822         * paragraph_funcs.C: Fixup paste for change tracking.
7823
7824         * tabular.C: mark added row/columns as new.
7825
7826         * text.C: fix rowLast() to never return -1. Don't allow
7827           spellchecking of deleted text. Track transpose changes. Don't
7828           allow paragraph break or merge where appropriate.
7829
7830         * text2.C: leave cursor at end of selection after a cut.
7831
7832 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7833
7834         * text.C (getLengthMarkerHeight):
7835         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7836         visible on screen too.
7837
7838 2003-02-07  John Levon  <levon@movementarian.org>
7839
7840         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7841
7842 2003-02-05  Angus Leeming  <leeming@lyx.org>
7843
7844         * lyxserver.C (read_ready): revert my patch of 11 September last year
7845         as it sends PC cpu through the roof. Presumably this means that
7846         the lyxserver will no longer run on an Alpha...
7847
7848 2003-01-30  Angus Leeming  <leeming@lyx.org>
7849
7850         * factory.C (createInset): create an InsetCommandParam of type "index"
7851         and use it to 'do the right thing'.
7852
7853         * text2.C (getStringToIndex): ensure that cursor position is always
7854         reset to the reset_cursor position.
7855
7856 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7857
7858         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7859         disabled.
7860
7861 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7862
7863         * bufferview.C:
7864         * lyxcb.C:
7865         * lyxfunc.C: Output messages with identical spelling, punctuation,
7866         and spaces
7867
7868 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7869
7870         * MenuBackend.C (expandFormats): List only viewable export formats
7871         in "View" menu
7872
7873         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7874         message
7875
7876         * lyxfunc.C (getStatus): Make sure that formats other than
7877         "fax" can also be disabled
7878
7879 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7880
7881         * text3.C (dispatch): put the lfuns that insert insets in 3
7882         groups, and call doInsertInset with appropriate arguments.
7883         (doInsertInset): new function, that creates an inset and inserts
7884         it according to some boolean parameters.
7885
7886 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * buffer.C (readFile): remember to pass on 'par' when calling
7889         readFile recursively.
7890
7891 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7892
7893         * MenuBackend.C (expandFormats): add "..." to import formats.
7894
7895 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7896
7897         * paragraph.C (asString): Remove XForms RTL hacks.
7898
7899 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7900         * buffer.C: fix typo
7901
7902 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * Makefile.am (LIBS): delete var
7905         (lyx_LDADD): add @LIBS@ here instead.
7906
7907 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7908
7909         * Clarify the meaning of "wheel mouse jump"
7910
7911 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7912
7913         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7914         tabular in a float
7915
7916 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7917
7918         * importer.C (Loaders): do not preallocate 3 elements in the
7919         vector, since one ends up with 6 elements otherwise
7920
7921 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7922
7923         * DepTable.C (write): write the file name as last element of the
7924         .dep file (because it may contain spaces)
7925         (read): read info in the right order
7926
7927 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7928
7929         * paragraph_pimpl.C (simpleTeXBlanks):
7930         (simpleTeXSpecialChars):
7931         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7932
7933         * tabular.C (latex): add some missing case statements. Reindent.
7934
7935         * MenuBackend.C (expandToc): remove unused variable.
7936
7937 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7938
7939         * LColor.C:
7940         * LaTeX.C:
7941         * LyXAction.C:
7942         * MenuBackend.C:
7943         * buffer.C:
7944         * exporter.C:
7945         * lyxfunc.C:
7946         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7947         and the like.
7948
7949 2003-01-05  John Levon  <levon@movementarian.org>
7950
7951         * BufferView.h:
7952         * BufferView.C: add getEncoding()
7953
7954         * kbsequence.h:
7955         * kbsequence.C: do not store last keypress
7956
7957         * lyxfunc.h:
7958         * lyxfunc.C: store last keypress here instead. Pass encoding
7959           to getISOEncoded()
7960
7961 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7962
7963         * lyx_main.C (init): remove annoying error message when following
7964         symbolic links (bug #780)
7965
7966 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7967
7968         * text.C (insertChar):
7969         * lyxrc.C (getDescription): remove extra spaces
7970
7971 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7972
7973         * lyxrc.C (getDescription): remove extra spaces
7974
7975 2002-12-20  John Levon  <levon@movementarian.org>
7976
7977         * text3.C: hack fix for page up/down across tall rows
7978
7979 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7980
7981         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7982         not been invoked
7983
7984 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7985
7986         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7987         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7988         thesaurus is not compiled in
7989
7990 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7991
7992         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7993
7994 2002-12-16  Angus Leeming  <leeming@lyx.org>
7995
7996         * lyxrc.[Ch]:
7997         * lyx_main.C (init): remove override_x_deadkeys stuff.
7998
7999 2002-12-12  John Levon  <levon@movementarian.org>
8000
8001         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8002           insert. Only remove shift modifier under strict
8003           circumstances.
8004
8005 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * MenuBackend.C (expandToc): fix crash.
8008
8009 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * MenuBackend.C (expandToc): gettext on float names.
8012
8013 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8014
8015         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8016         implement bool empty() [bug 490]
8017
8018 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8021
8022 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * several files: ws changes
8025
8026 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * text2.C (setCounter): clean up a bit, use boost.format.
8029         (updateCounters): initialize par upon declaration.
8030
8031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8032         if the layout exists. We do not just store the layout any more.
8033         (SwitchLayoutsBetweenClasses): use boost.format
8034
8035 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8036
8037         * converter.C (convert): if from and to files are the same, use a
8038         temporary files as intermediary
8039
8040 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8041
8042         * commandtags.h:
8043         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8044
8045 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8046
8047         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8048
8049 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * tabular.C (asciiPrintCell): use string(size, char) instead of
8052         explicit loop.
8053
8054         * sgml.C (openTag): fix order of arguments to string constructor
8055         (closeTag): ditto
8056
8057         * lyxfunc.C (dispatch): use boost.format
8058
8059         * lots of files: change "c" -> 'c'
8060
8061 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8062
8063         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8064
8065 2002-11-25  Angus Leeming  <leeming@lyx.org>
8066
8067         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8068
8069         * lyx_main.C (init): compile fix.
8070
8071 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * lyx_cb.C (start): boost.formatify
8074         do not include <iostream>
8075
8076         * lengthcommon.C: ws only
8077
8078         * boost-inst.C,BoostFormat.h: add more explict instantations
8079
8080 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * lots of files: handle USE_BOOST_FORMAT
8083
8084 2002-11-21  John Levon  <levon@movementarian.org>
8085
8086         * pspell.C: fix compile
8087
8088 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8089
8090         * lyxfunc.C (dispatch): use boost::format
8091         (open): ditto
8092         (doImport): ditto
8093
8094         * lyxfont.C (stateText): use boost::format
8095
8096         * lyx_main.C (LyX): use boost::format
8097         (init): ditto
8098         (queryUserLyXDir): ditto
8099         (readRcFile): ditto
8100         (parse_dbg): ditto
8101         (typedef boost::function): use the recommened syntax.
8102
8103         * importer.C (Import): use boost::format
8104
8105         * debug.C (showLevel): use boost::format
8106
8107         * converter.C (view): use boost::format
8108         (convert): ditto
8109         (move): ditto
8110         (scanLog): ditto
8111
8112         * bufferview_funcs.C (currentState): use boost::format
8113
8114         * bufferlist.C (emergencyWrite): use boost::format
8115
8116         * buffer.C (readLyXformat2): use boost::format
8117         (parseSingleLyXformat2Token): ditto
8118
8119         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8120
8121         * LaTeX.C (run): use boost::format
8122
8123         * Chktex.C (scanLogFile): use boost::format
8124
8125         * BufferView_pimpl.C (savePosition): use boost::format
8126         (restorePosition): ditto
8127         (MenuInsertLyXFile): ditto
8128
8129         * BoostFormat.h: help file for explicit instation.
8130
8131 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8132
8133         * tabular.C (latex): Support for block alignment in fixed width
8134         columns.
8135
8136 2002-11-17  John Levon  <levon@movementarian.org>
8137
8138         * BufferView_pimpl.C:
8139         * lyx_cb.C:
8140         * lyxfunc.C: split filedialog into open/save
8141
8142 2002-11-08  Juergen Vigna  <jug@sad.it>
8143
8144         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8145         by my last patch (hopefully).
8146
8147 2002-11-08  John Levon  <levon@movementarian.org>
8148
8149         * iterators.h:
8150         * iterators.C:
8151         * buffer.h:
8152         * buffer.C:
8153         * paragraph.h:
8154         * paragraph.C:
8155         * toc.h:
8156         * toc.C: ParConstIterator, and use it (from Lars)
8157
8158 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8159
8160         * lyxtextclass.[Ch]: revise and add doxygen comments
8161
8162 2002-11-07  John Levon  <levon@movementarian.org>
8163
8164         * text.C: fix progress value for spellchecker
8165
8166         * toc.C: fix navigate menu for insetwrap inside minipage
8167
8168         * paragraph_funcs.C: added FIXME for suspect code
8169
8170 2002-11-07  John Levon  <levon@movementarian.org>
8171
8172         * BufferView_pimpl.C: fix redrawing of insets
8173           on buffer switch
8174
8175 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8176
8177         * text2.C (updateCounters): fix bug 668
8178
8179 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8180
8181         * text3.C (dispatch): Do not make the buffer dirty when moving the
8182         cursor.
8183
8184 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * vc-backend.C: STRCONV
8187         (scanMaster): ditto
8188
8189         * text2.C (setCounter): STRCONV
8190
8191         * paragraph.C (asString): STRCONV
8192
8193         * lyxlength.C (asString): STRCONV
8194         (asLatexString): ditto
8195
8196         * lyxgluelength.C (asString): STRCONV
8197         (asLatexString): ditto
8198
8199         * lyxfunc.C (dispatch): STRCONV
8200         (open): ditto
8201
8202         * lyxfont.C (stateText): STRCONV
8203
8204         * importer.C (Import): STRCONV
8205
8206         * counters.C (labelItem): STRCONV
8207         (numberLabel): ditto
8208         (numberLabel): remove unused ostringstream o
8209
8210         * chset.C: STRCONV
8211         (loadFile): ditto
8212
8213         * bufferview_funcs.C (currentState): STRCONV
8214
8215         * buffer.C (readFile): STRCONV
8216         (asciiParagraph): ditto
8217         (makeLaTeXFile): ditto
8218
8219         * Spacing.C (writeEnvirBegin): STRCONV
8220
8221         * LaTeXFeatures.C (getLanguages): STRCONV
8222         (getPackages): ditto
8223         (getMacros): ditto
8224         (getBabelOptions): ditto
8225         (getTClassPreamble): ditto
8226         (getLyXSGMLEntities): ditto
8227         (getIncludedFiles): ditto
8228
8229         * LaTeX.C: STRCONV
8230         (run): ditto
8231         (scanAuxFile): ditto
8232         (deplog): ditto
8233
8234         * LString.h: add the STRCONV macros
8235
8236         * BufferView_pimpl.C (savePosition): STRCONV
8237         (restorePosition): ditto
8238         (MenuInsertLyXFile): ditto
8239
8240         * vc-backend.C (scanMaster): change from submatch[...] to
8241         submatch.str(...)
8242
8243         * funcrequest.C: include config.h
8244
8245         * factory.C: include config.h
8246
8247         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8248
8249         * box.C: include config.h
8250
8251         * LaTeX.C (scanAuxFile): change from submatch[...] to
8252         submatch.str(...)
8253         (deplog): ditto
8254
8255 2002-10-25  Angus Leeming  <leeming@lyx.org>
8256
8257         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8258
8259         * ispell.[Ch] (setError): new method.
8260         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8261         Use setError() insetead of goto END.
8262
8263         * lyx_cb.C (AutoSave): move out child process into new class
8264         AutoSaveBuffer.
8265
8266 2002-10-30  John Levon  <levon@movementarian.org>
8267
8268         * text3.C: make start appendix undoable
8269
8270 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8271
8272         * lyxlength.C (inPixels): Fix returned value.
8273
8274         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8275         environment.
8276
8277 2002-10-24  Angus Leeming  <leeming@lyx.org>
8278
8279         * lyxgluelength.h: no need to forward declare BufferParams
8280         or BufferView, so don't.
8281
8282 2002-10-21  John Levon  <levon@movementarian.org>
8283
8284         * BufferView.C: menuUndo ->undo, redo
8285
8286         * BufferView.h: document, remove dead, make some methods private
8287
8288         * paragraph_funcs.h:
8289         * paragraph_funcs.C:
8290         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8291
8292         * buffer.h:
8293         * buffer.C:
8294         * sgml.h:
8295         * sgml.C: move sgml open/close tag into sgml.C
8296
8297         * bufferview_funcs.h: unused prototype
8298
8299         * lyxfunc.h:
8300         * lyxfunc.C: remove unused
8301
8302         * lyxtext.h:
8303         * text.C: remove unused
8304
8305 2002-10-21  John Levon  <levon@movementarian.org>
8306
8307         * BufferView.h:
8308         * BufferView.C:
8309         * BufferView_pimpl.h:
8310         * BufferView_pimpl.C: fix mouse wheel handling based on
8311           patch from Darren Freeman
8312
8313 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8314
8315         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8316
8317 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8318
8319         * lyxlength.C (inPixels): Fix hanfling of negative length.
8320         Fix LyXLength::MU case.
8321
8322 2002-10-16  John Levon  <levon@movementarian.org>
8323
8324         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8325
8326 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8327
8328         * converter.C (view): add support for $$i (file name) and $$p
8329         (file path) for the viewer command. If $$i is not specified, then
8330         it is appended to the command (for compatibility with old syntax)
8331
8332 2002-10-14  Juergen Vigna  <jug@sad.it>
8333
8334         * undo_funcs.C (textHandleUndo): alter the order in which the
8335         new undopar is added to the LyXText, as we have to set first
8336         the right prev/next and then add it as otherwise the rebuild of
8337         LyXText is not correct. Also reset the cursor to the right paragraph,
8338         with this IMO we could remove the hack in "redoParagraphs()".
8339
8340 2002-10-09  Angus Leeming  <leeming@lyx.org>
8341
8342         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8343         to turn off an optimisation if a new inset is to be inserted.
8344
8345 2002-10-11 André Pönitz <poenitz@gmx.net>
8346
8347         * lyxtext.h: make some functions public to allow access
8348         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8349
8350 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8351
8352         * text3.C (dispatch): when changing layout, avoid an infinite loop
8353         [bug #652]
8354
8355 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8356
8357         * lyxrc.C (read): treat a viewer or converter command of "none" as
8358         if it were empty.
8359
8360         * MenuBackend.C (expandFormats): for an update, also allow the
8361         formats that are not viewable
8362
8363         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8364         script if it is newer than the lyxrc.defaults in user directory
8365
8366 2002-10-07 André Pönitz <poenitz@gmx.net>
8367
8368         * text.C: Vitaly Lipatov's small i18n fix
8369
8370 2002-09-25  Angus Leeming  <leeming@lyx.org>
8371
8372         * ispell.h: doxygen fix.
8373
8374 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8375
8376         * buffer.h (readFile): Add a new argument to the method, to allow
8377         reading of old-format templates.
8378
8379 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * toc.C (getTocList): Get TOC from InsetWrap.
8382
8383 2002-09-16  John Levon  <levon@movementarian.org>
8384
8385         * lyxfunc.C: check tabular for cut/copy too
8386
8387 2002-09-12  John Levon  <levon@movementarian.org>
8388
8389         * LyXAction.C: tidy
8390
8391         * factory.h:
8392         * factory.C: add header
8393
8394         * paragraph_funcs.h:
8395         * paragraph_funcs.C: cleanup
8396
8397 2002-09-11  John Levon  <levon@movementarian.org>
8398
8399         * PrinterParams.h: odd/even default to true
8400
8401 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8402
8403         * PrinterParams.h: update printer parameters for new xforms dialog
8404
8405 2002-09-11  Angus Leeming  <leeming@lyx.org>
8406
8407         * lyxserver.C (read_ready): re-write to make it more transparent
8408         and to make it work in coherent fashion under Tru64 Unix.
8409
8410 2002-09-11  André Pönitz <poenitz@gmx.net>
8411
8412         * commandtags.h:
8413         * LyXAction.C:
8414         * text3.C: implement LFUN_WORDSEL
8415
8416 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8419         make floatlist_ a boost::shared_ptr<FloatList>
8420
8421         * lyxtextclass.C: include FloatList.h
8422         (LyXTextClass): initialize floatlist_
8423         (TextClassTags): add TC_NOFLOAT
8424         (Read): match "nofloat" to TC_NOFLOAT and use it.
8425         (readFloat): modify call to floatlist_
8426         (floats): ditto
8427         (floats): ditto
8428
8429         * FloatList.[Ch] (FloatList): remove commented out float
8430         initialization.
8431         (erase): new function
8432
8433 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8434
8435         * MenuBackend.C (expandToc): fix crash when there is no document
8436         open
8437
8438 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8439
8440         * many files: Add insetwrap.
8441
8442 2002-09-09  John Levon  <levon@movementarian.org>
8443
8444         * text2.C: remove confusing and awkward depth wraparound
8445
8446 2002-09-09  John Levon  <levon@movementarian.org>
8447
8448         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8449
8450         * buffer.h:
8451         * buffer.C: remove getIncludeonlyList()
8452
8453         * paragraph.C:
8454         * lyxfunc.C: remove headers
8455
8456 2002-09-09  Juergen Vigna  <jug@sad.it>
8457
8458         * text.C (getColumnNearX): fix form Michael this is most
8459         probably a cut&paste bug.
8460
8461 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8464
8465         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8466         references, ws changes.
8467
8468         * text2.C (init): update counters after init
8469         (insertParagraph): no need to set counter on idividual paragraphs.
8470         (setCounter): access the counters object in the textclass object
8471         on in the buffer object.
8472         (updateCounters): ditto
8473
8474         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8475         shared_ptr<Counters> to avoid loading counters.h in all
8476         compilation units.
8477         (LyXTextClass): initialize ctrs_
8478         (TextClassTags): add TC_COUNTER, and ...
8479         (Read): use it here.
8480         (CounterTags): new tags
8481         (readCounter): new function
8482         (counters): new funtion
8483         (defaultLayoutName): return a const reference
8484
8485         * counters.C (Counters): remove contructor
8486         (newCounter): remove a couple of unneeded statements.
8487         (newCounter): simplify a bit.
8488         (numberLabel): some small formatting changes.
8489
8490         * buffer.[Ch]: remove all traces of counters, move the Counters
8491         object to the LyXTextClass.
8492
8493 2002-09-06  Alain Castera  <castera@in2p3.fr>
8494
8495         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8496         package to set the horizontal alignment on fixed width columns.
8497
8498         * lyx_sty.C:
8499         * lyx_sty.h: added tabularnewline macro def.
8500
8501         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8502
8503 2002-09-06  John Levon  <levon@movementarian.org>
8504
8505         * LyXAction.C: tooltips for sub/superscript
8506
8507         * MenuBackend.C: a bit more verbose
8508
8509         * lyxfunc.C: tiny clean
8510
8511         * undo_funcs.C: document undo_frozen
8512
8513 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * counters.C (Counters): add missing algorithm counter.
8516
8517         * text2.C (setCounter): lookup the counter with layouts latexname
8518         instead of by section number.
8519         (setCounter): use a hackish way to lookup the correct enum
8520         counter.
8521         a float name->type change
8522         reset enum couners with counter name directly instead of depth value.
8523
8524         * counters.C (Counters): remove the push_backs, change to use the
8525         float type not the float name.
8526         (labelItem): remove unused string, float name->type change
8527
8528         * counters.h: don't include vector, loose the enums and sects vectors
8529
8530 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8533         (Read): add float->TC_FLOAT to textclassTags
8534         (Read): and handle it in the switch
8535         (readFloat): new function
8536
8537         * FloatList.C (FloatList): comment out the hardcoded float
8538         definitions.
8539
8540         * lyxlayout.h: ws change.
8541
8542 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8543
8544         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8545
8546 2002-09-03  Angus Leeming  <leeming@lyx.org>
8547
8548         * BufferView_pimpl.h: qualified name is not allowed in member
8549         declaration: WorkArea & Pimpl::workarea() const;
8550
8551         * factory.C: added using std::endl directive.
8552
8553         * text3.C: added using std::find and std::vector directives.
8554
8555 2002-08-29  André Pönitz <poenitz@gmx.net>
8556
8557         * lyxtext.h:
8558         * text2.C: remove unused member number_of_rows
8559
8560         * Makefile.am:
8561         * BufferView2.C: remove file, move contents to...
8562         * BufferView.C: ... here
8563
8564         * BufferView_pimpl.C:
8565         * factory.C: move more inset creation to factory
8566
8567         * vspace.C: avoid direct usage of LyXText, ws changes
8568
8569         * BufferView.[Ch]:
8570                 don't provide direct access to WorkArea, use two simple
8571                 acessors haveSelction() and workHeight() instead
8572
8573
8574 2002-08-29  John Levon  <levon@movementarian.org>
8575
8576         * BufferView_pimpl.C (dispatch): do not continue when
8577           no buffer
8578
8579 2002-08-28  André Pönitz <poenitz@gmx.net>
8580
8581         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8582
8583         * BufferView.h:
8584         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8585
8586 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8587
8588         * buffer.C: increment LYX_FORMAT to 221
8589
8590         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8591         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8592
8593         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8594
8595         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8596
8597 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8598
8599         * factory.C (createInset): use LyXTextClass::floats
8600
8601         * MenuBackend.C (expandFloatListInsert):
8602         (expandFloatInsert):
8603         (expandToc):
8604
8605         * text2.C (setCounter):
8606
8607         * LaTeXFeatures.C (useFloat):
8608         (getFloatDefinitions):
8609
8610         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8611
8612         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8613         floatlist_, with accessor floats().
8614
8615         * FloatList.h: remove global FloatList
8616
8617 2002-08-26  André Pönitz <poenitz@gmx.net>
8618
8619         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8620
8621         * BufferView.h:
8622         * BufferView2.C:
8623         * BufferView_pimpl.C:
8624         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8625
8626 2002-08-25  John Levon  <levon@movementarian.org>
8627
8628         * LyXAction.C: fix margin note description
8629
8630 2002-08-24  John Levon  <levon@movementarian.org>
8631
8632         * buffer.C:
8633         * bufferlist.C:
8634         * bufferview_funcs.C:
8635         * lyxfont.C:
8636         * undo_funcs.C: cleanups
8637
8638         * lyxfunc.C: disable CUT/COPY when no selection
8639
8640 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8641
8642         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8643         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8644
8645         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8646         Add backward compatibility to "mono", "gray" and "no".
8647
8648 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8649
8650         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8651         (and file_format >= 200).
8652
8653 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8656
8657 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8660
8661 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8662
8663         * BufferView_pimpl.C:
8664         * LyXAction.C:
8665         * buffer.C:
8666         * commandtags.h:
8667         * lyxfunc.C:
8668         * paragraph.[Ch]:
8669         * text2.C:
8670         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8671         inset and code to make it  work with the paragraph code. The inset
8672         can be anywhere in the paragraph, but will only do the expected
8673         thing in LaTeX if the layout file contains the parameter line
8674                         OptionalArgs    1
8675         (or more generally, a nonzero value) for that layout.
8676
8677 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8678
8679         * paragraph.h: remove the declaration of undefined counters class
8680         function.
8681
8682 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8683
8684         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8685         Dr. Richard Hawkins.
8686
8687 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8688
8689         * paragraph_funcs.h: remove some unneeded includes
8690
8691         * text.C (backspace): pasteParagraph now in global scipe
8692
8693         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8694         (pasteSelection): ditto
8695
8696         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8697         * paragraph_funcs.C (pasteParagraph): ... here
8698
8699 2002-08-20  André Pönitz <poenitz@gmx.net>
8700
8701         * commandtags.h: new LFUNs for swapping/copying table row/colums
8702
8703         * LyXAction.C:
8704         * lyxfunc.C: support for new lfuns
8705
8706 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * tabular.C:
8709         * buffer.[Ch]: remove NO_COMPABILITY stuff
8710
8711 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * boost.C (throw_exception): new file, with helper function for
8714         boost compiled without exceptions.
8715
8716         * paragraph.h:
8717         * lyxlength.C:
8718         * buffer.C:
8719         * ParameterStruct.h:
8720         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8721
8722         * bufferlist.C (emergencyWriteAll): use boost bind
8723
8724         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8725
8726         * text.C: include paragraph_funcs.h
8727         (breakParagraph): breakParagraph is now in global scope
8728
8729         * paragraph_funcs.[Ch]: new files
8730
8731         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8732         global scope
8733
8734         * buffer.C: include paragraph_funcs.h
8735         (insertStringAsLines): breakParagraph is now in global scope
8736
8737         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8738         paragraph_funcs.C
8739
8740         * CutAndPaste.C: include paragraph_funcs.h
8741         (cutSelection): breakParagraphConservative is now in global scope
8742         (pasteSelection): ditto
8743
8744         * buffer.h: declare oprator== and operator!= for
8745         Buffer::inset_iterator
8746
8747         * bufferlist.C (emergencyWrite): don't use fmt(...)
8748
8749         * text3.C: add using std::endl
8750
8751         * BufferView.C (moveCursorUpdate): remove default arg
8752
8753 2002-08-20  André Pönitz <poenitz@gmx.net>
8754
8755         * buffer.[Ch]: move inline functions to .C
8756
8757         * BufferView2.C:
8758         * BufferView_pimpl.C:
8759         * text.C:
8760         * buffer.[Ch]: use improved inset_iterator
8761
8762         * buffer.C:
8763         * paragraph.[Ch]: write one paragraph at a time
8764
8765 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8766
8767         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8768         style if style is not specified.
8769
8770 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * text2.C (setCounter): when searching for right label for a
8773         caption, make sure to recurse to parent insets (so that a caption
8774         in a minipage in a figure float works) (bug #568)
8775
8776 2002-08-20  André Pönitz <poenitz@gmx.net>
8777
8778         * text3.C: new file for LyXText::dispatch() and helpers
8779
8780         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8781
8782         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8783
8784 2002-08-19  André Pönitz <poenitz@gmx.net>
8785
8786         * lyxtext.h:
8787         * text.C: new LyXText::dispatch()
8788
8789         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8790
8791 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8792
8793         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8794
8795         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8796         Hebrew text.
8797
8798 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * Makefile.am: use $(variables) instead of @substitutions@
8801
8802 2002-08-15  André Pönitz <poenitz@gmx.net>
8803
8804         * lyxfunc.C:
8805         * BufferView_pimpl.C: streamlining mathed <-> outer world
8806         interaction
8807
8808         * commandtags.h:
8809         * LyXAction.C: remove unused LFUN_MATH
8810
8811 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8814
8815 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * paragraph.C (Paragraph): reformat a bit
8818         (cutIntoMinibuffer): use builtin InsetList function instad of
8819         doing it manually.
8820         (getInset): ditto
8821
8822         * buffer.C: include boost/bind.hpp, add using std::for_each
8823         (writeFileAscii): use ParagraphList iterators
8824         (validate): use for_each for validate traversal of paragraphs
8825         (getBibkeyList): use ParagraphList iterators
8826         (resizeInsets): use for_each to resizeInsetsLyXText for all
8827         paragraphs.
8828         (getParFromID): use ParagraphList iterators
8829
8830         * BufferView2.C (lockInset): use paragraph list and iterators
8831
8832 2002-08-14  John Levon  <levon@movementarian.org>
8833
8834         * lyxserver.C: remove spurious xforms include
8835
8836 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8839
8840 2002-08-13  André Pönitz <poenitz@gmx.net>
8841
8842         * LyXAction.[Ch]:
8843         * lyxfunc.C: further cleaning
8844
8845 2002-08-13  André Pönitz <poenitz@gmx.net>
8846
8847         * funcrequest.h: new constructor
8848
8849         * funcrequest.C: move stuff here from .h
8850
8851         * Makefile.am:
8852         * BufferView_pimpl.C:
8853         * LyXAction.C:
8854         * toc.C:
8855         * lyxfunc.C: subsequent changes
8856
8857         * lyxfunc.h: new view() member function
8858
8859         * lyxfunc.C: subsequent changes
8860
8861 2002-08-13  Angus Leeming  <leeming@lyx.org>
8862
8863         * BufferView2.C:
8864         * BufferView_pimpl.C:
8865         * buffer.C:
8866         * converter.C:
8867         * importer.C:
8868         * lyxfunc.C:
8869         * lyxvc.C:
8870         * toc.C:
8871         * vc-backend.C:
8872         changes due to the changed LyXView interface that now returns references
8873         to member variables not pointers.
8874
8875 2002-08-13  Angus Leeming  <leeming@lyx.org>
8876
8877         * WordLangTuple (word, lang_code): return references to strings,
8878         not strings.
8879
8880         * BufferView.h:
8881         * SpellBase.h:
8882         * lyxtext.h: forward-declare WordLangTuple.
8883
8884         * BufferView2.C:
8885         * ispell.C:
8886         * pspell.C:
8887         * text.C: #include "WordLangTuple.h".
8888
8889         * lyxtext.h:
8890         * text.C: (selectNextWordToSpellcheck): constify return type.
8891
8892 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8893
8894         * buffer.C:
8895         * buffer.h:
8896         * lyxtext.h:
8897         * paragraph.C:
8898         * paragraph_pimpl.h:
8899         * text.C:
8900         * text2.C:
8901         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8902         suggested by Angus.
8903         Made updateCounter always count from start of buffer, and removed
8904         second argument (par).
8905         Reverted floats number display to '#'. Perhaps I'll try again when the
8906         code base is sanitized a bit.
8907
8908 2002-08-12  Angus Leeming  <leeming@lyx.org>
8909
8910         * buffer.[Ch] (getLabelList): constify.
8911
8912 2002-08-07  André Pönitz <poenitz@gmx.net>
8913
8914         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8915
8916         * funcrequest.h: extension to keep mouse (x,y) position
8917
8918 2002-08-12  Juergen Vigna  <jug@sad.it>
8919
8920         * BufferView2.C (insertErrors): forbid undo when inserting error
8921         insets.
8922
8923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8924
8925 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8926
8927         * ParagraphList.[Ch]: new files
8928
8929         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8930
8931         * BufferView2.C (lockInset): ParagraphList changes
8932         * toc.C: ditto
8933         * text2.C: ditto
8934         * bufferlist.C: ditto
8935         * buffer.h: ditto
8936         * buffer.C: ditto
8937
8938 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8939
8940         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8941         unused class variable counter_,
8942
8943         * paragraph.[Ch] (getFirstCounter): delete unused function
8944
8945         * counters.C: include LAssert.h
8946         (reset): add a new function with no arg, change other version to
8947         not have def. arg and to not allow empty arg.
8948
8949         * text2.C (setCounter): remove empty arg from call to Counters::reset
8950
8951 2002-08-11  John Levon  <levon@movementarian.org>
8952
8953         * Makefile.am: add WordLangTuple.h
8954
8955 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8958         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8959
8960         * insets/insettext.C: InsetList changes
8961
8962         * graphics/GraphicsSupport.C (operator()): InsetList changes
8963
8964         * toc.C (getTocList): InsetList changes
8965
8966         * paragraph_pimpl.[Ch]: InsetList changes
8967
8968         * paragraph.[Ch]: InsetList changes
8969
8970         * buffer.C (inset_iterator): InsetList changes
8971         (setParagraph): ditto
8972         * buffer.h (inset_iterator): ditto
8973         * iterators.C (operator++): ditto
8974         * iterators.h: ditto
8975
8976         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8977
8978         * InsetList.[Ch]: new files, most InsetList handling moved out of
8979         paragraph.C.
8980
8981         * BufferView2.C (removeAutoInsets): InsetList changes
8982         (lockInset): ditto
8983         (ChangeInsets): ditto
8984
8985 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * paragraph_pimpl.h (empty): new function
8988
8989         * paragraph.[Ch] (empty): new function
8990
8991         * other files: use the new Paragraph::empty function
8992
8993 2002-08-09  John Levon  <levon@movementarian.org>
8994
8995         * lyxtext.h: remove unused refresh_height
8996
8997 2002-08-09  John Levon  <levon@movementarian.org>
8998
8999         * Makefile.am:
9000         * sgml.h:
9001         * sgml.C:
9002         * buffer.C:
9003         * paragraph.h:
9004         * paragraph.C: move sgml char escaping out of paragraph
9005
9006         * paragraph.h:
9007         * paragraph.C: remove id setter
9008
9009         * buffer.C:
9010         * paragraph.C:
9011         * paragraph_pimpl.C: remove dead tex_code_break_column
9012
9013         * bufferview_funcs.C: small cleanup
9014
9015         * lyxfunc.C: remove dead proto
9016
9017         * lyxtext.h: make some stuff private. Remove some dead stuff.
9018
9019         * lyxgluelength.C: make as[LyX]String() readable
9020
9021 2002-08-08  John Levon  <levon@movementarian.org>
9022
9023         * LyXAction.h:
9024         * LyXAction.C:
9025         * MenuBackend.C:
9026         * ToolbarDefaults.C:
9027         * lyxfunc.C:
9028         * lyxrc.C:
9029         * toc.C: lyxaction cleanup
9030
9031 2002-08-08  John Levon  <levon@movementarian.org>
9032
9033         * BufferView2.C: small cleanup
9034
9035         * lyxfind.h:
9036         * lyxfind.C: move unnecessary header into the .C
9037
9038 2002-08-08  John Levon  <levon@movementarian.org>
9039
9040         * funcrequest.h: just tedious nonsense
9041
9042         * lyx_main.h:
9043         * lyx_main.C: cleanups
9044
9045         * buffer.C:
9046         * vspace.C: remove dead header lyx_main.h
9047
9048 2002-08-07  Angus Leeming  <leeming@lyx.org>
9049
9050         * Paragraph.[Ch]:
9051         * paragraph_pimpl.h:
9052         Forward declare class Counters in paragraph.h by moving the ctrs member
9053         variable into Paragraph::Pimpl.
9054         (counters): new method, returning a reference to pimpl_->ctrs.
9055
9056         * text2.C: ensuing changes.
9057
9058 2002-08-07  John Levon  <levon@movementarian.org>
9059
9060         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9061
9062         * BufferView_pimpl.C: announce X selection on double/triple
9063           click
9064
9065         * lyx_main.C: use correct bool in batch dispatch
9066
9067         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9068
9069 2002-08-07  André Pönitz <poenitz@gmx.net>
9070
9071         * funcrequest.h: new class to wrap a kb_action and its argument
9072
9073         * BufferView.[Ch]:
9074         * BufferView_pimpl[Ch]:
9075         * LaTeX.C:
9076         * LyXAction.[Ch]:
9077         * lyxfunc.[Ch]:
9078         * lyxrc.C: subsequent changes
9079
9080
9081 2002-08-07  John Levon  <levon@movementarian.org>
9082
9083         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9084           document options change.
9085
9086 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9087
9088         * counters.[Ch]
9089         * text2.C
9090         * paragraph.[Ch]
9091         * makefile.am: move counters functionality over from
9092         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9093
9094 2002-08-06  John Levon  <levon@movementarian.org>
9095
9096         * WordLangTuple.h: new file for word + language code tuple
9097
9098         * SpellBase.h:
9099         * pspell.h:
9100         * pspell.C:
9101         * ispell.h:
9102         * ispell.C:
9103         * lyxtext.h:
9104         * text.C:
9105         * text2.C:
9106         * BufferView.h:
9107         * BufferView2.C: use WordLangTuple
9108
9109         * layout.h:
9110         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9111
9112 2002-08-06  John Levon  <levon@movementarian.org>
9113
9114         * lyx_main.C: fix cmdline batch handling
9115
9116 2002-08-06  André Pönitz <poenitz@gmx.net>
9117
9118         * lyxrc.C: set default for show_banner to true
9119
9120 2002-08-06  John Levon  <levon@movementarian.org>
9121
9122         * pspell.C: fix a crash, and allow new aspell to work
9123
9124 2002-08-06  John Levon  <levon@movementarian.org>
9125
9126         * lyxfunc.C:
9127         * kbmap.C: small cleanup
9128
9129         * vspace.h:
9130         * vspace.C: add const
9131
9132 2002-08-05  John Levon  <levon@movementarian.org>
9133
9134         * LyXAction.C: back to tabular-insert
9135
9136 2002-08-04  John Levon  <levon@movementarian.org>
9137
9138         * BufferView.h:
9139         * BufferView.C: cosmetic change
9140
9141         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9142
9143         * bufferlist.C:
9144         * buffer.h:
9145         * buffer.C:
9146         * lyxcb.h:
9147         * lyxcb.C:
9148         * lyxserver.C:
9149         * lyxvc.C:
9150         * vc-backend.C:
9151         * BufferView2.C: purge all "Lyx" not "LyX" strings
9152
9153         * lyxcursor.h:
9154         * lyxcursor.C: attempt to add some documentation
9155
9156         * lyxfunc.C:
9157         * commandtags.h:
9158         * LyXAction.C:
9159         * ToolbarDefaults.C:
9160         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9161           merge with LFUN_TABULAR_INSERT
9162
9163         * Makefile.am:
9164         * SpellBase.h:
9165         * ispell.h:
9166         * ispell.C:
9167         * pspell.h:
9168         * pspell.C: split up i/pspell implementations into separate
9169           files, many cleanups
9170
9171         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9172
9173         * text2.C: some cleanup
9174
9175         * lyxfunc.C: don't check for isp_command == "none" any more, it
9176           didn't make any sense
9177
9178 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9179
9180         * counters.[Ch]
9181         * text2.C
9182         * paragraph.[Ch]
9183         * makefile.am: move counters functionality over
9184         from text2.C/paragraph.[Ch] to counters.[Ch], and
9185         make proper C++.
9186 2002-08-02  John Levon  <levon@movementarian.org>
9187
9188         * buffer.C: s/lyxconvert/lyx2lyx/
9189
9190 2002-08-02  Angus Leeming  <leeming@lyx.org>
9191
9192         * lyxlex.C: revert John's change as it breaks reading of the user
9193         preamble.
9194
9195 2002-08-02  Angus Leeming  <leeming@lyx.org>
9196
9197         * importer.C (Import):
9198         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9199         changes due to LyXView::view() now returning a boost::shared_ptr.
9200
9201 2002-08-02  John Levon  <levon@movementarian.org>
9202
9203         * lyxlex.C: small cleanup
9204
9205 2002-08-02  John Levon  <levon@movementarian.org>
9206
9207         * text2.C (status): small cleanup, no logic change
9208
9209 2002-08-01  John Levon  <levon@movementarian.org>
9210
9211         * buffer.h:
9212         * buffer.C (writeFile): don't output alerts, caller
9213           handles this
9214
9215         * bufferlist.C:
9216         * lyx_cb.C: from above
9217
9218         * lyxfunc.C: allow to open non-existent files
9219
9220 2002-07-31  John Levon  <levon@movementarian.org>
9221
9222         * lyxserver.C: don't let incidental errors get
9223           in the way (errno)
9224
9225 2002-07-30  John Levon  <levon@movementarian.org>
9226
9227         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9228
9229 2002-07-30  John Levon  <levon@movementarian.org>
9230
9231         * lyxserver.h:
9232         * lyxserver.C: remove I/O callback too
9233
9234 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9237         log.
9238
9239 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9240
9241         * many files: strip,frontStrip -> trim,ltrim,rtrim
9242
9243 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9244
9245         * PrinterParams.h: remove extern containsOnly, and include
9246         support/lstrings.h instead.
9247
9248         * LaTeX.C (scanAuxFile): modify because of strip changes
9249         (deplog): ditto
9250         * buffer.C (makeLaTeXFile): ditto
9251         * bufferparams.C (writeFile): ditt
9252         * lyxfont.C (stateText): ditto
9253         * lyxserver.C (read_ready): ditto
9254         * vc-backend.C (scanMaster): ditto
9255
9256         * BufferView_pimpl.h: ws changes
9257
9258         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9259
9260 2002-07-26  André Pönitz <poenitz@gmx.net>
9261
9262         * kb_sequence.C: remove unnedred usings
9263
9264 2002-07-26  Juergen Vigna  <jug@sad.it>
9265
9266         * lyxfind.C (LyXReplace): we have to check better if the returned
9267         text is not of theLockingInset()->getLockingInset().
9268
9269 2002-07-25  Juergen Vigna  <jug@sad.it>
9270
9271         * lyxfind.C (LyXReplace): don't replace if we don't get the
9272         right LyXText.
9273
9274         * undo_funcs.C (createUndo): remove debugging code.
9275
9276 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9277
9278         * buffer.C (parseSingleLyXformat2Token): Use default placement
9279         when reading old floats.
9280
9281         * FloatList.C (FloatList): Change the default placement of figure
9282         and tables to "tbp".
9283
9284 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * MenuBackend.C: using std::max
9287
9288 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9289
9290         * MenuBackend.C (expandToc):
9291         (expandToc2): code moved from xforms menu frontend. It is now
9292         generic and TOCs are transparent to menu frontends.
9293
9294 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * toc.C (getTocList): protect against buf=0
9297
9298         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9299         Menu as first parameter. Now, this calls itself recursively to
9300         expand a whole tree (this will be useful for TOC handling)
9301         (expandFloatInsert): remove 'wide' version of floats
9302
9303         * MenuBackend.h (submenuname): returns the name of the submenu.
9304         (submenu): returns the submenu itself, provided it has been
9305         created by MenuBackend::expand
9306
9307 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9308
9309         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9310         insets which have noFontChange == true. (bug #172)
9311
9312 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * BufferView_pimpl.C: add connection objects and use them...
9315         (Pimpl): here.
9316
9317 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * MenuBackend.C (expandLastfiles):
9320         (expandDocuments):
9321         (expandFormats):
9322         (expandFloatListInsert):
9323         (expandFloatInsert):
9324         (expand): split expand in parts
9325
9326 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * lyx_gui.C: use lyx_gui::exit()
9329
9330 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * LyXAction.C: show the failing pseudo action
9333
9334 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9335
9336         * buffer.C (readFile): Run the lyxconvert script in order to read
9337         old files.
9338
9339 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * LyXAction.C:
9342         * commandtags.h:
9343         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9344
9345 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * LyXAction.C:
9348         * commandtags.h:
9349         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9350
9351 2002-07-22  Herbert Voss  <voss@lyx.org>
9352
9353         * lengthcommon.C:
9354         * lyxlength.[Ch]: add support for the vertical lengths
9355
9356 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * toc.[Ch]: std:: fixes
9359
9360 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * lyxrc.C: do not include lyx_main.h
9363
9364         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9365         for layouts
9366
9367         * lyxrc.C:
9368         * encoding.C:
9369         * bufferlist.C:
9370         * BufferView2.C: include "lyxlex.h"
9371
9372         * tabular.h:
9373         * bufferparams.h: do not #include "lyxlex.h"
9374
9375         * lyxtextclasslist.C (Add): remove method
9376         (classlist): renamed to classlist_
9377
9378         * paragraph_pimpl.C:
9379         * paragraph.C:
9380         * text2.C:
9381         * CutAndPaste.C:
9382         * bufferview_funcs.C:
9383         * bufferlist.C:
9384         * text.C:
9385         * LaTeXFeatures.C:
9386         * buffer.C:
9387         * toc.C (getTocList): use BufferParams::getLyXTextClass
9388
9389         * toc.C (getTocList): use InsetFloat::addToToc
9390
9391         * toc.[Ch]: new files, containing helper functions to handle table
9392         of contents
9393
9394         * lyxfunc.C (dispatch): no need to remove spaces around command
9395         given as a string
9396         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9397         first command of the sequence; it is not very clever, but I do not
9398         have a better idea, actually
9399
9400         * LyXAction.C (LookupFunc): make sure to remove space at the
9401         beginning and end of the command
9402
9403 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9404
9405         * MenuBackend.C (getMenubar): new method: return the menubar of
9406         this menu set
9407         (read): treat differently reading of menu and menubar (in
9408         particular, the menubar has no name now)
9409         (Menu::menubar): remove
9410
9411         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9412         saving is finished
9413
9414 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9415
9416         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9417         a bibitem inset in a RTL paragraph.
9418
9419 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * paragraph_pimpl.C: constify
9422
9423         * BufferView_pimpl.C:
9424         * LaTeX.C:
9425         * lyxfunc.C: fix dispatch in a nicer way
9426
9427 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * lyxfunc.C (dispatch):
9430         * BufferView_pimpl.C:
9431         * BufferView_pimpl.h:
9432         * BufferView.C:
9433         * BufferView.h: rename Dispatch() to dispatch()
9434
9435         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9436
9437         * lyxlayout.C (Read): honor DependsOn tag
9438
9439         * lyxlayout.[Ch] (depends_on): new method
9440
9441         * version.C.in: update lyx_docversion
9442
9443         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9444
9445         * paragraph.C (validate): remove from here...
9446         * paragraph_pimpl.C (validate): ... and move here
9447         (isTextAt): make it const
9448
9449         * buffer.C (getLists): ws cleanup
9450
9451 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9452
9453         * language.C (read): Use iso8859-1 encoding in latex_lang
9454         (this prevents LyX from crashing when using iso10646-1 encoding).
9455
9456 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9457
9458         * text2.C (toggleInset): if cursor is inside an inset, close the
9459         inset and leave cursor _after_ it
9460
9461 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * lyxfunc.C: move minibuffer completion handling out of here
9464
9465 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * BufferView_pimpl.C:
9468         * LaTeX.C: fix dispatch calls
9469
9470 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * text.C (drawChars): Fix Arabic text rendering.
9473
9474 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * LyXAction.C:
9477         * commandtags.h:
9478         * lyxfunc.C: remove message-push/pop
9479
9480         * lyxserver.C:
9481         * lyxfunc.h:
9482         * lyxfunc.C: rationalise some code by removing verboseDispatch
9483           in favour of a bool argument to dispatch()
9484
9485 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * lyx_main.C (init): make sure to read symlinks as absolute paths
9488
9489 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * lyxfunc.h:
9492         * lyxfunc.C: no need for commandshortcut to be a member
9493
9494 2002-07-15  André Pönitz <poenitz@gmx.net>
9495
9496         * converter.C: add support for $$s (scripts from lib/scripts dir)
9497         * lyx_main.C: white space
9498
9499 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * bufferlist.C:
9502         * lyxrc.h:
9503         * lyxrc.C: remove second exit confirmation
9504
9505 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9506
9507         * BufferView.h:
9508         * BufferView.C:
9509         * BufferView2.C:
9510         * BufferView_pimpl.h:
9511         * BufferView_pimpl.C:
9512         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9513
9514 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * MenuBackend.C (expand): add numeric shortcuts to document menu
9517
9518         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9519
9520 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * lyxfont.C (setLyXFamily):
9523         (setLyXSeries):
9524         (setLyXShape):
9525         (setLyXSize):
9526         (setLyXMisc):
9527         (lyxRead):
9528         * debug.C (value):
9529         * buffer.C (asciiParagraph): use ascii_lowercase
9530
9531 2002-07-15  Mike Fabian  <mfabian@suse.de>
9532
9533         * lyxlex_pimpl.C (search_kw):
9534         * lyxlex.C (getLongString):
9535         * converter.h (operator<):
9536         * converter.C (operator<):
9537         * buffer.C (parseSingleLyXformat2Token):
9538         (asciiParagraph):
9539         * ToolbarDefaults.C (read):
9540         * MenuBackend.C (checkShortcuts):
9541         (read):
9542         * LColor.C (getFromGUIName):
9543         (getFromLyXName): use the compare_ascii_no_case instead of
9544         compare_no_case, because in turkish, 'i' is not the lowercase
9545         version of 'I', and thus turkish locale breaks parsing of tags.
9546
9547 2002-07-16  Angus Leeming  <leeming@lyx.org>
9548
9549         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9550         now takes a Buffer const & argument.
9551
9552 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9553
9554         * BufferView.C (resize): check there's a buffer to resize
9555
9556 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * lyxfunc.C: remove dead code
9559
9560         * lyxserver.h:
9561         * lyxserver.C: use lyx_guii::set_read_callback
9562
9563 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9564
9565         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9566         an inset in a RTL paragraph.
9567
9568 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9569
9570         * lyxfunc.C: repaint after a font size update
9571
9572 2002-07-15  André Pönitz <poenitz@gmx.net>
9573
9574         * lyxlength.C: inBP should be able to return negative values
9575
9576 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * lyxfunc.C: use lyx_gui::update_fonts()
9579
9580 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * lyxfunc.C: use lyx_gui::update_color()
9583
9584 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9585
9586         * bufferlist.C:
9587         * lyxfunc.h:
9588         * lyxfunc.C:
9589         * lyxrc.h:
9590         * lyxrc.C: remove file->new asks for name option, and let
9591           buffer-new take an argument
9592
9593 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9594
9595         * BufferView_pimpl.C: remove unneeded extra repaint()
9596
9597 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * LyXAction.C: allow command-sequence with NoBuffer
9600
9601         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9602
9603 2002-07-10  Angus Leeming  <leeming@lyx.org>
9604
9605         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9606
9607 2002-07-09  Angus Leeming  <leeming@lyx.org>
9608
9609         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9610
9611 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9612
9613         * lengthcommon.h: whitespace
9614
9615         * lyxfunc.C: update scrollbar after goto paragraph
9616
9617         * lyxtext.h: factor out page break drawing, and fix it so
9618           page break/added space paints as selected nicely
9619
9620 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * BufferView_pimpl.C: add FIXMEs, clean up a little
9623
9624 2002-07-09  André Pönitz <poenitz@gmx.net>
9625
9626         * lyxfont.[Ch]: support for wasy symbols
9627
9628 2002-07-08  André Pönitz <poenitz@gmx.net>
9629
9630         * BufferView_pimpl.C: apply John's patch for #93.
9631
9632 2002-07-05  Angus Leeming  <leeming@lyx.org>
9633
9634         * BufferView_pimpl.C (buffer): generate previews if desired.
9635
9636         * LColor.h: add "preview" to the color enum.
9637
9638         * LColor.C (LColor): add a corresponding entry to the items array.
9639
9640         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9641         with this buffer.
9642
9643 2002-07-05  Angus Leeming  <leeming@lyx.org>
9644
9645         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9646         The body of the code is now in the method that is passed an ostream &
9647         rather than a file name.
9648         Pass an additional only_preamble parameter, useful for the forthcoming
9649         preview stuff.
9650
9651 2002-07-03  André Pönitz <poenitz@gmx.net>
9652
9653         * lyxfunc.C: simplify getStatus() a bit for math stuff
9654
9655 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9658
9659 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * text.C (changeRegionCase): do not change case of all the
9662         document when region ends at paragraph end (bug #461)
9663
9664 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9665
9666         * paragraph.C (startTeXParParams):
9667         (endTeXParParams): add \protect when necessary
9668
9669 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9670
9671         * BufferView_pimpl.C (workAreaExpose): remove warning
9672
9673 2002-06-27  Angus Leeming  <leeming@lyx.org>
9674
9675         * Makefile.am: add lyxlayout_ptr_fwd.h.
9676
9677 2002-06-26  André Pönitz <poenitz@gmx.net>
9678
9679         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9680
9681 2002-06-25  Angus Leeming  <leeming@lyx.org>
9682
9683         * lyxfunc.C (dispatch): Comment out the call to
9684         grfx::GCache::changeDisplay. The method no longer exists now that the
9685         pixmap generation part of the graphics loader has been moved into
9686         InsetGraphics.
9687
9688 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9689
9690         * text2.C: layout as layout
9691
9692         * text.C: layout as layout
9693
9694         * tabular.C (OldFormatRead): layout as layout
9695
9696         * paragraph_pimpl.C (TeXDeeper): layout as layout
9697         (realizeFont): layout as layout
9698
9699         * paragraph.C (writeFile): layout as layout
9700         (validate): layout as layout
9701         (getFont): layout as layout
9702         (getLabelFont): layout as layout
9703         (getLayoutFont): layout as layout
9704         (breakParagraph): layout as layout
9705         (stripLeadingSpaces): layout as layout
9706         (getEndLabel): layout as layout
9707         (getMaxDepthAfter): layout as layout
9708         (applyLayout): layout as layout
9709         (TeXOnePar): layout as layout
9710         (simpleTeXOnePar): layout as layout
9711         (TeXEnvironment): layout as layout
9712         (layout): layout as layout
9713         (layout): layout as layout
9714
9715         * lyxtextclass.C (compare_name): new functor to work with
9716         shared_ptr, layout as layout
9717         (Read): layout as layout
9718         (hasLayout): layout as layout
9719         (operator): layout as layout
9720         (delete_layout): layout as layout
9721         (defaultLayout): layout as layout
9722
9723         * lyxlayout_ptr_fwd.h: new file
9724
9725         * lyxlayout.C (Read): layout as layout
9726
9727         * lyx_cb.C (MenuInsertLabel): layout as layout
9728
9729         * bufferlist.C (newFile): layout as layout
9730
9731         * buffer.C (readLyXformat2): layout as layout
9732         (parseSingleLyXformat2Token): layout as layout
9733         (insertStringAsLines): layout as layout
9734         (asciiParagraph): layout as layout
9735         (latexParagraphs): layout as layout
9736         (makeLinuxDocFile): layout as layout
9737         (simpleLinuxDocOnePar): layout as layout
9738         (makeDocBookFile): layout as layout
9739         (simpleDocBookOnePar): layout as layout
9740         (getLists): layout as layout
9741
9742         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9743
9744         * CutAndPaste.C (cutSelection): layout as layout
9745         (pasteSelection): layout as layout
9746         (SwitchLayoutsBetweenClasses): layout as layout
9747
9748         * BufferView_pimpl.C (Dispatch): layout as layout
9749         (smartQuote): layout as layout
9750
9751         * BufferView2.C (unlockInset): layout as layout
9752
9753 2002-06-24  André Pönitz <poenitz@gmx.net>
9754
9755         * lyxfunc.C: fix #487
9756
9757 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9758
9759         * lyxrc.h:
9760         * lyxrc.C:
9761         * lyxfunc.C: remove display_shortcuts, show_banner
9762
9763 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * Buffer_pimpl.C: oops, update on resize
9766
9767 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * buffer.C:
9770         * converter.C:
9771         * exporter.C:
9772         * lyxfunc.C:
9773         * BufferView.h:
9774         * BufferView.C: use repaint()
9775
9776         * BufferView_pimpl.h:
9777         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9778           as it's a clearer description. Remove superfluous
9779           redraws.
9780
9781 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * text.C: fix bug 488. Not ideal, but getting
9784           getWord() to work properly for the insets that
9785           matter is more difficult ...
9786
9787 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * BufferView_pimpl.C:
9790         * LyXAction.C:
9791         * commandtags.h:
9792         * lyxfunc.C: remove the six million index lyxfuncs to just
9793           one, and DTRT (bug 458)
9794
9795 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * BufferView.h:
9798         * BufferView.C:
9799         * BufferView_pimpl.h:
9800         * BufferView_pimpl.C: clean up resize() stuff,
9801           and unnecessary updateScreen()s
9802
9803 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * BufferView.h:
9806         * BufferView.C:
9807         * BufferView_pimpl.h:
9808         * BufferView_pimpl.C:
9809         * lyxfind.h:
9810         * lyxfind.C:
9811         * minibuffer.C: remove focus management of workarea,
9812           not needed. Use screen's greyOut()
9813
9814 2002-06-17  Herbert Voss  <voss@lyx.org>
9815
9816         * converter.C: (convert) do not post a message, when converting
9817         fails, let the calling function decide what to do in this case
9818
9819 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * lyxfunc.C: tidy up a little
9822
9823 2002-06-16    <alstrup@diku.dk>
9824
9825         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9826         Got rid of FORMS_H_LOCATION include. Now we are
9827         GUII.
9828
9829 2002-06-15  LyX Development team  <lyx@rilke>
9830
9831         * buffer.[Ch] (sgmlOpenTag):
9832         (sgmlCloseTag): Added support for avoiding pernicious mixed
9833         content. Return number of lines written.
9834
9835         (makeLinuxDocFile):
9836         (makeDocBookFile): Fixed calls to sgml*Tag.
9837         Simple white space clean.
9838
9839         (simpleDocBookOnePar): Simple white space clean.
9840
9841         * tabular.[Ch] (docBook): Renamed to docbook and got another
9842         argument to related with the pernicious mixed content.
9843
9844         (docbookRow): Fixed calls for docbook inset method.
9845
9846 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9847
9848         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9849         so it's X11 independent.
9850
9851         * kb*.[Ch]: ditto.
9852
9853         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9854
9855 2002-06-15  Lyx Development team  <lyx@electronia>
9856
9857         * intl.h: Renamed getTrans to getTransManager.
9858
9859 2002-06-14  Angus Leeming  <leeming@lyx.org>
9860
9861         * Makefile.am: nuke forgotten stl_string_fwd.h.
9862
9863 2002-06-12  Angus Leeming  <leeming@lyx.org>
9864
9865         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9866
9867 2002-06-13  Angus Leeming  <leeming@lyx.org>
9868
9869         * LaTeX.C:
9870         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9871
9872 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9873
9874         * kbmap.C (getiso): add support for cyrillic and greek
9875
9876 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * BufferView.h:
9879         * BufferView.C:
9880         * BufferView_pimpl.h:
9881         * BufferView_pimpl.C: move bogus scrolling logic
9882           to xforms
9883
9884 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * lyxfunc.C:
9887         * BufferView_pimpl.C: view->resize() change
9888
9889 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * BufferView_pimpl.C: topCursorVisible
9892           prototype change
9893
9894 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * Makefile.am:
9897         * lyx_gui.h:
9898         * lyx_gui.C: move to frontends/
9899
9900         * main.C:
9901         * lyx_main.h:
9902         * lyx_main.C: changes from above
9903
9904 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * intl.C:
9907         * intl.h:
9908         * kbmap.C:
9909         * kbsequence.C:
9910         * lyx_cb.C:
9911         * lyx_main.C: minor tidy
9912
9913 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * BufferView_pimpl.h:
9916         * BufferView_pimpl.C:
9917         * BufferView.h:
9918         * BufferView.C: make painter() const,
9919           remove dead code
9920
9921         * BufferView2.C: use screen() accessor
9922
9923         * lyx_main.h:
9924         * lyx_main.C: some minor cleanup
9925
9926 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * BufferView_pimpl.h:
9929         * BufferView_pimpl.C: remove enter/leaveView,
9930           use workHeight()
9931
9932 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * BufferView.h:
9935         * BufferView.C:
9936         * BufferView2.C:
9937         * BufferView_pimpl.h:
9938         * BufferView_pimpl.C: only construct screen once,
9939           rename
9940
9941         * lyxrc.C: remove pointless comment
9942
9943 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * BufferView.h:
9946         * BufferView.C: remove active() and belowMouse()
9947
9948         * BufferView_pimpl.h:
9949         * BufferView_pimpl.C: use workarea() not workarea_,
9950           and make it use a scoped_ptr instead
9951
9952 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * lyx_gui.C: add debug message on BadWindow
9955
9956 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9957
9958         * sp_spell.C: fdopen is not part of the C++ standard.
9959
9960         * paragraph.C (InsetIterator): use >= instead of ==
9961
9962 2002-06-07  Angus Leeming  <leeming@lyx.org>
9963
9964         Fixes needed to compile with Compaq cxx 6.5.
9965         * BufferView_pimpl.C:
9966         * DepTable.C:
9967         * buffer.C:
9968         * converter.C:
9969         * encoding.C:
9970         * lyx_gui.C:
9971         * lyx_main.C:
9972         * lyxtextclasslist.C:
9973         * minibuffer.C:
9974         * sp_spell.C:
9975         * tabular_funcs.C:
9976         * vc-backend.C:
9977         all c-library variables have been moved into namespace std. Wrap
9978         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9979
9980         * lyxlength.C:
9981         * tabular-old.C:
9982         * tabular.C:
9983         Add a using std::abs declaration.
9984
9985         * kbmap.h (modifier_pair):
9986         * paragraph.h (InsetTable, InsetList):
9987         * lyxfont.h (FontBits):
9988         type definition made public.
9989
9990         * bufferlist.C (emergencyWriteAll): the compiler complains that
9991         there is more than one possible lyx::class_fun template to choose from.
9992         I re-named the void specialisation as lyx::void_class_fun.
9993
9994         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9995
9996         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9997         the compiler is is unable to find tostr in write_attribute.
9998
9999 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * buffer.C (sgmlError): hide #warning
10002
10003 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * xtl/*: get rid of xtl, which is not in use anyway
10006
10007         * LyXAction.C (init):
10008         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10009         were unimplemented xtl experimentation
10010
10011 2002-06-04  André Pönitz <poenitz@gmx.net>
10012
10013         * lyxfunc.C: disable array operation on simple formulae
10014
10015 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * converter.C: constify a bit
10018
10019 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * lyx_gui.C: check xforms version correctly
10022
10023 2002-04-30  Herbert Voss  <voss@lyx.org>
10024
10025         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10026         "keep" option
10027
10028 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10029
10030         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10031           attempt to register it with a VCS)
10032
10033 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10034
10035         * lyx_main.C (init): honor variables LYX_DIR_13x and
10036         LYX_USERDIR_13x
10037
10038 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * buffer.h:
10041         * buffer.C:
10042         * lyx_main.C: fix a crash on bad command line,
10043           and give a useful exit status on error
10044
10045         * lyxfunc.C (doImport): allow -i lyx to work
10046
10047 2002-03-30  André Pönitz <poenitz@gmx.net>
10048
10049         * lyxfunc.C: mathed font changes
10050
10051 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * LaTeX.C:
10054         * importer.h:
10055         * importer.C:
10056         * lyx_sty.h:
10057         * lyx_sty.C:
10058         * lyxlex.C:
10059         * lyxrow.h:
10060         * lyxtext.h:
10061         * paragraph.h:
10062         * paragraph.C:
10063         * texrow.h:
10064         * texrow.C:
10065         * text.C:
10066         * trans_mgr.h: srcdocs, and some minor cleanups
10067
10068 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10071         call getFont all the time)
10072
10073 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * switch from SigC signals to boost::signals
10076
10077 2002-05-29  André Pönitz <poenitz@gmx.net>
10078
10079         * paragraph_pimpl.C (getChar): don't call size() too often...
10080
10081 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * paragraph_pimpl.C (insertChar): do not try to update tables when
10084         appending (pos == size())
10085
10086         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10087         in order to reduce drastically the number of comparisons needed to
10088         parse a large document
10089
10090 2002-05-29  André Pönitz <poenitz@gmx.net>
10091
10092         * text.C:
10093         * text2.C:
10094         * lyxtextclass.C:
10095         * sp_pspell.h:
10096         * textclasslist.[Ch]:
10097         * sp_ispell.h: whitespace change
10098
10099 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10102         lyxaction directly now.
10103
10104 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * trans.C:
10107         * lyxfont.C:
10108         * lyxvc.C: remove unused headers
10109
10110 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * Makefile.am:
10113         * buffer.h:
10114         * undostack.h:
10115         * undostack.C:
10116         * undo_funcs.h:
10117         * undo_funcs.C: some cleanups. Use shared_ptr
10118           and a template for the undo stacks.
10119
10120 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * BufferView_pimpl.h:
10123         * BufferView_pimpl.C:
10124         * kbmap.h:
10125         * kbmap.C:
10126         * kbsequence.h:
10127         * kbsequence.C:
10128         * lyxfunc.h:
10129         * lyxfunc.C:
10130         * text2.C: use key_state/mouse_state
10131
10132 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10135         and LSubstring
10136
10137         * chset.C: change include order
10138         (loadFile): use boost regex and get rid of LRegex and LSubstring
10139
10140         * Makefile.am (BOOST_LIBS): new variable
10141         (lyx_LDADD): use it
10142
10143         * LaTeX.C: change include order.
10144         (scanAuxFile): use boost regex and get rid of LRegex and
10145         LSubstring
10146         (deplog): ditto
10147
10148 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * ColorHandler.h:
10151         * ColorHandler.C:
10152         * FontInfo.h:
10153         * FontInfo.C: moved to frontends/xforms/
10154
10155         * FontLoader.h:
10156         * FontLoader.C: moved into frontends for GUIIzation
10157
10158         * Makefile.am:
10159         * lyx_gui.C:
10160         * lyxfont.C:
10161         * lyxfunc.C: changes from above
10162
10163 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * LColor.C: remove spurious X include
10166
10167         * BufferView_pimpl.C:
10168         * Makefile.am:
10169         * font.h:
10170         * font.C:
10171         * text.C:
10172         * text2.C: move font metrics to frontends/
10173
10174 2002-05-24  Juergen Vigna  <jug@sad.it>
10175
10176         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10177         setting the undo_cursor.
10178
10179         * ParagraphParameters.h: include local includes first.
10180
10181 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * BufferView_pimpl.C:
10184         * BufferView_pimpl.h:
10185         * Makefile.am:
10186         * WorkArea.h:
10187         * WorkArea.C:
10188         * screen.C: move WorkArea into frontends/
10189
10190         * lyxscreen.h:
10191         * screen.C:
10192         * text.C:
10193         * BufferView.C:
10194         * BufferView2.C: move LyXScreen into frontends/
10195
10196         * lyxlookup.h:
10197         * lyxlookup.C:
10198         * lyx_gui.C: move lyxlookup into frontends/xforms/
10199
10200 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * BufferView2.C:
10203         * BufferView_pimpl.C:
10204         * FontLoader.C:
10205         * LyXView.h:
10206         * LyXView.C:
10207         * Makefile.am:
10208         * WorkArea.C:
10209         * XFormsView.h:
10210         * XFormsView.C:
10211         * buffer.C:
10212         * bufferlist.C:
10213         * bufferview_funcs.C:
10214         * converter.C:
10215         * importer.C:
10216         * lyx_cb.C:
10217         * lyx_gui.C:
10218         * lyx_main.C:
10219         * lyx_find.C:
10220         * lyxfunc.C:
10221         * lyxvc.C:
10222         * minibuffer.C:
10223         * text.C:
10224         * text2.C:
10225         * trans.C:
10226         * vc-backend.C: move LyX/XFormsView into frontends/
10227
10228 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * Makefile.am:
10231         * PainterBase.C:
10232         * PainterBase.h:
10233         * Painter.C:
10234         * Painter.h:
10235         * WorkArea.C:
10236         * WorkArea.h:
10237         * screen.C:
10238         * tabular.C:
10239         * text.C:
10240         * text2.C: move Painter to frontends/
10241
10242 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10243
10244         * buffer.C: comment out some some code that depend upon lyx_format
10245         < 220
10246
10247         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10248         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10249
10250         * buffer.h (NO_COMPABILITY): turn off compability
10251
10252         * ColorHandler.C: include scoped_array.hpp
10253
10254         * font.C: Use more specific smart_ptr header.
10255         * Painter.C: ditto
10256         * gettext.C: ditto
10257         * ShareContainer.h: ditto
10258         * lyx_main.h: ditto
10259         * kbmap.h: ditto
10260         * FontInfo.h: ditto
10261         * BufferView_pimpl.h: ditto
10262         * ColorHandler.h: ditto
10263
10264         * kbmap.C (defkey): change call to shared_ptr::reset
10265
10266 2002-05-21  Juergen Vigna  <jug@sad.it>
10267
10268         * buffer.C (insertErtContents): fix to insert ert asis if it is
10269         non empty. Skip it completely if it contains only whitespaces.
10270
10271 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10272
10273         * BufferView_pimpl.C:
10274         * BufferView2.C: clear selection on paste (bug 393)
10275
10276 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10277
10278         * DepTable.C: include ctime
10279
10280 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10283
10284 2002-05-14  Juergen Vigna  <jug@sad.it>
10285
10286         * text.C (breakParagraph): fixed function to honor the keepempty
10287         layout in the right maner and also to permit the right breaking
10288         algorithm on empty or non empyt keepempty paragraphs.
10289
10290         * paragraph.C (breakParagraph): we have to check also if the par
10291         is really empty (!size()) for isempty otherwise we do the wrong
10292         paragraph break.
10293
10294 2002-05-10  Juergen Vigna  <jug@sad.it>
10295
10296         * buffer.[Ch] : The following are only changes to the ert
10297         compatibility read reading old LaTeX layout and font stuff and
10298         convert it to ERTInsets.
10299
10300         * buffer.h: added isErtInset().
10301
10302         * buffer.C (struct ErtComp): add a fromlayout bool to check
10303         if we're inside a LaTeX layout.
10304         (isErtInset): new helper function.
10305         (insertErtContents): look for other ert insets before this one
10306         and insert the contents there, so that we don't have subsequent
10307         ERT insets with nothing between them. This way we create only one
10308         inset with multiple paragraphs. Also check if we don't insert only
10309         spaces ' ' as they are ignored anyway afterwards in the .tex file
10310         so if we have only spaces we will ignore this latex part in the
10311         new file.
10312         (parseSingleLyXformat2Token \\layout): better compatibility when
10313         reading layout-latex stuff.
10314         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10315         language tag.
10316         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10317         stuff after reading the inset only get the information back from
10318         the stack.
10319
10320 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10321
10322         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10323
10324         * LaTeXFeatures.C (getBabelOptions): New method.
10325
10326 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * BufferView_pimpl.C (Dispatch): work around missing argument for
10329         'layout'
10330
10331 2002-05-08  Juergen Vigna  <jug@sad.it>
10332
10333         * text.C (leftMargin): handle paragraph leftindent.
10334
10335         * paragraph.C (writeFile): write the new \\leftindent tag.
10336         (validate): handle leftindent code.
10337         (TeXEnvironment): handle paragraphleftindent code again.
10338
10339         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10340
10341         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10342         for paragrap_extra indent code and new token \\leftindent.
10343         (latexParagraphs): handle the leftindent as environment.
10344
10345         * ParameterStruct.h: added leftindent support.
10346
10347         * ParagraphParameters.C (leftIndent): added support functions for
10348         the paragraph left indent.
10349
10350         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10351         more appropriate.
10352
10353 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10354
10355         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10356         inside insetERT.
10357
10358         * text.C (computeBidiTables): No bidi in insetERT.
10359
10360         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10361         in RTL documents.
10362
10363 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * version.C.in: pre 5
10366
10367 2002-05-02  José Matos  <jamatos@fep.up.pt>
10368         * buffer.C (makeDocBookFile): white space changes, add newline to
10369         command styles.
10370         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10371
10372         * tabular.C (docBook): fix typo.
10373
10374 2002-05-03  Juergen Vigna  <jug@sad.it>
10375
10376         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10377         change in LyXText as we can not be sure it was not freed.
10378         (drawOneRow): remove unused code.
10379
10380         * text.C (drawInset): redo the calculation of the need_break_row as
10381         it could have a row which was already freed.
10382         (draw): look at the return value of drawInset and return false if
10383         it also returned false.
10384         (paintRowText): look at the return value of draw and return false if
10385         it also returned false.
10386
10387         * lyxtext.h: added bool return type to drawInset() and draw() so that
10388         if we have a change in the row so that the rowbreak has to be redone
10389         we abort drawing as it will be called again.
10390
10391 2002-05-02  Juergen Vigna  <jug@sad.it>
10392
10393         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10394         a change in the maintext also if we're inside an inset.
10395         (Dispatch): set the cursor again after a break line and after the
10396         screen has been updated as it could be we're in a different row.
10397
10398         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10399         to set the cursor behind the pargraph with > size().
10400         (setCursor): check also for the same paragraph when checking where
10401         to put the cursor if we have a NFR inset.
10402
10403         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10404         parts of layout read further up as it still was in the wrong
10405         position.
10406
10407 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * screen.C (drawFromTo): change sine fullRebreak always return
10410         true.
10411
10412         * buffer.C (parseSingleLyXformat2Token): reindent some
10413
10414         * BufferView_pimpl.C (update): change since fullRebreak always
10415         return true.
10416         (Dispatch): git rid of the last hardcoded "Standard"s.
10417
10418 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * text2.[Ch] (fullRebreak): make it return void now that we always
10421         returned true.
10422
10423 2002-04-30  Juergen Vigna  <jug@sad.it>
10424
10425         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10426         ert compatibility check for "latex" layout.
10427
10428 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10429
10430         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10431         minipages: use col% instead of p%, and also use the current font.
10432         (makeLaTeXFile): Fix use babel condition.
10433         (parseSingleLyXformat2Token): Correct font when reading old floats.
10434
10435 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10438         inserting list of floats.
10439
10440 2002-04-25  Herbert Voss  <voss@lyx.org>
10441
10442         * MenuBackend.C (expand): don't add the graphics extensions to the
10443         export menu
10444
10445 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10448         non-existing layout, do not complain if it was the default layout
10449         of the original class (bug #342)
10450
10451 2002-04-24  Juergen Vigna  <jug@sad.it>
10452
10453         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10454         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10455
10456 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10457
10458         * buffer.C (getBibkeyList): If using \bibliography, return the
10459         option field with the reference itself. Enables us to provide natbib
10460         support when using \bibliography.
10461
10462 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10463
10464         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10465
10466         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10467         natbib is provided by the LaTeX class.
10468
10469 2002-04-23  Juergen Vigna  <jug@sad.it>
10470
10471         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10472         Wakeup functions.
10473
10474         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10475
10476 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10477
10478         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10479
10480         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10481         ensuremath around textordmasculine, textordfeminine and
10482         textdegree.
10483
10484 2002-04-19  Juergen Vigna  <jug@sad.it>
10485
10486         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10487         reinitializing the buffer otherwise row-dimensions may be wrong.
10488         (update): reset also the selection cursors if they do exits otherwise
10489         their x/y positions may be wrong.
10490
10491         * text2.C (cursorDown): don't enter the inset if we came from a row
10492         above and are one row over the inset.
10493
10494         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10495         really leaving an inset.
10496
10497 2002-04-18  Juergen Vigna  <jug@sad.it>
10498
10499         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10500         of the selected paragraph does not have the selected layout also if
10501         the last one had!
10502
10503         * text2.C (setLayout): fixed bug which did not change last selected
10504         paragraph.
10505
10506         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10507         changed the read and substituted \\end_float with \\end_inset!
10508
10509         * BufferView_pimpl.C (cursorPrevious):
10510         (cursorNext): fixed to make it work with rows heigher than the work
10511         area without moving the cursor only the draw of the row.
10512         (workAreaMotionNotify): fix jumping over high rows.
10513
10514 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10517         Ressler.
10518
10519 2002-04-16  Juergen Vigna  <jug@sad.it>
10520
10521         * text2.C (setCursor): set also the irow().
10522         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10523         (cursorUp):
10524         (cursorDown): support for locking an inset if the x_fix value goes
10525         inside it. That way I can transverse insets too with cursor up/down.
10526
10527         * lyxrow.h: added irow helper function same as other (i) functions.
10528
10529         * BufferView_pimpl.C (cursorPrevious):
10530         (cursorNext): fixed for insets!
10531
10532 2002-04-15  Juergen Vigna  <jug@sad.it>
10533
10534         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10535         position otherwise it is wrong in some cases.
10536
10537         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10538         inside the inset before the call.
10539
10540 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10541
10542         * buffer.[Ch] (getBibkeyList): make it const.
10543
10544 2002-04-12  Juergen Vigna  <jug@sad.it>
10545
10546         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10547
10548         * text2.C (getCursorX): new helper function
10549         (setCursor): compute also ix_
10550         (setCursorFromCoordinates): set also ix.
10551
10552         * lyxcursor.h: added ix_ and helper functions.
10553
10554         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10555
10556         * buffer.C (insertStringAsLines): dont break paragraph if the this
10557         paragraph is inside an inset which does not permit it!
10558
10559         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10560         also with no chars on this paragraph.
10561         (paintRowText): only paint stuff if it's inside the workarea!
10562
10563         * paragraph.C (breakParagraph): honor keepempty flag and break the
10564         paragraph always below not above.
10565
10566         * BufferView2.C (unlockInset): update the paragraph layout on inset
10567         unlock as we changed paragraph in such a case.
10568
10569         * lyxfind.C (LyXFind): clear the former selection if not found!
10570
10571         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10572         again called in insertChar().
10573
10574         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10575         an inset which uses the whole row!
10576         (rightMargin): ditto.
10577         (insertChar): force a rebreak if we inserted an inset!
10578
10579 2002-03-28  Herbert Voss  <voss@lyx.org>
10580
10581         * lyxlength.[Ch]: add inBP() to get the right PS-point
10582         units (BigPoint). With inPixels we have rounding errors
10583
10584 2002-04-11  Juergen Vigna  <jug@sad.it>
10585
10586         * text2.C (setCursorFromCoordinates): set iy to the right value.
10587         (setCursor): add check if row->previous exists!
10588
10589         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10590         an old float_type as this was the case in the old code!
10591
10592         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10593
10594         * BufferView2.C (showLockedInsetCursor): use iy
10595         (fitLockedInsetCursor): ditto
10596
10597         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10598         locked insets as there we have the right value now.
10599
10600         * lyxcursor.C: added iy_ variable and iy functions to set to the
10601         baseline of cursor-y of the locked inset.
10602
10603         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10604         (setCursor): fixed for insets which need a full row.
10605
10606         * text.C (rowLastPrintable): don't ignore the last space when before
10607         an inset which needs a full row.
10608         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10609         as last character of a row when before a inset which needs a full row.
10610
10611 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10612
10613         * version.C.in: update date
10614
10615         * text2.C (fullRebreak): try to always return true and see what
10616         happens...
10617
10618 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * MenuBackend.C (expand): use Floating::listName
10621
10622         * FloatList.C (FloatList): add listName argument to the built-in
10623         floats
10624
10625         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10626         text associated with the float.
10627
10628 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10631
10632 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * ShareContainer.h: add a couple of missing typenames.
10635
10636 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10637
10638         * lyxrc.C (getDescription): use _() correctly rather than N_().
10639
10640 2002-03-28  Herbert Voss  <voss@lyx.org>
10641
10642         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10643         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10644
10645 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10646
10647         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10648         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10649
10650 2002-03-29  Juergen Vigna  <jug@sad.it>
10651
10652         * lyxfunc.C (dispatch): add a missing fitCursor call.
10653
10654         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10655         it was scrolled by a cursor move, so return the bool status.
10656
10657         * BufferView.C (fitCursor): return the bool flag also to the outside
10658         world as this is needed.
10659
10660         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10661
10662         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10663         call the edit() as it is not needed (and wrong) IMO.
10664         (workAreaButtonPress): set the screen_first variable before evt.
10665         unlock the inset as this may change screen_first and then we have
10666         a wrong y position for the click!
10667
10668 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * MenuBackend.C (expand): another translation that I missed
10671
10672 2002-03-28  Juergen Vigna  <jug@sad.it>
10673
10674         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10675
10676         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10677
10678 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10681
10682         * MenuBackend.C (expand): fix export/view/update when there is no
10683         document open.
10684
10685 2002-03-27  Herbert Voss  <voss@lyx.org>
10686
10687         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10688         and text%
10689
10690 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10691
10692         * bufferview_funcs.C (currentState): only show paragraph number
10693         for is DEVEL_VERSION is set.
10694
10695         * lyxfunc.C (dispatch): put warning in INFO channel
10696
10697         * MenuBackend.C (expand): translate the name of floats
10698
10699         * FloatList.C (FloatList): mark the float names for translation
10700
10701         * converter.C (convert): use LibScriptSearch
10702
10703 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * MenuBackend.C (defaults): fix default menu (we might as well get
10706         rid of it...)
10707
10708 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10711         directory.
10712
10713 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * lyxvc.C: reorder includes.
10716
10717 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10720           properly
10721
10722 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10723
10724         * CutAndPaste.C: change layouts earlier on paste
10725           to avoid crashing when calling getFont()
10726
10727 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10728
10729         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10730         irritating #error.
10731
10732 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * WorkArea.C: remove 'Pending' debug message.
10735
10736         * most files: ws cleanup
10737
10738         * buffer.[Ch]: ws changes
10739
10740         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10741
10742 2002-03-21  Juergen Vigna  <jug@sad.it>
10743
10744         * tabular.C (SetMultiColumn): collapse also the contents of the
10745         cells and set the last border right. Added a Buffer const * param.
10746
10747 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10750         linking or not.
10751
10752 2002-03-19  Juergen Vigna  <jug@sad.it>
10753
10754         * text2.C (clearSelection): reset also xsel_cache.
10755
10756         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10757         where it needs to be called (John tells us to do so too :)
10758         (selectionLost): reset sel_cache.
10759
10760         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10761
10762 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * text2.C (setCursorIntern): put debuging code in INSETS channel
10765
10766 2002-03-19  André Pönitz <poenitz@gmx.net>
10767
10768         * lyxfunc.C: tiny whitespace change
10769
10770 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * ToolbarDefaults.C (init):
10773         * LyXAction.C (init):
10774         * commandtags.h:
10775         * BufferView_pimpl.C (Dispatch):
10776         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10777
10778 2002-03-19  Allan Rae  <rae@lyx.org>
10779
10780         * exporter.C (Export): removeAutoInsets before doing anything else.
10781         While I've just introduced a dependency on BufferView this really is
10782         the best place to clean the buffer otherwise you need to cleanup in
10783         a dozen places before calling export or cleanup in a dozen functions
10784         that export calls.
10785
10786         * converter.C (runLaTeX):
10787         (scanLog): Better handling of removeAutoInsets and screen updates.
10788
10789         * lyxfunc.C (dispatch): small whitespace changes
10790
10791 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * WorkArea.C (C_WorkAreaEvent): return a value.
10794         (event_cb): return 1 if we handled the event, 0 otherwise.
10795
10796         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10797
10798 2002-03-18  Juergen Vigna  <jug@sad.it>
10799
10800         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10801         (GetAdditionalWidth): ditto.
10802         (RightLine): ditto.
10803         (LeftLine): ditto.
10804
10805         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10806         inset if we're there actually (probably not used right now but this
10807         is the direction to go for unifying code).
10808         (paste): disable code to clear the selection.
10809
10810         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10811         inside an InsetText and move the check further up as it is in the
10812         wrong place.
10813
10814         * text2.C (pasteSelection): set a selection over the pasted text.
10815
10816 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10817
10818         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10819         and libgraphics to build on Cygwin.
10820
10821 2002-03-15  Juergen Vigna  <jug@sad.it>
10822
10823         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10824         inserting an Inset into the paragraph. I know this is not the best
10825         fix but we already use current_view in CutAndPaste so we will remove
10826         all of it's using at the same time.
10827
10828         * buffer.C (sgmlError): deactivated function till it is rewritten in
10829         the right mode, now it can create problems.
10830
10831         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10832         before accessing it.
10833
10834 2002-03-14  Juergen Vigna  <jug@sad.it>
10835
10836         * undo_funcs.C (textHandleUndo): do the right thing when updating
10837         the inset after the undo/redo.
10838
10839         * text2.C (setCursor): just some testcode for #44 not ready yet.
10840
10841         * undo_funcs.C (textHandleUndo): set the next() and previous()
10842         pointers of the paragraph to 0 before deleting otherwise we have
10843         problems with the Paragraph::[destructor].
10844
10845         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10846         on a paragraph insertion.
10847
10848 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * buffer.C (asciiParagraph): use += operator for char append to
10851         string.
10852
10853         * paragraph.C (getFontSettings): compare >= not just >
10854         (highestFontInRange): ditto
10855         (setFont): ditto
10856
10857 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10858
10859         * paragraph.C: change several algorithm to be more appripriate for
10860         the problem domain. This is lookip in FontList and in the InsetList.
10861
10862 2002-03-13  André Pönitz <poenitz@gmx.net>
10863
10864         * commandtags.h:
10865         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10866
10867 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * commandtags.h:
10870         * LyXAction.C:
10871         * lyxfunc.C:
10872         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10873
10874 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10875
10876         * Painter.C (display): anon helper function, adjust code for this
10877         change.
10878         (pixmap): remove function.
10879
10880         * Painter.h: remove private display variable.
10881
10882         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10883
10884 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10885
10886         * WorkArea.[Ch]: remove figinset_canvas cruft.
10887
10888 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * lyxtextclass.C (operator): add one item cache optimization.
10891
10892         * bufferlist.h: doxy changes
10893
10894         * bufferlist.C: ws changes
10895
10896         * DepTable.[Ch] (ext_exist): place const in the right spot.
10897
10898         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10899         call resizeInsets.
10900         (workAreaExpose): call resizeInsets when the with BufferView changes.
10901         (Dispatch): adjust for protectedBlank removal
10902         (specialChar): call updateInset if the insert went ok.
10903
10904         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10905         specialChar instead.
10906
10907         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10908
10909         * BufferView.h: doxy change
10910
10911         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10912
10913         * lyxtextclass.C (operator[]): remove non-const version
10914         (defaultLayout): remove non-const version
10915
10916 2002-03-12  Juergen Vigna  <jug@sad.it>
10917
10918         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10919         did resize the LyXText too.
10920
10921         * buffer.C (readLyXformat2): set layout information on newly allocated
10922         paragraphs.
10923
10924         * tabular.C (OldFormatRead): set layout information on the paragraph.
10925
10926 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10927
10928         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10929
10930 2002-03-11  Juergen Vigna  <jug@sad.it>
10931
10932         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10933         plainly wrong.
10934         (resizeCurrentBuffer): force also the insets to resize themselfes.
10935         (moveCursorUpdate): fixed up for InsetText.
10936
10937 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * commandtags.h:
10940         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10941         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10942         value of Dialogs::tooltipsEnabled().
10943         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10944
10945 2002-03-08  Juergen Vigna  <jug@sad.it>
10946
10947         * BufferView_pimpl.C (updateInset): update inset inside inset also
10948         if it isn't inside theLockingInset().
10949
10950 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * buffer.C (asciiParagraph): redo some of the word and line length
10953         handling.
10954         (getLists): look for Caption instead of caption.
10955
10956 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * buffer.C (Buffer): initialize niceFile to true
10959         (makeLaTeXFile):
10960         (makeLinuxDocFile):
10961         (makeDocBookFile): make sure niceFile is true on exit
10962
10963 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10966
10967 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10968
10969         * LyXSendto.C: remove.
10970         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10971         * lyx_gui.C: remove now-redundant comment.
10972         * ColorHandler.h: remove forward declaration of class WorkArea.
10973         * lyxfunc.C: remove #include "WorkArea.h".
10974
10975 2002-03-07  Juergen Vigna  <jug@sad.it>
10976
10977         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10978         got moved away with the DEPM and also set the inset_owner always
10979         right which before could have been omitted.
10980
10981 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10984         wanted layout is not found.
10985
10986 2002-03-07  Juergen Vigna  <jug@sad.it>
10987
10988         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10989
10990 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10991
10992         * paragraph.C (breakParagraph): use default layout not layout of
10993         prev paragraph.
10994         (Paragraph): clear ParagraphParameters.
10995
10996 2002-03-06  Juergen Vigna  <jug@sad.it>
10997
10998         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10999         otherwise it would not be a valid lenght. Fixed a special case in
11000         the minipage compatibility read where we end the document with a
11001         minipage.
11002
11003         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11004         was set as it could be 0 for InsetTexts first entry.
11005
11006 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11007
11008         * paragraph.C (writeFile): if layout is empty write out
11009         defaultLayoutName().
11010
11011         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11012         file without named layout we set layout to defaultLayoutName().
11013
11014 2002-03-06  Juergen Vigna  <jug@sad.it>
11015
11016         * CutAndPaste.C (copySelection): set layout for new paragraph.
11017
11018         * text.C (prepareToPrint): leave ERT inset left aligned
11019         (leftMargin): don't indent paragraphs inside ERT insets
11020
11021 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * paragraph.C (breakParagraph): dont call clear do the work manually
11024
11025         * paragraph.[Ch] (clear): remove function
11026
11027 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * paragraph.C (Paragraph): dont call clear, the work has already
11030         been done.
11031
11032         * lyxtextclass.C (operator): assert if n is empty
11033
11034         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11035         work manually instead.
11036
11037 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * BufferView_pimpl.C: protect selectionLost against text == 0
11040
11041 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * text.C (breakParagraph): fix a setting layout to '0' problem.
11044
11045 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11046
11047         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11048         final location of file, for the included files, and graphics.
11049
11050 2002-03-05  Juergen Vigna  <jug@sad.it>
11051
11052         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11053
11054 2002-03-04  Juergen Vigna  <jug@sad.it>
11055
11056         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11057
11058         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11059         last column of multicolumn cells.
11060         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11061
11062 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11063
11064         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11065         file if it doesn't go to a temporary file.
11066
11067         * buffer.C (sgmlOpenTag):
11068         (sgmlCloseTag):  remove extra newline insertion.
11069
11070 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11071
11072         * text.C (getRowNearY): comment out debug msg
11073
11074 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * text2.C: first -> first_y
11077
11078         * text.C (getRowNearY): add some attemts at a possible
11079         optimization, not working.
11080
11081         * tabular.[Ch]: add BufferParams to several function so that newly
11082         created paragraph can be initialized to he default layotu for the
11083         buffers textclass.
11084
11085         * tabular-old.C (ReadOld): add buf->params to call of Init
11086
11087         * screen.C: rename text->first to text->first_y
11088
11089         * paragraph.C (breakParagraph): always set layout in the broken
11090         paragraph
11091
11092         * lyxtextclass.C (Read): remove lowercase
11093         (hasLayout): ditto
11094         (operator): ditto
11095         (delete_layout): ditto
11096
11097         * lyxtext.h: rename first -> first_y
11098
11099         * lyxlayout.C (Read): remove lowercase
11100         (name): ditto
11101         (setName): ditto
11102         (obsoleted_by): ditto
11103
11104         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11105
11106         * buffer.C (insertErtContents): add params are to InsetERT
11107         (parseSingleLyXformat2Token): add code to check if a paragraphs
11108         layout really exist.
11109         (parseSingleLyXformat2Token): add params to several inset
11110         constructors
11111         (asciiParagraph): remove lowercase, do the layout comparisons with
11112         no_case
11113
11114         * BufferView_pimpl.C (cursorNext): first -> first_y
11115         (resizeCurrentBuffer): first -> first_y
11116         (updateScrollbar): first -> first_y
11117         (scrollCB): first -> first_y
11118         (workAreaMotionNotify): first -> first_y
11119         (workAreaButtonPress): first -> first_y
11120         (checkInsetHit): first -> first_y
11121         (cursorPrevious): first -> first_y
11122         (cursorNext): first -> first_y
11123         (Dispatch): add buffer_->params to severl inset contructors
11124
11125 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * lyxlayout.C (Read): remove some debug info that I forgot.
11128
11129         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11130         clean up the code slightly.
11131         (makeLinuxDocFile): ditto
11132         (makeDocBookFile): ditto
11133
11134         * text2.C: layout as string
11135
11136         * text.C: layout as string
11137
11138         * paragraph_pimpl.C: layout as string
11139
11140         * paragraph.[Ch]: layout as string
11141
11142         * lyxtextclasslist.[Ch]: layout as string
11143
11144         * lyxtextclass.[Ch]: layout as string
11145
11146         * lyxtext.h: layout as string
11147
11148         * lyxlayout.[Ch]: layout as string
11149
11150         * lyx_cb.C: layout as string
11151
11152         * bufferview_funcs.C: layout as string
11153
11154         * bufferparams.C: layout as string
11155
11156         * buffer.C: layout as string
11157
11158         * LyXView.[Ch]: layout as string
11159
11160         * LaTeXFeatures.[Ch]: layout as string
11161
11162         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11163
11164         * BufferView_pimpl.C: change current_layout to string, remove
11165         lyx::layout_type.
11166         (Dispatch):
11167         (smartQuote):
11168         (insertInset):
11169         (workAreaButtonRelease): layout as string
11170
11171         * BufferView2.C (unlockInset): adjust
11172
11173         * vspace.C (asLatexCommand): use an explict temp variable.
11174
11175 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * Makefile.am: use FRONTEND_*
11178
11179 2002-03-01  Juergen Vigna  <jug@sad.it>
11180
11181         * tabular.C (SetWidthOfMulticolCell): changed to something better
11182         I hope but still work in progress.
11183         (recalculateMulticolumnsOfColumn): renamed function from
11184         recalculateMulticolCells as it is more appropriate now.
11185         (SetWidthOfCell): calculate multicols better.
11186
11187 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11190
11191         * lyxfunc.C (processKeySym): print sequence also if it is
11192         `deleted' (complete)
11193
11194         * kbsequence.C (print): print sequence even if it is deleted
11195         (complete would be a better word, actually).
11196
11197         * lyxfunc.C (dispatch): print complete options after a prefix key
11198
11199         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11200
11201 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11202
11203         * text2.C (setCharFont): eliminate setCharFont code duplication.
11204
11205 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11208         LFUN_TABULAR_FEATURE (bug #177)
11209
11210 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * Makefile.am: remove figure.h
11213
11214 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * Bufferview_pimpl.C:
11217         * CutAndPasteC:
11218         * LaTeX.C:
11219         * LyXSendto.C:
11220         * buffer.C:
11221         * bufferlist.C:
11222         * converter.C:
11223         * language.C:
11224         * lyxfunc.C:
11225         * lyxvc.C:
11226         * paragraph.C:
11227         * text.C:
11228         * text2.C: remove #include "lyx_gui_misc.h".
11229
11230         * LaTeX.C: added #include <cstdio>
11231
11232 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11233
11234         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11235         that the paragraph following this one can have.
11236
11237         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11238
11239         * vspace.C (asLatexCommand): fix bogus gcc warning
11240
11241         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11242
11243 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11244
11245         * text2.C (setLayout): get rid of redundant code
11246
11247 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11248
11249         * text2.C (incDepth): make sure depth cannot be increased beyond
11250         reasonable values.
11251
11252 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11253
11254         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11255         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11256
11257         * PainterBase.h (image):
11258         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11259         a LyXImage const *.
11260
11261 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * BufferView.C:
11264         * BufferView.h:
11265         * BufferView_pimpl.C:
11266         * BufferView_pimpl.h:
11267         * LaTeXFeatures.C:
11268         * LyXAction.C:
11269         * LyXView.C:
11270         * Makefile.am:
11271         * UpdateList.h:
11272         * UpdateList.C:
11273         * buffer.C:
11274         * figure.h:
11275         * figureForm.C:
11276         * figureForm.h:
11277         * figure_form.C:
11278         * figure_form.h:
11279         * lyx_cb.C:
11280         * lyx_gui.C:
11281         * lyx_gui_misc.C:
11282         * lyxfunc.C:
11283         * sp_base.h:
11284         * sp_ispell.h:
11285         * sp_pspell.h:
11286         * sp_spell.C: remove fig inset, and the crap house of
11287           cards that follows it
11288
11289 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * Makefile.am:
11292         * lyxserver.C:
11293         * os2_defines.h:
11294         * os2_errortable.h:
11295         * nt_defines.h: move .h into support/
11296
11297         * vms_defines.h: remove
11298
11299         * WorkArea.C: add space in debug output
11300
11301         * text2.C:
11302         * paragraph.C:
11303         * buffer.C: add WITH_WARNINGS
11304
11305         * vc-backend.h:
11306         * vc-backend.C:
11307         * bufferlist.C: s/retrive/retrieve/, add docs
11308
11309         * vspace.h:
11310         * vspace.C:
11311         * kbmap.h:
11312         * lyxlength.h:
11313         * lyxgluelength.h:
11314         * length_common.h:
11315         * chset.h:
11316         * chset.C: add docs
11317
11318         * lyxgui.C: add ID to X error handler
11319
11320         * lyxtestclass.c: fix typo
11321
11322 2002-02-26  Juergen Vigna  <jug@sad.it>
11323
11324         * tabular_funcs.C (write_attribute): changed so that some default
11325         attributes are not written at all.
11326         (getTokenValue): set default values before trying to read the
11327         value so we have the return value always set as default if we don't
11328         find the token we search for.
11329
11330         * tabular.C (Write): write bools as bools not as strings!
11331
11332 2002-02-22  Juergen Vigna  <jug@sad.it>
11333
11334         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11335         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11336
11337         * text.C (leftMargin): don't add an indent for paragraphs inside
11338         tabular cells (fix #208).
11339
11340 2002-02-21  José Matos  <jamatos@fep.up.pt>
11341
11342         * tabular.C (docBook): fixed support for long tables.
11343
11344 2002-02-20  Juergen Vigna  <jug@sad.it>
11345
11346         * text2.C (getFont): get the drawing font of the Inset if this
11347         paragraph is inside an inset (only important for InsetERT for now).
11348
11349         * buffer.C (insertErtContents): use new lanugage params in ERT
11350         constructor.
11351
11352         * CutAndPaste.C: commenting out seemingly uneeded code.
11353
11354 2002-02-19  Allan Rae  <rae@lyx.org>
11355
11356         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11357         Iterators might be simple to use but they also get invalidated.
11358         (removeAutoInsets): renamed saved cursor tracking variables and added
11359         some comments to clarify what everything does.
11360
11361 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * Chktex.C:
11364         * LaTeX.C:
11365         * LyXSendto.C:
11366         * converter.C:
11367         * lyx_cb.C:
11368         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11369         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11370
11371         * lyxfunc.C:
11372         * vc-backend.h: remove #include "support/syscall.h"
11373
11374         * LaTeX.C:
11375         * LyXSendto.C:
11376         * converter.C: rearrange #includes in Lars' approved fashion.
11377
11378         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11379         forward declare class Timeout in the header file.
11380
11381         * XFormsView.C: changes due to the above.
11382
11383         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11384         similar to LyXView.
11385
11386         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11387         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11388
11389 2002-02-18  José Matos  <jamatos@fep.up.pt>
11390
11391         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11392         insets contents.
11393
11394 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11395
11396         * a lot of small ws changes
11397         * add a lot of using std::XXX
11398         * use std construcs some places where approp.
11399         * use some exisint stuff from lyxfunctional where approp.
11400         * Make file changes to use partial linking (lets test this now...)
11401
11402 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11403
11404         * Chktex.C:
11405         * buffer.C:
11406         remove #include "support/syscontr.h" as it's redundant. Always has been.
11407
11408         * Chktex.C:
11409         * LaTeX.C:
11410         * LyXSendto.C:
11411         * converter.C:
11412         * lyx_cb.C:
11413         * vc-backend.C:
11414         change Systemcalls::System to Systemcalls::Wait and
11415         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11416         No change of functionality, just reflects the stripped down Systemcalls
11417         class.
11418
11419 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11420
11421         * debug.[Ch]: add a GRAPHICS type to the enum.
11422
11423 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11426
11427         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11428         there is an inset.
11429
11430 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11433         match the changes below.
11434
11435         * text2.C (toggleInset): if there is not editable inset at cursor
11436         position, try to see if cursor is _inside_ a collapsable inset
11437         and close it.
11438
11439 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11442         document menu has a nice checkbox
11443
11444 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11445
11446         * lyxlength.C (asLatexString): change PW to output as percent of
11447         \textwidth.
11448
11449         * lengthcommon.C: change '%' to 't%'
11450
11451         * lyxfunc.C (dispatch): a few comments from Martin
11452
11453 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * WorkArea.h:
11456         * WorkArea.C:
11457         * BufferView_pimpl.h:
11458         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11459           the X selection.
11460
11461 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * vspace.C (inPixels): fix compiler warning
11464
11465 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11466
11467         * lyxfunc.C (getStatus): fix status message for disabled commands.
11468
11469 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * BufferView_pimpl.C: fix crash on close buffer
11472         during selection (#227)
11473
11474 2002-01-27  Herbert Voss  <voss@lyx.org>
11475
11476         * buffer.C: link old Figure to new graphic inset
11477
11478 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * FontLoader.C (getFontinfo): Change the latex font names in order
11481         to match the names of type1inst.
11482
11483 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11486
11487         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11488         (extchanged): ditto
11489         (ext_exist): ditto
11490         (remove_files_with_extension): ditto
11491         (remove_file): ditto
11492         (write): ditto
11493
11494         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11495         document is smaller than the work area height. Do not initialize
11496         static variables to 0.
11497
11498 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11501
11502         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11503         LFUN_LAYOUT_PARAGRAPHS.
11504
11505         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11506         tabular. It is possible to provide a possible cell, which will
11507         typically be the actcell from the corresponding insettabular
11508
11509         * lyxfunc.C (getStatus): small cleanup; disable
11510         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11511         true
11512
11513 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11516
11517         * paragraph.C (startTeXParParams):
11518         (endTeXParParams): new methods. The LaTeX code to
11519         start/end paragraph formatting
11520         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11521         empty (fixes bug #200)
11522
11523         * vspace.C (inPixels): adapt to the change below
11524         (inPixels): [later] more cleanups (remove unused variables)
11525
11526         * lyxlength.C (inPixels): change to use a width and a height as
11527         parameter.
11528
11529 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11532         Replaced with \paperwidth
11533
11534         * DepTable.C (insert): add std:: qualifier
11535
11536 2002-01-18  Allan Rae  <rae@lyx.org>
11537
11538         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11539         updated also?
11540
11541         * text.C (drawInset): Turned out I didn't know enough about how
11542         rebreaking worked.  This fixes most of the redraw problems.  I see
11543         an occasional cursor trail when a line is broken now and the cursor
11544         placement can seem out by a few pixels also after a rebreak.
11545
11546 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11547
11548         * buffer.C (parseSingleLyXformat2Token): update because minipage
11549         width is now a LyXLength
11550
11551         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11552
11553         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11554         math insets
11555
11556 2002-01-17  Juergen Vigna  <jug@sad.it>
11557
11558         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11559
11560         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11561         is set correctly and the inset is updated correctly.
11562
11563 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11566         the beginning of the loop.
11567
11568 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * lyxrc.C: improve help for use_scalable_fonts
11571
11572 2002-01-17  Allan Rae  <rae@lyx.org>
11573
11574         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11575
11576 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11577
11578         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11579         make sure to set their inset_owner to the right value (bug #171)
11580
11581 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11582
11583         * DepTable.h
11584         * DepTable.C: Implement mtime checking to reduce time spent doing
11585         CRCs.
11586
11587 2002-01-16  Juergen Vigna  <jug@sad.it>
11588
11589         * tabular.C (GetAdditionalHeight): one of error fixed.
11590
11591         * lyxrc.C (output): small fix in writing use_pspell.
11592
11593 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * sp_base.h: #include LString.h
11596
11597 2002-01-16  Allan Rae  <rae@lyx.org>
11598
11599         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11600         Can someone check this please?
11601
11602         * text.C (drawInset): It was possible that p.row would be removed by
11603         breakAgainOneRow upsetting a few other settings.  There may be another
11604         small tweak possible by setting need_break_row = 0 when p.row has been
11605         removed but I don't know enough about the logic here.
11606
11607 2002-01-15  Allan Rae  <rae@lyx.org>
11608
11609         * text.C (insertChar): removed conditional truism.
11610
11611         * BufferView2.C (removeAutoInsets): More tweaks.
11612         cur_par_prev could be a stray pointer.  Check for trailing empty line
11613         in case last line was cur_par and only had an error inset on it.
11614
11615 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11618         absolute
11619
11620         * vc-backend.C (most methods):
11621         * exporter.C (Export):
11622         * converter.C (convert):
11623         (runLaTeX):
11624         * LyXSendto.C (SendtoApplyCB):
11625         * lyxfunc.C (dispatch):
11626         (menuNew):
11627         (open):
11628         (doImport):
11629         * lyx_cb.C (AutoSave):
11630         (InsertAsciiFile):
11631         * BufferView_pimpl.C (MenuInsertLyXFile):
11632         * buffer.C (runChktex): use Buffer::filePath().
11633
11634         * buffer.h: rename filename to filename_; rename filepath to
11635         filepath_ and make it private
11636         (filePath): new method
11637
11638         * buffer.C (writeFile): use fileName()
11639         (getLatexName):
11640
11641         * lyx_main.C (init): fix starting  of LyX when the binary is a
11642         link from so,ewhere else.
11643
11644         * minibuffer.C: include <cctype> for isprint
11645
11646 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11647
11648         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11649         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11650         name clash with InsetCollapsable's width function.
11651
11652 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * lastfiles.C: include <iterator>
11655
11656 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11657
11658         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11659         std::count.
11660
11661         * buffer.C (makeLaTeXFile): ditto.
11662         Also make loop operation more transparent.
11663
11664 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11665
11666         * ToolbarDefaults.C: remove trailing comma closing namespace.
11667
11668         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11669
11670         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11671         as in WorkArea.
11672
11673         * trans.C (Load): comment out unused variable, allowed.
11674
11675 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11676
11677         * minibuffer.[Ch] (append_char): new method to recieve input from the
11678         drop-down completion browser. If a key was pressed, then recieve this
11679         char and append it to the existing string.
11680         (peek_event): modify the positioning data passed to the completion
11681         browser so that it can be placed above the minibuffer rather than below.
11682 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * LyXAction.C (init): alloe error-next for readonly documents.
11685
11686         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11687         count.
11688
11689 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11690
11691         * bufferlist.C (readFile): create the buffer _after_ checking that
11692         the file exists.
11693
11694         * lyxfunc.C (verboseDispatch): fix handling of arguments
11695
11696         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11697
11698         * lyxrc.C: use string::erase() instead of initializing to "".
11699
11700
11701 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * BufferView_pimpl.h:
11704         * BufferView_pimpl.C:
11705         * WorkArea.h:
11706         * WorkArea.C:
11707         * text2.C: tell X when we have made a selection for copying
11708
11709 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11710
11711         * BufferView_pimpl.C (MenuInsertLyXFile):
11712         * lyxfunc.C (menuNew):
11713         (open):
11714         (doImport): add shortcuts to directory buttons
11715
11716         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11717         open a float)
11718
11719         * lyxfunc.C (setStatusMessage):
11720         (getStatusMessage): new methods
11721         (getStatus):use setStatusMessage instead of setErrorMessage
11722         (dispatch): when function is disabled, set error message here
11723         [instead of in getStatus previously]
11724
11725         * BufferView_pimpl.C (workAreaButtonRelease): update
11726         toolbar/menubar here too.
11727
11728 2002-01-13  Allan Rae  <rae@lyx.org>
11729
11730         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11731         Now seems indestructible.  Remaining task is to audit all other
11732         code affected by deleteEmptyParagraphMechanism.  One small quirk
11733         left is that an empty document with an error in the preamble can
11734         be made to report an error but no error box appears.  I don't know
11735         where it goes.
11736         (removeAutoInsets): Improved comments.
11737
11738 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * Thesaurus.h:
11741         * Thesaurus.C: update for Aiksaurus 0.14
11742
11743 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * text2.C (firstParagraph): removed member function, all uses
11746         replaces with ownerParagraph
11747         (redoParagraphs): here
11748         (updateInset): here
11749         (toggleAppendix): here
11750         * BufferView2.C (insertErrors): here
11751         (setCursorFromRow): here
11752
11753 2002-01-13  Allan Rae  <rae@lyx.org>
11754
11755         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11756         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11757         There is still a way to segfault this although you may have to do this
11758         multiple times: Have an InsetERT with an unknown command in it.
11759         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11760         <down-arrow>, <Enter> again, View->DVI, BANG!
11761
11762         * text2.C (setCursor):
11763         (deleteEmptyParagraphMechanism):
11764         * lyxtext.h (setCursor):
11765         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11766         Making use of the return value may help fix other bugs.
11767
11768 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11771
11772         * LyXView.C (updateMenubar): call MenuBar::update here
11773         (updateToolbar): but not here
11774         (showState): do not update toolbar/menubar
11775
11776         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11777         should need to care about that.
11778
11779         * lyxfunc.C (verboseDispatch): simplify a bit
11780         (getStatus): have a version which takes a pseudoaction, and
11781         another which requires a (kb_action,string).
11782
11783         * LyXAction.C (retrieveActionArg): make it work also when action
11784         is not a pseudo-action.
11785         (getActionName): simplify a bit
11786         (helpText):
11787
11788 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * lyxfunc.C (verboseDispatch): new families of methods with
11791         several ways to specify a command and a bool to indicate whether
11792         the command name and shortcut should be displayed in minibuffer
11793         (eventually, we could extend that to a finer bitmask like
11794         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11795         (dispatch): the pristine dispatch command which just, well,
11796         dispatchs! Note it still sets its result to minibuffer; I'm not
11797         sure we want that.
11798
11799         * lyxfunc.h: remove setHintMessage
11800
11801         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11802
11803 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * BufferView_pimpl.C (specialChar): delete new inset if we have
11806         not been able to insert it.
11807
11808         * kbmap.C: revert to using int instead of kb_action, since all we
11809         are dealing with is pseudo-actions.
11810
11811         * LyXAction.C (searchActionArg): change to return int instead of
11812         kb_action, since the result is a pseudoaction.
11813
11814 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11815
11816         * buffer.C (insertErtContents): Fix (partially) the font bug.
11817
11818 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11821         as the other one is broken on my machine!
11822
11823 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11824
11825         * commandtags.h:
11826         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11827
11828 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11829
11830         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11831         reflect their actual use. Provide compatibility code for older lyxrc
11832         files.
11833
11834         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11835         FL_NORMAL_STYLE.
11836         change names of popup font variables in line with the changes to lyxrc.C
11837
11838 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * buffer.C (asciiParagraph): avoid outputing a word twice after
11841         an inset.
11842
11843         * lyxrc.C (getDescription): document that document_path and
11844         template_path can be empty.
11845
11846 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * LaTeXFeatures.C (getMacros):
11849         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11850
11851         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11852
11853         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11854         getPackages.
11855         (getPackages): rename feature "floats" to "float". Use an array to
11856         iterate over 'simple' features (i.e. just a \usepackage). Add
11857         handling of "amsmath" (renamed from "amsstyle").
11858
11859 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11860
11861         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11862         features list.
11863
11864 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11867         FuncStaus::FuncStatus & FuncStaus::some_method().
11868
11869 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11870
11871         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11872         of the func_satus stuff. Edited and massaged in various ways by
11873         JMarc.
11874
11875         * lyxfunc.C (getStatus): use FuncStatus
11876
11877 2002-01-08  Juergen Vigna  <jug@sad.it>
11878
11879         * text.C (nextBreakPoint): use function Inset::isChar().
11880
11881         * paragraph.C (TeXOnePar): use function
11882         Inset::forceDefaultParagraphs.
11883
11884         * buffer.C (latexParagraphs): use function
11885         Inset::forceDefaultParagraphs.
11886
11887 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11888
11889         * lyx_gui.C (init): set the style of the menu popups to
11890         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11891
11892 2002-01-07  Juergen Vigna  <jug@sad.it>
11893
11894         * text.C (setHeightOfRow): small fix
11895         (prepareToPrint): don't look at alignment if we don't have the place
11896         for doing it.
11897
11898 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11899
11900         * box.C: New file. Move the Box methods and functions out of box.h,
11901         following Lars' suggestion.
11902
11903 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11904
11905         * box.h: #include "support/LOstream.h", needed for inlined function.
11906
11907         * lyxtextclass.C:
11908         * lyxtextclasslist.C: added some using std declarations.
11909
11910 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * box.h: make signed dimensions to allow insets wider than
11913           the screen (bug #162)
11914
11915         * BufferView_pimpl.C: add some insetHit debug
11916
11917 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * vc-backend.C: add FIXME
11920
11921 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyxfunc.C (getStatus): enable code for showing math font status
11924         in toolbar/menu.
11925
11926 2002-01-07  Juergen Vigna  <jug@sad.it>
11927
11928         * text.C (nextBreakPoint): removed debug output not needed anymore.
11929
11930 2002-01-06  Juergen Vigna  <jug@sad.it>
11931
11932         * text.C (nextBreakPoint): fixed up this function we had this bug
11933         since ever but now hopefully we break row better.
11934         (insertChar): we have to check if an inset is the next char as it
11935         could now happen that a large inset is causing a break.
11936
11937 2002-01-05  Juergen Vigna  <jug@sad.it>
11938
11939         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11940         if it doesn't like to be drawed.
11941
11942 2002-01-04  Juergen Vigna  <jug@sad.it>
11943
11944         * BufferView2.C (lockInset): forgot to set a cursor.
11945
11946         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11947
11948 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11949
11950         * FormMathsPanel.C:
11951         * FormMathsPanel.h
11952         * MathsSymbols.C:
11953         * form_maths_panel.C:
11954         * form_maths_panel.h:
11955         * form_maths_panel.fd: implemented sub- and super- buttons in math
11956         panel.
11957
11958         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11959         (or ^ space) to be used as in TeX (req'd by André).
11960
11961         * lyxfunc.C: Allow ^ and _ again to be used both as
11962         super/subscript (mathed) and as themselves (in text).
11963
11964 2002-01-03  Allan Rae  <rae@lyx.org>
11965
11966         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11967         "LyX" or the filename of the current buffer if it has one.  This is a
11968         modified form of John Levon's patch.
11969
11970         * XFormsView.C (setWindowTitle): also set icon title.
11971
11972         * LyXView.h (setWindowTitle): signature changed.
11973         * XFormsView.h (setWindowTitle): ditto.
11974
11975 2002-01-02  Juergen Vigna  <jug@sad.it>
11976
11977         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11978
11979 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * screen.C (topCursorVisible): introduce a temp var for
11982         text->cursor.row(), handle the case where this row is null. (kindo
11983         hachish)
11984
11985         * text2.C (setCursor): add a couple of asserts.
11986
11987         * paragraph.h (inset_iterator): add -> operator
11988
11989         * paragraph.[Ch] (autoDeleteInsets): remove member function
11990
11991         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11992         cursor pos correctly and handle inset deletion by itself.
11993         (insertErrors): move iterator declaration out of for expression
11994
11995         * lyxtextclass.C: add <algorithm>
11996
11997         * Makefile.am: added the new files to sources, removed layout.C
11998
11999         * layout.C: removed file
12000
12001         * layout.h: remove LYX_DUMMY_LAYOUT
12002
12003         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12004         layout.
12005
12006         * lyxlayout.[Ch]:
12007         * lyxtextclass.[Ch]:
12008         * lyxtextclasslist.[Ch]: new files
12009
12010         * include order changes to a lot of files, also changes because of
12011         the six new files.
12012
12013 2001-12-27  Juergen Vigna  <jug@sad.it>
12014
12015         * buffer.C (asciiParagraph): more fixes.
12016
12017         * tabular.C (ascii): make ascii export support export of only the
12018         data separated by a column-delimiter.
12019         (ascii): better support for ascii export.
12020
12021         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12022
12023 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12024
12025         * tabular_funcs.C: use a "using std::getline" instead of the
12026         previous fix from Angus (necessary for cxx + lyxstring)
12027
12028 2001-12-24  Juergen Vigna  <jug@sad.it>
12029
12030         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12031
12032         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12033         problems. First check a minipage also if we have some ert-contents
12034         (not only on par->size(), second set the right depth of the paragraph
12035         on the relink to the root-paragraph-list!
12036
12037         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12038         which then did not anymore update the main paragraphs on undo/redo!
12039
12040 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12043         code. Support all font-changing funcs (even those which are not in
12044         menu currently). Support for reporting font settings in
12045         mathed (disabled until Andre provides a function on mathed's side).
12046
12047         * func_status.h (toggle): small helper function to set toggle
12048         state on a flag.
12049
12050 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * tabular_funcs.C: getline -> std::getline
12053
12054 2001-12-21  Juergen Vigna  <jug@sad.it>
12055
12056         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12057         accessed and could be 0 (I couldn't generate this but it seems
12058         Michael could!).
12059
12060 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12061
12062         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12063         * tabular_funcs.h: here and include iosfwd
12064
12065 2001-12-20  Juergen Vigna  <jug@sad.it>
12066
12067         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12068         inside inset but undo_par was.
12069
12070 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * Thesaurus.C: always include <config.h> in sources.
12073
12074         * Painter.h:
12075         * lyxlookup.h:
12076         * box.h: do not include <config.h> in header files
12077
12078         * text.C (paintLastRow): remove unused variable
12079
12080         * text.C (transformChar):
12081         (insertChar):
12082         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12083
12084         * Painter.C (text):
12085         * font.C (width): rewrite to use uppercase() instead of
12086         islower/toupper.
12087
12088         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12089
12090 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * lyxfind.C: clean up of find failure position change
12093
12094 2001-12-20  Juergen Vigna  <jug@sad.it>
12095
12096         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12097
12098         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12099         (TeXRow): added to LaTeX a single tabular row.
12100         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12101         (Latex): simplified and finally good LT-h/f support.
12102         (various_functions): just small adaptions for LT-h/f support.
12103
12104         * tabular_funcs.[hC]: added and moved here all not classfunctions
12105         of LyXTabular.
12106
12107 2001-12-19  Juergen Vigna  <jug@sad.it>
12108
12109         * tabular.[Ch]: better support for longtabular options (not finished
12110         yet!)
12111
12112 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * text.C (paintLastRow): use the label font instead of the font of
12115         the last character to compute the size of *_BOX. This makes more
12116         sense and avoids a crash with empty paragraphs.
12117         Use Painter::rectangle to draw EMPTY_BOX.
12118
12119 2001-12-19  Juergen Vigna  <jug@sad.it>
12120
12121         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12122         the paragraphs if the replaced paragraph is not the first one!
12123         Tried to delete not used paragraphs but does not work yet so for
12124         now it's inside #ifdef's and by default off!
12125
12126 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * MenuBackend.C: include "lyx_main.h" instead of declaring
12129         lastfiles (actually was declared as LastFiles* instead of a
12130         scoped_ptr).
12131
12132 2001-12-17  Juergen Vigna  <jug@sad.it>
12133
12134         * tabular.C (AppendColumn): applied John's fix
12135
12136 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * BufferView.h:
12139         * BufferView.C:
12140         * BufferView_pimpl.h:
12141         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12142
12143         * Makefile.am:
12144         * box.h: new start of class for above
12145
12146         * lyxfunc.C: ignore space-only minibuffer dispatches.
12147           Show the command name when it doesn't exist
12148
12149         * minibuffer.C: don't add empty lines to the history
12150
12151         * minibuffer.C: add a space on dropdown completion
12152
12153 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * text.C: fix line above/below drawing in insets
12156
12157 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * lyxlength.C (LyXLength): Initialize private variables.
12160
12161 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12162
12163         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12164         when inserting error insets.
12165
12166 2001-12-13  Juergen Vigna  <jug@sad.it>
12167
12168         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12169         actually sometimes the before-paragraph.
12170         (setUndo): don't clear the redostack if we're not actually undoing!
12171
12172 2001-12-06  Juergen Vigna  <jug@sad.it>
12173
12174         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12175         and fixed redoing of main paragraph, so we can use it now ;)
12176
12177         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12178
12179 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12180
12181         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12182         Juergen's request
12183
12184 2001-12-13  André Pönitz <poenitz@gmx.net>
12185
12186         * undostack.[Ch]:
12187         * undo_func.C: minor cleanup
12188
12189 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12190
12191         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12192         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12193         font in urw-fonts package which is marked as -urw-fontspecific and
12194         does not work (incidentally, changing the encoding in the
12195         fonts.dir of this package to -adobe-fontspecific fixes the
12196         problem).
12197
12198         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12199         is a crash when undoing first paragraph (Juergen, please take a
12200         look). THis does not mean the undo fix is wrong, just that it
12201         uncovers problems.
12202
12203         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12204         the (Paragraph*) version when needed instead of duplicating the
12205         code.
12206
12207         * text.C (workWidth): use Inset::parOwner to find out where the
12208         inset has been inserted. This is a huge performance gain for large
12209         documents with lots of insets. If Inset::parOwner is not set, fall
12210         back on the brute force method
12211
12212         * paragraph_pimpl.C (insertInset):
12213         * paragraph.C (Paragraph):
12214         (cutIntoMinibuffer): set parOwner of insets when
12215         inserting/removing them
12216
12217         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12218
12219 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12220
12221         * commandtags.h:
12222         * LyXAction.C:
12223         * lyx_main.C:
12224         * lyxfunc.C:
12225         * mathed/formulabase.C:
12226         * mathed/math_cursor.[Ch]:
12227         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12228
12229
12230 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * lyxlength.[Ch] (operator!=): new function
12233
12234 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * text.C (workWidth): use Inset::parOwner to find out where the
12237         inset has been inserted. This is a huge performance gain for large
12238         documents with lots of insets. If Inset::parOwner is not set, fall
12239         back on the brute force method
12240
12241         * paragraph_pimpl.C (insertInset):
12242         * paragraph.C (Paragraph):
12243         (cutIntoMinibuffer): set parOwner of insets when
12244         inserting/removing them
12245
12246         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12247
12248 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * tabular-old.C (getTokenValue):
12251         * tabular.C (getTokenValue):
12252         (write_attribute): new versions for LyXLength
12253         (everywhere): adjust the use of widths
12254
12255         * tabular.h: change the type of widths from string to LyXLength
12256
12257 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12258
12259         * paragraph.C: fixed missing line number count when exporting
12260         Environments to LaTeX file
12261
12262         * buffer.C: added informational message for checking line numbers.
12263
12264 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12267         paragraph, do the 'double space' part, but not the 'empty
12268         paragraph' one.
12269
12270         * text.C (workWidth): small optimization
12271         (getLengthMarkerHeight): use minimal size for negative lengths.
12272
12273 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12274
12275         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12276
12277         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12278
12279 2001-12-11  André Pönitz <poenitz@gmx.net>
12280
12281         * FontLoader.C:
12282         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12283
12284 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * text2.C: keep selection on a setFont()
12287
12288 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * lyx_cb.C: another bv->text misuse, from insert label
12291
12292 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * kbsequence.h:
12295         * kbsequence.C: re-instate nmodifier mask
12296
12297 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * lyx_main.h: make lyxGUI private.
12300
12301 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * lyxfind.C: place the cursor correctly on failed search
12304
12305 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12306
12307         * text.C (getLengthMarkerHeight): for small heights, the arrows
12308         are not always on top/bottom of the text
12309         (drawLengthMarker): smaller arrows; take the left margin in
12310         account; draw also vfills.
12311         (paintFirstRow):
12312         (paintLastRow): remove special code for vfill and standard spaces,
12313         since everything is handled in drawLengthMarker now.
12314
12315 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * buffer.C (insertErtContents): try to handle font and language
12318         interaction a bit better.g
12319
12320         * ColorHandler.C (updateColor): change the hash to cover the whole
12321         LColor enum, ws cleanup
12322         (getGCLinepars): ditto
12323         (getGCLinepars): only lookup in the linecache once.
12324
12325 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12326
12327         * iterators.C (operator++): Make the iterator more robust
12328
12329         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12330         (John's patch)
12331         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12332
12333 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxtext.h:
12336         * text.C: better added space drawing
12337
12338 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * LyXView.C:
12341         * BufferView2.C: fix layout combo update on inset unlock
12342
12343 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * Makefile.am: don't compile unused files
12346
12347 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * lyxfunc.C:
12350         * commandtags.h:
12351         * LyXAction.C: remove old LFUN_LAYOUTNO
12352
12353 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * paragraph_pimpl.h:
12356         * paragraph_pimpl.C: isTextAt() doesn't need font param
12357
12358 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * lyxlex.h:
12361         * lyxlex.C: little cleanup
12362
12363 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * BufferView_pimpl.C: fix insertAscii for insets
12366
12367 2001-12-05  Juergen Vigna  <jug@sad.it>
12368
12369         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12370         set the right font on the "multi" paragraph paste!
12371
12372 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * trans_decl.h:
12375         * trans_mgr.[Ch]:
12376         * trans.[Ch]:
12377         * lyxgluelength.C:
12378         * lyxlength.C: remove out-commented code.
12379
12380         * BufferView_pimpl:
12381         * CutAndPaste.C:
12382         * DepTable.C:
12383         * buffer.C:
12384         * chset.C:
12385         * lastfiles.C:
12386         * lyxlex.C:
12387         * lyxlex_pimpl.C:
12388         * lyxserver.C:
12389         * screen.C:
12390         * tabular-old.C:
12391         * tabular.C:
12392         * text.C:
12393         * trans_mgr.C:
12394         * vc-backend.C: change "while(" to "while ("
12395
12396         * lyxlength.[Ch]: add zero function to check if length is zero or
12397         not
12398         * lyxgluelength.C: use it
12399
12400 2001-12-05  Allan Rae  <rae@lyx.org>
12401
12402         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12403         Works for 2.95.3, from what I understand of Garst's reports this should
12404         work for other g++ versions.  We're screwed if the abs(int) definition
12405         changed between bugfix releases of gcc.
12406
12407 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * text.C: fix chapter label offset !
12410
12411 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * lyxtext.h:
12414         * text.C: fix hfill at end of line, clean up
12415
12416 2001-12-04  Juergen Vigna  <jug@sad.it>
12417
12418         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12419         that we force an update of the inset and it's owners if neccessary.
12420
12421 2001-12-03  Juergen Vigna  <jug@sad.it>
12422
12423         * text.C (rowLast): simplified code
12424
12425 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * lyxfunc.C: fix show options on timeout
12428
12429 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * screen.C (topCursorVisible): scroll half a page when the cursor
12432         reached top of bottom of screen
12433
12434 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * minibuffer.C: deactivate on loss of focus
12437
12438 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * vspace.[Ch] (operator!=): add operator.
12441
12442 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * BufferView_pimpl.C: refuse to open an inset when
12445         there's a selection.
12446
12447 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * BufferView_pimpl.C: allow to click on RHS of full row insets
12450
12451 2001-11-30  Juergen Vigna  <jug@sad.it>
12452
12453         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12454         insets for undo reasons.
12455
12456 2001-11-28  André Pönitz <poenitz@gmx.net>
12457
12458         * vspace.[Ch]: cosmetical changes
12459
12460 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * LyXAction.h:
12463         * LyXAction.C:
12464         * lyxfunc.h:
12465         * lyxfunc.C:
12466         * kbmap.h:
12467         * kbmap.C:
12468         * lyxrc.C:
12469         * kbsequence.h:
12470         * kbsequence.C: part re-write of old kb code
12471
12472         * Painter.C:
12473         * WorkArea.C: remove Lgb_bug_find_hack
12474
12475 2001-11-30  José Matos <jamatos@fep.up.pt>
12476
12477         * buffer.C (makeDocBookFile): add a comment to point a hack.
12478         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12479         Fixed a double write of labels.
12480
12481 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12482
12483         * LaTeX.C:
12484         * LaTeX.h Fixed bug in LaTeX class where it would not
12485         re-run latex if no depfiles were changed, but the .dvi was removed.
12486
12487 2001-11-28  André Pönitz <poenitz@gmx.net>
12488
12489         * all the files from the change on 2001/11/26:
12490         use lyx::layout_type instead of LyXTextClass::size_type
12491         use lyx::textclass_type instead of LyXTextClassList::size_type
12492
12493 2001-11-29  Juergen Vigna  <jug@sad.it>
12494
12495         * text.C: added support for paragraph::isFreeSpacing()
12496
12497         * buffer.C: same as above
12498
12499         * paragraph.h: inserted isFreeSpacing() function to enable
12500         FreeSpacing inside InsetERT.
12501
12502         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12503         of the paragraph's in the cut/copy buffer to 0!
12504
12505         * text2.C (removeRow): remove the assert as it can!
12506
12507         * lyxtext.h: added helper function firstRow returning firstrow and
12508         made firstrow private again.
12509
12510         * BufferView2.C (lockInset): don't relock if we're already locked!
12511
12512         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12513         the only paragraph.
12514         (removeRow): added Assert::(firstrow)
12515
12516         * debug.C: forgot to add INSETTEXT here.
12517
12518 2001-11-28  Juergen Vigna  <jug@sad.it>
12519
12520         * sp_spell.C (initialize): changed error text to more general
12521         spellchecker command use (not only ispell!)
12522
12523         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12524
12525         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12526
12527 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * vspace.C: initialise lyxgluelength on failure
12530
12531 2001-11-28  Allan Rae  <rae@lyx.org>
12532
12533         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12534         declaration & definition that looks like a function declaration.
12535
12536 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12537
12538         * BufferView2.C (copy):
12539         (copyEnvironment): do not clear the selection when doing a copy.
12540
12541         * text.C (paintFirstRow): compilation fix
12542
12543 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12544
12545         * tabular.C (Latex): correct line count when writing latex.
12546
12547 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * paragraph_pimpl.h:
12550         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12551           bug a bit
12552
12553 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * text.C:
12556         * LColor.h:
12557         * LColor.C: change vfillline->added_space
12558
12559         * text.C: add markers and text for added space
12560
12561         * vspace.C: fix comment
12562
12563 2001-11-28  André Pönitz <poenitz@gmx.net>
12564
12565         * paragraph.C: whitespace changes
12566         * all the other files from the change on 2001/11/26:
12567         change *::pos_type into lyx::pos_type
12568
12569 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12570
12571         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12572         language of the document when inserting error insets.
12573
12574 2001-11-26  André Pönitz <poenitz@gmx.net>
12575
12576         * BufferView_pimpl.[Ch]:
12577         *       CutAndPaste.C:
12578         * buffer.[Ch]:
12579         * lyxcursor.[Ch]:
12580         * lyxfind.C:
12581         * lyxfunc.C:
12582         * lyxrow.[Ch]:
12583         * paragraph.[Ch]:
12584         * paragraph_pimpl.[Ch]:
12585         * sp_spell.C:
12586         * text.C:
12587         * text2.C: reduce header dependencies, introduce type for positions
12588
12589 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * <various>: change to use Alert.h
12592
12593 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12594
12595         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12596         when encountering an unknown token.
12597         (readLyXformat2): Show an error message if there were unknown tokens.
12598
12599 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * BufferView2.C:
12602         * BufferView_pimpl.C:
12603         * buffer.C:
12604         * paragraph.h:
12605         * text.C:
12606         * text2.C: use par->isInset()
12607
12608 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * paragraph_pimpl.h:
12611         * paragraph_pimpl.C: cleanup
12612
12613 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12614
12615         * text2.C (removeRow):
12616         * text.C (setHeightOfRow): remove useless (and costly) call to
12617         getRow.
12618
12619 2001-11-20  Allan Rae  <rae@lyx.org>
12620
12621         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12622         Now need Inset*::checkInsertChar() to return true for appropriate
12623         cases so that the characters in the minibuffer will actually be
12624         inserted.
12625
12626 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * text.C: change the order of the includes.
12629         (workWidth): initialize it at once.
12630         (workWidth): make maxw unsigned
12631         (setHeightOfRow): remove unused variable (inset)
12632         (selectSelectedWord): remove unused variable (inset)
12633         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12634
12635 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12638         server is not running.
12639         (openConnection):
12640         (closeConnection): add debug info when server is disabled.
12641
12642         * ColorHandler.C (getGCForeground): send debug message to GUI
12643         channel.
12644
12645         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12646
12647         * kbmap.C (bind): modify because return conventions of
12648         kb_sequence::parse have changed.
12649
12650         * kbsequence.C (parse): only ignore spaces and not any stupid
12651         control character. This avoids tests like s[i] <= ' ', which are
12652         guaranteed to fail with 8bit characters and signed chars.
12653         Change return code to string::npos when there have been no error
12654         (0 was a bad idea when error is at first character)
12655
12656 2001-11-14  José Matos  <jamatos@fep.up.pt>
12657
12658         * buffer.h:
12659         * buffer.C (simpleDocBookOnePar): removed unused argument.
12660
12661 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12662
12663         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12664         insets which are part of a word. Paragraph::isLetter takes care of
12665         that now. Use Paragraph::isInset to identify insets.
12666         (selectSelectedWord): do not test for hyphenation break.
12667
12668         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12669         that protected spaces are considered as spaces.
12670
12671         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12672         Inset::isLetter.
12673
12674 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * lyxserver.h:
12677         * lyxserver.C: fix it. and small cleanup.
12678
12679 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * BufferView_pimpl.C: use inline helpers
12682
12683         * LaTeXFeatures.h:
12684         * LaTeXFeatures.C: fix typos
12685
12686         * Spacing.h:
12687         * Spacing.C: move spacing_string into class
12688
12689         * ToolbarDefaults.C: move stuff into namespace anon
12690
12691         * layout.h: update enum
12692
12693         * lyxfunc.C: use better debug
12694
12695         * minibuffer.h: fix typo
12696
12697         * debug.h:
12698         * debug.C:
12699         * WorkArea.C: add and use Debug::WORKAREA
12700
12701         * lyxtext.h:
12702         * text.C:
12703         * text2.C: code re-organisation, inline helpers
12704
12705 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12706
12707         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12708         std::vector.empty().
12709
12710 2001-11-09  Allan Rae  <rae@lyx.org>
12711
12712         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12713         '\n's after tables.  Tabular and ERT inset work now makes this no
12714         longer necessary.
12715
12716 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * minibuffer.h:
12719         * minibuffer.C: fix crash, improve drop-down completion
12720
12721 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * lyxserver.h:
12724         * lyxserver.C: invalidate fd's when doing endPipe()
12725
12726 2001-11-08  José Matos  <jamatos@fep.up.pt>
12727
12728         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12729         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12730
12731         * paragraph.h:
12732         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12733
12734 2001-11-07  José Matos  <jamatos@fep.up.pt>
12735
12736         * buffer.h:
12737         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12738         const qualifier.
12739
12740         * buffer.C (sgmlOpenTag):
12741         * buffer.C (sgmlCloseTag): removed debug info.
12742
12743         * buffer.h (sgmlOpenTag):
12744         * buffer.h (sgmlCloseTag): made public.
12745
12746 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * buffer.C (saveParamsAsDefaults):
12749         * lyx_cb.C (MenuLayoutSave): remove
12750
12751         * LyXAction.C (init):
12752         * commandtags.h:
12753         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12754
12755 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * buffer.C (setPaperStuff): removed from here...
12758
12759         * bufferparams.C (setPaperStuff): ... and moved there.
12760
12761 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * minibuffer.h:
12764         * minibuffer.C:
12765         * XFormsView.C: add support for drop-down completion
12766
12767 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12768
12769         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12770         commands.
12771
12772 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12773
12774         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12775         disabled.
12776
12777 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * lyx_main.C: change ref to known bugs
12780
12781 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12782
12783         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12784         to work around older babel problems.
12785
12786 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12787
12788         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12789
12790 2001-10-24  Juergen Vigna  <jug@sad.it>
12791
12792         * tabular-old.C (ReadOld): below variable changes reflected.
12793
12794         * tabular.[Ch]: added ltType struct for longtable header/footer
12795         defines and changed all instances where they are used. Added
12796         future support for double top/bottom rows.
12797
12798 2001-10-24  José Matos  <jamatos@fep.up.pt>
12799
12800         * buffer.h (docbookHandleCaption):
12801         * buffer.C (docbookHandleCaption): removed unused function.
12802         (makeDocBookFile): moved docbook supported version to v4.1.
12803
12804 2001-10-24  José Matos  <jamatos@fep.up.pt>
12805
12806         * tabular.h:
12807         * tabular.C (docbookRow): new function to export docbook code of a row.
12808         (DocBook): now honors the longtable flags.
12809
12810 2001-10-23  José Matos  <jamatos@fep.up.pt>
12811
12812         * LaTeXFeatures.h:
12813         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12814         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12815
12816         * buffer.C (makeLinuxDocFile):
12817         (makeDocBookFile): reworked the preamble, more clean, and with
12818         support for lyx defined entities. Changed the document declaration
12819         to be more XML friendly.
12820
12821         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12822         if we need to output XML that should be done with a filter.
12823
12824 2001-10-22  Juergen Vigna  <jug@sad.it>
12825
12826         * sp_pspell.h (class PSpell): add alive function needed in the
12827         controller to see if the spellchecker could be started.
12828
12829 2001-10-22  Juergen Vigna  <jug@sad.it>
12830
12831         * buffer.C (insertStringAsLines): modify the font for inserting
12832         chars in certain conditions by calling checkInsertChar(font).
12833
12834 2001-10-19  Juergen Vigna  <jug@sad.it>
12835
12836         * text.C (workWidth): use getRow instead of wrong algorithm.
12837         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12838
12839 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * lyxserver.h:
12842         * lyxserver.C:
12843         * lyx_main.h:
12844         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12845
12846 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12847
12848         * text.C (workWidth): do not search for the exact row when
12849         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12850         optimization for big documents.
12851
12852 2001-10-18  Juergen Vigna  <jug@sad.it>
12853
12854         * text.C (workWidth): new function with added Inset * parameter.
12855
12856 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12859
12860         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12861         change return type of getColumnNearX.
12862
12863
12864         * text.C (changeRegionCase): use uppercase/lowercase instead of
12865         toupper/tolower.
12866         (leftMargin):
12867         (rightMargin): simplify code by factoring out the uses of
12868         textclasslist.
12869         (labelFill):
12870         (numberOfHfills):
12871         (setHeightOfRow):
12872         (appendParagraph): use Paragraph::size_type
12873
12874 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12875
12876         * vspace.C (asLatexString): add a missing break
12877
12878 2001-10-15  Herbert Voss  <voss@perce.de>
12879
12880         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12881
12882 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12885         is not available.
12886
12887 2001-10-10  André Pönitz <poenitz@gmx.net>
12888
12889         * lyxfunc.C: removed greek_kb_flag.
12890
12891 2001-10-10  Herbert Voss  <voss@perce.de>
12892
12893         * lyx_main.C: delete global string help_lyxdir.
12894
12895 2001-10-09  Herbert Voss  <voss@perce.de>
12896
12897         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12898
12899         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12900
12901         * lyx_main.C: added global string help_lyxdir.
12902
12903         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12904
12905 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12906
12907         * lyxrc.C (set_font_norm_type): support iso8859-4
12908
12909 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12910
12911         * LaTeX.C (deplog): add another regex for MikTeX
12912
12913 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12914
12915         * lyxrc.C (set_font_norm_type): support iso8859-3
12916
12917 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12920
12921         * LaTeXFeatures.C: remove special case of french and index
12922
12923         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12924         before \begin{document}). This solves several incompatibilities.
12925
12926 2001-10-03  Garst Reese  <reese@isn.net>
12927
12928         * lyx_cb.C: change CheckTex error msg.
12929
12930 2001-10-03  José Matos  <jamatos@fep.up.pt>
12931
12932         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12933
12934 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12935
12936         * .cvsignore: update
12937
12938         * lyx_main.C (commandLineVersionInfo): use new style version info.
12939
12940         * buffer.C (writeFile):
12941         (makeLaTeXFile):
12942         (makeLinuxDocFile):
12943         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12944
12945         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12946
12947         * version.h: update to use stuff in version.C
12948
12949         * version.C.in: new file. Contains version information determined
12950         at compile time. This is a merging of version.h and
12951         version_info.h.in.
12952
12953 2001-10-03  Juergen Vigna  <jug@sad.it>
12954
12955         * BufferView_pimpl.C (update): don't change "dirty" status in
12956         updateInset call.
12957
12958 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * WorkArea.C (c-tor): re-position version string slightly.
12961
12962 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12963
12964         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12965         revert to previous code.
12966
12967         WorkArea.[Ch]: (show, destroySplash): methods removed.
12968
12969         WorkArea.C: rework code so that it's an amalgam of the codes before and
12970         after the splash screen was moved to WorkArea.
12971
12972 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * lyxrc.C (read):
12975         * vspace.C (inPixels):
12976         (lyx_advance):
12977         * kbmap.C (bind):
12978         * buffer.C (insertStringAsLines):
12979         (asciiParagraph): fix types to be large enough
12980
12981         * lyxlex_pimpl.h: change member status from short to int
12982
12983         * layout.h: fix type of endlabeltype
12984
12985         * kbmap.C (bind):
12986         * kbsequence.C (parse): change return type to string::size_type
12987
12988         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12989         variable
12990
12991         * Bullet.C (bulletSize):
12992         (bulletEntry): do not use short ints as parameters
12993
12994         * BufferView2.C (insertLyXFile): change a char to an int.
12995
12996         * WorkArea.C (WorkArea): remove unneeded floats in computation
12997
12998 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13001
13002         * paragraph.C (asString): Do not ignore newline/hfill chars when
13003         copying to the clipboard.
13004
13005 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13006
13007         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13008         after a multi-line inset.
13009
13010 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * paragraph.C (validate): Set NeedLyXFootnoteCode
13013
13014 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13017         and decrease-error to decrease.
13018
13019 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13020
13021         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13022         it more readable (should be equivalent)
13023
13024 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13025
13026         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13027
13028 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13031         of a cursor (row, etc.) after a character has been deleted
13032         (deleteEmptyParagraphMechanism): call the method above on _all_
13033         cursors held by the LyXText when a double space has been
13034         detected/deleted.
13035
13036 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13037
13038         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13039         pixmap.
13040         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13041
13042         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13043         background. Use greyOut() and the new show() methods to toggle between
13044         the foreground and background. Add code to remove the splash after
13045         its initial showing.
13046
13047         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13048         (create_forms): no longer call Dialogs::showSplash.
13049
13050 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * .cvsignore: add version_info.h
13053
13054 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13055
13056         * version_info.h.in: new file
13057
13058         * Makefile.am: add version_info.h.in
13059
13060         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13061         version_info.h instead of VERSION_INFO
13062
13063 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13064
13065         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13066         The ERT inset now returns string().
13067
13068 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * lyxtext.h, text.C (selectNextWord): renamed as
13071         selectNextWordToSpellcheck.
13072
13073         * text.C (selectNextWordToSpellcheck): Modified to not select
13074         words inside an ERT inset.
13075
13076 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * lyx_cb.C (MenuLayoutSave): change a bit the question
13079
13080         * sp_base.h: include <sys/types.h>
13081
13082 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13085
13086 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13087
13088         * several files: fix typos in user-visible strings
13089
13090 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * text2.C (pasteSelection): do not set the selection, since it
13093         will be cleared later. Actually, the intent was to fix the way the
13094         selection was set, but I figured rmoving the code was just as good.
13095
13096 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13097
13098         * FontLoader.C (available): Check if font is available without
13099         loading the font.
13100
13101 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13102
13103         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13104
13105 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13106
13107         * lyxrc.[Ch]: added display_graphics variable and associated code.
13108
13109 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13110
13111         * bufferparams.C (hasClassDefaults): new method. Returns true if
13112         the buffer parameters correspond to known class defaults
13113
13114 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * XFormsView.C (show): set minimum size to the main window.
13117
13118 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13119
13120         * text2.C (copySelection):
13121         (cutSelection):
13122         * lyxfind.C (LyXReplace):
13123         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13124         LyXText::selectionAsString.
13125
13126         * paragraph.C (asString): add "label" argument to the second form
13127
13128         * text2.C (selectionAsString): add "label" argument and pass it to
13129         Paragraph::asString.
13130
13131 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13132
13133         * lyx_main.C (commandLineHelp): remove version information
13134
13135 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13136
13137         * lyx_main.C: add -version commandline option
13138
13139 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * paragraph.h: make the optional constructor arg required instead.
13142         some modifications to other files because of this.
13143
13144         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13145
13146         * lyxserver.C (C_LyXComm_callback): make it static
13147
13148         * lyx_main.C (error_handler): make it static
13149
13150         * lyx_gui.C (LyX_XErrHandler): make it static
13151
13152         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13153
13154         * WorkArea.C: make the extern "C" methods static.
13155
13156         * Makefile.am (lyx_LDADD): simplify
13157
13158 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13161         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13162
13163         * LyXAction.C (init):
13164         * lyxfunc.C (dispatch): associated code removal.
13165
13166 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13167
13168         * lyxfont.h (isSymbolFont): shut off warning
13169
13170         * text.C (setHeightOfRow):
13171         (getVisibleRow): fix crash with empty paragraphs which have a
13172         bottom line
13173
13174 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13175
13176         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13177         code.
13178
13179 2001-09-04  José Matos  <jamatos@fep.up.pt>
13180         * buffer.C
13181         * buffer.h
13182         * tabular.C (docbook): rename docBook method to docbook.
13183
13184 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * Makefile.am: add dependencies to main.o.
13187
13188 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * FontLoader.C (available): Return false if !lyxrc.use_gui
13191
13192 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13193
13194         * FontInfo.C (query):
13195         * converter.C (view):
13196         * importer.C (Import):
13197         * exporter.C (Export): Can not -> cannot.
13198
13199 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * BufferView_pimpl.C: allow to create index inset even if
13202           string is empty
13203
13204 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * buffer.C (getLists): replace boost::tie code with an explicit pair
13207         as boost::tie can break some compilers.
13208
13209         * iterators.h: Added a std:: declaration to the return type of
13210         ParIterator::size.
13211
13212 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13215           case.
13216
13217 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * iterators.[Ch]: New files. Provide paragraph iterators.
13220
13221         * buffer.C (changeLanguage): Use paragraph iterators.
13222         (isMultiLingual): ditto
13223
13224         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13225
13226 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13227
13228         * FontLoader.C: Support for cmr font.
13229
13230 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13231
13232         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13233         (available): New method.
13234
13235         * FontInfo.C (getFontname): Use scalable fonts even when
13236         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13237         found.
13238
13239 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * converter.C (Formats::view): reverted! Incorrect fix.
13242
13243 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         * converter.C (Formats::view): only output the -paper option
13246         if the dvi viewer is xdvi, thereby fixing bug #233429.
13247
13248 2001-08-23  Herbert Voss  <voss@perce>
13249
13250         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13251
13252 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13253
13254         * Spacing.h (Spacing): Set space to Default on in the default
13255         constructor.
13256
13257 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * vc-backend.h (RCS::versionString): add RCS to version
13260         (CVS::versionString): add CVS to version
13261
13262         * vc-backend.C (scanMaster): do not add CVS to version.
13263         (scanMaster): do not add RCS to version
13264
13265         * lyxvc.C (versionString): new method
13266
13267         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13268
13269 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * Spacing.C (set): initialize fval
13272
13273 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13276         " or \.
13277
13278 2001-08-16  Juergen Vigna  <jug@sad.it>
13279
13280         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13281
13282 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * BufferView_pimpl.C:
13285         * figureForm.C:
13286         * lyxtext.h:
13287         * text2.C: setParagraph takes linespacing now
13288
13289 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * LyxAction.C: add internal LFUN_CITATION_INSERT
13292
13293         * LyXView.C: actually apply fix
13294
13295         * bufferlist.C: fix open non-existent file
13296
13297         * lyxfind.C: fix indentation
13298
13299         * lyxfunc.C: remove unneeded assert, fix typo
13300
13301 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13302
13303         * MenuBackend.C: use "Floatname List"
13304
13305 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13308         when converting LaTeX layout to insetERT.
13309         Generate a non-collapsed float when reading old float
13310
13311 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13314         ERT insets.
13315
13316 2001-08-13  Juergen Vigna  <jug@sad.it>
13317
13318         * text.C (fill): return 0 instead of 20 as this seems to be the more
13319         correct value.
13320
13321 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13322
13323         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13324         lyxrc.font_norm.
13325
13326 2001-08-13  Juergen Vigna  <jug@sad.it>
13327
13328         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13329         casesensitive off.
13330         (SearchBackward): comment out the unlocking of the inset_owner this
13331         should not be needed!
13332
13333 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * Many files: Remove inherit_language, and add latex_language
13336
13337         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13338         collapsible insets.
13339
13340 2001-08-10  Juergen Vigna  <jug@sad.it>
13341
13342         * text.C (prepareToPrint): fixed hfill-width in draw!
13343
13344         * BufferView2.C (selectLastWord): save the selection cursor as this
13345         now is cleared in the function LyXText::clearSelection!
13346
13347 2001-08-08  Juergen Vigna  <jug@sad.it>
13348
13349         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13350         BACKSPACE type functions.
13351
13352         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13353         is only cutted from the document but not put in the cut-buffer, where
13354         still the old stuff should be.
13355
13356         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13357
13358         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13359
13360         * tabular.C (SetWidthOfCell): fixed special case where the width
13361         was not updated!
13362         (LeftLine): handle '|' in align_special.
13363         (RightLine): ditto
13364         (LeftAlreadyDrawed): ditto
13365         (SetWidthOfCell): ditto
13366
13367 2001-08-07  Juergen Vigna  <jug@sad.it>
13368
13369         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13370
13371 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13374         * lyxlex.[hC]: ditto
13375
13376 2001-08-06  Juergen Vigna  <jug@sad.it>
13377
13378         * text.C (getVisibleRow): fix up row clearing a bit.
13379
13380 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * minibuffer.C: make sure the X server sees the changes in the input.
13383
13384 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * paragraph.C (getFont): split into...
13387         (getLabelFont): this
13388         (getLayoutFont): and this
13389         * paragraph_pimpl.C (realizeFont): calling this
13390
13391         * text2.C (getFont): split into...
13392         (getLayoutFont): this
13393         (getLabelFont): and this
13394         (realizeFont): all three calling this
13395
13396         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13397         files where used.
13398
13399 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13400
13401         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13402
13403 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13404
13405         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13406         layouts from the Quote inset insertion.
13407
13408 2001-08-03  Juergen Vigna  <jug@sad.it>
13409
13410         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13411
13412         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13413         only if status not is already CHANGED_IN_DRAW (second level).
13414
13415         * text.C (draw): don't set the need_break_row when inside an
13416         InsetText LyXText.
13417
13418 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * buffer.C (parseSingleLyXformat2Token): handle more latex
13421         conversion cases.
13422
13423         * bufferview_funcs.[hC]: change function names to
13424         begin with small char, adjust other files.
13425
13426 2001-08-02  André Pönitz <poenitz@gmx.net>
13427
13428         * lyxfunc.C:
13429         BufferView_pimpl.C: remove broken special code for math-greek
13430
13431 2001-08-02  Juergen Vigna  <jug@sad.it>
13432
13433         * BufferView_pimpl.C (update): redone this function so that we
13434         update the text again if there was a CHANGE_IN_DRAW.
13435
13436         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13437         (drawFromTo): added a new internal bool which is used by draw() and
13438         redraw() function.
13439         (general): some cursor drawing problems fixed.
13440
13441 2001-08-01  Juergen Vigna  <jug@sad.it>
13442
13443         * lyxfind.C (LyXFind): fixed
13444         (SearchForward): ditto
13445         (SearchBackward): ditto
13446
13447         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13448         spurius drawing of the cursor in the main area.
13449
13450         * text2.C (status): small fix which could lead to a segfault!
13451         (clearSelection): remove unneeded BufferView param.
13452
13453 2001-08-01  André Pönitz <poenitz@gmx.net>
13454
13455         * lyxfunc.C: small change due to changed mathed interface
13456
13457 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13460
13461 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * lyxfunc.c: fail gracefully if file doesn't exist
13464
13465         * LyXSendto.C:
13466         * buffer.C:
13467         * lyxfunc.C:
13468         * BufferView_pimpl.C: IsDirWriteable() proto changed
13469
13470         * LyXView.C: fix updateWindowTitle() to store the last title
13471
13472 2001-07-31  Juergen Vigna  <jug@sad.it>
13473
13474         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13475         the font (wrong since using of Paragraph::highestFontInRange).
13476
13477         * paragraph.C (highestFontInRange): added a default_size parameter.
13478
13479         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13480         (setHeightOfRow): reformat
13481
13482 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13483
13484         * converter.[hC] + affected files: move to (inital-char)lowercase
13485         function names.
13486
13487         * ParagraphParameters.C (ParagraphParameters): remove commented code
13488
13489         * PainterBase.[Ch]: remove commented code
13490
13491         * LaTeXFeatures.h: add "bool floats" for float.sty
13492
13493         * LaTeXFeatures.C (LaTeXFeatures): init floats
13494         (require): handle float
13495         (getPackages): do it with floats
13496
13497 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * BufferView_pimpl.C (Dispatch): improve handling of
13500         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13501
13502         * commandtags.h: #include lyxfont.h here temporarily to avoid
13503         keybinding bug.
13504
13505         * bufferlist.h: include LString.h here.
13506
13507 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * text2.C (getStringToIndex): new method.
13510
13511 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13512
13513         * *: Reduced header file dependencies all over.
13514
13515 2001-07-30  Baruch Even  <baruch@lyx.org>
13516
13517         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13518
13519 2001-07-29  Baruch Even  <baruch@lyx.org>
13520
13521         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13522
13523 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * ParameterStruct.h (endif): add a default constructor to make
13526         sure that all variables is initialized.
13527
13528         * ParagraphParameters.C (ParagraphParameters): adjust
13529
13530 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13533         index; also, check that there is something to index, and that it
13534         does not span over several paragraphs.
13535         (doubleClick): use WHOLE_WORD_STRICT for double click.
13536
13537         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13538
13539         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13540         scheme.
13541
13542 2001-07-26  Baruch Even  <baruch@lyx.org>
13543
13544         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13545         an InsetFig figure, backwards compatible reading of old figure code.
13546
13547 2001-07-27  Juergen Vigna  <jug@sad.it>
13548
13549         * text2.C: font.realize function adaption.
13550
13551         * text.C (draw): add a warnings lyxerr text if needed.
13552
13553         * layout.C: font.realize function adaption.
13554
13555         * language.C: add inherit_language and implement it's handlings
13556
13557         * bufferview_funcs.C (StyleReset): remove language parameter from
13558         font creation (should be language_inherit now).
13559
13560         * bufferparams.C (writeFile): handle ignore_language.
13561
13562         * paragraph.C (getFontSettings): the language has to be resolved
13563         otherwise we have problems in LyXFont!
13564
13565         * lyxfont.C (lyxWriteChanges): added document_language parameter
13566         (update): removed unneeded language parameter
13567
13568         * paragraph.C (validate): fixed wrong output of color-package when
13569         using interface colors for certain fonts in certain environments,
13570         which should not seen as that on the final output.
13571
13572 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * BufferView_pimpl.C:
13575         * Thesaurus.h:
13576         * Thesaurus.C:
13577         * Makefile.am:
13578         * commandtags.h:
13579         * LyXAction.C: add thesaurus support
13580
13581         * lyxfind.h:
13582         * lyxfind.C: add "once" parameter, for thesaurus, to not
13583           move to the next match
13584
13585 2001-07-26  Juergen Vigna  <jug@sad.it>
13586
13587         * lyxfont.C (realize): honor ignore_language too!
13588         (resolved): ditto.
13589
13590         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13591
13592         * text.C (draw): one place more for ignore_language to not draw
13593         itself!
13594
13595 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13598
13599 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13602         the minipage conversion problem.
13603
13604 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13607         insert an inset.
13608
13609 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * BufferView.h: don't forward declare WorkArea
13612
13613         * BufferView.C: don't include WorkArea.h
13614
13615 2001-07-25  André Pönitz <poenitz@gmx.net>
13616
13617         * commandtags.h:
13618         * LyXAction.C:
13619         * lyxfunc.C:  new LFUN 'math-space'
13620
13621         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13622
13623 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * text2.C (toggleInset): call open/close
13626
13627 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * lyxfunc.C (dispatch): add debug for the disabled case
13630
13631         * font.C (buttonText): make similar to rectText
13632
13633         * buffer.C (readInset): comment out parsing of insetlist and
13634         insttheorem
13635
13636         * PainterBase.C (rectText): small correction
13637
13638         * BufferView_pimpl.C: comment out insettheorem and insetlist
13639         * LyXAction.C: ditto
13640         * commandtags.h: ditto
13641
13642 2001-07-24  Juergen Vigna  <jug@sad.it>
13643
13644         * text.C (draw): honor the ignore_language.
13645
13646         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13647
13648 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13649
13650         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13651         char inset.
13652
13653 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13654
13655         * lyxtext.h: remove unused (and unimplemented) methods
13656
13657 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13658
13659         * text.C (getVisibleRow): honor background color
13660
13661         * PainterBase.h:
13662         * Painter.h: remove default color argument for fillRectangle
13663
13664         * text.C (backgroundColor): new method
13665
13666 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * text.C (getVisibleRow): adjust
13669
13670         * font.[Ch] (rectText): new method, metrics
13671         (buttonText): new method, metrics
13672
13673         * PainterBase.[hC]: make rectText and buttonText always draw and take
13674         fewer paramteres.
13675
13676 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13677
13678         * ToolbarDefaults.C (read):
13679         * MenuBackend.C (read): allow escaping in all strings
13680
13681         * BufferView_pimpl.C (insertAndEditInset): new method.
13682         (Dispatch): use insertAndEditInset whenever appropriate.
13683
13684         * BufferView_pimpl.C (insertNote): removed
13685
13686         * BufferView_pimpl.C (smartQuote): new method, moved from
13687         BufferView; if an insetquote cannot be inserted, insert a '"'
13688         character instead.
13689
13690         * BufferView2.C: remove insertCorrectQuote();
13691
13692         * lyxfunc.C (getStatus): Add support for all remaingin
13693         inset-insert lfuns.
13694
13695         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13696
13697         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13698         command (necessary to pass " as parameter of self-insert.
13699
13700         * text.C (selectWordWhenUnderCursor):
13701         (selectWord): add word_location parameter
13702         (selectWordWhenUnderCursor): same + remove special code for word
13703         boundary.
13704         (selectNextWord): use kind() to guess type of insetspecialchar,
13705         not latex().
13706
13707         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13708         (insertErtContents): create ert insets as collapsed.
13709         (readInset): better compatibility code for Info inset.
13710
13711 2001-07-20  Juergen Vigna  <jug@sad.it>
13712
13713         * lyxfunc.C (dispatch): use always LyXFind now!
13714
13715         * text2.C (init): add a reinit flag so that the LyXText can be
13716         reinited instead of deleted and reallocated (used in InsetText).
13717
13718         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13719
13720         * text.C: ditto
13721
13722         * text2.C: ditto
13723
13724 2001-07-18  Juergen Vigna  <jug@sad.it>
13725
13726         * text.C (selectNextWord): handle insets inside inset by calling
13727         always the bv->text functions so that we can go up the_locking_inset!
13728
13729         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13730         in strange locations when inside an inset!
13731
13732         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13733         handling to include insets.
13734
13735         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13736
13737 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * LyXAction.C (init):
13740         * commandtags.h:
13741         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13742         LIGATURE_BREAK, since the name is so stupid.
13743
13744 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13745
13746         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13747         InsetInfos.
13748
13749         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13750
13751         * sp_form.[Ch]: remove.
13752
13753         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13754
13755         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13756         InsetInfo.
13757
13758         * src/buffer.C (readInset): ditto.
13759
13760 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13761
13762         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13763         menuSeparator(), endOfSentenceDot(), ldots() and
13764         hyphenationPoint(), which are therefore removed.
13765         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13766
13767         * LyXAction.C (init):
13768         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13769
13770         * paragraph.C (getWord): removed.
13771
13772         * BufferView_pimpl.C (Dispatch): use last word or selection for
13773         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13774
13775         * lyx_main.C (queryUserLyXDir): do not ask before creating
13776         user_dir, except if it has been named explicitely.
13777
13778 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13781         a document of zero size.
13782
13783 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13784
13785         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13786         approriately in the c-tor and in require().
13787         (getPackages): output the appropriate LaTeX for natbib support.
13788
13789         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13790         variables "use_natbib" and "use_numerical_citations" when reading the
13791         LyX file.
13792         (readInset): read the various natbib cite commands.
13793         (validate): white-space change.
13794
13795         * bufferparams.[Ch]: new variables "bool use_natbib" and
13796         "bool use_numerical_citations".
13797         (writeFile): output them in the LyX file.
13798
13799 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13800
13801         * lyxfunc.C (getStatus): add support for all the inset insertion
13802         commands.
13803
13804         * text2.C (insertInset):
13805         * paragraph.C (insetAllowed):
13806         * BufferView_pimpl.C (insertInset): update to take in account the
13807         renaming of insertInsetAllowed
13808
13809         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13810
13811         * text2.C (getInset): new method. returns inset at cursor position.
13812
13813         * BufferView_pimpl.C (Dispatch): changes because of this.
13814
13815         * LyXAction.C (init): rename open-stuff to inset-toggle.
13816
13817         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13818
13819         * text2.C (toggleInset): renamed from openStuff; use
13820         Inset::open().
13821
13822 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13823
13824         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13825
13826         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13827
13828 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13829
13830         * buffer.C (readLyXformat2): Add filename to the error dialog
13831
13832 2001-07-18  Juergen Vigna  <jug@sad.it>
13833
13834         * tabular.C (GetCellNumber): put an assert here instead of the check!
13835
13836 2001-07-17  Juergen Vigna  <jug@sad.it>
13837
13838         * BufferView_pimpl.C (toggleSelection): adapted too.
13839
13840         * text.C (selectNextWord): adapted for use with insets.
13841         (selectSelectedWord): ditto
13842
13843 2001-07-17  Juergen Vigna  <jug@sad.it>
13844
13845         * sp_spell.C (PSpell): fix initialitation order.
13846
13847 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13848
13849         * paragraph.C: spacing
13850
13851 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13852
13853         * sp_spell.C: repair language selection for pspell
13854
13855 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * lyxfunc.h: change more methods to begin with lower char.
13858
13859 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13860
13861         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13862         for unknown layouts.
13863
13864 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13865
13866         * buffer.C (readLyXformat2): Generate an error dialog if there are
13867         unknown layouts.
13868
13869 2001-07-16  Juergen Vigna  <jug@sad.it>
13870
13871         * sp_spell.C: always compile ISpell part.
13872
13873         * lyxrc.C: added use_pspell entry and it's handling.
13874
13875 2001-07-13  Juergen Vigna  <jug@sad.it>
13876
13877         * sp_spell.C: removed double includes.
13878
13879 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         Consistent use of Lsstream.h:
13882         * Lsstream.h: added using std::stringstream for consistencies sake.
13883
13884         * buffer.C: removed using std::stringstream
13885
13886         * lyxfont.C (stateText):
13887         * paragraph.C (asString):
13888         * text.C (selectNextWord, selectSelectedWord):
13889         * text2.C (setCounter):
13890         * vspace.C (asString, asLatexString):
13891         std::ostringstream -> ostringstream.
13892
13893 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13894
13895         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13896         * commandtags.h: add LFUN_HELP_ABOUTLYX
13897         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13898
13899 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13900
13901         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13902         cursorToggle()
13903         * lyx_gui_misc.C: remove spellchecker
13904         * lyxfunc.C: showSpellchecker
13905         * sp_base.h: added
13906         * sp_ispell.h: added
13907         * sp_pspell.h: added
13908         * sp_spell.C: added
13909         * sp_form.[Ch]: removed
13910         * spellchecker.[Ch]: removed
13911
13912 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13913
13914         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13915         is set.
13916         (simpleTeXSpecialChars): Simply print the input character without
13917         any special translation if pass_thru is set.
13918
13919         * layout.h: Added bool pass_thru to layout class for being able to
13920         implement pass through of a paragraph for Literate Programming.
13921
13922         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13923         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13924         * layout.C (Read): add "passthru" to list of layout tags and add
13925         code to set the pass_thru boolean when it is read.
13926
13927 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * trans_decl.h: remove allowed from KmodInfo
13930
13931         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13932         remove allowed code
13933         (Load): adjust
13934
13935         * paragraph_pimpl.C (erase): use boost::prior
13936
13937         * Painter.C (text): use data() instead of c_str() when length is
13938         also provided.
13939         * WorkArea.C (putClipboard): ditto
13940         * font.h (width): ditto
13941
13942         * BufferView2.C: use it-> instead of (*it). for iterators
13943         * texrow.C: ditto
13944         * paragraph_pimpl.C: ditto
13945         * paragraph.C: ditto
13946         * minibuffer.C: ditto
13947         * language.C: ditto
13948         * kbmap.C: ditto
13949         * encoding.C: ditto
13950         * counters.C: ditto
13951         * converter.C: ditto
13952         * chset.C: ditto
13953         * Variables.C: ditto
13954         * TextCache.C: ditto
13955         * MenuBackend.C: ditto
13956         * LyXAction.C: ditto
13957         * LColor.C: ditto
13958         * FloatList.C: ditto
13959         * DepTable.C: ditto
13960         * ColorHandler.C (LyXColorHandler): ditto
13961
13962 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13965
13966         * text2.C (openStuff): reintroduce this method (which had been
13967         nuked in NEW_INSETS frenzy).
13968
13969         * lyxfunc.C (Dispatch): when an action has not been handled, use
13970         its name in the error message, not its number.
13971
13972         * paragraph.C (inInset): change method name to begin with lowercase.
13973
13974         * undo_funcs.C:
13975         * text2.C: updates because of this.
13976
13977 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13978
13979         * ToolbarDefaults.C (add): add spaces in error message
13980
13981 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13984         (readLyXformat2): rename return_par to first_par, use lyxlex's
13985         pushToken and remove the manual push handling.
13986         (parseSingleLyXformat2Token): add another ert comp. variable:
13987         in_tabular, rename return_par to first_par. handle newlines better
13988
13989 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13990
13991         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13992
13993 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * text2.C (getParFromID): removed
13996
13997         * buffer.C (getParFromID): new method moved form lyxtext.
13998         * BufferView2.C (insertErrors): adjust
13999         (setCursorFromRow): adjust
14000         * BufferView_pimpl.C (restorePosition): adjust
14001         * lyxfunc.C (Dispatch): adjust
14002         * undo_funcs.C (textUndo): adjust
14003         (textRedo): adjust
14004         (textHandleUndo): adjust
14005         (textHandleUndo): adjust
14006
14007 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14008
14009         * buffer.C: up' the LYX_FORMAT
14010
14011         * lyxfont.h: turn NO_LATEX on as default
14012
14013         * buffer.C (insertErtContents): new methods of tex style compability.
14014         (parseSingleLyXformat2Token): use it several places.
14015         * tabular.C (OldFormatRead): and here
14016
14017 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * text2.C: remove some commented code.
14020         reindent file.
14021
14022         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14023         * trans.C: changes because of the above.
14024
14025 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * text2.C (setCounter): Fix counters bug with bibliography layout.
14028
14029 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14032         own member functions
14033         (simpleTeXSpecialChars): ditto
14034
14035 2001-07-06  Juergen Vigna  <jug@sad.it>
14036
14037         * a lot of files: changed the access to LyXText::status and the
14038         call of undo-functions.
14039
14040         * undo.[Ch]: added a inset_id to the undo informations.
14041
14042         * undo_funcs.[Ch]: added and moved here all undo functions.
14043
14044         * lyxtext.h: give the status enum a weight, made status_ a private
14045         variable and made accessor functions for it, removed the whole bunch
14046         of undo-functions as they are now in their own file, make some
14047         functions publically available. Added function ownerParagraph with
14048         int parameter.
14049
14050         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14051         made InInset() a const function, added getParFromID() function.
14052
14053         * buffer.[Ch]: added const version for inset_iterator functions,
14054         added getInsetFromID() function.
14055
14056         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14057         changed undo functions for new version.
14058
14059 2001-07-05  Juergen Vigna  <jug@sad.it>
14060
14061         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14062         unknow mechanism does not call the proper constructor but only this
14063         one also if I request the other!?
14064
14065 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14068
14069         * text2.C (LyXText): use initialization lists.
14070
14071         * lyxtext.h (Selection): initialize set_ and mark_
14072         (init): remove method
14073
14074 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14077
14078 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * screen.[Ch]: change method names to begin with lowercase
14081
14082         * BufferView_pimpl.C (updateScrollbar): simplify further and
14083         hopefully make it a bit faster.
14084
14085 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14088         calling directly xforms functions.
14089
14090         * Painter.C (Painter):
14091         * lyx_cb.C (MenuWrite):
14092         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14093         fl_display.
14094
14095         * lyx_gui.C: remove bogus guiruntime extern declaration.
14096
14097 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14098
14099         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14100         in NEW_INSETS
14101         (redoDrawingOfParagraph): ditto
14102         (redoParagraphs): ditto
14103         (cutSelection): don't create a object for CutAndPaste use the
14104         static method directly
14105         (pasteSelection): ditto
14106
14107         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14108         LyXview (+ rename)
14109
14110 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * modifications to some other files because of this.
14113
14114         * Makefile.am (lyx_SOURCES): add XFormsView
14115
14116         * XFormsView.[Ch]: new files
14117
14118         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14119         the main window. Move the gui dependent stuff to XFormsView
14120
14121 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * tabular.C (GetCellInset): update cur_cell also in the row/col
14124         version of this function.
14125
14126         * lyxfunc.C: no need to include figure_form.h here.
14127
14128         * FontLoader.h:
14129         * lyxfunc.h:
14130         * lyxscreen.h:
14131         * text2.C:
14132         * lyxvc.C: no need to include forms.h here.
14133
14134 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14137
14138         * lyxfunc.C (Dispatch):
14139         * Spacing.C (set):
14140         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14141         constructor argument.
14142
14143 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * paragraph.C (Paragraph): dont't clear, and just set layout.
14146         (makeSameLayout): use params's copy contructor.
14147
14148         * ParagraphParameters.[Ch] (makeSame): delete method
14149
14150 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * Variables.[Ch]: fix indentation, rename set to isSet
14153
14154 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * lyxfunc.C (Dispatch): fix typo
14157
14158 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14161         upper_bound.
14162
14163         * bufferlist.C: include assert.h for emergencyWrite().
14164
14165 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14166
14167         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14168           give up at last (bug #425202) !
14169
14170 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * lyx_gui_misc.C:
14173         * sp_form.h:
14174         * sp_form.C:
14175         * spellchecker.h:
14176         * spellchecker.C: strip spellchecker options and bring up
14177           preferences tab instead
14178
14179 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14182         the istringstream constructor
14183
14184 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14185
14186         * paragraph.C (getLayout): fix return value
14187
14188         * paragraph.h: do not declare getLayout as inline.
14189
14190         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14191
14192 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * lyxcursor.h (operator<): new func
14195         (operator>): new func
14196         (operator>=): new func
14197         (operator<=): new func
14198
14199         * text.C (changeCase): use selection.start and selection.end
14200         (changeRegionCase): require from to be <= to. Require par to be a
14201         valid paragraph.
14202
14203         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14204
14205 2001-06-27  Juergen Vigna  <jug@sad.it>
14206
14207         * text.C (cursorLeftOneWord): changed to return the cursor and added
14208         overlay with BufferView * parameter which calls this one.
14209         (getWord): added
14210         (selectWord): use new getWord function.
14211         (changeCase): renamed from changeWordCase as and extended to work
14212         also on selections.
14213
14214         * lyxtext.h: added enum word_location
14215
14216         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14217         changeCase as this operates now also on selections.
14218
14219 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14220
14221         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14222
14223         * many files: send debug output to Debug::INFO instead of
14224         Debug::ANY.
14225
14226         * converter.C (View):
14227         (Convert):
14228         (Move): send debug output to Debug::FILES instead of console.
14229
14230 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14231
14232         * lyxfunc.C (getStatus): use func_status
14233
14234         * func_status.h: new header, describing the results of
14235         LyXFunc::getStatus;
14236
14237         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14238         LFUN_MATH_HALIGN.
14239
14240 2001-06-25  The LyX Project  <jug@sad.it>
14241
14242         * buffer.C (sgmlOpenTag):
14243         (sgmlCloseTag):
14244         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14245
14246 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * text2.C: remove some dead code
14249
14250         * tabular.C (GetCellInset): store the last cell checked (gotten)
14251
14252         * tabular.h: add the helper for the speedup
14253
14254         * lyxtext.h: remove some dead code
14255
14256 2001-06-26  The LyX Project  <Asger>
14257
14258         * paragraph.C: Change export to LaTeX of alignment to
14259         \begin{center} and family for better roundtrip work with reLyX.
14260
14261         * Tune the math drawing a bit.
14262
14263 2001-06-25  The LyX Project  <Asger>
14264
14265         * LColor.C (LColor): New color for math background. New color
14266         for buttons.
14267
14268 2001-06-25  The LyX Project  <jug@sad.it>
14269
14270         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14271
14272         * lyxfunc.C (Open):
14273         * bufferlist.C (newFile): do not restrict to files ending with
14274         .lyx
14275
14276         * BufferView_pimpl.C (MenuInsertLyXFile):
14277
14278 2001-06-24  The LyX Project  <jug@sad.it>
14279
14280         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14281         of compare_no_case
14282
14283 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14284
14285         * lyxtext.h: rename most methods to begin with a small char.
14286         Lots of changes because of this.
14287
14288         * paragraph.C (Paragraph): do not call fitToSize
14289         (erase): call Pimpl::erase
14290         (insertChar): call Pimpl::insertChar
14291         (insertInset): call Pipl::insertInset
14292         (breakParagraph): do not call fitToSize
14293         (breakParagraphConservative): do not call fitToSize
14294         (fitToSize): remove method
14295
14296         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14297
14298 2001-06-24  The LyX Project  <Asger>
14299
14300         * Fix Qt compilation^2
14301
14302 2001-06-24  The LyX Project  <jug@sad.it>
14303
14304         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14305         depthHook(getDepth()-1).
14306
14307         * paragraph.h:
14308         * ParagraphParameters.h:
14309         * ParameterStruct.h: change type of depth to unsigned int ==
14310         depth_type. Many adaptations to other files before of that.
14311
14312 2001-06-24  The LyX Project  <Asger>
14313
14314         * Fix Qt compilation.
14315
14316 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * paragraph.h: renamed several methods to begin with small letter.
14319         several changes to many parts of the code because of this.
14320
14321 2001-06-23  The LyX Project  <jug@sad.it>
14322
14323         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14324         rewritten to discard all double spaces when KeepEmpty is off
14325         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14326         to only handle newlines but not fiddle with spaces and friends.
14327
14328         * lyxfunc.C (MenuNew): when doing 'new from template', use
14329         template_path as default directory
14330
14331 2001-06-23  The LyX Project  <Asger>
14332
14333         * Clean-up of header file includes all over
14334         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14335
14336 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14337
14338         * paragraph.h: renamed from lyxparagraph.h
14339
14340 2001-06-23  Asger  <lyx@violet.home.sad.it>
14341
14342         * Buffer.h: Removed Buffer::resize
14343         * BufferList.h: Removed BufferList::resize
14344         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14345         the document lazily when we change the width, or the font settings.
14346
14347 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14350
14351 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * buffer.h: remove out of date comment
14354
14355 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * lyxscreen.h:
14358         * screen.C: fix "theoretical" GC leak
14359
14360 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14361
14362         * LaTeX.C (scanAuxFile):
14363         (deplog): remove trailing \r when reading stream (useful under
14364         win32)
14365
14366 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14367
14368         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14369         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14370         and BufferView::theLockingInset(Inset*), so should use them and not
14371         access bv_->text->the_locking_inset directly.
14372
14373         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14374
14375 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * Makefile.am:
14378         * tex-defs.h: remove old unused file
14379
14380 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * BufferView_pimpl.C: fix typo, remove minibuffer message
14383           when buffer has loaded
14384
14385 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14386
14387         * lyxfunc.C (Dispatch): use stringstream
14388         (MenuNew): use stringstream
14389         (Open): use stringstream
14390
14391         * importer.C (Import): use stringstream
14392
14393         * bufferview_funcs.C (CurrentState): use stringstream
14394
14395         * LaTeX.C (run): use stringstream
14396
14397         * BufferView_pimpl.C (savePosition): use stringstream
14398         (restorePosition): use stringstream
14399         (MenuInsertLyXFile): use stringstream
14400
14401 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14402
14403         * BufferView.C:
14404         * Bullet.C:
14405         * ColorHandler.C:
14406         * FontInfo.C:
14407         * FontLoader.C:
14408         * LColor.C:
14409         * LaTeXFeatures.C:
14410         * Painter.C:
14411         * gettext.C:
14412         * lyx_gui_misc.C:
14413         * lyxserver.C:
14414         * vspace.C: removed // -*- C++ -*- as first line.
14415
14416         * lyxfind.h:
14417         * version.h: added // -*- C++ -*- as first line.
14418
14419 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14422
14423         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14424         of string
14425
14426 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14427
14428         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14429         of floats.
14430
14431 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * gettext.C: include LString.h even when --disable-nls is on.
14434
14435 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14436
14437         * converter.h (Get): changed argument type from int to
14438         FormatList::size_type to avoid unnecessary conversion.
14439
14440         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14441         before using it.
14442
14443 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14444
14445         * gettext.h: include LString.h even when --disable-nls is on.
14446
14447 2001-06-07  Juergen Vigna  <jug@sad.it>
14448
14449         * text.C (BreakAgain): subst spaces with tabs.
14450
14451         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14452         (resizeInsetsLyXText): set force on resizeLyXText.
14453
14454 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * gettext.h (gettext_init):
14457         (locale_init): use a real definition instead of a macro
14458
14459 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * Bufferview_pimpl.C:
14462         * LColor.h:
14463         * LColor.C: further lcolor tidies
14464
14465 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * BufferView_pimpl.C (updateScrollbar): simplify.
14468
14469         * BufferView2.C: don't include insets/insetinfo.h, change
14470         prototype for insertInset and call the Pimpl version. let
14471         updateInset call Pimpl version.
14472
14473         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14474         gotoInset to BufferView::Pimpl
14475
14476 2001-06-01  Juergen Vigna  <jug@sad.it>
14477
14478         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14479         inside a LockingInset (is the update needed at all?).
14480
14481 2001-05-31  Juergen Vigna  <jug@sad.it>
14482
14483         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14484         here not the old one otherwise how should we compare it afterwards
14485         if it's the same!
14486
14487 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * lyxfont.C:
14490         * tabular.C:
14491         * tabular-old.C:
14492         * FontInfo.C: bring C functions into global namespace when
14493         necessary
14494
14495 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * LString.h: make sure config.h has been loaded before LString.h.
14498
14499         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14500         (one for each char read by EatLine!).
14501
14502         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14503         variables.
14504
14505 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14506
14507         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14508         to the same as the par we break from
14509
14510 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14511
14512         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14513
14514         * MenuBackend.C (expand): also create menu entries for wide
14515         versions of the floats.
14516
14517         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14518
14519         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14520
14521         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14522         frontends/Makefile.am
14523
14524         * text2.C: adjust
14525         * text.C: adjust
14526
14527
14528         * tabular.C (getTokenValue): add std::
14529
14530         * tabular-old.C (getTokenValue): add std::
14531         (getTokenValue): ditto
14532         (getTokenValue): ditto
14533
14534         * screen.C (ToggleSelection): adjust
14535
14536         * lyxtext.h: put selection cursors inside a Selection struct.
14537
14538         * lyxfunc.C (moveCursorUpdate): adjust
14539
14540         * lyxfont.C (latexWriteStartChanges): add std::
14541
14542         * lyxfind.C: adjust
14543
14544         * font.h: delete with(char const *, LyXFont const &)
14545
14546         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14547
14548         * FontInfo.C (getFontname): add std::
14549
14550         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14551         (workAreaButtonPress): adjust
14552         (tripleClick): adjust
14553         (update): adjust
14554         (moveCursorUpdate): adjust
14555         (Dispatch): adjust
14556
14557         * BufferView2.C (gotoInset): adjust
14558
14559 2001-05-30  Juergen Vigna  <jug@sad.it>
14560
14561         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14562         to check pspell I add this as default as I now have new pspell
14563         libraries and they seem to use this.
14564
14565 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14566
14567         * text2.C (CutSelection): make the cursor valid before the call to
14568         ClearSelection.
14569
14570 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14573         relied on 0 terminated strings and other horrors. Bug found due to
14574         the new assert in lyxstring!
14575
14576         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14577         KP_ keys.
14578
14579 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14582         to latinkeys.bind.
14583
14584         * lyxfunc.C (processKeySym): change method of getting to the
14585         self-insert char.
14586
14587         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14588         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14589         * BufferView_pimpl.[Ch]: here as private methods.
14590
14591 2001-05-28  Juergen Vigna  <jug@sad.it>
14592
14593         * text.C (SetHeightOfRow): added the update() call again as it is
14594         needed to initialize inset dimensions!
14595
14596 2001-05-16  Juergen Vigna  <jug@sad.it>
14597
14598         * text2.C (SetCharFont): Add new function with BufferView * and
14599         bool toggleall parameters for setting insets internal fonts.
14600         (SetFont): Freeze the undo as we may change fonts in Insets and
14601         all this change should be inside only one Undo!
14602
14603         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14604         setting font's in insets as for them we have the SetFont function!
14605
14606 2001-05-15  Juergen Vigna  <jug@sad.it>
14607
14608         * text2.C (ClearSelection): to be sure we REALLY don't have any
14609         selection anymore!
14610
14611         * tabular.C (TeXCellPreamble): fixed the left border problem for
14612         multicolumn cells.
14613
14614 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14615
14616         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14617         dependancy file
14618
14619 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14622         LFUN_BREAKPARAGRAPH.
14623
14624         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14625         help test to "internal only", similar for LFUN_INSERT_URL
14626
14627         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14628         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14629         auto_region_delete and deadkeys.
14630
14631 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14632
14633         * LColor.h:
14634         * LColor.C: remove some dead entries, tidy a little
14635
14636 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14637
14638         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14639         commented code.
14640         (Dispatch): implement LFUN_ESCAPE
14641
14642         * commandtags.h: add LFUN_ESCAPE
14643
14644         * LyXAction.C (init): add entry for LFUN_ESCAPE
14645
14646         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14647         Remove commented code.
14648         (insertNote): moved here
14649         (open_new_inset): moved here
14650
14651         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14652         BufferView_pimpl
14653
14654 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * kbmap.C (findbinding): clean it up and make it work correctly.
14657
14658         * lyx_main.C (init): do not pass argc and argv as parameters
14659
14660 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14661
14662         * buffer.C: fix path for OS/2 & Win32
14663
14664         * lyx_gui.C:
14665         * lyx_main:
14666         * lyx_main.C: Added os:: class.
14667
14668         * os2_defines.h: update
14669
14670 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14673         better by trying again with reduced state.
14674
14675 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * lyxrc.C (read): print error about invalid key sequence only when
14678         debugging (because not all latinX keysyms are known to some X
14679         servers)
14680
14681         * kbsequence.C (getiso): add a few std:: qualifiers
14682         (getiso): comment out extra return statement.
14683
14684 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14687         handling.
14688         (Dispatch): enhance the accent inset a bit. (not perfect)
14689
14690 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14693
14694 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * bufferlist.C (emergencyWrite): fix assert() call
14697
14698 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14699
14700         * text.C (InsertChar): Added trivial patch to only send the "you
14701         can not do multiple spaces this way" message once during a
14702         session.
14703
14704 2001-05-08  Baruch Even  <baruch@lyx.org>
14705
14706         * Makefile.am: Changed order of libraries to get LyX to link properly
14707         with the gnome frontend.
14708
14709 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14710
14711         * LaTeXFeatures.h: add a std:: qualifier
14712
14713 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * paragraph.C (String): use stringstream
14716
14717 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14718
14719         * paragraph.C (writeFile): remove footflag arg
14720
14721         * buffer.C (makeLaTeXFile): use stringstream
14722         (latexParagraphs): remove footnot gurba
14723
14724         * LaTeXFeatures.C (getPackages): use stringstream
14725         (getMacros): likewise
14726         (getTClassPreamble): likewise
14727         (getFloatDefinitions): new method
14728
14729         * paragraph.C (writeFile): reindent
14730         (Erase): reindent
14731
14732         * WorkArea.h: revert the xpos + etc changes.
14733
14734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14735
14736         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14737
14738         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14739         (pasteSelection): likewise
14740         * text2.C (CreateUndo): likewise
14741
14742 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14743
14744         * minibuffer.C (peek_event): temporarily reduce the functionality
14745         of the minibuffer (to allow args on lfuns)
14746
14747         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14748         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14749
14750         * buffer.C (readInset): add compability reading of old float
14751         lists, add reading of new style float list.
14752         (readInset): avoid reevaluation of inscmd.getCmdName()
14753         (getLists): reindent
14754
14755         * MenuBackend.C (MenuItem): implement parsing of
14756         md_floatlistinsert and md_floatinsert.
14757         (expand::LastFiles): move initalizaton of iterators out of loop,
14758         avoid reevaluation.
14759         (expand::Documents): introduce typdedef vector<string> Strings,
14760         and use it.
14761         (expand::ExportFormats): introduce typedef vector<Format const *>
14762         Formats, and use it.
14763         (expand): implement FloatListInsert and FloatInsert.
14764
14765         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14766         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14767         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14768
14769         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14770         handling.
14771         (Dispatch::LFUN_FLOAT_LIST): implement
14772
14773 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14774
14775         * LaTeX.C (run): Fix problem with --export code.
14776
14777 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14778
14779         * BufferView.[Ch] (workarea): removed.
14780         (getClipboard) new method; wrapper for workarea()->getClipboard()
14781
14782         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14783         bug.
14784
14785         * WorkArea.h (width, height, xpos, ypos): These methods all
14786         returned the dimensions of the work_area sub-area of WorkArea,
14787         resulting in a position error if the WorkArea were resized. Now
14788         return the dimensions of the entire WorkArea.
14789
14790         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14791
14792 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * LaTeX.C (deplog): correct the syntax of regex reg1
14795
14796 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14797
14798         * undo.C: remove !NEW_INSETS cruft
14799
14800 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * text2.C: remove !NEW_INSETS cruft
14803
14804         * text.C: remove !NEW_INSETS cruft
14805
14806         * tabular.C: remove !NEW_INSETS cruft
14807
14808         * spellchecker.C: remove !NEW_INSETS cruft
14809
14810         * lyxtext.h: remove !NEW_INSETS cruft
14811
14812         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14813
14814         * lyxfunc.C: remove !NEW_INSETS cruft
14815
14816         * lyxfind.C: remove !NEW_INSETS cruft
14817
14818         * lyx_cb.C: remove !NEW_INSETS cruft
14819
14820         * figureForm.C: remove  !NEW_INSETS cruft
14821
14822         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14823
14824         * buffer.[Ch]: remove !NEW_INSETS cruft
14825
14826         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14827
14828         * CutAndPaste.C: remove !NEW_INSETS cruft
14829
14830         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14831
14832         * BufferView2.C: remove !NEW_INSETS cruft
14833
14834         * BufferView.h: remove !NEW_INSETS cruft
14835
14836 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14837
14838         * Lsstream.h: include LString.h before the sstream headers to
14839         fix problem with gcc 2.95.3 and lyxstring
14840
14841 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * lyx_main.C: add using directives when needed for C functions
14844         declared in std:: namespace.
14845
14846 2001-04-27  Juergen Vigna  <jug@sad.it>
14847
14848         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14849         (SetHeightOfRow): comment out the update call should not be needed!
14850
14851 2001-04-13  Juergen Vigna  <jug@sad.it>
14852
14853         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14854         (LyXTabular): tried to minimize operator= operations (and realized
14855         hopfully Lars wish).
14856
14857 2001-04-27  Juergen Vigna  <jug@sad.it>
14858
14859         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14860
14861 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14864
14865         * buffer.C (readInset): hack to make listof algorithm work
14866
14867         * BufferView_pimpl.C: hack to make listof algorithm work
14868
14869 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * LyXAction.C: removed all !NEW_INSETS cruft
14872         (init): moved lfun_item in method
14873
14874         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14875
14876 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14877
14878         * BufferView2.C (theLockingInset): white space.
14879
14880 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14881
14882         * minibuffer.C: include <iostream>
14883
14884         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14885
14886         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14887
14888         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14889
14890         * text.[Ch] (TransposeChars): new method
14891
14892 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * call message directly through LyXView instead of through LyXFunc
14895         * BufferView2.C: adjust
14896         * BufferView_pimpl.C: adjust
14897         * FontLoader.C: adjust
14898         * buffer.C: adjust
14899         * bufferview_funcs.C: adjust
14900         * converter.C: adjust
14901         * figureForm.C: adjust
14902         * importer.C: adjust
14903         * lyx_cb.C: adjust
14904         * lyx_gui_misc.C: adjust
14905         * lyxfunc.C: adjust
14906         * lyxvc.C: adjust
14907         * text2.C: adjust
14908         + more files in subdirs
14909
14910         * lyxparagraph.h (size): move up int file
14911         (GetLayout): ditto
14912
14913         * adjust all uses of Assert to lyx::Assert.
14914
14915         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14916         lyxfunctional in namespace lyx
14917         * layout.C (hasLayout): ditto
14918         (GetLayout): ditto
14919         (GetLayout): ditto
14920         (delete_layout): ditto
14921         (NumberOfClass): ditto
14922         * converter.C (GetFormat): ditto
14923         (GetNumber): ditto
14924         (Add): ditto
14925         (Delete): ditto
14926         (SetViewer): ditto
14927         * bufferlist.C (getFileNames): ditto
14928         (emergencyWriteAll): ditto
14929         (exists): ditto
14930         (getBuffer): ditto
14931         * MenuBackend.C (hasSubmenu): ditto
14932         (hasMenu): ditto
14933         (getMenu): ditto
14934         * BufferView_pimpl.C (getInsetByCode): ditto
14935
14936 2001-04-18  Juergen Vigna  <jug@sad.it>
14937
14938         * vspace.C (asLatexString): fixed the 100% problem.
14939
14940 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14941
14942         * lyxfunc.C (Dispatch):
14943         * minibuffer.C:
14944         * minibuffer.h: add a few std:: qualifiers
14945
14946 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14947
14948         * minibuffer.[Ch]: reimplement so that commands is initiated and
14949         run from lyxfunc, simplified som handling, and made the completion
14950         and history code for complete. wip.
14951
14952         * lyxfunc.C (processKeySym): call message
14953         (miniDispatch): new temporary method
14954         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14955         (LFUN_MESSAGE): implement
14956         (LFUN_MESSAGE_PUSH): implement
14957         (LFUN_MESSAGE_POP): implement
14958         (initMiniBuffer): the initial/defualt minibuffer message.
14959
14960         * lyxfont.[Ch]: inline some more getters
14961
14962         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14963
14964         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14965
14966         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14967         (AutoSave): use LFUN_MESSAGE
14968         (Reconfigure): ditto
14969
14970         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14971
14972         * figureForm.C: use LFUN_MESSAGE
14973
14974         * converter.C (runLaTeX): use LFUN_MESSAGE
14975
14976         * bufferview_funcs.C: use LFUN_MESSAGE
14977         (Melt): ditto
14978         (changeDepth): ditto
14979
14980         * bufferparams.h: use boost::
14981
14982         * bufferlist.h: inherit privately from noncopyable
14983
14984         * bufferlist.C (loadLyXFile): remove some commented code.
14985
14986         * buffer.C (runChktex): use LFUN_MESSAGE
14987
14988         * ShareContainer.h: inherit privately from noncopyable
14989
14990         * ParagraphParameters.[hC] (depth): inline it.
14991
14992         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14993         methods.
14994         (message): new method
14995         (messagePush): ditto
14996         (messagePop): ditto
14997         (show): init minibuffer
14998         (showState): direct call
14999
15000         * LaTeX.[Ch]: inherit privately from noncopyable
15001         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15002         instead of WriteStatus.
15003
15004         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15005
15006         * BufferView_pimpl.C (buffer): don't init minibuffer
15007         (workAreaButtonPress): use LFUN_MESSAGE
15008         (workAreaButtonRelease): ditto
15009         (savePosition): ditto
15010         (restorePosition): ditto
15011         (MenuInsertLyXFile): ditto
15012         (workAreaExpose): don't init minibuffer
15013         (update): remove commented code, simplify
15014
15015         * BufferView2.C (openStuff): use LFUN_MESSAGE
15016         (toggleFloat): ditto
15017         (menuUndo): ditto
15018         (menuRedo): ditto
15019         (copyEnvironment): ditto
15020         (pasteEnvironment): ditto
15021         (copy): ditto
15022         (cut): ditto
15023         (paste): ditto
15024         (gotoInset): ditto
15025         (updateInset): remove some commented code
15026
15027         * lastfiles.h: inherit privately from noncopyable
15028         * layout.h: ditto
15029         * lyx_gui.h: ditto
15030         * lyx_main.h: ditto
15031         * lyxlex.h: ditto
15032         * lyxlex_pimpl.h: ditto
15033
15034         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15035         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15036         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15037
15038         * LyXAction.h: inherit privately from noncopyable, add methods
15039         func_begin, func_end, returning iterators to the func map.
15040
15041         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15042         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15043         (func_begin): new method
15044         (func_end): new method
15045
15046         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15047         and not)
15048         (copySelection): ditto
15049         (pasteSelection): ditto
15050
15051         * BufferView.C: whitespace change
15052         * BufferView.h: inherit privately from noncopyable
15053
15054 2001-04-16  Allan Rae  <rae@lyx.org>
15055
15056         * tabular-old.C (l_getline):
15057         * spellchecker.C (sc_check_word):
15058         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15059         an unrecognised preprocessor directive.  So ensure they're wrapped.
15060
15061 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * src/exporter.C (Export): Give an error message when path to file
15064         contains spaces.
15065
15066 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * LaTeX.C (deplog): Always check that foundfile exists.
15069
15070 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15071
15072         * lyx_main.h:
15073         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15074
15075 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * tabular.[Ch] (getLabelList): implement new method
15078
15079         * minibuffer.h: comment ouf setTiimer
15080
15081         * minibuffer.C (ExecutingCB): constify res
15082         (peek_event): constify s
15083         (Set): constify ntext
15084         (Init): constify nicename
15085
15086         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15087
15088         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15089         (savePosition): use two params to Minibuffer::Set
15090         (restorePosition): ditto
15091
15092 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * lyx_main.C: include language.h
15095
15096         * Makefile.am (lyx_main.o): add language.h
15097
15098 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * exporter.C:
15101         * paragraph.C:
15102         * screen.C:
15103         * tabular.C:
15104         * CutAndPaste.C: include gettext.h
15105
15106         * lyxfont.h: remove old hack with ON and OFF.
15107
15108         * lyxparagraph.h:
15109         * lyxfont.h: do not include language.h...
15110
15111         * BufferView2.C:
15112         * LaTeXFeatures.C:
15113         * Painter.C:
15114         * bufferview_funcs.C:
15115         * font.C:
15116         * lyxfont.C:
15117         * text.C:
15118         * text2.C:
15119         * trans_mgr.C:
15120         * paragraph.C: ... but do it here instead
15121
15122 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15125
15126         * tabular.C: small reformat
15127
15128         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15129         NEW_INSETS version
15130         (GetChar): ditto
15131         (BreakParagraph): ditto
15132         (SetOnlyLayout): ditto
15133         (SetLayout): ditto
15134
15135         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15136         with one arg less.
15137
15138         * lastfiles.C: removed most using decl, add std:: where needed
15139
15140         * buffer.C: ws changes
15141
15142         * MenuBackend.C (class compare_format): put into anon namespace
15143         (expand): constify label, names, action, action2
15144         (expand):
15145
15146         * text.C (SingleWidth): constify font
15147         (IsBoundary): constify rtl2
15148         (GetVisibleRow): constify ww
15149
15150         * LaTeX.C (deplog): constify logfile
15151
15152         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15153         start_x, end_x
15154         (workAreaExpose): constify widthChange, heightChange
15155
15156         * lyxrow.C (par): moved
15157         (height): moved
15158         (next): moved
15159         * lyxrow.h: as inlines here
15160
15161         * lyxfont.h (shape): moved from lyxfont.C
15162         (emph): moved from lyxfont.C
15163
15164         * lyxfont.C (LyXFont): use initialization list for all
15165         constructors
15166         (shape): move to lyxfont.h as inline
15167         (emph): move to lyxfont.h as inline
15168
15169
15170 2001-04-04  Juergen Vigna  <jug@sad.it>
15171
15172         * vspace.C: had to include stdio.h for use of sscanf
15173
15174 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15175
15176         * BufferView.h:
15177         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15178         independent of xforms.
15179
15180 2001-04-02  Juergen Vigna  <jug@sad.it>
15181
15182         * spellchecker.C: fixed namespace placing!
15183
15184 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15185
15186         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15187         the LyXParagraph * is 0.
15188
15189 2001-03-29  Juergen Vigna  <jug@sad.it>
15190
15191         * vspace.C: added support for %, c%, p%, l%.
15192         (stringFromUnit): added helper function.
15193         (asLatexString): changed to give right results for the %-values.
15194
15195         * buffer.C: convert the widthp in a width%.
15196
15197 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15198
15199         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15200         figureForm.[Ch].
15201
15202         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15203         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15204
15205         * lyx_cb.[Ch]: see above.
15206
15207         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15208         form1.[Ch].
15209
15210         * form1.[Ch]:
15211         * lyx.[Ch]: replaced by figure_form.[Ch].
15212
15213         * lyx_gui.C:
15214         * lyx_gui_misc.C:
15215         * lyxfunc.C: changed headers associated with above changes.
15216
15217 2001-03-27  Juergen Vigna  <jug@sad.it>
15218
15219         * BufferView_pimpl.C: set the temporary cursor right!
15220
15221 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15222
15223         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15224
15225 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15226
15227         * LString.h: removed "using std::getline"!
15228
15229         * BufferView_pimpl.C (Dispatch): changes due to changes in
15230         InsetInclude::Params.
15231
15232         * buffer.C (tag_name): removed redundant break statements as they were
15233         producing lots of warnings with my compiler.
15234
15235 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * LString.h: add "using std::getline" when using the real <string>.
15238
15239 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15240
15241         * buffer.C: removed bitset usage.
15242         PAR_TAG moved to an anonymous name space.
15243         (tag_name): new funtion, also in the anonymous namespace.
15244         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15245         (makeDocBookFile): clean code. Completed transition from string arrays
15246         to string vectors.
15247         (SimpleDocBookOnePar): code clean.
15248
15249 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15250
15251         * tabular.C: add some comments.
15252
15253 2001-03-22  Juergen Vigna  <jug@sad.it>
15254
15255         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15256         compatibility read a bit and fixed bug with minipage in different
15257         depth.
15258
15259 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15260
15261         * buffer.C (pop_tag): removed.
15262         (push_tag): removed.
15263         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15264         array replaced with vector. Added support for CDATA sections.
15265         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15266         at any nest level.
15267         (makeDocBookFile): XML conformant declaration of CDATA section,
15268         fixed bug related to <emphasis> in the first paragraph char.
15269         (sgmlOpenTag): exclude empty tags.
15270         (sgmlCloseTag): ditto.
15271
15272         * buffer.h (pop_tag): removed.
15273         (push_tag): removed.
15274
15275 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15276
15277         * language.h (Languages): added size_type and size().
15278
15279 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15280
15281         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15282         response on compability reading of minipages. One probliem is that
15283         the old usage of minipages was «flertydig»
15284
15285         * several files here and in subdirs: don't use static at file
15286         scope use anon namespaces instead.
15287
15288 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15289
15290         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15291         LaTeX output. This is necessary for Literate document
15292         processing.
15293
15294 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15295
15296         * buffer.C: insert hfill when needed.
15297
15298         * tabular.C (l_getline): use string::erase, small whitespace change.
15299
15300         * BufferView_pimpl.C: try the anon namespace.
15301         * WorkArea.C: ditto
15302
15303 2001-03-16  Juergen Vigna  <jug@sad.it>
15304
15305         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15306         otherwise it won't open options-dialogs.
15307
15308         * buffer.C: honor pextraWidth(p) on converting minipages.
15309
15310         * tabular.C (l_getline): changed the functions to strip trailing \r.
15311
15312 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15313
15314         * BufferView_pimpl.C:
15315         * minibuffer..C: added "using SigC::slot" declaration.
15316
15317 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15318
15319         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15320
15321         * text2.C: ditto
15322
15323         * text.C: ditto
15324
15325         * paragraph.C: ditto
15326
15327         * lyxtext.h: NO_PEXTRA
15328
15329         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15330
15331         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15332         * ParameterStruct.h: ditto
15333         * ParagraphParameters.h: ditto
15334         * lyxparagraph.h: ditto
15335
15336 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15337
15338         * buffer.C: add compability for minipage alignment.
15339         (latexParagraphs): remove unwanted pextra check.
15340
15341         * several files: remove CXX_WORKING_NAMESPACES
15342
15343         * buffer.C (pop_tag): tie is in namespace boost
15344
15345         * BufferView.h: noncopyable is in namespace boost
15346         * lyxlex.h: ditto
15347         * lyx_main.h: ditto
15348         * lyx_gui.h: ditto
15349         * layout.h: ditto
15350         * lastfiles.h: ditto
15351         * bufferlist.h: ditto
15352         * ShareContainer.h: ditto
15353         * LyXView.h: ditto
15354         * LyXAction.h: ditto
15355         * LaTeX.h: ditto
15356
15357 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15358
15359         * Merging changes from BRANCH_MVC back into HEAD.
15360
15361         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15362
15363 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * BufferView_pimpl.C: change from intl.C
15366
15367         * combox.h:
15368         * combox.C:
15369         * Makefile.am: move combox.*
15370
15371         * form1.h:
15372         * form1.C:
15373         * lyx_gui.C:
15374         * intl.h:
15375         * intl.C: remove dialog (covered by prefs)
15376
15377 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15378
15379         * lyxfunc.C (Dispatch): removed redundant break statement.
15380
15381 2001-03-14  Juergen Vigna  <jug@sad.it>
15382
15383         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15384
15385 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15386
15387         * buffer.C: add hack to fix compability reading of minipages.
15388
15389 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15390
15391         * buffer.C (getLists): Cleanup.
15392
15393 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * lyxfont.C (update): don't honor toggleall on font size.
15396
15397 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15398
15399         * bmtable.c:
15400         * bmtable.h:
15401         * Makefile.am: moved to frontends/xforms/
15402
15403         * lyx_gui_misc.C:
15404         * lyxfunc.C:
15405         * BufferView_pimpl.C: changes for moved mathpanel
15406
15407 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15408
15409         * gettext.h: fix gettext_init() in --disable-nls
15410
15411 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15412
15413         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15414
15415 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15416
15417         * lyx.C:
15418         * lyx.h: strip external form
15419
15420 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15421
15422         * BufferView_pimpl.C: add comment, destroySplash()
15423
15424 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * BufferView_pimpl.C:
15427         * LyXAction.C:
15428         * buffer.C:
15429         * commandtags.h:
15430         * lyxfunc.C: use re-worked insetinclude
15431
15432 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15433
15434         * buffer.C: add using std::stringstream.
15435
15436         * lyx_cb.C: readd using std::ios.
15437
15438         * buffer.C: add using std::map.
15439
15440         * BufferView_pimpl.C: add using std::vector.
15441
15442         * ShareContainer.h: add std:: to swap.
15443
15444         * buffer.h: add some typedefs
15445         * buffer.C (getLists): use them
15446         (getLists): renamed from getTocList.
15447         add a counter for the different float types and use it in the
15448         generated string.
15449         (getLists): use the same counter for the NEW_INSETS and the "non"
15450         NEW_INSETS
15451
15452         * lyx_cb.h: remove unused items, includes, using etc.
15453
15454         * ShareContainer.h: remove some commented code, add more comments
15455         and "documentation".
15456
15457 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15458
15459         * buffer.C (getTocList): make the list also when NEW_INSETS is
15460         defined.
15461
15462         * buffer.h: remove TocType
15463
15464         * buffer.C (getTocList): change to return a map<string,
15465         vector<TocItem> >, implement for dynamic number of list.
15466
15467         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15468         * text2.C (PasteSelection): adjust
15469         * CutAndPaste.C (pasteSelection): adjust
15470
15471         * FloatList.C (FloatList): update from the new_insets branch.
15472         * Floating.[Ch]: ditto
15473         * LaTeXFeatures.C: ditto
15474         * buffer.C: ditto
15475         * lyxlex_pimpl.C: ditto
15476
15477         * paragraph.C (Last): remove when NEW_INSETS is defined.
15478
15479         * other file: changes because of the above.
15480
15481 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15482
15483         * lyxparagraph.h: rename next to next_, previous to previous_,
15484         make them private for NEW_INSETS. Rename Next() to next(),
15485         Previous() to previous().
15486
15487         * other files: changes because of the above.
15488
15489 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15490
15491         * BufferView.h:
15492         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15493         problem.
15494
15495 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * main.C (main): pass lyx_localedir to gettext_init().
15498
15499         * gettext.h: remove locale_init and gettext_init macros
15500
15501         * gettext.C (locale_init): new function
15502         (gettext_init): new function
15503
15504         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15505         setlocale().
15506
15507 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15508
15509         * Moved credits to frontends:
15510         * credits.[Ch]: removed
15511         * credits_form.[Ch]: removed
15512         * lyx_gui_misc.C: remove credits stuff
15513         * Makefile.am:
15514
15515 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15516
15517         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15518
15519         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15520         unneeded destructor.
15521
15522         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15523         a standalone pointer again.
15524
15525         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15526
15527 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15528
15529         * Makefile.am:
15530         * filedlg.h:
15531         * filedlg.C:
15532         * LyXAction.C:
15533         * ToolbarDefaults.C:
15534         * bufferlist.C:
15535         * commandtags.h:
15536         * form1.C:
15537         * form1.h:
15538         * lyx_cb.C:
15539         * lyx_cb.h:
15540         * lyxfunc.h:
15541         * lyxfunc.C:
15542         * BufferView_pimpl.C: use new file dialog in GUII
15543
15544         * lyx_cb.h:
15545         * lyx_cb.C: remove LayoutsCB to Toolbar
15546
15547 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * ShareContainer.h (get): add std:: qualifier
15550
15551 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * ShareContainer.h: define a proper ShareContainer::value_type
15554         type (and use typename to please compaq cxx)
15555
15556 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15557
15558         * lyxparagraph.h: move serveral local vars to
15559         ParameterStruct/ParagraphParameters., use ShareContainer in
15560         FontTable., make vars in FontTable private and add getter and
15561         setter.
15562
15563         * paragraph.C: changes because of the above.
15564
15565         * lyxfont.h: remove copy constructor and copy assignment. (the
15566         default ones is ok), move number inside FontBits. move inlines to
15567         lyxfont.C
15568
15569         * lyxfont.C: add number to initializaton of statics, move several
15570         inlines here. constify several local vars. some whitespace
15571         cleanup. Dont hide outerscope variables.
15572
15573         * Spacing.h: add two new constructors to match the set methods.
15574
15575         * ShareContainer.h: new file, will perhaps be moved to support
15576
15577         * ParameterStruct.h: new file
15578
15579         * ParagraphParameters.h: new file
15580
15581         * ParagraphParameters.C: new file
15582
15583         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15584         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15585
15586         * BufferView_pimpl.C: ParagraphParameter changes.
15587         * buffer.C: Likewise.
15588         * bufferview_funcs.C: Likewise.
15589         * text.C: Likewise.
15590         * text2.C: Likewise.
15591
15592 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * lyxfind.C (LyXReplace): do not redefine default argument in
15595         implementation.
15596         (IsStringInText): ditto
15597         (SearchForward): ditto
15598         (SearchBackward): ditto
15599
15600 2001-03-06  Juergen Vigna  <jug@sad.it>
15601
15602         * lyxfind.C (IsStringInText): put parentes around expressions.
15603
15604 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15605
15606         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15607
15608 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15609
15610         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15611
15612         * stl_string_fwd.h: add comment
15613
15614         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15615
15616         * tabular.h:
15617         * tabular.C: remove unused DocBook methods
15618
15619         * intl.C:
15620         * language.C:
15621         * paragraph.C:
15622         * buffer.C:
15623         killed DO_USE_DEFAULT_LANGUAGE
15624
15625 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * lyx_gui.C: do not include language.h.
15628
15629         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15630         arguments in function implementation.
15631
15632 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15633
15634         * BufferView_pimpl.C: add <ctime>
15635
15636 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15637
15638         * BufferView_pimpl.C: add using std::find_if
15639
15640 2001-02-27  José Matos  <jamatos@fep.up.pt>
15641
15642         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15643         by OnlyPath.
15644
15645 2001-02-11  José Matos  <jamatos@fep.up.pt>
15646
15647         * buffer.C (makeDocBookFile): command styles now have a parameter as
15648         "title" by default.
15649
15650 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15651
15652         * layout_forms.[Ch]: removed
15653         * lyx_cb.[Ch]: out character
15654         * lyx_gui.C: out character
15655         * lyx_gui_misc.C: out character
15656         * bufferview_funcs.C: : out character,
15657         added toggleall as parameter in ToggleAndShow
15658
15659 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15662
15663         * text2.C (SetCurrentFont): Disable number property at boundary.
15664
15665 2001-02-26  Juergen Vigna  <jug@sad.it>
15666
15667         * lyxfunc.C (getStatus): added a string argument override function so
15668         that this is correctly called from LyXFunc::Dispatch if it contains a
15669         do_not_use_argument which is used!
15670         (Dispatch): added check for "custom" export and call appropriate func.
15671
15672 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * lyxrc.C: Add language_command_local, language_use_babel and
15675         language_global_options.
15676
15677         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15678
15679         * buffer.C (makeLaTeXFile): Use language_use_babel and
15680         language_global_options.
15681
15682 2001-02-23  Juergen Vigna  <jug@sad.it>
15683
15684         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15685         which works with LyXText and putted it inside BufferView. Here now we
15686         only call for that part the BufferView::Dispatch() function.
15687
15688         * BufferView.C (Dispatch): added.
15689
15690         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15691         functions which needs to use a LyXText over from LyXFunc.
15692         (MenuInsertLyXFile): added
15693         (getInsetByCode): added
15694         (moveCursorUpdate): added
15695         (static TEXT): added
15696
15697 2001-02-22  Juergen Vigna  <jug@sad.it>
15698
15699         * BufferView_pimpl.C (update): call a status update to see if LyXText
15700         needs it.
15701
15702 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15703
15704         * vc-backend.C (revert): implement for CVS
15705         (getLog): implement for CVS
15706
15707 2001-02-20  Juergen Vigna  <jug@sad.it>
15708
15709         * text2.C (ClearSelection): added BufferView param for inset_owner call
15710
15711         * lyxfunc.C (TEXT): added this function and use it instead of
15712         directly owner->view()-text of getLyXText().
15713
15714 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15715
15716         * src/layout_forms.C: out preamble
15717         * src/layout_forms.h: out preamble
15718         * src/lyx_cb.C: out preamble
15719         * src/lyx_cb.h: out preamble
15720         * src/lyx_gui.C: out preamble
15721         * src/lyx_gui_misc.C: out preamble
15722         * src/lyxfunc.C: connect with guii preamble
15723
15724 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15725
15726         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15727
15728 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15731         whether to run bibtex.
15732
15733 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15734
15735         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15736
15737 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15738
15739         * Makefile.am (lyx_SOURCES): removed bibforms.h
15740
15741         * vspace.h: doxygen
15742
15743         * text.C (GetVisibleRow): make several local vars const
15744
15745         * tabular.C: small cleanup.
15746
15747         * lyxserver.C (callback): use compare instead of strncmp
15748
15749         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15750         inlines to after class or to paragraph.C
15751
15752         * lyxfont.h: remove friend operator!=
15753
15754         * converter.h: move friend bool operator< to non friend and after
15755         class def.
15756
15757         * combox.h: small cleanup
15758
15759         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15760         to inlines after class def.
15761
15762         * buffer.C (pop_tag): use string operations instead of strcmp
15763
15764         * bmtable.c: doxygen, small cleanup
15765
15766         * LaTeX.h: remove friend operator==
15767
15768 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15769
15770         * screen.C:
15771         * lyxrc.[Ch]:
15772         * lyxfunc.C:
15773         * lyxfont.[Ch]:
15774         * lyx_cb.C:
15775         * intl.[Ch]:
15776         * commandtags.h:
15777         * buffer.C:
15778         * WorkArea.[Ch]:
15779         * LyXAction.C:
15780         * BufferView_pimpl.C:
15781         * BufferView.[Ch]: remove cruft
15782
15783 2001-02-14  Juergen Vigna  <jug@sad.it>
15784
15785         * lyxfunc.C: removed #if 0 unused code
15786
15787         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15788
15789         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15790
15791         * text2.C (SetSelection): added a BufferView * parameter
15792
15793 2001-02-13  Juergen Vigna  <jug@sad.it>
15794
15795         * lyxfunc.C (Dispatch): fixed protected blank problem.
15796         * BufferView2.C (protectedBlank): added LyxText * parameter.
15797
15798         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15799         (AppendColumn): same as above for column_info.
15800
15801         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15802         (moveCursorUpdate): use a LyXText param for support of InsetText.
15803
15804         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15805         (tripleClick): ditto
15806
15807         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15808
15809         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15810
15811         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15812
15813         * text2.C (SetSelection): set correct update status if inset_owner
15814         (ToggleFree): ditto
15815
15816 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15817
15818         * tabular.C: remove some commented code.
15819
15820 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15821
15822         * BufferView_pimpl.C: call hideSplash()
15823
15824         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15825
15826         * include_form.h:
15827         * bibforms.h: remove
15828
15829         * lyxfunc.C:
15830         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15831           add LFUN_CHILD_CREATE
15832
15833         * counters.h: fix tiny typo
15834
15835         * lyx_cb.C:
15836         * lyx.h:
15837         * lyx_gui.C:
15838         * lyx.C: move splash to frontends/xforms/
15839
15840         * lyx_gui_misc.C: move Include and Bibform to frontends
15841
15842         * lyxvc.h: clarify comment
15843
15844         * vspace.C: tiny housekeeping
15845
15846 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15847
15848         * text.C (PrepareToPrint): RTL Fix.
15849
15850         * paragraph.C (GetUChar): New method.
15851         (String):  Use GetUChar.
15852
15853         * buffer.C (asciiParagraph): Use GetUChar.
15854
15855 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15856
15857         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15858
15859 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15860
15861         * buffer.h:
15862         * buffer.C: rename to getLogName(), handle
15863           build log / latex log nicely
15864
15865 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15866
15867         * MenuBackend.C:
15868         * MenuBackend.h: remove support for reference menuitem type.
15869
15870 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15871
15872         * BufferView_pimpl.C: housekeeping
15873         * BufferView_pimpl.h:
15874         * LyXView.h:
15875         * Makefile.am:
15876         * Timeout.C:
15877         * Timeout.h:
15878         * minibuffer.h: move Timeout GUI-I
15879
15880 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15881
15882         * lyxrc.C (read): Update converters data-structures.
15883
15884 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15885
15886         * LaTeX.h (operator!=): add operator != for Aux_Info
15887
15888 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15889
15890         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15891
15892         * LaTeXLog.C: deleted, useful code moved to Buffer
15893
15894         * buffer.h:
15895         * buffer.C: new function getLatexLogName()
15896
15897         * lyx_gui_misc.C:
15898         * lyx_gui.C:
15899         * lyxvc.C:
15900         * lyxvc.h:
15901         * lyxfunc.C: use frontends for LaTeX and VC logs
15902
15903 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15904
15905         * LaTeX.h: yet another std:: that Allan forgot.
15906
15907         * Variables.C (set): renamed from isset(), because this clashes
15908         with some HP-UX macros (grr).
15909
15910 2001-02-06  Allan Rae  <rae@lyx.org>
15911
15912         * LaTeX.h: Another bug fix.  Missing std:: this time.
15913
15914 2001-02-04  Allan Rae  <rae@lyx.org>
15915
15916         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15917         floats problem. I've left it commented out because it's not quite
15918         correct.  It should also test that the current object is a table or
15919         figure inset.  But I haven't gotten around to figuring out how to do
15920         that.  I *think* it'll be something like: "table" == inset.type()
15921
15922         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15923         bool.
15924
15925 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15926
15927         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15928         all the citation/databases/styles in the auxilary file.
15929         (run): Rerun latex if there was a babel language error.
15930
15931 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * text.C (Backspace): Preserve the font when changing newline char
15934         with a space.
15935         (BreakParagraph): If the cursor is before a space, delete the space.
15936
15937         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15938
15939 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15940
15941         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15942         new argument (code).
15943         (ChangeCitationsIfUnique): New method.
15944
15945         * paragraph.C (GetPositionOfInset): Handle bibkey.
15946
15947 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * BufferView_pimpl.h: change type of Position::par_pos to
15950         LyXParagraph::size_type.
15951
15952 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15953
15954         * BufferView_pimpl.C (savePosition, restorePosition): Write
15955         messages to minibuffer.
15956
15957 2001-01-28  José Matos  <jamatos@fep.up.pt>
15958
15959         * buffer.C (makeDocBookFile): adds support for document language.
15960         A silly restriction on the name of LatexCommand types where removed.
15961         Added support for CDATA sections, allows to chars unescaped, used
15962         among others in code, to avoid escape < and >.
15963
15964 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15965
15966         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15967         saved positions instrad of a stack. Furthermore, a position is
15968         stored using paragraph id/paragraph position.
15969
15970         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15971         Remove LFUN_REF_BACK.
15972
15973 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15974
15975         * converter.C (dvipdfm_options): New method.
15976
15977 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15978
15979         * vspace.C (isValidLength): Fix for empty input string.
15980
15981 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * LyXAction.C (init): change description of LFUN_FIGURE to
15984         "Insert Graphics"
15985
15986 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15987
15988         * LaTeX.C: add using directive
15989
15990 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15991
15992         * MenuBackend.C (expand): Fix the sorting of the formats.
15993
15994 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15995
15996         * lyx_main.C: tiny error message fix
15997
15998 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16001         calling fl_initialize(). This fixes the problem with ',' as
16002         decimal separator in text files.
16003
16004 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16005
16006         * trans.C (process): Fix the keymap bug.
16007
16008 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16009
16010         * LaTeX.C (scanAuxFiles): New method. Provides support for
16011         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16012         (scanLogFile) Scan for "run BibTeX" messages.
16013
16014         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16015         OT1 font encoding. Also, load the aecompl package if the ae
16016         package is loaded.
16017
16018         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16019
16020 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * texrow.C (increasePos): turn two error messages into debug
16023         messages.
16024
16025 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16026
16027         * LaTeX.C (scanAux): Handle the \@input macro.
16028         (runBibTeX): Use scanAux().
16029
16030         * language.C (latex_options_): New field.
16031
16032         * LaTeXFeatures.C (getMacros): Add language macros.
16033
16034         * buffer.C (makeLaTeXFile): Small fix.
16035
16036 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16039
16040         * text2.C: add a using directive.
16041
16042 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16043
16044         * BufferView2.C:
16045         * lyx_gui_misc.h:
16046         * lyxfr1.C:
16047         * lyxfunc.C: kill LyXBell.
16048
16049 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * text.C (IsBoundary): Remove the error message
16052
16053         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16054
16055         * lyxrc.C (setDefaults): Correct initialization value for
16056         font_norm_type.
16057
16058 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16059
16060         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16061         gotoError().
16062
16063         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16064         and GotoNextNote().
16065
16066         * src/LyXAction.C: Added reference-next.
16067
16068         * text.C (InsertChar): Use contains instead of strchr.
16069
16070         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16071
16072 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16075         alignment commands (when needed).
16076
16077         * text.C (InsertChar): Add ':' to number separator chars.