]> git.lyx.org Git - features.git/blob - src/ChangeLog
7cd9874d1752fa46ace39238bef8f18493fe2e18
[features.git] / src / ChangeLog
1 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         lyxrc.C: add to tooltip about using xindy to prefs (xforms)
4
5 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * LaTeX.C: implement use of babel language in xindy.
8
9 2004-10-05  José Matos  <jamatos@lyx.org>
10
11         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
12         Add new translators to help reading and writing the lyx file.
13
14 2004-10-05  José Matos  <jamatos@lyx.org>
15
16         * ParagraphParameters.C (read):
17         * text.C (readParToken): replace nexToken by more appropriate lex
18         methods.
19
20 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
21
22         * LaTeX.C (runMakeIndex):
23         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
24         (usually 'makeindex') configurable.
25
26         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
27         with a variable rather than with a number.
28
29 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * output_latex.C (TeXOnePar): make sure font setting is the first
32         thing that gets output (and the last at the end). Should fix bug
33         1404.
34
35 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * pch.h: use proper signal include
38
39         * LaTeX.h: Use preferred calling of Boost.Signal
40         * buffer.h: ditto
41
42 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
43
44         * pch.h: dont include <boost/function/function0.hpp>
45
46         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
47
48         * paragraph_pimpl.h: remove usage of ShareContainer
49
50         * paragraph_pimpl.C: remove initialization of ShareContainer.
51
52 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         Fix bug #1666
55
56         * BufferView.C (putSelectionAt): change the semantics when
57         backwards == true: now, this just swaps cursor and anchor wrt the
58         forward case
59
60         * BufferView.h (putSelectionAt): add some documentation
61
62         * lyxfind.C (findBackwards): rewrite using while(). In particular,
63         make sure backwardChar is done at least once (to avoid getting
64         stuck)
65         (findNextChange): use putSelectionAt in the forward direction
66         (operator()): use Paragraph::isWord
67
68 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * Spacing.C (set): c_str fix
71
72 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * lyx_cb.C (Reconfigure): quote the name of configure script in
75         case it contains spaces
76
77 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
78
79         * client: new dir
80
81         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
82         (BOOST_LIBS): use top_buildir when looking for the file
83
84 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
85
86         * pch.h: do not use include boost/format.hpp, multiple symbols
87                 will result (gcc bug)
88
89
90 2004-08-23  José Matos  <jamatos@lyx.org>
91
92         * bufferparams.C (readToken): fix reading of the author field.
93
94 2004-08-20  José Matos  <jamatos@lyx.org>
95
96         * lyxrc.C: remove support/translator.h inclusion since it is not used.
97
98 2004-08-20  José Matos  <jamatos@lyx.org>
99
100         * lyxlex.[Ch] (findToken): remove function.
101
102         * ParagraphParameters.C (findToken):
103         * bufferparams.C (findToken): replace call for previous function
104         with local copy. This local function has one more argument, the
105         read string argument.
106
107 2004-08-16  José Matos  <jamatos@lyx.org>
108
109         * ParagraphParameters.C (write):
110         * Spacing.C (writeFile):
111         * bufferparams.C (writeLaTeX):
112         * lyx_cb.C (Reconfigure):
113         * paragraph.C (write):
114         * tabular.C (write): remove unnecessary space at end of line.
115
116
117 2004-08-16  José Matos  <jamatos@lyx.org>
118
119         * text.C (readParagraph): remove debug message.
120
121 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
124         crash
125
126         * output_plaintext.C (asciiParagraph): set depth correctly
127
128         * outputparams.h: add member depth
129
130         * paragraph_funcs.C (ownerPar): remove.
131
132         * text2.C (setCounter): remove first_pit; comment out some
133         non-working code that uses ownerPar
134
135         * BufferView.C (getParentLanguage): remove. Not used anymore, and
136         uses ownerPar
137
138 2004-08-16  José Matos  <jamatos@lyx.org>
139
140         * text.C (readParToken, readParagraph, read): report all unknown tokens.
141         For the same level of importance use the same chanel to report problems.
142         (read): add code to deal with \begin_body and \end_body.
143
144
145 2004-08-15  José Matos  <jamatos@lyx.org>
146
147         * lyxlex.C (getString): fix comment, buffer::readBody is now
148         buffer:readDocument.
149
150         * tex-strings.C (string_papersize): Default -> default,
151         Custom -> custom, for consistency with other options.
152
153 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
154
155         * pch.h: new file
156
157         * Makefile.am: support pch
158
159 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * text.C (readParToken): remove the static LyXFont variable and
162         pass it as a parameter instead. This fixes a nasty bug where an
163         inset will be inserted with a bad font in some situations
164         (readParagraph): adapt
165
166         * text2.C (setCounter): reduce number of calls to pars_[pit]
167
168         * text.C (singleWidth): add an assert, fix a test
169
170         * rowpainter.C (paintText): reduce number of calls to singleWidth
171
172         * paragraph.C (isHfill):
173         (isNewline): ws only
174
175 2004-08-14  André Pönitz  <poenitz@gmx.net>
176
177         * text.C:
178         * text2.C:
179         * rowpainter.C:
180         * lyxtext.h (several functions): use a Paragraph & argument
181         instead of par_type
182
183 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * metricsinfo.h: add a new field ltr_pos to PainterInfo
186
187         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
188
189         * text.C (singleWidth): remove useless test
190
191 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * tabular.h: remove bogus comments
194
195         * tabular.C (getDescentOfRow):
196         (isPartOfMultiColumn): add assertions
197
198         * lyxlength.C (inPixels): remove #warning
199
200 2004-08-14  André Pönitz  <poenitz@gmx.net>
201
202         * paragraph.h: inline getChar()
203
204         * BufferView.h: remove unused declarations
205
206 2004-08-14  José Matos  <jamatos@lyx.org>
207
208         * Buffer.[Ch] (readDocument): new name for old readBody.
209         * Buffer.C: new file format, new keywords: \begin_document,
210         \begin_header, \begin_body, \end_body.
211
212         * bufferparams.C (readToken): replace all calls to lex.nextToken
213         by lex.next(). Do the same to eatLine except where really needed.
214
215         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
216         line when writing to the lyx file.
217
218         * output_plaintext.C (asciiParagraph): fix Bibliography style
219         handling.
220
221         * text.C (read): fix end of file handling.
222
223 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * MenuBackend.C (Menu::operator[]): new method to access
226         individual menu items
227         (Menu::hasFunc): new method. search for an item that corresponds
228         to a given func
229         (MenuBackend::specialMenu): new method
230         (MenuBackend::expand): if a special menu has been set, skip
231         entries whose func() appears in this menu
232
233 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
234
235         * text3.C: use Debug::DEBUG a bit more
236
237         * text.C (leftMargin): try to simplify a tiny bit change var x to
238         l_margin. Dont output the wide margins always.
239         (rightMargin): no margin in inner texts
240
241         * rowpainter.h (nestMargin): new func
242         (changebarMargin): new func
243         (rightMargin): new func
244
245         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
246         now functions.
247         (paintLast): ditto
248
249         * factory.C (createInset): modify setDrawFrame
250
251         * cursor.C: use Debug::DEBUG a bit more
252
253 2004-08-14  André Pönitz  <poenitz@gmx.net>
254
255         * coordcache.[Ch]:
256         * Makefile.am: new files to accomodate an 'external' (x,y)-position
257         cache for all insets in (at least partially) visible (top-level)
258         paragraphs.
259
260         * BufferView_pimpl.C: reset external coord cache before every update.
261         This means the coord cache only contains valid entries.
262
263 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
264
265         bug 1096
266         * BufferView_pimpl.C (getInsetByCode): move function out of class
267         and change in to a template in anon namespace. Also fix to do what
268         suits us better.
269
270 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
271
272         bug 1305
273         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
274         of char
275         (breakParagraph): rename par to par_offset and use a local
276         reference. Add code to keep the language over a rebreak.
277         (breakParagraphConservative): rename par to par_offset, use a
278         local reference
279         (mergeParagraph): ditto
280         (outerHook): ditto
281         (isFirstInSequence): ditto
282         (outerFont): rename pit to par_offset
283
284         * paragraph.C: ws change
285         * paragraph.h: ditto
286         * text3.C: ditto
287         * text.C: ditto
288
289 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
292         treatment for ']'
293
294         * paragraph.C (simpleTeXOnePar): when we have a \item with
295         optional argument, enclose the argument with curly brackets (in
296         case it contains a closing square bracket)
297
298         * text2.C (editXY):
299         * text2.C (editXY):
300         * text3.C (checkInsetHit): constify
301
302 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
305         documents (bug 1629)
306
307 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         Fix toggling of collapsable insets with the mouse (bug 1558)
310
311         * lyxfunc.C (dispatch): adapt to LCursor changes
312
313         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
314         make sure that dispatch is not invoked twice
315
316         * cursor.C (needsUpdate): new method
317         (dispatch): return void
318         (result): new method, to access the DispatchResult of the cursor.
319
320 2004-08-13  José Matos  <jamatos@lyx.org>
321
322         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
323
324 2004-08-13  André Pönitz  <poenitz@gmx.net>
325
326         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
327
328         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
329           multiple cells
330
331 2004-08-12  André Pönitz  <poenitz@gmx.net>
332
333         * text3.C: take out the 'cursor right' form insertInset and only
334         do it in those places when it is really needed. Fixes crash on
335         C-m...
336
337 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
340
341         * BufferView_pimpl.C (setBuffer): initialize the current font of
342         the underlying LyXText
343
344 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * kbsequence.C (print): use UI native formatting for menu
347         shortcuts
348
349         * text.C (insertChar): call Paragraph::insertChar with a font
350         argument (cosmetic)
351
352         * paragraph.C (insertInset, insertChar): the version that takes a
353         LyXFont argument is now a wrapper around the other one (the
354         opposite used to be true).
355
356         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
357         argument. Font setting is done in Paragraph now.
358
359 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * outputparams.h: add new members intitle and lang.
362
363         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
364         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
365
366 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * text3.C (dispatch): remove special handling of button 4 and 5,
369         it is now taken care of in the frontend code.
370
371 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * Spacing.h: add <string> (STLPort compile fix)
374
375 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
376
377         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
378
379 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
380
381         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
382         to bool.
383
384         * converter.C (showMessage): inherit from unary_function, make
385         operator() const.
386
387         * buffer.C (writeFile): initialize retval
388
389         * InsetList.h: rename private variable list to list_
390         * InsetList.[Ch]: adjust accordingly.
391
392 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
393
394         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
395         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
396         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
397         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
398         * ParagraphParameters.C, LaTeXFeatures.C: replace
399         "support/std_sstream.h" with <sstream>
400
401 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
402
403         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
404         * lyxsocket.C (LyXServerSocket): ditto
405         (serverCallback): ditto
406
407 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
408
409         * LaTeXFeatures.C: check release date when loading jurabib.
410
411 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
412
413         * lyxserver.C (startPipe): call register_socket_callback
414         (endPipe): call unregister_socket_callback
415
416 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
417
418         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
419         (LyXServerSocket): register the callback
420         (LyXServerSocket): unregister the callback
421         (fd): delete function
422         (serverCallback): improve error checking and setup the callbacks.
423         (dataCallback): change arg to fd.
424         (writeln): new func (copied fro the client socket) used for server
425         write to client.
426         (LyXDataSocket): simplify
427         (~LyXDataSocket): close ann unregiser callback
428         (server): delete function
429         (fd): delete function
430         (readln): small changes, improve some std::string usage
431         (writeln): constify a bit
432
433 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
436         Qt frontend
437
438 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * BufferView_pimpl.C (setBuffer): set the layout combox value only
441         after it has been populated
442
443 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text2.C (insertInset): move cursor when inserting inset.
446
447 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * kbmap.C (findbindings): a couple of new methods. returns a
450         container of kb_sequence objects. The real work is done by the
451         private recursive version
452         (printbindings): uses findbindings to print out a bracketed list
453         of bindings (renamed from findbinding).
454
455         * MenuBackend.C (binding): use kb_keymap::findbindings
456
457         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
458
459 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
462
463 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * paragraph.C (isWord): return true on insets that report
466         isLetter().
467
468         * text.C (getWord): use Paragraph::isWord to decide what is in a
469         word and what is not; fix bug 1609.
470
471 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
472
473         * tex-strings.C: add "none" to string_paperpackages[], fixes
474         off-by-one-error in the paperpackage selection.
475
476         * lyxlex.[Ch]:
477         * tex-strings.[Ch]: char const * string[n]
478         -> char const * const string[]
479
480 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
483         command, return early.
484
485 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
486
487         * debug.h: add DEBUG to enum and fix size of ANY.
488
489         * debug.C: add support for Debug::DEBUG
490         (showTags): cast errorTags.level to unsigned int
491
492         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
493         (redoCurrentBuffer): ditto
494         (updateScrollbar): ditto
495         * cursor.C (dispatch): ditto
496         * text2.C (setLayout): ditto
497         (setFont): ditto
498         (updateCounters): ditto
499         (editXY): ditto
500         (deleteEmptyParagraphMechanism): ditto
501
502 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
503
504         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
505         annotations to cleanup the Makefile slightly.
506
507 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508
509         * lyxrc.C: do not set user_email to a default value but use empty
510         instead. The entry used to be translated, which does not work
511         since at the point where lyxrc is constructed there is no
512         translation service available
513
514         * messages.C (getLocaleDir): remove and use directly
515         lyx_localedir() instead
516
517 2004-06-02  Angus Leeming  <leeming@lyx.org>
518
519         Fix crash caused by dereferencing null pointer 'exportdata' in
520         OutputParams by creating a new ExportData variable on the heap,
521         storing it in a boost::shared_ptr.
522         The crash was triggered when generating an Instant Preview
523         of an external inset.
524
525         * Makefile.am: add outputparams.C
526
527         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
528         (c-tor): allocate memory to it.
529
530         * exporter.C (c-tor): associated changes.
531
532 2004-06-01  Angus Leeming  <leeming@lyx.org>
533
534         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
535         contains data before calling isInset(0). (Bug 1513.)
536
537 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * exporter.C (checkOverwrite): new method
540         * exporter.C (copyFile): new method
541         * exporter.C (Export): copy referenced files to the document dir
542         * exporter.[Ch]: new class ExportedFile
543         * exporter.[Ch]: new class ExportData. Contains currently the
544         names of referenced external files
545         * outputparams.h: add exportdata member.
546
547 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
548
549         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
550         version.C-tmp
551
552 2004-05-19  Angus Leeming  <leeming@lyx.org>
553
554         * LaTeXFeatures.C:
555         * ToolbarBackend.C:
556         * bufferparams.C:
557         * lyxfunc.C: small changes due to the introduction of namespace
558         lyx::frontend and the moving of namespace biblio to lyx::biblio.
559
560 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
561
562         * text3.C (dispatch): supress update when only moving the cursor
563         * cursor.C (selHandle): remove commented code
564
565 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
566
567         * paragraph.C (startTeXParParams): correct column count
568         * CutAndPaste.C (pasteSelection): remove const_cast
569         * output_docbook.C (docbookParagraphs): remove const_cast
570         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
571         const_cast and return ParagraphList::const_iterator
572         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
573         * output_plaintext.C (writeFileAscii): remove const_cast
574         * paragraph.[Ch] (simpleTeXOnePar): make const
575         * paragraph_funcs.C (outerPar): use const iterators
576         * paragraph_pimpl.C (validate): use const iterators
577         * text.C (setHeightOfRow): use const iterators
578
579 2004-05-17  Angus Leeming  <leeming@lyx.org>
580
581         * lfuns.h:
582         * LyXAction.C (init): new LFUN_INSET_REFRESH.
583
584         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
585         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
586         if the citation engine has changed.
587
588 2004-05-14  José Matos  <jamatos@lyx.org>
589
590         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
591         if the textclass does not provide it. Have it different for sgml and
592         xml.
593         support the language of document.
594         * output_docbook.C (docbookParagraphs):
595         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
596         first anchor as the id of the paragraph, remove special case code.
597         * sgml.C (escapeChar): escape only < & >.
598
599 2004-05-14  Angus Leeming  <leeming@lyx.org>
600
601         * bufferparams.h: move biblio::CiteEngine enum here to minimize
602         dependencies on src/frontends/controllers/biblio.h. Define a
603         CiteEngine_enum wrapper class to enable the enum to be forward
604         declared.
605
606 2004-05-12  Angus Leeming  <leeming@lyx.org>
607
608         * buffer.C: up LYX_FORMAT to 234.
609         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
610         use_numerical_citations with a single biblio::CiteEngine cite_engine
611         variable.
612         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
613
614 2004-05-13  José Matos  <jamatos@lyx.org>
615
616         * converter.h:
617         * converter.C (Converter, readFlags): add xml member.
618         * outputparams.h: add XML flavor.
619         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
620
621 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
622
623         * lyxfunc.C (dispatch):
624         (getStatus): fix handling of LFUN_SEQUENCE
625
626 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * debug.C (showLevel): do not forget the end-of-line marker
629
630 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * kbmap.C (read): do not stop parsing a bind file when an error
633         occurs (bug 1575)
634
635 2004-04-29  Angus Leeming  <leeming@lyx.org>
636
637         * cursor.C:
638         * factory.C:
639         * pariterator.C:
640         * text2.C: wrap a bunch of #warning statements
641         inside #ifdef WITH_WARNINGS blocks.
642
643 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * buffer.C: increment format to 233.
646
647 2004-04-28  Angus Leeming  <leeming@lyx.org>
648
649         * BufferView_pimpl.C:
650         * lyxfunc.C:
651         * text3.C:
652         s/updateToolbar()/updateToolbars()/
653         s/Toolbar.h/Toolbars.h/
654
655 2004-04-28  Angus Leeming  <leeming@lyx.org>
656
657         * BufferView.[Ch] (c-tor):
658         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
659         No longer passes these data to the WorkArea generator.
660
661 2004-04-28  Angus Leeming  <leeming@lyx.org>
662
663         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
664
665 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
666
667         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
668
669 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * output_latex.C (TeXEnvironment): make sure that there is a line
672         break before \end{foo} for the last paragraph of a document
673         (TeXOnePar): if the paragraph is at the end of the document (or
674         inset) and the language has to be reset, then make sure that the
675         line break is _before_ the language command, not after (fixes bug
676         1225); also make sure that the language reset command is the first
677         thing after the paragraph (to ensure proper nesting of
678         environments and thus fix bug 1404)
679
680 2004-04-21  John Levon  <levon@movementarian.org>
681
682         * ToolbarBackend.h:
683         * ToolbarBackend.C: make "name" be a programmatic name
684         and a gui_name field.
685
686         * lyxfunc.C: display the minibuffer on M-x
687
688 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
691         (bug 1526)
692
693 2004-04-19  Angus Leeming  <leeming@lyx.org>
694
695         * BufferView_pimpl.C (setBuffer): changed preview interface.
696
697         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
698         possible values.
699
700 2004-04-19  John Levon  <levon@movementarian.org>
701
702         * BufferView_pimpl.C:
703         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
704
705 2004-04-05  Angus Leeming  <leeming@lyx.org>
706
707         * text.C (redoParagraphs): add call to updateCounters(), thereby
708         fixing the missing "Figure #:" label from the caption of a
709         figure float.
710
711 2004-04-13  Angus Leeming  <leeming@lyx.org>
712
713         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
714         cursor is clicked out of an inset.
715
716 2004-04-13  Angus Leeming  <leeming@lyx.org>
717
718         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
719         than an InsetOld one.
720
721 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
722
723         * format.[Ch]: add editor to Format
724         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
725         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
726
727 2004-04-08  André Pönitz  <poenitz@gmx.net>
728
729         * metricsinfo.h: remove PainterInfo::width member
730
731 2004-04-08  Angus Leeming  <leeming@lyx.org>
732
733         * lyx_sty.C (boldsymbol_def): modify so that it outputs
734         "\providecommand" rather than "\newcommand", thereby preventing
735         clashes with packages that define "\boldsymbol" themselves.
736         Eg, beamer.
737
738 2004-04-08  Angus Leeming  <leeming@lyx.org>
739
740         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
741         thereby squashing an unnecessary warning.
742
743 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
746         setBuffer()
747
748 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * BufferView.C (setCursor): call redoParagraph (some insets could
751         have been opened)
752         (putSelectionAt): remove the 'double update' trick
753
754         * BufferView_pimpl.C (fitCursor): call refreshPar
755         (workAreaDispatch): remove an uneeded update call
756         (dispatch): remove some manual update calls
757
758         * cursor.[Ch]: remove cached_y_, updatePos
759         (selHandle): set noUpdate when appropriate
760
761         * lyxfunc.C (dispatch): track if we need an update
762
763         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
764
765         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
766         (paintSelection): cheap optimization, do not call cursorX when not
767         needed
768         (paintPars): change signature
769         (refreshPar): add
770         (paintText): adjust
771         (paintTextInset): adjust
772
773         * text.C: adjust
774
775 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * lengthcommon.C: compilation fix: remove explicit array size from
778         unit_name[] and friends
779
780 2004-04-05  Angus Leeming  <leeming@lyx.org>
781
782         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
783
784         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
785         present only for the preferences dialog.
786         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
787
788 2004-04-05  Angus Leeming  <leeming@lyx.org>
789
790         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
791         to enable the frontends to export changes to lyxrc correctly.
792
793         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
794
795 2004-04-07  André Pönitz  <poenitz@gmx.net>
796
797         * cursor.[Ch] (selClear, adjust): remove math
798
799         * cursor_slice.C: more agressive assert
800
801         * lyxfunc.C:
802         * BufferView_pimpl.C: rework mouse event dispatch
803
804         * dociterator.C:
805         * paragraph.C:
806         * text2.C:
807         * text3.C: adjust
808
809 2004-04-05  André Pönitz  <poenitz@gmx.net>
810
811         * cursor.[Ch] (valign, halign...): remove unneeded functions
812
813 2004-04-05  Angus Leeming  <leeming@lyx.org>
814
815         * lyxlength.[Ch] (unit_name et al.): const-correct.
816
817 2004-04-05  Angus Leeming  <leeming@lyx.org>
818
819         * BufferView_pimpl.C:
820         * buffer.C:
821         * counters.C:
822         * cursor.C:
823         * lyxfunc.C
824         * paragraph.C:
825         * pariterator.C:
826         * text.C:
827         * text2.C:
828         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
829
830 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * text3.C (getStatus): add LFUN_BEGINNINGBUF
833
834 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
835
836         * lyxfind.C: add a couple of inTexted() tests + other small fixes
837         * BufferView_pimpl.[Ch] (getStatus)
838         * BufferView.[Ch] (getStatus): add
839         * lyxfunc.C (getStatus): move lfuns handled in
840         BufferView::dispatch to te function above
841         * Cursor.C (setSelection): set selection() = true
842
843 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
844
845         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
846
847 2004-03-31  Angus Leeming  <leeming@lyx.org>
848
849         * lyxfunc.C (dispatch): Fall through to the generic
850         Dialogs::show("preamble").
851
852 2004-03-31  Angus Leeming  <leeming@lyx.org>
853
854         * lyxfunc.C (dispatch): Fall through to the generic
855         Dialogs::show("spellchecker").
856
857 2004-03-31  Angus Leeming  <leeming@lyx.org>
858
859         * lyxfunc.C (getStatus, dispatch): changed invocation of the
860         preferences dialog.
861
862 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * BufferView.C
865         * cursor.[Ch]
866         * dociterator.[Ch]:
867         * insetiterator.[Ch]:
868         * lyxfind.C:
869         * lyxfunc.C:
870         * pariterator.[Ch]:
871         * text2.C:
872         * undo.[Ch]: s/DocumentIterator/DocIterator/g
873
874 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
875
876         * BufferView.C (setCursor, putSelectionAt): call edit to open the
877         insets where we are putting the cursor.
878
879 2004-03-31  Angus Leeming  <leeming@lyx.org>
880
881         * lfuns.h:
882         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
883
884         * lyxrc.[Ch] (read, write): overloaded member functions taking
885         a std::[io]stream arguments.
886
887         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
888
889 2004-03-31  Angus Leeming  <leeming@lyx.org>
890
891         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
892         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
893
894         * lyxtextclass.C (load): if the text class couldn't be loaded, then
895         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
896
897 2004-03-31  Angus Leeming  <leeming@lyx.org>
898
899         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
900         the LFUN_ALL_INSETS_TOGGLE code.
901
902 2004-03-30  Angus Leeming  <leeming@lyx.org>
903
904         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
905         has died. Fall through to the generic Dialogs::show("document").
906
907 2004-03-30  Angus Leeming  <leeming@lyx.org>
908
909         * lfuns.h:
910         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
911         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
912
913         * lyxfunc.C (getStatus, dispatch): define the actions for these
914         lfuns. Little more than a cut and pste job from ControlDocument.C
915
916         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
917
918 2004-03-30  Angus Leeming  <leeming@lyx.org>
919
920         * lfuns.h:
921         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
922         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
923
924         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
925         open/closed state of ollapsable insets. Usage:
926
927         all-inset-toggle <state> <name>, where
928         <state> == "open" || "closed" || "toggle" and
929         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
930
931         * lyxtext.h, text2.C (toggleInset): removed.
932
933         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
934         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
935         now passes LFUN_INSET_TOGGLE to the found inset.
936
937         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
938         is now invoked as "all-insets-toggle toggle branch".
939
940 2004-03-30  Angus Leeming  <leeming@lyx.org>
941
942         * dociterator.C:
943         * insetiterator.C:
944         * pariterator.[Ch]: added/corrected header blurb.
945
946 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * dociterator.[Ch]: add an inset_ member
949         (backwardPos): implemented
950         (backwardPos, forwardPos): use inset_ when the stack is empty.
951         (doc_iterator_begin, doc_iterator_end): implemented
952         * pariterator.[Ch]: adjust, add begin, end
953         * insetiterator.[Ch]: adjust, add begin, end
954         * cursor.C:
955         * document.C:
956         * BufferView.C:
957         * BufferView_pimpl.C:
958         * CutAndPaste.C: adjust
959
960 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * buffer.C: increment file format to 232.
963         * LaTeXFeatures.C: add bibtopic package.
964         * bufferparams.[Ch]: param \use_bibtopic.
965
966         * lyxrc.[Ch]: add lyxrc bibtex_command
967         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
968
969         * buffer.C: increment file format to 231.
970
971 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
972
973         * dociterator.C: implement forwardPar
974         * iterators.[Ch]: remove, replaced by
975         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
976         * BufferView.C:
977         * BufferView_pimpl.C:
978         * CutAndPaste.C:
979         * buffer.C:
980         * bufferview_funcs.C:
981         * cursor.C:
982         * lyxfind.C
983         * lyxfunc.C
984         * paragraph_funcs.C
985         * toc.C:
986         * Makefile.am: adjust
987
988 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
989
990         * CutAndPaste.C (pasteSelection): fix 2 crashes
991         (eraseSelection): fix a crash
992         * paragraph_funcs.C: remove a warning
993
994 2004-03-28  Angus Leeming  <leeming@lyx.org>
995
996         * lfuns.h:
997         * LyXAction.C (init): new LFUN_PRINT.
998
999         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1000
1001 2004-03-27  Angus Leeming  <leeming@lyx.org>
1002
1003         * lfuns.h:
1004         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1005
1006         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1007
1008 2004-03-27  Angus Leeming  <leeming@lyx.org>
1009
1010         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1011         insetlist always contains non-null pointers to insets.
1012
1013 2004-03-26  Angus Leeming  <leeming@lyx.org>
1014
1015         * src/BufferView_pimpl.C:
1016         * src/CutAndPaste.C:
1017         * src/buffer.C:
1018         * src/iterators.C:
1019         * src/output_plaintext.C:
1020         * src/outputparams.h:
1021         * src/paragraph_funcs.C:
1022         * src/rowpainter.C:
1023         * src/text.C:
1024         * src/text2.C:
1025         * src/frontends/controllers/ControlErrorList.C:
1026         * src/frontends/gtk/FileDialogPrivate.C:
1027         * src/frontends/gtk/GPainter.C:
1028         * src/frontends/gtk/GToolbar.C:
1029         * src/frontends/qt2/QRef.C:
1030         * src/mathed/math_scriptinset.C: squash compiler warnings.
1031
1032 2004-03-26  Angus Leeming  <leeming@lyx.org>
1033
1034         * ispell.C (LaunchIspell::start):
1035         * lyx_cb.C (AutoSaveBuffer::start):
1036         invoke run(DontWait) rather than runNonBlocking().
1037
1038 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1041
1042 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * kbsequence.C (print): adjust
1045
1046         * kbmap.C (printKeySym): rename and change signature
1047         (printKey): use LyXKeySym::print()
1048
1049 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * undo.C: add using std::advance to compile for stlport
1052
1053 2004-03-24  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1056         it leads to a crash when no buffer is present.
1057
1058 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059             Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * lyxfunc.C (dispatch):
1062         * bufferparams.C (readToken): use the new LColor::setColor
1063
1064         * LColor.[Ch] (setColor): new version that takes two strings as
1065         argument and creates a new color entry if necessary
1066
1067 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1068
1069         * buffer.C (makeLaTeXFile): if the main latex file that is
1070         processed is usually a subdocument of some master, then pretend
1071         for a while that it is actually the master
1072
1073 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1074
1075         * buffer.C (getLabelList):
1076         (getBibkeyList): use getMasterBuffer()
1077         (getMasterBuffer): new method. Returns the main document in the
1078         case where one is using included documents.
1079
1080 2004-03-25  André Pönitz  <poenitz@gmx.net>
1081
1082         * Makefile.am:
1083         * iterators.[Ch]:
1084         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1085
1086         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1087
1088         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1089         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1090
1091         * ParameterStruct.h: merge with ParagraphParameters
1092
1093         * lyxtext.h: remove LyXText::parOffset() and getPar()
1094
1095         * text3.C: Remove all 'manual' update calls. We do now one per user
1096         interaction which is completely sufficient.
1097
1098         * Bidi.C:
1099         * BufferView.[Ch]:
1100         * BufferView_pimpl.C:
1101         * FontIterator.[Ch]:
1102         * MenuBackend.C:
1103         * ParagraphParameters.[Ch]:
1104         * buffer.C:
1105         * buffer.h:
1106         * bufferlist.C:
1107         * cursor.[Ch]:
1108         * cursor_slice.[Ch]:
1109         * dociterator.[Ch]:
1110         * errorlist.[Ch]:
1111         * factory.C:
1112         * lfuns.h:
1113         * lyxfind.C:
1114         * lyxfunc.C:
1115         * output_docbook.[Ch]:
1116         * output_latex.[Ch]:
1117         * output_linuxdoc.[Ch]:
1118         * output_plaintext.[Ch]:
1119         * paragraph.[Ch]:
1120         * paragraph_funcs.[Ch]:
1121         * paragraph_pimpl.[Ch]:
1122         * rowpainter.C:
1123         * tabular.[Ch]:
1124         * text.C:
1125         * text2.C:
1126         * toc.C:
1127         * undo.[Ch]: adjust
1128
1129         * frontends/controllers/ControlDocument.C:
1130         * frontends/controllers/ControlErrorList.C:
1131         * frontends/controllers/ControlSpellchecker.C:
1132         * insets/inset.C:
1133         * insets/inset.h:
1134         * insets/insetbase.h:
1135         * insets/insetbibitem.C:
1136         * insets/insetbox.C:
1137         * insets/insetbranch.C:
1138         * insets/insetcaption.C:
1139         * insets/insetcharstyle.C:
1140         * insets/insetcharstyle.h:
1141         * insets/insetcollapsable.C:
1142         * insets/insetcollapsable.h:
1143         * insets/insetert.C:
1144         * insets/insetfloat.C:
1145         * insets/insetfoot.C:
1146         * insets/insetmarginal.C:
1147         * insets/insetnote.C:
1148         * insets/insetoptarg.C:
1149         * insets/insettabular.C:
1150         * insets/insettext.C:
1151         * insets/insettext.h:
1152         * insets/insetwrap.C:
1153         * mathed/math_mboxinset.C:
1154         * mathed/math_nestinset.C:
1155         * mathed/math_scriptinset.C:
1156         * mathed/math_scriptinset.h:
1157         * support/types.h:
1158
1159 2004-03-24  Angus Leeming  <leeming@lyx.org>
1160
1161         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1162         deal with any child processes that have finished but are waiting to
1163         communicate this fact to the rest of LyX.
1164
1165 2004-03-24  Angus Leeming  <leeming@lyx.org>
1166
1167         64-bit compile fixes.
1168
1169         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1170         (c-tor): pass lyx::pos_types rather than ints.
1171
1172         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1173         lyx::pos_type.
1174
1175         * text.C (Delete): compile fix.
1176         (getPar): ensure that function declaration is the same as that in
1177         the header file.
1178
1179 2004-03-23  Angus Leeming  <leeming@lyx.org>
1180
1181         * ispell.C (LaunchIspell):
1182         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1183         a boost::shred_ptr rather than a std::auto_ptr.
1184
1185 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1188         handle LFUN_FILE_INSERT_*
1189
1190         * lyxrc.C (setDefaults, getDescription, output, read):
1191         * lyxrc.h: remove ps_command
1192
1193 2004-03-22  Angus Leeming  <leeming@lyx.org>
1194
1195         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1196         Ensure that error_handler is processed once only and that all data
1197         is saved before attempting to output any warning messages.
1198
1199         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1200
1201 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1204
1205 2004-03-19  André Pönitz  <poenitz@gmx.net>
1206
1207         * cursor.[Ch] (reset): take main text inset as argument
1208
1209         * BufferView: adjust
1210         * BufferView_pimpl.C: adjust
1211
1212         * paragraph.[Ch]: fix completely broken operator=()
1213
1214 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * LColor.C (getFromLyXName): make sure that the color name is used
1217         as lowercase.
1218
1219 2004-03-17  Angus Leeming  <leeming@lyx.org>
1220
1221         * lfuns.h:
1222         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1223
1224         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1225         dialog and to kill a forked process.
1226
1227 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * text2.C (setCursorFromCoordinates): fix font problem
1230
1231 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1234         bogus "rebuild cursor" code
1235
1236 2004-03-11  André Pönitz  <poenitz@gmx.net>
1237
1238         * buffer.[Ch]: use InsetText instead of LyXText as container for
1239         the main lyx text.
1240
1241         * dociterator.[Ch]: drop the BufferView * member which is not needed
1242         anymore after the change to buffer.C
1243
1244         * paragraph_funcs.C:
1245         * text.C:
1246         * text2.C:
1247         * BufferView.[Ch]:
1248         * BufferView_pimpl.[Ch]:
1249         * cursor.[Ch]:
1250         * cursor_slice.[Ch]: adjust
1251
1252         * text3.C: fix bug in mathDispatch
1253
1254 2004-03-08  André Pönitz  <poenitz@gmx.net>
1255
1256         * undo.[Ch]: use 'StableDocumentIterator' as base for
1257         the Undo struct.
1258
1259 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1260
1261         * LaTeXFeatures.C:
1262         * bufferparams.[Ch]: add jurabib support and param.
1263
1264         * LaTeX.C: add FIXME/comment.
1265
1266 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1267
1268         * buffer.C: increment file format to 230.
1269
1270 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * cursor.C (dispatch): avoid infinite loops
1273
1274 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * rowpainter.C (paintSelection): fix x coordinates
1277
1278 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1279
1280         * text.C (rowBreakPoint): fix breaking before displayed insets
1281
1282 2004-03-01  André Pönitz  <poenitz@gmx.net>
1283
1284         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1285
1286         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1287
1288         * Makefile.am:
1289         * BufferView.C:
1290         * BufferView_pimpl.C:
1291         * buffer.C:
1292         * lyxfind.C:
1293         * lyxfunc.C:
1294         * text.C:
1295         * text2.C:
1296         * text3.C: adjust
1297
1298 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * lyxtext.h:
1301         * text.C:
1302         * text2.C:
1303         * rowpainter.C:
1304         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1305         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1306
1307 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * Bidi.[Ch] (computeTables): const correctness
1310         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1311         fill_hfill, fill_label_hfill and x from Row
1312         * lyxtext.h: prepareToPrint returns a RowMetrics
1313         * rowPainter.C: adjust
1314         * text.C (prepareToPrint): use width, not textWidth. adjust
1315         (redoParagraphInternal, cursorX): adjust
1316         * text2.C (getColumnNearX): adjust
1317         (init): put a default value to the top LyXText::width
1318
1319 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1320
1321         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1322
1323 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * lyxtext.h: add FontIterator class
1326
1327         * text.C (FontIterator, operator*, operator->, operator++): add
1328         (rowBreakPoint, setRowWidth): adjust (fixing a
1329         rebreaking bug)
1330
1331 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1332
1333         * BufferView_pimpl.C (workAreaDispatch): allow also
1334         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1335
1336 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text.C (rowBreakPoint): fix a bug showing with very large insets
1339
1340 2004-02-25  André Pönitz  <poenitz@gmx.net>
1341
1342         * text3.C:
1343         * cursor.[Ch]: move some mathed specific code to mathed
1344
1345 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1346
1347         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1348         use_tempdir in preferences
1349         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1350         tempfile creation
1351         * lyx_main.C: ensure that tempdir is valid
1352         * lyxlex.h: correct typo
1353         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1354         * paragraph.[Ch] (isMultiLingual): make const
1355         * cursor.[Ch] (openable): make const
1356
1357 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1358
1359         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1360
1361 2004-02-20  André Pönitz  <poenitz@gmx.net>
1362
1363         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1364
1365         * cursor.[Ch]: prepare for localized getStatus()
1366
1367         * lyxtext.h:
1368         * tabular.C:
1369         * text.C:
1370         * text2.C:
1371         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1372
1373 2004-02-20  André Pönitz  <poenitz@gmx.net>
1374
1375         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1376
1377 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * text2.C (setCursorFromCoordinates): switch to absolute coords
1380         (cursorUp): adjust
1381         (cursorDown): adjust
1382         * text3.C (dispatch): adjust
1383
1384 2004-02-16  André Pönitz  <poenitz@gmx.net>
1385
1386         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1387           insets/ChangeLog)
1388
1389         * cursor_slice.[Ch]: remove unneeded acessor function
1390
1391         * lyxtext.h: rename rtl() to isRTL()
1392
1393         * rowpainter.C:
1394         * tabular.C:
1395         * text.C:
1396         * text2.C:
1397         * text3.C: adjust
1398
1399 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * rowpainter.C (paintSelection): coord fix
1402
1403 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1404
1405         * Spacing.C: compile fix
1406
1407 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * cursor.C (dispatch): restore current_ before returning
1410
1411 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * text2.C (cursorUp, cursorDown): fix coords
1414         (moveUp): fix crash
1415
1416 2004-02-12  André Pönitz  <poenitz@gmx.net>
1417
1418         * lyxtext.h:
1419         * text.C:
1420         * text2.C:
1421         * text3.C: add LCursor & parameter to most cursor movement functions
1422           remove usage of LyXText::cursorRow() and cursorPar()
1423
1424         * cursor.[Ch]: add textRow() needed members
1425
1426         * BufferView.C:
1427         * BufferView_pimpl.C:
1428         * paragraph.[Ch]:
1429         * BufferView.C:
1430         * BufferView_pimpl.C: adjust
1431
1432 2004-02-11  André Pönitz  <poenitz@gmx.net>
1433
1434         * lyxfunc.C:
1435         * BufferView.[Ch]:
1436         * BufferView_pimpl.C: shift undo/redo handling
1437
1438         * cursor.[Ch]: fix mathed crash
1439
1440         * lyxfind.C:
1441         * lyxtext.h: move selectionAsText to LCursor
1442
1443         * output_latex.C:
1444         * paragraph.C:
1445         * text.C:
1446         * text2.C:
1447         * text3.C: adjust
1448
1449         * rowpainter.C: fix excessive drawing
1450
1451 2004-02-06  André Pönitz  <poenitz@gmx.net>
1452
1453         * BufferView.[Ch]:
1454         * BufferView_pimpl.[Ch]:
1455         * text3.C: move some text specific LFUN handling
1456
1457 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1458
1459         * text3.C (checkInsetHit): adjust coords
1460         * text2.C (getColumnNearX): adjust coords
1461         (edit): adjust coords
1462         * text.C (getRowNearY): add two asserts
1463
1464 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * converter.C:
1467         * format.C: add using std::distance to compile on gcc 2.95/stlport
1468
1469 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1472
1473 2004-02-04  André Pönitz  <poenitz@gmx.net>
1474
1475         * BufferView.[Ch] (insertInset):
1476         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1477
1478         * text2.C:
1479         * text3.C: adjust
1480
1481 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1484         on the default clause of the switch
1485         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1486         wasn't catched by LCursor::dispatch
1487
1488 2004-02-03  André Pönitz  <poenitz@gmx.net>
1489
1490         * BufferView.C:
1491         * cursor.[Ch]: some additional asserts
1492
1493         * undo.[Ch]: remove LyXText dependency in interface
1494
1495         * lyxfunc.C: adjust
1496
1497         * lyxtext.h (firstPar, lastPar): remove dead functions
1498
1499         * text.C:
1500         * text2.C:
1501         * text3.C:
1502         * paragraph.[Ch]: adjust
1503
1504 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * lyxfind.C (find): fix argument order in call to ::find
1507
1508 2004-02-02  André Pönitz  <poenitz@gmx.net>
1509
1510         * cursor.[Ch]: remove direct access to anchor
1511
1512         * text.C: remove findText() hack
1513
1514 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * iterators.[Ch] (lockPath): remove in favour of...
1517         * BufferView.[Ch] (setCursor): this addition
1518         * BufferView.C (putSelectionAt): adjust
1519         * undo.C (performUndoOrRedo): adjust
1520         * lyxfunc.C (dispatch): adjust
1521
1522 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1523
1524         * iterators.C (lockPath): add a missing slice
1525         * undo.C (performUndoOrRedo): remove redundant positioning code
1526
1527 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1528
1529         * vc-backend.C (scanMaster): ";" -> ';'
1530
1531 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1532
1533         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1534         std::binary_function
1535
1536         * lyxtextclass.C (compare_name): rename to...
1537         (LayoutNamesEqual): ...this
1538
1539         * lyxlex_pimpl.C (compare_tags): inherit from
1540         std::binary_function, put back into anon namespace
1541
1542         * lyxfind.C (MatchString): inherig from std::binary_function
1543         (findChange): use empty() istead of !size()
1544
1545         * format.C (FormatNamesEqual): new functor
1546         (getFormat): use it
1547         (getNumber): use it
1548         (add): use it
1549         (erase): use it
1550         (setViewer): use it
1551
1552         * converter.C (compare_Converter): rename to...
1553         (ConverterEqual): ...this, and fixup a bit.
1554         (getConverter): use it, and make function const
1555         (getNumber): use it, and make function const
1556         (add): use it
1557         (erase): use it:
1558
1559         * bufferlist.C: add using boost::bind
1560
1561         * MenuBackend.C (MenuNamesEqual): new functor
1562         (hasMenu): use it, and make function const
1563         (hasSubmenu): use nested bind to get rid of compare_memfun.
1564
1565 2004-01-30  André Pönitz  <poenitz@gmx.net>
1566
1567         * BufferView_pimpl.C:
1568         * cursor.C:
1569         * cursor.h:
1570         * cursor_slice.[Ch]:
1571         * lyxfunc.C:
1572         * lyxtext.h:
1573         * paragraph_funcs.C:
1574         * paragraph_funcs.h:
1575         * rowpainter.C:
1576         * text.C:
1577         * text2.C:
1578         * text3.C: move some of the edit(x,y) handling to the insets
1579         some coordinate changes.
1580
1581 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1582
1583         * text.C: add using statements for std::advance and std::distance
1584
1585         * paragraph.C: add using statement for std::distance
1586
1587         * lyxfind.C: add using statement for std::advance
1588
1589         * cursor.C (region): remove std:: from swap
1590         (openable): use nucleus in stead of operator->
1591
1592         * BufferView.C: add using statements for std::distance and std::swap
1593
1594 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1595
1596         * iterators.C: Remove the pimple, move the needed structures to
1597         the header file. Create accessor for the positions stack.
1598         (asPosIterator): remove function
1599
1600         * PosIterator.C (PosIterator): move constructors to top of file
1601         (PosIterator): reimplement the constructor taking a ParIterator in
1602         terms of setFrom.
1603         (setFrom): new function
1604         (operator!=): inline it
1605
1606 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1607
1608         * lyxfind.C (replaceAll): use std::advance
1609
1610         * iterators.h: inherit from std::iterator.
1611
1612         * PosIterator.C (advance, distance): remove
1613         * PosIterator.h: interit from std::iterator.
1614
1615 2004-01-26  André Pönitz  <poenitz@gmx.net>
1616
1617         * BufferView.[Ch]:
1618         * BufferView_pimpl.[Ch]:
1619         * InsetList.[Ch]:
1620         * PosIterator.[Ch]:
1621         * buffer.h:
1622         * bufferview_funcs.C:
1623         * cursor.[Ch]:
1624         * cursor_slice.h:
1625         * factory.[Ch]:
1626         * iterators.[Ch]:
1627         * lyxfind.C:
1628         * lyxfunc.C:
1629         * lyxtext.h:
1630         * output_docbook.C:
1631         * output_latex.C:
1632         * output_linuxdoc.C:
1633         * output_plaintext.C:
1634         * paragraph.[Ch]:
1635         * paragraph_funcs.[Ch]:
1636         * paragraph_pimpl.[Ch]:
1637         * rowpainter.C:
1638         * tabular.C:
1639         * tabular.h:
1640         * text.C:
1641         * text2.C:
1642         * text3.C: more IU:  dumps most of the rest of the mathcursor
1643     implementation into cursor.[Ch]; "globalize" a bit of it.
1644
1645 2004-01-25  Angus Leeming  <leeming@lyx.org>
1646
1647         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1648
1649 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1650
1651         * LaTeXFeatures.h: add nice_ and nice() const
1652         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1653
1654 2004-01-20  André Pönitz  <poenitz@gmx.net>
1655
1656         * BufferView.[Ch]:
1657         * BufferView_pimpl.C:
1658         * PosIterator.C:
1659         * bufferview_funcs.C:
1660         * cursor.[Ch]:
1661         * cursor_slice.[Ch]:
1662         * factory.C:
1663         * iterators.C:
1664         * lyx_cb.C:
1665         * lyxfind.C:
1666         * lyxfunc.C:
1667         * lyxtext.h:
1668         * rowpainter.C:
1669         * text.C:
1670         * text2.C:
1671         * text3.C:
1672         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1673           LCursor and mathcursor parts to LCursor and InsetBase.
1674
1675 2004-01-15  André Pönitz  <poenitz@gmx.net>
1676
1677         * cursor_slice.[Ch]: add a few covienience functions
1678
1679         * funcrequest.[Ch]: remove BufferView * member
1680
1681         * BufferView_pimpl.C:
1682         * cursor.C:
1683         * factory.[Ch]:
1684         * lyxfind.[Ch]:
1685         * lyxfunc.C:
1686         * lyxtext.h:
1687         * text3.C:
1688         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1689
1690 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1693         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1694
1695 2004-01-13  André Pönitz  <poenitz@gmx.net>
1696
1697         * textcursor.[Ch]:
1698         * lyxtext.h: hide cursor and selection anchor behind accessor function
1699
1700         * BufferView.C:
1701         * BufferView_pimpl.[Ch]:
1702         * PosIterator.C:
1703         * bufferview_funcs.C:
1704         * cursor.h:
1705         * lyxfind.C:
1706         * lyxfunc.C:
1707         * text.C:
1708         * text2.C:
1709         * text3.C:
1710         * undo.C: adjust
1711
1712         * cursor.h:
1713         * cursor_slice.[Ch]: some integer type changes for inset unification
1714
1715         * lyxcursor.[hC]: remove, it's CursorSlice now.
1716
1717         * Makefile.am:
1718         * BufferView_pimpl.[Ch]:
1719         * bufferview_funcs.C:
1720         * cursor_slice.C:
1721         * lyxtext.h:
1722         * text.C:
1723         * text2.C:
1724         * text3.C:
1725         * textcursor.[Ch]: adjust
1726
1727 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1728
1729         * text2.C (undoSpan): add and use
1730         * text.C (breakParagraph): use undoSpan (fix bug 578)
1731         * lyxtext.h: adjust
1732
1733 2004-01-08  Angus Leeming  <leeming@lyx.org>
1734
1735         * BufferView_pimpl.C (MenuInsertLyXFile):
1736         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1737         * lyxfunc.C (menuNew, open, doImport):
1738         FileFilterList change to the FileDialog open and save functions.
1739
1740 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1741
1742         * ShareContainer.h: make isEqual and isUnique adaptable
1743
1744         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1745
1746 2004-01-07  Angus Leeming  <leeming@lyx.org>
1747
1748         * LyXAction.C:
1749         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1750
1751         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1752
1753         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1754         functions replacing find, replace and replaceAll.
1755
1756         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1757         LFUN_WORDFIND(FORWARD|BACKWARD).
1758
1759 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * text.C (breakParagraph): remove an outdated #warning
1762
1763 2004-01-07  André Pönitz  <poenitz@gmx.net>
1764
1765         * lyxfind.C: somewhat clearer logic
1766
1767         * text.C: prevent crash in cursorX on unitialized row cache
1768
1769 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * lyxcursor.[Ch] (operator>): add
1772         * textcursor.C (selStart, selEnd): use std::min and std::max
1773
1774 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1775
1776         * Chktex.C: include boost/format.hpp
1777
1778 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1779
1780         * InsetList.C: replace functor MathcIt with adaptable functor
1781         InsetTablePosLess
1782         (insetIterator): modify accordingly
1783
1784         * BranchList.h: move the BranchNamesEqual functor here from...
1785         * BranchList.C: ... to here
1786
1787         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1788         SameName and match.
1789         (add): replace a finding loop with std::find_if.
1790
1791 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * output_docbook.C: moving LatexParam functionality into
1794         .layout files
1795
1796 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1797
1798         * buffer.C: increment format to 229.
1799
1800 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1801
1802         * LaTeXFeatures.C:
1803         * lyx_sty.[Ch]: remove minipageindent_def
1804
1805         * LyXAction.C:
1806         * factory.C:
1807         * lfuns.h:
1808         * lyxfunc.C:
1809         * text3.C: remove LFUN_INSET_MINIPAGE
1810
1811 2003-12-28  Angus Leeming  <leeming@lyx.org>
1812
1813         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1814
1815 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * text2.C (setParagraph): fix off-by-one crash
1818
1819 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1820
1821         * output_docbook.C: header stuff for AGU
1822
1823 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * text2.C (redoCursor): remove
1826         * text.C:
1827         * text3.C:
1828         * BufferView_pimpl.C: remove calls to redoCursor and
1829         setCursor(cursor.par(), cursor.pos()) all around
1830
1831 2003-12-15  Angus Leeming  <leeming@lyx.org>
1832
1833         * buffer.C: up the format to 228.
1834
1835 2003-12-15  André Pönitz  <poenitz@gmx.net>
1836
1837         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1838         slices
1839
1840         * Makefile.am:
1841
1842         * BufferView_pimpl.C:
1843         * cursor.[Ch]:
1844         * lyxcursor.[Ch]:
1845         * rowpainter.[Ch]:
1846         * lyxtext.h:
1847         * text.C:
1848         * text2.C:
1849         * text3.C: adjust
1850
1851 2003-12-15  Angus Leeming  <leeming@lyx.org>
1852
1853         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1854         than getFromGUIName to manipulate the color.
1855
1856 2003-12-14  Angus Leeming  <leeming@lyx.org>
1857
1858         * BranchList.[Ch]: minimize the API.
1859         (Branch::getBranch, getColor): now return a 'const &'.
1860         (Branch::setSelected) now returns a bool set to true if the
1861         selection status changes.
1862         (BranchList::clear, size, getColor, setColor, setSelected,
1863         allBranches, allSelected, separator): removed.
1864         (BranchList::find): new functions, returning the Branch with
1865         the given name.
1866         (BranchList::add, remove): return a bool indicating that
1867         the operation was successful.
1868
1869         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1870         new InsetBranch::isBranchSlected member function.
1871
1872         * LColor.[Ch]: mimimize the API.
1873         (fill): renamed as addColor and made private.
1874         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1875         versions of these functions taking a string arg have been removed.
1876
1877         * bufferparams.C (readToken):
1878         * lyxfunc.C (dispatch):
1879         * lyxrc.C (read): changes due to the altered BranchList and
1880         LColor APIs.
1881
1882         * factory.C (createInset, readInset): changes due to altered
1883         InsetBranch c-tor.
1884
1885 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1886
1887         * factory.C:
1888         * lyxfunc.C: remove insetminipage. "minipage-insert"
1889         now produces a frameless minipage box inset.
1890
1891 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * textcursor.[Ch] (selStart,selEnd): add new methods
1894         remove selection::start, end, use LyXCursor::operator<
1895         * lyxcursor.[Ch] (operator<): add
1896         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1897         * BufferView.[Ch] (unsetXSel): add
1898         * text2.C (clearSelection): use unsetXSel,adjust
1899         * text.C: adjust
1900         * text3.C: adjust
1901         * rowpainter.C: adjust
1902         * bufferview_funcs.C (put_selection_at): adjust
1903
1904 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1905
1906         * BufferView_pimpl.C: small coord. correction
1907
1908 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1911         dragging over the splash screen.
1912
1913 2003-12-11  Angus Leeming  <leeming@lyx.org>
1914
1915         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1916         as it is now handled in LyXText::dispatch.
1917
1918         * text3.C (doInsertInset): remove a level of nesting.
1919
1920 2003-12-11  Angus Leeming  <leeming@lyx.org>
1921
1922         * factory.C (createInset): changes due to the changed interface to
1923         InsetCommandMailer::string2params.
1924
1925 2003-12-10  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1928         'dialog-show-new-inset <inset name>'
1929
1930 2003-12-10  Angus Leeming  <leeming@lyx.org>
1931
1932         * buffer.C: up the format to 227.
1933
1934         * factory.C: the box inset is now identified simply by 'Box'.
1935
1936 2003-12-10  Angus Leeming  <leeming@lyx.org>
1937
1938         * buffer.C: up the format to 226.
1939
1940         * factory.C: the note inset is now identified simply by 'Note'.
1941
1942 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1943
1944         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1945         when a pit is enough. Standarize a couple of loops.
1946
1947 2003-12-05  Angus Leeming  <leeming@lyx.org>
1948
1949         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1950         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1951         data to the re-worked "log" dialog.
1952
1953 2003-12-03  André Pönitz  <poenitz@gmx.net>
1954
1955         * PosIterator.C:
1956         * iterators.C:
1957         * lyxtext.h:
1958         * output_latex.C:
1959         * paragraph_funcs.C:
1960         * text.C:
1961         * text2.C: use Inset::getText instead of Inset::getParagraph
1962
1963 2003-12-03  André Pönitz  <poenitz@gmx.net>
1964
1965         * buffer.[Ch]:
1966         * lyxtext.h:
1967         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1968         InsetText::read() as LyXText::read()
1969
1970 2003-12-02  Angus Leeming  <leeming@lyx.org>
1971
1972         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1973         type. Add a comment in the implementation that the function uses
1974         the stream's bad() function rather than fail() as the std::streams
1975         would do.
1976
1977 2003-12-02  André Pönitz  <poenitz@gmx.net>
1978
1979         * lyxlex.[Ch]: make interface more similar to std::stream
1980
1981         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1982
1983 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1984
1985         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1986
1987 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1988
1989         * vspace.[Ch]: remove VSpace::NONE
1990
1991 2003-12-01  André Pönitz  <poenitz@gmx.net>
1992
1993         * buffer.[Ch]:
1994         * lyxtext.h: move ParagraphList member to LyXText
1995         rename LyXText::ownerParagraphs to LyXText::paragraph
1996
1997         * CutAndPaste.C:
1998         * bufferview_funcs.C:
1999         * iterators.[Ch]:
2000         * lyx_cb.C:
2001         * paragraph.C:
2002         * rowpainter.C:
2003         * tabular.C:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: adjust
2007
2008         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2009
2010         * undo.C: fix cursor positioning
2011
2012 2003-12-01  John Levon  <levon@movementarian.org>
2013
2014         * BufferView_pimpl.C: fix a crash on exit with
2015         a buffer open
2016
2017 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2018
2019         * BranchList.C: fix setSelected() method.
2020
2021 2003-11-28  André Pönitz  <poenitz@gmx.net>
2022
2023         * ParagraphParameters.[Ch]:
2024         * ParameterStruct.h: remove space above/below from Paragraph to
2025          InsetVSpace
2026
2027         * BufferView_pimpl.C:
2028         * factory.C:
2029         * lyxfunc.C:
2030         * lyxtext.h:
2031         * output_latex.C:
2032         * paragraph.C:
2033         * paragraph_funcs.C:
2034         * rowpainter.[Ch]:
2035         * text.C:
2036         * text2.C:
2037         * text3.C: adjust
2038
2039 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2040
2041         * factory.C: Syntax change for CharStyles
2042
2043 2003-11-28  André Pönitz  <poenitz@gmx.net>
2044
2045         * BufferView.[Ch]:
2046         * BufferView.[Ch]:
2047         * buffer.[Ch]:
2048         * buffer.[Ch]: move LyXText member
2049
2050 2003-11-28  André Pönitz  <poenitz@gmx.net>
2051
2052         * BufferView.[Ch]: make LyXText * text a private member
2053
2054         * BufferView_pimpl.C:
2055         * cursor.C:
2056         * iterators.C:
2057         * lyx_cb.C:
2058         * lyxfind.C:
2059         * lyxtext.h:
2060         * rowpainter.[Ch]:
2061         * text.C:
2062         * text2.C:
2063         * undo.C: adjust
2064
2065         * output_plaintext.C: cleanup
2066
2067 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2068
2069         * buffer.C:
2070         * lyxtextclass.[Ch]: parametrize SGML document header
2071
2072 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2073
2074         * converter.[Ch]:
2075         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2076         getFlavor().
2077
2078 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * text2.C (setFont): rework using PosIterator (no more recursive)
2081         (setCharFont): no more needed
2082         (setLayout): no more selection cursors fiddling (done by redoCursor)
2083         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2084         destroy remaining ones)
2085
2086 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2087
2088         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2089         * lyxtext.h: ditto
2090         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2091         selection cursors
2092         * lyxfunc.C: adjust
2093         * text3.C: adjust + re-allow multi par depth changes
2094         * textcursor.C: simplify a bit
2095
2096 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2097
2098         * src/buffer.C:
2099         * src/lyxlayout.C:
2100         * src/lyxlayout.h:
2101         * src/lyxtext.h:
2102         * src/output_docbook.C:
2103         * src/output_latex.C:
2104         * src/paragraph.C:
2105         * src/paragraph.h:
2106         * src/sgml.C:
2107         * src/sgml.h:
2108         * src/text2.C: Introducing a number of tags parametrizing various
2109         XML formats that we may want to support
2110
2111 2003-11-25  André Pönitz  <poenitz@gmx.net>
2112
2113         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2114
2115         * lyxtext.h (leftMargin/rightMargin): simplify interface
2116
2117         * rowpainter.C:
2118         * text.C:
2119         * text2.C:
2120         * text3.C: adjust
2121
2122 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2123
2124         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2125         master file to any child files. Fixes bug 546.
2126
2127 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2130
2131 2003-11-24  André Pönitz  <poenitz@gmx.net>
2132
2133         * rowpainter.C: simplification
2134
2135         * text2.C (updateCounters): remove call to redoParagraph on
2136         changed labels as this is far too expensive.
2137
2138 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * converter.C (convert): fix a crash: this function gets
2141         called with buffer == 0 from importer code.
2142
2143 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2144
2145         * text3.C (cursorPrevious): make sure that we do not compare
2146         iterators form different containers.
2147         (cursorNext): ditto
2148
2149         * rowpainter.C (paintSelection): make sure that we do not compare
2150         iterators from different containers.
2151
2152         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2153         iterators from different ParagraphList containers.
2154         [NEXT] ditto
2155
2156         * text2.C (LyXText): change order of initialization slightly
2157         (operator=): new function. copy all variables except cache_par_
2158         (moveUp): make sure that we do not compare iterators from
2159         different ParagraphList constainers.
2160         (moveDown): ditto
2161
2162         * text.C (firstPar): new function
2163         (lastPar): new function
2164         (endPar): new function
2165
2166         * lyxtext.h: move things around and group public functions, public
2167         variables, private functions, private variables
2168
2169 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2170
2171         * factory.C: change call to InsetERT constructor to avoid
2172         additional invocation of method status
2173         * text2.C (toggleInset): remove redundant update() call
2174         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2175         instead of a Bufferview pointer
2176
2177 2003-11-21  André Pönitz  <poenitz@gmx.net>
2178
2179         * rowpainter.C: simplification
2180
2181 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * text3.C (dispatch): make possible to extend a word/row selection
2184         with the mouse
2185
2186 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * lyxtext.h: x0_,y0_ -> xo_,yo_
2189         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2190         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2191         * rowpainter.C (paintRows): paint full paragraphs
2192
2193 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2194
2195         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2196         screen coordinates)
2197
2198 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * lyxtext.h: add x0_, y0_
2201         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2202         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2203
2204 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * text2.C (setCursorIntern): move the x_target update here *
2207         * text3.C: change some bv() to true/false in calls to
2208         cursorUp/Down/Right/Left
2209         * cursor.C: use helper function.
2210
2211 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2214         * paragraph_funcs.[Ch]: correct comment
2215         * rowpainter.C: do not paint selections away from bv->cursor()
2216         Fix a long standing selection painting bug.
2217         * text3.C: generalize mouse-selection code to LyXTexts other that
2218         top one
2219         * textcursor.C: do not use y coords if we can use par offsets
2220
2221 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2224         cursor position after e.g. inset insert)
2225
2226 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * lyxfind.C (replace): adjust to locking removal + some
2229         code simplification
2230
2231 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2232
2233         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2234         of the path
2235
2236 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * lyxlayout.[Ch]:
2239         * output_docbook.C: XML sanitation: new layout
2240         parameters InnerTag and CommandDepth
2241
2242 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * BufferView_pimpl.C:
2245         * factory.C:
2246         * text3.C: Fix the insertion and modification of button-style
2247         insets
2248
2249 2003-11-13  André Pönitz  <poenitz@gmx.net>
2250
2251         * InsetList.[Ch]: remove deleteLyXText
2252
2253         * paragraph.[Ch]: cache beginOfBody position
2254
2255         * Bidi.C:
2256         * text.C:
2257         * text2.C:
2258         * text3.C: remove superfluous update() calls
2259
2260         * vspace.C: cleanup
2261
2262 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2265         * BufferView.C (fitLockedInsetCursor): remove
2266         * cursor.[Ch] (getDim): add
2267         * text.C (getRowNearY): add faster version
2268         * text3.C: remove some update calls
2269
2270 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2271
2272         * LaTeXFeatures.C:
2273         * LyXAction.C:
2274         * MenuBackend.C:
2275         * MenuBackend.h:
2276         * dispatchresult.h:
2277         * factory.C:
2278         * lfuns.h:
2279         * lyxfunc.C:
2280         * lyxtextclass.C:
2281         * lyxtextclass.h:
2282         * text3.C: The Character Style /XML short element patch.
2283
2284 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2285
2286         * text3.C:
2287         * factory.C: Small step to solving 'unable to insert some insets'
2288         problem
2289
2290 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2291
2292         * cursor.[Ch] (updatePos): new function for updating the y
2293         position of the tip inset
2294         * bufferview_funcs.C (put_selection_at):
2295         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2296
2297 2003-11-11  André Pönitz  <poenitz@gmx.net>
2298
2299         * text.C: remove big comment on invalid Paragraph pointers as it is
2300         not valid anymore
2301
2302 2003-11-11  André Pönitz  <poenitz@gmx.net>
2303
2304         * text_funcs.[Ch]: merge with ...
2305
2306         * text.C: ... this
2307
2308         * lyxtext.h:
2309         * text2.C:
2310         * text3.C: adjust
2311
2312         * Makefile.am: remove text_funcs.[Ch]
2313
2314 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2315
2316         * cursor.C (getPos): return absolute cached y coord
2317
2318         * BufferView_pimpl.C (fitCursor): new simplistic code
2319         (workAreaDispatch): add a fitCursor call
2320
2321 2003-11-10  André Pönitz  <poenitz@gmx.net>
2322
2323         * BufferView.[Ch]:
2324         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2325
2326 2003-11-10  André Pönitz  <poenitz@gmx.net>
2327
2328         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2329         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2330         indicate that the cursor needs to leave an inset
2331
2332         * lyxtext.h: remove inset locking
2333
2334         * cursor.[Ch]: re-implement functionality provided by inset locking
2335
2336         * BufferView.[Ch]:
2337         * BufferView_pimpl.[Ch]:
2338         * LyXAction.C:
2339         * bufferview_funcs.[Ch]:
2340         * factory.C:
2341         * funcrequest.[Ch]:
2342         * iterators.C:
2343         * lyx_cb.C:
2344         * lyxfind.C:
2345         * lyxfunc.C:
2346         * text.C:
2347         * text2.C:
2348         * text3.C:
2349         * undo.C: adjust
2350
2351 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2352
2353         * PosIterator.[Ch]: replace the stack with a vector, add inset
2354         accesor
2355         * iterators.[C]: adjust
2356
2357 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2358
2359         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2360         replaced
2361         * paragraph_funcs.C (readParToken): put the correct id in the
2362         error item, not the id of the top paragraph
2363
2364 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2365
2366         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2367         * bufferview_funcs.C (put_selection_at): use the above
2368
2369 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2370
2371         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2372
2373 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * output_linuxdoc.h:
2376         * output_plaintext.h:
2377         * output.h:
2378         * output_docbook.h: add #include statements
2379
2380 2003-11-05  José Matos  <jamatos@lyx.org>
2381
2382         * output_docbook.[Ch]:
2383         * output_latex.[Ch]:
2384         * output_linuxdoc.[Ch]:
2385         * output_plaintext.[Ch]: New files for output formats.
2386         * output.[Ch]: New file for helper functions.
2387
2388         * buffer.[Ch]:
2389         * paragraph_funcs.[Ch]: output functions moved to new files.
2390
2391         * outputparams.h: rename of latexrunparams.h
2392
2393         * LaTeX.[Ch]:
2394         * buffer.[Ch]:
2395         * bufferlist.[Ch]:
2396         * converter.[Ch]:
2397         * exporter.C:
2398         * paragraph.[Ch]:
2399         * paragraph_funcs.[Ch]:
2400         * paragraph_pimpl.[Ch]:
2401         * tabular.[Ch]: rename ascii to plaintext
2402         and LatexRunParams to OutputParams.
2403
2404 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2405
2406         * iterators.[Ch] (text): require bv argument
2407         * undo.C (recordUndo):
2408         * lyxfunc.C (dispatch):
2409         * bufferview_funcs.C (put_selection_at): adjust
2410
2411 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2412
2413         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2414
2415 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2416
2417         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2418         nestings
2419
2420 2003-11-04  André Pönitz  <poenitz@gmx.net>
2421
2422         * cursor.[Ch]: restructure
2423
2424         * BufferView.[Ch]:
2425         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2426
2427         * iterators.[Ch] (asCursor): remove
2428
2429         * lfuns.h: remove LFUN_INSET_EDIT
2430
2431         * lyxfunc.C:
2432         * tabular.C:
2433         * text.C:
2434         * text2.C:
2435         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2436
2437 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * lyxfind.[Ch]: complete overhaul
2440         * BufferView_pimpl.C:
2441         * lyxfunc.C: adjust
2442         * paragraph.[Ch] (insert): add
2443
2444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2445
2446         * BufferView.[Ch]:
2447         * lyxtext.h:
2448         * text.C: remove dead spellcheck code
2449
2450 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * dispatchresult.h: add a val setter
2453
2454         * cursor.C (dispatch): use a tempvar for data_[i]
2455
2456 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * PosIterator.[Ch]: compile fix
2459
2460 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * text.C (cursorPar): deactivate the cursor cache
2463
2464 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2467
2468 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2469
2470         * text3.C (dispatch): adjust for new DisptchResult semantics.
2471
2472         * lyxfunc.C (dispatch): handle update when return from
2473         Cursor::dispatch, adjust for new DispatchResult semantics.
2474
2475         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2476         DispatchResult(true) mean to not update. Add class functions for
2477         setting dispatched and update, as well as reading.
2478
2479         * cursor.C (dispatch): don't handle update here
2480
2481 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2484         * trans_mgr.C: adjust
2485
2486         * paragraph_funcs.C (readParToken): exception safety
2487
2488         * lyxvc.h: store the vcs pointer in a scoped_ptr
2489         * lyxvc.C: adjust
2490
2491         * lyxsocket.C (serverCallback): exception safety
2492
2493         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2494
2495         * ispell.C (clone): make it return a auto_ptr
2496
2497         * factory.C (createInset): exception safety
2498         (readInset): exception safety
2499
2500         * bufferlist.C (newBuffer): exception safety
2501
2502         * Thesaurus.C (Thesaurus): use initialization for aik_
2503
2504         * MenuBackend.C (expandToc): exception safety.
2505
2506 2003-11-03  André Pönitz  <poenitz@gmx.net>
2507
2508         * buffer.C:
2509         * buffer.h:
2510         * bufferview_funcs.C: remove getInsetFromId()
2511
2512         * lyxcursor.[Ch]:
2513         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2514
2515         * lyxfunc.C:
2516         * text2.C:
2517         * text3.C: adjust
2518
2519 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2520
2521         * PosIterator.C (distance, advance): new
2522         * bufferview_funcs.[Ch] (put_selection_at): new
2523         * iterators.[Ch] (lockPath): new
2524
2525 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * iterators.[Ch] (asPosIterator): added
2528         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2529         * PosIterator.[Ch]: added
2530
2531 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2532
2533         * text3.C:
2534         * lyxfunc.C:
2535         * cursor.C (dispatch):
2536         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2537
2538         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2539         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2540         contructor, add a class function dispatched. Remove operator>=
2541
2542 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2543
2544         * debug.C: only use the default constructor for debugstream
2545         (lyxerr) here.
2546
2547         * main.C (main): include debug.h and setup the lyxerr streambuf
2548         here.
2549
2550 2003-10-31  José Matos  <jamatos@lyx.org>
2551
2552         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2553
2554         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2555         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2556         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2557         * paragraph_pimpl.C (simpleTeXSpecialC):
2558         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2559         add LatexRunParams argument.
2560
2561         * exporter.C (Export): change call accordingly.
2562
2563         * latexrunparams.h: add new member to take care of the other backends.
2564 2003-10-30  José Matos  <jamatos@lyx.org>
2565
2566         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2567         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2568         factorise code for paragraph output.
2569         * buffer.[Ch]:
2570         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2571         move functions.
2572
2573 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * text3.C (dispatch):
2576         * lyxfunc.C (dispatch):
2577         * cursor.C (dispatch):
2578         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2579
2580         * dispatchresult.h: make the dispatch_result_t ctor explicit
2581
2582 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * sgml.[Ch]:
2585         * buffer.C: small refactoring of docbook stuff
2586
2587 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2590         meaning.
2591
2592 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2595         operator dispatch_result_t, and operators for == != and >=
2596
2597         * cursor.C (dispatch): adjust for operator dispatch_result_t
2598         removal. comment out call to update
2599
2600         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2601
2602 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * text3.C:
2605         * text2.C:
2606         * text.C:
2607         * lyxtext.h:
2608         * lyxfunc.C:
2609         * cursor.C:
2610         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2611         (dispatch):
2612
2613         * dispatchresult.h: new file, DispatchResult broken out of
2614         insets/insetbase.h
2615
2616         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2617
2618 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * text.C (rowBreakPoint): put a hack inside #if 0
2621
2622 2003-10-28  André Pönitz  <poenitz@gmx.net>
2623
2624         * lyxtext.h:
2625         * metricsinfo.C:
2626         * paragraph_funcs.C:
2627         * rowpainter.C:
2628         * text.C:
2629         * text2.C: general cleanup (lots of small stuff)
2630
2631 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2632
2633         * text2.C (cursorEnd): simple fix to the "end key goes to one
2634         before the end on last row" bug
2635
2636 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2637
2638         * text.C (backspace): fix the "zombie characters"
2639
2640 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2643
2644 2003-10-27  André Pönitz  <poenitz@gmx.net>
2645
2646         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2647
2648         * factory.C: handle new InsetPagebreak, InsetLine
2649
2650         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2651         and move handling into new InsetPagebreak, InsetLine
2652
2653         * BufferView_pimpl.C:
2654         * LyXAction.C:
2655         * ParagraphParameters.C:
2656         * ParameterStruct.h:
2657         * lyxfunc.C:
2658         * lyxtext.h:
2659         * paragraph.C:
2660         * paragraph.h:
2661         * paragraph_funcs.C:
2662         * paragraph_pimpl.C:
2663         * rowpainter.C:
2664         * text.C:
2665         * text2.C:
2666         * text3.C: adjust
2667
2668 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2669
2670         * text.C:
2671         * lyxrow_funcs.[Ch]:
2672         * Bidi.C:
2673         * paragraph.C:
2674         * lyxtext.h:
2675         * rowpainter.C:
2676         * text2.C:
2677         * text3.C: remove lastPos uses in favour of Row::endpos
2678
2679 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * undo.C (performUndoOrRedo): fix two crashes by setting a
2682         cursor by hand and reordering some calls. Use bv->lockInset instead
2683         of inset->edit because the latter loses cursor information
2684
2685 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2686
2687         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2688         by Martin
2689         (rowBreakPoint): fix width. change point to point + 1.
2690         Add a missing check.
2691
2692 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2693
2694         * MenuBackend.C:
2695         * lyxfunc.C: fix (at least partly) the problems
2696         with the Nav menu and headers inside branch insets
2697         reported by Kayvan
2698
2699 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * paragraph.C (getChar): add strong asserts
2702
2703         * lyxrow_funcs.C (lastPos): remove hideous hack
2704
2705         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2706         (fill): adjust to that (avoid an infinite loop)
2707
2708 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2709
2710         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2711
2712 2003-10-23  André Pönitz  <poenitz@gmx.net>
2713
2714         * RowList_fwd.h: change list<> to vector<> to gain speed
2715         after suggestion from Alfredo
2716
2717 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2718
2719         * lyxtext.h: move the bidi stuff from here...
2720         * text.C: and here
2721         * text2.C: and here
2722         * Bidi.[Ch]: ... to here
2723
2724 2003-10-23  André Pönitz  <poenitz@gmx.net>
2725
2726         * lyxtext.h:
2727         * text.C (isLastRow, isFirstRow): new functions
2728
2729         * paragraph.h: new width cache member
2730
2731         * rowpainter.C: replace RowList::iterator with Row & where possible
2732
2733         * lyxfunc.C: replace several view()->text with a single call
2734
2735         * toc.C: fix 'unused' warning
2736
2737 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2738
2739         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2740         when woring with stream::pos_type
2741         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2742
2743 2003-10-22  André Pönitz  <poenitz@gmx.net>
2744
2745         * lyxtext.h:
2746         * text.C: use Row & instead of RowList::iterator
2747
2748         * lyxrow.h: rename end() to endpos()
2749
2750         * rowpainter.C:
2751         * text.C:
2752         * text2.C: adjust
2753
2754 2003-10-22  Angus Leeming  <leeming@lyx.org>
2755
2756         * buffer.[Ch] (fully_loaded): new member function, returning true
2757         only when the file has been loaded fully.
2758         Used to prevent the premature generation of previews and by the
2759         citation inset to prevent computation of the natbib-style label.
2760
2761         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2762         templates are all set up.
2763
2764         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2765
2766 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2767
2768         * text.C: fixed an "oops" in the "is a bit silly"
2769         bug fix
2770
2771 2003-10-21  André Pönitz  <poenitz@gmx.net>
2772
2773         * FuncStatus.[Ch]: small stuff, whitespace
2774
2775         * lyxfont.[Ch]: operator<<() for debug reasons
2776
2777         * lyxfunc.C:
2778         * lyxrow_funcs.C:
2779         * lyxtext.h: whitespace, spelling
2780
2781         * paragraph.C: naming of variables
2782
2783         * text.C:
2784         * text2.C: small stuff
2785
2786
2787 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * text.C: (1) finish off the inset display() work;
2790         (2) fix the "is a bit silly" bug (accessing char
2791         past end of par).
2792
2793 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2794
2795         * text.C: re-introduce display() for insets, fixing the
2796         various bugs (stretch of line above, math inset
2797         positioning, ...)
2798
2799 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * text.C (rightMargin): remove spurious semicolon
2802
2803         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2804         1415)
2805
2806 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * text3.C: fix one crash due to wrong cursor def
2809
2810 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * vc-backend.C (scanMaster): make the regex static
2813
2814         * LaTeX.C (scanAuxFile): make the regexs static
2815
2816         * text3.C (doInsertInset, dispatch, dispatch):
2817         * text2.C (cursorUp, cursorDown):
2818         * text.C (selectNextWordToSpellcheck):
2819         * BufferView_pimpl.C (dispatch):
2820         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2821
2822 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2823
2824         * lyxsocket.C: include <cerrno>
2825
2826 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * lyxfunc.C (dispatch): remove textcache stuff
2829
2830         * bufferlist.C (release): remove textcache stuff
2831         (closeAll): ditto
2832
2833         * TextCache.C: delete file
2834         * TextCache.h: delete file
2835
2836         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2837
2838         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2839         delete of the bv_->text.
2840         (resizeCurrentBuffer): remove texcache stuff
2841         (workAreaResize): ditto
2842
2843 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2846         action.
2847
2848 2003-10-16  André Pönitz  <poenitz@gmx.net>
2849
2850         * lyxrow.[Ch]:
2851         * paragraph.h:
2852         * rowpainter.C:
2853         * text.C:
2854         * text2.C:
2855         * text3.C: speed up by storing y positions per paragraph plus per-row
2856         offset instead of having a 'full' y position in the row.
2857
2858 2003-10-15  André Pönitz  <poenitz@gmx.net>
2859
2860         * iterators.[Ch]:
2861         * iterators.[Ch]:
2862         * undo.[Ch]: make undo aware of inner insets
2863
2864 2003-10-14  Angus Leeming  <leeming@lyx.org>
2865
2866         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2867         static member functions LyX::ref() and LyX::cref.
2868         (lastfiles): new accessor functions for the new lastfiles_ member var.
2869         (addLyXView, views_): add a new LyXView to the list of views_.
2870         (updateInset): loop over all LyXViews to call their own updateInset
2871         member function, returning a pointer to the Buffer owning the inset.
2872
2873         * BufferView_pimpl.C (loadLyXFile):
2874         * MenuBackend.C (expandLastfiles):
2875         * bufferlist.C (MenuWrite, QuitLyX):
2876         lastfiles is no longer a global variable.
2877         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2878
2879         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2880         static function. Access through LyX::cref().emergencyCleanup().
2881
2882 2003-10-14  André Pönitz  <poenitz@gmx.net>
2883
2884         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2885
2886         * undo.[Ch]: restoring part of 'undo in insets'
2887
2888         * Makefile.am:
2889         * undo_funcs.[Ch]: merge with undo.[Ch]
2890
2891         * tabular.C: small cleansing stuff
2892
2893 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2894
2895         * paragraph_funcs.C (readParToken): report unknown insets as error
2896         boxes. Use the outer paragraph as location (also for unknown
2897         tokens).
2898
2899         * factory.C (readInset): do not abort on reading an unknown inset.
2900         Eat it and return 0.
2901
2902 2003-10-13  Angus Leeming  <leeming@lyx.org>
2903
2904         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2905
2906         * lyxrc.C: displayTranslator is now a function,
2907         declared in GraphicsTypes.h.
2908
2909 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2910
2911         * format.C: new placeholder $$a to pass the socket address.
2912
2913         * bufferlist.[Ch]: new function getBufferFromTmp.
2914
2915         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2916           files in the temporary dir.
2917
2918 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2919
2920         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2921
2922         * Makefile.am: add lyxsocket.[Ch].
2923
2924         * lyx_main.C (error_handler): handle SIGPIPE.
2925
2926 2003-10-13  André Pönitz  <poenitz@gmx.net>
2927
2928         * BufferView_pimpl.C:
2929         * lyxtext.h:
2930         * text.C:
2931         * text2.C:
2932         * text3.C:
2933         * undo_funcs.[Ch]: use paroffset_type instead of
2934           ParagraphList::iterators to prevent multiple conversion
2935           (and get a more robust interface)
2936
2937 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2940         * lyxtext.h: ditto
2941         * text3.C (dispatch): ditto
2942
2943 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2944
2945         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2946         move the onlyfile, use onlyfile instead of foundfile in a couple
2947         of places.
2948
2949         * DepTable.C (update): flush the error stream a bit more
2950
2951 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * lyxserver.C (callback): adjust
2954
2955         * lyxfunc.C (getStatus): add a missing brace in commented code
2956         (ensureBufferClean): reindent
2957         (dispatch): delete version taking a string
2958
2959 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * LaTeX.C (deplog): move found file handlig from here...
2962         (handleFoundFile): .. to new function here.
2963         (deplog): make sure to discover several files mentioned on the
2964         same log line.
2965
2966 2003-10-10  André Pönitz  <poenitz@gmx.net>
2967
2968         * lyxfunc.C:
2969         * lyxtext.h:
2970         * tabular.C:
2971         * text.C:
2972         * text2.C:
2973         * text3.C: fix some of the tabular crashes
2974
2975 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2976
2977         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2978
2979         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2980
2981 2003-10-09  André Pönitz  <poenitz@gmx.net>
2982
2983         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2984
2985         * BufferView.C:
2986         * BufferView_pimpl.C:
2987         * bufferview_funcs.C:
2988         * lyx_cb.C:
2989         * lyxcursor.C:
2990         * lyxfind.C:
2991         * lyxfunc.C:
2992         * lyxtext.h:
2993         * text.C:
2994         * text2.C:
2995         * text3.C:
2996         * text_funcs.[Ch]:
2997         * textcursor.[Ch]:
2998         * undo_funcs.C: adjust
2999
3000 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3001
3002         * text2.C (incrementItemDepth): new function, use a backtracking
3003         algorithm to discover the correct item depth.
3004         (resetEnumCounterIfNeeded): new function, use a backtracking
3005         algorithm to discover if counter reset is needed.
3006         (setCounter): use them. Simplify a bit. Add different labels for
3007         different item depths for itemize.
3008
3009         * paragraph.C (Paragraph): remove initialization of enumdepth
3010         (operator=): ditto
3011
3012         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3013         enumerate and itemize. Change the type of itemdepth to signed char.
3014
3015 2003-10-08  André Pönitz  <poenitz@gmx.net>
3016
3017         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3018           thing assignable.
3019         * text.C:
3020         * text2.C: adjust
3021
3022         * tabular.[Ch]: fix crash after 'row-insert'
3023
3024 2003-10-08  Angus Leeming  <leeming@lyx.org>
3025
3026         Fix doxygen warnings.
3027
3028         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3029         Remove CutAndPaste:: prefix from header file declaration.
3030
3031         * LColor.h (fill): remove LColor:: prefix from declaration.
3032
3033         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3034         use lyx::depth_type rather than Paragraph::depth_type so that
3035         header file and .C file match.
3036
3037         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3038
3039         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3040         * aspell.C: \file aspell_local.C -> \file aspell.C
3041         * gettext.C: \file gettext.C -> \file src/gettext.C
3042         * gettext.h: \file gettext.h -> \file src/gettext.h
3043         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3044         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3045         * text.C: \file text.C -> \file src/text.C
3046
3047         * toc.C: move comment so that doxygen is not confused.
3048
3049 2003-10-07  Angus Leeming  <leeming@lyx.org>
3050
3051         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3052
3053 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3054
3055         * aspell.C:
3056         * aspell_local.h: add forgotten std::string's.
3057
3058 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3059
3060         * LaTeXFeatures.C:
3061         * LyXAction.C:
3062         * factory.C:
3063         * lfuns.h:
3064         * lyxfunc.C:
3065         * text3.C: The Box patch. Fancybox support, minipage, parbox
3066
3067 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3068
3069         * CutAndPaste.h:
3070         * DepTable.h:
3071         * FloatList.h:
3072         * LaTeXFeatures.h:
3073         * ParagraphParameters.h:
3074         * TextCache.h:
3075         * Thesaurus.h:
3076         * bufferlist.h:
3077         * exporter.h:
3078         * importer.h:
3079         * lastfiles.h:
3080         * lyxfind.h:
3081         * lyxfont.h:
3082         * lyxlex.h:
3083         * lyxtextclasslist.h:
3084         * messages.h:
3085         * paragraph.h:
3086         * paragraph_pimpl.C:
3087         * textcursor.h: add <string> and other small fixes to make Lars'
3088         std::string patch compile with STLport.
3089
3090 2003-10-06  Angus Leeming  <leeming@lyx.org>
3091
3092         * LColor.h: Add missing #include <string>.
3093
3094 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * All most all file in all subdirs: Make <string> be the prefered
3097         way of getting to std::string, add using declarations.
3098
3099 2003-10-06  André Pönitz  <poenitz@gmx.net>
3100
3101         * metricsinfo.C: initialize LyXFont before changing attribute.
3102         (fixes the 'math in \emph is upright' bug)
3103
3104 2003-10-06  André Pönitz  <poenitz@gmx.net>
3105
3106         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3107
3108 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3109
3110         * graph.C:
3111         * paragraph_pimpl.C: Small fixes to build using STLport
3112
3113 2003-10-02  André Pönitz  <poenitz@gmx.net>
3114
3115         * lyxfunc.C:
3116         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3117
3118 2003-10-01  André Pönitz  <poenitz@gmx.net>
3119
3120         * factory.C: assert early
3121
3122 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * lyx_main.C: remove the global debug object
3125
3126         * debug.h: adjust for new debugstream
3127
3128         * debug.C: adjust for new debugstream and keep the global debug
3129         object here.
3130
3131 2003-09-22  Angus Leeming  <leeming@lyx.org>
3132
3133         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3134         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3135         an incomplete class LyXFont.
3136
3137 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3138
3139         * factory.C: bug fix in branches
3140
3141 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * lyxfunc.C (processKeySym): adjust
3144         (dispatch): adjust
3145         (dispatch): change arg name from ev to func, adjust
3146         (sendDispatchMessage): ditto
3147
3148         * lyx_main.C (defaultKeyBindings): adjust keybindings
3149         (deadKeyBindings): ditto
3150
3151         * kbsequence.C (addkey): return a FuncRequest
3152
3153         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3154
3155         * kbmap.C (bind): take a FuncRequest as arg, adjust
3156         (read): adjust
3157         (lookup): adjust
3158         (defkey): change to take a FuncRequest as arg, adjust
3159         (findbinding): take a FuncRequest as arg, adjust.
3160
3161         * funcrequest.h (operator=): added
3162
3163         * funcrequest.C (FuncRequest): default kb_action changed from
3164         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3165
3166         * buffer.C (dispatch): simplify
3167         (dispatch): adjust to take a FuncRequest as arg, adjust
3168
3169         * boost.C (assertion_failed): change assertion message slightly
3170
3171         * ToolbarBackend.C (read): simplify
3172
3173         * MenuBackend.C (binding): adjust call to findbinding, add a
3174         message if no binding is found.
3175         (read): simplify
3176         (expandToc): correct by adding a empty FuncRequest
3177
3178         * LyXAction.C: include <boost/assert.hpp>
3179         (isPseudoAction): delete function
3180         (LookupFunc): change name to...
3181         (lookupFunc): this. change return type to FuncRequest.
3182         (getActionName): take kb_action as arg, simplify
3183         (funcHasFlag): add an assert, simplify.
3184
3185 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * toc.C (action): return a FuncRequest, simplify
3188
3189         * lyxfunc.C (processKeySym): adjust
3190         (getStatus): delete version that takes an int.
3191         (getStatus): adjust
3192         (dispatch): delete version that takes action as int
3193         (dispatch): adjust
3194         (sendDispatchMessage): simplify and adjust
3195
3196         * funcrequest.C (getArg): take unsigned int as arg
3197
3198         * ToolbarBackend.C (read): adjust
3199         (add): delete version that takes func as a string.
3200         (getIton): take a FuncRequest as arg
3201
3202         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3203         action.
3204
3205         * MenuBackend.C (MenuItem): add a new construct that only takes a
3206         Kind, simplify the constructor use for submenus.
3207         (add): adjust
3208         (expandLastfiles): adjust
3209         (expandDocuments): adjust
3210         (expandFormats): adjust
3211         (expandFloatListInsert): adjust
3212         (expandFloatInsert): adjust
3213         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3214
3215         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3216         Remove class variables lyx_pseudo_map and lyx_arg_map
3217
3218         * LyXAction.C (searchActionArg): delete function
3219         (getPseudoAction): delete function
3220         (retrieveActionArg): delete function
3221         (LookupFunc): make it return kb_action, simplify.
3222         (getActionName): simplify
3223
3224         * factory.C (createInset): fix new bug
3225
3226 2003-09-19  Angus Leeming  <leeming@lyx.org>
3227
3228         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3229         masterFilename_ parameter in the include inset.
3230
3231         * factory.C (createInset): changes due to the changes to InsetInclude.
3232
3233 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3234
3235         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3236
3237 2003-09-18  Angus Leeming  <leeming@lyx.org>
3238
3239         * buffer.C:
3240         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3241         Inset::fillWithBibKeys.
3242         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3243
3244 2003-09-18  Angus Leeming  <leeming@lyx.org>
3245
3246         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3247         variables.
3248         (ctor): pass and store a 'Buffer const &'
3249         (buffer): new member function.
3250
3251         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3252         '*this' to the LaTeXFeatures ctor.
3253
3254 2003-09-18  Angus Leeming  <leeming@lyx.org>
3255
3256         * LColor.h:
3257         * lyxfont.C:
3258         * lyxfont.h:
3259         * lyxtext.h:
3260         * text.C: rename EnumLColor as LColor_color.
3261
3262 2003-09-18  Angus Leeming  <leeming@lyx.org>
3263
3264         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3265         remove #include "insets/insetbase.h" from cursor.h.
3266
3267 2003-09-18  Angus Leeming  <leeming@lyx.org>
3268
3269         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3270         InsetOld_code to remove #include "inset.h".
3271
3272         * iterators.C: add #include "insets/inset.h"
3273
3274 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * BufferView.C: remove more locking stuff that apparently doesn't
3277         do anything sensible.
3278
3279 2003-09-16  André Pönitz  <poenitz@gmx.net>
3280
3281         * paragraph.[Ch]:
3282         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3283           performance boost.
3284
3285 2003-09-16  Angus Leeming  <leeming@lyx.org>
3286
3287         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3288
3289         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3290         arg/return type.
3291
3292         * paragraph.h: remove #include "lyxfont.h". Forward declare
3293         LyXFont_size.
3294
3295 2003-09-16  Angus Leeming  <leeming@lyx.org>
3296
3297         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3298         of support/textutils.h.
3299         (isWord): move the contents of support/textutils.h's IsWordChar here.
3300
3301         * buffer.C:
3302         * lyxfind.C:
3303         * rowpainter.C:
3304         * text.C:
3305         * text2.C: add #include "paragraph.h".
3306
3307         * rowpainter.C:
3308         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3309
3310 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3311
3312         * main.C:
3313         * lyx_main.C:
3314         * lyx_cb.C:
3315         * buffer.C:
3316         * LaTeX.C: use namespace alias for lyx::support::os
3317
3318 2003-09-16  Angus Leeming  <leeming@lyx.org>
3319
3320         * bufferparams.C:
3321         * bufferview_funcs.C:
3322         * factory.C:
3323         * lyxfunc.C:
3324         * paragraph_pimpl.C:
3325         * rowpainter.C:
3326         * text.C: add #include "LColor.h".
3327
3328 2003-09-16  Angus Leeming  <leeming@lyx.org>
3329
3330         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3331         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3332         return LyXFont &.
3333         Store the FontBits::color variable as an int rather than as an
3334         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3335         file.
3336
3337         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3338         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3339         string calls together.
3340
3341         * lyxrc.C: add #include "LColor.h".
3342
3343 2003-09-15  Angus Leeming  <leeming@lyx.org>
3344
3345         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3346         a cow_ptr.
3347
3348 2003-09-15  Angus Leeming  <leeming@lyx.org>
3349
3350         * LColor.h: add an EnumLColor wrapper for LColor::color.
3351
3352         * lyxfont.[Ch] (color, setColor, realColor):
3353         * lyxtext.h, text.C (backgroundColor):
3354         pass EnumLColor args to/from the functions, rather than LColor::color
3355         ones.
3356
3357         * lyxfont.h:
3358         * lyxtext.h: forward declare EnumLColor.
3359
3360         * lyx_main.C: add #include "LColor.h".
3361
3362 2003-09-15  Angus Leeming  <leeming@lyx.org>
3363
3364         * .cvsignore: add lyx-gtk.
3365
3366 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * Chktex.C
3369         * LaTeX.C
3370         * LaTeXFeatures.C
3371         * ParagraphParameters.C
3372         * Spacing.C
3373         * buffer.C
3374         * bufferparams.C
3375         * bufferview_funcs.C
3376         * chset.C
3377         * counters.C
3378         * funcrequest.C
3379         * lyxfont.C
3380         * lyxgluelength.C
3381         * lyxlength.C
3382         * paragraph.C
3383         * paragraph_funcs.C
3384         * text3.C
3385         * vc-backend.C: remove usage of STRCONV
3386
3387 2003-09-15  Angus Leeming  <leeming@lyx.org>
3388
3389         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3390         explicitly define the color passed to the painter.
3391
3392 2003-09-15  Angus Leeming  <leeming@lyx.org>
3393
3394         * bufferparams.C (BufferParams): reorder member initializers to avoid
3395         compiler warning.
3396
3397 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3398
3399         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3400         * text.C (updateRowPositions): remove an unusual nop
3401
3402 2003-09-12  André Pönitz  <poenitz@gmx.net>
3403
3404         * BufferView_pimpl.C:
3405         * Bullet.C:
3406         * layout.h:
3407         * lyxfunc.C:
3408         * lyxlayout.[Ch]:
3409         * lyxtextclass.C:
3410         * rowpainter.C:
3411         * text.C:
3412         * text2.C:
3413         * Counters.[Ch]: finish the 'automatic counters' job
3414
3415 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3416
3417         * aspell.C: include <boost/assert.cpp> (compile fix)
3418
3419 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3420
3421         * boost.C (assertion_failed): use lyx::support::abort instead of
3422         assert.
3423
3424 2003-09-10  Angus Leeming  <leeming@lyx.org>
3425
3426         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3427         with their _fwd progeny.
3428
3429 2003-09-09  Angus Leeming  <leeming@lyx.org>
3430
3431         134 files throughtout the source tree: replace 'using namespace abc;'
3432         directives with the appropriate 'using abc::xyz;' declarations.
3433
3434 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3435
3436         * boost.C (emergencyCleanup): moved here from LAssert.c
3437         (assertion_failed): new function, called by BOOST_ASSERT
3438
3439         * several files: change Assert to BOOST_ASSERT
3440
3441 2003-09-09  Angus Leeming  <leeming@lyx.org>
3442
3443         * buffer.[Ch]: Add an Impl class and move Buffer's member
3444         variables into it. As a result move several header files out of
3445         buffer.h.
3446
3447         Add header files to lots of .C files all over the tree as a result.
3448
3449 2003-09-09  Angus Leeming  <leeming@lyx.org>
3450
3451         * buffer.[Ch]: make Buffer's member variables private. Add
3452         accessor functions.
3453
3454         Lots of changes all over the tree as a result.
3455
3456 2003-09-08  Angus Leeming  <leeming@lyx.org>
3457
3458         * graph.C: #include <config.h>.
3459
3460 2003-09-08  Angus Leeming  <leeming@lyx.org>
3461
3462         * BranchList.C:
3463         * BufferView.C:
3464         * BufferView_pimpl.C:
3465         * CutAndPaste.C:
3466         * DepTable.C:
3467         * LaTeX.C:
3468         * LaTeXFeatures.C:
3469         * LyXAction.C:
3470         * MenuBackend.C:
3471         * TextCache.C:
3472         * aspell.C:
3473         * buffer.C:
3474         * bufferlist.C:
3475         * changes.C:
3476         * chset.C:
3477         * converter.C:
3478         * counters.C:
3479         * debug.C:
3480         * graph.C:
3481         * ispell.C:
3482         * lyx_cb.C:
3483         * lyxfind.C:
3484         * lyxfunc.C:
3485         * lyxlex_pimpl.C:
3486         * lyxrc.C:
3487         * lyxrow.C:
3488         * paragraph.C:
3489         * rowpainter.C:
3490         * texrow.C:
3491         * text.C:
3492         * text2.C:
3493         * toc.C: remove redundant using directives.
3494
3495 2003-09-07  Angus Leeming  <leeming@lyx.org>
3496
3497         * LaTeXFeatures.h: remove #include "support/types.h".
3498         * ToolbarBackend.h: remove #include <algorithm>.
3499         * changes.h: remove #include <ctime>.
3500         * debug.h: remove #include <iosfwd>.
3501         * graph.h: remove #include "support/std_string.h".
3502         * lyx_main.h: remove #include <csignal>.
3503         * lyxlex_pimpl.h: remove #include <fstream>.
3504         * sgml.h: remove #include <algorithm>, <utility>.
3505         * toc.h: remove #include "support/std_ostream.h".
3506         Add #include <iosfwd>.
3507
3508 2003-09-07  Angus Leeming  <leeming@lyx.org>
3509
3510         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3511
3512         * converter.h: forward declare LatexRunParams.
3513         * encoding.h: remove #include "lyxrc.h".
3514         * lyxtext.h: remove #include "LColor.h".
3515         * lyxtextclass.h: remove #include "support/types.h".
3516         * trans.h: remove #include "tex-accent.h".
3517         * trans_mgr.h: remove #include "tex-accent.h".
3518         * insets/inset.h: remove #include "support/types.h", <vector>.
3519         * insets/insetcollapsable.h: remove #include "LColor.h".
3520         * insets/insetinclude.h: remove #include "dimension.h".
3521         * insets/insetlatexaccent.h: remove #include "dimension.h".
3522         * insets/insetoptarg.h:: remove #include "insettext.h".
3523         * insets/insettext.h: remove #include "dimension.h",
3524         <boost/shared_ptr.hpp>
3525
3526         * insets/renderers.h: add #include "dimension.h".
3527         * insets/updatableinset.h: add #include "support/types.h".
3528
3529         * many .C files: Associated changes.
3530
3531 2003-09-06  Angus Leeming  <leeming@lyx.org>
3532
3533         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3534         one, inside testInvariant.
3535
3536         * PrinterParams.C: new file.
3537         * PrinterParams.[Ch]: move the function bodies out of line.
3538
3539 2003-09-06  Angus Leeming  <leeming@lyx.org>
3540
3541         * ParagraphParameters.h: forward declare ParameterStruct rather than
3542         including its header file.
3543         (depth): moved out-of-line.
3544
3545 2003-09-06  Angus Leeming  <leeming@lyx.org>
3546
3547         * BufferView_pimpl.h:
3548         * kbmap.h:
3549         * kbsequence.h:
3550         * lyxfunc.h: forward declare LyXKeySym rather than
3551         #include "frontends/LyXKeySym.h".
3552
3553         * BufferView_pimpl.C:
3554         * kbmap.C:
3555         * kbsequence.C:
3556         * lyxfunc.C: associated changes.
3557
3558 2003-09-06  Angus Leeming  <leeming@lyx.org>
3559
3560         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3561         As a result, can remove the #include "insets/inset.h" from BufferView.h
3562
3563 2003-09-06  Angus Leeming  <leeming@lyx.org>
3564
3565         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3566         As a result, can remove the #include "insets/inset.h" from BufferView.h
3567
3568 2003-09-06  Angus Leeming  <leeming@lyx.org>
3569
3570         * buffer_funcs.C:
3571         * buffer.h:
3572         * bufferlist.C:
3573         * BufferView.C:
3574         * bufferview_funcs.C:
3575         * BufferView_pimpl.C:
3576         * CutAndPaste.C:
3577         * lyx_cb.C:
3578         * lyxfunc.C:
3579         * paragraph.h:
3580         * ParagraphParameters.C:
3581         * tabular.C:
3582         * text3.C:
3583         * toc.C:
3584         * undo_funcs.C:
3585         * frontends/controllers/ControlDocument.C:
3586         * insets/insetcaption.C: rearrange the #includes into some sort of
3587         coherent order.
3588
3589         * buffer.h: remove #includes ErrorList.h, undo.h
3590
3591 2003-09-06  Angus Leeming  <leeming@lyx.org>
3592
3593         * support/types.h: add a 'depth_type' typedef, used to store the
3594         nesting depth of a paragraph.
3595
3596         * paragraph.h:
3597         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3598         defining explicitly.
3599
3600         * buffer.h:
3601         * paragraph_funcs.h:
3602         * ParagraphParameters.h:
3603         * sgml.h: use lyx::depth_type rather than Paragraph or
3604         ParameterStruct's depth_type.
3605
3606         * buffer.h
3607         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3608
3609         * BufferView.C:
3610         * BufferView_pimpl.C:
3611         * CutAndPaste.C:
3612         * ParagraphParameters.C:
3613         * buffer_funcs.C:
3614         * bufferlist.C:
3615         * bufferview_funcs.C:
3616         * lyx_cb.C:
3617         * lyxfunc.C:
3618         * tabular.C:
3619         * text3.C:
3620         * toc.C:
3621         * undo_funcs.C:
3622         * frontends/LyXView.C:
3623         * frontends/controllers/ControlDocument.C:
3624         * frontends/controllers/ControlErrorList.C:
3625         * insets/insetbibitem.C:
3626         * insets/insetbranch.C:
3627         * insets/insetcaption.C:
3628         * insets/insetcollapsable.C:
3629         * insets/insetenv.C:
3630         * insets/insetert.C:
3631         * insets/insetfloat.C:
3632         * insets/insetfoot.C:
3633         * insets/insetfootlike.C:
3634         * insets/insetnewline.C:
3635         * insets/insetquotes.C:
3636         * insets/insettabular.C:
3637         * insets/insettext.C:
3638         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3639
3640         * frontends/controllers/ControlChanges.C: #include "changes.h".
3641
3642 2003-09-06  Angus Leeming  <leeming@lyx.org>
3643
3644         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3645         than #including paragraph.h.
3646
3647         * ParagraphList.h:
3648         * RowList.h: deleted. Superfluous.
3649
3650         * CutAndPaste.h:
3651         * iterators.h:
3652         * lyxcursor.h:
3653         * lyxtext.h:
3654         * text_funcs.h:
3655         * undo.h:
3656         * undo_funcs.h:
3657         * insets/inset.h:
3658         * insets/insettext.h: use ParagraphList_fwd.h rather than
3659         ParagraphList.h.
3660
3661         * paragraph.h: don't forward declare ParagraphList.
3662
3663         * buffer.h:
3664         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3665         rather than ParagraphList.h. paragraph.h is still needed for the
3666         Paragraph::depth_type parameters.
3667
3668         * textcursor.h: enable it to compile stand-alone in light of the
3669         above changes.
3670
3671         * bufferview_funcs.C:
3672         * iterators.C:
3673         * lyxfunc.C:
3674         * lyxrow_funcs.C:
3675         * paragraph.C:
3676         * rowpainter.C:
3677         * text.C:
3678         * text2.C:
3679         * text3.C:
3680         * text_funcs.C:
3681         * textcursor.C:
3682         * undo.C:
3683         * frontends/controllers/ControlParagraph.C:
3684         * frontends/controllers/ControlTabular.C:
3685         * insets/insetmarginal.C:
3686         * insets/insetminipage.C:
3687         * insets/insetnote.C:
3688         * insets/insetoptarg.C: add header files needed to compile again.
3689
3690 2003-09-06  Angus Leeming  <leeming@lyx.org>
3691
3692         * RowList_fwd.h: new file, forward-declaring Row rather than
3693         #including lyxrow.h.
3694
3695         * lyxrow_funcs.h:
3696         * lyxtext.h:
3697         * paragraph.h:
3698         * insets/insettext.h: use it instead of RowList.h
3699
3700         * bufferview_funcs.C:
3701         * lyxfunc.C:
3702         * lyxrow_funcs.C:
3703         * paragraph.C:
3704         * rowpainter.C:
3705         * text.C:
3706         * text2.C:
3707         * text3.C: #include "RowList.h".
3708
3709 2003-09-05  Angus Leeming  <leeming@lyx.org>
3710
3711         * factory.C (createInset):
3712         * vspace.C (c-tor): replace sscanf call with an istringstream.
3713         * ispell.C: re-add missing HP/UX headers.
3714         * lyxserver.C: re-add missing  os2 headers.
3715
3716 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3717
3718         * BranchList.C:
3719         * graph.C:
3720         * ispell.C:
3721         * lastfiles.C:
3722         * lyx_cb.C:
3723         * lyxserver.C:
3724         * texrow.C:
3725         * text3.C: re-add missing system headers, needed for 2.95.2.
3726
3727 2003-09-05  Angus Leeming  <leeming@lyx.org>
3728
3729         Changes most place everywhere due to the removal of using directives
3730         from support/std_sstream.h.
3731
3732 2003-09-05  Angus Leeming  <leeming@lyx.org>
3733
3734         Replace LString.h with support/std_string.h,
3735         Lsstream.h with support/std_sstream.h,
3736         support/LIstream.h with support/std_istream.h,
3737         support/LOstream.h with support/std_ostream.h.
3738
3739         Changes resulting throughout the tree.
3740
3741 2003-09-05  Angus Leeming  <leeming@lyx.org>
3742
3743         * sgml.h: ensure that the header file can be compiled stand-alone.
3744         * *.C: strip out redundant #includes. (320 in total.)
3745
3746 2003-09-04  Angus Leeming  <leeming@lyx.org>
3747
3748         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3749         here (from getPackages).
3750
3751         * debug.[Ch]: add a new EXTERNAL tag.
3752
3753 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3754
3755         * text2.C (cursorEnd): simplify
3756         (setCursor): adjust
3757         (getColumnNearX): adjust
3758
3759         * text.C (computeBidiTables): adjust
3760         (fill): adjust
3761
3762         * rowpainter.C (paintChars): adjust
3763         (paintSelection): adjust
3764         (paintChangeBar): adjust
3765         (paintText): adjust
3766
3767         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3768         lastPos instead.
3769         (numberOfSeparators): adjust
3770
3771 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3772
3773         * LyXAction.C:
3774         * box.[Ch]:
3775         * lfuns.h:
3776         * lyxfunc.C:
3777         * text3.C: Restricts the mouse click functionality
3778         of insets like bibtex, include, toc and floatlist to the visible
3779         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3780         up the dialogs. Cursor has to be in front of the inset (i.e.
3781         start of row) for this to function.
3782
3783 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3784
3785         * bufferview_funcs.C (currentState): output row information
3786
3787 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3788
3789         * bufferview_funcs.C (currentState): output paragraph position
3790
3791 2003-09-04  Angus Leeming  <leeming@lyx.org>
3792
3793         * FloatList.h: move out #include "Floating.h".
3794         * LaTeX.h: move out #include "DepTable.h".
3795         * LyXAction.h: move out #include "funcrequest.h".
3796         * buffer.h: move out #include "author.h", "iterators.h".
3797         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3798         * lyx_main.h: move out #include "errorlist.h".
3799         * lyxfunc.h: move out #include "FuncStatus.h".
3800         * lyxtext: move out #include "lyxcursor.h".
3801         * paragraph_pimpl.h: move out #include "counters.h".
3802
3803 2003-09-03  Angus Leeming  <leeming@lyx.org>
3804
3805         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3806         preamble_snippets list, enabling us to add snippets to the preamble
3807         only if the snippet was not there already.
3808
3809 2003-09-04  Angus Leeming  <leeming@lyx.org>
3810
3811         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3812
3813 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3816         update
3817
3818 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * BranchList.C: point fix, earlier forgotten
3821
3822 2003-09-02  Angus Leeming  <leeming@lyx.org>
3823
3824         * box.C (contains): renamed from 'contained' after a fantastic
3825         amount of hot air.
3826
3827 2003-09-02  John Levon  <levon@movementarian.org>
3828
3829         * BufferView.C:
3830         * lyxcursor.h:
3831         * lyxcursor.C:
3832         * lyxfunc.C:
3833         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3834
3835 2003-09-02  John Levon  <levon@movementarian.org>
3836
3837         * text2.C: simplification of cursorEnd(), including partial
3838         fix for bug 1376
3839
3840 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * buffer.C (readFile): add a space
3843
3844 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3845
3846         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3847
3848 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * buffer.C (readFile): new function, take a filename and a
3851         ParagraphList::iterator
3852         (readFile): adjust
3853         (readFile): adjust, make it private. don't use setStream, make
3854         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3855         always contain the filename.
3856
3857         * BufferView.C (insertLyXFile): simplify and make it work for
3858         gzipped files.
3859
3860 2003-08-30  John Levon  <levon@movementarian.org>
3861
3862         * Makefile.am: fix dist (from Kayvan)
3863
3864 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * most files: change to use const Buffer refs
3867
3868 2003-08-27  André Pönitz  <poenitz@gmx.net>
3869
3870         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3871         on top of ownerPar().
3872
3873 2003-08-27  John Levon  <levon@movementarian.org>
3874
3875         * funcrequest.C: properly initialise POD members
3876
3877 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * lyxtext.h (top_y): move top_y from here
3880         * text.C:
3881         * text2.C:
3882         * text3.C:
3883         * BufferView.[Ch]:
3884         * BufferView_pimpl.[Ch]: to here
3885         * frontends/screen.C:
3886         * insets/insettabular.C:
3887         * insets/insettext.C: adjust
3888         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3889
3890 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * BufferView.[Ch]:
3893         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3894
3895 2003-08-26  André Pönitz  <poenitz@gmx.net>
3896
3897         * paragraph_func.[Ch] (outerPar): new function
3898
3899         * paragraph.C:
3900         * paragraph_funcs.C:
3901         * paragraph_funcs.h:
3902         * paragraph_pimpl.C:
3903         * text2.C: remove Inset::par_owner
3904
3905 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3906
3907         * lyxrow_funcs.C:
3908         * lyxtext.h:
3909         * text.C:
3910         * text2.C: eliminates the needFullRow/display() stuff
3911         altogether, putting the logic in metrics/draw in the insets.
3912
3913 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3914
3915         * text2.C (redoParagraphInternal, redoParagraphs):
3916         * text.C (redoParagraph): add a call to updateRowPositions at the
3917         end of each 'metrics-like' call. Remove all others.
3918         (getRow): remove the 'y-computing' version.
3919         (getRowNearY): do not compute nor return the real y. Solve the
3920         'y < 0' problem and simplify.
3921
3922 2003-08-22  Angus Leeming  <leeming@lyx.org>
3923
3924         * *.[Ch]: clean-up of licence and author blurbs.
3925         Also move config.h out of a few .h files and into a few .C files.
3926
3927 2003-08-22  André Pönitz  <poenitz@gmx.net>
3928
3929         * lyxrow.[Ch]: add x_ and *fill_ members
3930
3931         * lyxtext.h:
3932         * text.C:
3933         * rowpainter.C:
3934         * text2.C: adjust/remove prepareToPrint() calls
3935
3936 2003-08-22  André Pönitz  <poenitz@gmx.net>
3937
3938         * lyxrow.[Ch]: add  end_ member
3939
3940         * lyxrow_funcs.C: use LyXRow::end_
3941
3942         * lyxtext.h (singleWidth): add LyXFont parameter
3943
3944         * rowpainter.C:
3945         * text2.C: adjust LyXText::singleWidth() calls
3946
3947         * text.C (redoParagraph): simplify row breaking logic
3948
3949
3950 2003-08-19  André Pönitz  <poenitz@gmx.net>
3951
3952         * funcrequest.C: initialize button_ member
3953
3954         * text3.C:
3955         * rowpainter.[Ch]: interface consolidation
3956
3957 2003-08-18  André Pönitz  <poenitz@gmx.net>
3958
3959         * BufferView.C:
3960         * BufferView_pimpl.C:
3961         * lyxfind.C:
3962         * paragraph_funcs.C:
3963         * rowpainter.C:
3964         * text3.C: remove LyXScreen::draw() and fitCursor calls
3965
3966         * BranchList.h: remove spurious semicolons
3967
3968         * MenuBackend.C: fix branchlist related crash
3969
3970 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3971
3972         * BranchList.[Ch]:
3973         * InsetList.[Ch]:
3974         * LColor.[Ch]:
3975         * LyXAction.C:
3976         * Makefile.am:
3977         * MenuBackend.[Ch]:
3978         * bufferparams.[Ch]:
3979         * factory.C:
3980         * lfuns.h:
3981         * lyxfunc.C:
3982         * text3.C: implements the 'branch inset'
3983         idea. This allows the output of various versions of a document
3984         from a single source version, selectively outputing or suppressing
3985         output of parts of the text.
3986         This implementation contains a 'branch list editor' in a separate
3987         tab of the document settings dialog. Branches are user definable
3988         and have a "display colour" to distinguish them on-screen.
3989
3990         ColorHandler was somewhat cleaned up.
3991         (1) make possible a dynamically growing LColor list by allowing
3992         the graphic context cache to grow along (vector);
3993         (2) eliminate an IMHO unnecessary step in colour allocation.
3994
3995 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3996
3997         * BufferView_pimpl.C: compile fix
3998
3999 2003-08-15  André Pönitz  <poenitz@gmx.net>
4000
4001         * rowpainter.C: remove extra metrics calls
4002
4003         * lyxtext.h: merge the two constructors into a single one,
4004           pass reference to owner's par list
4005
4006         * BufferView_pimpl.C:
4007         * text.C:
4008         * text2.C: adjust
4009
4010 2003-08-15  André Pönitz  <poenitz@gmx.net>
4011
4012         * lyxrow_funcs.[Ch]:
4013         * lyxtext.h:
4014         * paragraph.h:
4015         * paragraph_funcs.C:
4016         * rowpainter.C:
4017         * text.C:
4018         * text2.C:
4019         * text3.C:
4020         * text_funcs.C: split LyXText::rowlist_ into individual
4021         Paragraph::rows_ chunks
4022
4023         * BufferView.[Ch]:
4024         * BufferView_pimpl.[Ch]:
4025         * lyxfind.C:
4026         * lyxtext.h:
4027         * text3.C: remove toggleSelection()
4028
4029 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4030
4031         * bufferlist.C: beautify two alerts (shorter text of buttons)
4032         * buffer.C: Remove redundant ' ' from message
4033         * tabular.h:
4034         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4035         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4036         rename VALIGN_CENTER to VALIGN_MIDDLE
4037
4038 2003-08-11  André Pönitz  <poenitz@gmx.net>
4039
4040         * lyxtext.h (getPar):
4041         * text.C: new function
4042
4043 2003-08-11  André Pönitz  <poenitz@gmx.net>
4044
4045         * Makefile.am:
4046         * tracer.[Ch]: remove unneeded files
4047
4048         * InsetList.[Ch]: remove resizeInsetsLyXText()
4049
4050         * lyxtext.h:
4051         * text.C:
4052         * text2.C:
4053         * text3.C: merge insertParagraphs() and appendParagraph()
4054         remove breakAgain(), update()
4055
4056         * BufferView_pimpl.[Ch]:
4057         * bufferview_funcs.[Ch]:
4058         * lyxfunc.C:
4059         * paragraph.[Ch]:
4060         * rowpainter.C:
4061         * tabular.C: adjust after text & InsetList changes.
4062
4063 2003-08-08  André Pönitz  <poenitz@gmx.net>
4064
4065         * text.C (insertChar, backspace): replace rowlist fiddling
4066         with rebreak of full par
4067
4068         * lyxtext.h:
4069         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4070         checkParagraph, updateInset): removed
4071
4072 2003-08-07  André Pönitz  <poenitz@gmx.net>
4073
4074         * paragraph.C:
4075         * text3.C: merge some LFUN handlers, remove dead code
4076
4077 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4078
4079         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4080
4081 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4082
4083         * text2.C (DEPM): fix part of bug 1255 and 1256
4084
4085 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4086
4087         * BufferView_pimpl.C (workAreaDispatch): change to use
4088         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4089         that are no mouse related.
4090
4091 2003-08-05  André Pönitz  <poenitz@gmx.net>
4092
4093         * BufferView.[Ch]:
4094         * BufferView_pimpl.[Ch]:
4095         * bufferview_funcs.C:
4096         * text2.C:
4097         * text3.C: rip out "deep update"
4098
4099         * textcursor.[Ch] (last_sel_cursor): remove unused member
4100
4101 2003-08-04  André Pönitz  <poenitz@gmx.net>
4102
4103         * BufferView.[Ch]:
4104         * BufferView_pimpl.[Ch]:
4105         * ParagraphParameters.C:
4106         * bufferview_funcs.C:
4107         * lyx_cb.C:
4108         * lyxfind.C:
4109         * lyxfunc.C:
4110         * text.C:
4111         * text2.C:
4112         * text3.C: replace "complicated" BufferView::update(...) calls with
4113         simpler ones.
4114
4115         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4116
4117 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4118
4119         * Makefile.am (lyx_SOURCES): add paper.h
4120
4121 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4122
4123         * Makefile.am: move things around so that both lyx-qt and
4124         lyx-xforms can be built (according to --with-frontend). Then lyx
4125         is a symbolic link to lyx-[firstfrontend]
4126
4127 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4128
4129         * Always use std::endl with lyxerr
4130
4131 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4132
4133         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4134
4135 2003-08-01  André Pönitz  <poenitz@gmx.net>
4136
4137         * BufferView.[Ch]:
4138         * BufferView_pimpl.[Ch]:
4139         * lyxfunc.C:
4140         * text3.C: merge BufferView::repaint() and BufferView::update()
4141
4142 2003-08-01  José Matos  <jamatos@lyx.org>
4143
4144         * buffer.[Ch]: file_format is no longer a buffer data element.
4145
4146 2003-08-01  André Pönitz  <poenitz@gmx.net>
4147
4148         * BufferView.C:
4149         * lyxtext.h:
4150         * text.C:
4151         * text2.C: make redoParagraph more independent of current cursor
4152
4153         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4154         * text.C:
4155         * text2.C: remove unneeded members
4156
4157 2003-07-30  André Pönitz  <poenitz@gmx.net>
4158
4159         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4160
4161         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4162           create a single function...
4163
4164         * paragraph_funcs.C (moveItem): ... here.
4165
4166         * text.C:
4167           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4168
4169 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4170
4171         * LColor.[Ch]: Add comment and greyedout logical colors.
4172
4173 2003-07-30  André Pönitz  <poenitz@gmx.net>
4174
4175         * tabular.C: don't use Assert too heavily. This crashes where it
4176           shouldn't
4177
4178 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4181         is disabled (bug 1232)
4182
4183 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4184
4185         * factory.C: limited 'arg' scope
4186
4187 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4188
4189         * factory.C: fixed Note submenu issues
4190
4191 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4192
4193         * factory.C: submenu for Note/Comment/Greyedout
4194
4195 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * lyx_main.C (LyX):
4198         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4199
4200 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4201
4202         * LaTeXFeatures.C:
4203         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4204         greyedout. Patch provided by Jürgen Spitzmüller.
4205
4206 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4207
4208         * kbmap.C (read): fix error message when reading bind files
4209
4210 2003-07-29  Angus Leeming  <leeming@lyx.org>
4211
4212         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4213         certainly does not do what it purports to do. I am doing it, and
4214         us, a favour by killing it.
4215
4216 2003-07-28  José Matos  <jamatos@lyx.org>
4217
4218         * buffer.C (readBody, do_writeFile):
4219         * paragraph.C(readParagraph): \end_document replaces \the_end.
4220
4221 2003-07-29  André Pönitz  <poenitz@gmx.net>
4222
4223         * BufferView.[Ch]:
4224         * BufferView_pimpl.[Ch]:
4225         * lyxfunc.C:
4226         * text2.C:
4227         * text3.C:
4228         * textcursor.[Ch]: remove toggleToggle & Co
4229
4230 2003-07-28  José Matos  <jamatos@fep.up.pt>
4231
4232         * buffer.C (readParagraph):
4233         * params_func (readParToken, readParagraph):
4234         * paragraph.C (write): \layout -> \begin_layout.
4235
4236 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * lyxlex_pimpl.C (setFile): clean up slightly.
4239
4240         * bufferparams.h: add compressed var
4241
4242         * buffer_funcs.C (readFile): adjust for LyXLex change
4243         (newFile): ditto + simplify
4244
4245         * buffer.C (writeFile): handle writing of compressed files
4246
4247         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4248         Check if the file is compressed and set a bufferparm if so.
4249
4250         * Makefile.am (lyx_LDADD): remove explicit -lz
4251
4252 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4253
4254         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4255         makeDocBookFile): put the real LyX version in the first line of
4256         the file
4257
4258         * version.h:
4259         * version.C.in: remove lyx_docversion
4260
4261         * tabular.C (write_attribute): add a template-based version to
4262         write enums properly
4263
4264 2003-07-28  André Pönitz  <poenitz@gmx.net>
4265
4266         * lyxtext.h:
4267         * text.C:
4268         * text2.C:
4269         * text3.C: use doubles again for x-coordinates. They are needed.
4270
4271 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4272
4273         * messages.C (getLocaleDir): use lyx_localedir()
4274
4275         * lyxlex_pimpl.C (setFile): compress stuff
4276
4277         * buffer.C (writeFile): add some compression stuff
4278         (do_writeFile): new func, dont call expliti close... will this
4279         breake anything?
4280
4281         * Makefile.am (lyx_LDADD): add -lz
4282
4283 2003-07-28  José Matos  <jamatos@fep.up.pt>
4284
4285         * buffer.C: increment file format.
4286         * paragraph_funcs (readParagraph, readParToken):
4287         * paragraph.C (readParagraph): add \end_layout.
4288
4289 2003-07-27  Angus Leeming  <leeming@lyx.org>
4290
4291         * Makefile.am: remove special casing for configure-time setting of
4292         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4293
4294         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4295         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4296
4297 2003-07-26  André Pönitz  <poenitz@gmx.net>
4298
4299         * paragraph_func.[Ch]:
4300         * paragraph.C (realizeFont): inline it whereever it is used
4301
4302         * rowpainter.C:
4303         * text.C:
4304         * text2.C:
4305         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4306
4307
4308 2003-07-26  André Pönitz  <poenitz@gmx.net>
4309
4310         *       lyxtext.h:
4311         * text.C:
4312         * text2.C: get rid of LyXText::need_break_row
4313
4314 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * toc.[Ch]: put namespace toc inside namespace lyx
4317
4318         * MenuBackend.C (expandToc2): adjust for lyx::toc
4319         (expandToc): ditto
4320
4321         * lyxfunc.C (dispatch): adjust for lyx::find
4322
4323         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4324         lyx::find instead. Reorganize a bit.
4325         (LyXReplace): rename to replace
4326         (LyXFind): rename to find
4327
4328         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4329         (dispatch): ditto
4330
4331 2003-07-26  André Pönitz  <poenitz@gmx.net>
4332
4333         * text.C (setHeightOfRow): restrict scope of temporary variable
4334
4335         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4336           code (never has been used?)
4337
4338 2003-07-27  Asger Alstrup  <alstrup@local>
4339
4340         * text.C (fill): Optimise algorithm to exploit that we can reuse
4341         the LyXFont for many characters.
4342         (setHeightOfRow): Same thing.
4343         (rowBreakPoint): Same thing.
4344
4345 2003-07-26  Asger Alstrup  <alstrup@local>
4346
4347         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4348
4349         * text.C (singleWidth): Spurious font copying in hot-spot
4350         singleWidth avoided. Reorder tests for arabic for efficiency.
4351
4352         * text.C (fill): handle empty paragraphs better.
4353
4354 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4355
4356         * ispell.C:
4357         * encoding.h: add includes
4358
4359         * lyxrc.C: remove reading of bind files
4360
4361         * lyx_main.C (init): setup bindings and menus only if we have a
4362         gui.
4363
4364         * kbmap.C (read): new method. Do the actual reading of bind
4365         files.
4366
4367         * converter.C (dvipdfm_options):
4368         * bufferparams.C:
4369         * lyxrc.C (read):
4370         (output): adapt PAPER_* enums.
4371
4372         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4373
4374         * bufferparams.h: remove paper-related enums from there
4375
4376         * paper.h: New file. A trivial header file to hold paper-related
4377         enums. It should later expand to contain many paper-related
4378         horrors access.
4379
4380         * lyxrc.C: declare extern displayTranslator
4381
4382 2003-07-27  José Matos  <jamatos@fep.up.pt>
4383
4384         * tabular.[Ch] (linuxdoc): add support for tables and figures
4385         (linuxdoc).
4386
4387 2003-07-27  José Matos  <jamatos@fep.up.pt>
4388
4389         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4390         consistency in both functions.
4391         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4392
4393 2003-07-26  Asger Alstrup  <alstrup@local>
4394
4395         * rowpainter.C (paintRows): Change algorithm to work directly on
4396         the insets rather than asking every character in the document
4397         whether its an inset.
4398
4399 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * buffer.C (openFileWrite): factorize some code
4402
4403 2003-07-26  Angus Leeming  <leeming@lyx.org>
4404
4405         * lyx_cb.C:
4406         * lyx_main.[Ch]: replace occurances of system_tempdir with
4407         os::getTmpDir().
4408
4409 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * rename Inset to InsetOld
4412
4413 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4414
4415         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4416         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4417         which I think is a bit clearer. EDIT is gone, since it was
4418         premature optimisation, and broken for mathed anyway.
4419         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4420         with cursor positioning in insets as well (math insets still do not
4421         work, but that's a different story anyway.) It mysteriously
4422         crashes sometimes with undo in the first paragraph, but I'm fairly
4423         confident that this is a compiler bug.
4424
4425 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * paragraph.C (Paragraph): adjust for new clone return type
4428         (operator==): ditto
4429         (copyIntoMinibuffer): ditto
4430
4431 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4432
4433         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4434         by not having a special case, and always doing a full rebreak of
4435         the document after undo.
4436
4437 2003-07-23  Angus Leeming  <leeming@lyx.org>
4438
4439         * factory.C (createInset): InsetExternal::setParams now takes a
4440         Buffer const * arg.
4441
4442 2003-07-23  Angus Leeming  <leeming@lyx.org>
4443
4444         * factory.C (createInset): changed interface to the external and
4445         graphics mailers' string2params functions.
4446
4447 2003-07-23  Angus Leeming  <leeming@lyx.org>
4448
4449         * factory.C (createInset): pass a
4450         Buffer const * parameter to InsetExternalMailer's string2params.
4451
4452 2003-07-22  John Levon  <levon@movementarian.org>
4453
4454         * Thesaurus.h: include the right aiksaurus header
4455
4456 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4457
4458         * MenuBackend.C (expand): check menu shortcuts unconditionally
4459
4460 2003-07-21  Angus Leeming  <leeming@lyx.org>
4461
4462         * factory.C (createInset): pass a
4463         buffer_path parameter to InsetGraphicsMailer's string2params.
4464
4465 2003-07-21  Angus Leeming  <leeming@lyx.org>
4466
4467         * BufferView_pimpl.C (buffer):
4468         * buffer.C (d-tor):
4469         * lyx_main.C (LyX):
4470         * lyxfunc.C (dispatch):
4471         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4472         rather than the grfx shortcut.
4473
4474 2003-07-21  André Pönitz  <poenitz@gmx.net>
4475
4476         * rowpainter.C: remove unused variables
4477
4478         * tabular_funcs.C:
4479         * tabular_funcs.h: move to tabular.C
4480         * Makefile.am: adjust
4481
4482         * tabular.[Ch]: basic optical cleaning
4483
4484         * author.h: pass references, not values
4485
4486 2003-07-18  André Pönitz  <poenitz@gmx.net>
4487
4488         * lyxtext.h:
4489         * metricsinfo.C:
4490         * metricsinfo.h:
4491         * rowpainter.C:
4492         * text.C:
4493         * text2.C:
4494         * text3.C: two-phase drawing for InsetText and InsetTabular
4495         some float -> int changes.
4496
4497 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * lyx_main.C: fix the fix
4500
4501 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * lyx_main.C: fix a crash in batch mode if no files specified
4504         * converter.C: ws
4505
4506 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4507
4508         * format.[Ch] (papersize): moved to BufferParams
4509         * converter.[Ch] (dvips_options): moved to BufferParams
4510         (dvipdfm_options): moved to anon namespace
4511         * bufferparams.[Ch]: added above functions.
4512
4513 2003-07-17  André Pönitz  <poenitz@gmx.net>
4514
4515         * lyxtext.h:
4516         * rowpainter.C:
4517         * text2.C: don't call inset->update() anymore
4518
4519         * metricsinfo.[Ch]: add convenience constructor
4520
4521 2003-07-16  André Pönitz  <poenitz@gmx.net>
4522
4523         * lyxcursor.[Ch]:
4524         * lyxfunc.[Ch]:
4525         * text.C:
4526         * text2.C: replace the LyXCursor::irow_ member with
4527          on-demand computation of the value
4528
4529 2003-07-16  John Levon  <levon@movementarian.org>
4530
4531         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4532
4533 2003-07-15  André Pönitz  <poenitz@gmx.net>
4534
4535         * text.C:
4536         * text2.C: remove no more needed refresh_row
4537
4538 2003-07-15  André Pönitz  <poenitz@gmx.net>
4539
4540         * lyxtext.h:
4541         * rowpainter.C:
4542         * text2.C:
4543         * text3.C: refresh_status tristate -> need_update bool
4544
4545 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * lyxtext.h (init): remove reinit argument (act as if always true)
4548         * text2.C: adjust to that
4549
4550 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4551
4552         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4553         * text3.C: use it to delete selections in some cases
4554         (bugs 441, 673, 702, 954).
4555
4556 2003-07-14  André Pönitz  <poenitz@gmx.net>
4557
4558         * rowpainter.[Ch]: reduce interface
4559
4560 2003-07-14  André Pönitz  <poenitz@gmx.net>
4561
4562         * BufferView_pimpl.C:
4563         * text2.C: adjust after removing unused BufferView * argument
4564
4565 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4566
4567         * text2.C (init): fix a crash fired on resize
4568
4569 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * buffer.[Ch]: added new closing signal
4572         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4573         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4574         BufferView::Pimpl via the closing the signal
4575
4576 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * buffer.[Ch]: take out all bv-related from buffer
4579         * BufferView.C:
4580         * BufferView_pimpl.[Ch]: connect to new signals
4581         * CutAndPaste.C: removed useless asserts
4582         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4583         * lyxvc.[Ch]:
4584         * vc-backend.[Ch]:
4585         * lyxfunc.C: moved view-related funciontality from vc here
4586         * paragraph.C: removed outdated comments
4587         * text.C: ws
4588
4589 2003-07-10  André Pönitz  <poenitz@gmx.net>
4590
4591         * BufferView_pimpl.C:
4592         * tabular.h:
4593         * tabular_funcs.C:
4594         * text.C:
4595         * text2.C: remove InsetText::InnerCache, clean up consequences
4596
4597 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4598
4599         * ispell.C: fix two typos in error messages
4600
4601 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4602
4603         * Extend Note inset to other forms of annotation like Comment
4604         and Greyedout. Right button click gives dialog.
4605
4606         Files modified or added (+):
4607
4608         * insetnote.[Ch]
4609         * FormNote.[Ch]      +
4610         * ControlNote.[Ch]   +
4611         * form_note.fd       +
4612         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4613         frontends/controllers
4614         * xforms/Dialogs.C
4615         * factory.C
4616
4617 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4618
4619         * aspell.C: add missing namespace lyx::support
4620
4621 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * BufferView.[Ch] (newFile): Add
4624         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4625         * LaTeX.[Ch] (message): added this signal and use it
4626         * buffer.[Ch] (busy, message): added these signals and use them
4627         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4628         * converter.C:
4629         * exporter.C:
4630         * format.C:
4631         * importer.C: use buffer signals instead of direct bv calling
4632         * lyx_cb.[Ch] (ShowMessage): removed
4633         * lyx_main.C:
4634         * lyxfunc.C:
4635         * paragraph_funcs.C:
4636         * text2.C: use buffer signals
4637
4638 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * introduce namespace lyx::graphics
4641
4642 2003-07-02  André Pönitz  <poenitz@gmx.net>
4643
4644         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4645
4646 2003-07-01  André Pönitz  <poenitz@gmx.net>
4647
4648         * text.C:
4649         * text2.C:
4650         * text3.C:
4651         * text_funcs.[Ch]:
4652         * textcursor.h:
4653         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4654           text*.C to text_func.C
4655
4656 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * introduce namespace lyx::support
4659
4660 2003-06-30  André Pönitz  <poenitz@gmx.net>
4661
4662         * Chktex.C:
4663         * funcrequest.C:
4664         * lyxtext.h:
4665         * text.C: re-enable --with-included-string
4666
4667 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * textcursor.C: add <config.h>
4670
4671         * text.C (getWord): remove const from word_location arg
4672
4673         * lyxvc.C (getLogFile): fix const type order
4674
4675         * lyxtext.h: remove const from word_location arg, add arg name
4676
4677         * lyxlayout.h: currect type on labeltype.
4678
4679         * importer.C: correct \file
4680
4681         * converter.C (intToFormat): use std:: on ret val, ws changes
4682
4683         * bufferlist.h: correct \file
4684
4685         * buffer.C (makeLinuxDocFile): fix const type order
4686         (makeDocBookFile): ditto
4687         (fillWithBibKeys): use std:: on stdlib args.
4688
4689         * CutAndPaste.C: fix authors.
4690         (availableSelections): use std:: on return vector
4691
4692 2003-06-27  André Pönitz  <poenitz@gmx.net>
4693
4694         * BufferView_pimpl.C:
4695         * bufferview_funcs.C:
4696         * lyxcursor.C:
4697         * lyxcursor.h:
4698         * lyxfunc.C:
4699         * lyxtext.h:
4700         * rowpainter.C:
4701         * text.C:
4702         * text2.C:
4703         * text3.C: remove LyXCursor::row_ member
4704
4705         * lyxtext.h:
4706         * text.C: rename fullRebreak() to partialRebreak() and implement
4707           a fullRebreak() that really bereks fully
4708
4709         * textcursor.h: new struct for cursor-related data
4710
4711 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4712
4713         * lyx_main.C (LyX): get full path of document loaded on the
4714         command line
4715
4716 2003-06-26  André Pönitz  <poenitz@gmx.net>
4717
4718         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4719           remove unused/broken operator>,<,>=.
4720
4721         *       text.C: remove only use of broken operator<= in an Assert().
4722
4723 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4724
4725         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4726         moved errorlist_.clear to showErrorList
4727
4728 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4729
4730         * converter.C (scanLog, runLaTeX):
4731         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4732         move the bv->showErrorList call to the callers
4733         * lyxfunc.C: i.e. here...
4734         * text2.C: and here
4735         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4736         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4737         namespace, the second to...
4738         * buffer_funcs (BufferFormat, parseErrors): added
4739         * errorlist.C (ErrorList(TeXErrors const &)): removed
4740
4741 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4742
4743         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4744
4745 2003-06-24  "Garst R. Reese" <reese@isn.net>
4746
4747         * debug.C: fix typo
4748
4749 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4750
4751         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4752
4753         * version.C.in: change docversion to 1.4
4754
4755 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * buffer.C: fix a bug just introduced
4758
4759 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * buffer.[Ch]: added the parseError signal and use it, removed
4762         sgmlError
4763         * BufferView.[Ch] (addError): moved to ...
4764         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4765         to the Buffer::parseError signal to catch (guess what) parse errors
4766         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4767
4768 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4771         ability to create a buffer and to return an existing one from
4772         the list. Moved these functions to...
4773         * buffer_funcs.[Ch]: added
4774         * BufferView.[Ch] (loadLyXFile): added
4775         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4776         job removed from bufferlist::loadLyXFile.
4777         * buffer.C (setReadOnly): make it work without view
4778         (i.e added an if (users))
4779
4780 2003-06-19  Angus Leeming  <leeming@lyx.org>
4781
4782         * lfuns.h:
4783         * LyXAction.C (init):
4784         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4785         with LFUN_DIALOG_SHOW <name> <data>.
4786
4787 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4788
4789         * CutAndPaste.C (availableSelections): small compilation fix for
4790         ancient (gcc 2.9x) compilers
4791
4792 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text3.C (cursorNext): add tmp var
4795
4796         * text2.C (updateCounters): for function calling out of for clause
4797         (replaceSelectionWithString): ditto
4798         (insertStringAsParagraphs): ditto
4799         (getColumnNearX): add tmp var
4800         (setCursorFromCoordinates): add tmp var
4801         (cursorDownParagraph): add tmp var
4802         (deleteEmptyParagraphMechanism): add tmp var
4803
4804         * text.C (insertChar): add tmp var
4805
4806         * rowpainter.C (paintDepthBar): add tmp var
4807
4808         * CutAndPaste.C (availableSelections): potentially check all
4809         paragraphs in a cut to fill the shown strings.
4810
4811 2003-06-18  André Pönitz  <poenitz@gmx.net>
4812
4813         * kbmap.[Ch]: use vector<> instead of list<>
4814
4815 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4816
4817         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4818         pasteSelection with index
4819
4820         * text2.C (pasteSelection): modify, call pasteSelection with index
4821
4822         * paragraph.C (asString): reimplement version with no interval to
4823         call the one with interval.
4824
4825         * lyxtext.h: add index arg to pasteSelection
4826
4827         * MenuBackend.C (MenuItem): handle PasteRecent
4828         (Menu::read::Menutags): add md_pasterecent
4829         (read): handle it
4830         (expandPasteRecent): new function
4831         (expand): use it
4832
4833         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4834
4835         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4836         the limited stack
4837         (availableSelections): new function
4838
4839 2003-06-17  Angus Leeming  <leeming@lyx.org>
4840
4841         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4842
4843 2003-06-17  Angus Leeming  <leeming@lyx.org>
4844
4845         * lfuns.h:
4846         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4847
4848         * lyxfunc.C (dispatch): invoke it.
4849
4850 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4851
4852         * iterators.C (operator++, ParPosition): reintroduce some
4853         const_cast for the benefit of older compilers.
4854
4855 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4856
4857         * text3.C (dispatch): do not modify clipboard when doing
4858         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4859         LFUN_DELETE_SKIP on a selection selection
4860
4861 2003-06-16  André Pönitz  <poenitz@gmx.net>
4862
4863         * BufferView.C:
4864         * buffer.C:
4865         * buffer.h:
4866         * paragraph.C:
4867         * tabular.[Ch]: IU of clone() and getLabelList();
4868
4869 2003-06-13  André Pönitz  <poenitz@gmx.net>
4870
4871         * tabular.h: compactification
4872
4873 2003-06-12  André Pönitz  <poenitz@gmx.net>
4874
4875         * tabular.C:
4876         * tabular.h:
4877         * tabular_funcs.h: some renaming plus whitespace
4878
4879 2003-06-12  André Pönitz  <poenitz@gmx.net>
4880
4881         * BufferView.C:
4882         * BufferView_pimpl.C:
4883         * CutAndPaste.C:
4884         * buffer.C:
4885         * iterators.[Ch]:
4886         * lyxfunc.C:
4887         * text.C:
4888         * toc.C: Return a Paragraph & for ParIterator::operator*()
4889
4890 2003-06-11  John Levon  <levon@movementarian.org>
4891
4892         * lyx_main.C:
4893         * ToolbarBackend.h:
4894         * ToolbarBackend.C: add "Toolbars" section and
4895         put the flags there
4896
4897 2003-06-10  Angus Leeming  <leeming@lyx.org>
4898
4899         * lfuns.h:
4900         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4901
4902         * lyxfunc.C (dispatch): invoke it.
4903
4904 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * main.C: protect <ios> with HAVE_IOS
4907         (main): protect sync_with_stdio with HAVE_IOS
4908
4909 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4910
4911         * text2.C (cutSelection): adjust
4912         (pasteSelection): adjust
4913
4914         * messages.C: handle get of empty string
4915
4916         * main.C (main): use sync_with_stdio(false)
4917
4918         * lyxfunc.C (dispatch): adjust
4919
4920         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4921         (WriteAs): remove unneeded BufferView arg.
4922
4923         * bufferparams.h: use correct types on papersize, papersize2 and
4924         paperpackage.
4925
4926         * bufferparams.C (readToken): adjust for type
4927         (writeLaTeX): add missing cases to switch.
4928
4929         * bufferlist.C (quitWriteBuffer): adjust
4930         (close): adjust
4931
4932         * buffer.C (asciiParagraph): remove some commented code.
4933
4934         * CutAndPaste.C: remove current_view extern variable.
4935         (cutSelection): add BufferParams arg.
4936         (eraseSelection): add BufferParams arg.
4937         (pasteSelection): add Buffer const & arg
4938
4939 2003-06-07  John Levon  <levon@movementarian.org>
4940
4941         * buffer.C:
4942         * paragraph_funcs.C:
4943         * paragraph_pimpl.C:
4944         * text.C:
4945         * text2.C:
4946         * paragraph.h:
4947         * paragraph.C: allow InsetERT to freely space lines,
4948         and some consolidation of code
4949
4950 2003-06-06  José Matos  <jamatos@fep.up.pt>
4951
4952         * buffer.C (makeDocBookFile): fix bug #821
4953
4954 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4955
4956         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4957
4958 2003-06-04  Angus Leeming  <leeming@lyx.org>
4959
4960         * buffer.C: bump format to 224.
4961
4962 2003-06-05  André Pönitz  <poenitz@gmx.net>
4963
4964         * text2.C (redoParagraphs): remove two const_cast<>
4965
4966 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4967
4968         * ParagraphList.h: remove last remnants of NO_STD_LIST
4969
4970 2003-06-03  Angus Leeming  <leeming@lyx.org>
4971
4972         * factory.C (createInset): small change to the way InsetExternal's params
4973         are set.
4974
4975 2003-06-04  André Pönitz  <poenitz@gmx.net>
4976
4977         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4978
4979         * paragraph_pimpl.h:
4980         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4981
4982         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4983
4984         * undo_funcs.C: make some simple cases of undo work again
4985
4986 2003-06-03  John Levon  <levon@movementarian.org>
4987
4988         * ispell.C: HPUX doesn't have sys/select.h
4989         (from Albert Chin)
4990
4991 2003-06-03  John Levon  <levon@movementarian.org>
4992
4993         * CutAndPaste.C: update tabular and include inset
4994         buffer references
4995
4996         * buffer.h:
4997         * paragraph.h:
4998         * paragraph.C: remove owningBuffer(), don't pass Buffer
4999         to clone()
5000
5001         * factory.C: insetGraphicsParams changed
5002
5003 2003-06-02  John Levon  <levon@movementarian.org>
5004
5005         * LyXAction.C:
5006         * factory.C:
5007         * lfuns.h:
5008         * lyxfunc.C:
5009         * text3.C: remove insetparent
5010
5011 2003-06-02  John Levon  <levon@movementarian.org>
5012
5013         * buffer.h:
5014         * buffer.C: fix inset_iterator.end(), move out of line
5015         (bug 1149)
5016
5017 2003-06-01  John Levon  <levon@movementarian.org>
5018
5019         * text3.C: use a proper cut/paste when doing inset
5020         insert (from Jürgen Spitzmüller)
5021
5022 2003-06-01  John Levon  <levon@movementarian.org>
5023
5024         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5025
5026 2003-05-30  André Pönitz  <poenitz@gmx.net>
5027
5028         * rowpainter.C: unify second drawing phase
5029
5030 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * trans_mgr.C: remove one case of current_view
5033
5034         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5035
5036         * paragraph_funcs.h: remove paragraph.h include
5037
5038         * paragraph.h: delete NO_STD_LIST stuff
5039
5040         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5041
5042         * buffer.h: remove paragraph.h include
5043
5044         * ParagraphList.C: delete file
5045
5046         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5047
5048         * toc.C (getTocList): adjust
5049
5050         * paragraph_pimpl.C (validate): adjust
5051
5052         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5053
5054         * paragraph.C (Paragraph): adjust
5055         (getPositionOfInset): use const_iterator, adjust
5056         (bibitem): use const_iterator, adjust
5057         (setInsetOwner): adjust
5058
5059         * iterators.C (operator++): adjust
5060
5061         * InsetList.[Ch]: Replace selfmade iterator with standard
5062         vector::iterator also introduce const_iterator. Remove getPos,
5063         getInset and setInset from InsetTable. Adjust accordingly.
5064
5065         * BufferView.C (lockInset): adjust
5066         (ChangeInsets): adjust
5067
5068         * tabular.[Ch]: delete commented same_id functions
5069
5070 2003-05-28  John Levon  <levon@movementarian.org>
5071
5072         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5073
5074 2003-05-28  André Pönitz  <poenitz@gmx.net>
5075
5076         * metricsinfo.[Ch]: remove 'fullredraw' member
5077
5078 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5079
5080         * lyxtextclass.C (operator): remove caching.
5081
5082 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * text3.C: adjust
5085
5086         * text2.C (cursorBottom): adjust
5087         (setCounter): use ParagraphList::find, adjust
5088
5089         * text.C (workWidth): use ParagraphList::find, adjust
5090
5091         * lyxcursor.C (LyXCursor): adjust
5092
5093         * buffer.C (inset_iterator): adjust
5094
5095         * ParagraphList.h: make iterator(value_type) private, make
5096         ParagraphList a friend of iterator.
5097
5098         * ParagraphList.C (find): new function
5099
5100         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5101
5102 2003-05-27  André Pönitz  <poenitz@gmx.net>
5103
5104         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5105
5106 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5107
5108         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5109
5110 2003-05-26  John Levon  <levon@movementarian.org>
5111
5112         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5113
5114 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * remove same_id from function signatures, adjust.
5117
5118 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5121
5122         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5123
5124         * paragraph.C (Paragraph): get rid of same_ids parameter
5125
5126         * ParagraphList.C (insert): adjust
5127         (push_back): adjust
5128
5129 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * paragraph_funcs.C (breakParagraph): adjust
5132         (breakParagraphConservative): adjust
5133
5134         * buffer.C (readParagraph): adjust
5135
5136         * ParagraphList.C (insert): take a reference instead of a pointer
5137         (insert): adjust
5138
5139         * paragraph.[Ch] (id): new function
5140
5141         * bufferlist.C (newFile): adjust
5142
5143         * ParagraphList.C (ParagraphList): adjust
5144         (assign): adjust
5145         (push_back): take a reference instead of a pointer.
5146
5147         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5148
5149         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5150         instead.
5151
5152         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5153         set else use old code.
5154
5155         * ParagraphList.C: remove all NO_NEXT code and only compile this
5156         code of NO_STD_LIST is set.
5157
5158 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5159
5160         * BufferView_pimpl.C:
5161         * TextCache.C:
5162         * TextCache.h:
5163         * bufferlist.C:
5164         * errorlist.h:
5165         * format.C:
5166         * format.h:
5167         * graph.C:
5168         * lyxfunc.C:
5169         * lyxrc.C:
5170         * graphics/GraphicsConverter.C:
5171         * graphics/PreviewLoader.C: header adjustment
5172
5173 2003-05-23  Angus Leeming  <leeming@lyx.org>
5174
5175         * LaTeXFeatures.[Ch] (useBabel): new method.
5176         * bufferparams.C (writeLaTeX): use it.
5177
5178 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * ParagraphList.h (set): remove unused function.
5181
5182 2003-05-23  André Pönitz  <poenitz@gmx.net>
5183
5184         * BufferView.C:
5185         * BufferView_pimpl.C:
5186         * buffer.C:
5187         * buffer.h:
5188         * lyxfunc.C:
5189         * undo_funcs.C: setUndo reworked
5190
5191         * iterators.[Ch]: add access to topmost ParagraphList
5192
5193         * lyxtext.[Ch] (workWidth): add a const
5194
5195 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * texrow.[Ch] (increasePos): remove function
5198         * exporter.C (export): removed unused var and outdated comment
5199
5200 2003-05-23  Angus Leeming  <leeming@lyx.org>
5201
5202         * latexrunparams.h: rename fragile as moving_arg.
5203         * paragraph.C (simpleTeXOnePar): ditto.
5204         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5205
5206 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5209         (createUndo): ditto
5210         (textUndoOrRedo): comment out a currently unused var.
5211
5212         * paragraph.h (NO_NEXT): enable NO_NEXT
5213
5214         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5215
5216         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5217
5218         * exporter.C (Export): adjust for removeAutoInsets removal.
5219
5220         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5221
5222         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5223
5224         * BufferView.[Ch] (removeAutoInsets): delete function
5225
5226 2003-05-22  Angus Leeming  <leeming@lyx.org>
5227
5228         * latexrunparams.h: add a free_spacing variable.
5229
5230         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5231         to pass moving_arg, as the data is stored in runparams.fragile.
5232
5233         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5234         to Inset::latexOptional or to simpleTeXOnePar.
5235
5236         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5237         free_spacing arg to Inset::latexOptional.
5238
5239         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5240         free_spacing arg.
5241
5242 2003-05-22  Angus Leeming  <leeming@lyx.org>
5243
5244         * latexrunparams.h: add fragile and use_babel variables.
5245
5246         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5247         * buffer.C (makeLaTeXFile): store this returned value in
5248         runparams.use_babel, thus passing it to the inset::latex methods.
5249
5250         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5251         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5252
5253         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5254         longer has a fragile arg, as it is stored in runparams.fragile.
5255
5256         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5257         moving_arg parameter as the data is stored in runparams.fragile.
5258
5259         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5260         a fragile parameter as the data is stored in runparams.fragile.
5261
5262 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5265
5266 2003-05-22  Angus Leeming  <leeming@lyx.org>
5267
5268         * latexrunparams.h: add a 'bool nice' which defaults to false.
5269
5270         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5271         now encapsulated within runparams.
5272
5273         * bufferlist.C (updateIncludedTeXfiles):
5274         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5275
5276 2003-05-22  Angus Leeming  <leeming@lyx.org>
5277
5278         * latexrunparams.h: new file containing struct LatexRunParams.
5279         * Makefile.am: add new file.
5280
5281         * LaTeX.[Ch] (c-tor, run):
5282         * buffer.[Ch] (makeLaTeXFile):
5283         * bufferlist.[Ch] (updateIncludedTeXfiles):
5284         * converter.C (convert, scanLog):
5285         * converter.[Ch] (runLaTeX):
5286         * exporter.C (Export):
5287         * paragraph.[Ch] (simpleTeXOnePar):
5288         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5289         * paragraph_funcs.[Ch] (latexParagraphs):
5290         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5291         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5292         pass around a LatexRunParams parameter.
5293
5294 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * paragraph.[Ch]: remove unused constructor
5297
5298         * ParagraphList.C (erase): new function, taking two iterators
5299
5300 2003-05-22  André Pönitz  <poenitz@gmx.net>
5301
5302         * undo_funcs.C: remove duplicated code
5303
5304         * iterator.[Ch]: operator=
5305
5306 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * tabular.C (SetMultiColumn): ws changes
5309
5310         * rowpainter.C (paintFirst): get rid of a ->previous
5311
5312         * lyx_cb.C (getPossibleLabel): parlist simplification
5313
5314         * BufferView.C (ChangeInsets): simplify slightly.
5315
5316 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5317
5318         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5319         * lfuns.h: new LFUN_SPACE
5320         * lyxfunc.C: protected space has a new lfun
5321         * paragraph_funcs.C: read new space insets
5322         * text3.C:
5323         * factory.C: handle new space insets
5324
5325 2003-05-22  André Pönitz  <poenitz@gmx.net>
5326
5327         * BufferView.C:
5328         * BufferView_pimpl.C:
5329         * buffer.[Ch]:
5330         * lyxfunc.C:
5331         * undo_funcs.C: return a ParIterator from getParFromID.
5332
5333         * iterators.[Ch]: add two const's
5334
5335 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * toc.C (getTocList): adjust
5338
5339         * iterators.[Ch]: rework for parlist
5340
5341         * buffer.C (par_iterator_begin): adjust
5342         (par_iterator_end): adjust
5343
5344         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5345
5346         * BufferView.C (removeAutoInsets): adjust
5347         (ChangeInsets): adjust
5348
5349 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * text.C (top_y): fix bug 1110
5352
5353 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * errorlist.[Ch]: added
5356         * buffer.C:
5357         * BufferView.[Ch]:
5358         * BufferView_pimpl.C:
5359         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5360         instead
5361
5362 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * Makefile.am: ensure that lyx is relinked upon changes to the
5365         various "convenience" libs.
5366
5367 2003-05-20  Angus Leeming  <leeming@lyx.org>
5368
5369         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5370         files are compiled in alphabetical order again.
5371
5372         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5373
5374 2003-05-19  Angus Leeming  <leeming@lyx.org>
5375
5376         * gettext.[Ch]: remove "char const * _(char const *)".
5377
5378 2003-05-19  André Pönitz  <poenitz@gmx.net>
5379
5380         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5381
5382         * Makefile.am:
5383         * BufferView.C:
5384         * DepTable.h:
5385         * LaTeXFeatures.C:
5386         * buffer.C:
5387         * lyxfont.C:
5388         * lyxlex.h:
5389         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5390
5391 2003-05-19  André Pönitz  <poenitz@gmx.net>
5392
5393         * buffer.C:
5394         * lyxlayout.[Ch]:
5395         * lyxtextclass.[Ch]:
5396         * paragraph.C:
5397         * paragraph_funcs.[Ch]:
5398         * text2.C:
5399         * text3.C: more insetenv work
5400
5401 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * ParagraphParameters.C (params2string): small bug fixed
5404
5405 2003-05-16  André Pönitz  <poenitz@gmx.net>
5406
5407         * debug.C:
5408         * bufferview_funcs.C: patch from Kornel Benko to prevent
5409           crash when _(...) is called twice in a statement
5410
5411 2003-05-16  André Pönitz  <poenitz@gmx.net>
5412
5413         * BufferView.C:
5414         * lyxfunc.C:
5415         * text.C:
5416         * text2.C:
5417         * text3.C:
5418         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5419
5420 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5421
5422         * lyx_main.C (init): remove spurious static_cast
5423
5424 2003-05-14  André Pönitz  <poenitz@gmx.net>
5425
5426         * BufferView.C: fix format string
5427
5428 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5429
5430         * BufferView.[Ch] (insertErrors): removed
5431         * BufferView.[Ch] (showErrorList): added
5432         * buffer.C (runChkTeX):
5433         * converter.C (scanLog): call showErrorList instead of inserterrors
5434
5435 2003-05-13  André Pönitz  <poenitz@gmx.net>
5436
5437         * BufferView_pimpl.C:
5438         * buffer.C:
5439         * bufferview_func.C:
5440         * MenuBackend.C:
5441         * lyxfunc.C:
5442         * lyxrc.C:
5443         * tex-accent.C:
5444         * text3.C:
5445         * toc.C:
5446         * tabular_funcs.h: tostr() from its own header
5447
5448         * ParagraphParameters.C:
5449         * ToolbarBackend.C:
5450         * bufferparams.C:
5451         * format.C:
5452         * lyxlex_pimpl.C:
5453         * text3.C: STRCONV()
5454
5455 2003-05-12  André Pönitz  <poenitz@gmx.net>
5456
5457         * BufferView.C:
5458         * BufferView_pimpl.C:
5459         * CutAndPaste.C:
5460         * LaTeX.C:
5461         * LaTeXFeatures.C:
5462         * ParagraphParameters.C:
5463         * buffer.C:
5464         * bufferlist.C:
5465         * bufferparams.C:
5466         * bufferview_funcs.C:
5467         * converter.C:
5468         * counters.C:
5469         * debug.C:
5470         * exporter.C:
5471         * format.C:
5472         * importer.C:
5473         * lyx_cb.C:
5474         * lyx_main.C:
5475         * lyxfont.C:
5476         * lyxfunc.C:
5477         * lyxvc.C:
5478         * paragraph.C:
5479         * paragraph_funcs.C:
5480         * tabular.C:
5481         * tabular_funcs.C:
5482         * text2.C:
5483         * text3.C:  boost::format -> bformat  all over the place
5484
5485
5486 2003-05-09  André Pönitz  <poenitz@gmx.net>
5487
5488         * LColor.[Ch]: Pimpl the #include <map> away
5489
5490 2003-05-09  John Levon  <levon@movementarian.org>
5491
5492         * bufferlist.C: never remove emergency saves
5493
5494 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * Makefile.am: better lib building
5497
5498 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5501         instead.
5502         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5503         (simpleTeXSpecialChars): adjust
5504         (simpleTeXSpecialChars): adjust
5505         * paragraph.C (simpleTeXOnePar): adjust
5506         * buffer.C (makeLaTeXFile): adjust
5507
5508         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5509
5510         * text2.C (changeDepth): parlist cleanup
5511         (getColumnNearX): ditto
5512
5513         * rowpainter.C (getLabelFont): parlist cleanup
5514
5515         * bufferlist.C (newFile): parlist cleanup
5516
5517         * CutAndPaste.C (eraseSelection): parlist cleanup
5518
5519         * BufferView_pimpl.C (trackChanges): parlist cleanup
5520         (dispatch): ditto
5521
5522         * BufferView.C (lockInset): parlist cleanup.
5523         (ChangeInsets): ditto
5524
5525 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * CutAndPaste.h: Update file header.
5528
5529         * CutAndPaste.C: Update file header.
5530         Store the parts cut out of the Document in a limited_stack.
5531         (copySelection): adjust
5532         (pasteSelection): new function, takes the index in the limited stack.
5533         (nrOfParagraphs): adjust
5534         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5535         simplify error inset insertion.
5536         (checkPastePossible): adjust
5537
5538 2003-05-06  John Levon  <levon@movementarian.org>
5539
5540         * text2.C: don't cast wrap inset to float
5541
5542 2003-05-05  André Pönitz  <poenitz@gmx.net>
5543
5544         * iterator.C:
5545         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5546
5547         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5548           few naked Paragraph *.
5549
5550 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5551
5552         * bufferparams.C: Output warning if a document with missing
5553         TeX document class is loaded
5554         * exporter.C: Disable TeX exports if the document class is missing
5555         * lyxtextclass.C:
5556         * lyxtextclass.h:
5557         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5558         isTeXClassAvailable()
5559
5560 2003-05-03  John Levon  <levon@movementarian.org>
5561
5562         * BufferView.h:
5563         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5564         explicit cursor show/hide
5565
5566         * BufferView_pimpl.h:
5567         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5568         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5569
5570         * lyxfunc.C: hide cursor before dispatching.
5571
5572         * lyx_cb.C:
5573         * lyxfind.C:
5574         * text.C:
5575         * text3.C: remove explicit cursor hides
5576
5577 2003-05-02  André Pönitz  <poenitz@gmx.net>
5578
5579         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5580
5581         * undo_funcs.C:
5582         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5583           linked lists
5584
5585         * text2.C: tiny whitespace
5586
5587 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5588
5589         * undo_funcs.C: almost only ws changes.
5590
5591         * ParagraphList.C (splice): just return if pl is empty.
5592
5593 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * ParagraphList.C (splice): new function.
5596
5597         * CutAndPaste.C (pasteSelection): use it
5598
5599 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * CutAndPaste.C (pasteSelection): remove the last next and
5602         previous from this file.
5603
5604 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * CutAndPaste.C (pasteSelection): more clean up, user proper
5607         ParagraphList functions for pasteing.
5608
5609         * ParagraphList.C (insert): new function, three arg insert
5610
5611 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * ParagraphList.C (insert): new function, three arg insert
5614
5615         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5616         not on paragraphs.
5617
5618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5621
5622 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5625
5626 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5629         (copySelection): clean up a bit.
5630         (pasteSelection): use make_pair
5631
5632         * ParagraphList.C (ParagraphList): implement copy constructor
5633         (operator=): implement, base on copy constructor.
5634         (assign): new func
5635
5636         * paragraph.C (erase): return a bool
5637
5638         * paragraph_pimpl.C (erasePos): remove function, move contents...
5639         (erase): ... here. Return a bool.
5640         (erase): call erase instead of erasePos.
5641
5642 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5643
5644         * ParagraphList.h: define PitPosPair
5645         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5646         ParagraphList, fix a bug on pasting multiple pars
5647         * text2.C: change interface to C&P
5648
5649 2003-04-30  André Pönitz  <poenitz@gmx.net>
5650
5651         * undo_func.C: revert part of yesterday's patch 2
5652
5653 2003-04-30  John Levon  <levon@movementarian.org>
5654
5655         * LColor.C: s/tabular/table/
5656
5657 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * text3.C (dispatch): do not convert iterator -> pointer
5660         * undo_funcs.C (setCursorParUndo): ditto
5661         * text_funcs.C (transposeChars): ditto
5662
5663         * text2.C (setLayout): ws changes only
5664
5665         * text.C (breakParagraph): do not convert iterator -> pointer
5666         (insertChar): ditto
5667         (acceptChange): ditto
5668         (rejectChange): ditto
5669         (changeCase): ditto
5670         (Delete): ditto
5671         (backspace): ditto
5672
5673         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5674         pointer
5675
5676 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * text3.C (gotoInset): YABG (yet another bad getChar)
5679
5680 2003-04-29  André Pönitz  <poenitz@gmx.net>
5681
5682         * paragraph.h: make operator= private unimplemented as long as
5683           it is unusable
5684
5685         * ParagraphList.C: whitespace
5686
5687         * paragraph.[Ch]:
5688         * paragraph_pimpl.[Ch]:
5689         * paragraph_funcs.C:
5690         * CutAndPaste.C:
5691         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5692
5693         * text2.C:
5694           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5695
5696 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5699         * paragraph.[Ch] (erase):
5700         * paragraph_pimpl.[Ch] (erase): change return type and value
5701         * text2.C (cutSelection): some rework
5702
5703 2003-04-28  John Levon  <levon@movementarian.org>
5704
5705         * bufferlist.C: changes for unsaved changes dialog
5706
5707 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * bufferlist.C (newFile): set language (messages_) for new
5710         documents also.
5711
5712         * buffer.C (readFile): ws changes only.
5713
5714 2003-04-28  André Pönitz  <poenitz@gmx.net>
5715
5716         * undo_funcs.C:
5717         * lyxfunc.C:
5718         * buffer.[Ch]:
5719         * BufferView_pimpl.C:
5720         * BufferView.C: getParFromID related ParagraphList::iterator changes
5721
5722 2003-04-28  André Pönitz  <poenitz@gmx.net>
5723
5724         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5725           Changes
5726
5727 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * messages.C: remove one more localedir class variable.
5730
5731 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * messages.C (getLocaleDir): singleton generation function
5734         (Pimpl): use it.
5735         (Messages): add a default constructor.
5736
5737         * main.C (main): do not setup localedir here, do not call
5738         gettext_init.
5739
5740         * gettext.C (_): use it.
5741         (gettext_init): delete funciton
5742
5743 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * gettext.C (getLyXMessages): new singleton generating function.
5746
5747         * buffer.C (updateDocLang): adjust
5748
5749         * Makefile.am (messages.o): add target
5750         (main.o): remove target
5751
5752 2003-04-27  John Levon  <levon@movementarian.org>
5753
5754         * bufferlist.C:
5755         * lyx_cb.C:
5756         * lyxfunc.C:
5757         * lyxvc.C: specify cancel button in Alert::prompt
5758
5759 2003-04-26  John Levon  <levon@movementarian.org>
5760
5761         * text3.C:
5762         * lyxfunc.C:
5763         * lfuns.h:
5764         * LyXAction.C: add LFUN_INSET_SETTINGS
5765
5766         * lyxfunc.C: don't enable tabular-feature when there's
5767         just any locking inset
5768
5769 2003-04-26  John Levon  <levon@movementarian.org>
5770
5771         * bufferlist.C: re-add Cancel to buffer close question
5772
5773         * lyxfunc.C: fix import UI a bit
5774
5775 2003-04-25  John Levon  <levon@movementarian.org>
5776
5777         * gettext.C: remove the broken asserts for now
5778
5779 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * messages.C: make case where setlocale cannot comply work better.
5782
5783         * buffer.C (updateDocLang): new function
5784         (changeLanguage): use it
5785         (readFile): use it
5786
5787         * text2.C (setCounter): use B_ a bit.
5788
5789         * lyxlayout.C (Read): be sure to trim the label strings.
5790
5791         * messages.C (Messages): fix typo in comment
5792
5793         * buffer.C (readFile): set message_ after file is loaded.
5794         (makeDocBookFile): remove double return
5795         (changeLanguage): reset message_ upon language change.
5796         (B_): new func, use this to get translated buffer strings.
5797
5798         * main.C: add myself and Jean Marc as authors.
5799
5800 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * messages.[hC]: pimplify Messages, and three different pimpls to be
5803         used in different circumstances.
5804
5805         * gettext.[Ch]: change for use with new message code.
5806
5807 2003-04-24 André Pönitz <poenitz@gmx.net>
5808
5809         * factory.C: support for eqref
5810
5811 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * messages.[Ch]: add missing char
5814
5815         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5816
5817         * messages.[Ch]: New files
5818
5819 2003-04-18  John Levon  <levon@movementarian.org>
5820
5821         * BufferView.h:
5822         * BufferView.C:
5823         * BufferView_pimpl.C:
5824         * lfuns.h:
5825         * LyXAction.C:
5826         * lyxtext.h:
5827         * text2.C: remove layout-copy/paste (bug 778)
5828
5829 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5830
5831         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5832
5833 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5836         if they succeed. Act accordingly.
5837
5838 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * text2.C (setCharFont): adjust
5841         (setCounter): adjust
5842         (insertStringAsLines): adjust
5843
5844         * text.C (leftMargin): adjust
5845         (setHeightOfRow): adjust
5846
5847         * rowpainter.C (paintFirst): adjust
5848         (paintLast): adjust
5849
5850         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5851         (outerHook): ditto
5852         (isFirstInSequence): ditto
5853         (getEndLabel): ditto
5854         (outerFont): adjust
5855
5856         * paragraph.C (getParLanguage): comment out some hard stuff.
5857
5858         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5859         (sgmlError): ditto
5860         (simpleDocBookOnePar): ditto
5861         (makeDocBookFile): use ParagraphList::iterator
5862
5863         * CutAndPaste.C (pasteSelection): adjust
5864
5865 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * text2.C (getFont): adjust
5868         (getLayoutFont): adjust
5869         (getLabelFont): adjust
5870
5871         * paragraph_funcs.C (TeXOnePar): adjust
5872
5873         * buffer.C (simpleLinuxDocOnePar): adjust
5874         (simpleDocBookOnePar): adjust
5875
5876         * CutAndPaste.C (pasteSelection): adjust
5877
5878         * BufferView.C (getEncoding): adjust
5879
5880         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5881
5882 2003-04-16  John Levon  <levon@movementarian.org>
5883
5884         * lyxfind.C: use parlist stuff for search/changes
5885
5886 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5889
5890         * text2.C (deleteEmptyParagraphMechanism): adjust
5891
5892         * text2.[Ch] (ownerParagraph): delete func (both of them
5893
5894 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5897
5898 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * ParagraphList.C: prepare for NO_NEXT
5901
5902 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * text2.C (getFont): adjust
5905         (getLayoutFont): adjust
5906         (getLabelFont): adjust
5907
5908         * paragraph.C (getFont): adjust
5909         (getLabelFont): adjust
5910         (getLayoutFont): adjust
5911
5912         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5913
5914 2003-04-15  John Levon  <levon@movementarian.org>
5915
5916         From Angus Leeming
5917
5918         * lyx_main.C: handle Include in .ui files
5919
5920 2003-04-15  John Levon  <levon@movementarian.org>
5921
5922         * MenuBackend.C: make the doc files length shorter
5923
5924         * ToolbarBackend.h:
5925         * ToolbarBackend.C: handle toolbar placement flags,
5926         Minibuffer
5927
5928 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5931         adjust
5932
5933         * paragraph_funcs.C (TeXOnePar): adjust
5934
5935         * paragraph.C (getLabelFont): add outerfont arg, adjust
5936         (getLayoutFont): ditto
5937         (simpleTeXOnePar): adjust
5938
5939         * paragraph_pimpl.C (realizeFont): delete func
5940
5941 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5942
5943         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5944         row argument, constify cur argument.
5945
5946 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * text2.C (getFont): adjust
5949         (getLayoutFont): adjust
5950         (getLabelFont): adjust
5951
5952         * paragraph_funcs.C (TeXOnePar): adjust
5953         (outerFont): new func...
5954         (realizeFont): ...moved out from here, changed this to facilitate
5955         transition
5956
5957         * paragraph.C (getFont): take outerfont as arg, adjust
5958         (simpleTeXOnePar): add outerfont arg, adjust
5959
5960         * buffer.C (simpleLinuxDocOnePar): adjust
5961         (simpleDocBookOnePar): adjust
5962
5963         * CutAndPaste.C (pasteSelection): adjust
5964
5965         * BufferView.C (getEncoding): adjust
5966
5967 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * text2.C (setCharFont): adjust
5970         (setCounter): adjust
5971
5972         * text.C (leftMargin): adjust
5973         (setHeightOfRow): adjust
5974
5975         * rowpainter.C (paintFirst): adjust
5976         (paintLast): adjust
5977
5978         * paragraph_pimpl.C (realizeFont): adjust
5979
5980         * paragraph.C (isFirstInSequence): move from here...
5981         * paragraph_funcs.C (isFirstInSequence): ...to here
5982
5983         * paragraph.C (outerHook): move from here...
5984         * paragraph_funcs.C (outerHook): ...to here
5985
5986         * paragraph.C (depthHook): move from here...
5987         * paragraph_funcs.C (depthHook): ...to here
5988
5989         * paragraph.C (getEndLabel): move from here...
5990         * paragraph_funcs.C (getEndLabel): ...to here
5991
5992         * text2.C (realizeFont): move from here...
5993         * paragraph_funcs.C (realizeFont): ...to here
5994
5995 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5998
5999 2003-04-14  Angus Leeming  <leeming@lyx.org>
6000
6001         * LColor.[Ch]: scrap LColor mathcursor.
6002
6003 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * lyxlex.[Ch] (text): delete function
6006         * trans.C (Load): adjust
6007         * paragraph_funcs.C (readParToken): adjust
6008
6009 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6012         vector<char> instead of a char[].
6013
6014         * lyxlex_pimpl.C (getString): adjust
6015         (next): adjust
6016         (lex): use getString
6017         (eatLine): adjust
6018         (nextToken): adjust
6019
6020         * lyxlex.C (text): use pimpl_->getString()
6021         (getBool): ditto
6022         (findToken): ditto
6023
6024 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6027         (makeFontEntriesLayoutSpecific): temp var for par.size()
6028         (setLayout): temp var for ownerParagraphs().end()
6029         (fullRebreak): temp var for rows().end()
6030         (selectionAsString): temp var for boost::next(startpit), realize
6031         that the while really is a regular for loop.
6032         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6033         setCursor in one place.
6034         (setParagraph): temp vr for ownerParagraphs().end()
6035         (updateCounters): make the while loop a for loop
6036         (cutSelection): temp var for ownerParagraphs().end()
6037         (updateInset): make the do {} while() a regular for loop
6038         (getCursorX): use temp vars
6039         (setCurrentFont): use temp vars
6040         (getColumnNearX): use temp vars
6041
6042 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * text.C (transformChar): use temp var for getChar
6045         (computeBidiTables): use temp var for row->par()
6046         (fill): move temp vars for row->par() and pit->layout() earlier in
6047         the function.
6048         (labelFill): use temp var for row->par()
6049         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6050         asc and desc, realize that pit never changes and that firstpit is
6051         just a duplicate and not needed. Exchange rit->par() with pit in a
6052         lot of places.
6053         (breakAgain): use a temp var for boost::next(rit)
6054         (breakAgainOneRow): ditto
6055         (breakParagraph): use a temp var for rows().begin()
6056         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6057         (cursorRightOneWord): use temp var for cursor.par() and
6058         cursor.pos(), remove usage of tmpcursor.
6059         (cursorLeftOneWord): use temp var for cursor.par() and
6060         cursor.pos() only set cur at end of function.
6061
6062 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * text.C, text2.C: exchange all usage of Paragraph::next with
6065         boost::next(ParagraphList::iterator)
6066
6067         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6068
6069         * text2.C (cursorTop): simplify implementation
6070         (cursorBottom): ditto
6071         (setParagraph): use ParagraphList::iterator
6072         (setCurrentFont): adjust
6073         (getColumnNearX): adjust
6074         (cursorRight): adjust
6075         (cursorLeft): remove usage of Paragraph::previous
6076         (cursorUpParagraph): ditto
6077         (deleteEmptyParagraphMechanism): slight cleanup
6078
6079         * text.C (isBoundary): take a Paragraph const & instead of a
6080         pointer as arg.
6081         (addressBreakPoint): ditto
6082         (leftMargin): remove usage of Paragraph::previous.
6083         (setHeightOfRow): ditto
6084         (cursorLeftOneWord): ditto
6085         (selectNextWordToSpellcheck): ditto
6086         (Delete): ditto
6087         (backspace): ditto
6088         (breakParagraph): remove one usage of Paragraph::next
6089         (redoParagraph): ditto
6090         (acceptChange): ditto
6091         (insertChar): adjust
6092         (rowBreakPoint): adjust
6093
6094         * bufferview_funcs.C (toggleAndShow): adjust
6095
6096 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6097
6098         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6099         methods to access it.
6100         * lyxtext.h:
6101         * text.C: Added updateRowPositions to compute all row positions.
6102         Make top_y and getRowNearY() to use the cached y position
6103
6104 2003-04-11  John Levon  <levon@movementarian.org>
6105
6106         * text.C (rowBreakPoint): reintroduce the labelEnd
6107         checks, code copied from the row fill stuff. Deep voodoo.
6108
6109         * text.C (fill): add a comment and debugging for the
6110         next poor soul.
6111
6112 2003-04-11  John Levon  <levon@movementarian.org>
6113
6114         * text.C: make sure fullrow insets get wrapped to the next line,
6115         even when they're in a manual label
6116
6117 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * text2.C (insertParagraph): make it take ParagraphList::iterator
6120         as arg.
6121         (setLayout): make it return ParagraphList::iterator
6122         (redoParagraphs): ditto
6123         (setCounter): ditto
6124         (checkParagraph): ditto
6125
6126         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6127
6128         * text2.C: adjust several funcs.
6129         (realizeFont): take a ParagraphList::iterator as arg.
6130         (getLayoutFont): ditto
6131         (getLabelFont): ditto
6132         (setCharFont): ditto
6133
6134         * text.C: adjust several funcs.
6135
6136 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6137
6138         * text.C (selectNextWordToSpellcheck): don't accidentally
6139         skip insets
6140
6141 2003-04-10  John Levon  <levon@movementarian.org>
6142
6143         * ToolbarBackend.C (getIcon): special handling for
6144         LFUN_MATH_DELIM
6145
6146 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * text2.C (cursorRight): a getChar assert fixed
6149
6150 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * text2.C (getFont): change to take a ParagraphList::iterator
6153         instead of Paragraph*
6154         Adjust several functions.
6155
6156         * text.C (transformChar): change to take a ParagraphList::iterator
6157         instead of Paragraph*
6158         (singleWidth): ditto
6159         Adjust several functions.
6160
6161         * rowpainter.C: adjust several functions
6162         * rowpainter.h:store a ParagraphList::iterator and not a
6163         Paragraph&.
6164
6165
6166 2003-04-09  John Levon  <levon@movementarian.org>
6167
6168         * lyxfunc.C:
6169         * lfuns.h:
6170         * LyXAction.h:
6171         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6172         and the "help" bits as well
6173
6174 2003-04-09  John Levon  <levon@movementarian.org>
6175
6176         * ToolbarBackend.h:
6177         * ToolbarBackend.C: allow multiple toolbars
6178
6179 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * undo_funcs.C (setCursorParUndo): adjust
6182
6183         * text_funcs.C (transposeChars): adjust
6184
6185         * text3.C (gotoNextInset): adjust
6186         (dispatch): adjust
6187
6188         * text2.C (setLayout): adjust
6189         (changeDepth): adjust
6190         (setFont): adjust
6191         (redoParagraphs): adjust
6192         (selectionAsString): adjust
6193         (setParagraph): adjust
6194         (insertInset): adjust
6195         (cutSelection): adjust
6196         (copySelection): adjust
6197         (pasteSelection): adjust
6198         (insertStringAsLines): adjust
6199         (updateInset): adjust
6200         (setCursor): change to take a ParagraphList::iterator parameter
6201         (setCursorIntern): change to take a ParagraphList::iterator parameter
6202         (setCurrentFont): adjust
6203         (cursorLeft): adjust
6204         (cursorRight): adjust
6205         (deleteEmptyParagraphMechanism): adjust
6206
6207         * text.C (breakParagraph): adjust
6208         (insertChar): adjust
6209         (acceptChange): adjust
6210         (rejectChange): adjust
6211         (selectNextWordToSpellcheck): adjust
6212         (changeCase): adjust
6213         (Delete): adjust
6214         (backspace): adjust
6215
6216         * lyxfind.C (SearchForward): adjust
6217         (SearchBackward): adjust
6218         (nextChange): adjust
6219
6220         * lyxcursor.C (par): adjust
6221
6222         * lyxcursor.h: store a ParagraphList::iterator instead of a
6223         Paragraph*
6224
6225         * lyx_cb.C (getPossibleLabel): adjust
6226
6227         * bufferview_funcs.C (toggleAndShow): adjust
6228
6229         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6230         (dispatch): adjust
6231
6232         * BufferView.C (removeAutoInsets): adjust
6233         (lockedInsetStoreUndo): adjust
6234
6235 2003-04-09  John Levon  <levon@movementarian.org>
6236
6237         * ToolbarBackend.C: try icon without argument
6238         if with argument fails
6239
6240 2003-04-08  John Levon  <levon@movementarian.org>
6241
6242         * ToolbarBackend.h:
6243         * ToolbarBackend.C: add getIcon(), handle tooltip,
6244         and change from "Icon" to "Item".
6245
6246 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6247
6248         * BufferView.C (lockInset): another bad getchar crunched
6249
6250 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6251
6252         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6253         again)
6254
6255 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6256
6257         * lyxfind.C (searchForward, searchBackwards): bug 782
6258
6259 2003-04-07  John Levon  <levon@movementarian.org>
6260
6261         * paragraph.C: remove dead comment
6262
6263         * text.C: remove troublesome depth-fiddling code
6264         in leftMargin() and rightMargin() (bug 1017)
6265
6266         * text.C: fix breaking of rows in nested lists
6267         (bug 1004)
6268
6269         * text2.C (updateCounters): fix up depth values
6270         (bug 1013)
6271
6272 2003-04-07  John Levon  <levon@movementarian.org>
6273
6274         * BufferView_pimpl.C: clear message when doc finishes resizing,
6275         and after a mouse event
6276
6277         * lyxfunc.C: clear message after exiting inset
6278
6279 2003-04-07  John Levon  <levon@movementarian.org>
6280
6281         * bufferview_funcs.C: show math status not outside
6282         status in the statusbar
6283
6284 2003-04-07  John Levon  <levon@movementarian.org>
6285
6286         * lyxfunc.C: note status changed after a depth change
6287
6288 2003-04-04  Angus Leeming  <leeming@lyx.org>
6289
6290         * LaTeX.h: move AuxInfo operator==, != out of line.
6291         Remove LaTeX virtual destructor; nothing derives from it.
6292         Move operator()() out of public area and rename it startscript().
6293         Change protected for private.
6294
6295 2003-04-04  Angus Leeming  <leeming@lyx.org>
6296
6297         * lyxfunc.C:
6298         * text2.C: remove unneeded #includes.
6299
6300 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6301
6302         * text2.C (dEPM): fix the heigth of the next row
6303
6304 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * text.C: squashed an invalid getChar requester + some ws changes
6307
6308 2003-04-03  John Levon  <levon@movementarian.org>
6309
6310         * bufferview_funcs.h:
6311         * bufferview_funcs.C:
6312         * lyxfunc.C:
6313         * lyxtext.h:
6314         * text2.C: make getStatus work for the env depth lfuns
6315
6316 2003-04-03  John Levon  <levon@movementarian.org>
6317
6318         * bufferview_funcs.h:
6319         * bufferview_funcs.C:
6320         * lyxfunc.C:
6321         * lyxtext.h:
6322         * text2.C: parlistize decDepth(), by merging it with incDepth()
6323
6324 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * lyxrow.h: store a ParagraphList::iterator instead of a
6327         Paragraph* and adjust other class functions to suit.
6328
6329         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6330         above.
6331
6332 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6333
6334         * text2.C (setCursor): do not anchor to cursor row for the time being
6335
6336 2003-04-02  John Levon  <levon@movementarian.org>
6337
6338         * LyXAction.C:
6339         * lfuns.h:
6340         * lyx_main.C:
6341         * lyxtext.h:
6342         * text.C:
6343         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6344
6345 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * paragraph.h: make ParagraphList and ParagraphList::iterator
6348         friends of Paragraph.
6349
6350         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6351
6352         * ParagraphList.C: Use the private next_ and previous_ from
6353         Paragraph.
6354
6355 2003-04-01  John Levon  <levon@movementarian.org>
6356
6357         * ToolbarBackend.h:
6358         * ToolbarBackend.C:
6359         * Makefile.am: rename, remove defaults gunk
6360
6361         * MenuBackend.h:
6362         * MenuBackend.C: remove defaults gunk
6363
6364         * Languages.h:
6365         * Languages.C: remove defaults gunk
6366
6367         * lyx_main.h:
6368         * lyx_main.C: error out if files couldn't be found.
6369
6370 2003-04-02  John Levon  <levon@movementarian.org>
6371
6372         * text2.C: make incDepth() use parlist
6373
6374 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * undo_funcs.C (firstUndoParagraph): adjust
6377
6378         * text3.C (gotoInset): adjust
6379         (dispatch): adjust, and rewrite loop.
6380
6381         * text2.C (init): adjust, and rewrite loop.
6382         (redoParagraphs): adjust
6383         (updateInset): adjust, and rewrite loop.
6384         (deleteEmptyParagraphMechanism): adjust
6385
6386         * tabular.C (LyXTabular): adjust
6387         (SetMultiColumn): adjust
6388         (TeXRow): adjust
6389
6390         * lyxtext.[Ch] (ownerParagraph): delete function
6391         (ownerParagraphs): new function returns a ParagraphList.
6392
6393         * BufferView.C (removeAutoInsets): adjust
6394         (insertErrors): adjust
6395         (setCursorFromRow): adjust
6396
6397 2003-04-01  Angus Leeming  <leeming@lyx.org>
6398
6399         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6400         in the frontends.
6401
6402 2003-04-02  John Levon  <levon@movementarian.org>
6403
6404         * lyxtext.h:
6405         * text.C:
6406         * Makefile.am:
6407         * text_funcs.h:
6408         * text_funcs.C: make transposeChars a free function
6409
6410         * lyxrow_funcs.C: remove wrong comment
6411
6412 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * lyxtext.h: adjust
6415         * rowpainter.C: adjust
6416         * text.C: adjust
6417         * text2.C: adjust
6418         * text3.C: adjust
6419
6420         * lyxrow_funcs. [Ch]: new files
6421
6422         * lyxrow.[Ch]: remove next and previous pointers
6423         (next,previous): remove accessor functions
6424         (isParEnd): move to lyxrow_funcs
6425         (lastPos): move to lyxrow_funcs
6426         (nextRowIsAllInset): move to lyxrow_funcs
6427         (lastPrintablePos): move to lyxrow_funcs
6428         (numberOfSeparators): move to lyxrow_funcs
6429         (numberOfHfills): move to lyxrow_funcs
6430         (numberOfLabelHfills): move to lyxrow_funcs
6431         (hfillExpansion): move to lyxrow_funcs
6432
6433         * lyxfunc.C: adjust
6434
6435         * bufferview_funcs.C (toggleAndShow): adjust
6436
6437         * RowList.h: Remove class RowList from file leave just a
6438         std::list<Row>.
6439
6440         * RowList.C: delete file
6441
6442         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6443         and lyxrow_funcs.h
6444
6445 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * text3.C (cursorPrevious): adjust
6448         (cursorNext): adjust
6449         (dispatch): adjust
6450
6451         * text2.C (redoHeightOfParagraph): adjust
6452         (redoDrawingOfParagraph): adjust
6453         (setCursor): adjust
6454
6455         * text.C (breakParagraph): adjust
6456         (insertChar): adjust
6457         (backspace): adjust
6458
6459         * rowpainter.C (RowPainter): adjust
6460         (leftMargin): simplify and adjust
6461         (most rowpainter functions): adjust.
6462
6463         * rowpainter.h: store the row as RowList::iterator not as Row*
6464
6465         * lyxcursor.C (row): taka RowList::iterator as arg
6466         (irow): ditto
6467
6468         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6469         of Row*.
6470
6471 2003-04-01  Angus Leeming  <leeming@lyx.org>
6472
6473         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6474         stuff like bool Bool.
6475
6476 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6479         rewrite a loop
6480
6481 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6484         RowList::iterator.
6485
6486         * lyxtext.h (rows): drop one version and leve a const variant that
6487         returns a RowList::iterator.
6488
6489 2003-03-31  Angus Leeming  <leeming@lyx.org>
6490
6491         * text.C (fill): ensure that the signature is the same as that in the
6492         header file.
6493
6494 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * text2.C (redoParagraphs): adjust
6497         (updateCounters): adjust
6498         (checkParagraph): adjust
6499         (getColumnNearX): adjust and reformat a bit.
6500
6501         * text.C (top_y): adjust
6502         (workWidth): adjust
6503         (leftMargin): adjust
6504         (prepareToPrint): adjust
6505         (getRow): adjust
6506         (getRowNearY): adjust
6507
6508         * lyxtext.h: make rowlist_ mutable.
6509
6510         * RowList.h: add const_iterator
6511         * RowList.C: adjust for RowList::const_iterator.
6512
6513         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6514         adjust.
6515
6516 2003-03-31  John Levon  <levon@movementarian.org>
6517
6518         * lyxrc.h:
6519         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6520
6521         * lyx_main.C: set default fonts from using lyx_gui funcs
6522
6523         * exporter.C: pdf_mode moved from lyxrc
6524
6525         * lyx_cb.C:
6526         * lyxfunc.C: changes from above
6527
6528 2003-03-31  John Levon  <levon@movementarian.org>
6529
6530         * lyx_main.C: fix to the last fix
6531
6532 2003-03-31  John Levon  <levon@movementarian.org>
6533
6534         * bufferlist.C: "Load original" -> "Load Original"
6535
6536         * converter.C:
6537         * exporter.C:
6538         * importer.C:
6539         * lyx_main.C:
6540         * format.C: more Alert cleanups
6541
6542 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * text2.C (removeParagraph): make it take a RowList::iterator as
6545         arg, adjust.
6546         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6547         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6548
6549         * text.C (anchor_row): make it take a RowList::iterator as arg,
6550         adjust.
6551         (computeBidiTables): make it take a const reference to Row instead
6552         of Row pointer, adjust.
6553         (leftMargin): make it take a RowList::iterator as arg, adjust.
6554         (rowBreakPoint): adjust
6555         (breakAgainOneRow): make it take a RowList::iterator as arg,
6556         adjust.
6557         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6558
6559         * bufferview_funcs.C (toggleAndShow): adjust
6560
6561 2003-03-30  John Levon  <levon@movementarian.org>
6562
6563         * Makefile.am:
6564         * BoostFormat.h:
6565         * boost-inst.C: moved to support
6566
6567         * several files: changes as a result
6568
6569 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * text2.C (LyXText): adjust.
6572         (init): adjust
6573         (removeRow): make it take a RowList::iterator as arg, adjust.
6574         (fullRebreak): adjust
6575         (deleteEmptyParagraphMechanism): adjust
6576         (clearPaint): adjust
6577         (postPaint): adjust
6578
6579         * text.C (top_y): adjust
6580         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6581         (breakAgain): make it take a RowList::iterator as arg, adjust.
6582         (breakParagraph): adjust
6583         (insertChar): adjust
6584         (backspace): adjust
6585
6586         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6587         need_break_row, and refresh_row.
6588
6589         * text3.C (dispatch): adjust
6590
6591         * text2.C (checkParagraph): adjust
6592         (setCursor): adjust
6593         (setCursorFromCoordinates): adjust
6594
6595         * text.C (top_y): adjust
6596         (workWidth): adjust
6597         (getRow): make it return a RowList::iterator, adjust
6598         (getRowNearY): make it return a RowList::iterator, adjust
6599
6600         * text2.C (init): adjust
6601         (insertRow): remove function
6602         (insertParagraph): adjust
6603         (redoParagraphs): adjust
6604         (fullRebreak): adjust
6605         (updateCounters): adjust
6606
6607         * text.C (top_y): rewrite to use RowList iterators.
6608         (top_y): adjust
6609         (setHeightOfRow): rewrite to sue RowList iterators.
6610         (appendParagraph): adjust
6611         (breakAgain): adjust
6612         (breakAgainOneRow): adjust
6613         (breakParagraph): adjust
6614         (getRow): adjust
6615         (getRowNearY): adjust, and remove commented code.
6616
6617         * lyxtext.h (firstRow): delete function
6618         (lastRow): delete function
6619         (rows): new function (const and non-const versions.)
6620         (insertRow): delete function
6621
6622         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6623
6624 2003-03-29  John Levon  <levon@movementarian.org>
6625
6626         * BufferView_pimpl.C: always update scrollbar top
6627         because pasting text when we're anchored could mean we
6628         miss an update altogether
6629
6630 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * text2.C (init): use rowlist_.end() and not 0.
6633         (insertRow): change to take a RowList::iterator as arg, adjust
6634         for this.
6635         (insertParagraph): change to take a RowList::iterator as arg,
6636         adjust for this.
6637         (redoParagraphs): remove some debug msgs.
6638
6639         * text.C (appendParagraph): change to take a RowList::iterator
6640         arg, adjust for this.
6641         (breakAgain): add an assert
6642         (breakAgainOneRow): ditto
6643
6644 2003-03-29  John Levon  <levon@movementarian.org>
6645
6646         * text2.C: do not clear selection after inc/decDepth
6647         (bug 550)
6648
6649 2003-03-29  John Levon  <levon@movementarian.org>
6650
6651         * BufferView.C:
6652         * buffer.C: fix broken strerrors according to Lars
6653
6654 2003-03-29  John Levon  <levon@movementarian.org>
6655
6656         * converters.C: more Alert cleanups
6657
6658 2003-03-29  John Levon  <levon@movementarian.org>
6659
6660         * bufferview_funcs.C: remove pointless Alert
6661
6662         * buffer.C: fix confusing error message when
6663         a template is chmoded 000
6664
6665 2003-03-29  John Levon  <levon@movementarian.org>
6666
6667         * BufferView.C:
6668         * BufferView.h:
6669         * BufferView_pimpl.C: Alert fixes
6670
6671         * Makefile.am:
6672         * tabular.C:
6673         * tabular-old.C: remove unused table compat reading
6674
6675 2003-03-29  John Levon  <levon@movementarian.org>
6676
6677         * BufferView.C:
6678         * buffer.C:
6679         * lyx_cb.h:
6680         * lyx_cb.C: more Alert cleanups
6681
6682         * lyxfunc.C: don't allow chktex if not latex document
6683
6684 2003-03-29  John Levon  <levon@movementarian.org>
6685
6686         * lyx_cb.C:
6687         * BufferView.C:
6688         * buffer.C: warnings pushed down from support/,
6689         kill err_alert
6690
6691 2003-03-29  John Levon  <levon@movementarian.org>
6692
6693         * lyxfunc.C: safety check for C-r (revert)
6694
6695 2003-03-29  John Levon  <levon@movementarian.org>
6696
6697         * bufferlist.h:
6698         * bufferlist.C: several UI fixes using Alert::prompt.
6699         Fix the pointless looping quit code. Fix stupid revert
6700         behaviour (bug 938)
6701
6702         * lyxvc.h:
6703         * lyxvc.C:
6704         * lyx_cb.C: use Alert::prompt
6705
6706         * lyx_main.C: remove a silly question
6707
6708         * lyxfunc.C: remove a couple of silly questions,
6709         use Alert::prompt
6710
6711 2003-03-28  John Levon  <levon@movementarian.org>
6712
6713         * text2.C: fix bug 974 (End on empty par)
6714
6715 2003-03-28  John Levon  <levon@movementarian.org>
6716
6717         * BufferView_pimpl.C:
6718         * LyXAction.C:
6719         * lfuns.h: remove do-nothing math greek lfuns
6720
6721 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * lyxgluelength.h (isValidGlueLength): add default arg on
6724         parameter 2. Remove default arg from friend in class.
6725
6726         * lyxlength.h (isValidLength): add default arg on parameter 2.
6727         Remove default arg from friend in class.
6728
6729         * text2.C (LyXText): adjust, initialize refresh_row.
6730         (init): adjust
6731         (removeRow): adjust
6732         (insertRow): adjust
6733         (insertParagraph): adjst
6734         (redoParagraphs): adjust
6735         (fullRebreak): adjust
6736         (updateCounters): adjust
6737         (deleteEmptyParagraphMechanism): first attempt at fixing a
6738         crashing bug.
6739
6740         * text.C (top_y): adjust
6741         (setHeightOfRow): adjust
6742         (getRow): adjust
6743         (getRowNearY): adjust
6744
6745         * lyxtext.h: include RowList.h
6746         (~LyXText): not needed anymore, deleted.
6747         (firstRow): modify for RowList
6748         (lastRow): new function
6749         Delete firstrow and lastrow class variables, add a Rowlist
6750         rowlist_ class variable.
6751
6752         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6753         paragraph is empty.
6754
6755         * RowList.C (insert): fix case where it == begin().
6756
6757 2003-03-26  Angus Leeming  <leeming@lyx.org>
6758
6759         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6760         the thesaurus dialog.
6761
6762 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6765
6766         * RowList.[Ch]: new files
6767
6768         * ParagraphList.C (erase): handle the case where it == begin
6769         correctly.
6770
6771 2003-03-25  John Levon  <levon@movementarian.org>
6772
6773         * Makefile.am:
6774         * aspell_local.h:
6775         * aspell.C: add new aspell support
6776
6777         * lyxrc.h:
6778         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6779         have it accessible.
6780
6781 2003-03-25  Angus Leeming  <leeming@lyx.org>
6782
6783         * lfuns.h:
6784         * LyXAction.C (init): new LFUN_INSET_INSERT.
6785
6786         * BufferView_pimpl.C (dispatch): split out part of the
6787         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6788
6789         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6790         LFUN_INSET_APPLY.
6791
6792 2003-03-25  Angus Leeming  <leeming@lyx.org>
6793
6794         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6795
6796 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6797
6798         * text2.C:
6799         * text3.C: remove useless row->height(0)
6800
6801 2003-03-25  John Levon  <levon@movementarian.org>
6802
6803         * lyxtext.h:
6804         * text2.C:
6805         * text3.C: rename the refreshing stuff to better names
6806
6807 2003-03-24  John Levon  <levon@movementarian.org>
6808
6809         * BufferView_pimpl.h:
6810         * BufferView_pimpl.C: update layout choice on a mouse
6811         press/release
6812
6813 2003-03-23  John Levon  <levon@movementarian.org>
6814
6815         * Makefile.am: fix commandtags.h reference
6816
6817 2003-03-22  John Levon  <levon@movementarian.org>
6818
6819         * BufferView_pimpl.C:
6820         * lyxtext.h:
6821         * rowpainter.C:
6822         * rowpainter.h:
6823         * text.C:
6824         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6825
6826 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * lyxtext.h:
6829         * text.C: take the rtl methods out of line
6830
6831 2003-03-21 André Pönitz <poenitz@gmx.net>
6832
6833         * metricsinfo.[Ch]: new files containing structures to be passed around
6834         during the two-phase-drawing...
6835
6836 2003-03-21 André Pönitz <poenitz@gmx.net>
6837
6838         * lyxtextclass.C: read 'environment' tag.
6839
6840 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * text2.C (removeRow): fix bug 964
6843
6844 2003-03-20  John Levon  <levon@movementarian.org>
6845
6846         * rowpainter.C:
6847         * text.C:
6848         * text2.C: paint cleanups. Inset::update() dropped font
6849         parameter
6850
6851 2003-03-19  John Levon  <levon@movementarian.org>
6852
6853         * lyxfunc.C: only fitcursor/markDirty if available()
6854
6855 2003-03-19  John Levon  <levon@movementarian.org>
6856
6857         * commandtags.h: rename to ...
6858
6859         * lfuns.h: ... this, and renumber / cleanup
6860
6861 2003-03-19  John Levon  <levon@movementarian.org>
6862
6863         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6864         fit the cursor after an lfun
6865
6866         * BufferView.h:
6867         * BufferView.C:
6868         * BufferView_pimpl.h:
6869         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6870
6871         * LyXAction.C: layout-character should have ReadOnly
6872
6873         * ParagraphParameters.C:
6874         * buffer.C:
6875         * bufferview_funcs.C:
6876         * lyx_cb.C:
6877         * lyxfind.C:
6878         * lyxtext.h:
6879         * text.C:
6880         * text2.C:
6881         * text3.C:
6882         * undo_funcs.C: changes from above
6883
6884 2003-03-18  John Levon  <levon@movementarian.org>
6885
6886         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6887         remove it from update()
6888
6889         * lyxfunc.C: update layout choice after an lfun
6890
6891         * text3.C: remove extra updateLayoutChoice()s
6892
6893 2003-03-18  John Levon  <levon@movementarian.org>
6894
6895         * text.C: top_y change means full repaint, fix
6896         a drawing bug with cursor movement
6897
6898 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * lyxtext.h:
6901         * text.C:
6902         * text2.C: anchor row on setCursor
6903
6904 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * lyxtext.h: remove almost all mutable keywords
6907         * text.C:
6908         * text2.C:
6909         * text3.C: remove const keywords accordingly
6910
6911 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6914         anon namespace
6915         (TeXEnvironment): ditto
6916         (TeXOnePar): ditto
6917
6918 2003-03-17  John Levon  <levon@movementarian.org>
6919
6920         * text.C (rowBreakPoint): remove attempt to fix displayed
6921         math insets inside a manual label
6922
6923 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * lyxtext.h: remove BufferView* as first arg from almost all class
6926         functions.
6927         * other files: adjust.
6928
6929 2003-03-17  John Levon  <levon@movementarian.org>
6930
6931         * lyxtext.h:
6932         * undo_funcs.C:
6933         * text2.C: more paint cleanups
6934
6935         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6936
6937         * rowpainter.h:
6938         * rowpainter.C: remove "smart" background painting code
6939
6940 2003-03-16  John Levon  <levon@movementarian.org>
6941
6942         * lyxtext.h:
6943         * text.C:
6944         * text2.C:
6945         * text3.C: add helper functions for setting refresh_row/y
6946
6947 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6948
6949         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6950         newline inset which *can* get inserted in the pass_thru layouts.
6951         This is primarily for literate documents.
6952
6953 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6954
6955         * buffer.C: increment LYX_FORMAT to 223
6956
6957 2003-03-14 André Pönitz <poenitz@gmx.net>
6958
6959         * textclass.h: prepare for environment handling, ws changes
6960         * lyxlayout.C: read latexheader and latexfooter tags
6961
6962 2003-03-14  John Levon  <levon@movementarian.org>
6963
6964         * text2.C: rewrite ::status() a bit
6965
6966 2003-03-13  John Levon  <levon@movementarian.org>
6967
6968         * lyxtext.h: add some docs
6969
6970 2003-03-13  John Levon  <levon@movementarian.org>
6971
6972         * lyxtext.h:
6973         * text.C:
6974         * text2.C:
6975         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6976
6977 2003-03-13  John Levon  <levon@movementarian.org>
6978
6979         * text3.C: fix appendix redrawing
6980
6981 2003-03-13  John Levon  <levon@movementarian.org>
6982
6983         * text.C (setHeightOfRow):
6984         * rowpainter.h:
6985         * rowpainter.C: make appendix mark have the text
6986           "Appendix" so the user knows what it is
6987
6988         * LColor.h:
6989         * LColor.C: s/appendixline/appendix/ from above
6990
6991 2003-03-13  John Levon  <levon@movementarian.org>
6992
6993         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6994
6995         * text.C: fix a getChar(pos) bug properly
6996
6997 2003-03-13  Angus Leeming  <leeming@lyx.org>
6998
6999         * commandtags.h:
7000         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7001         Probably only temporary. Let's see how things pan out.
7002
7003         * BufferView.C (unlockInset):
7004         * BufferView_pimpl.C (fitCursor):
7005         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7006
7007         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7008         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7009
7010         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7011         new functions that convert ParagraphParameters to and from a string.
7012
7013         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7014         BufferView::Pimpl's dispatch.
7015         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7016
7017 2003-03-13 André Pönitz <poenitz@gmx.net>
7018
7019         * lyxfunc.C:
7020         * text3.C:
7021         * factory.C: make it aware of InsetEnv
7022
7023 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * text2.C (setCursor): never ask for one past last
7026         (setCursor): add some debugging messages.
7027
7028         * text.C (singleWidth): never ask for one past last
7029         (singleWidth): ditto
7030         (leftMargin): ditto
7031         (rightMargin): ditto
7032         (rowBreakPoint): ditto
7033         (setHeightOfRow): ditto
7034         (prepareToPrint): ditto
7035
7036         * rowpainter.C (paintBackground): never ask for one past last
7037         (paintText): never ask for one past last
7038
7039         * paragraph_pimpl.C (getChar): make the assert stricter, never
7040         allow the one past last pos to be taken
7041
7042         * paragraph.C (getChar): ws changes only
7043
7044         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7045         (numberOfSeparators): ditto
7046         (numberOfHfills): ditto
7047
7048 2003-03-12  John Levon  <levon@movementarian.org>
7049
7050         * author.h:
7051         * author.C:
7052         * bufferparams.h:
7053         * bufferparams.C:
7054         * paragraph_funcs.C: fix per-buffer authorlists
7055
7056 2003-03-12  John Levon  <levon@movementarian.org>
7057
7058         * text.C: fix newline in right address
7059
7060 2003-03-12  Angus Leeming  <leeming@lyx.org>
7061
7062         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7063         duplicate those in LyXFunc::dispatch.
7064
7065         * commandtags.h:
7066         * LyXAction.C:
7067         * ToolbarDefaults.C:
7068         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7069         Add LFUN_FONTFREE_UPDATE.
7070
7071         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7072         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7073
7074         * bufferview_func.[Ch]: several new functions to facilliate
7075         transfer of data to and from the character dialog.
7076
7077 2003-03-12  John Levon  <levon@movementarian.org>
7078
7079         * buffer.C:
7080         * paragraph.h:
7081         * paragraph.C:
7082         * paragraph_funcs.C:
7083         * paragraph_pimpl.C:
7084         * sgml.C:
7085         * tabular.C:
7086         * text.C:
7087         * text3.C: remove META_NEWLINE in favour of an inset
7088
7089         * rowpainter.h:
7090         * rowpainter.C: remove paintNewline (done by inset)
7091
7092 2003-03-12  John Levon  <levon@movementarian.org>
7093
7094         * paragraph_pimpl.C: complain about bad getChar()s
7095         for a while at least
7096
7097 2003-03-12  John Levon  <levon@movementarian.org>
7098
7099         * buffer.h:
7100         * buffer.C: move paragraph read into a separate function,
7101         a little renaming to reflect that.
7102
7103         * bufferparams.h:
7104         * bufferparams.C: remove the author_ids map, not necessary now
7105
7106         * factory.h:
7107         * factory.C: moved Buffer::readInset to here
7108
7109         * paragraph_funcs.h:
7110         * paragraph_funcs.C: readParagraph free function moved from
7111         buffer.C
7112
7113         * tabular.C: name change
7114
7115 2003-03-12  John Levon  <levon@movementarian.org>
7116
7117         * buffer.C:
7118         * ParagraphParameters.C: move par params input to
7119         a read() method
7120
7121         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7122         behave like a normal read from the stream wrt reading
7123         a line vs. a \\token
7124
7125 2003-03-12  John Levon  <levon@movementarian.org>
7126
7127         * paragraph.C:
7128         * ParagraphParameters.h:
7129         * ParagraphParameters.C: move output code to a
7130         ::write() method
7131
7132 2003-03-12  John Levon  <levon@movementarian.org>
7133
7134         * BufferView.C (insertLyXFile):
7135         * buffer.h:
7136         * buffer.C:
7137         * tabular.C: use a parlist iterator for creating the
7138           document.
7139
7140 2003-03-12  John Levon  <levon@movementarian.org>
7141
7142         * buffer.C: make current_change static local not
7143           static file-scope
7144
7145 2003-03-12  John Levon  <levon@movementarian.org>
7146
7147         * buffer.C: fix insertStringAsLines for change tracking
7148
7149 2003-03-12  John Levon  <levon@movementarian.org>
7150
7151         * BufferView.C:
7152         * tabular.C:
7153         * buffer.h:
7154         * buffer.C:
7155         * bufferparams.h:
7156         * bufferparams.C: move author list into params. Rename some
7157           functions. Move the header reading into a separate token
7158           loop. Move the header token reading into BufferParams.
7159
7160 2003-03-12  John Levon  <levon@movementarian.org>
7161
7162         * changes.C: put debug inside lyxerr.debugging() checks
7163
7164 2003-03-11 André Pönitz <poenitz@gmx.net>
7165
7166         * factory.C: make it aware of InsetHFill
7167
7168 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7169
7170         * buffer.C (latexParagraphs): move function from here...
7171         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7172         args.
7173
7174 2003-03-10  Angus Leeming  <leeming@lyx.org>
7175
7176         * LyXAction.C (init): fix bug in poplating array with multiple entries
7177         with the same LFUN (spotted by JMarc).
7178
7179 2003-03-10  John Levon  <levon@movementarian.org>
7180
7181         * text.C:
7182         * text2.C: move getColumnNearX() near its
7183         only call site
7184
7185 2003-03-10  John Levon  <levon@movementarian.org>
7186
7187         * text.C: fix break before a minipage
7188
7189 2003-03-10  John Levon  <levon@movementarian.org>
7190
7191         * text.C: fix the last commit
7192
7193 2003-03-09  John Levon  <levon@movementarian.org>
7194
7195         * lyxtext.h:
7196         * text.C:
7197         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7198         bug 365 (don't break before insets unless needed). Don't
7199         return a value > last under any circumstances.
7200
7201 2003-03-09  Angus Leeming  <leeming@lyx.org>
7202
7203         * BufferView_pimpl.C (trackChanges, dispatch): call
7204         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7205
7206 2003-03-09  Angus Leeming  <leeming@lyx.org>
7207
7208         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7209         than Dialogs::showAboutlyx().
7210
7211 2003-03-09  Angus Leeming  <leeming@lyx.org>
7212
7213         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7214         than Dialogs::showTabularCreate().
7215
7216 2003-03-09  John Levon  <levon@movementarian.org>
7217
7218         * lyxtext.h:
7219         * text.C:
7220         * text2.C: 3rd arg to nextBreakPoint was always the same.
7221           Use references.
7222
7223 2003-03-08  John Levon  <levon@movementarian.org>
7224
7225         * lyxrow.C:
7226         * paragraph.C:
7227         * paragraph.h:
7228         * rowpainter.C:
7229         * text.C:
7230         * text2.C: Remove the "main" bit from the "main body"
7231           notion.
7232
7233 2003-03-08  John Levon  <levon@movementarian.org>
7234
7235         * text.C (leftMargin): The left margin of an empty
7236         manual label paragraph should not include the label width
7237         string length.
7238
7239         * text.C (prepareToPrint): don't attempt to measure hfills
7240         for empty manual label paragraphs - the answer should be 0
7241
7242 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * CutAndPaste.C: remove commented code and reindent.
7245
7246 2003-03-08  John Levon  <levon@movementarian.org>
7247
7248         * lyxfunc.h:
7249         * lyxfunc.C: move reloadBuffer()
7250
7251         * BufferView.h:
7252         * BufferView.C: to here
7253
7254         * lyxvc.C: add comment
7255
7256         * vc-backend.h:
7257         * vc-backend.C: call bv->reload() to avoid
7258           getStatus() check on MENURELOAD
7259
7260 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7261
7262         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7263         to an old format .dep file.
7264
7265 2003-03-07  Angus Leeming  <leeming@lyx.org>
7266
7267         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7268         when the LFUN_MOUSE_RELEASE should have been handled by
7269         inset->localDispatch.
7270
7271 2003-03-07  Angus Leeming  <leeming@lyx.org>
7272
7273         * BufferView_pimpl.C (dispatch):
7274         * LyXAction.C (init):
7275         * ToolbarDefaults.C (init):
7276         * commandtags.h:
7277         * lyxfunc.C (getStatus):
7278         remove LFUN_INSET_GRAPHICS.
7279
7280         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7281
7282 2003-03-07  Angus Leeming  <leeming@lyx.org>
7283
7284         * commandtags.h:
7285         * LyXAction.C (init):
7286         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7287
7288         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7289
7290         * commandtags.h:
7291         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7292
7293         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7294         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7295
7296 2003-03-07  Angus Leeming  <leeming@lyx.org>
7297
7298         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7299         remove "ert".
7300
7301 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * ParagraphList.C (front): new function
7304         (back): implement
7305
7306 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7307
7308         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7309         and top_row_offset_. removed var first_y.
7310         * text.C (top_y):
7311         * text2.C (LyXText, removeRow):
7312         * text3.C:
7313         * BufferView_pimpl.C:
7314         use these methods instead of using first_y
7315
7316 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * text2.C (pasteSelection): adjust for checkPastePossible
7319
7320         * CutAndPaste.C: remove Paragraph * buf and replace with
7321         ParagraphList paragraphs.
7322         (DeleteBuffer): delete
7323         (cutSelection): change the tc type to textclass_type
7324         (copySelection): change the tc type to textclass_type
7325         (copySelection): adjust for ParagraphList
7326         (pasteSelection): change the tc type to textclass_type
7327         (pasteSelection): adjust for Paragraphlist
7328         (nrOfParagraphs): simplify for ParagraphList
7329         (checkPastePossible): simplify for ParagraphList
7330         (checkPastePossible): remove unused arg
7331
7332         * ParagraphList.C (insert): handle the case where there are no
7333         paragraphs yet.
7334
7335         * CutAndPaste.h: make CutAndPaste a namespace.
7336
7337         * text3.C (dispatch): adjust
7338
7339         * text.C (breakParagraph): add a ParagraphList as arg
7340
7341         * paragraph_funcs.C (breakParagraph): change to take a
7342         BufferParams and a ParagraphList as args.
7343         (breakParagraphConservative): ditto
7344         (mergeParagraph): ditto
7345         (TeXDeeper): add a ParagraphList arg
7346         (TeXEnvironment): ditto
7347         (TeXOnePar): ditto
7348
7349         * buffer.C (readLyXformat2): adjust
7350         (insertStringAsLines): adjust
7351         (latexParagraphs): adjust
7352
7353         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7354         (cutSelection): adjust
7355         (pasteSelection): adjust
7356
7357         * BufferView_pimpl.C (insertInset): adjust
7358
7359 2003-03-05  Angus Leeming  <leeming@lyx.org>
7360
7361         * commandtags.h:
7362         * LyXAction.C (init):
7363         * BufferView_pimpl.C (dispatch):
7364         * lyxfunc.C (getStatus):
7365         remove LFUN_CHILD_INSERT.
7366
7367         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7368
7369 2003-03-05  Angus Leeming  <leeming@lyx.org>
7370
7371         * commandtags.h:
7372         * LyXAction.C (init):
7373         * src/factory.C (createInset):
7374         * lyxfunc.C (getStatus):
7375         * text3.C (dispatch):
7376         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7377
7378         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7379
7380 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * ParagraphList.C (insert): handle insert right before end()
7383         (erase): fix cases where it can be first or last paragraph.
7384
7385 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7388         Paragraph::next and Paragraph::previous
7389         (TeXOnePar): ditto
7390
7391         * text.C (breakParagraph): adjust
7392
7393         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7394         BufferParams& as arg.
7395         (breakParagraph): use ParagraphList::insert
7396         (breakParagraphConservative): take a Buffer* instead of a
7397         BufferParams& as arg.
7398         (breakParagraphConservative): use ParagraphList::insert.
7399
7400         * buffer.C (insertStringAsLines): un-const it
7401         (insertStringAsLines): adjust
7402
7403         * ParagraphList.C (insert): new function
7404
7405         * CutAndPaste.C (pasteSelection): adjust
7406
7407         * text.C (backspace): adjust
7408
7409         * tabular.C (SetMultiColumn): adjust
7410
7411         * CutAndPaste.C (cutSelection): adjust
7412         (pasteSelection): adjust
7413
7414         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7415         Buffer const * as arg
7416
7417         * ParagraphList.C (erase): new function
7418         * paragraph_funcs.C (mergeParagraph): use it
7419         (mergeParagraph): make it take a Buffer* instead of a
7420         BufferParams* as arg
7421
7422         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7423         as arg
7424         (breakParagraphConservative): ditto
7425
7426         * paragraph.h: remove the breakParagraph friend
7427
7428         * paragraph.C (eraseIntern): new function
7429         (setChange): new function
7430
7431         * paragraph_funcs.C (mergeParagraph): make it take a
7432         ParagraphList::iterator instead of a Paragraph *, adjust
7433         accordingly.
7434
7435         * paragraph.h: move an #endif so that the change tracking stuff
7436         also works in the NO_NEXT case.
7437
7438 2003-03-04  Angus Leeming  <leeming@lyx.org>
7439
7440         * commandtags.h:
7441         * LyXAction.C: new LFUN_INSET_MODIFY.
7442
7443         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7444         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7445
7446 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * several files: ws changes only
7449
7450         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7451         (TeXEnvironment): ditto
7452         (TeXDeeper): ditto
7453
7454         * buffer.C (makeLaTeXFile): adjust
7455         (latexParagraphs): make it take ParagraphList::iterator as args
7456
7457 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * buffer.C (latexParagraphs): adjust
7460
7461         * paragraph.C (TeXOnePar): move function...
7462         (optArgInset): move function...
7463         (TeXEnvironment): move function...
7464         * paragraph_pimpl.C (TeXDeeper): move function...
7465         * paragraph_funcs.C: ...here
7466
7467         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7468
7469 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * buffer.C (readInset): remove compability code for old Figure and
7472         InsetInfo insets
7473
7474 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * buffer.C: ws changes
7477         (readInset):
7478
7479         * BufferView_pimpl.C: ditto
7480         * author.C: ditto
7481         * buffer.h: ditto
7482         * bufferlist.h: ditto
7483         * changes.h: ditto
7484         * lyxfunc.C: ditto
7485
7486 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7487
7488         * converter.[Ch]: split into itself +
7489         * graph.[Ch]
7490         * format.[Ch]
7491         * Makefile.am: += graph.[Ch] + format.[Ch]
7492         * MenuBackend.C
7493         * buffer.C
7494         * exporter.C
7495         * importer.C
7496         * lyx_main.C
7497         * lyxfunc.C
7498         * lyxrc.C: added #include "format.h"
7499
7500 2003-02-27  Angus Leeming  <leeming@lyx.org>
7501
7502         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7503           a label.
7504
7505         * factory.C (createInset): add "label" to the factory.
7506
7507         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7508           string and do no more.
7509
7510 2003-02-27  Angus Leeming  <leeming@lyx.org>
7511
7512         * commandtags.h:
7513         * LyXAction.C (init):
7514         * factory.C (createInset):
7515         * BufferView_pimpl.C (dispatch):
7516           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7517
7518         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7519
7520         * lyxfunc.C (dispatch):
7521         * text3.C (dispatch): pass name to params2string.
7522
7523 2003-02-26  Angus Leeming  <leeming@lyx.org>
7524
7525         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7526           blocks together.
7527           Rearrange the ~includes. Strip out the unnecessary ones.
7528
7529         * factory.C (createInset): reformat.
7530           create new insets for the various LFUN_XYZ_APPLY lfuns.
7531
7532 2003-02-26  John Levon  <levon@movementarian.org>
7533
7534         * lyxrow.h:
7535         * lyxrow.C: add isParStart,isParEnd helpers
7536
7537         * paragraph.h: make isInserted/DeletedText take refs
7538
7539         * paragraph_funcs.h:
7540         * paragraph_funcs.C: remove #if 0'd code
7541
7542         * lyxtext.h:
7543         * text3.C:
7544         * text2.C:
7545         * text.C: use lyxrow helpers above.
7546           Move draw and paint routines to RowPainter.
7547           Make several methods use refs not pointers.
7548           Make backgroundColor() const.
7549           Add markChangeInDraw(), isInInset().
7550           Merge changeRegionCase into changeCase.
7551           Make workWidth() shouldn't-happen code into an Assert.
7552
7553         * rowpainter.h:
7554         * rowpainter.C: new class for painting a row.
7555
7556         * vspace.h:
7557         * vspace.C: make inPixels take a ref
7558
7559 2003-02-26  Angus Leeming  <leeming@lyx.org>
7560
7561         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7562         LFUN_REF_APPLY.
7563
7564 2003-02-25  John Levon  <levon@movementarian.org>
7565
7566         * ispell.C: give the forked command a more accurate name
7567
7568 2003-02-22  John Levon  <levon@movementarian.org>
7569
7570         * toc.h:
7571         * toc.C: make TocItem store an id not a Paragraph *
7572           (bug #913)
7573
7574 2003-02-21  Angus Leeming  <leeming@lyx.org>
7575
7576         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7577           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7578           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7579           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7580           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7581           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7582
7583         * BufferView_pimpl.C (dispatch):
7584         * LyXAction.C (init):
7585         * factory.C (createInset):
7586         * lyxfunc.C (getStatus, dispatch):
7587         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7588
7589 2003-02-21  Angus Leeming  <leeming@lyx.org>
7590
7591         * BufferView_pimpl.C (MenuInsertLyXFile):
7592         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7593         * lyxfunc.C (menuNew, open, doImport):
7594           no longer pass a LyXView & to fileDlg.
7595
7596 2003-02-21  Angus Leeming  <leeming@lyx.org>
7597
7598         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7599         * LyXAction.C: change, BIBKEY to BIBITEM.
7600         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7601         Change InsetBibKey to InsetBibitem.
7602         Change BIBKEY_CODE to BIBITEM_CODE.
7603         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7604         * factory.C: replace insetbib.h with insetbibitem.h.
7605         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7606         * paragraph.C: replace insetbib.h with insetbibitem.h.
7607         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7608         Change bibkey() to bibitem().
7609         * text.C: remove insetbib.h.
7610         * text2.C: replace insetbib.h with insetbibitem.h.
7611         change bibkey() to bibitem().
7612         * text3.C: remove insetbib.h.
7613         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7614
7615 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7616
7617         * lyxrc.C (output): enclose user email in quotes (in case there are
7618         several words)
7619
7620 2003-02-18  John Levon  <levon@movementarian.org>
7621
7622         * buffer.h: add std::
7623
7624 2003-02-17  John Levon  <levon@movementarian.org>
7625
7626         * SpellBase.h:
7627         * ispell.h:
7628         * ispell.C:
7629         * pspell.h:
7630         * pspell.C: reworking. Especially in ispell, a large
7631           number of clean ups and bug fixes.
7632
7633         * lyxfunc.C: fix revert to behave sensibly
7634
7635 2003-02-17 André Pönitz <poenitz@gmx.net>
7636
7637         * LyXAction.C:
7638         * commandtags.h: new LFUN_INSERT_BIBKEY
7639
7640         * layout.h:
7641         * lyxlayout.C:
7642         * buffer.C:
7643         * factory.C:
7644         * text.C:
7645         * text2.C:
7646         * text3.C:
7647         * paragraph.[Ch]:
7648         * paragraph_func.C: remove special bibkey handling
7649
7650 2003-02-17  John Levon  <levon@movementarian.org>
7651
7652         * text.C (Delete): fix case where delete at the end of
7653           the very first paragraph would not merge the pars
7654
7655 2003-02-17  John Levon  <levon@movementarian.org>
7656
7657         * lyxrow.C: fix lastPrintablePos()
7658
7659 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7660
7661         * bufferparams.C (writeLaTeX): add a std:here
7662
7663         * buffer.C: and remove a using directive there
7664
7665 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7666
7667         * buffer.C (makeLaTeXFile): move the code that generates the
7668           preamble...
7669
7670         * bufferparams.C (writeLaTeX): ... in this new method
7671
7672         * LaTeXFeatures.C (getEncodingSet): make const
7673           (getLanguages): make const
7674
7675         * MenuBackend.C (binding): returns the binding associated to this
7676           action
7677           (add): sets the status of each item by calling getStatus. Adds
7678           some intelligence.
7679           (read): add support for OptSubMenu
7680           (expand): remove extra separator at the end of expanded menu
7681
7682 2003-02-15  John Levon  <levon@movementarian.org>
7683
7684         * BufferView.C:
7685         * BufferView_pimpl.C:
7686         * bufferlist.h:
7687         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7688           inset code that had no actual effect. Remove unneeded status
7689           code.
7690
7691 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7692
7693         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7694           in preamble
7695
7696 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7697
7698         * text.C (drawLengthMarker): also draw an arrow marker for
7699           symbolic lengths (medskip...)
7700
7701 2003-02-14  John Levon  <levon@movementarian.org>
7702
7703         * tabular.h:
7704         * tabular.C: better method names
7705
7706 2003-02-14  John Levon  <levon@movementarian.org>
7707
7708         * BufferView_pimpl.C:
7709         * bufferlist.C:
7710         * buffer.C:
7711         * converter.C:
7712         * lyx_cb.C:
7713         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7714           it's a more accurate name. Remove some pointless uses.
7715
7716 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7717
7718         * text2.C (LyXText): change order of initilizers to shut off
7719           warnings
7720
7721 2003-02-14  John Levon  <levon@movementarian.org>
7722
7723         * buffer.C: use ParIterator for getParFromID()
7724
7725         * paragraph.h:
7726         * paragraph.C:
7727         * paragraph_pimpl.h:
7728         * paragraph_pimpl.C: remove unused getParFromID()
7729
7730 2003-02-14  John Levon  <levon@movementarian.org>
7731
7732         * buffer.C: remove some very old #if 0'd parse code
7733
7734 2003-02-13  John Levon  <levon@movementarian.org>
7735
7736         * text.h:
7737         * text.C:
7738         * text2.C: move hfillExpansion(), numberOfSeparators(),
7739           rowLast(), rowLastPrintable(), numberofHfills(),
7740           numberOfLabelHfills() ...
7741
7742         * lyxrow.h:
7743         * lyxrow.C: ... to member functions here.
7744
7745         * paragraph.h:
7746         * paragraph.C:
7747         * lyxtext.h:
7748         * text.C: remove LyXText::beginningOfMainBody(), and call
7749           p->beginningOfMainBody() directly. Move the check for
7750           LABEL_MANUAL into the latter.
7751
7752         * text.h:
7753         * text.C:
7754         * text2.C:
7755         * vspace.C:
7756         * BufferView.h:
7757         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7758
7759         * text.h:
7760         * text.C:
7761         * text2.C:
7762         * text3.C:
7763         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7764           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7765
7766 2003-02-13  John Levon  <levon@movementarian.org>
7767
7768         * CutAndPaste.C: remove debug
7769
7770 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * paragraph.C (asString): remove two unused variables
7773
7774         * lyxtextclass.C (readTitleType):
7775           (Read):
7776           (LyXTextClass): handle new members titletype_ and titlename_
7777
7778         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7779
7780 2003-02-09  John Levon  <levon@movementarian.org>
7781
7782         * buffer.h:
7783         * buffer.C: replace hand-coded list with a map for the dep clean
7784
7785 2003-02-08  John Levon  <levon@movementarian.org>
7786
7787         * LaTeX.C: consolidate code into showRunMessage() helper
7788
7789 2003-02-08  John Levon  <levon@movementarian.org>
7790
7791         * lyxfind.C:
7792         * lyxtext.h:
7793         * text2.C:
7794         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7795           and pass the size in explicitly
7796
7797         * BufferView_pimpl.h:
7798         * BufferView_pimpl.C:
7799         * BufferView.h:
7800         * BufferView.C: add getCurrentChange()
7801
7802         * BufferView_pimpl.h:
7803         * BufferView_pimpl.C: handle change lfuns
7804
7805         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7806           for changes. Mark pasted paragraphs as new.
7807
7808         * support/lyxtime.h:
7809         * support/lyxtime.C:
7810         * DepTable.C: abstract time_t as lyx::time_type
7811
7812         * LColor.h:
7813         * LColor.C: add colours for new text, deleted text, changebars
7814
7815         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7816           package use "usenames" option.
7817
7818         * commandtags.h:
7819         * lyxfunc.C:
7820         * LyXAction.C: add change lfuns
7821
7822         * Makefile.am:
7823         * author.h:
7824         * author.C: author handling
7825
7826         * buffer.h:
7827         * buffer.C: add a per-buffer author list, with first entry as
7828           current author. Handle new .lyx tokens for change tracking. Output
7829           author list to .lyx file. Output dvipost stuff to .tex preamble.
7830           Bump lyx format to 222.
7831
7832         * bufferlist.h:
7833         * bufferlist.C: add setCurrentAuthor() to reset current author details
7834           in all buffers.
7835
7836         * bufferparams.h:
7837         * bufferparams.C: add param for tracking
7838
7839         * bufferview_funcs.C: output change info in minibuffer
7840
7841         * Makefile.am:
7842         * changes.h:
7843         * changes.C: add change-tracking structure
7844
7845         * debug.h:
7846         * debug.C: add CHANGES debug flag
7847
7848         * lyxfind.h:
7849         * lyxfind.C: add code for finding the next change piece
7850
7851         * lyxrc.h:
7852         * lyxrc.C: add user_name and user_email
7853
7854         * lyxrow.h:
7855         * lyxrow.C: add a metric for the top of the text line
7856
7857         * lyxtext.h:
7858         * text.C: implement accept/rejectChange()
7859
7860         * lyxtext.h:
7861         * text.C: paint changebars. Paint new/deleted text in the chosen
7862         colours. Strike through deleted text.
7863
7864         * paragraph.h:
7865         * paragraph.C:
7866         * paragraph_pimpl.h:
7867         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7868           in the current change to the insert functions. Rework erase to
7869           mark text as deleted, adding an eraseIntern() and a range-based
7870           erase(). Implement per-paragraph change lookup and
7871           accept/reject.
7872
7873         * paragraph_funcs.C: Fixup paste for change tracking.
7874
7875         * tabular.C: mark added row/columns as new.
7876
7877         * text.C: fix rowLast() to never return -1. Don't allow
7878           spellchecking of deleted text. Track transpose changes. Don't
7879           allow paragraph break or merge where appropriate.
7880
7881         * text2.C: leave cursor at end of selection after a cut.
7882
7883 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7884
7885         * text.C (getLengthMarkerHeight):
7886         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7887         visible on screen too.
7888
7889 2003-02-07  John Levon  <levon@movementarian.org>
7890
7891         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7892
7893 2003-02-05  Angus Leeming  <leeming@lyx.org>
7894
7895         * lyxserver.C (read_ready): revert my patch of 11 September last year
7896         as it sends PC cpu through the roof. Presumably this means that
7897         the lyxserver will no longer run on an Alpha...
7898
7899 2003-01-30  Angus Leeming  <leeming@lyx.org>
7900
7901         * factory.C (createInset): create an InsetCommandParam of type "index"
7902         and use it to 'do the right thing'.
7903
7904         * text2.C (getStringToIndex): ensure that cursor position is always
7905         reset to the reset_cursor position.
7906
7907 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7908
7909         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7910         disabled.
7911
7912 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7913
7914         * bufferview.C:
7915         * lyxcb.C:
7916         * lyxfunc.C: Output messages with identical spelling, punctuation,
7917         and spaces
7918
7919 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7920
7921         * MenuBackend.C (expandFormats): List only viewable export formats
7922         in "View" menu
7923
7924         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7925         message
7926
7927         * lyxfunc.C (getStatus): Make sure that formats other than
7928         "fax" can also be disabled
7929
7930 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7931
7932         * text3.C (dispatch): put the lfuns that insert insets in 3
7933         groups, and call doInsertInset with appropriate arguments.
7934         (doInsertInset): new function, that creates an inset and inserts
7935         it according to some boolean parameters.
7936
7937 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * buffer.C (readFile): remember to pass on 'par' when calling
7940         readFile recursively.
7941
7942 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7943
7944         * MenuBackend.C (expandFormats): add "..." to import formats.
7945
7946 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7947
7948         * paragraph.C (asString): Remove XForms RTL hacks.
7949
7950 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7951         * buffer.C: fix typo
7952
7953 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * Makefile.am (LIBS): delete var
7956         (lyx_LDADD): add @LIBS@ here instead.
7957
7958 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7959
7960         * Clarify the meaning of "wheel mouse jump"
7961
7962 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7963
7964         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7965         tabular in a float
7966
7967 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7968
7969         * importer.C (Loaders): do not preallocate 3 elements in the
7970         vector, since one ends up with 6 elements otherwise
7971
7972 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7973
7974         * DepTable.C (write): write the file name as last element of the
7975         .dep file (because it may contain spaces)
7976         (read): read info in the right order
7977
7978 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7979
7980         * paragraph_pimpl.C (simpleTeXBlanks):
7981         (simpleTeXSpecialChars):
7982         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7983
7984         * tabular.C (latex): add some missing case statements. Reindent.
7985
7986         * MenuBackend.C (expandToc): remove unused variable.
7987
7988 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7989
7990         * LColor.C:
7991         * LaTeX.C:
7992         * LyXAction.C:
7993         * MenuBackend.C:
7994         * buffer.C:
7995         * exporter.C:
7996         * lyxfunc.C:
7997         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7998         and the like.
7999
8000 2003-01-05  John Levon  <levon@movementarian.org>
8001
8002         * BufferView.h:
8003         * BufferView.C: add getEncoding()
8004
8005         * kbsequence.h:
8006         * kbsequence.C: do not store last keypress
8007
8008         * lyxfunc.h:
8009         * lyxfunc.C: store last keypress here instead. Pass encoding
8010           to getISOEncoded()
8011
8012 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8013
8014         * lyx_main.C (init): remove annoying error message when following
8015         symbolic links (bug #780)
8016
8017 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8018
8019         * text.C (insertChar):
8020         * lyxrc.C (getDescription): remove extra spaces
8021
8022 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8023
8024         * lyxrc.C (getDescription): remove extra spaces
8025
8026 2002-12-20  John Levon  <levon@movementarian.org>
8027
8028         * text3.C: hack fix for page up/down across tall rows
8029
8030 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8031
8032         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8033         not been invoked
8034
8035 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8036
8037         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8038         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8039         thesaurus is not compiled in
8040
8041 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8042
8043         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8044
8045 2002-12-16  Angus Leeming  <leeming@lyx.org>
8046
8047         * lyxrc.[Ch]:
8048         * lyx_main.C (init): remove override_x_deadkeys stuff.
8049
8050 2002-12-12  John Levon  <levon@movementarian.org>
8051
8052         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8053           insert. Only remove shift modifier under strict
8054           circumstances.
8055
8056 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * MenuBackend.C (expandToc): fix crash.
8059
8060 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * MenuBackend.C (expandToc): gettext on float names.
8063
8064 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8065
8066         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8067         implement bool empty() [bug 490]
8068
8069 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8072
8073 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * several files: ws changes
8076
8077 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * text2.C (setCounter): clean up a bit, use boost.format.
8080         (updateCounters): initialize par upon declaration.
8081
8082         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8083         if the layout exists. We do not just store the layout any more.
8084         (SwitchLayoutsBetweenClasses): use boost.format
8085
8086 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8087
8088         * converter.C (convert): if from and to files are the same, use a
8089         temporary files as intermediary
8090
8091 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8092
8093         * commandtags.h:
8094         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8095
8096 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8097
8098         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8099
8100 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * tabular.C (asciiPrintCell): use string(size, char) instead of
8103         explicit loop.
8104
8105         * sgml.C (openTag): fix order of arguments to string constructor
8106         (closeTag): ditto
8107
8108         * lyxfunc.C (dispatch): use boost.format
8109
8110         * lots of files: change "c" -> 'c'
8111
8112 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8113
8114         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8115
8116 2002-11-25  Angus Leeming  <leeming@lyx.org>
8117
8118         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8119
8120         * lyx_main.C (init): compile fix.
8121
8122 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * lyx_cb.C (start): boost.formatify
8125         do not include <iostream>
8126
8127         * lengthcommon.C: ws only
8128
8129         * boost-inst.C,BoostFormat.h: add more explict instantations
8130
8131 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * lots of files: handle USE_BOOST_FORMAT
8134
8135 2002-11-21  John Levon  <levon@movementarian.org>
8136
8137         * pspell.C: fix compile
8138
8139 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * lyxfunc.C (dispatch): use boost::format
8142         (open): ditto
8143         (doImport): ditto
8144
8145         * lyxfont.C (stateText): use boost::format
8146
8147         * lyx_main.C (LyX): use boost::format
8148         (init): ditto
8149         (queryUserLyXDir): ditto
8150         (readRcFile): ditto
8151         (parse_dbg): ditto
8152         (typedef boost::function): use the recommened syntax.
8153
8154         * importer.C (Import): use boost::format
8155
8156         * debug.C (showLevel): use boost::format
8157
8158         * converter.C (view): use boost::format
8159         (convert): ditto
8160         (move): ditto
8161         (scanLog): ditto
8162
8163         * bufferview_funcs.C (currentState): use boost::format
8164
8165         * bufferlist.C (emergencyWrite): use boost::format
8166
8167         * buffer.C (readLyXformat2): use boost::format
8168         (parseSingleLyXformat2Token): ditto
8169
8170         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8171
8172         * LaTeX.C (run): use boost::format
8173
8174         * Chktex.C (scanLogFile): use boost::format
8175
8176         * BufferView_pimpl.C (savePosition): use boost::format
8177         (restorePosition): ditto
8178         (MenuInsertLyXFile): ditto
8179
8180         * BoostFormat.h: help file for explicit instation.
8181
8182 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8183
8184         * tabular.C (latex): Support for block alignment in fixed width
8185         columns.
8186
8187 2002-11-17  John Levon  <levon@movementarian.org>
8188
8189         * BufferView_pimpl.C:
8190         * lyx_cb.C:
8191         * lyxfunc.C: split filedialog into open/save
8192
8193 2002-11-08  Juergen Vigna  <jug@sad.it>
8194
8195         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8196         by my last patch (hopefully).
8197
8198 2002-11-08  John Levon  <levon@movementarian.org>
8199
8200         * iterators.h:
8201         * iterators.C:
8202         * buffer.h:
8203         * buffer.C:
8204         * paragraph.h:
8205         * paragraph.C:
8206         * toc.h:
8207         * toc.C: ParConstIterator, and use it (from Lars)
8208
8209 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8210
8211         * lyxtextclass.[Ch]: revise and add doxygen comments
8212
8213 2002-11-07  John Levon  <levon@movementarian.org>
8214
8215         * text.C: fix progress value for spellchecker
8216
8217         * toc.C: fix navigate menu for insetwrap inside minipage
8218
8219         * paragraph_funcs.C: added FIXME for suspect code
8220
8221 2002-11-07  John Levon  <levon@movementarian.org>
8222
8223         * BufferView_pimpl.C: fix redrawing of insets
8224           on buffer switch
8225
8226 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8227
8228         * text2.C (updateCounters): fix bug 668
8229
8230 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8231
8232         * text3.C (dispatch): Do not make the buffer dirty when moving the
8233         cursor.
8234
8235 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * vc-backend.C: STRCONV
8238         (scanMaster): ditto
8239
8240         * text2.C (setCounter): STRCONV
8241
8242         * paragraph.C (asString): STRCONV
8243
8244         * lyxlength.C (asString): STRCONV
8245         (asLatexString): ditto
8246
8247         * lyxgluelength.C (asString): STRCONV
8248         (asLatexString): ditto
8249
8250         * lyxfunc.C (dispatch): STRCONV
8251         (open): ditto
8252
8253         * lyxfont.C (stateText): STRCONV
8254
8255         * importer.C (Import): STRCONV
8256
8257         * counters.C (labelItem): STRCONV
8258         (numberLabel): ditto
8259         (numberLabel): remove unused ostringstream o
8260
8261         * chset.C: STRCONV
8262         (loadFile): ditto
8263
8264         * bufferview_funcs.C (currentState): STRCONV
8265
8266         * buffer.C (readFile): STRCONV
8267         (asciiParagraph): ditto
8268         (makeLaTeXFile): ditto
8269
8270         * Spacing.C (writeEnvirBegin): STRCONV
8271
8272         * LaTeXFeatures.C (getLanguages): STRCONV
8273         (getPackages): ditto
8274         (getMacros): ditto
8275         (getBabelOptions): ditto
8276         (getTClassPreamble): ditto
8277         (getLyXSGMLEntities): ditto
8278         (getIncludedFiles): ditto
8279
8280         * LaTeX.C: STRCONV
8281         (run): ditto
8282         (scanAuxFile): ditto
8283         (deplog): ditto
8284
8285         * LString.h: add the STRCONV macros
8286
8287         * BufferView_pimpl.C (savePosition): STRCONV
8288         (restorePosition): ditto
8289         (MenuInsertLyXFile): ditto
8290
8291         * vc-backend.C (scanMaster): change from submatch[...] to
8292         submatch.str(...)
8293
8294         * funcrequest.C: include config.h
8295
8296         * factory.C: include config.h
8297
8298         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8299
8300         * box.C: include config.h
8301
8302         * LaTeX.C (scanAuxFile): change from submatch[...] to
8303         submatch.str(...)
8304         (deplog): ditto
8305
8306 2002-10-25  Angus Leeming  <leeming@lyx.org>
8307
8308         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8309
8310         * ispell.[Ch] (setError): new method.
8311         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8312         Use setError() insetead of goto END.
8313
8314         * lyx_cb.C (AutoSave): move out child process into new class
8315         AutoSaveBuffer.
8316
8317 2002-10-30  John Levon  <levon@movementarian.org>
8318
8319         * text3.C: make start appendix undoable
8320
8321 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8322
8323         * lyxlength.C (inPixels): Fix returned value.
8324
8325         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8326         environment.
8327
8328 2002-10-24  Angus Leeming  <leeming@lyx.org>
8329
8330         * lyxgluelength.h: no need to forward declare BufferParams
8331         or BufferView, so don't.
8332
8333 2002-10-21  John Levon  <levon@movementarian.org>
8334
8335         * BufferView.C: menuUndo ->undo, redo
8336
8337         * BufferView.h: document, remove dead, make some methods private
8338
8339         * paragraph_funcs.h:
8340         * paragraph_funcs.C:
8341         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8342
8343         * buffer.h:
8344         * buffer.C:
8345         * sgml.h:
8346         * sgml.C: move sgml open/close tag into sgml.C
8347
8348         * bufferview_funcs.h: unused prototype
8349
8350         * lyxfunc.h:
8351         * lyxfunc.C: remove unused
8352
8353         * lyxtext.h:
8354         * text.C: remove unused
8355
8356 2002-10-21  John Levon  <levon@movementarian.org>
8357
8358         * BufferView.h:
8359         * BufferView.C:
8360         * BufferView_pimpl.h:
8361         * BufferView_pimpl.C: fix mouse wheel handling based on
8362           patch from Darren Freeman
8363
8364 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8365
8366         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8367
8368 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8369
8370         * lyxlength.C (inPixels): Fix hanfling of negative length.
8371         Fix LyXLength::MU case.
8372
8373 2002-10-16  John Levon  <levon@movementarian.org>
8374
8375         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8376
8377 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8378
8379         * converter.C (view): add support for $$i (file name) and $$p
8380         (file path) for the viewer command. If $$i is not specified, then
8381         it is appended to the command (for compatibility with old syntax)
8382
8383 2002-10-14  Juergen Vigna  <jug@sad.it>
8384
8385         * undo_funcs.C (textHandleUndo): alter the order in which the
8386         new undopar is added to the LyXText, as we have to set first
8387         the right prev/next and then add it as otherwise the rebuild of
8388         LyXText is not correct. Also reset the cursor to the right paragraph,
8389         with this IMO we could remove the hack in "redoParagraphs()".
8390
8391 2002-10-09  Angus Leeming  <leeming@lyx.org>
8392
8393         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8394         to turn off an optimisation if a new inset is to be inserted.
8395
8396 2002-10-11 André Pönitz <poenitz@gmx.net>
8397
8398         * lyxtext.h: make some functions public to allow access
8399         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8400
8401 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8402
8403         * text3.C (dispatch): when changing layout, avoid an infinite loop
8404         [bug #652]
8405
8406 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8407
8408         * lyxrc.C (read): treat a viewer or converter command of "none" as
8409         if it were empty.
8410
8411         * MenuBackend.C (expandFormats): for an update, also allow the
8412         formats that are not viewable
8413
8414         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8415         script if it is newer than the lyxrc.defaults in user directory
8416
8417 2002-10-07 André Pönitz <poenitz@gmx.net>
8418
8419         * text.C: Vitaly Lipatov's small i18n fix
8420
8421 2002-09-25  Angus Leeming  <leeming@lyx.org>
8422
8423         * ispell.h: doxygen fix.
8424
8425 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8426
8427         * buffer.h (readFile): Add a new argument to the method, to allow
8428         reading of old-format templates.
8429
8430 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8431
8432         * toc.C (getTocList): Get TOC from InsetWrap.
8433
8434 2002-09-16  John Levon  <levon@movementarian.org>
8435
8436         * lyxfunc.C: check tabular for cut/copy too
8437
8438 2002-09-12  John Levon  <levon@movementarian.org>
8439
8440         * LyXAction.C: tidy
8441
8442         * factory.h:
8443         * factory.C: add header
8444
8445         * paragraph_funcs.h:
8446         * paragraph_funcs.C: cleanup
8447
8448 2002-09-11  John Levon  <levon@movementarian.org>
8449
8450         * PrinterParams.h: odd/even default to true
8451
8452 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8453
8454         * PrinterParams.h: update printer parameters for new xforms dialog
8455
8456 2002-09-11  Angus Leeming  <leeming@lyx.org>
8457
8458         * lyxserver.C (read_ready): re-write to make it more transparent
8459         and to make it work in coherent fashion under Tru64 Unix.
8460
8461 2002-09-11  André Pönitz <poenitz@gmx.net>
8462
8463         * commandtags.h:
8464         * LyXAction.C:
8465         * text3.C: implement LFUN_WORDSEL
8466
8467 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8470         make floatlist_ a boost::shared_ptr<FloatList>
8471
8472         * lyxtextclass.C: include FloatList.h
8473         (LyXTextClass): initialize floatlist_
8474         (TextClassTags): add TC_NOFLOAT
8475         (Read): match "nofloat" to TC_NOFLOAT and use it.
8476         (readFloat): modify call to floatlist_
8477         (floats): ditto
8478         (floats): ditto
8479
8480         * FloatList.[Ch] (FloatList): remove commented out float
8481         initialization.
8482         (erase): new function
8483
8484 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8485
8486         * MenuBackend.C (expandToc): fix crash when there is no document
8487         open
8488
8489 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8490
8491         * many files: Add insetwrap.
8492
8493 2002-09-09  John Levon  <levon@movementarian.org>
8494
8495         * text2.C: remove confusing and awkward depth wraparound
8496
8497 2002-09-09  John Levon  <levon@movementarian.org>
8498
8499         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8500
8501         * buffer.h:
8502         * buffer.C: remove getIncludeonlyList()
8503
8504         * paragraph.C:
8505         * lyxfunc.C: remove headers
8506
8507 2002-09-09  Juergen Vigna  <jug@sad.it>
8508
8509         * text.C (getColumnNearX): fix form Michael this is most
8510         probably a cut&paste bug.
8511
8512 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8515
8516         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8517         references, ws changes.
8518
8519         * text2.C (init): update counters after init
8520         (insertParagraph): no need to set counter on idividual paragraphs.
8521         (setCounter): access the counters object in the textclass object
8522         on in the buffer object.
8523         (updateCounters): ditto
8524
8525         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8526         shared_ptr<Counters> to avoid loading counters.h in all
8527         compilation units.
8528         (LyXTextClass): initialize ctrs_
8529         (TextClassTags): add TC_COUNTER, and ...
8530         (Read): use it here.
8531         (CounterTags): new tags
8532         (readCounter): new function
8533         (counters): new funtion
8534         (defaultLayoutName): return a const reference
8535
8536         * counters.C (Counters): remove contructor
8537         (newCounter): remove a couple of unneeded statements.
8538         (newCounter): simplify a bit.
8539         (numberLabel): some small formatting changes.
8540
8541         * buffer.[Ch]: remove all traces of counters, move the Counters
8542         object to the LyXTextClass.
8543
8544 2002-09-06  Alain Castera  <castera@in2p3.fr>
8545
8546         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8547         package to set the horizontal alignment on fixed width columns.
8548
8549         * lyx_sty.C:
8550         * lyx_sty.h: added tabularnewline macro def.
8551
8552         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8553
8554 2002-09-06  John Levon  <levon@movementarian.org>
8555
8556         * LyXAction.C: tooltips for sub/superscript
8557
8558         * MenuBackend.C: a bit more verbose
8559
8560         * lyxfunc.C: tiny clean
8561
8562         * undo_funcs.C: document undo_frozen
8563
8564 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * counters.C (Counters): add missing algorithm counter.
8567
8568         * text2.C (setCounter): lookup the counter with layouts latexname
8569         instead of by section number.
8570         (setCounter): use a hackish way to lookup the correct enum
8571         counter.
8572         a float name->type change
8573         reset enum couners with counter name directly instead of depth value.
8574
8575         * counters.C (Counters): remove the push_backs, change to use the
8576         float type not the float name.
8577         (labelItem): remove unused string, float name->type change
8578
8579         * counters.h: don't include vector, loose the enums and sects vectors
8580
8581 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8584         (Read): add float->TC_FLOAT to textclassTags
8585         (Read): and handle it in the switch
8586         (readFloat): new function
8587
8588         * FloatList.C (FloatList): comment out the hardcoded float
8589         definitions.
8590
8591         * lyxlayout.h: ws change.
8592
8593 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8594
8595         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8596
8597 2002-09-03  Angus Leeming  <leeming@lyx.org>
8598
8599         * BufferView_pimpl.h: qualified name is not allowed in member
8600         declaration: WorkArea & Pimpl::workarea() const;
8601
8602         * factory.C: added using std::endl directive.
8603
8604         * text3.C: added using std::find and std::vector directives.
8605
8606 2002-08-29  André Pönitz <poenitz@gmx.net>
8607
8608         * lyxtext.h:
8609         * text2.C: remove unused member number_of_rows
8610
8611         * Makefile.am:
8612         * BufferView2.C: remove file, move contents to...
8613         * BufferView.C: ... here
8614
8615         * BufferView_pimpl.C:
8616         * factory.C: move more inset creation to factory
8617
8618         * vspace.C: avoid direct usage of LyXText, ws changes
8619
8620         * BufferView.[Ch]:
8621                 don't provide direct access to WorkArea, use two simple
8622                 acessors haveSelction() and workHeight() instead
8623
8624
8625 2002-08-29  John Levon  <levon@movementarian.org>
8626
8627         * BufferView_pimpl.C (dispatch): do not continue when
8628           no buffer
8629
8630 2002-08-28  André Pönitz <poenitz@gmx.net>
8631
8632         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8633
8634         * BufferView.h:
8635         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8636
8637 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8638
8639         * buffer.C: increment LYX_FORMAT to 221
8640
8641         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8642         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8643
8644         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8645
8646         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8647
8648 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * factory.C (createInset): use LyXTextClass::floats
8651
8652         * MenuBackend.C (expandFloatListInsert):
8653         (expandFloatInsert):
8654         (expandToc):
8655
8656         * text2.C (setCounter):
8657
8658         * LaTeXFeatures.C (useFloat):
8659         (getFloatDefinitions):
8660
8661         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8662
8663         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8664         floatlist_, with accessor floats().
8665
8666         * FloatList.h: remove global FloatList
8667
8668 2002-08-26  André Pönitz <poenitz@gmx.net>
8669
8670         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8671
8672         * BufferView.h:
8673         * BufferView2.C:
8674         * BufferView_pimpl.C:
8675         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8676
8677 2002-08-25  John Levon  <levon@movementarian.org>
8678
8679         * LyXAction.C: fix margin note description
8680
8681 2002-08-24  John Levon  <levon@movementarian.org>
8682
8683         * buffer.C:
8684         * bufferlist.C:
8685         * bufferview_funcs.C:
8686         * lyxfont.C:
8687         * undo_funcs.C: cleanups
8688
8689         * lyxfunc.C: disable CUT/COPY when no selection
8690
8691 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8692
8693         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8694         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8695
8696         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8697         Add backward compatibility to "mono", "gray" and "no".
8698
8699 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8700
8701         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8702         (and file_format >= 200).
8703
8704 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8707
8708 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8711
8712 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8713
8714         * BufferView_pimpl.C:
8715         * LyXAction.C:
8716         * buffer.C:
8717         * commandtags.h:
8718         * lyxfunc.C:
8719         * paragraph.[Ch]:
8720         * text2.C:
8721         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8722         inset and code to make it  work with the paragraph code. The inset
8723         can be anywhere in the paragraph, but will only do the expected
8724         thing in LaTeX if the layout file contains the parameter line
8725                         OptionalArgs    1
8726         (or more generally, a nonzero value) for that layout.
8727
8728 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8729
8730         * paragraph.h: remove the declaration of undefined counters class
8731         function.
8732
8733 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8734
8735         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8736         Dr. Richard Hawkins.
8737
8738 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * paragraph_funcs.h: remove some unneeded includes
8741
8742         * text.C (backspace): pasteParagraph now in global scipe
8743
8744         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8745         (pasteSelection): ditto
8746
8747         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8748         * paragraph_funcs.C (pasteParagraph): ... here
8749
8750 2002-08-20  André Pönitz <poenitz@gmx.net>
8751
8752         * commandtags.h: new LFUNs for swapping/copying table row/colums
8753
8754         * LyXAction.C:
8755         * lyxfunc.C: support for new lfuns
8756
8757 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8758
8759         * tabular.C:
8760         * buffer.[Ch]: remove NO_COMPABILITY stuff
8761
8762 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * boost.C (throw_exception): new file, with helper function for
8765         boost compiled without exceptions.
8766
8767         * paragraph.h:
8768         * lyxlength.C:
8769         * buffer.C:
8770         * ParameterStruct.h:
8771         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8772
8773         * bufferlist.C (emergencyWriteAll): use boost bind
8774
8775         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8776
8777         * text.C: include paragraph_funcs.h
8778         (breakParagraph): breakParagraph is now in global scope
8779
8780         * paragraph_funcs.[Ch]: new files
8781
8782         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8783         global scope
8784
8785         * buffer.C: include paragraph_funcs.h
8786         (insertStringAsLines): breakParagraph is now in global scope
8787
8788         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8789         paragraph_funcs.C
8790
8791         * CutAndPaste.C: include paragraph_funcs.h
8792         (cutSelection): breakParagraphConservative is now in global scope
8793         (pasteSelection): ditto
8794
8795         * buffer.h: declare oprator== and operator!= for
8796         Buffer::inset_iterator
8797
8798         * bufferlist.C (emergencyWrite): don't use fmt(...)
8799
8800         * text3.C: add using std::endl
8801
8802         * BufferView.C (moveCursorUpdate): remove default arg
8803
8804 2002-08-20  André Pönitz <poenitz@gmx.net>
8805
8806         * buffer.[Ch]: move inline functions to .C
8807
8808         * BufferView2.C:
8809         * BufferView_pimpl.C:
8810         * text.C:
8811         * buffer.[Ch]: use improved inset_iterator
8812
8813         * buffer.C:
8814         * paragraph.[Ch]: write one paragraph at a time
8815
8816 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8817
8818         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8819         style if style is not specified.
8820
8821 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8822
8823         * text2.C (setCounter): when searching for right label for a
8824         caption, make sure to recurse to parent insets (so that a caption
8825         in a minipage in a figure float works) (bug #568)
8826
8827 2002-08-20  André Pönitz <poenitz@gmx.net>
8828
8829         * text3.C: new file for LyXText::dispatch() and helpers
8830
8831         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8832
8833         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8834
8835 2002-08-19  André Pönitz <poenitz@gmx.net>
8836
8837         * lyxtext.h:
8838         * text.C: new LyXText::dispatch()
8839
8840         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8841
8842 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8843
8844         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8845
8846         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8847         Hebrew text.
8848
8849 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8850
8851         * Makefile.am: use $(variables) instead of @substitutions@
8852
8853 2002-08-15  André Pönitz <poenitz@gmx.net>
8854
8855         * lyxfunc.C:
8856         * BufferView_pimpl.C: streamlining mathed <-> outer world
8857         interaction
8858
8859         * commandtags.h:
8860         * LyXAction.C: remove unused LFUN_MATH
8861
8862 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8865
8866 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * paragraph.C (Paragraph): reformat a bit
8869         (cutIntoMinibuffer): use builtin InsetList function instad of
8870         doing it manually.
8871         (getInset): ditto
8872
8873         * buffer.C: include boost/bind.hpp, add using std::for_each
8874         (writeFileAscii): use ParagraphList iterators
8875         (validate): use for_each for validate traversal of paragraphs
8876         (getBibkeyList): use ParagraphList iterators
8877         (resizeInsets): use for_each to resizeInsetsLyXText for all
8878         paragraphs.
8879         (getParFromID): use ParagraphList iterators
8880
8881         * BufferView2.C (lockInset): use paragraph list and iterators
8882
8883 2002-08-14  John Levon  <levon@movementarian.org>
8884
8885         * lyxserver.C: remove spurious xforms include
8886
8887 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8888
8889         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8890
8891 2002-08-13  André Pönitz <poenitz@gmx.net>
8892
8893         * LyXAction.[Ch]:
8894         * lyxfunc.C: further cleaning
8895
8896 2002-08-13  André Pönitz <poenitz@gmx.net>
8897
8898         * funcrequest.h: new constructor
8899
8900         * funcrequest.C: move stuff here from .h
8901
8902         * Makefile.am:
8903         * BufferView_pimpl.C:
8904         * LyXAction.C:
8905         * toc.C:
8906         * lyxfunc.C: subsequent changes
8907
8908         * lyxfunc.h: new view() member function
8909
8910         * lyxfunc.C: subsequent changes
8911
8912 2002-08-13  Angus Leeming  <leeming@lyx.org>
8913
8914         * BufferView2.C:
8915         * BufferView_pimpl.C:
8916         * buffer.C:
8917         * converter.C:
8918         * importer.C:
8919         * lyxfunc.C:
8920         * lyxvc.C:
8921         * toc.C:
8922         * vc-backend.C:
8923         changes due to the changed LyXView interface that now returns references
8924         to member variables not pointers.
8925
8926 2002-08-13  Angus Leeming  <leeming@lyx.org>
8927
8928         * WordLangTuple (word, lang_code): return references to strings,
8929         not strings.
8930
8931         * BufferView.h:
8932         * SpellBase.h:
8933         * lyxtext.h: forward-declare WordLangTuple.
8934
8935         * BufferView2.C:
8936         * ispell.C:
8937         * pspell.C:
8938         * text.C: #include "WordLangTuple.h".
8939
8940         * lyxtext.h:
8941         * text.C: (selectNextWordToSpellcheck): constify return type.
8942
8943 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8944
8945         * buffer.C:
8946         * buffer.h:
8947         * lyxtext.h:
8948         * paragraph.C:
8949         * paragraph_pimpl.h:
8950         * text.C:
8951         * text2.C:
8952         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8953         suggested by Angus.
8954         Made updateCounter always count from start of buffer, and removed
8955         second argument (par).
8956         Reverted floats number display to '#'. Perhaps I'll try again when the
8957         code base is sanitized a bit.
8958
8959 2002-08-12  Angus Leeming  <leeming@lyx.org>
8960
8961         * buffer.[Ch] (getLabelList): constify.
8962
8963 2002-08-07  André Pönitz <poenitz@gmx.net>
8964
8965         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8966
8967         * funcrequest.h: extension to keep mouse (x,y) position
8968
8969 2002-08-12  Juergen Vigna  <jug@sad.it>
8970
8971         * BufferView2.C (insertErrors): forbid undo when inserting error
8972         insets.
8973
8974         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8975
8976 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8977
8978         * ParagraphList.[Ch]: new files
8979
8980         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8981
8982         * BufferView2.C (lockInset): ParagraphList changes
8983         * toc.C: ditto
8984         * text2.C: ditto
8985         * bufferlist.C: ditto
8986         * buffer.h: ditto
8987         * buffer.C: ditto
8988
8989 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8990
8991         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8992         unused class variable counter_,
8993
8994         * paragraph.[Ch] (getFirstCounter): delete unused function
8995
8996         * counters.C: include LAssert.h
8997         (reset): add a new function with no arg, change other version to
8998         not have def. arg and to not allow empty arg.
8999
9000         * text2.C (setCounter): remove empty arg from call to Counters::reset
9001
9002 2002-08-11  John Levon  <levon@movementarian.org>
9003
9004         * Makefile.am: add WordLangTuple.h
9005
9006 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9009         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9010
9011         * insets/insettext.C: InsetList changes
9012
9013         * graphics/GraphicsSupport.C (operator()): InsetList changes
9014
9015         * toc.C (getTocList): InsetList changes
9016
9017         * paragraph_pimpl.[Ch]: InsetList changes
9018
9019         * paragraph.[Ch]: InsetList changes
9020
9021         * buffer.C (inset_iterator): InsetList changes
9022         (setParagraph): ditto
9023         * buffer.h (inset_iterator): ditto
9024         * iterators.C (operator++): ditto
9025         * iterators.h: ditto
9026
9027         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9028
9029         * InsetList.[Ch]: new files, most InsetList handling moved out of
9030         paragraph.C.
9031
9032         * BufferView2.C (removeAutoInsets): InsetList changes
9033         (lockInset): ditto
9034         (ChangeInsets): ditto
9035
9036 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * paragraph_pimpl.h (empty): new function
9039
9040         * paragraph.[Ch] (empty): new function
9041
9042         * other files: use the new Paragraph::empty function
9043
9044 2002-08-09  John Levon  <levon@movementarian.org>
9045
9046         * lyxtext.h: remove unused refresh_height
9047
9048 2002-08-09  John Levon  <levon@movementarian.org>
9049
9050         * Makefile.am:
9051         * sgml.h:
9052         * sgml.C:
9053         * buffer.C:
9054         * paragraph.h:
9055         * paragraph.C: move sgml char escaping out of paragraph
9056
9057         * paragraph.h:
9058         * paragraph.C: remove id setter
9059
9060         * buffer.C:
9061         * paragraph.C:
9062         * paragraph_pimpl.C: remove dead tex_code_break_column
9063
9064         * bufferview_funcs.C: small cleanup
9065
9066         * lyxfunc.C: remove dead proto
9067
9068         * lyxtext.h: make some stuff private. Remove some dead stuff.
9069
9070         * lyxgluelength.C: make as[LyX]String() readable
9071
9072 2002-08-08  John Levon  <levon@movementarian.org>
9073
9074         * LyXAction.h:
9075         * LyXAction.C:
9076         * MenuBackend.C:
9077         * ToolbarDefaults.C:
9078         * lyxfunc.C:
9079         * lyxrc.C:
9080         * toc.C: lyxaction cleanup
9081
9082 2002-08-08  John Levon  <levon@movementarian.org>
9083
9084         * BufferView2.C: small cleanup
9085
9086         * lyxfind.h:
9087         * lyxfind.C: move unnecessary header into the .C
9088
9089 2002-08-08  John Levon  <levon@movementarian.org>
9090
9091         * funcrequest.h: just tedious nonsense
9092
9093         * lyx_main.h:
9094         * lyx_main.C: cleanups
9095
9096         * buffer.C:
9097         * vspace.C: remove dead header lyx_main.h
9098
9099 2002-08-07  Angus Leeming  <leeming@lyx.org>
9100
9101         * Paragraph.[Ch]:
9102         * paragraph_pimpl.h:
9103         Forward declare class Counters in paragraph.h by moving the ctrs member
9104         variable into Paragraph::Pimpl.
9105         (counters): new method, returning a reference to pimpl_->ctrs.
9106
9107         * text2.C: ensuing changes.
9108
9109 2002-08-07  John Levon  <levon@movementarian.org>
9110
9111         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9112
9113         * BufferView_pimpl.C: announce X selection on double/triple
9114           click
9115
9116         * lyx_main.C: use correct bool in batch dispatch
9117
9118         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9119
9120 2002-08-07  André Pönitz <poenitz@gmx.net>
9121
9122         * funcrequest.h: new class to wrap a kb_action and its argument
9123
9124         * BufferView.[Ch]:
9125         * BufferView_pimpl[Ch]:
9126         * LaTeX.C:
9127         * LyXAction.[Ch]:
9128         * lyxfunc.[Ch]:
9129         * lyxrc.C: subsequent changes
9130
9131
9132 2002-08-07  John Levon  <levon@movementarian.org>
9133
9134         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9135           document options change.
9136
9137 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9138
9139         * counters.[Ch]
9140         * text2.C
9141         * paragraph.[Ch]
9142         * makefile.am: move counters functionality over from
9143         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9144
9145 2002-08-06  John Levon  <levon@movementarian.org>
9146
9147         * WordLangTuple.h: new file for word + language code tuple
9148
9149         * SpellBase.h:
9150         * pspell.h:
9151         * pspell.C:
9152         * ispell.h:
9153         * ispell.C:
9154         * lyxtext.h:
9155         * text.C:
9156         * text2.C:
9157         * BufferView.h:
9158         * BufferView2.C: use WordLangTuple
9159
9160         * layout.h:
9161         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9162
9163 2002-08-06  John Levon  <levon@movementarian.org>
9164
9165         * lyx_main.C: fix cmdline batch handling
9166
9167 2002-08-06  André Pönitz <poenitz@gmx.net>
9168
9169         * lyxrc.C: set default for show_banner to true
9170
9171 2002-08-06  John Levon  <levon@movementarian.org>
9172
9173         * pspell.C: fix a crash, and allow new aspell to work
9174
9175 2002-08-06  John Levon  <levon@movementarian.org>
9176
9177         * lyxfunc.C:
9178         * kbmap.C: small cleanup
9179
9180         * vspace.h:
9181         * vspace.C: add const
9182
9183 2002-08-05  John Levon  <levon@movementarian.org>
9184
9185         * LyXAction.C: back to tabular-insert
9186
9187 2002-08-04  John Levon  <levon@movementarian.org>
9188
9189         * BufferView.h:
9190         * BufferView.C: cosmetic change
9191
9192         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9193
9194         * bufferlist.C:
9195         * buffer.h:
9196         * buffer.C:
9197         * lyxcb.h:
9198         * lyxcb.C:
9199         * lyxserver.C:
9200         * lyxvc.C:
9201         * vc-backend.C:
9202         * BufferView2.C: purge all "Lyx" not "LyX" strings
9203
9204         * lyxcursor.h:
9205         * lyxcursor.C: attempt to add some documentation
9206
9207         * lyxfunc.C:
9208         * commandtags.h:
9209         * LyXAction.C:
9210         * ToolbarDefaults.C:
9211         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9212           merge with LFUN_TABULAR_INSERT
9213
9214         * Makefile.am:
9215         * SpellBase.h:
9216         * ispell.h:
9217         * ispell.C:
9218         * pspell.h:
9219         * pspell.C: split up i/pspell implementations into separate
9220           files, many cleanups
9221
9222         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9223
9224         * text2.C: some cleanup
9225
9226         * lyxfunc.C: don't check for isp_command == "none" any more, it
9227           didn't make any sense
9228
9229 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9230
9231         * counters.[Ch]
9232         * text2.C
9233         * paragraph.[Ch]
9234         * makefile.am: move counters functionality over
9235         from text2.C/paragraph.[Ch] to counters.[Ch], and
9236         make proper C++.
9237 2002-08-02  John Levon  <levon@movementarian.org>
9238
9239         * buffer.C: s/lyxconvert/lyx2lyx/
9240
9241 2002-08-02  Angus Leeming  <leeming@lyx.org>
9242
9243         * lyxlex.C: revert John's change as it breaks reading of the user
9244         preamble.
9245
9246 2002-08-02  Angus Leeming  <leeming@lyx.org>
9247
9248         * importer.C (Import):
9249         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9250         changes due to LyXView::view() now returning a boost::shared_ptr.
9251
9252 2002-08-02  John Levon  <levon@movementarian.org>
9253
9254         * lyxlex.C: small cleanup
9255
9256 2002-08-02  John Levon  <levon@movementarian.org>
9257
9258         * text2.C (status): small cleanup, no logic change
9259
9260 2002-08-01  John Levon  <levon@movementarian.org>
9261
9262         * buffer.h:
9263         * buffer.C (writeFile): don't output alerts, caller
9264           handles this
9265
9266         * bufferlist.C:
9267         * lyx_cb.C: from above
9268
9269         * lyxfunc.C: allow to open non-existent files
9270
9271 2002-07-31  John Levon  <levon@movementarian.org>
9272
9273         * lyxserver.C: don't let incidental errors get
9274           in the way (errno)
9275
9276 2002-07-30  John Levon  <levon@movementarian.org>
9277
9278         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9279
9280 2002-07-30  John Levon  <levon@movementarian.org>
9281
9282         * lyxserver.h:
9283         * lyxserver.C: remove I/O callback too
9284
9285 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9288         log.
9289
9290 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * many files: strip,frontStrip -> trim,ltrim,rtrim
9293
9294 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * PrinterParams.h: remove extern containsOnly, and include
9297         support/lstrings.h instead.
9298
9299         * LaTeX.C (scanAuxFile): modify because of strip changes
9300         (deplog): ditto
9301         * buffer.C (makeLaTeXFile): ditto
9302         * bufferparams.C (writeFile): ditt
9303         * lyxfont.C (stateText): ditto
9304         * lyxserver.C (read_ready): ditto
9305         * vc-backend.C (scanMaster): ditto
9306
9307         * BufferView_pimpl.h: ws changes
9308
9309         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9310
9311 2002-07-26  André Pönitz <poenitz@gmx.net>
9312
9313         * kb_sequence.C: remove unnedred usings
9314
9315 2002-07-26  Juergen Vigna  <jug@sad.it>
9316
9317         * lyxfind.C (LyXReplace): we have to check better if the returned
9318         text is not of theLockingInset()->getLockingInset().
9319
9320 2002-07-25  Juergen Vigna  <jug@sad.it>
9321
9322         * lyxfind.C (LyXReplace): don't replace if we don't get the
9323         right LyXText.
9324
9325         * undo_funcs.C (createUndo): remove debugging code.
9326
9327 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9328
9329         * buffer.C (parseSingleLyXformat2Token): Use default placement
9330         when reading old floats.
9331
9332         * FloatList.C (FloatList): Change the default placement of figure
9333         and tables to "tbp".
9334
9335 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * MenuBackend.C: using std::max
9338
9339 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * MenuBackend.C (expandToc):
9342         (expandToc2): code moved from xforms menu frontend. It is now
9343         generic and TOCs are transparent to menu frontends.
9344
9345 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9346
9347         * toc.C (getTocList): protect against buf=0
9348
9349         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9350         Menu as first parameter. Now, this calls itself recursively to
9351         expand a whole tree (this will be useful for TOC handling)
9352         (expandFloatInsert): remove 'wide' version of floats
9353
9354         * MenuBackend.h (submenuname): returns the name of the submenu.
9355         (submenu): returns the submenu itself, provided it has been
9356         created by MenuBackend::expand
9357
9358 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9359
9360         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9361         insets which have noFontChange == true. (bug #172)
9362
9363 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * BufferView_pimpl.C: add connection objects and use them...
9366         (Pimpl): here.
9367
9368 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * MenuBackend.C (expandLastfiles):
9371         (expandDocuments):
9372         (expandFormats):
9373         (expandFloatListInsert):
9374         (expandFloatInsert):
9375         (expand): split expand in parts
9376
9377 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * lyx_gui.C: use lyx_gui::exit()
9380
9381 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * LyXAction.C: show the failing pseudo action
9384
9385 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9386
9387         * buffer.C (readFile): Run the lyxconvert script in order to read
9388         old files.
9389
9390 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9391
9392         * LyXAction.C:
9393         * commandtags.h:
9394         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9395
9396 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * LyXAction.C:
9399         * commandtags.h:
9400         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9401
9402 2002-07-22  Herbert Voss  <voss@lyx.org>
9403
9404         * lengthcommon.C:
9405         * lyxlength.[Ch]: add support for the vertical lengths
9406
9407 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9408
9409         * toc.[Ch]: std:: fixes
9410
9411 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * lyxrc.C: do not include lyx_main.h
9414
9415         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9416         for layouts
9417
9418         * lyxrc.C:
9419         * encoding.C:
9420         * bufferlist.C:
9421         * BufferView2.C: include "lyxlex.h"
9422
9423         * tabular.h:
9424         * bufferparams.h: do not #include "lyxlex.h"
9425
9426         * lyxtextclasslist.C (Add): remove method
9427         (classlist): renamed to classlist_
9428
9429         * paragraph_pimpl.C:
9430         * paragraph.C:
9431         * text2.C:
9432         * CutAndPaste.C:
9433         * bufferview_funcs.C:
9434         * bufferlist.C:
9435         * text.C:
9436         * LaTeXFeatures.C:
9437         * buffer.C:
9438         * toc.C (getTocList): use BufferParams::getLyXTextClass
9439
9440         * toc.C (getTocList): use InsetFloat::addToToc
9441
9442         * toc.[Ch]: new files, containing helper functions to handle table
9443         of contents
9444
9445         * lyxfunc.C (dispatch): no need to remove spaces around command
9446         given as a string
9447         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9448         first command of the sequence; it is not very clever, but I do not
9449         have a better idea, actually
9450
9451         * LyXAction.C (LookupFunc): make sure to remove space at the
9452         beginning and end of the command
9453
9454 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * MenuBackend.C (getMenubar): new method: return the menubar of
9457         this menu set
9458         (read): treat differently reading of menu and menubar (in
9459         particular, the menubar has no name now)
9460         (Menu::menubar): remove
9461
9462         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9463         saving is finished
9464
9465 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9468         a bibitem inset in a RTL paragraph.
9469
9470 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * paragraph_pimpl.C: constify
9473
9474         * BufferView_pimpl.C:
9475         * LaTeX.C:
9476         * lyxfunc.C: fix dispatch in a nicer way
9477
9478 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * lyxfunc.C (dispatch):
9481         * BufferView_pimpl.C:
9482         * BufferView_pimpl.h:
9483         * BufferView.C:
9484         * BufferView.h: rename Dispatch() to dispatch()
9485
9486         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9487
9488         * lyxlayout.C (Read): honor DependsOn tag
9489
9490         * lyxlayout.[Ch] (depends_on): new method
9491
9492         * version.C.in: update lyx_docversion
9493
9494         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9495
9496         * paragraph.C (validate): remove from here...
9497         * paragraph_pimpl.C (validate): ... and move here
9498         (isTextAt): make it const
9499
9500         * buffer.C (getLists): ws cleanup
9501
9502 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9503
9504         * language.C (read): Use iso8859-1 encoding in latex_lang
9505         (this prevents LyX from crashing when using iso10646-1 encoding).
9506
9507 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * text2.C (toggleInset): if cursor is inside an inset, close the
9510         inset and leave cursor _after_ it
9511
9512 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxfunc.C: move minibuffer completion handling out of here
9515
9516 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9517
9518         * BufferView_pimpl.C:
9519         * LaTeX.C: fix dispatch calls
9520
9521 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * text.C (drawChars): Fix Arabic text rendering.
9524
9525 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9526
9527         * LyXAction.C:
9528         * commandtags.h:
9529         * lyxfunc.C: remove message-push/pop
9530
9531         * lyxserver.C:
9532         * lyxfunc.h:
9533         * lyxfunc.C: rationalise some code by removing verboseDispatch
9534           in favour of a bool argument to dispatch()
9535
9536 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * lyx_main.C (init): make sure to read symlinks as absolute paths
9539
9540 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * lyxfunc.h:
9543         * lyxfunc.C: no need for commandshortcut to be a member
9544
9545 2002-07-15  André Pönitz <poenitz@gmx.net>
9546
9547         * converter.C: add support for $$s (scripts from lib/scripts dir)
9548         * lyx_main.C: white space
9549
9550 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * bufferlist.C:
9553         * lyxrc.h:
9554         * lyxrc.C: remove second exit confirmation
9555
9556 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * BufferView.h:
9559         * BufferView.C:
9560         * BufferView2.C:
9561         * BufferView_pimpl.h:
9562         * BufferView_pimpl.C:
9563         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9564
9565 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * MenuBackend.C (expand): add numeric shortcuts to document menu
9568
9569         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9570
9571 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * lyxfont.C (setLyXFamily):
9574         (setLyXSeries):
9575         (setLyXShape):
9576         (setLyXSize):
9577         (setLyXMisc):
9578         (lyxRead):
9579         * debug.C (value):
9580         * buffer.C (asciiParagraph): use ascii_lowercase
9581
9582 2002-07-15  Mike Fabian  <mfabian@suse.de>
9583
9584         * lyxlex_pimpl.C (search_kw):
9585         * lyxlex.C (getLongString):
9586         * converter.h (operator<):
9587         * converter.C (operator<):
9588         * buffer.C (parseSingleLyXformat2Token):
9589         (asciiParagraph):
9590         * ToolbarDefaults.C (read):
9591         * MenuBackend.C (checkShortcuts):
9592         (read):
9593         * LColor.C (getFromGUIName):
9594         (getFromLyXName): use the compare_ascii_no_case instead of
9595         compare_no_case, because in turkish, 'i' is not the lowercase
9596         version of 'I', and thus turkish locale breaks parsing of tags.
9597
9598 2002-07-16  Angus Leeming  <leeming@lyx.org>
9599
9600         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9601         now takes a Buffer const & argument.
9602
9603 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * BufferView.C (resize): check there's a buffer to resize
9606
9607 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * lyxfunc.C: remove dead code
9610
9611         * lyxserver.h:
9612         * lyxserver.C: use lyx_guii::set_read_callback
9613
9614 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9615
9616         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9617         an inset in a RTL paragraph.
9618
9619 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * lyxfunc.C: repaint after a font size update
9622
9623 2002-07-15  André Pönitz <poenitz@gmx.net>
9624
9625         * lyxlength.C: inBP should be able to return negative values
9626
9627 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * lyxfunc.C: use lyx_gui::update_fonts()
9630
9631 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * lyxfunc.C: use lyx_gui::update_color()
9634
9635 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * bufferlist.C:
9638         * lyxfunc.h:
9639         * lyxfunc.C:
9640         * lyxrc.h:
9641         * lyxrc.C: remove file->new asks for name option, and let
9642           buffer-new take an argument
9643
9644 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * BufferView_pimpl.C: remove unneeded extra repaint()
9647
9648 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * LyXAction.C: allow command-sequence with NoBuffer
9651
9652         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9653
9654 2002-07-10  Angus Leeming  <leeming@lyx.org>
9655
9656         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9657
9658 2002-07-09  Angus Leeming  <leeming@lyx.org>
9659
9660         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9661
9662 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * lengthcommon.h: whitespace
9665
9666         * lyxfunc.C: update scrollbar after goto paragraph
9667
9668         * lyxtext.h: factor out page break drawing, and fix it so
9669           page break/added space paints as selected nicely
9670
9671 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9672
9673         * BufferView_pimpl.C: add FIXMEs, clean up a little
9674
9675 2002-07-09  André Pönitz <poenitz@gmx.net>
9676
9677         * lyxfont.[Ch]: support for wasy symbols
9678
9679 2002-07-08  André Pönitz <poenitz@gmx.net>
9680
9681         * BufferView_pimpl.C: apply John's patch for #93.
9682
9683 2002-07-05  Angus Leeming  <leeming@lyx.org>
9684
9685         * BufferView_pimpl.C (buffer): generate previews if desired.
9686
9687         * LColor.h: add "preview" to the color enum.
9688
9689         * LColor.C (LColor): add a corresponding entry to the items array.
9690
9691         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9692         with this buffer.
9693
9694 2002-07-05  Angus Leeming  <leeming@lyx.org>
9695
9696         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9697         The body of the code is now in the method that is passed an ostream &
9698         rather than a file name.
9699         Pass an additional only_preamble parameter, useful for the forthcoming
9700         preview stuff.
9701
9702 2002-07-03  André Pönitz <poenitz@gmx.net>
9703
9704         * lyxfunc.C: simplify getStatus() a bit for math stuff
9705
9706 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9707
9708         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9709
9710 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * text.C (changeRegionCase): do not change case of all the
9713         document when region ends at paragraph end (bug #461)
9714
9715 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * paragraph.C (startTeXParParams):
9718         (endTeXParParams): add \protect when necessary
9719
9720 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9721
9722         * BufferView_pimpl.C (workAreaExpose): remove warning
9723
9724 2002-06-27  Angus Leeming  <leeming@lyx.org>
9725
9726         * Makefile.am: add lyxlayout_ptr_fwd.h.
9727
9728 2002-06-26  André Pönitz <poenitz@gmx.net>
9729
9730         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9731
9732 2002-06-25  Angus Leeming  <leeming@lyx.org>
9733
9734         * lyxfunc.C (dispatch): Comment out the call to
9735         grfx::GCache::changeDisplay. The method no longer exists now that the
9736         pixmap generation part of the graphics loader has been moved into
9737         InsetGraphics.
9738
9739 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9740
9741         * text2.C: layout as layout
9742
9743         * text.C: layout as layout
9744
9745         * tabular.C (OldFormatRead): layout as layout
9746
9747         * paragraph_pimpl.C (TeXDeeper): layout as layout
9748         (realizeFont): layout as layout
9749
9750         * paragraph.C (writeFile): layout as layout
9751         (validate): layout as layout
9752         (getFont): layout as layout
9753         (getLabelFont): layout as layout
9754         (getLayoutFont): layout as layout
9755         (breakParagraph): layout as layout
9756         (stripLeadingSpaces): layout as layout
9757         (getEndLabel): layout as layout
9758         (getMaxDepthAfter): layout as layout
9759         (applyLayout): layout as layout
9760         (TeXOnePar): layout as layout
9761         (simpleTeXOnePar): layout as layout
9762         (TeXEnvironment): layout as layout
9763         (layout): layout as layout
9764         (layout): layout as layout
9765
9766         * lyxtextclass.C (compare_name): new functor to work with
9767         shared_ptr, layout as layout
9768         (Read): layout as layout
9769         (hasLayout): layout as layout
9770         (operator): layout as layout
9771         (delete_layout): layout as layout
9772         (defaultLayout): layout as layout
9773
9774         * lyxlayout_ptr_fwd.h: new file
9775
9776         * lyxlayout.C (Read): layout as layout
9777
9778         * lyx_cb.C (MenuInsertLabel): layout as layout
9779
9780         * bufferlist.C (newFile): layout as layout
9781
9782         * buffer.C (readLyXformat2): layout as layout
9783         (parseSingleLyXformat2Token): layout as layout
9784         (insertStringAsLines): layout as layout
9785         (asciiParagraph): layout as layout
9786         (latexParagraphs): layout as layout
9787         (makeLinuxDocFile): layout as layout
9788         (simpleLinuxDocOnePar): layout as layout
9789         (makeDocBookFile): layout as layout
9790         (simpleDocBookOnePar): layout as layout
9791         (getLists): layout as layout
9792
9793         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9794
9795         * CutAndPaste.C (cutSelection): layout as layout
9796         (pasteSelection): layout as layout
9797         (SwitchLayoutsBetweenClasses): layout as layout
9798
9799         * BufferView_pimpl.C (Dispatch): layout as layout
9800         (smartQuote): layout as layout
9801
9802         * BufferView2.C (unlockInset): layout as layout
9803
9804 2002-06-24  André Pönitz <poenitz@gmx.net>
9805
9806         * lyxfunc.C: fix #487
9807
9808 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * lyxrc.h:
9811         * lyxrc.C:
9812         * lyxfunc.C: remove display_shortcuts, show_banner
9813
9814 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * Buffer_pimpl.C: oops, update on resize
9817
9818 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * buffer.C:
9821         * converter.C:
9822         * exporter.C:
9823         * lyxfunc.C:
9824         * BufferView.h:
9825         * BufferView.C: use repaint()
9826
9827         * BufferView_pimpl.h:
9828         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9829           as it's a clearer description. Remove superfluous
9830           redraws.
9831
9832 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9833
9834         * text.C: fix bug 488. Not ideal, but getting
9835           getWord() to work properly for the insets that
9836           matter is more difficult ...
9837
9838 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * BufferView_pimpl.C:
9841         * LyXAction.C:
9842         * commandtags.h:
9843         * lyxfunc.C: remove the six million index lyxfuncs to just
9844           one, and DTRT (bug 458)
9845
9846 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * BufferView.h:
9849         * BufferView.C:
9850         * BufferView_pimpl.h:
9851         * BufferView_pimpl.C: clean up resize() stuff,
9852           and unnecessary updateScreen()s
9853
9854 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * BufferView.h:
9857         * BufferView.C:
9858         * BufferView_pimpl.h:
9859         * BufferView_pimpl.C:
9860         * lyxfind.h:
9861         * lyxfind.C:
9862         * minibuffer.C: remove focus management of workarea,
9863           not needed. Use screen's greyOut()
9864
9865 2002-06-17  Herbert Voss  <voss@lyx.org>
9866
9867         * converter.C: (convert) do not post a message, when converting
9868         fails, let the calling function decide what to do in this case
9869
9870 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * lyxfunc.C: tidy up a little
9873
9874 2002-06-16    <alstrup@diku.dk>
9875
9876         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9877         Got rid of FORMS_H_LOCATION include. Now we are
9878         GUII.
9879
9880 2002-06-15  LyX Development team  <lyx@rilke>
9881
9882         * buffer.[Ch] (sgmlOpenTag):
9883         (sgmlCloseTag): Added support for avoiding pernicious mixed
9884         content. Return number of lines written.
9885
9886         (makeLinuxDocFile):
9887         (makeDocBookFile): Fixed calls to sgml*Tag.
9888         Simple white space clean.
9889
9890         (simpleDocBookOnePar): Simple white space clean.
9891
9892         * tabular.[Ch] (docBook): Renamed to docbook and got another
9893         argument to related with the pernicious mixed content.
9894
9895         (docbookRow): Fixed calls for docbook inset method.
9896
9897 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9898
9899         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9900         so it's X11 independent.
9901
9902         * kb*.[Ch]: ditto.
9903
9904         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9905
9906 2002-06-15  Lyx Development team  <lyx@electronia>
9907
9908         * intl.h: Renamed getTrans to getTransManager.
9909
9910 2002-06-14  Angus Leeming  <leeming@lyx.org>
9911
9912         * Makefile.am: nuke forgotten stl_string_fwd.h.
9913
9914 2002-06-12  Angus Leeming  <leeming@lyx.org>
9915
9916         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9917
9918 2002-06-13  Angus Leeming  <leeming@lyx.org>
9919
9920         * LaTeX.C:
9921         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9922
9923 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9924
9925         * kbmap.C (getiso): add support for cyrillic and greek
9926
9927 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * BufferView.h:
9930         * BufferView.C:
9931         * BufferView_pimpl.h:
9932         * BufferView_pimpl.C: move bogus scrolling logic
9933           to xforms
9934
9935 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * lyxfunc.C:
9938         * BufferView_pimpl.C: view->resize() change
9939
9940 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView_pimpl.C: topCursorVisible
9943           prototype change
9944
9945 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * Makefile.am:
9948         * lyx_gui.h:
9949         * lyx_gui.C: move to frontends/
9950
9951         * main.C:
9952         * lyx_main.h:
9953         * lyx_main.C: changes from above
9954
9955 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * intl.C:
9958         * intl.h:
9959         * kbmap.C:
9960         * kbsequence.C:
9961         * lyx_cb.C:
9962         * lyx_main.C: minor tidy
9963
9964 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * BufferView_pimpl.h:
9967         * BufferView_pimpl.C:
9968         * BufferView.h:
9969         * BufferView.C: make painter() const,
9970           remove dead code
9971
9972         * BufferView2.C: use screen() accessor
9973
9974         * lyx_main.h:
9975         * lyx_main.C: some minor cleanup
9976
9977 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9978
9979         * BufferView_pimpl.h:
9980         * BufferView_pimpl.C: remove enter/leaveView,
9981           use workHeight()
9982
9983 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * BufferView.h:
9986         * BufferView.C:
9987         * BufferView2.C:
9988         * BufferView_pimpl.h:
9989         * BufferView_pimpl.C: only construct screen once,
9990           rename
9991
9992         * lyxrc.C: remove pointless comment
9993
9994 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView.h:
9997         * BufferView.C: remove active() and belowMouse()
9998
9999         * BufferView_pimpl.h:
10000         * BufferView_pimpl.C: use workarea() not workarea_,
10001           and make it use a scoped_ptr instead
10002
10003 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyx_gui.C: add debug message on BadWindow
10006
10007 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * sp_spell.C: fdopen is not part of the C++ standard.
10010
10011         * paragraph.C (InsetIterator): use >= instead of ==
10012
10013 2002-06-07  Angus Leeming  <leeming@lyx.org>
10014
10015         Fixes needed to compile with Compaq cxx 6.5.
10016         * BufferView_pimpl.C:
10017         * DepTable.C:
10018         * buffer.C:
10019         * converter.C:
10020         * encoding.C:
10021         * lyx_gui.C:
10022         * lyx_main.C:
10023         * lyxtextclasslist.C:
10024         * minibuffer.C:
10025         * sp_spell.C:
10026         * tabular_funcs.C:
10027         * vc-backend.C:
10028         all c-library variables have been moved into namespace std. Wrap
10029         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10030
10031         * lyxlength.C:
10032         * tabular-old.C:
10033         * tabular.C:
10034         Add a using std::abs declaration.
10035
10036         * kbmap.h (modifier_pair):
10037         * paragraph.h (InsetTable, InsetList):
10038         * lyxfont.h (FontBits):
10039         type definition made public.
10040
10041         * bufferlist.C (emergencyWriteAll): the compiler complains that
10042         there is more than one possible lyx::class_fun template to choose from.
10043         I re-named the void specialisation as lyx::void_class_fun.
10044
10045         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10046
10047         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10048         the compiler is is unable to find tostr in write_attribute.
10049
10050 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * buffer.C (sgmlError): hide #warning
10053
10054 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * xtl/*: get rid of xtl, which is not in use anyway
10057
10058         * LyXAction.C (init):
10059         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10060         were unimplemented xtl experimentation
10061
10062 2002-06-04  André Pönitz <poenitz@gmx.net>
10063
10064         * lyxfunc.C: disable array operation on simple formulae
10065
10066 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * converter.C: constify a bit
10069
10070 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * lyx_gui.C: check xforms version correctly
10073
10074 2002-04-30  Herbert Voss  <voss@lyx.org>
10075
10076         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10077         "keep" option
10078
10079 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10082           attempt to register it with a VCS)
10083
10084 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * lyx_main.C (init): honor variables LYX_DIR_13x and
10087         LYX_USERDIR_13x
10088
10089 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * buffer.h:
10092         * buffer.C:
10093         * lyx_main.C: fix a crash on bad command line,
10094           and give a useful exit status on error
10095
10096         * lyxfunc.C (doImport): allow -i lyx to work
10097
10098 2002-03-30  André Pönitz <poenitz@gmx.net>
10099
10100         * lyxfunc.C: mathed font changes
10101
10102 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * LaTeX.C:
10105         * importer.h:
10106         * importer.C:
10107         * lyx_sty.h:
10108         * lyx_sty.C:
10109         * lyxlex.C:
10110         * lyxrow.h:
10111         * lyxtext.h:
10112         * paragraph.h:
10113         * paragraph.C:
10114         * texrow.h:
10115         * texrow.C:
10116         * text.C:
10117         * trans_mgr.h: srcdocs, and some minor cleanups
10118
10119 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10122         call getFont all the time)
10123
10124 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10125
10126         * switch from SigC signals to boost::signals
10127
10128 2002-05-29  André Pönitz <poenitz@gmx.net>
10129
10130         * paragraph_pimpl.C (getChar): don't call size() too often...
10131
10132 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10133
10134         * paragraph_pimpl.C (insertChar): do not try to update tables when
10135         appending (pos == size())
10136
10137         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10138         in order to reduce drastically the number of comparisons needed to
10139         parse a large document
10140
10141 2002-05-29  André Pönitz <poenitz@gmx.net>
10142
10143         * text.C:
10144         * text2.C:
10145         * lyxtextclass.C:
10146         * sp_pspell.h:
10147         * textclasslist.[Ch]:
10148         * sp_ispell.h: whitespace change
10149
10150 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10153         lyxaction directly now.
10154
10155 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * trans.C:
10158         * lyxfont.C:
10159         * lyxvc.C: remove unused headers
10160
10161 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * Makefile.am:
10164         * buffer.h:
10165         * undostack.h:
10166         * undostack.C:
10167         * undo_funcs.h:
10168         * undo_funcs.C: some cleanups. Use shared_ptr
10169           and a template for the undo stacks.
10170
10171 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * BufferView_pimpl.h:
10174         * BufferView_pimpl.C:
10175         * kbmap.h:
10176         * kbmap.C:
10177         * kbsequence.h:
10178         * kbsequence.C:
10179         * lyxfunc.h:
10180         * lyxfunc.C:
10181         * text2.C: use key_state/mouse_state
10182
10183 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10186         and LSubstring
10187
10188         * chset.C: change include order
10189         (loadFile): use boost regex and get rid of LRegex and LSubstring
10190
10191         * Makefile.am (BOOST_LIBS): new variable
10192         (lyx_LDADD): use it
10193
10194         * LaTeX.C: change include order.
10195         (scanAuxFile): use boost regex and get rid of LRegex and
10196         LSubstring
10197         (deplog): ditto
10198
10199 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * ColorHandler.h:
10202         * ColorHandler.C:
10203         * FontInfo.h:
10204         * FontInfo.C: moved to frontends/xforms/
10205
10206         * FontLoader.h:
10207         * FontLoader.C: moved into frontends for GUIIzation
10208
10209         * Makefile.am:
10210         * lyx_gui.C:
10211         * lyxfont.C:
10212         * lyxfunc.C: changes from above
10213
10214 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * LColor.C: remove spurious X include
10217
10218         * BufferView_pimpl.C:
10219         * Makefile.am:
10220         * font.h:
10221         * font.C:
10222         * text.C:
10223         * text2.C: move font metrics to frontends/
10224
10225 2002-05-24  Juergen Vigna  <jug@sad.it>
10226
10227         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10228         setting the undo_cursor.
10229
10230         * ParagraphParameters.h: include local includes first.
10231
10232 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * BufferView_pimpl.C:
10235         * BufferView_pimpl.h:
10236         * Makefile.am:
10237         * WorkArea.h:
10238         * WorkArea.C:
10239         * screen.C: move WorkArea into frontends/
10240
10241         * lyxscreen.h:
10242         * screen.C:
10243         * text.C:
10244         * BufferView.C:
10245         * BufferView2.C: move LyXScreen into frontends/
10246
10247         * lyxlookup.h:
10248         * lyxlookup.C:
10249         * lyx_gui.C: move lyxlookup into frontends/xforms/
10250
10251 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * BufferView2.C:
10254         * BufferView_pimpl.C:
10255         * FontLoader.C:
10256         * LyXView.h:
10257         * LyXView.C:
10258         * Makefile.am:
10259         * WorkArea.C:
10260         * XFormsView.h:
10261         * XFormsView.C:
10262         * buffer.C:
10263         * bufferlist.C:
10264         * bufferview_funcs.C:
10265         * converter.C:
10266         * importer.C:
10267         * lyx_cb.C:
10268         * lyx_gui.C:
10269         * lyx_main.C:
10270         * lyx_find.C:
10271         * lyxfunc.C:
10272         * lyxvc.C:
10273         * minibuffer.C:
10274         * text.C:
10275         * text2.C:
10276         * trans.C:
10277         * vc-backend.C: move LyX/XFormsView into frontends/
10278
10279 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10280
10281         * Makefile.am:
10282         * PainterBase.C:
10283         * PainterBase.h:
10284         * Painter.C:
10285         * Painter.h:
10286         * WorkArea.C:
10287         * WorkArea.h:
10288         * screen.C:
10289         * tabular.C:
10290         * text.C:
10291         * text2.C: move Painter to frontends/
10292
10293 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10294
10295         * buffer.C: comment out some some code that depend upon lyx_format
10296         < 220
10297
10298         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10299         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10300
10301         * buffer.h (NO_COMPABILITY): turn off compability
10302
10303         * ColorHandler.C: include scoped_array.hpp
10304
10305         * font.C: Use more specific smart_ptr header.
10306         * Painter.C: ditto
10307         * gettext.C: ditto
10308         * ShareContainer.h: ditto
10309         * lyx_main.h: ditto
10310         * kbmap.h: ditto
10311         * FontInfo.h: ditto
10312         * BufferView_pimpl.h: ditto
10313         * ColorHandler.h: ditto
10314
10315         * kbmap.C (defkey): change call to shared_ptr::reset
10316
10317 2002-05-21  Juergen Vigna  <jug@sad.it>
10318
10319         * buffer.C (insertErtContents): fix to insert ert asis if it is
10320         non empty. Skip it completely if it contains only whitespaces.
10321
10322 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.C:
10325         * BufferView2.C: clear selection on paste (bug 393)
10326
10327 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * DepTable.C: include ctime
10330
10331 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10334
10335 2002-05-14  Juergen Vigna  <jug@sad.it>
10336
10337         * text.C (breakParagraph): fixed function to honor the keepempty
10338         layout in the right maner and also to permit the right breaking
10339         algorithm on empty or non empyt keepempty paragraphs.
10340
10341         * paragraph.C (breakParagraph): we have to check also if the par
10342         is really empty (!size()) for isempty otherwise we do the wrong
10343         paragraph break.
10344
10345 2002-05-10  Juergen Vigna  <jug@sad.it>
10346
10347         * buffer.[Ch] : The following are only changes to the ert
10348         compatibility read reading old LaTeX layout and font stuff and
10349         convert it to ERTInsets.
10350
10351         * buffer.h: added isErtInset().
10352
10353         * buffer.C (struct ErtComp): add a fromlayout bool to check
10354         if we're inside a LaTeX layout.
10355         (isErtInset): new helper function.
10356         (insertErtContents): look for other ert insets before this one
10357         and insert the contents there, so that we don't have subsequent
10358         ERT insets with nothing between them. This way we create only one
10359         inset with multiple paragraphs. Also check if we don't insert only
10360         spaces ' ' as they are ignored anyway afterwards in the .tex file
10361         so if we have only spaces we will ignore this latex part in the
10362         new file.
10363         (parseSingleLyXformat2Token \\layout): better compatibility when
10364         reading layout-latex stuff.
10365         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10366         language tag.
10367         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10368         stuff after reading the inset only get the information back from
10369         the stack.
10370
10371 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10372
10373         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10374
10375         * LaTeXFeatures.C (getBabelOptions): New method.
10376
10377 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * BufferView_pimpl.C (Dispatch): work around missing argument for
10380         'layout'
10381
10382 2002-05-08  Juergen Vigna  <jug@sad.it>
10383
10384         * text.C (leftMargin): handle paragraph leftindent.
10385
10386         * paragraph.C (writeFile): write the new \\leftindent tag.
10387         (validate): handle leftindent code.
10388         (TeXEnvironment): handle paragraphleftindent code again.
10389
10390         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10391
10392         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10393         for paragrap_extra indent code and new token \\leftindent.
10394         (latexParagraphs): handle the leftindent as environment.
10395
10396         * ParameterStruct.h: added leftindent support.
10397
10398         * ParagraphParameters.C (leftIndent): added support functions for
10399         the paragraph left indent.
10400
10401         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10402         more appropriate.
10403
10404 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10405
10406         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10407         inside insetERT.
10408
10409         * text.C (computeBidiTables): No bidi in insetERT.
10410
10411         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10412         in RTL documents.
10413
10414 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10415
10416         * version.C.in: pre 5
10417
10418 2002-05-02  José Matos  <jamatos@fep.up.pt>
10419         * buffer.C (makeDocBookFile): white space changes, add newline to
10420         command styles.
10421         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10422
10423         * tabular.C (docBook): fix typo.
10424
10425 2002-05-03  Juergen Vigna  <jug@sad.it>
10426
10427         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10428         change in LyXText as we can not be sure it was not freed.
10429         (drawOneRow): remove unused code.
10430
10431         * text.C (drawInset): redo the calculation of the need_break_row as
10432         it could have a row which was already freed.
10433         (draw): look at the return value of drawInset and return false if
10434         it also returned false.
10435         (paintRowText): look at the return value of draw and return false if
10436         it also returned false.
10437
10438         * lyxtext.h: added bool return type to drawInset() and draw() so that
10439         if we have a change in the row so that the rowbreak has to be redone
10440         we abort drawing as it will be called again.
10441
10442 2002-05-02  Juergen Vigna  <jug@sad.it>
10443
10444         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10445         a change in the maintext also if we're inside an inset.
10446         (Dispatch): set the cursor again after a break line and after the
10447         screen has been updated as it could be we're in a different row.
10448
10449         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10450         to set the cursor behind the pargraph with > size().
10451         (setCursor): check also for the same paragraph when checking where
10452         to put the cursor if we have a NFR inset.
10453
10454         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10455         parts of layout read further up as it still was in the wrong
10456         position.
10457
10458 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * screen.C (drawFromTo): change sine fullRebreak always return
10461         true.
10462
10463         * buffer.C (parseSingleLyXformat2Token): reindent some
10464
10465         * BufferView_pimpl.C (update): change since fullRebreak always
10466         return true.
10467         (Dispatch): git rid of the last hardcoded "Standard"s.
10468
10469 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * text2.[Ch] (fullRebreak): make it return void now that we always
10472         returned true.
10473
10474 2002-04-30  Juergen Vigna  <jug@sad.it>
10475
10476         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10477         ert compatibility check for "latex" layout.
10478
10479 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10480
10481         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10482         minipages: use col% instead of p%, and also use the current font.
10483         (makeLaTeXFile): Fix use babel condition.
10484         (parseSingleLyXformat2Token): Correct font when reading old floats.
10485
10486 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10489         inserting list of floats.
10490
10491 2002-04-25  Herbert Voss  <voss@lyx.org>
10492
10493         * MenuBackend.C (expand): don't add the graphics extensions to the
10494         export menu
10495
10496 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10499         non-existing layout, do not complain if it was the default layout
10500         of the original class (bug #342)
10501
10502 2002-04-24  Juergen Vigna  <jug@sad.it>
10503
10504         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10505         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10506
10507 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10508
10509         * buffer.C (getBibkeyList): If using \bibliography, return the
10510         option field with the reference itself. Enables us to provide natbib
10511         support when using \bibliography.
10512
10513 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10514
10515         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10516
10517         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10518         natbib is provided by the LaTeX class.
10519
10520 2002-04-23  Juergen Vigna  <jug@sad.it>
10521
10522         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10523         Wakeup functions.
10524
10525         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10526
10527 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10528
10529         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10530
10531         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10532         ensuremath around textordmasculine, textordfeminine and
10533         textdegree.
10534
10535 2002-04-19  Juergen Vigna  <jug@sad.it>
10536
10537         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10538         reinitializing the buffer otherwise row-dimensions may be wrong.
10539         (update): reset also the selection cursors if they do exits otherwise
10540         their x/y positions may be wrong.
10541
10542         * text2.C (cursorDown): don't enter the inset if we came from a row
10543         above and are one row over the inset.
10544
10545         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10546         really leaving an inset.
10547
10548 2002-04-18  Juergen Vigna  <jug@sad.it>
10549
10550         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10551         of the selected paragraph does not have the selected layout also if
10552         the last one had!
10553
10554         * text2.C (setLayout): fixed bug which did not change last selected
10555         paragraph.
10556
10557         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10558         changed the read and substituted \\end_float with \\end_inset!
10559
10560         * BufferView_pimpl.C (cursorPrevious):
10561         (cursorNext): fixed to make it work with rows heigher than the work
10562         area without moving the cursor only the draw of the row.
10563         (workAreaMotionNotify): fix jumping over high rows.
10564
10565 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10568         Ressler.
10569
10570 2002-04-16  Juergen Vigna  <jug@sad.it>
10571
10572         * text2.C (setCursor): set also the irow().
10573         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10574         (cursorUp):
10575         (cursorDown): support for locking an inset if the x_fix value goes
10576         inside it. That way I can transverse insets too with cursor up/down.
10577
10578         * lyxrow.h: added irow helper function same as other (i) functions.
10579
10580         * BufferView_pimpl.C (cursorPrevious):
10581         (cursorNext): fixed for insets!
10582
10583 2002-04-15  Juergen Vigna  <jug@sad.it>
10584
10585         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10586         position otherwise it is wrong in some cases.
10587
10588         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10589         inside the inset before the call.
10590
10591 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10592
10593         * buffer.[Ch] (getBibkeyList): make it const.
10594
10595 2002-04-12  Juergen Vigna  <jug@sad.it>
10596
10597         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10598
10599         * text2.C (getCursorX): new helper function
10600         (setCursor): compute also ix_
10601         (setCursorFromCoordinates): set also ix.
10602
10603         * lyxcursor.h: added ix_ and helper functions.
10604
10605         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10606
10607         * buffer.C (insertStringAsLines): dont break paragraph if the this
10608         paragraph is inside an inset which does not permit it!
10609
10610         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10611         also with no chars on this paragraph.
10612         (paintRowText): only paint stuff if it's inside the workarea!
10613
10614         * paragraph.C (breakParagraph): honor keepempty flag and break the
10615         paragraph always below not above.
10616
10617         * BufferView2.C (unlockInset): update the paragraph layout on inset
10618         unlock as we changed paragraph in such a case.
10619
10620         * lyxfind.C (LyXFind): clear the former selection if not found!
10621
10622         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10623         again called in insertChar().
10624
10625         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10626         an inset which uses the whole row!
10627         (rightMargin): ditto.
10628         (insertChar): force a rebreak if we inserted an inset!
10629
10630 2002-03-28  Herbert Voss  <voss@lyx.org>
10631
10632         * lyxlength.[Ch]: add inBP() to get the right PS-point
10633         units (BigPoint). With inPixels we have rounding errors
10634
10635 2002-04-11  Juergen Vigna  <jug@sad.it>
10636
10637         * text2.C (setCursorFromCoordinates): set iy to the right value.
10638         (setCursor): add check if row->previous exists!
10639
10640         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10641         an old float_type as this was the case in the old code!
10642
10643         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10644
10645         * BufferView2.C (showLockedInsetCursor): use iy
10646         (fitLockedInsetCursor): ditto
10647
10648         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10649         locked insets as there we have the right value now.
10650
10651         * lyxcursor.C: added iy_ variable and iy functions to set to the
10652         baseline of cursor-y of the locked inset.
10653
10654         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10655         (setCursor): fixed for insets which need a full row.
10656
10657         * text.C (rowLastPrintable): don't ignore the last space when before
10658         an inset which needs a full row.
10659         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10660         as last character of a row when before a inset which needs a full row.
10661
10662 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * version.C.in: update date
10665
10666         * text2.C (fullRebreak): try to always return true and see what
10667         happens...
10668
10669 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10670
10671         * MenuBackend.C (expand): use Floating::listName
10672
10673         * FloatList.C (FloatList): add listName argument to the built-in
10674         floats
10675
10676         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10677         text associated with the float.
10678
10679 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10682
10683 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * ShareContainer.h: add a couple of missing typenames.
10686
10687 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10688
10689         * lyxrc.C (getDescription): use _() correctly rather than N_().
10690
10691 2002-03-28  Herbert Voss  <voss@lyx.org>
10692
10693         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10694         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10695
10696 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10699         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10700
10701 2002-03-29  Juergen Vigna  <jug@sad.it>
10702
10703         * lyxfunc.C (dispatch): add a missing fitCursor call.
10704
10705         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10706         it was scrolled by a cursor move, so return the bool status.
10707
10708         * BufferView.C (fitCursor): return the bool flag also to the outside
10709         world as this is needed.
10710
10711         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10712
10713         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10714         call the edit() as it is not needed (and wrong) IMO.
10715         (workAreaButtonPress): set the screen_first variable before evt.
10716         unlock the inset as this may change screen_first and then we have
10717         a wrong y position for the click!
10718
10719 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * MenuBackend.C (expand): another translation that I missed
10722
10723 2002-03-28  Juergen Vigna  <jug@sad.it>
10724
10725         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10726
10727         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10728
10729 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10732
10733         * MenuBackend.C (expand): fix export/view/update when there is no
10734         document open.
10735
10736 2002-03-27  Herbert Voss  <voss@lyx.org>
10737
10738         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10739         and text%
10740
10741 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10742
10743         * bufferview_funcs.C (currentState): only show paragraph number
10744         for is DEVEL_VERSION is set.
10745
10746         * lyxfunc.C (dispatch): put warning in INFO channel
10747
10748         * MenuBackend.C (expand): translate the name of floats
10749
10750         * FloatList.C (FloatList): mark the float names for translation
10751
10752         * converter.C (convert): use LibScriptSearch
10753
10754 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * MenuBackend.C (defaults): fix default menu (we might as well get
10757         rid of it...)
10758
10759 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10760
10761         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10762         directory.
10763
10764 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * lyxvc.C: reorder includes.
10767
10768 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10771           properly
10772
10773 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * CutAndPaste.C: change layouts earlier on paste
10776           to avoid crashing when calling getFont()
10777
10778 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10779
10780         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10781         irritating #error.
10782
10783 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10784
10785         * WorkArea.C: remove 'Pending' debug message.
10786
10787         * most files: ws cleanup
10788
10789         * buffer.[Ch]: ws changes
10790
10791         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10792
10793 2002-03-21  Juergen Vigna  <jug@sad.it>
10794
10795         * tabular.C (SetMultiColumn): collapse also the contents of the
10796         cells and set the last border right. Added a Buffer const * param.
10797
10798 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10801         linking or not.
10802
10803 2002-03-19  Juergen Vigna  <jug@sad.it>
10804
10805         * text2.C (clearSelection): reset also xsel_cache.
10806
10807         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10808         where it needs to be called (John tells us to do so too :)
10809         (selectionLost): reset sel_cache.
10810
10811         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10812
10813 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * text2.C (setCursorIntern): put debuging code in INSETS channel
10816
10817 2002-03-19  André Pönitz <poenitz@gmx.net>
10818
10819         * lyxfunc.C: tiny whitespace change
10820
10821 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * ToolbarDefaults.C (init):
10824         * LyXAction.C (init):
10825         * commandtags.h:
10826         * BufferView_pimpl.C (Dispatch):
10827         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10828
10829 2002-03-19  Allan Rae  <rae@lyx.org>
10830
10831         * exporter.C (Export): removeAutoInsets before doing anything else.
10832         While I've just introduced a dependency on BufferView this really is
10833         the best place to clean the buffer otherwise you need to cleanup in
10834         a dozen places before calling export or cleanup in a dozen functions
10835         that export calls.
10836
10837         * converter.C (runLaTeX):
10838         (scanLog): Better handling of removeAutoInsets and screen updates.
10839
10840         * lyxfunc.C (dispatch): small whitespace changes
10841
10842 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * WorkArea.C (C_WorkAreaEvent): return a value.
10845         (event_cb): return 1 if we handled the event, 0 otherwise.
10846
10847         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10848
10849 2002-03-18  Juergen Vigna  <jug@sad.it>
10850
10851         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10852         (GetAdditionalWidth): ditto.
10853         (RightLine): ditto.
10854         (LeftLine): ditto.
10855
10856         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10857         inset if we're there actually (probably not used right now but this
10858         is the direction to go for unifying code).
10859         (paste): disable code to clear the selection.
10860
10861         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10862         inside an InsetText and move the check further up as it is in the
10863         wrong place.
10864
10865         * text2.C (pasteSelection): set a selection over the pasted text.
10866
10867 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10868
10869         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10870         and libgraphics to build on Cygwin.
10871
10872 2002-03-15  Juergen Vigna  <jug@sad.it>
10873
10874         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10875         inserting an Inset into the paragraph. I know this is not the best
10876         fix but we already use current_view in CutAndPaste so we will remove
10877         all of it's using at the same time.
10878
10879         * buffer.C (sgmlError): deactivated function till it is rewritten in
10880         the right mode, now it can create problems.
10881
10882         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10883         before accessing it.
10884
10885 2002-03-14  Juergen Vigna  <jug@sad.it>
10886
10887         * undo_funcs.C (textHandleUndo): do the right thing when updating
10888         the inset after the undo/redo.
10889
10890         * text2.C (setCursor): just some testcode for #44 not ready yet.
10891
10892         * undo_funcs.C (textHandleUndo): set the next() and previous()
10893         pointers of the paragraph to 0 before deleting otherwise we have
10894         problems with the Paragraph::[destructor].
10895
10896         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10897         on a paragraph insertion.
10898
10899 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * buffer.C (asciiParagraph): use += operator for char append to
10902         string.
10903
10904         * paragraph.C (getFontSettings): compare >= not just >
10905         (highestFontInRange): ditto
10906         (setFont): ditto
10907
10908 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10909
10910         * paragraph.C: change several algorithm to be more appripriate for
10911         the problem domain. This is lookip in FontList and in the InsetList.
10912
10913 2002-03-13  André Pönitz <poenitz@gmx.net>
10914
10915         * commandtags.h:
10916         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10917
10918 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * commandtags.h:
10921         * LyXAction.C:
10922         * lyxfunc.C:
10923         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10924
10925 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * Painter.C (display): anon helper function, adjust code for this
10928         change.
10929         (pixmap): remove function.
10930
10931         * Painter.h: remove private display variable.
10932
10933         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10934
10935 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * WorkArea.[Ch]: remove figinset_canvas cruft.
10938
10939 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * lyxtextclass.C (operator): add one item cache optimization.
10942
10943         * bufferlist.h: doxy changes
10944
10945         * bufferlist.C: ws changes
10946
10947         * DepTable.[Ch] (ext_exist): place const in the right spot.
10948
10949         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10950         call resizeInsets.
10951         (workAreaExpose): call resizeInsets when the with BufferView changes.
10952         (Dispatch): adjust for protectedBlank removal
10953         (specialChar): call updateInset if the insert went ok.
10954
10955         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10956         specialChar instead.
10957
10958         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10959
10960         * BufferView.h: doxy change
10961
10962         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10963
10964         * lyxtextclass.C (operator[]): remove non-const version
10965         (defaultLayout): remove non-const version
10966
10967 2002-03-12  Juergen Vigna  <jug@sad.it>
10968
10969         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10970         did resize the LyXText too.
10971
10972         * buffer.C (readLyXformat2): set layout information on newly allocated
10973         paragraphs.
10974
10975         * tabular.C (OldFormatRead): set layout information on the paragraph.
10976
10977 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10978
10979         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10980
10981 2002-03-11  Juergen Vigna  <jug@sad.it>
10982
10983         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10984         plainly wrong.
10985         (resizeCurrentBuffer): force also the insets to resize themselfes.
10986         (moveCursorUpdate): fixed up for InsetText.
10987
10988 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10989
10990         * commandtags.h:
10991         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10992         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10993         value of Dialogs::tooltipsEnabled().
10994         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10995
10996 2002-03-08  Juergen Vigna  <jug@sad.it>
10997
10998         * BufferView_pimpl.C (updateInset): update inset inside inset also
10999         if it isn't inside theLockingInset().
11000
11001 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * buffer.C (asciiParagraph): redo some of the word and line length
11004         handling.
11005         (getLists): look for Caption instead of caption.
11006
11007 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11008
11009         * buffer.C (Buffer): initialize niceFile to true
11010         (makeLaTeXFile):
11011         (makeLinuxDocFile):
11012         (makeDocBookFile): make sure niceFile is true on exit
11013
11014 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11017
11018 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11019
11020         * LyXSendto.C: remove.
11021         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11022         * lyx_gui.C: remove now-redundant comment.
11023         * ColorHandler.h: remove forward declaration of class WorkArea.
11024         * lyxfunc.C: remove #include "WorkArea.h".
11025
11026 2002-03-07  Juergen Vigna  <jug@sad.it>
11027
11028         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11029         got moved away with the DEPM and also set the inset_owner always
11030         right which before could have been omitted.
11031
11032 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11035         wanted layout is not found.
11036
11037 2002-03-07  Juergen Vigna  <jug@sad.it>
11038
11039         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11040
11041 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * paragraph.C (breakParagraph): use default layout not layout of
11044         prev paragraph.
11045         (Paragraph): clear ParagraphParameters.
11046
11047 2002-03-06  Juergen Vigna  <jug@sad.it>
11048
11049         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11050         otherwise it would not be a valid lenght. Fixed a special case in
11051         the minipage compatibility read where we end the document with a
11052         minipage.
11053
11054         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11055         was set as it could be 0 for InsetTexts first entry.
11056
11057 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * paragraph.C (writeFile): if layout is empty write out
11060         defaultLayoutName().
11061
11062         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11063         file without named layout we set layout to defaultLayoutName().
11064
11065 2002-03-06  Juergen Vigna  <jug@sad.it>
11066
11067         * CutAndPaste.C (copySelection): set layout for new paragraph.
11068
11069         * text.C (prepareToPrint): leave ERT inset left aligned
11070         (leftMargin): don't indent paragraphs inside ERT insets
11071
11072 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * paragraph.C (breakParagraph): dont call clear do the work manually
11075
11076         * paragraph.[Ch] (clear): remove function
11077
11078 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * paragraph.C (Paragraph): dont call clear, the work has already
11081         been done.
11082
11083         * lyxtextclass.C (operator): assert if n is empty
11084
11085         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11086         work manually instead.
11087
11088 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * BufferView_pimpl.C: protect selectionLost against text == 0
11091
11092 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * text.C (breakParagraph): fix a setting layout to '0' problem.
11095
11096 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11097
11098         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11099         final location of file, for the included files, and graphics.
11100
11101 2002-03-05  Juergen Vigna  <jug@sad.it>
11102
11103         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11104
11105 2002-03-04  Juergen Vigna  <jug@sad.it>
11106
11107         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11108
11109         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11110         last column of multicolumn cells.
11111         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11112
11113 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11114
11115         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11116         file if it doesn't go to a temporary file.
11117
11118         * buffer.C (sgmlOpenTag):
11119         (sgmlCloseTag):  remove extra newline insertion.
11120
11121 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11122
11123         * text.C (getRowNearY): comment out debug msg
11124
11125 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * text2.C: first -> first_y
11128
11129         * text.C (getRowNearY): add some attemts at a possible
11130         optimization, not working.
11131
11132         * tabular.[Ch]: add BufferParams to several function so that newly
11133         created paragraph can be initialized to he default layotu for the
11134         buffers textclass.
11135
11136         * tabular-old.C (ReadOld): add buf->params to call of Init
11137
11138         * screen.C: rename text->first to text->first_y
11139
11140         * paragraph.C (breakParagraph): always set layout in the broken
11141         paragraph
11142
11143         * lyxtextclass.C (Read): remove lowercase
11144         (hasLayout): ditto
11145         (operator): ditto
11146         (delete_layout): ditto
11147
11148         * lyxtext.h: rename first -> first_y
11149
11150         * lyxlayout.C (Read): remove lowercase
11151         (name): ditto
11152         (setName): ditto
11153         (obsoleted_by): ditto
11154
11155         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11156
11157         * buffer.C (insertErtContents): add params are to InsetERT
11158         (parseSingleLyXformat2Token): add code to check if a paragraphs
11159         layout really exist.
11160         (parseSingleLyXformat2Token): add params to several inset
11161         constructors
11162         (asciiParagraph): remove lowercase, do the layout comparisons with
11163         no_case
11164
11165         * BufferView_pimpl.C (cursorNext): first -> first_y
11166         (resizeCurrentBuffer): first -> first_y
11167         (updateScrollbar): first -> first_y
11168         (scrollCB): first -> first_y
11169         (workAreaMotionNotify): first -> first_y
11170         (workAreaButtonPress): first -> first_y
11171         (checkInsetHit): first -> first_y
11172         (cursorPrevious): first -> first_y
11173         (cursorNext): first -> first_y
11174         (Dispatch): add buffer_->params to severl inset contructors
11175
11176 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * lyxlayout.C (Read): remove some debug info that I forgot.
11179
11180         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11181         clean up the code slightly.
11182         (makeLinuxDocFile): ditto
11183         (makeDocBookFile): ditto
11184
11185         * text2.C: layout as string
11186
11187         * text.C: layout as string
11188
11189         * paragraph_pimpl.C: layout as string
11190
11191         * paragraph.[Ch]: layout as string
11192
11193         * lyxtextclasslist.[Ch]: layout as string
11194
11195         * lyxtextclass.[Ch]: layout as string
11196
11197         * lyxtext.h: layout as string
11198
11199         * lyxlayout.[Ch]: layout as string
11200
11201         * lyx_cb.C: layout as string
11202
11203         * bufferview_funcs.C: layout as string
11204
11205         * bufferparams.C: layout as string
11206
11207         * buffer.C: layout as string
11208
11209         * LyXView.[Ch]: layout as string
11210
11211         * LaTeXFeatures.[Ch]: layout as string
11212
11213         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11214
11215         * BufferView_pimpl.C: change current_layout to string, remove
11216         lyx::layout_type.
11217         (Dispatch):
11218         (smartQuote):
11219         (insertInset):
11220         (workAreaButtonRelease): layout as string
11221
11222         * BufferView2.C (unlockInset): adjust
11223
11224         * vspace.C (asLatexCommand): use an explict temp variable.
11225
11226 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * Makefile.am: use FRONTEND_*
11229
11230 2002-03-01  Juergen Vigna  <jug@sad.it>
11231
11232         * tabular.C (SetWidthOfMulticolCell): changed to something better
11233         I hope but still work in progress.
11234         (recalculateMulticolumnsOfColumn): renamed function from
11235         recalculateMulticolCells as it is more appropriate now.
11236         (SetWidthOfCell): calculate multicols better.
11237
11238 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11241
11242         * lyxfunc.C (processKeySym): print sequence also if it is
11243         `deleted' (complete)
11244
11245         * kbsequence.C (print): print sequence even if it is deleted
11246         (complete would be a better word, actually).
11247
11248         * lyxfunc.C (dispatch): print complete options after a prefix key
11249
11250         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11251
11252 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11253
11254         * text2.C (setCharFont): eliminate setCharFont code duplication.
11255
11256 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11259         LFUN_TABULAR_FEATURE (bug #177)
11260
11261 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11262
11263         * Makefile.am: remove figure.h
11264
11265 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11266
11267         * Bufferview_pimpl.C:
11268         * CutAndPasteC:
11269         * LaTeX.C:
11270         * LyXSendto.C:
11271         * buffer.C:
11272         * bufferlist.C:
11273         * converter.C:
11274         * language.C:
11275         * lyxfunc.C:
11276         * lyxvc.C:
11277         * paragraph.C:
11278         * text.C:
11279         * text2.C: remove #include "lyx_gui_misc.h".
11280
11281         * LaTeX.C: added #include <cstdio>
11282
11283 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11284
11285         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11286         that the paragraph following this one can have.
11287
11288         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11289
11290         * vspace.C (asLatexCommand): fix bogus gcc warning
11291
11292         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11293
11294 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11295
11296         * text2.C (setLayout): get rid of redundant code
11297
11298 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11299
11300         * text2.C (incDepth): make sure depth cannot be increased beyond
11301         reasonable values.
11302
11303 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11304
11305         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11306         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11307
11308         * PainterBase.h (image):
11309         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11310         a LyXImage const *.
11311
11312 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * BufferView.C:
11315         * BufferView.h:
11316         * BufferView_pimpl.C:
11317         * BufferView_pimpl.h:
11318         * LaTeXFeatures.C:
11319         * LyXAction.C:
11320         * LyXView.C:
11321         * Makefile.am:
11322         * UpdateList.h:
11323         * UpdateList.C:
11324         * buffer.C:
11325         * figure.h:
11326         * figureForm.C:
11327         * figureForm.h:
11328         * figure_form.C:
11329         * figure_form.h:
11330         * lyx_cb.C:
11331         * lyx_gui.C:
11332         * lyx_gui_misc.C:
11333         * lyxfunc.C:
11334         * sp_base.h:
11335         * sp_ispell.h:
11336         * sp_pspell.h:
11337         * sp_spell.C: remove fig inset, and the crap house of
11338           cards that follows it
11339
11340 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * Makefile.am:
11343         * lyxserver.C:
11344         * os2_defines.h:
11345         * os2_errortable.h:
11346         * nt_defines.h: move .h into support/
11347
11348         * vms_defines.h: remove
11349
11350         * WorkArea.C: add space in debug output
11351
11352         * text2.C:
11353         * paragraph.C:
11354         * buffer.C: add WITH_WARNINGS
11355
11356         * vc-backend.h:
11357         * vc-backend.C:
11358         * bufferlist.C: s/retrive/retrieve/, add docs
11359
11360         * vspace.h:
11361         * vspace.C:
11362         * kbmap.h:
11363         * lyxlength.h:
11364         * lyxgluelength.h:
11365         * length_common.h:
11366         * chset.h:
11367         * chset.C: add docs
11368
11369         * lyxgui.C: add ID to X error handler
11370
11371         * lyxtestclass.c: fix typo
11372
11373 2002-02-26  Juergen Vigna  <jug@sad.it>
11374
11375         * tabular_funcs.C (write_attribute): changed so that some default
11376         attributes are not written at all.
11377         (getTokenValue): set default values before trying to read the
11378         value so we have the return value always set as default if we don't
11379         find the token we search for.
11380
11381         * tabular.C (Write): write bools as bools not as strings!
11382
11383 2002-02-22  Juergen Vigna  <jug@sad.it>
11384
11385         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11386         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11387
11388         * text.C (leftMargin): don't add an indent for paragraphs inside
11389         tabular cells (fix #208).
11390
11391 2002-02-21  José Matos  <jamatos@fep.up.pt>
11392
11393         * tabular.C (docBook): fixed support for long tables.
11394
11395 2002-02-20  Juergen Vigna  <jug@sad.it>
11396
11397         * text2.C (getFont): get the drawing font of the Inset if this
11398         paragraph is inside an inset (only important for InsetERT for now).
11399
11400         * buffer.C (insertErtContents): use new lanugage params in ERT
11401         constructor.
11402
11403         * CutAndPaste.C: commenting out seemingly uneeded code.
11404
11405 2002-02-19  Allan Rae  <rae@lyx.org>
11406
11407         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11408         Iterators might be simple to use but they also get invalidated.
11409         (removeAutoInsets): renamed saved cursor tracking variables and added
11410         some comments to clarify what everything does.
11411
11412 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * Chktex.C:
11415         * LaTeX.C:
11416         * LyXSendto.C:
11417         * converter.C:
11418         * lyx_cb.C:
11419         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11420         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11421
11422         * lyxfunc.C:
11423         * vc-backend.h: remove #include "support/syscall.h"
11424
11425         * LaTeX.C:
11426         * LyXSendto.C:
11427         * converter.C: rearrange #includes in Lars' approved fashion.
11428
11429         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11430         forward declare class Timeout in the header file.
11431
11432         * XFormsView.C: changes due to the above.
11433
11434         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11435         similar to LyXView.
11436
11437         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11438         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11439
11440 2002-02-18  José Matos  <jamatos@fep.up.pt>
11441
11442         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11443         insets contents.
11444
11445 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11446
11447         * a lot of small ws changes
11448         * add a lot of using std::XXX
11449         * use std construcs some places where approp.
11450         * use some exisint stuff from lyxfunctional where approp.
11451         * Make file changes to use partial linking (lets test this now...)
11452
11453 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11454
11455         * Chktex.C:
11456         * buffer.C:
11457         remove #include "support/syscontr.h" as it's redundant. Always has been.
11458
11459         * Chktex.C:
11460         * LaTeX.C:
11461         * LyXSendto.C:
11462         * converter.C:
11463         * lyx_cb.C:
11464         * vc-backend.C:
11465         change Systemcalls::System to Systemcalls::Wait and
11466         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11467         No change of functionality, just reflects the stripped down Systemcalls
11468         class.
11469
11470 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * debug.[Ch]: add a GRAPHICS type to the enum.
11473
11474 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11477
11478         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11479         there is an inset.
11480
11481 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11484         match the changes below.
11485
11486         * text2.C (toggleInset): if there is not editable inset at cursor
11487         position, try to see if cursor is _inside_ a collapsable inset
11488         and close it.
11489
11490 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11493         document menu has a nice checkbox
11494
11495 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11496
11497         * lyxlength.C (asLatexString): change PW to output as percent of
11498         \textwidth.
11499
11500         * lengthcommon.C: change '%' to 't%'
11501
11502         * lyxfunc.C (dispatch): a few comments from Martin
11503
11504 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * WorkArea.h:
11507         * WorkArea.C:
11508         * BufferView_pimpl.h:
11509         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11510           the X selection.
11511
11512 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * vspace.C (inPixels): fix compiler warning
11515
11516 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * lyxfunc.C (getStatus): fix status message for disabled commands.
11519
11520 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * BufferView_pimpl.C: fix crash on close buffer
11523         during selection (#227)
11524
11525 2002-01-27  Herbert Voss  <voss@lyx.org>
11526
11527         * buffer.C: link old Figure to new graphic inset
11528
11529 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11530
11531         * FontLoader.C (getFontinfo): Change the latex font names in order
11532         to match the names of type1inst.
11533
11534 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11537
11538         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11539         (extchanged): ditto
11540         (ext_exist): ditto
11541         (remove_files_with_extension): ditto
11542         (remove_file): ditto
11543         (write): ditto
11544
11545         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11546         document is smaller than the work area height. Do not initialize
11547         static variables to 0.
11548
11549 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11552
11553         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11554         LFUN_LAYOUT_PARAGRAPHS.
11555
11556         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11557         tabular. It is possible to provide a possible cell, which will
11558         typically be the actcell from the corresponding insettabular
11559
11560         * lyxfunc.C (getStatus): small cleanup; disable
11561         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11562         true
11563
11564 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11567
11568         * paragraph.C (startTeXParParams):
11569         (endTeXParParams): new methods. The LaTeX code to
11570         start/end paragraph formatting
11571         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11572         empty (fixes bug #200)
11573
11574         * vspace.C (inPixels): adapt to the change below
11575         (inPixels): [later] more cleanups (remove unused variables)
11576
11577         * lyxlength.C (inPixels): change to use a width and a height as
11578         parameter.
11579
11580 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11581
11582         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11583         Replaced with \paperwidth
11584
11585         * DepTable.C (insert): add std:: qualifier
11586
11587 2002-01-18  Allan Rae  <rae@lyx.org>
11588
11589         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11590         updated also?
11591
11592         * text.C (drawInset): Turned out I didn't know enough about how
11593         rebreaking worked.  This fixes most of the redraw problems.  I see
11594         an occasional cursor trail when a line is broken now and the cursor
11595         placement can seem out by a few pixels also after a rebreak.
11596
11597 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * buffer.C (parseSingleLyXformat2Token): update because minipage
11600         width is now a LyXLength
11601
11602         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11603
11604         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11605         math insets
11606
11607 2002-01-17  Juergen Vigna  <jug@sad.it>
11608
11609         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11610
11611         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11612         is set correctly and the inset is updated correctly.
11613
11614 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11617         the beginning of the loop.
11618
11619 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxrc.C: improve help for use_scalable_fonts
11622
11623 2002-01-17  Allan Rae  <rae@lyx.org>
11624
11625         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11626
11627 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11628
11629         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11630         make sure to set their inset_owner to the right value (bug #171)
11631
11632 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11633
11634         * DepTable.h
11635         * DepTable.C: Implement mtime checking to reduce time spent doing
11636         CRCs.
11637
11638 2002-01-16  Juergen Vigna  <jug@sad.it>
11639
11640         * tabular.C (GetAdditionalHeight): one of error fixed.
11641
11642         * lyxrc.C (output): small fix in writing use_pspell.
11643
11644 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11645
11646         * sp_base.h: #include LString.h
11647
11648 2002-01-16  Allan Rae  <rae@lyx.org>
11649
11650         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11651         Can someone check this please?
11652
11653         * text.C (drawInset): It was possible that p.row would be removed by
11654         breakAgainOneRow upsetting a few other settings.  There may be another
11655         small tweak possible by setting need_break_row = 0 when p.row has been
11656         removed but I don't know enough about the logic here.
11657
11658 2002-01-15  Allan Rae  <rae@lyx.org>
11659
11660         * text.C (insertChar): removed conditional truism.
11661
11662         * BufferView2.C (removeAutoInsets): More tweaks.
11663         cur_par_prev could be a stray pointer.  Check for trailing empty line
11664         in case last line was cur_par and only had an error inset on it.
11665
11666 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11669         absolute
11670
11671         * vc-backend.C (most methods):
11672         * exporter.C (Export):
11673         * converter.C (convert):
11674         (runLaTeX):
11675         * LyXSendto.C (SendtoApplyCB):
11676         * lyxfunc.C (dispatch):
11677         (menuNew):
11678         (open):
11679         (doImport):
11680         * lyx_cb.C (AutoSave):
11681         (InsertAsciiFile):
11682         * BufferView_pimpl.C (MenuInsertLyXFile):
11683         * buffer.C (runChktex): use Buffer::filePath().
11684
11685         * buffer.h: rename filename to filename_; rename filepath to
11686         filepath_ and make it private
11687         (filePath): new method
11688
11689         * buffer.C (writeFile): use fileName()
11690         (getLatexName):
11691
11692         * lyx_main.C (init): fix starting  of LyX when the binary is a
11693         link from so,ewhere else.
11694
11695         * minibuffer.C: include <cctype> for isprint
11696
11697 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11698
11699         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11700         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11701         name clash with InsetCollapsable's width function.
11702
11703 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * lastfiles.C: include <iterator>
11706
11707 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11708
11709         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11710         std::count.
11711
11712         * buffer.C (makeLaTeXFile): ditto.
11713         Also make loop operation more transparent.
11714
11715 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11716
11717         * ToolbarDefaults.C: remove trailing comma closing namespace.
11718
11719         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11720
11721         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11722         as in WorkArea.
11723
11724         * trans.C (Load): comment out unused variable, allowed.
11725
11726 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11727
11728         * minibuffer.[Ch] (append_char): new method to recieve input from the
11729         drop-down completion browser. If a key was pressed, then recieve this
11730         char and append it to the existing string.
11731         (peek_event): modify the positioning data passed to the completion
11732         browser so that it can be placed above the minibuffer rather than below.
11733 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * LyXAction.C (init): alloe error-next for readonly documents.
11736
11737         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11738         count.
11739
11740 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * bufferlist.C (readFile): create the buffer _after_ checking that
11743         the file exists.
11744
11745         * lyxfunc.C (verboseDispatch): fix handling of arguments
11746
11747         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11748
11749         * lyxrc.C: use string::erase() instead of initializing to "".
11750
11751
11752 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * BufferView_pimpl.h:
11755         * BufferView_pimpl.C:
11756         * WorkArea.h:
11757         * WorkArea.C:
11758         * text2.C: tell X when we have made a selection for copying
11759
11760 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * BufferView_pimpl.C (MenuInsertLyXFile):
11763         * lyxfunc.C (menuNew):
11764         (open):
11765         (doImport): add shortcuts to directory buttons
11766
11767         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11768         open a float)
11769
11770         * lyxfunc.C (setStatusMessage):
11771         (getStatusMessage): new methods
11772         (getStatus):use setStatusMessage instead of setErrorMessage
11773         (dispatch): when function is disabled, set error message here
11774         [instead of in getStatus previously]
11775
11776         * BufferView_pimpl.C (workAreaButtonRelease): update
11777         toolbar/menubar here too.
11778
11779 2002-01-13  Allan Rae  <rae@lyx.org>
11780
11781         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11782         Now seems indestructible.  Remaining task is to audit all other
11783         code affected by deleteEmptyParagraphMechanism.  One small quirk
11784         left is that an empty document with an error in the preamble can
11785         be made to report an error but no error box appears.  I don't know
11786         where it goes.
11787         (removeAutoInsets): Improved comments.
11788
11789 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * Thesaurus.h:
11792         * Thesaurus.C: update for Aiksaurus 0.14
11793
11794 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * text2.C (firstParagraph): removed member function, all uses
11797         replaces with ownerParagraph
11798         (redoParagraphs): here
11799         (updateInset): here
11800         (toggleAppendix): here
11801         * BufferView2.C (insertErrors): here
11802         (setCursorFromRow): here
11803
11804 2002-01-13  Allan Rae  <rae@lyx.org>
11805
11806         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11807         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11808         There is still a way to segfault this although you may have to do this
11809         multiple times: Have an InsetERT with an unknown command in it.
11810         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11811         <down-arrow>, <Enter> again, View->DVI, BANG!
11812
11813         * text2.C (setCursor):
11814         (deleteEmptyParagraphMechanism):
11815         * lyxtext.h (setCursor):
11816         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11817         Making use of the return value may help fix other bugs.
11818
11819 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11822
11823         * LyXView.C (updateMenubar): call MenuBar::update here
11824         (updateToolbar): but not here
11825         (showState): do not update toolbar/menubar
11826
11827         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11828         should need to care about that.
11829
11830         * lyxfunc.C (verboseDispatch): simplify a bit
11831         (getStatus): have a version which takes a pseudoaction, and
11832         another which requires a (kb_action,string).
11833
11834         * LyXAction.C (retrieveActionArg): make it work also when action
11835         is not a pseudo-action.
11836         (getActionName): simplify a bit
11837         (helpText):
11838
11839 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11840
11841         * lyxfunc.C (verboseDispatch): new families of methods with
11842         several ways to specify a command and a bool to indicate whether
11843         the command name and shortcut should be displayed in minibuffer
11844         (eventually, we could extend that to a finer bitmask like
11845         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11846         (dispatch): the pristine dispatch command which just, well,
11847         dispatchs! Note it still sets its result to minibuffer; I'm not
11848         sure we want that.
11849
11850         * lyxfunc.h: remove setHintMessage
11851
11852         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11853
11854 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * BufferView_pimpl.C (specialChar): delete new inset if we have
11857         not been able to insert it.
11858
11859         * kbmap.C: revert to using int instead of kb_action, since all we
11860         are dealing with is pseudo-actions.
11861
11862         * LyXAction.C (searchActionArg): change to return int instead of
11863         kb_action, since the result is a pseudoaction.
11864
11865 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11866
11867         * buffer.C (insertErtContents): Fix (partially) the font bug.
11868
11869 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11872         as the other one is broken on my machine!
11873
11874 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11875
11876         * commandtags.h:
11877         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11878
11879 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11882         reflect their actual use. Provide compatibility code for older lyxrc
11883         files.
11884
11885         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11886         FL_NORMAL_STYLE.
11887         change names of popup font variables in line with the changes to lyxrc.C
11888
11889 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * buffer.C (asciiParagraph): avoid outputing a word twice after
11892         an inset.
11893
11894         * lyxrc.C (getDescription): document that document_path and
11895         template_path can be empty.
11896
11897 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * LaTeXFeatures.C (getMacros):
11900         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11901
11902         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11903
11904         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11905         getPackages.
11906         (getPackages): rename feature "floats" to "float". Use an array to
11907         iterate over 'simple' features (i.e. just a \usepackage). Add
11908         handling of "amsmath" (renamed from "amsstyle").
11909
11910 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11911
11912         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11913         features list.
11914
11915 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11916
11917         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11918         FuncStaus::FuncStatus & FuncStaus::some_method().
11919
11920 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11921
11922         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11923         of the func_satus stuff. Edited and massaged in various ways by
11924         JMarc.
11925
11926         * lyxfunc.C (getStatus): use FuncStatus
11927
11928 2002-01-08  Juergen Vigna  <jug@sad.it>
11929
11930         * text.C (nextBreakPoint): use function Inset::isChar().
11931
11932         * paragraph.C (TeXOnePar): use function
11933         Inset::forceDefaultParagraphs.
11934
11935         * buffer.C (latexParagraphs): use function
11936         Inset::forceDefaultParagraphs.
11937
11938 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11939
11940         * lyx_gui.C (init): set the style of the menu popups to
11941         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11942
11943 2002-01-07  Juergen Vigna  <jug@sad.it>
11944
11945         * text.C (setHeightOfRow): small fix
11946         (prepareToPrint): don't look at alignment if we don't have the place
11947         for doing it.
11948
11949 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11950
11951         * box.C: New file. Move the Box methods and functions out of box.h,
11952         following Lars' suggestion.
11953
11954 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11955
11956         * box.h: #include "support/LOstream.h", needed for inlined function.
11957
11958         * lyxtextclass.C:
11959         * lyxtextclasslist.C: added some using std declarations.
11960
11961 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * box.h: make signed dimensions to allow insets wider than
11964           the screen (bug #162)
11965
11966         * BufferView_pimpl.C: add some insetHit debug
11967
11968 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * vc-backend.C: add FIXME
11971
11972 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * lyxfunc.C (getStatus): enable code for showing math font status
11975         in toolbar/menu.
11976
11977 2002-01-07  Juergen Vigna  <jug@sad.it>
11978
11979         * text.C (nextBreakPoint): removed debug output not needed anymore.
11980
11981 2002-01-06  Juergen Vigna  <jug@sad.it>
11982
11983         * text.C (nextBreakPoint): fixed up this function we had this bug
11984         since ever but now hopefully we break row better.
11985         (insertChar): we have to check if an inset is the next char as it
11986         could now happen that a large inset is causing a break.
11987
11988 2002-01-05  Juergen Vigna  <jug@sad.it>
11989
11990         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11991         if it doesn't like to be drawed.
11992
11993 2002-01-04  Juergen Vigna  <jug@sad.it>
11994
11995         * BufferView2.C (lockInset): forgot to set a cursor.
11996
11997         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11998
11999 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12000
12001         * FormMathsPanel.C:
12002         * FormMathsPanel.h
12003         * MathsSymbols.C:
12004         * form_maths_panel.C:
12005         * form_maths_panel.h:
12006         * form_maths_panel.fd: implemented sub- and super- buttons in math
12007         panel.
12008
12009         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12010         (or ^ space) to be used as in TeX (req'd by André).
12011
12012         * lyxfunc.C: Allow ^ and _ again to be used both as
12013         super/subscript (mathed) and as themselves (in text).
12014
12015 2002-01-03  Allan Rae  <rae@lyx.org>
12016
12017         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12018         "LyX" or the filename of the current buffer if it has one.  This is a
12019         modified form of John Levon's patch.
12020
12021         * XFormsView.C (setWindowTitle): also set icon title.
12022
12023         * LyXView.h (setWindowTitle): signature changed.
12024         * XFormsView.h (setWindowTitle): ditto.
12025
12026 2002-01-02  Juergen Vigna  <jug@sad.it>
12027
12028         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12029
12030 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * screen.C (topCursorVisible): introduce a temp var for
12033         text->cursor.row(), handle the case where this row is null. (kindo
12034         hachish)
12035
12036         * text2.C (setCursor): add a couple of asserts.
12037
12038         * paragraph.h (inset_iterator): add -> operator
12039
12040         * paragraph.[Ch] (autoDeleteInsets): remove member function
12041
12042         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12043         cursor pos correctly and handle inset deletion by itself.
12044         (insertErrors): move iterator declaration out of for expression
12045
12046         * lyxtextclass.C: add <algorithm>
12047
12048         * Makefile.am: added the new files to sources, removed layout.C
12049
12050         * layout.C: removed file
12051
12052         * layout.h: remove LYX_DUMMY_LAYOUT
12053
12054         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12055         layout.
12056
12057         * lyxlayout.[Ch]:
12058         * lyxtextclass.[Ch]:
12059         * lyxtextclasslist.[Ch]: new files
12060
12061         * include order changes to a lot of files, also changes because of
12062         the six new files.
12063
12064 2001-12-27  Juergen Vigna  <jug@sad.it>
12065
12066         * buffer.C (asciiParagraph): more fixes.
12067
12068         * tabular.C (ascii): make ascii export support export of only the
12069         data separated by a column-delimiter.
12070         (ascii): better support for ascii export.
12071
12072         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12073
12074 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12075
12076         * tabular_funcs.C: use a "using std::getline" instead of the
12077         previous fix from Angus (necessary for cxx + lyxstring)
12078
12079 2001-12-24  Juergen Vigna  <jug@sad.it>
12080
12081         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12082
12083         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12084         problems. First check a minipage also if we have some ert-contents
12085         (not only on par->size(), second set the right depth of the paragraph
12086         on the relink to the root-paragraph-list!
12087
12088         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12089         which then did not anymore update the main paragraphs on undo/redo!
12090
12091 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12094         code. Support all font-changing funcs (even those which are not in
12095         menu currently). Support for reporting font settings in
12096         mathed (disabled until Andre provides a function on mathed's side).
12097
12098         * func_status.h (toggle): small helper function to set toggle
12099         state on a flag.
12100
12101 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12102
12103         * tabular_funcs.C: getline -> std::getline
12104
12105 2001-12-21  Juergen Vigna  <jug@sad.it>
12106
12107         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12108         accessed and could be 0 (I couldn't generate this but it seems
12109         Michael could!).
12110
12111 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12114         * tabular_funcs.h: here and include iosfwd
12115
12116 2001-12-20  Juergen Vigna  <jug@sad.it>
12117
12118         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12119         inside inset but undo_par was.
12120
12121 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12122
12123         * Thesaurus.C: always include <config.h> in sources.
12124
12125         * Painter.h:
12126         * lyxlookup.h:
12127         * box.h: do not include <config.h> in header files
12128
12129         * text.C (paintLastRow): remove unused variable
12130
12131         * text.C (transformChar):
12132         (insertChar):
12133         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12134
12135         * Painter.C (text):
12136         * font.C (width): rewrite to use uppercase() instead of
12137         islower/toupper.
12138
12139         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12140
12141 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * lyxfind.C: clean up of find failure position change
12144
12145 2001-12-20  Juergen Vigna  <jug@sad.it>
12146
12147         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12148
12149         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12150         (TeXRow): added to LaTeX a single tabular row.
12151         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12152         (Latex): simplified and finally good LT-h/f support.
12153         (various_functions): just small adaptions for LT-h/f support.
12154
12155         * tabular_funcs.[hC]: added and moved here all not classfunctions
12156         of LyXTabular.
12157
12158 2001-12-19  Juergen Vigna  <jug@sad.it>
12159
12160         * tabular.[Ch]: better support for longtabular options (not finished
12161         yet!)
12162
12163 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * text.C (paintLastRow): use the label font instead of the font of
12166         the last character to compute the size of *_BOX. This makes more
12167         sense and avoids a crash with empty paragraphs.
12168         Use Painter::rectangle to draw EMPTY_BOX.
12169
12170 2001-12-19  Juergen Vigna  <jug@sad.it>
12171
12172         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12173         the paragraphs if the replaced paragraph is not the first one!
12174         Tried to delete not used paragraphs but does not work yet so for
12175         now it's inside #ifdef's and by default off!
12176
12177 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12178
12179         * MenuBackend.C: include "lyx_main.h" instead of declaring
12180         lastfiles (actually was declared as LastFiles* instead of a
12181         scoped_ptr).
12182
12183 2001-12-17  Juergen Vigna  <jug@sad.it>
12184
12185         * tabular.C (AppendColumn): applied John's fix
12186
12187 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * BufferView.h:
12190         * BufferView.C:
12191         * BufferView_pimpl.h:
12192         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12193
12194         * Makefile.am:
12195         * box.h: new start of class for above
12196
12197         * lyxfunc.C: ignore space-only minibuffer dispatches.
12198           Show the command name when it doesn't exist
12199
12200         * minibuffer.C: don't add empty lines to the history
12201
12202         * minibuffer.C: add a space on dropdown completion
12203
12204 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * text.C: fix line above/below drawing in insets
12207
12208 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * lyxlength.C (LyXLength): Initialize private variables.
12211
12212 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12213
12214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12215         when inserting error insets.
12216
12217 2001-12-13  Juergen Vigna  <jug@sad.it>
12218
12219         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12220         actually sometimes the before-paragraph.
12221         (setUndo): don't clear the redostack if we're not actually undoing!
12222
12223 2001-12-06  Juergen Vigna  <jug@sad.it>
12224
12225         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12226         and fixed redoing of main paragraph, so we can use it now ;)
12227
12228         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12229
12230 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12231
12232         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12233         Juergen's request
12234
12235 2001-12-13  André Pönitz <poenitz@gmx.net>
12236
12237         * undostack.[Ch]:
12238         * undo_func.C: minor cleanup
12239
12240 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12243         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12244         font in urw-fonts package which is marked as -urw-fontspecific and
12245         does not work (incidentally, changing the encoding in the
12246         fonts.dir of this package to -adobe-fontspecific fixes the
12247         problem).
12248
12249         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12250         is a crash when undoing first paragraph (Juergen, please take a
12251         look). THis does not mean the undo fix is wrong, just that it
12252         uncovers problems.
12253
12254         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12255         the (Paragraph*) version when needed instead of duplicating the
12256         code.
12257
12258         * text.C (workWidth): use Inset::parOwner to find out where the
12259         inset has been inserted. This is a huge performance gain for large
12260         documents with lots of insets. If Inset::parOwner is not set, fall
12261         back on the brute force method
12262
12263         * paragraph_pimpl.C (insertInset):
12264         * paragraph.C (Paragraph):
12265         (cutIntoMinibuffer): set parOwner of insets when
12266         inserting/removing them
12267
12268         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12269
12270 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12271
12272         * commandtags.h:
12273         * LyXAction.C:
12274         * lyx_main.C:
12275         * lyxfunc.C:
12276         * mathed/formulabase.C:
12277         * mathed/math_cursor.[Ch]:
12278         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12279
12280
12281 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * lyxlength.[Ch] (operator!=): new function
12284
12285 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * text.C (workWidth): use Inset::parOwner to find out where the
12288         inset has been inserted. This is a huge performance gain for large
12289         documents with lots of insets. If Inset::parOwner is not set, fall
12290         back on the brute force method
12291
12292         * paragraph_pimpl.C (insertInset):
12293         * paragraph.C (Paragraph):
12294         (cutIntoMinibuffer): set parOwner of insets when
12295         inserting/removing them
12296
12297         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12298
12299 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * tabular-old.C (getTokenValue):
12302         * tabular.C (getTokenValue):
12303         (write_attribute): new versions for LyXLength
12304         (everywhere): adjust the use of widths
12305
12306         * tabular.h: change the type of widths from string to LyXLength
12307
12308 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12309
12310         * paragraph.C: fixed missing line number count when exporting
12311         Environments to LaTeX file
12312
12313         * buffer.C: added informational message for checking line numbers.
12314
12315 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12318         paragraph, do the 'double space' part, but not the 'empty
12319         paragraph' one.
12320
12321         * text.C (workWidth): small optimization
12322         (getLengthMarkerHeight): use minimal size for negative lengths.
12323
12324 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12325
12326         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12327
12328         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12329
12330 2001-12-11  André Pönitz <poenitz@gmx.net>
12331
12332         * FontLoader.C:
12333         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12334
12335 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * text2.C: keep selection on a setFont()
12338
12339 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * lyx_cb.C: another bv->text misuse, from insert label
12342
12343 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * kbsequence.h:
12346         * kbsequence.C: re-instate nmodifier mask
12347
12348 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12349
12350         * lyx_main.h: make lyxGUI private.
12351
12352 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * lyxfind.C: place the cursor correctly on failed search
12355
12356 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * text.C (getLengthMarkerHeight): for small heights, the arrows
12359         are not always on top/bottom of the text
12360         (drawLengthMarker): smaller arrows; take the left margin in
12361         account; draw also vfills.
12362         (paintFirstRow):
12363         (paintLastRow): remove special code for vfill and standard spaces,
12364         since everything is handled in drawLengthMarker now.
12365
12366 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * buffer.C (insertErtContents): try to handle font and language
12369         interaction a bit better.g
12370
12371         * ColorHandler.C (updateColor): change the hash to cover the whole
12372         LColor enum, ws cleanup
12373         (getGCLinepars): ditto
12374         (getGCLinepars): only lookup in the linecache once.
12375
12376 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * iterators.C (operator++): Make the iterator more robust
12379
12380         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12381         (John's patch)
12382         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12383
12384 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * lyxtext.h:
12387         * text.C: better added space drawing
12388
12389 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * LyXView.C:
12392         * BufferView2.C: fix layout combo update on inset unlock
12393
12394 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * Makefile.am: don't compile unused files
12397
12398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * lyxfunc.C:
12401         * commandtags.h:
12402         * LyXAction.C: remove old LFUN_LAYOUTNO
12403
12404 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * paragraph_pimpl.h:
12407         * paragraph_pimpl.C: isTextAt() doesn't need font param
12408
12409 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * lyxlex.h:
12412         * lyxlex.C: little cleanup
12413
12414 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12415
12416         * BufferView_pimpl.C: fix insertAscii for insets
12417
12418 2001-12-05  Juergen Vigna  <jug@sad.it>
12419
12420         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12421         set the right font on the "multi" paragraph paste!
12422
12423 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12424
12425         * trans_decl.h:
12426         * trans_mgr.[Ch]:
12427         * trans.[Ch]:
12428         * lyxgluelength.C:
12429         * lyxlength.C: remove out-commented code.
12430
12431         * BufferView_pimpl:
12432         * CutAndPaste.C:
12433         * DepTable.C:
12434         * buffer.C:
12435         * chset.C:
12436         * lastfiles.C:
12437         * lyxlex.C:
12438         * lyxlex_pimpl.C:
12439         * lyxserver.C:
12440         * screen.C:
12441         * tabular-old.C:
12442         * tabular.C:
12443         * text.C:
12444         * trans_mgr.C:
12445         * vc-backend.C: change "while(" to "while ("
12446
12447         * lyxlength.[Ch]: add zero function to check if length is zero or
12448         not
12449         * lyxgluelength.C: use it
12450
12451 2001-12-05  Allan Rae  <rae@lyx.org>
12452
12453         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12454         Works for 2.95.3, from what I understand of Garst's reports this should
12455         work for other g++ versions.  We're screwed if the abs(int) definition
12456         changed between bugfix releases of gcc.
12457
12458 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * text.C: fix chapter label offset !
12461
12462 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * lyxtext.h:
12465         * text.C: fix hfill at end of line, clean up
12466
12467 2001-12-04  Juergen Vigna  <jug@sad.it>
12468
12469         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12470         that we force an update of the inset and it's owners if neccessary.
12471
12472 2001-12-03  Juergen Vigna  <jug@sad.it>
12473
12474         * text.C (rowLast): simplified code
12475
12476 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * lyxfunc.C: fix show options on timeout
12479
12480 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * screen.C (topCursorVisible): scroll half a page when the cursor
12483         reached top of bottom of screen
12484
12485 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * minibuffer.C: deactivate on loss of focus
12488
12489 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * vspace.[Ch] (operator!=): add operator.
12492
12493 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * BufferView_pimpl.C: refuse to open an inset when
12496         there's a selection.
12497
12498 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * BufferView_pimpl.C: allow to click on RHS of full row insets
12501
12502 2001-11-30  Juergen Vigna  <jug@sad.it>
12503
12504         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12505         insets for undo reasons.
12506
12507 2001-11-28  André Pönitz <poenitz@gmx.net>
12508
12509         * vspace.[Ch]: cosmetical changes
12510
12511 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * LyXAction.h:
12514         * LyXAction.C:
12515         * lyxfunc.h:
12516         * lyxfunc.C:
12517         * kbmap.h:
12518         * kbmap.C:
12519         * lyxrc.C:
12520         * kbsequence.h:
12521         * kbsequence.C: part re-write of old kb code
12522
12523         * Painter.C:
12524         * WorkArea.C: remove Lgb_bug_find_hack
12525
12526 2001-11-30  José Matos <jamatos@fep.up.pt>
12527
12528         * buffer.C (makeDocBookFile): add a comment to point a hack.
12529         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12530         Fixed a double write of labels.
12531
12532 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12533
12534         * LaTeX.C:
12535         * LaTeX.h Fixed bug in LaTeX class where it would not
12536         re-run latex if no depfiles were changed, but the .dvi was removed.
12537
12538 2001-11-28  André Pönitz <poenitz@gmx.net>
12539
12540         * all the files from the change on 2001/11/26:
12541         use lyx::layout_type instead of LyXTextClass::size_type
12542         use lyx::textclass_type instead of LyXTextClassList::size_type
12543
12544 2001-11-29  Juergen Vigna  <jug@sad.it>
12545
12546         * text.C: added support for paragraph::isFreeSpacing()
12547
12548         * buffer.C: same as above
12549
12550         * paragraph.h: inserted isFreeSpacing() function to enable
12551         FreeSpacing inside InsetERT.
12552
12553         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12554         of the paragraph's in the cut/copy buffer to 0!
12555
12556         * text2.C (removeRow): remove the assert as it can!
12557
12558         * lyxtext.h: added helper function firstRow returning firstrow and
12559         made firstrow private again.
12560
12561         * BufferView2.C (lockInset): don't relock if we're already locked!
12562
12563         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12564         the only paragraph.
12565         (removeRow): added Assert::(firstrow)
12566
12567         * debug.C: forgot to add INSETTEXT here.
12568
12569 2001-11-28  Juergen Vigna  <jug@sad.it>
12570
12571         * sp_spell.C (initialize): changed error text to more general
12572         spellchecker command use (not only ispell!)
12573
12574         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12575
12576         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12577
12578 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * vspace.C: initialise lyxgluelength on failure
12581
12582 2001-11-28  Allan Rae  <rae@lyx.org>
12583
12584         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12585         declaration & definition that looks like a function declaration.
12586
12587 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * BufferView2.C (copy):
12590         (copyEnvironment): do not clear the selection when doing a copy.
12591
12592         * text.C (paintFirstRow): compilation fix
12593
12594 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12595
12596         * tabular.C (Latex): correct line count when writing latex.
12597
12598 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * paragraph_pimpl.h:
12601         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12602           bug a bit
12603
12604 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * text.C:
12607         * LColor.h:
12608         * LColor.C: change vfillline->added_space
12609
12610         * text.C: add markers and text for added space
12611
12612         * vspace.C: fix comment
12613
12614 2001-11-28  André Pönitz <poenitz@gmx.net>
12615
12616         * paragraph.C: whitespace changes
12617         * all the other files from the change on 2001/11/26:
12618         change *::pos_type into lyx::pos_type
12619
12620 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12621
12622         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12623         language of the document when inserting error insets.
12624
12625 2001-11-26  André Pönitz <poenitz@gmx.net>
12626
12627         * BufferView_pimpl.[Ch]:
12628         *       CutAndPaste.C:
12629         * buffer.[Ch]:
12630         * lyxcursor.[Ch]:
12631         * lyxfind.C:
12632         * lyxfunc.C:
12633         * lyxrow.[Ch]:
12634         * paragraph.[Ch]:
12635         * paragraph_pimpl.[Ch]:
12636         * sp_spell.C:
12637         * text.C:
12638         * text2.C: reduce header dependencies, introduce type for positions
12639
12640 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12641
12642         * <various>: change to use Alert.h
12643
12644 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12645
12646         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12647         when encountering an unknown token.
12648         (readLyXformat2): Show an error message if there were unknown tokens.
12649
12650 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * BufferView2.C:
12653         * BufferView_pimpl.C:
12654         * buffer.C:
12655         * paragraph.h:
12656         * text.C:
12657         * text2.C: use par->isInset()
12658
12659 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * paragraph_pimpl.h:
12662         * paragraph_pimpl.C: cleanup
12663
12664 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12665
12666         * text2.C (removeRow):
12667         * text.C (setHeightOfRow): remove useless (and costly) call to
12668         getRow.
12669
12670 2001-11-20  Allan Rae  <rae@lyx.org>
12671
12672         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12673         Now need Inset*::checkInsertChar() to return true for appropriate
12674         cases so that the characters in the minibuffer will actually be
12675         inserted.
12676
12677 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * text.C: change the order of the includes.
12680         (workWidth): initialize it at once.
12681         (workWidth): make maxw unsigned
12682         (setHeightOfRow): remove unused variable (inset)
12683         (selectSelectedWord): remove unused variable (inset)
12684         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12685
12686 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12689         server is not running.
12690         (openConnection):
12691         (closeConnection): add debug info when server is disabled.
12692
12693         * ColorHandler.C (getGCForeground): send debug message to GUI
12694         channel.
12695
12696         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12697
12698         * kbmap.C (bind): modify because return conventions of
12699         kb_sequence::parse have changed.
12700
12701         * kbsequence.C (parse): only ignore spaces and not any stupid
12702         control character. This avoids tests like s[i] <= ' ', which are
12703         guaranteed to fail with 8bit characters and signed chars.
12704         Change return code to string::npos when there have been no error
12705         (0 was a bad idea when error is at first character)
12706
12707 2001-11-14  José Matos  <jamatos@fep.up.pt>
12708
12709         * buffer.h:
12710         * buffer.C (simpleDocBookOnePar): removed unused argument.
12711
12712 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12715         insets which are part of a word. Paragraph::isLetter takes care of
12716         that now. Use Paragraph::isInset to identify insets.
12717         (selectSelectedWord): do not test for hyphenation break.
12718
12719         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12720         that protected spaces are considered as spaces.
12721
12722         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12723         Inset::isLetter.
12724
12725 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12726
12727         * lyxserver.h:
12728         * lyxserver.C: fix it. and small cleanup.
12729
12730 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * BufferView_pimpl.C: use inline helpers
12733
12734         * LaTeXFeatures.h:
12735         * LaTeXFeatures.C: fix typos
12736
12737         * Spacing.h:
12738         * Spacing.C: move spacing_string into class
12739
12740         * ToolbarDefaults.C: move stuff into namespace anon
12741
12742         * layout.h: update enum
12743
12744         * lyxfunc.C: use better debug
12745
12746         * minibuffer.h: fix typo
12747
12748         * debug.h:
12749         * debug.C:
12750         * WorkArea.C: add and use Debug::WORKAREA
12751
12752         * lyxtext.h:
12753         * text.C:
12754         * text2.C: code re-organisation, inline helpers
12755
12756 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12757
12758         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12759         std::vector.empty().
12760
12761 2001-11-09  Allan Rae  <rae@lyx.org>
12762
12763         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12764         '\n's after tables.  Tabular and ERT inset work now makes this no
12765         longer necessary.
12766
12767 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * minibuffer.h:
12770         * minibuffer.C: fix crash, improve drop-down completion
12771
12772 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * lyxserver.h:
12775         * lyxserver.C: invalidate fd's when doing endPipe()
12776
12777 2001-11-08  José Matos  <jamatos@fep.up.pt>
12778
12779         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12780         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12781
12782         * paragraph.h:
12783         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12784
12785 2001-11-07  José Matos  <jamatos@fep.up.pt>
12786
12787         * buffer.h:
12788         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12789         const qualifier.
12790
12791         * buffer.C (sgmlOpenTag):
12792         * buffer.C (sgmlCloseTag): removed debug info.
12793
12794         * buffer.h (sgmlOpenTag):
12795         * buffer.h (sgmlCloseTag): made public.
12796
12797 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * buffer.C (saveParamsAsDefaults):
12800         * lyx_cb.C (MenuLayoutSave): remove
12801
12802         * LyXAction.C (init):
12803         * commandtags.h:
12804         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12805
12806 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * buffer.C (setPaperStuff): removed from here...
12809
12810         * bufferparams.C (setPaperStuff): ... and moved there.
12811
12812 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * minibuffer.h:
12815         * minibuffer.C:
12816         * XFormsView.C: add support for drop-down completion
12817
12818 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12819
12820         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12821         commands.
12822
12823 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12824
12825         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12826         disabled.
12827
12828 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * lyx_main.C: change ref to known bugs
12831
12832 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12833
12834         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12835         to work around older babel problems.
12836
12837 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12838
12839         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12840
12841 2001-10-24  Juergen Vigna  <jug@sad.it>
12842
12843         * tabular-old.C (ReadOld): below variable changes reflected.
12844
12845         * tabular.[Ch]: added ltType struct for longtable header/footer
12846         defines and changed all instances where they are used. Added
12847         future support for double top/bottom rows.
12848
12849 2001-10-24  José Matos  <jamatos@fep.up.pt>
12850
12851         * buffer.h (docbookHandleCaption):
12852         * buffer.C (docbookHandleCaption): removed unused function.
12853         (makeDocBookFile): moved docbook supported version to v4.1.
12854
12855 2001-10-24  José Matos  <jamatos@fep.up.pt>
12856
12857         * tabular.h:
12858         * tabular.C (docbookRow): new function to export docbook code of a row.
12859         (DocBook): now honors the longtable flags.
12860
12861 2001-10-23  José Matos  <jamatos@fep.up.pt>
12862
12863         * LaTeXFeatures.h:
12864         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12865         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12866
12867         * buffer.C (makeLinuxDocFile):
12868         (makeDocBookFile): reworked the preamble, more clean, and with
12869         support for lyx defined entities. Changed the document declaration
12870         to be more XML friendly.
12871
12872         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12873         if we need to output XML that should be done with a filter.
12874
12875 2001-10-22  Juergen Vigna  <jug@sad.it>
12876
12877         * sp_pspell.h (class PSpell): add alive function needed in the
12878         controller to see if the spellchecker could be started.
12879
12880 2001-10-22  Juergen Vigna  <jug@sad.it>
12881
12882         * buffer.C (insertStringAsLines): modify the font for inserting
12883         chars in certain conditions by calling checkInsertChar(font).
12884
12885 2001-10-19  Juergen Vigna  <jug@sad.it>
12886
12887         * text.C (workWidth): use getRow instead of wrong algorithm.
12888         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12889
12890 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * lyxserver.h:
12893         * lyxserver.C:
12894         * lyx_main.h:
12895         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12896
12897 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * text.C (workWidth): do not search for the exact row when
12900         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12901         optimization for big documents.
12902
12903 2001-10-18  Juergen Vigna  <jug@sad.it>
12904
12905         * text.C (workWidth): new function with added Inset * parameter.
12906
12907 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12910
12911         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12912         change return type of getColumnNearX.
12913
12914
12915         * text.C (changeRegionCase): use uppercase/lowercase instead of
12916         toupper/tolower.
12917         (leftMargin):
12918         (rightMargin): simplify code by factoring out the uses of
12919         textclasslist.
12920         (labelFill):
12921         (numberOfHfills):
12922         (setHeightOfRow):
12923         (appendParagraph): use Paragraph::size_type
12924
12925 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12926
12927         * vspace.C (asLatexString): add a missing break
12928
12929 2001-10-15  Herbert Voss  <voss@perce.de>
12930
12931         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12932
12933 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12934
12935         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12936         is not available.
12937
12938 2001-10-10  André Pönitz <poenitz@gmx.net>
12939
12940         * lyxfunc.C: removed greek_kb_flag.
12941
12942 2001-10-10  Herbert Voss  <voss@perce.de>
12943
12944         * lyx_main.C: delete global string help_lyxdir.
12945
12946 2001-10-09  Herbert Voss  <voss@perce.de>
12947
12948         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12949
12950         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12951
12952         * lyx_main.C: added global string help_lyxdir.
12953
12954         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12955
12956 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12957
12958         * lyxrc.C (set_font_norm_type): support iso8859-4
12959
12960 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12961
12962         * LaTeX.C (deplog): add another regex for MikTeX
12963
12964 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12965
12966         * lyxrc.C (set_font_norm_type): support iso8859-3
12967
12968 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12971
12972         * LaTeXFeatures.C: remove special case of french and index
12973
12974         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12975         before \begin{document}). This solves several incompatibilities.
12976
12977 2001-10-03  Garst Reese  <reese@isn.net>
12978
12979         * lyx_cb.C: change CheckTex error msg.
12980
12981 2001-10-03  José Matos  <jamatos@fep.up.pt>
12982
12983         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12984
12985 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * .cvsignore: update
12988
12989         * lyx_main.C (commandLineVersionInfo): use new style version info.
12990
12991         * buffer.C (writeFile):
12992         (makeLaTeXFile):
12993         (makeLinuxDocFile):
12994         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12995
12996         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12997
12998         * version.h: update to use stuff in version.C
12999
13000         * version.C.in: new file. Contains version information determined
13001         at compile time. This is a merging of version.h and
13002         version_info.h.in.
13003
13004 2001-10-03  Juergen Vigna  <jug@sad.it>
13005
13006         * BufferView_pimpl.C (update): don't change "dirty" status in
13007         updateInset call.
13008
13009 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13010
13011         * WorkArea.C (c-tor): re-position version string slightly.
13012
13013 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13016         revert to previous code.
13017
13018         WorkArea.[Ch]: (show, destroySplash): methods removed.
13019
13020         WorkArea.C: rework code so that it's an amalgam of the codes before and
13021         after the splash screen was moved to WorkArea.
13022
13023 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * lyxrc.C (read):
13026         * vspace.C (inPixels):
13027         (lyx_advance):
13028         * kbmap.C (bind):
13029         * buffer.C (insertStringAsLines):
13030         (asciiParagraph): fix types to be large enough
13031
13032         * lyxlex_pimpl.h: change member status from short to int
13033
13034         * layout.h: fix type of endlabeltype
13035
13036         * kbmap.C (bind):
13037         * kbsequence.C (parse): change return type to string::size_type
13038
13039         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13040         variable
13041
13042         * Bullet.C (bulletSize):
13043         (bulletEntry): do not use short ints as parameters
13044
13045         * BufferView2.C (insertLyXFile): change a char to an int.
13046
13047         * WorkArea.C (WorkArea): remove unneeded floats in computation
13048
13049 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13050
13051         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13052
13053         * paragraph.C (asString): Do not ignore newline/hfill chars when
13054         copying to the clipboard.
13055
13056 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13059         after a multi-line inset.
13060
13061 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13062
13063         * paragraph.C (validate): Set NeedLyXFootnoteCode
13064
13065 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13068         and decrease-error to decrease.
13069
13070 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13073         it more readable (should be equivalent)
13074
13075 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13076
13077         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13078
13079 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13082         of a cursor (row, etc.) after a character has been deleted
13083         (deleteEmptyParagraphMechanism): call the method above on _all_
13084         cursors held by the LyXText when a double space has been
13085         detected/deleted.
13086
13087 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13090         pixmap.
13091         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13092
13093         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13094         background. Use greyOut() and the new show() methods to toggle between
13095         the foreground and background. Add code to remove the splash after
13096         its initial showing.
13097
13098         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13099         (create_forms): no longer call Dialogs::showSplash.
13100
13101 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * .cvsignore: add version_info.h
13104
13105 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * version_info.h.in: new file
13108
13109         * Makefile.am: add version_info.h.in
13110
13111         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13112         version_info.h instead of VERSION_INFO
13113
13114 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13117         The ERT inset now returns string().
13118
13119 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * lyxtext.h, text.C (selectNextWord): renamed as
13122         selectNextWordToSpellcheck.
13123
13124         * text.C (selectNextWordToSpellcheck): Modified to not select
13125         words inside an ERT inset.
13126
13127 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * lyx_cb.C (MenuLayoutSave): change a bit the question
13130
13131         * sp_base.h: include <sys/types.h>
13132
13133 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13134
13135         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13136
13137 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13138
13139         * several files: fix typos in user-visible strings
13140
13141 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * text2.C (pasteSelection): do not set the selection, since it
13144         will be cleared later. Actually, the intent was to fix the way the
13145         selection was set, but I figured rmoving the code was just as good.
13146
13147 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13148
13149         * FontLoader.C (available): Check if font is available without
13150         loading the font.
13151
13152 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13153
13154         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13155
13156 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13157
13158         * lyxrc.[Ch]: added display_graphics variable and associated code.
13159
13160 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * bufferparams.C (hasClassDefaults): new method. Returns true if
13163         the buffer parameters correspond to known class defaults
13164
13165 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13166
13167         * XFormsView.C (show): set minimum size to the main window.
13168
13169 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13170
13171         * text2.C (copySelection):
13172         (cutSelection):
13173         * lyxfind.C (LyXReplace):
13174         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13175         LyXText::selectionAsString.
13176
13177         * paragraph.C (asString): add "label" argument to the second form
13178
13179         * text2.C (selectionAsString): add "label" argument and pass it to
13180         Paragraph::asString.
13181
13182 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * lyx_main.C (commandLineHelp): remove version information
13185
13186 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13187
13188         * lyx_main.C: add -version commandline option
13189
13190 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * paragraph.h: make the optional constructor arg required instead.
13193         some modifications to other files because of this.
13194
13195         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13196
13197         * lyxserver.C (C_LyXComm_callback): make it static
13198
13199         * lyx_main.C (error_handler): make it static
13200
13201         * lyx_gui.C (LyX_XErrHandler): make it static
13202
13203         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13204
13205         * WorkArea.C: make the extern "C" methods static.
13206
13207         * Makefile.am (lyx_LDADD): simplify
13208
13209 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13210
13211         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13212         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13213
13214         * LyXAction.C (init):
13215         * lyxfunc.C (dispatch): associated code removal.
13216
13217 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * lyxfont.h (isSymbolFont): shut off warning
13220
13221         * text.C (setHeightOfRow):
13222         (getVisibleRow): fix crash with empty paragraphs which have a
13223         bottom line
13224
13225 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13226
13227         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13228         code.
13229
13230 2001-09-04  José Matos  <jamatos@fep.up.pt>
13231         * buffer.C
13232         * buffer.h
13233         * tabular.C (docbook): rename docBook method to docbook.
13234
13235 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13236
13237         * Makefile.am: add dependencies to main.o.
13238
13239 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13240
13241         * FontLoader.C (available): Return false if !lyxrc.use_gui
13242
13243 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13244
13245         * FontInfo.C (query):
13246         * converter.C (view):
13247         * importer.C (Import):
13248         * exporter.C (Export): Can not -> cannot.
13249
13250 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13251
13252         * BufferView_pimpl.C: allow to create index inset even if
13253           string is empty
13254
13255 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13256
13257         * buffer.C (getLists): replace boost::tie code with an explicit pair
13258         as boost::tie can break some compilers.
13259
13260         * iterators.h: Added a std:: declaration to the return type of
13261         ParIterator::size.
13262
13263 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13266           case.
13267
13268 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * iterators.[Ch]: New files. Provide paragraph iterators.
13271
13272         * buffer.C (changeLanguage): Use paragraph iterators.
13273         (isMultiLingual): ditto
13274
13275         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13276
13277 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13278
13279         * FontLoader.C: Support for cmr font.
13280
13281 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13284         (available): New method.
13285
13286         * FontInfo.C (getFontname): Use scalable fonts even when
13287         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13288         found.
13289
13290 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * converter.C (Formats::view): reverted! Incorrect fix.
13293
13294 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13295
13296         * converter.C (Formats::view): only output the -paper option
13297         if the dvi viewer is xdvi, thereby fixing bug #233429.
13298
13299 2001-08-23  Herbert Voss  <voss@perce>
13300
13301         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13302
13303 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13304
13305         * Spacing.h (Spacing): Set space to Default on in the default
13306         constructor.
13307
13308 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * vc-backend.h (RCS::versionString): add RCS to version
13311         (CVS::versionString): add CVS to version
13312
13313         * vc-backend.C (scanMaster): do not add CVS to version.
13314         (scanMaster): do not add RCS to version
13315
13316         * lyxvc.C (versionString): new method
13317
13318         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13319
13320 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * Spacing.C (set): initialize fval
13323
13324 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13327         " or \.
13328
13329 2001-08-16  Juergen Vigna  <jug@sad.it>
13330
13331         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13332
13333 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * BufferView_pimpl.C:
13336         * figureForm.C:
13337         * lyxtext.h:
13338         * text2.C: setParagraph takes linespacing now
13339
13340 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * LyxAction.C: add internal LFUN_CITATION_INSERT
13343
13344         * LyXView.C: actually apply fix
13345
13346         * bufferlist.C: fix open non-existent file
13347
13348         * lyxfind.C: fix indentation
13349
13350         * lyxfunc.C: remove unneeded assert, fix typo
13351
13352 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13353
13354         * MenuBackend.C: use "Floatname List"
13355
13356 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13359         when converting LaTeX layout to insetERT.
13360         Generate a non-collapsed float when reading old float
13361
13362 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13365         ERT insets.
13366
13367 2001-08-13  Juergen Vigna  <jug@sad.it>
13368
13369         * text.C (fill): return 0 instead of 20 as this seems to be the more
13370         correct value.
13371
13372 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13373
13374         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13375         lyxrc.font_norm.
13376
13377 2001-08-13  Juergen Vigna  <jug@sad.it>
13378
13379         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13380         casesensitive off.
13381         (SearchBackward): comment out the unlocking of the inset_owner this
13382         should not be needed!
13383
13384 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * Many files: Remove inherit_language, and add latex_language
13387
13388         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13389         collapsible insets.
13390
13391 2001-08-10  Juergen Vigna  <jug@sad.it>
13392
13393         * text.C (prepareToPrint): fixed hfill-width in draw!
13394
13395         * BufferView2.C (selectLastWord): save the selection cursor as this
13396         now is cleared in the function LyXText::clearSelection!
13397
13398 2001-08-08  Juergen Vigna  <jug@sad.it>
13399
13400         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13401         BACKSPACE type functions.
13402
13403         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13404         is only cutted from the document but not put in the cut-buffer, where
13405         still the old stuff should be.
13406
13407         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13408
13409         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13410
13411         * tabular.C (SetWidthOfCell): fixed special case where the width
13412         was not updated!
13413         (LeftLine): handle '|' in align_special.
13414         (RightLine): ditto
13415         (LeftAlreadyDrawed): ditto
13416         (SetWidthOfCell): ditto
13417
13418 2001-08-07  Juergen Vigna  <jug@sad.it>
13419
13420         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13421
13422 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13425         * lyxlex.[hC]: ditto
13426
13427 2001-08-06  Juergen Vigna  <jug@sad.it>
13428
13429         * text.C (getVisibleRow): fix up row clearing a bit.
13430
13431 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13432
13433         * minibuffer.C: make sure the X server sees the changes in the input.
13434
13435 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * paragraph.C (getFont): split into...
13438         (getLabelFont): this
13439         (getLayoutFont): and this
13440         * paragraph_pimpl.C (realizeFont): calling this
13441
13442         * text2.C (getFont): split into...
13443         (getLayoutFont): this
13444         (getLabelFont): and this
13445         (realizeFont): all three calling this
13446
13447         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13448         files where used.
13449
13450 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13451
13452         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13453
13454 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13455
13456         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13457         layouts from the Quote inset insertion.
13458
13459 2001-08-03  Juergen Vigna  <jug@sad.it>
13460
13461         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13462
13463         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13464         only if status not is already CHANGED_IN_DRAW (second level).
13465
13466         * text.C (draw): don't set the need_break_row when inside an
13467         InsetText LyXText.
13468
13469 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * buffer.C (parseSingleLyXformat2Token): handle more latex
13472         conversion cases.
13473
13474         * bufferview_funcs.[hC]: change function names to
13475         begin with small char, adjust other files.
13476
13477 2001-08-02  André Pönitz <poenitz@gmx.net>
13478
13479         * lyxfunc.C:
13480         BufferView_pimpl.C: remove broken special code for math-greek
13481
13482 2001-08-02  Juergen Vigna  <jug@sad.it>
13483
13484         * BufferView_pimpl.C (update): redone this function so that we
13485         update the text again if there was a CHANGE_IN_DRAW.
13486
13487         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13488         (drawFromTo): added a new internal bool which is used by draw() and
13489         redraw() function.
13490         (general): some cursor drawing problems fixed.
13491
13492 2001-08-01  Juergen Vigna  <jug@sad.it>
13493
13494         * lyxfind.C (LyXFind): fixed
13495         (SearchForward): ditto
13496         (SearchBackward): ditto
13497
13498         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13499         spurius drawing of the cursor in the main area.
13500
13501         * text2.C (status): small fix which could lead to a segfault!
13502         (clearSelection): remove unneeded BufferView param.
13503
13504 2001-08-01  André Pönitz <poenitz@gmx.net>
13505
13506         * lyxfunc.C: small change due to changed mathed interface
13507
13508 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13511
13512 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * lyxfunc.c: fail gracefully if file doesn't exist
13515
13516         * LyXSendto.C:
13517         * buffer.C:
13518         * lyxfunc.C:
13519         * BufferView_pimpl.C: IsDirWriteable() proto changed
13520
13521         * LyXView.C: fix updateWindowTitle() to store the last title
13522
13523 2001-07-31  Juergen Vigna  <jug@sad.it>
13524
13525         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13526         the font (wrong since using of Paragraph::highestFontInRange).
13527
13528         * paragraph.C (highestFontInRange): added a default_size parameter.
13529
13530         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13531         (setHeightOfRow): reformat
13532
13533 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * converter.[hC] + affected files: move to (inital-char)lowercase
13536         function names.
13537
13538         * ParagraphParameters.C (ParagraphParameters): remove commented code
13539
13540         * PainterBase.[Ch]: remove commented code
13541
13542         * LaTeXFeatures.h: add "bool floats" for float.sty
13543
13544         * LaTeXFeatures.C (LaTeXFeatures): init floats
13545         (require): handle float
13546         (getPackages): do it with floats
13547
13548 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13549
13550         * BufferView_pimpl.C (Dispatch): improve handling of
13551         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13552
13553         * commandtags.h: #include lyxfont.h here temporarily to avoid
13554         keybinding bug.
13555
13556         * bufferlist.h: include LString.h here.
13557
13558 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * text2.C (getStringToIndex): new method.
13561
13562 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13563
13564         * *: Reduced header file dependencies all over.
13565
13566 2001-07-30  Baruch Even  <baruch@lyx.org>
13567
13568         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13569
13570 2001-07-29  Baruch Even  <baruch@lyx.org>
13571
13572         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13573
13574 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * ParameterStruct.h (endif): add a default constructor to make
13577         sure that all variables is initialized.
13578
13579         * ParagraphParameters.C (ParagraphParameters): adjust
13580
13581 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13584         index; also, check that there is something to index, and that it
13585         does not span over several paragraphs.
13586         (doubleClick): use WHOLE_WORD_STRICT for double click.
13587
13588         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13589
13590         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13591         scheme.
13592
13593 2001-07-26  Baruch Even  <baruch@lyx.org>
13594
13595         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13596         an InsetFig figure, backwards compatible reading of old figure code.
13597
13598 2001-07-27  Juergen Vigna  <jug@sad.it>
13599
13600         * text2.C: font.realize function adaption.
13601
13602         * text.C (draw): add a warnings lyxerr text if needed.
13603
13604         * layout.C: font.realize function adaption.
13605
13606         * language.C: add inherit_language and implement it's handlings
13607
13608         * bufferview_funcs.C (StyleReset): remove language parameter from
13609         font creation (should be language_inherit now).
13610
13611         * bufferparams.C (writeFile): handle ignore_language.
13612
13613         * paragraph.C (getFontSettings): the language has to be resolved
13614         otherwise we have problems in LyXFont!
13615
13616         * lyxfont.C (lyxWriteChanges): added document_language parameter
13617         (update): removed unneeded language parameter
13618
13619         * paragraph.C (validate): fixed wrong output of color-package when
13620         using interface colors for certain fonts in certain environments,
13621         which should not seen as that on the final output.
13622
13623 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * BufferView_pimpl.C:
13626         * Thesaurus.h:
13627         * Thesaurus.C:
13628         * Makefile.am:
13629         * commandtags.h:
13630         * LyXAction.C: add thesaurus support
13631
13632         * lyxfind.h:
13633         * lyxfind.C: add "once" parameter, for thesaurus, to not
13634           move to the next match
13635
13636 2001-07-26  Juergen Vigna  <jug@sad.it>
13637
13638         * lyxfont.C (realize): honor ignore_language too!
13639         (resolved): ditto.
13640
13641         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13642
13643         * text.C (draw): one place more for ignore_language to not draw
13644         itself!
13645
13646 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13647
13648         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13649
13650 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13653         the minipage conversion problem.
13654
13655 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13658         insert an inset.
13659
13660 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * BufferView.h: don't forward declare WorkArea
13663
13664         * BufferView.C: don't include WorkArea.h
13665
13666 2001-07-25  André Pönitz <poenitz@gmx.net>
13667
13668         * commandtags.h:
13669         * LyXAction.C:
13670         * lyxfunc.C:  new LFUN 'math-space'
13671
13672         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13673
13674 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * text2.C (toggleInset): call open/close
13677
13678 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * lyxfunc.C (dispatch): add debug for the disabled case
13681
13682         * font.C (buttonText): make similar to rectText
13683
13684         * buffer.C (readInset): comment out parsing of insetlist and
13685         insttheorem
13686
13687         * PainterBase.C (rectText): small correction
13688
13689         * BufferView_pimpl.C: comment out insettheorem and insetlist
13690         * LyXAction.C: ditto
13691         * commandtags.h: ditto
13692
13693 2001-07-24  Juergen Vigna  <jug@sad.it>
13694
13695         * text.C (draw): honor the ignore_language.
13696
13697         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13698
13699 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13702         char inset.
13703
13704 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13705
13706         * lyxtext.h: remove unused (and unimplemented) methods
13707
13708 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13709
13710         * text.C (getVisibleRow): honor background color
13711
13712         * PainterBase.h:
13713         * Painter.h: remove default color argument for fillRectangle
13714
13715         * text.C (backgroundColor): new method
13716
13717 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * text.C (getVisibleRow): adjust
13720
13721         * font.[Ch] (rectText): new method, metrics
13722         (buttonText): new method, metrics
13723
13724         * PainterBase.[hC]: make rectText and buttonText always draw and take
13725         fewer paramteres.
13726
13727 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13728
13729         * ToolbarDefaults.C (read):
13730         * MenuBackend.C (read): allow escaping in all strings
13731
13732         * BufferView_pimpl.C (insertAndEditInset): new method.
13733         (Dispatch): use insertAndEditInset whenever appropriate.
13734
13735         * BufferView_pimpl.C (insertNote): removed
13736
13737         * BufferView_pimpl.C (smartQuote): new method, moved from
13738         BufferView; if an insetquote cannot be inserted, insert a '"'
13739         character instead.
13740
13741         * BufferView2.C: remove insertCorrectQuote();
13742
13743         * lyxfunc.C (getStatus): Add support for all remaingin
13744         inset-insert lfuns.
13745
13746         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13747
13748         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13749         command (necessary to pass " as parameter of self-insert.
13750
13751         * text.C (selectWordWhenUnderCursor):
13752         (selectWord): add word_location parameter
13753         (selectWordWhenUnderCursor): same + remove special code for word
13754         boundary.
13755         (selectNextWord): use kind() to guess type of insetspecialchar,
13756         not latex().
13757
13758         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13759         (insertErtContents): create ert insets as collapsed.
13760         (readInset): better compatibility code for Info inset.
13761
13762 2001-07-20  Juergen Vigna  <jug@sad.it>
13763
13764         * lyxfunc.C (dispatch): use always LyXFind now!
13765
13766         * text2.C (init): add a reinit flag so that the LyXText can be
13767         reinited instead of deleted and reallocated (used in InsetText).
13768
13769         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13770
13771         * text.C: ditto
13772
13773         * text2.C: ditto
13774
13775 2001-07-18  Juergen Vigna  <jug@sad.it>
13776
13777         * text.C (selectNextWord): handle insets inside inset by calling
13778         always the bv->text functions so that we can go up the_locking_inset!
13779
13780         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13781         in strange locations when inside an inset!
13782
13783         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13784         handling to include insets.
13785
13786         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13787
13788 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * LyXAction.C (init):
13791         * commandtags.h:
13792         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13793         LIGATURE_BREAK, since the name is so stupid.
13794
13795 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13796
13797         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13798         InsetInfos.
13799
13800         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13801
13802         * sp_form.[Ch]: remove.
13803
13804         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13805
13806         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13807         InsetInfo.
13808
13809         * src/buffer.C (readInset): ditto.
13810
13811 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13812
13813         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13814         menuSeparator(), endOfSentenceDot(), ldots() and
13815         hyphenationPoint(), which are therefore removed.
13816         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13817
13818         * LyXAction.C (init):
13819         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13820
13821         * paragraph.C (getWord): removed.
13822
13823         * BufferView_pimpl.C (Dispatch): use last word or selection for
13824         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13825
13826         * lyx_main.C (queryUserLyXDir): do not ask before creating
13827         user_dir, except if it has been named explicitely.
13828
13829 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13832         a document of zero size.
13833
13834 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13835
13836         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13837         approriately in the c-tor and in require().
13838         (getPackages): output the appropriate LaTeX for natbib support.
13839
13840         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13841         variables "use_natbib" and "use_numerical_citations" when reading the
13842         LyX file.
13843         (readInset): read the various natbib cite commands.
13844         (validate): white-space change.
13845
13846         * bufferparams.[Ch]: new variables "bool use_natbib" and
13847         "bool use_numerical_citations".
13848         (writeFile): output them in the LyX file.
13849
13850 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13851
13852         * lyxfunc.C (getStatus): add support for all the inset insertion
13853         commands.
13854
13855         * text2.C (insertInset):
13856         * paragraph.C (insetAllowed):
13857         * BufferView_pimpl.C (insertInset): update to take in account the
13858         renaming of insertInsetAllowed
13859
13860         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13861
13862         * text2.C (getInset): new method. returns inset at cursor position.
13863
13864         * BufferView_pimpl.C (Dispatch): changes because of this.
13865
13866         * LyXAction.C (init): rename open-stuff to inset-toggle.
13867
13868         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13869
13870         * text2.C (toggleInset): renamed from openStuff; use
13871         Inset::open().
13872
13873 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13874
13875         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13876
13877         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13878
13879 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13880
13881         * buffer.C (readLyXformat2): Add filename to the error dialog
13882
13883 2001-07-18  Juergen Vigna  <jug@sad.it>
13884
13885         * tabular.C (GetCellNumber): put an assert here instead of the check!
13886
13887 2001-07-17  Juergen Vigna  <jug@sad.it>
13888
13889         * BufferView_pimpl.C (toggleSelection): adapted too.
13890
13891         * text.C (selectNextWord): adapted for use with insets.
13892         (selectSelectedWord): ditto
13893
13894 2001-07-17  Juergen Vigna  <jug@sad.it>
13895
13896         * sp_spell.C (PSpell): fix initialitation order.
13897
13898 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * paragraph.C: spacing
13901
13902 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13903
13904         * sp_spell.C: repair language selection for pspell
13905
13906 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * lyxfunc.h: change more methods to begin with lower char.
13909
13910 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13913         for unknown layouts.
13914
13915 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * buffer.C (readLyXformat2): Generate an error dialog if there are
13918         unknown layouts.
13919
13920 2001-07-16  Juergen Vigna  <jug@sad.it>
13921
13922         * sp_spell.C: always compile ISpell part.
13923
13924         * lyxrc.C: added use_pspell entry and it's handling.
13925
13926 2001-07-13  Juergen Vigna  <jug@sad.it>
13927
13928         * sp_spell.C: removed double includes.
13929
13930 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13931
13932         Consistent use of Lsstream.h:
13933         * Lsstream.h: added using std::stringstream for consistencies sake.
13934
13935         * buffer.C: removed using std::stringstream
13936
13937         * lyxfont.C (stateText):
13938         * paragraph.C (asString):
13939         * text.C (selectNextWord, selectSelectedWord):
13940         * text2.C (setCounter):
13941         * vspace.C (asString, asLatexString):
13942         std::ostringstream -> ostringstream.
13943
13944 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13945
13946         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13947         * commandtags.h: add LFUN_HELP_ABOUTLYX
13948         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13949
13950 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13951
13952         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13953         cursorToggle()
13954         * lyx_gui_misc.C: remove spellchecker
13955         * lyxfunc.C: showSpellchecker
13956         * sp_base.h: added
13957         * sp_ispell.h: added
13958         * sp_pspell.h: added
13959         * sp_spell.C: added
13960         * sp_form.[Ch]: removed
13961         * spellchecker.[Ch]: removed
13962
13963 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13964
13965         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13966         is set.
13967         (simpleTeXSpecialChars): Simply print the input character without
13968         any special translation if pass_thru is set.
13969
13970         * layout.h: Added bool pass_thru to layout class for being able to
13971         implement pass through of a paragraph for Literate Programming.
13972
13973         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13974         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13975         * layout.C (Read): add "passthru" to list of layout tags and add
13976         code to set the pass_thru boolean when it is read.
13977
13978 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13979
13980         * trans_decl.h: remove allowed from KmodInfo
13981
13982         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13983         remove allowed code
13984         (Load): adjust
13985
13986         * paragraph_pimpl.C (erase): use boost::prior
13987
13988         * Painter.C (text): use data() instead of c_str() when length is
13989         also provided.
13990         * WorkArea.C (putClipboard): ditto
13991         * font.h (width): ditto
13992
13993         * BufferView2.C: use it-> instead of (*it). for iterators
13994         * texrow.C: ditto
13995         * paragraph_pimpl.C: ditto
13996         * paragraph.C: ditto
13997         * minibuffer.C: ditto
13998         * language.C: ditto
13999         * kbmap.C: ditto
14000         * encoding.C: ditto
14001         * counters.C: ditto
14002         * converter.C: ditto
14003         * chset.C: ditto
14004         * Variables.C: ditto
14005         * TextCache.C: ditto
14006         * MenuBackend.C: ditto
14007         * LyXAction.C: ditto
14008         * LColor.C: ditto
14009         * FloatList.C: ditto
14010         * DepTable.C: ditto
14011         * ColorHandler.C (LyXColorHandler): ditto
14012
14013 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14016
14017         * text2.C (openStuff): reintroduce this method (which had been
14018         nuked in NEW_INSETS frenzy).
14019
14020         * lyxfunc.C (Dispatch): when an action has not been handled, use
14021         its name in the error message, not its number.
14022
14023         * paragraph.C (inInset): change method name to begin with lowercase.
14024
14025         * undo_funcs.C:
14026         * text2.C: updates because of this.
14027
14028 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * ToolbarDefaults.C (add): add spaces in error message
14031
14032 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14035         (readLyXformat2): rename return_par to first_par, use lyxlex's
14036         pushToken and remove the manual push handling.
14037         (parseSingleLyXformat2Token): add another ert comp. variable:
14038         in_tabular, rename return_par to first_par. handle newlines better
14039
14040 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14043
14044 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * text2.C (getParFromID): removed
14047
14048         * buffer.C (getParFromID): new method moved form lyxtext.
14049         * BufferView2.C (insertErrors): adjust
14050         (setCursorFromRow): adjust
14051         * BufferView_pimpl.C (restorePosition): adjust
14052         * lyxfunc.C (Dispatch): adjust
14053         * undo_funcs.C (textUndo): adjust
14054         (textRedo): adjust
14055         (textHandleUndo): adjust
14056         (textHandleUndo): adjust
14057
14058 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * buffer.C: up' the LYX_FORMAT
14061
14062         * lyxfont.h: turn NO_LATEX on as default
14063
14064         * buffer.C (insertErtContents): new methods of tex style compability.
14065         (parseSingleLyXformat2Token): use it several places.
14066         * tabular.C (OldFormatRead): and here
14067
14068 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14069
14070         * text2.C: remove some commented code.
14071         reindent file.
14072
14073         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14074         * trans.C: changes because of the above.
14075
14076 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14077
14078         * text2.C (setCounter): Fix counters bug with bibliography layout.
14079
14080 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14083         own member functions
14084         (simpleTeXSpecialChars): ditto
14085
14086 2001-07-06  Juergen Vigna  <jug@sad.it>
14087
14088         * a lot of files: changed the access to LyXText::status and the
14089         call of undo-functions.
14090
14091         * undo.[Ch]: added a inset_id to the undo informations.
14092
14093         * undo_funcs.[Ch]: added and moved here all undo functions.
14094
14095         * lyxtext.h: give the status enum a weight, made status_ a private
14096         variable and made accessor functions for it, removed the whole bunch
14097         of undo-functions as they are now in their own file, make some
14098         functions publically available. Added function ownerParagraph with
14099         int parameter.
14100
14101         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14102         made InInset() a const function, added getParFromID() function.
14103
14104         * buffer.[Ch]: added const version for inset_iterator functions,
14105         added getInsetFromID() function.
14106
14107         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14108         changed undo functions for new version.
14109
14110 2001-07-05  Juergen Vigna  <jug@sad.it>
14111
14112         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14113         unknow mechanism does not call the proper constructor but only this
14114         one also if I request the other!?
14115
14116 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14119
14120         * text2.C (LyXText): use initialization lists.
14121
14122         * lyxtext.h (Selection): initialize set_ and mark_
14123         (init): remove method
14124
14125 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14128
14129 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * screen.[Ch]: change method names to begin with lowercase
14132
14133         * BufferView_pimpl.C (updateScrollbar): simplify further and
14134         hopefully make it a bit faster.
14135
14136 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14139         calling directly xforms functions.
14140
14141         * Painter.C (Painter):
14142         * lyx_cb.C (MenuWrite):
14143         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14144         fl_display.
14145
14146         * lyx_gui.C: remove bogus guiruntime extern declaration.
14147
14148 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14149
14150         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14151         in NEW_INSETS
14152         (redoDrawingOfParagraph): ditto
14153         (redoParagraphs): ditto
14154         (cutSelection): don't create a object for CutAndPaste use the
14155         static method directly
14156         (pasteSelection): ditto
14157
14158         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14159         LyXview (+ rename)
14160
14161 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * modifications to some other files because of this.
14164
14165         * Makefile.am (lyx_SOURCES): add XFormsView
14166
14167         * XFormsView.[Ch]: new files
14168
14169         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14170         the main window. Move the gui dependent stuff to XFormsView
14171
14172 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * tabular.C (GetCellInset): update cur_cell also in the row/col
14175         version of this function.
14176
14177         * lyxfunc.C: no need to include figure_form.h here.
14178
14179         * FontLoader.h:
14180         * lyxfunc.h:
14181         * lyxscreen.h:
14182         * text2.C:
14183         * lyxvc.C: no need to include forms.h here.
14184
14185 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14188
14189         * lyxfunc.C (Dispatch):
14190         * Spacing.C (set):
14191         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14192         constructor argument.
14193
14194 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * paragraph.C (Paragraph): dont't clear, and just set layout.
14197         (makeSameLayout): use params's copy contructor.
14198
14199         * ParagraphParameters.[Ch] (makeSame): delete method
14200
14201 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14202
14203         * Variables.[Ch]: fix indentation, rename set to isSet
14204
14205 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * lyxfunc.C (Dispatch): fix typo
14208
14209 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14212         upper_bound.
14213
14214         * bufferlist.C: include assert.h for emergencyWrite().
14215
14216 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14219           give up at last (bug #425202) !
14220
14221 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14222
14223         * lyx_gui_misc.C:
14224         * sp_form.h:
14225         * sp_form.C:
14226         * spellchecker.h:
14227         * spellchecker.C: strip spellchecker options and bring up
14228           preferences tab instead
14229
14230 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14233         the istringstream constructor
14234
14235 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * paragraph.C (getLayout): fix return value
14238
14239         * paragraph.h: do not declare getLayout as inline.
14240
14241         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14242
14243 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * lyxcursor.h (operator<): new func
14246         (operator>): new func
14247         (operator>=): new func
14248         (operator<=): new func
14249
14250         * text.C (changeCase): use selection.start and selection.end
14251         (changeRegionCase): require from to be <= to. Require par to be a
14252         valid paragraph.
14253
14254         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14255
14256 2001-06-27  Juergen Vigna  <jug@sad.it>
14257
14258         * text.C (cursorLeftOneWord): changed to return the cursor and added
14259         overlay with BufferView * parameter which calls this one.
14260         (getWord): added
14261         (selectWord): use new getWord function.
14262         (changeCase): renamed from changeWordCase as and extended to work
14263         also on selections.
14264
14265         * lyxtext.h: added enum word_location
14266
14267         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14268         changeCase as this operates now also on selections.
14269
14270 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14271
14272         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14273
14274         * many files: send debug output to Debug::INFO instead of
14275         Debug::ANY.
14276
14277         * converter.C (View):
14278         (Convert):
14279         (Move): send debug output to Debug::FILES instead of console.
14280
14281 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14282
14283         * lyxfunc.C (getStatus): use func_status
14284
14285         * func_status.h: new header, describing the results of
14286         LyXFunc::getStatus;
14287
14288         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14289         LFUN_MATH_HALIGN.
14290
14291 2001-06-25  The LyX Project  <jug@sad.it>
14292
14293         * buffer.C (sgmlOpenTag):
14294         (sgmlCloseTag):
14295         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14296
14297 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * text2.C: remove some dead code
14300
14301         * tabular.C (GetCellInset): store the last cell checked (gotten)
14302
14303         * tabular.h: add the helper for the speedup
14304
14305         * lyxtext.h: remove some dead code
14306
14307 2001-06-26  The LyX Project  <Asger>
14308
14309         * paragraph.C: Change export to LaTeX of alignment to
14310         \begin{center} and family for better roundtrip work with reLyX.
14311
14312         * Tune the math drawing a bit.
14313
14314 2001-06-25  The LyX Project  <Asger>
14315
14316         * LColor.C (LColor): New color for math background. New color
14317         for buttons.
14318
14319 2001-06-25  The LyX Project  <jug@sad.it>
14320
14321         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14322
14323         * lyxfunc.C (Open):
14324         * bufferlist.C (newFile): do not restrict to files ending with
14325         .lyx
14326
14327         * BufferView_pimpl.C (MenuInsertLyXFile):
14328
14329 2001-06-24  The LyX Project  <jug@sad.it>
14330
14331         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14332         of compare_no_case
14333
14334 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * lyxtext.h: rename most methods to begin with a small char.
14337         Lots of changes because of this.
14338
14339         * paragraph.C (Paragraph): do not call fitToSize
14340         (erase): call Pimpl::erase
14341         (insertChar): call Pimpl::insertChar
14342         (insertInset): call Pipl::insertInset
14343         (breakParagraph): do not call fitToSize
14344         (breakParagraphConservative): do not call fitToSize
14345         (fitToSize): remove method
14346
14347         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14348
14349 2001-06-24  The LyX Project  <Asger>
14350
14351         * Fix Qt compilation^2
14352
14353 2001-06-24  The LyX Project  <jug@sad.it>
14354
14355         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14356         depthHook(getDepth()-1).
14357
14358         * paragraph.h:
14359         * ParagraphParameters.h:
14360         * ParameterStruct.h: change type of depth to unsigned int ==
14361         depth_type. Many adaptations to other files before of that.
14362
14363 2001-06-24  The LyX Project  <Asger>
14364
14365         * Fix Qt compilation.
14366
14367 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * paragraph.h: renamed several methods to begin with small letter.
14370         several changes to many parts of the code because of this.
14371
14372 2001-06-23  The LyX Project  <jug@sad.it>
14373
14374         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14375         rewritten to discard all double spaces when KeepEmpty is off
14376         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14377         to only handle newlines but not fiddle with spaces and friends.
14378
14379         * lyxfunc.C (MenuNew): when doing 'new from template', use
14380         template_path as default directory
14381
14382 2001-06-23  The LyX Project  <Asger>
14383
14384         * Clean-up of header file includes all over
14385         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14386
14387 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14388
14389         * paragraph.h: renamed from lyxparagraph.h
14390
14391 2001-06-23  Asger  <lyx@violet.home.sad.it>
14392
14393         * Buffer.h: Removed Buffer::resize
14394         * BufferList.h: Removed BufferList::resize
14395         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14396         the document lazily when we change the width, or the font settings.
14397
14398 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14401
14402 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * buffer.h: remove out of date comment
14405
14406 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * lyxscreen.h:
14409         * screen.C: fix "theoretical" GC leak
14410
14411 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * LaTeX.C (scanAuxFile):
14414         (deplog): remove trailing \r when reading stream (useful under
14415         win32)
14416
14417 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14420         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14421         and BufferView::theLockingInset(Inset*), so should use them and not
14422         access bv_->text->the_locking_inset directly.
14423
14424         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14425
14426 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14427
14428         * Makefile.am:
14429         * tex-defs.h: remove old unused file
14430
14431 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * BufferView_pimpl.C: fix typo, remove minibuffer message
14434           when buffer has loaded
14435
14436 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * lyxfunc.C (Dispatch): use stringstream
14439         (MenuNew): use stringstream
14440         (Open): use stringstream
14441
14442         * importer.C (Import): use stringstream
14443
14444         * bufferview_funcs.C (CurrentState): use stringstream
14445
14446         * LaTeX.C (run): use stringstream
14447
14448         * BufferView_pimpl.C (savePosition): use stringstream
14449         (restorePosition): use stringstream
14450         (MenuInsertLyXFile): use stringstream
14451
14452 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14453
14454         * BufferView.C:
14455         * Bullet.C:
14456         * ColorHandler.C:
14457         * FontInfo.C:
14458         * FontLoader.C:
14459         * LColor.C:
14460         * LaTeXFeatures.C:
14461         * Painter.C:
14462         * gettext.C:
14463         * lyx_gui_misc.C:
14464         * lyxserver.C:
14465         * vspace.C: removed // -*- C++ -*- as first line.
14466
14467         * lyxfind.h:
14468         * version.h: added // -*- C++ -*- as first line.
14469
14470 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14471
14472         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14473
14474         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14475         of string
14476
14477 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14480         of floats.
14481
14482 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14483
14484         * gettext.C: include LString.h even when --disable-nls is on.
14485
14486 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14487
14488         * converter.h (Get): changed argument type from int to
14489         FormatList::size_type to avoid unnecessary conversion.
14490
14491         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14492         before using it.
14493
14494 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14495
14496         * gettext.h: include LString.h even when --disable-nls is on.
14497
14498 2001-06-07  Juergen Vigna  <jug@sad.it>
14499
14500         * text.C (BreakAgain): subst spaces with tabs.
14501
14502         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14503         (resizeInsetsLyXText): set force on resizeLyXText.
14504
14505 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * gettext.h (gettext_init):
14508         (locale_init): use a real definition instead of a macro
14509
14510 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * Bufferview_pimpl.C:
14513         * LColor.h:
14514         * LColor.C: further lcolor tidies
14515
14516 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14517
14518         * BufferView_pimpl.C (updateScrollbar): simplify.
14519
14520         * BufferView2.C: don't include insets/insetinfo.h, change
14521         prototype for insertInset and call the Pimpl version. let
14522         updateInset call Pimpl version.
14523
14524         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14525         gotoInset to BufferView::Pimpl
14526
14527 2001-06-01  Juergen Vigna  <jug@sad.it>
14528
14529         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14530         inside a LockingInset (is the update needed at all?).
14531
14532 2001-05-31  Juergen Vigna  <jug@sad.it>
14533
14534         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14535         here not the old one otherwise how should we compare it afterwards
14536         if it's the same!
14537
14538 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * lyxfont.C:
14541         * tabular.C:
14542         * tabular-old.C:
14543         * FontInfo.C: bring C functions into global namespace when
14544         necessary
14545
14546 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * LString.h: make sure config.h has been loaded before LString.h.
14549
14550         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14551         (one for each char read by EatLine!).
14552
14553         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14554         variables.
14555
14556 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14557
14558         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14559         to the same as the par we break from
14560
14561 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14562
14563         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14564
14565         * MenuBackend.C (expand): also create menu entries for wide
14566         versions of the floats.
14567
14568         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14569
14570         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14571
14572         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14573         frontends/Makefile.am
14574
14575         * text2.C: adjust
14576         * text.C: adjust
14577
14578
14579         * tabular.C (getTokenValue): add std::
14580
14581         * tabular-old.C (getTokenValue): add std::
14582         (getTokenValue): ditto
14583         (getTokenValue): ditto
14584
14585         * screen.C (ToggleSelection): adjust
14586
14587         * lyxtext.h: put selection cursors inside a Selection struct.
14588
14589         * lyxfunc.C (moveCursorUpdate): adjust
14590
14591         * lyxfont.C (latexWriteStartChanges): add std::
14592
14593         * lyxfind.C: adjust
14594
14595         * font.h: delete with(char const *, LyXFont const &)
14596
14597         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14598
14599         * FontInfo.C (getFontname): add std::
14600
14601         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14602         (workAreaButtonPress): adjust
14603         (tripleClick): adjust
14604         (update): adjust
14605         (moveCursorUpdate): adjust
14606         (Dispatch): adjust
14607
14608         * BufferView2.C (gotoInset): adjust
14609
14610 2001-05-30  Juergen Vigna  <jug@sad.it>
14611
14612         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14613         to check pspell I add this as default as I now have new pspell
14614         libraries and they seem to use this.
14615
14616 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * text2.C (CutSelection): make the cursor valid before the call to
14619         ClearSelection.
14620
14621 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14622
14623         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14624         relied on 0 terminated strings and other horrors. Bug found due to
14625         the new assert in lyxstring!
14626
14627         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14628         KP_ keys.
14629
14630 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14633         to latinkeys.bind.
14634
14635         * lyxfunc.C (processKeySym): change method of getting to the
14636         self-insert char.
14637
14638         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14639         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14640         * BufferView_pimpl.[Ch]: here as private methods.
14641
14642 2001-05-28  Juergen Vigna  <jug@sad.it>
14643
14644         * text.C (SetHeightOfRow): added the update() call again as it is
14645         needed to initialize inset dimensions!
14646
14647 2001-05-16  Juergen Vigna  <jug@sad.it>
14648
14649         * text2.C (SetCharFont): Add new function with BufferView * and
14650         bool toggleall parameters for setting insets internal fonts.
14651         (SetFont): Freeze the undo as we may change fonts in Insets and
14652         all this change should be inside only one Undo!
14653
14654         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14655         setting font's in insets as for them we have the SetFont function!
14656
14657 2001-05-15  Juergen Vigna  <jug@sad.it>
14658
14659         * text2.C (ClearSelection): to be sure we REALLY don't have any
14660         selection anymore!
14661
14662         * tabular.C (TeXCellPreamble): fixed the left border problem for
14663         multicolumn cells.
14664
14665 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14666
14667         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14668         dependancy file
14669
14670 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14673         LFUN_BREAKPARAGRAPH.
14674
14675         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14676         help test to "internal only", similar for LFUN_INSERT_URL
14677
14678         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14679         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14680         auto_region_delete and deadkeys.
14681
14682 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14683
14684         * LColor.h:
14685         * LColor.C: remove some dead entries, tidy a little
14686
14687 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14690         commented code.
14691         (Dispatch): implement LFUN_ESCAPE
14692
14693         * commandtags.h: add LFUN_ESCAPE
14694
14695         * LyXAction.C (init): add entry for LFUN_ESCAPE
14696
14697         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14698         Remove commented code.
14699         (insertNote): moved here
14700         (open_new_inset): moved here
14701
14702         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14703         BufferView_pimpl
14704
14705 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * kbmap.C (findbinding): clean it up and make it work correctly.
14708
14709         * lyx_main.C (init): do not pass argc and argv as parameters
14710
14711 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14712
14713         * buffer.C: fix path for OS/2 & Win32
14714
14715         * lyx_gui.C:
14716         * lyx_main:
14717         * lyx_main.C: Added os:: class.
14718
14719         * os2_defines.h: update
14720
14721 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14722
14723         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14724         better by trying again with reduced state.
14725
14726 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14727
14728         * lyxrc.C (read): print error about invalid key sequence only when
14729         debugging (because not all latinX keysyms are known to some X
14730         servers)
14731
14732         * kbsequence.C (getiso): add a few std:: qualifiers
14733         (getiso): comment out extra return statement.
14734
14735 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14738         handling.
14739         (Dispatch): enhance the accent inset a bit. (not perfect)
14740
14741 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14744
14745 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14746
14747         * bufferlist.C (emergencyWrite): fix assert() call
14748
14749 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14750
14751         * text.C (InsertChar): Added trivial patch to only send the "you
14752         can not do multiple spaces this way" message once during a
14753         session.
14754
14755 2001-05-08  Baruch Even  <baruch@lyx.org>
14756
14757         * Makefile.am: Changed order of libraries to get LyX to link properly
14758         with the gnome frontend.
14759
14760 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * LaTeXFeatures.h: add a std:: qualifier
14763
14764 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * paragraph.C (String): use stringstream
14767
14768 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * paragraph.C (writeFile): remove footflag arg
14771
14772         * buffer.C (makeLaTeXFile): use stringstream
14773         (latexParagraphs): remove footnot gurba
14774
14775         * LaTeXFeatures.C (getPackages): use stringstream
14776         (getMacros): likewise
14777         (getTClassPreamble): likewise
14778         (getFloatDefinitions): new method
14779
14780         * paragraph.C (writeFile): reindent
14781         (Erase): reindent
14782
14783         * WorkArea.h: revert the xpos + etc changes.
14784
14785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14786
14787         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14788
14789         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14790         (pasteSelection): likewise
14791         * text2.C (CreateUndo): likewise
14792
14793 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * minibuffer.C (peek_event): temporarily reduce the functionality
14796         of the minibuffer (to allow args on lfuns)
14797
14798         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14799         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14800
14801         * buffer.C (readInset): add compability reading of old float
14802         lists, add reading of new style float list.
14803         (readInset): avoid reevaluation of inscmd.getCmdName()
14804         (getLists): reindent
14805
14806         * MenuBackend.C (MenuItem): implement parsing of
14807         md_floatlistinsert and md_floatinsert.
14808         (expand::LastFiles): move initalizaton of iterators out of loop,
14809         avoid reevaluation.
14810         (expand::Documents): introduce typdedef vector<string> Strings,
14811         and use it.
14812         (expand::ExportFormats): introduce typedef vector<Format const *>
14813         Formats, and use it.
14814         (expand): implement FloatListInsert and FloatInsert.
14815
14816         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14817         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14818         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14819
14820         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14821         handling.
14822         (Dispatch::LFUN_FLOAT_LIST): implement
14823
14824 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14825
14826         * LaTeX.C (run): Fix problem with --export code.
14827
14828 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14829
14830         * BufferView.[Ch] (workarea): removed.
14831         (getClipboard) new method; wrapper for workarea()->getClipboard()
14832
14833         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14834         bug.
14835
14836         * WorkArea.h (width, height, xpos, ypos): These methods all
14837         returned the dimensions of the work_area sub-area of WorkArea,
14838         resulting in a position error if the WorkArea were resized. Now
14839         return the dimensions of the entire WorkArea.
14840
14841         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14842
14843 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * LaTeX.C (deplog): correct the syntax of regex reg1
14846
14847 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * undo.C: remove !NEW_INSETS cruft
14850
14851 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * text2.C: remove !NEW_INSETS cruft
14854
14855         * text.C: remove !NEW_INSETS cruft
14856
14857         * tabular.C: remove !NEW_INSETS cruft
14858
14859         * spellchecker.C: remove !NEW_INSETS cruft
14860
14861         * lyxtext.h: remove !NEW_INSETS cruft
14862
14863         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14864
14865         * lyxfunc.C: remove !NEW_INSETS cruft
14866
14867         * lyxfind.C: remove !NEW_INSETS cruft
14868
14869         * lyx_cb.C: remove !NEW_INSETS cruft
14870
14871         * figureForm.C: remove  !NEW_INSETS cruft
14872
14873         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14874
14875         * buffer.[Ch]: remove !NEW_INSETS cruft
14876
14877         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14878
14879         * CutAndPaste.C: remove !NEW_INSETS cruft
14880
14881         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14882
14883         * BufferView2.C: remove !NEW_INSETS cruft
14884
14885         * BufferView.h: remove !NEW_INSETS cruft
14886
14887 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * Lsstream.h: include LString.h before the sstream headers to
14890         fix problem with gcc 2.95.3 and lyxstring
14891
14892 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14893
14894         * lyx_main.C: add using directives when needed for C functions
14895         declared in std:: namespace.
14896
14897 2001-04-27  Juergen Vigna  <jug@sad.it>
14898
14899         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14900         (SetHeightOfRow): comment out the update call should not be needed!
14901
14902 2001-04-13  Juergen Vigna  <jug@sad.it>
14903
14904         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14905         (LyXTabular): tried to minimize operator= operations (and realized
14906         hopfully Lars wish).
14907
14908 2001-04-27  Juergen Vigna  <jug@sad.it>
14909
14910         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14911
14912 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14915
14916         * buffer.C (readInset): hack to make listof algorithm work
14917
14918         * BufferView_pimpl.C: hack to make listof algorithm work
14919
14920 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * LyXAction.C: removed all !NEW_INSETS cruft
14923         (init): moved lfun_item in method
14924
14925         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14926
14927 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14928
14929         * BufferView2.C (theLockingInset): white space.
14930
14931 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14932
14933         * minibuffer.C: include <iostream>
14934
14935         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14936
14937         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14938
14939         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14940
14941         * text.[Ch] (TransposeChars): new method
14942
14943 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14944
14945         * call message directly through LyXView instead of through LyXFunc
14946         * BufferView2.C: adjust
14947         * BufferView_pimpl.C: adjust
14948         * FontLoader.C: adjust
14949         * buffer.C: adjust
14950         * bufferview_funcs.C: adjust
14951         * converter.C: adjust
14952         * figureForm.C: adjust
14953         * importer.C: adjust
14954         * lyx_cb.C: adjust
14955         * lyx_gui_misc.C: adjust
14956         * lyxfunc.C: adjust
14957         * lyxvc.C: adjust
14958         * text2.C: adjust
14959         + more files in subdirs
14960
14961         * lyxparagraph.h (size): move up int file
14962         (GetLayout): ditto
14963
14964         * adjust all uses of Assert to lyx::Assert.
14965
14966         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14967         lyxfunctional in namespace lyx
14968         * layout.C (hasLayout): ditto
14969         (GetLayout): ditto
14970         (GetLayout): ditto
14971         (delete_layout): ditto
14972         (NumberOfClass): ditto
14973         * converter.C (GetFormat): ditto
14974         (GetNumber): ditto
14975         (Add): ditto
14976         (Delete): ditto
14977         (SetViewer): ditto
14978         * bufferlist.C (getFileNames): ditto
14979         (emergencyWriteAll): ditto
14980         (exists): ditto
14981         (getBuffer): ditto
14982         * MenuBackend.C (hasSubmenu): ditto
14983         (hasMenu): ditto
14984         (getMenu): ditto
14985         * BufferView_pimpl.C (getInsetByCode): ditto
14986
14987 2001-04-18  Juergen Vigna  <jug@sad.it>
14988
14989         * vspace.C (asLatexString): fixed the 100% problem.
14990
14991 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * lyxfunc.C (Dispatch):
14994         * minibuffer.C:
14995         * minibuffer.h: add a few std:: qualifiers
14996
14997 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * minibuffer.[Ch]: reimplement so that commands is initiated and
15000         run from lyxfunc, simplified som handling, and made the completion
15001         and history code for complete. wip.
15002
15003         * lyxfunc.C (processKeySym): call message
15004         (miniDispatch): new temporary method
15005         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15006         (LFUN_MESSAGE): implement
15007         (LFUN_MESSAGE_PUSH): implement
15008         (LFUN_MESSAGE_POP): implement
15009         (initMiniBuffer): the initial/defualt minibuffer message.
15010
15011         * lyxfont.[Ch]: inline some more getters
15012
15013         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15014
15015         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15016
15017         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15018         (AutoSave): use LFUN_MESSAGE
15019         (Reconfigure): ditto
15020
15021         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15022
15023         * figureForm.C: use LFUN_MESSAGE
15024
15025         * converter.C (runLaTeX): use LFUN_MESSAGE
15026
15027         * bufferview_funcs.C: use LFUN_MESSAGE
15028         (Melt): ditto
15029         (changeDepth): ditto
15030
15031         * bufferparams.h: use boost::
15032
15033         * bufferlist.h: inherit privately from noncopyable
15034
15035         * bufferlist.C (loadLyXFile): remove some commented code.
15036
15037         * buffer.C (runChktex): use LFUN_MESSAGE
15038
15039         * ShareContainer.h: inherit privately from noncopyable
15040
15041         * ParagraphParameters.[hC] (depth): inline it.
15042
15043         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15044         methods.
15045         (message): new method
15046         (messagePush): ditto
15047         (messagePop): ditto
15048         (show): init minibuffer
15049         (showState): direct call
15050
15051         * LaTeX.[Ch]: inherit privately from noncopyable
15052         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15053         instead of WriteStatus.
15054
15055         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15056
15057         * BufferView_pimpl.C (buffer): don't init minibuffer
15058         (workAreaButtonPress): use LFUN_MESSAGE
15059         (workAreaButtonRelease): ditto
15060         (savePosition): ditto
15061         (restorePosition): ditto
15062         (MenuInsertLyXFile): ditto
15063         (workAreaExpose): don't init minibuffer
15064         (update): remove commented code, simplify
15065
15066         * BufferView2.C (openStuff): use LFUN_MESSAGE
15067         (toggleFloat): ditto
15068         (menuUndo): ditto
15069         (menuRedo): ditto
15070         (copyEnvironment): ditto
15071         (pasteEnvironment): ditto
15072         (copy): ditto
15073         (cut): ditto
15074         (paste): ditto
15075         (gotoInset): ditto
15076         (updateInset): remove some commented code
15077
15078         * lastfiles.h: inherit privately from noncopyable
15079         * layout.h: ditto
15080         * lyx_gui.h: ditto
15081         * lyx_main.h: ditto
15082         * lyxlex.h: ditto
15083         * lyxlex_pimpl.h: ditto
15084
15085         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15086         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15087         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15088
15089         * LyXAction.h: inherit privately from noncopyable, add methods
15090         func_begin, func_end, returning iterators to the func map.
15091
15092         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15093         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15094         (func_begin): new method
15095         (func_end): new method
15096
15097         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15098         and not)
15099         (copySelection): ditto
15100         (pasteSelection): ditto
15101
15102         * BufferView.C: whitespace change
15103         * BufferView.h: inherit privately from noncopyable
15104
15105 2001-04-16  Allan Rae  <rae@lyx.org>
15106
15107         * tabular-old.C (l_getline):
15108         * spellchecker.C (sc_check_word):
15109         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15110         an unrecognised preprocessor directive.  So ensure they're wrapped.
15111
15112 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * src/exporter.C (Export): Give an error message when path to file
15115         contains spaces.
15116
15117 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15118
15119         * LaTeX.C (deplog): Always check that foundfile exists.
15120
15121 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * lyx_main.h:
15124         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15125
15126 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * tabular.[Ch] (getLabelList): implement new method
15129
15130         * minibuffer.h: comment ouf setTiimer
15131
15132         * minibuffer.C (ExecutingCB): constify res
15133         (peek_event): constify s
15134         (Set): constify ntext
15135         (Init): constify nicename
15136
15137         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15138
15139         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15140         (savePosition): use two params to Minibuffer::Set
15141         (restorePosition): ditto
15142
15143 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * lyx_main.C: include language.h
15146
15147         * Makefile.am (lyx_main.o): add language.h
15148
15149 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * exporter.C:
15152         * paragraph.C:
15153         * screen.C:
15154         * tabular.C:
15155         * CutAndPaste.C: include gettext.h
15156
15157         * lyxfont.h: remove old hack with ON and OFF.
15158
15159         * lyxparagraph.h:
15160         * lyxfont.h: do not include language.h...
15161
15162         * BufferView2.C:
15163         * LaTeXFeatures.C:
15164         * Painter.C:
15165         * bufferview_funcs.C:
15166         * font.C:
15167         * lyxfont.C:
15168         * text.C:
15169         * text2.C:
15170         * trans_mgr.C:
15171         * paragraph.C: ... but do it here instead
15172
15173 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15176
15177         * tabular.C: small reformat
15178
15179         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15180         NEW_INSETS version
15181         (GetChar): ditto
15182         (BreakParagraph): ditto
15183         (SetOnlyLayout): ditto
15184         (SetLayout): ditto
15185
15186         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15187         with one arg less.
15188
15189         * lastfiles.C: removed most using decl, add std:: where needed
15190
15191         * buffer.C: ws changes
15192
15193         * MenuBackend.C (class compare_format): put into anon namespace
15194         (expand): constify label, names, action, action2
15195         (expand):
15196
15197         * text.C (SingleWidth): constify font
15198         (IsBoundary): constify rtl2
15199         (GetVisibleRow): constify ww
15200
15201         * LaTeX.C (deplog): constify logfile
15202
15203         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15204         start_x, end_x
15205         (workAreaExpose): constify widthChange, heightChange
15206
15207         * lyxrow.C (par): moved
15208         (height): moved
15209         (next): moved
15210         * lyxrow.h: as inlines here
15211
15212         * lyxfont.h (shape): moved from lyxfont.C
15213         (emph): moved from lyxfont.C
15214
15215         * lyxfont.C (LyXFont): use initialization list for all
15216         constructors
15217         (shape): move to lyxfont.h as inline
15218         (emph): move to lyxfont.h as inline
15219
15220
15221 2001-04-04  Juergen Vigna  <jug@sad.it>
15222
15223         * vspace.C: had to include stdio.h for use of sscanf
15224
15225 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15226
15227         * BufferView.h:
15228         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15229         independent of xforms.
15230
15231 2001-04-02  Juergen Vigna  <jug@sad.it>
15232
15233         * spellchecker.C: fixed namespace placing!
15234
15235 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15236
15237         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15238         the LyXParagraph * is 0.
15239
15240 2001-03-29  Juergen Vigna  <jug@sad.it>
15241
15242         * vspace.C: added support for %, c%, p%, l%.
15243         (stringFromUnit): added helper function.
15244         (asLatexString): changed to give right results for the %-values.
15245
15246         * buffer.C: convert the widthp in a width%.
15247
15248 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15249
15250         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15251         figureForm.[Ch].
15252
15253         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15254         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15255
15256         * lyx_cb.[Ch]: see above.
15257
15258         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15259         form1.[Ch].
15260
15261         * form1.[Ch]:
15262         * lyx.[Ch]: replaced by figure_form.[Ch].
15263
15264         * lyx_gui.C:
15265         * lyx_gui_misc.C:
15266         * lyxfunc.C: changed headers associated with above changes.
15267
15268 2001-03-27  Juergen Vigna  <jug@sad.it>
15269
15270         * BufferView_pimpl.C: set the temporary cursor right!
15271
15272 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15273
15274         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15275
15276 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15277
15278         * LString.h: removed "using std::getline"!
15279
15280         * BufferView_pimpl.C (Dispatch): changes due to changes in
15281         InsetInclude::Params.
15282
15283         * buffer.C (tag_name): removed redundant break statements as they were
15284         producing lots of warnings with my compiler.
15285
15286 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * LString.h: add "using std::getline" when using the real <string>.
15289
15290 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15291
15292         * buffer.C: removed bitset usage.
15293         PAR_TAG moved to an anonymous name space.
15294         (tag_name): new funtion, also in the anonymous namespace.
15295         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15296         (makeDocBookFile): clean code. Completed transition from string arrays
15297         to string vectors.
15298         (SimpleDocBookOnePar): code clean.
15299
15300 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15301
15302         * tabular.C: add some comments.
15303
15304 2001-03-22  Juergen Vigna  <jug@sad.it>
15305
15306         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15307         compatibility read a bit and fixed bug with minipage in different
15308         depth.
15309
15310 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15311
15312         * buffer.C (pop_tag): removed.
15313         (push_tag): removed.
15314         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15315         array replaced with vector. Added support for CDATA sections.
15316         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15317         at any nest level.
15318         (makeDocBookFile): XML conformant declaration of CDATA section,
15319         fixed bug related to <emphasis> in the first paragraph char.
15320         (sgmlOpenTag): exclude empty tags.
15321         (sgmlCloseTag): ditto.
15322
15323         * buffer.h (pop_tag): removed.
15324         (push_tag): removed.
15325
15326 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15327
15328         * language.h (Languages): added size_type and size().
15329
15330 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15331
15332         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15333         response on compability reading of minipages. One probliem is that
15334         the old usage of minipages was «flertydig»
15335
15336         * several files here and in subdirs: don't use static at file
15337         scope use anon namespaces instead.
15338
15339 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15340
15341         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15342         LaTeX output. This is necessary for Literate document
15343         processing.
15344
15345 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15346
15347         * buffer.C: insert hfill when needed.
15348
15349         * tabular.C (l_getline): use string::erase, small whitespace change.
15350
15351         * BufferView_pimpl.C: try the anon namespace.
15352         * WorkArea.C: ditto
15353
15354 2001-03-16  Juergen Vigna  <jug@sad.it>
15355
15356         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15357         otherwise it won't open options-dialogs.
15358
15359         * buffer.C: honor pextraWidth(p) on converting minipages.
15360
15361         * tabular.C (l_getline): changed the functions to strip trailing \r.
15362
15363 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15364
15365         * BufferView_pimpl.C:
15366         * minibuffer..C: added "using SigC::slot" declaration.
15367
15368 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15369
15370         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15371
15372         * text2.C: ditto
15373
15374         * text.C: ditto
15375
15376         * paragraph.C: ditto
15377
15378         * lyxtext.h: NO_PEXTRA
15379
15380         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15381
15382         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15383         * ParameterStruct.h: ditto
15384         * ParagraphParameters.h: ditto
15385         * lyxparagraph.h: ditto
15386
15387 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15388
15389         * buffer.C: add compability for minipage alignment.
15390         (latexParagraphs): remove unwanted pextra check.
15391
15392         * several files: remove CXX_WORKING_NAMESPACES
15393
15394         * buffer.C (pop_tag): tie is in namespace boost
15395
15396         * BufferView.h: noncopyable is in namespace boost
15397         * lyxlex.h: ditto
15398         * lyx_main.h: ditto
15399         * lyx_gui.h: ditto
15400         * layout.h: ditto
15401         * lastfiles.h: ditto
15402         * bufferlist.h: ditto
15403         * ShareContainer.h: ditto
15404         * LyXView.h: ditto
15405         * LyXAction.h: ditto
15406         * LaTeX.h: ditto
15407
15408 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15409
15410         * Merging changes from BRANCH_MVC back into HEAD.
15411
15412         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15413
15414 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15415
15416         * BufferView_pimpl.C: change from intl.C
15417
15418         * combox.h:
15419         * combox.C:
15420         * Makefile.am: move combox.*
15421
15422         * form1.h:
15423         * form1.C:
15424         * lyx_gui.C:
15425         * intl.h:
15426         * intl.C: remove dialog (covered by prefs)
15427
15428 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15429
15430         * lyxfunc.C (Dispatch): removed redundant break statement.
15431
15432 2001-03-14  Juergen Vigna  <jug@sad.it>
15433
15434         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15435
15436 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15437
15438         * buffer.C: add hack to fix compability reading of minipages.
15439
15440 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15441
15442         * buffer.C (getLists): Cleanup.
15443
15444 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * lyxfont.C (update): don't honor toggleall on font size.
15447
15448 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15449
15450         * bmtable.c:
15451         * bmtable.h:
15452         * Makefile.am: moved to frontends/xforms/
15453
15454         * lyx_gui_misc.C:
15455         * lyxfunc.C:
15456         * BufferView_pimpl.C: changes for moved mathpanel
15457
15458 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15459
15460         * gettext.h: fix gettext_init() in --disable-nls
15461
15462 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15465
15466 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * lyx.C:
15469         * lyx.h: strip external form
15470
15471 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * BufferView_pimpl.C: add comment, destroySplash()
15474
15475 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15476
15477         * BufferView_pimpl.C:
15478         * LyXAction.C:
15479         * buffer.C:
15480         * commandtags.h:
15481         * lyxfunc.C: use re-worked insetinclude
15482
15483 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15484
15485         * buffer.C: add using std::stringstream.
15486
15487         * lyx_cb.C: readd using std::ios.
15488
15489         * buffer.C: add using std::map.
15490
15491         * BufferView_pimpl.C: add using std::vector.
15492
15493         * ShareContainer.h: add std:: to swap.
15494
15495         * buffer.h: add some typedefs
15496         * buffer.C (getLists): use them
15497         (getLists): renamed from getTocList.
15498         add a counter for the different float types and use it in the
15499         generated string.
15500         (getLists): use the same counter for the NEW_INSETS and the "non"
15501         NEW_INSETS
15502
15503         * lyx_cb.h: remove unused items, includes, using etc.
15504
15505         * ShareContainer.h: remove some commented code, add more comments
15506         and "documentation".
15507
15508 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15509
15510         * buffer.C (getTocList): make the list also when NEW_INSETS is
15511         defined.
15512
15513         * buffer.h: remove TocType
15514
15515         * buffer.C (getTocList): change to return a map<string,
15516         vector<TocItem> >, implement for dynamic number of list.
15517
15518         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15519         * text2.C (PasteSelection): adjust
15520         * CutAndPaste.C (pasteSelection): adjust
15521
15522         * FloatList.C (FloatList): update from the new_insets branch.
15523         * Floating.[Ch]: ditto
15524         * LaTeXFeatures.C: ditto
15525         * buffer.C: ditto
15526         * lyxlex_pimpl.C: ditto
15527
15528         * paragraph.C (Last): remove when NEW_INSETS is defined.
15529
15530         * other file: changes because of the above.
15531
15532 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15533
15534         * lyxparagraph.h: rename next to next_, previous to previous_,
15535         make them private for NEW_INSETS. Rename Next() to next(),
15536         Previous() to previous().
15537
15538         * other files: changes because of the above.
15539
15540 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * BufferView.h:
15543         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15544         problem.
15545
15546 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * main.C (main): pass lyx_localedir to gettext_init().
15549
15550         * gettext.h: remove locale_init and gettext_init macros
15551
15552         * gettext.C (locale_init): new function
15553         (gettext_init): new function
15554
15555         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15556         setlocale().
15557
15558 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15559
15560         * Moved credits to frontends:
15561         * credits.[Ch]: removed
15562         * credits_form.[Ch]: removed
15563         * lyx_gui_misc.C: remove credits stuff
15564         * Makefile.am:
15565
15566 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15567
15568         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15569
15570         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15571         unneeded destructor.
15572
15573         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15574         a standalone pointer again.
15575
15576         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15577
15578 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15579
15580         * Makefile.am:
15581         * filedlg.h:
15582         * filedlg.C:
15583         * LyXAction.C:
15584         * ToolbarDefaults.C:
15585         * bufferlist.C:
15586         * commandtags.h:
15587         * form1.C:
15588         * form1.h:
15589         * lyx_cb.C:
15590         * lyx_cb.h:
15591         * lyxfunc.h:
15592         * lyxfunc.C:
15593         * BufferView_pimpl.C: use new file dialog in GUII
15594
15595         * lyx_cb.h:
15596         * lyx_cb.C: remove LayoutsCB to Toolbar
15597
15598 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * ShareContainer.h (get): add std:: qualifier
15601
15602 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * ShareContainer.h: define a proper ShareContainer::value_type
15605         type (and use typename to please compaq cxx)
15606
15607 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15608
15609         * lyxparagraph.h: move serveral local vars to
15610         ParameterStruct/ParagraphParameters., use ShareContainer in
15611         FontTable., make vars in FontTable private and add getter and
15612         setter.
15613
15614         * paragraph.C: changes because of the above.
15615
15616         * lyxfont.h: remove copy constructor and copy assignment. (the
15617         default ones is ok), move number inside FontBits. move inlines to
15618         lyxfont.C
15619
15620         * lyxfont.C: add number to initializaton of statics, move several
15621         inlines here. constify several local vars. some whitespace
15622         cleanup. Dont hide outerscope variables.
15623
15624         * Spacing.h: add two new constructors to match the set methods.
15625
15626         * ShareContainer.h: new file, will perhaps be moved to support
15627
15628         * ParameterStruct.h: new file
15629
15630         * ParagraphParameters.h: new file
15631
15632         * ParagraphParameters.C: new file
15633
15634         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15635         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15636
15637         * BufferView_pimpl.C: ParagraphParameter changes.
15638         * buffer.C: Likewise.
15639         * bufferview_funcs.C: Likewise.
15640         * text.C: Likewise.
15641         * text2.C: Likewise.
15642
15643 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * lyxfind.C (LyXReplace): do not redefine default argument in
15646         implementation.
15647         (IsStringInText): ditto
15648         (SearchForward): ditto
15649         (SearchBackward): ditto
15650
15651 2001-03-06  Juergen Vigna  <jug@sad.it>
15652
15653         * lyxfind.C (IsStringInText): put parentes around expressions.
15654
15655 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15656
15657         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15658
15659 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15660
15661         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15662
15663         * stl_string_fwd.h: add comment
15664
15665         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15666
15667         * tabular.h:
15668         * tabular.C: remove unused DocBook methods
15669
15670         * intl.C:
15671         * language.C:
15672         * paragraph.C:
15673         * buffer.C:
15674         killed DO_USE_DEFAULT_LANGUAGE
15675
15676 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * lyx_gui.C: do not include language.h.
15679
15680         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15681         arguments in function implementation.
15682
15683 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15684
15685         * BufferView_pimpl.C: add <ctime>
15686
15687 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15688
15689         * BufferView_pimpl.C: add using std::find_if
15690
15691 2001-02-27  José Matos  <jamatos@fep.up.pt>
15692
15693         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15694         by OnlyPath.
15695
15696 2001-02-11  José Matos  <jamatos@fep.up.pt>
15697
15698         * buffer.C (makeDocBookFile): command styles now have a parameter as
15699         "title" by default.
15700
15701 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15702
15703         * layout_forms.[Ch]: removed
15704         * lyx_cb.[Ch]: out character
15705         * lyx_gui.C: out character
15706         * lyx_gui_misc.C: out character
15707         * bufferview_funcs.C: : out character,
15708         added toggleall as parameter in ToggleAndShow
15709
15710 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15711
15712         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15713
15714         * text2.C (SetCurrentFont): Disable number property at boundary.
15715
15716 2001-02-26  Juergen Vigna  <jug@sad.it>
15717
15718         * lyxfunc.C (getStatus): added a string argument override function so
15719         that this is correctly called from LyXFunc::Dispatch if it contains a
15720         do_not_use_argument which is used!
15721         (Dispatch): added check for "custom" export and call appropriate func.
15722
15723 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15724
15725         * lyxrc.C: Add language_command_local, language_use_babel and
15726         language_global_options.
15727
15728         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15729
15730         * buffer.C (makeLaTeXFile): Use language_use_babel and
15731         language_global_options.
15732
15733 2001-02-23  Juergen Vigna  <jug@sad.it>
15734
15735         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15736         which works with LyXText and putted it inside BufferView. Here now we
15737         only call for that part the BufferView::Dispatch() function.
15738
15739         * BufferView.C (Dispatch): added.
15740
15741         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15742         functions which needs to use a LyXText over from LyXFunc.
15743         (MenuInsertLyXFile): added
15744         (getInsetByCode): added
15745         (moveCursorUpdate): added
15746         (static TEXT): added
15747
15748 2001-02-22  Juergen Vigna  <jug@sad.it>
15749
15750         * BufferView_pimpl.C (update): call a status update to see if LyXText
15751         needs it.
15752
15753 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15754
15755         * vc-backend.C (revert): implement for CVS
15756         (getLog): implement for CVS
15757
15758 2001-02-20  Juergen Vigna  <jug@sad.it>
15759
15760         * text2.C (ClearSelection): added BufferView param for inset_owner call
15761
15762         * lyxfunc.C (TEXT): added this function and use it instead of
15763         directly owner->view()-text of getLyXText().
15764
15765 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15766
15767         * src/layout_forms.C: out preamble
15768         * src/layout_forms.h: out preamble
15769         * src/lyx_cb.C: out preamble
15770         * src/lyx_cb.h: out preamble
15771         * src/lyx_gui.C: out preamble
15772         * src/lyx_gui_misc.C: out preamble
15773         * src/lyxfunc.C: connect with guii preamble
15774
15775 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15776
15777         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15778
15779 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15780
15781         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15782         whether to run bibtex.
15783
15784 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15785
15786         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15787
15788 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15789
15790         * Makefile.am (lyx_SOURCES): removed bibforms.h
15791
15792         * vspace.h: doxygen
15793
15794         * text.C (GetVisibleRow): make several local vars const
15795
15796         * tabular.C: small cleanup.
15797
15798         * lyxserver.C (callback): use compare instead of strncmp
15799
15800         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15801         inlines to after class or to paragraph.C
15802
15803         * lyxfont.h: remove friend operator!=
15804
15805         * converter.h: move friend bool operator< to non friend and after
15806         class def.
15807
15808         * combox.h: small cleanup
15809
15810         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15811         to inlines after class def.
15812
15813         * buffer.C (pop_tag): use string operations instead of strcmp
15814
15815         * bmtable.c: doxygen, small cleanup
15816
15817         * LaTeX.h: remove friend operator==
15818
15819 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15820
15821         * screen.C:
15822         * lyxrc.[Ch]:
15823         * lyxfunc.C:
15824         * lyxfont.[Ch]:
15825         * lyx_cb.C:
15826         * intl.[Ch]:
15827         * commandtags.h:
15828         * buffer.C:
15829         * WorkArea.[Ch]:
15830         * LyXAction.C:
15831         * BufferView_pimpl.C:
15832         * BufferView.[Ch]: remove cruft
15833
15834 2001-02-14  Juergen Vigna  <jug@sad.it>
15835
15836         * lyxfunc.C: removed #if 0 unused code
15837
15838         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15839
15840         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15841
15842         * text2.C (SetSelection): added a BufferView * parameter
15843
15844 2001-02-13  Juergen Vigna  <jug@sad.it>
15845
15846         * lyxfunc.C (Dispatch): fixed protected blank problem.
15847         * BufferView2.C (protectedBlank): added LyxText * parameter.
15848
15849         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15850         (AppendColumn): same as above for column_info.
15851
15852         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15853         (moveCursorUpdate): use a LyXText param for support of InsetText.
15854
15855         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15856         (tripleClick): ditto
15857
15858         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15859
15860         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15861
15862         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15863
15864         * text2.C (SetSelection): set correct update status if inset_owner
15865         (ToggleFree): ditto
15866
15867 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15868
15869         * tabular.C: remove some commented code.
15870
15871 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15872
15873         * BufferView_pimpl.C: call hideSplash()
15874
15875         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15876
15877         * include_form.h:
15878         * bibforms.h: remove
15879
15880         * lyxfunc.C:
15881         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15882           add LFUN_CHILD_CREATE
15883
15884         * counters.h: fix tiny typo
15885
15886         * lyx_cb.C:
15887         * lyx.h:
15888         * lyx_gui.C:
15889         * lyx.C: move splash to frontends/xforms/
15890
15891         * lyx_gui_misc.C: move Include and Bibform to frontends
15892
15893         * lyxvc.h: clarify comment
15894
15895         * vspace.C: tiny housekeeping
15896
15897 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * text.C (PrepareToPrint): RTL Fix.
15900
15901         * paragraph.C (GetUChar): New method.
15902         (String):  Use GetUChar.
15903
15904         * buffer.C (asciiParagraph): Use GetUChar.
15905
15906 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15907
15908         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15909
15910 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15911
15912         * buffer.h:
15913         * buffer.C: rename to getLogName(), handle
15914           build log / latex log nicely
15915
15916 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15917
15918         * MenuBackend.C:
15919         * MenuBackend.h: remove support for reference menuitem type.
15920
15921 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15922
15923         * BufferView_pimpl.C: housekeeping
15924         * BufferView_pimpl.h:
15925         * LyXView.h:
15926         * Makefile.am:
15927         * Timeout.C:
15928         * Timeout.h:
15929         * minibuffer.h: move Timeout GUI-I
15930
15931 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * lyxrc.C (read): Update converters data-structures.
15934
15935 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15936
15937         * LaTeX.h (operator!=): add operator != for Aux_Info
15938
15939 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15940
15941         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15942
15943         * LaTeXLog.C: deleted, useful code moved to Buffer
15944
15945         * buffer.h:
15946         * buffer.C: new function getLatexLogName()
15947
15948         * lyx_gui_misc.C:
15949         * lyx_gui.C:
15950         * lyxvc.C:
15951         * lyxvc.h:
15952         * lyxfunc.C: use frontends for LaTeX and VC logs
15953
15954 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * LaTeX.h: yet another std:: that Allan forgot.
15957
15958         * Variables.C (set): renamed from isset(), because this clashes
15959         with some HP-UX macros (grr).
15960
15961 2001-02-06  Allan Rae  <rae@lyx.org>
15962
15963         * LaTeX.h: Another bug fix.  Missing std:: this time.
15964
15965 2001-02-04  Allan Rae  <rae@lyx.org>
15966
15967         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15968         floats problem. I've left it commented out because it's not quite
15969         correct.  It should also test that the current object is a table or
15970         figure inset.  But I haven't gotten around to figuring out how to do
15971         that.  I *think* it'll be something like: "table" == inset.type()
15972
15973         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15974         bool.
15975
15976 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15977
15978         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15979         all the citation/databases/styles in the auxilary file.
15980         (run): Rerun latex if there was a babel language error.
15981
15982 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15983
15984         * text.C (Backspace): Preserve the font when changing newline char
15985         with a space.
15986         (BreakParagraph): If the cursor is before a space, delete the space.
15987
15988         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15989
15990 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15991
15992         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15993         new argument (code).
15994         (ChangeCitationsIfUnique): New method.
15995
15996         * paragraph.C (GetPositionOfInset): Handle bibkey.
15997
15998 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * BufferView_pimpl.h: change type of Position::par_pos to
16001         LyXParagraph::size_type.
16002
16003 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16004
16005         * BufferView_pimpl.C (savePosition, restorePosition): Write
16006         messages to minibuffer.
16007
16008 2001-01-28  José Matos  <jamatos@fep.up.pt>
16009
16010         * buffer.C (makeDocBookFile): adds support for document language.
16011         A silly restriction on the name of LatexCommand types where removed.
16012         Added support for CDATA sections, allows to chars unescaped, used
16013         among others in code, to avoid escape < and >.
16014
16015 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16016
16017         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16018         saved positions instrad of a stack. Furthermore, a position is
16019         stored using paragraph id/paragraph position.
16020
16021         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16022         Remove LFUN_REF_BACK.
16023
16024 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16025
16026         * converter.C (dvipdfm_options): New method.
16027
16028 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16029
16030         * vspace.C (isValidLength): Fix for empty input string.
16031
16032 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16033
16034         * LyXAction.C (init): change description of LFUN_FIGURE to
16035         "Insert Graphics"
16036
16037 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16038
16039         * LaTeX.C: add using directive
16040
16041 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16042
16043         * MenuBackend.C (expand): Fix the sorting of the formats.
16044
16045 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16046
16047         * lyx_main.C: tiny error message fix
16048
16049 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16052         calling fl_initialize(). This fixes the problem with ',' as
16053         decimal separator in text files.
16054
16055 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16056
16057         * trans.C (process): Fix the keymap bug.
16058
16059 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16060
16061         * LaTeX.C (scanAuxFiles): New method. Provides support for
16062         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16063         (scanLogFile) Scan for "run BibTeX" messages.
16064
16065         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16066         OT1 font encoding. Also, load the aecompl package if the ae
16067         package is loaded.
16068
16069         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16070
16071 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * texrow.C (increasePos): turn two error messages into debug
16074         messages.
16075
16076 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16077
16078         * LaTeX.C (scanAux): Handle the \@input macro.
16079         (runBibTeX): Use scanAux().
16080
16081         * language.C (latex_options_): New field.
16082
16083         * LaTeXFeatures.C (getMacros): Add language macros.
16084
16085         * buffer.C (makeLaTeXFile): Small fix.
16086
16087 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16088
16089         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16090
16091         * text2.C: add a using directive.
16092
16093 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16094
16095         * BufferView2.C:
16096         * lyx_gui_misc.h:
16097         * lyxfr1.C:
16098         * lyxfunc.C: kill LyXBell.
16099
16100 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16101
16102         * text.C (IsBoundary): Remove the error message
16103
16104         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16105
16106         * lyxrc.C (setDefaults): Correct initialization value for
16107         font_norm_type.
16108
16109 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16112         gotoError().
16113
16114         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16115         and GotoNextNote().
16116
16117         * src/LyXAction.C: Added reference-next.
16118
16119         * text.C (InsertChar): Use contains instead of strchr.
16120
16121         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16122
16123 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16124
16125         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16126         alignment commands (when needed).
16127
16128         * text.C (InsertChar): Add ':' to number separator chars.